1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
1343 #define SWIGTYPE_p_wxRealPoint swig_types[1]
1344 #define SWIGTYPE_p_wxEventLoopActivator swig_types[2]
1345 #define SWIGTYPE_p_wxSizerItem swig_types[3]
1346 #define SWIGTYPE_p_wxGBSizerItem swig_types[4]
1347 #define SWIGTYPE_p_wxScrollEvent swig_types[5]
1348 #define SWIGTYPE_p_wxEventLoop swig_types[6]
1349 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[7]
1350 #define SWIGTYPE_p_wxSizer swig_types[8]
1351 #define SWIGTYPE_p_wxBoxSizer swig_types[9]
1352 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[10]
1353 #define SWIGTYPE_p_wxGridBagSizer swig_types[11]
1354 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[12]
1355 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[13]
1356 #define SWIGTYPE_p_wxEvent swig_types[14]
1357 #define SWIGTYPE_p_buffer swig_types[15]
1358 #define SWIGTYPE_p_wxMenu swig_types[16]
1359 #define SWIGTYPE_p_wxGridSizer swig_types[17]
1360 #define SWIGTYPE_p_wxFlexGridSizer swig_types[18]
1361 #define SWIGTYPE_p_wxInitDialogEvent swig_types[19]
1362 #define SWIGTYPE_p_wxItemContainer swig_types[20]
1363 #define SWIGTYPE_p_wxPaintEvent swig_types[21]
1364 #define SWIGTYPE_p_wxNcPaintEvent swig_types[22]
1365 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[23]
1366 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[24]
1367 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[25]
1368 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[26]
1369 #define SWIGTYPE_p_wxControl swig_types[27]
1370 #define SWIGTYPE_p_wxFont swig_types[28]
1371 #define SWIGTYPE_p_wxMenuBarBase swig_types[29]
1372 #define SWIGTYPE_p_wxSetCursorEvent swig_types[30]
1373 #define SWIGTYPE_p_wxFSFile swig_types[31]
1374 #define SWIGTYPE_p_wxCaret swig_types[32]
1375 #define SWIGTYPE_ptrdiff_t swig_types[33]
1376 #define SWIGTYPE_std__ptrdiff_t swig_types[34]
1377 #define SWIGTYPE_p_wxRegion swig_types[35]
1378 #define SWIGTYPE_p_wxPoint2D swig_types[36]
1379 #define SWIGTYPE_p_wxImage_HSVValue swig_types[37]
1380 #define SWIGTYPE_p_int swig_types[38]
1381 #define SWIGTYPE_p_wxSize swig_types[39]
1382 #define SWIGTYPE_p_wxDC swig_types[40]
1383 #define SWIGTYPE_p_wxPySizer swig_types[41]
1384 #define SWIGTYPE_p_wxVisualAttributes swig_types[42]
1385 #define SWIGTYPE_p_wxImage_RGBValue swig_types[43]
1386 #define SWIGTYPE_p_wxNotifyEvent swig_types[44]
1387 #define SWIGTYPE_p_wxPyEvent swig_types[45]
1388 #define SWIGTYPE_p_wxPropagationDisabler swig_types[46]
1389 #define SWIGTYPE_p_form_ops_t swig_types[47]
1390 #define SWIGTYPE_p_wxAppTraits swig_types[48]
1391 #define SWIGTYPE_p_wxArrayString swig_types[49]
1392 #define SWIGTYPE_p_wxShowEvent swig_types[50]
1393 #define SWIGTYPE_p_wxToolTip swig_types[51]
1394 #define SWIGTYPE_p_wxMoveEvent swig_types[52]
1395 #define SWIGTYPE_p_wxSizeEvent swig_types[53]
1396 #define SWIGTYPE_p_wxActivateEvent swig_types[54]
1397 #define SWIGTYPE_p_wxIconizeEvent swig_types[55]
1398 #define SWIGTYPE_p_wxMaximizeEvent swig_types[56]
1399 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[57]
1400 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[58]
1401 #define SWIGTYPE_p_wxIdleEvent swig_types[59]
1402 #define SWIGTYPE_p_wxDateEvent swig_types[60]
1403 #define SWIGTYPE_p_wxMenuItem swig_types[61]
1404 #define SWIGTYPE_p_wxStaticBox swig_types[62]
1405 #define SWIGTYPE_p_long swig_types[63]
1406 #define SWIGTYPE_p_wxDuplexMode swig_types[64]
1407 #define SWIGTYPE_p_wxTIFFHandler swig_types[65]
1408 #define SWIGTYPE_p_wxXPMHandler swig_types[66]
1409 #define SWIGTYPE_p_wxPNMHandler swig_types[67]
1410 #define SWIGTYPE_p_wxJPEGHandler swig_types[68]
1411 #define SWIGTYPE_p_wxPCXHandler swig_types[69]
1412 #define SWIGTYPE_p_wxGIFHandler swig_types[70]
1413 #define SWIGTYPE_p_wxPNGHandler swig_types[71]
1414 #define SWIGTYPE_p_wxANIHandler swig_types[72]
1415 #define SWIGTYPE_p_wxPyImageHandler swig_types[73]
1416 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[74]
1417 #define SWIGTYPE_p_wxZipFSHandler swig_types[75]
1418 #define SWIGTYPE_p_wxInternetFSHandler swig_types[76]
1419 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[77]
1420 #define SWIGTYPE_p_wxEvtHandler swig_types[78]
1421 #define SWIGTYPE_p_wxCURHandler swig_types[79]
1422 #define SWIGTYPE_p_wxICOHandler swig_types[80]
1423 #define SWIGTYPE_p_wxBMPHandler swig_types[81]
1424 #define SWIGTYPE_p_wxImageHandler swig_types[82]
1425 #define SWIGTYPE_p_wxFileSystemHandler swig_types[83]
1426 #define SWIGTYPE_p_wxRect swig_types[84]
1427 #define SWIGTYPE_p_wxButton swig_types[85]
1428 #define SWIGTYPE_p_wxGBSpan swig_types[86]
1429 #define SWIGTYPE_p_wxPropagateOnce swig_types[87]
1430 #define SWIGTYPE_p_wxAcceleratorTable swig_types[88]
1431 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[89]
1432 #define SWIGTYPE_p_char swig_types[90]
1433 #define SWIGTYPE_p_wxGBPosition swig_types[91]
1434 #define SWIGTYPE_p_wxImage swig_types[92]
1435 #define SWIGTYPE_p_wxFrame swig_types[93]
1436 #define SWIGTYPE_p_wxScrollWinEvent swig_types[94]
1437 #define SWIGTYPE_p_wxPaperSize swig_types[95]
1438 #define SWIGTYPE_p_wxImageHistogram swig_types[96]
1439 #define SWIGTYPE_p_wxPoint swig_types[97]
1440 #define SWIGTYPE_p_wxCursor swig_types[98]
1441 #define SWIGTYPE_p_wxObject swig_types[99]
1442 #define SWIGTYPE_p_wxInputStream swig_types[100]
1443 #define SWIGTYPE_p_wxOutputStream swig_types[101]
1444 #define SWIGTYPE_p_wxPyInputStream swig_types[102]
1445 #define SWIGTYPE_p_wxDateTime swig_types[103]
1446 #define SWIGTYPE_p_wxKeyEvent swig_types[104]
1447 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[105]
1448 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[106]
1449 #define SWIGTYPE_p_unsigned_long swig_types[107]
1450 #define SWIGTYPE_p_wxWindow swig_types[108]
1451 #define SWIGTYPE_p_wxMenuBar swig_types[109]
1452 #define SWIGTYPE_p_wxFileSystem swig_types[110]
1453 #define SWIGTYPE_p_wxBitmap swig_types[111]
1454 #define SWIGTYPE_unsigned_int swig_types[112]
1455 #define SWIGTYPE_p_unsigned_int swig_types[113]
1456 #define SWIGTYPE_p_wxMenuEvent swig_types[114]
1457 #define SWIGTYPE_p_wxContextMenuEvent swig_types[115]
1458 #define SWIGTYPE_p_unsigned_char swig_types[116]
1459 #define SWIGTYPE_p_wxMouseEvent swig_types[117]
1460 #define SWIGTYPE_p_wxEraseEvent swig_types[118]
1461 #define SWIGTYPE_p_wxCloseEvent swig_types[119]
1462 #define SWIGTYPE_p_wxPyApp swig_types[120]
1463 #define SWIGTYPE_p_wxCommandEvent swig_types[121]
1464 #define SWIGTYPE_p_wxPyCommandEvent swig_types[122]
1465 #define SWIGTYPE_p_wxPyDropTarget swig_types[123]
1466 #define SWIGTYPE_p_wxQuantize swig_types[124]
1467 #define SWIGTYPE_p_wxFocusEvent swig_types[125]
1468 #define SWIGTYPE_p_wxChildFocusEvent swig_types[126]
1469 #define SWIGTYPE_p_wxDropFilesEvent swig_types[127]
1470 #define SWIGTYPE_p_wxControlWithItems swig_types[128]
1471 #define SWIGTYPE_p_wxColour swig_types[129]
1472 #define SWIGTYPE_p_wxValidator swig_types[130]
1473 #define SWIGTYPE_p_wxPyValidator swig_types[131]
1474 static swig_type_info
*swig_types
[133];
1476 /* -------- TYPES TABLE (END) -------- */
1479 /*-----------------------------------------------
1480 @(target):= _core_.so
1481 ------------------------------------------------*/
1482 #define SWIG_init init_core_
1484 #define SWIG_name "_core_"
1486 #include "wx/wxPython/wxPython_int.h"
1487 #include "wx/wxPython/pyclasses.h"
1490 #ifndef wxPyUSE_EXPORT
1491 // Helper functions for dealing with SWIG objects and such. These are
1492 // located here so they know about the SWIG types and functions declared
1493 // in the wrapper code.
1495 #include <wx/hashmap.h>
1496 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
1499 // Maintains a hashmap of className to swig_type_info pointers. Given the
1500 // name of a class either looks up the type info in the cache, or scans the
1501 // SWIG tables for it.
1502 extern PyObject
* wxPyPtrTypeMap
;
1504 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
1506 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
1508 if (typeInfoCache
== NULL
)
1509 typeInfoCache
= new wxPyTypeInfoHashMap
;
1511 wxString
name(className
);
1512 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
1515 // it wasn't in the cache, so look it up from SWIG
1516 name
.Append(wxT(" *"));
1517 swigType
= SWIG_TypeQuery(name
.mb_str());
1519 // if it still wasn't found, try looking for a mapped name
1524 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
1525 (char*)(const char*)name
.mbc_str())) != NULL
) {
1526 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
1527 name
.Append(wxT(" *"));
1528 swigType
= SWIG_TypeQuery(name
.mb_str());
1532 // and add it to the map if found
1533 (*typeInfoCache
)[className
] = swigType
;
1540 // Check if a class name is a type known to SWIG
1541 bool wxPyCheckSwigType(const wxChar
* className
) {
1543 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1544 return swigType
!= NULL
;
1548 // Given a pointer to a C++ object and a class name, construct a Python proxy
1550 PyObject
* wxPyConstructObject(void* ptr
,
1551 const wxChar
* className
,
1554 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1555 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
1557 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
1561 // Extract a pointer to the wrapped C++ object from a Python proxy object.
1562 // Ensures that the proxy object is of the specified (or derived) type. If
1563 // not able to perform the conversion then a Python exception is set and the
1564 // error should be handled properly in the caller. Returns True on success.
1565 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
1566 const wxChar
* className
) {
1568 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1569 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
1571 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
1575 // Make a SWIGified pointer object suitable for a .this attribute
1576 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
1578 PyObject
* robj
= NULL
;
1580 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1581 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
1583 #ifdef SWIG_COBJECT_TYPES
1584 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)swigType
->name
);
1588 robj
= SWIG_PackVoidPtr(result
, ptr
, swigType
->name
, sizeof(result
)) ?
1589 PyString_FromString(result
) : 0;
1597 // Python's PyInstance_Check does not return True for instances of new-style
1598 // classes. This should get close enough for both new and old classes but I
1599 // should re-evaluate the need for doing instance checks...
1600 bool wxPyInstance_Check(PyObject
* obj
) {
1601 return PyObject_HasAttrString(obj
, "__class__") != 0;
1606 // This one checks if the object is an instance of a SWIG proxy class (it has
1607 // a .this attribute, and the .this attribute is a PySwigObject.)
1608 bool wxPySwigInstance_Check(PyObject
* obj
) {
1609 static PyObject
* this_str
= NULL
;
1610 if (this_str
== NULL
)
1611 this_str
= PyString_FromString("this");
1613 PyObject
* this_attr
= PyObject_GetAttr(obj
, this_str
);
1615 bool retval
= (PySwigObject_Check(this_attr
) != 0);
1616 Py_DECREF(this_attr
);
1626 // Export a C API in a struct. Other modules will be able to load this from
1627 // the wx._core_ module and will then have safe access to these functions,
1628 // even if they are located in another shared library.
1629 static wxPyCoreAPI API
= {
1632 wxPyConstructObject
,
1636 wxPyBeginAllowThreads
,
1637 wxPyEndAllowThreads
,
1638 wxPyBeginBlockThreads
,
1639 wxPyEndBlockThreads
,
1651 wxPoint_LIST_helper
,
1652 wxBitmap_LIST_helper
,
1653 wxString_LIST_helper
,
1654 wxAcceleratorEntry_LIST_helper
,
1663 wxPySimple_typecheck
,
1666 wxPyCBH_setCallbackInfo
,
1667 wxPyCBH_findCallback
,
1668 wxPyCBH_callCallback
,
1669 wxPyCBH_callCallbackObj
,
1675 wxPy2int_seq_helper
,
1676 wxPy4int_seq_helper
,
1677 wxArrayString2PyList_helper
,
1678 wxArrayInt2PyList_helper
,
1680 wxPyClientData_dtor
,
1682 wxPyOORClientData_dtor
,
1684 wxPyCBInputStream_create
,
1685 wxPyCBInputStream_copy
,
1688 wxPySwigInstance_Check
,
1697 #if !WXWIN_COMPATIBILITY_2_4
1698 #define wxHIDE_READONLY 0
1702 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1703 #define SWIG_From_int PyInt_FromLong
1706 static const wxString
wxPyEmptyString(wxEmptyString
);
1707 static wxString
wxObject_GetClassName(wxObject
*self
){
1708 return self
->GetClassInfo()->GetClassName();
1710 static void wxObject_Destroy(wxObject
*self
){
1715 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1723 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1726 if (value
< min_value
) {
1728 PyErr_Format(PyExc_OverflowError
,
1729 "value %ld is less than '%s' minimum %ld",
1730 value
, errmsg
, min_value
);
1733 } else if (value
> max_value
) {
1735 PyErr_Format(PyExc_OverflowError
,
1736 "value %ld is greater than '%s' maximum %ld",
1737 value
, errmsg
, max_value
);
1746 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1748 if (PyNumber_Check(obj
)) {
1749 if (val
) *val
= PyInt_AsLong(obj
);
1753 SWIG_type_error("number", obj
);
1759 #if INT_MAX != LONG_MAX
1761 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1763 const char* errmsg
= val
? "int" : (char*)0;
1765 if (SWIG_AsVal_long(obj
, &v
)) {
1766 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1767 if (val
) *val
= (int)(v
);
1776 SWIG_type_error(errmsg
, obj
);
1782 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1784 return SWIG_AsVal_long(obj
,(long*)val
);
1790 SWIG_As_int(PyObject
* obj
)
1793 if (!SWIG_AsVal_int(obj
, &v
)) {
1795 this is needed to make valgrind/purify happier.
1797 memset((void*)&v
, 0, sizeof(int));
1804 SWIG_Check_int(PyObject
* obj
)
1806 return SWIG_AsVal_int(obj
, (int*)0);
1809 static PyObject
*wxSize_Get(wxSize
*self
){
1810 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1811 PyObject
* tup
= PyTuple_New(2);
1812 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1813 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1814 wxPyEndBlockThreads(blocked
);
1819 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1821 if (PyNumber_Check(obj
)) {
1822 if (val
) *val
= PyFloat_AsDouble(obj
);
1826 SWIG_type_error("number", obj
);
1832 SWIGINTERNSHORT
double
1833 SWIG_As_double(PyObject
* obj
)
1836 if (!SWIG_AsVal_double(obj
, &v
)) {
1838 this is needed to make valgrind/purify happier.
1840 memset((void*)&v
, 0, sizeof(double));
1847 SWIG_Check_double(PyObject
* obj
)
1849 return SWIG_AsVal_double(obj
, (double*)0);
1853 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1854 #define SWIG_From_double PyFloat_FromDouble
1857 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
1861 static PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
1862 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1863 PyObject
* tup
= PyTuple_New(2);
1864 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1865 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1866 wxPyEndBlockThreads(blocked
);
1870 SWIGINTERNSHORT
long
1871 SWIG_As_long(PyObject
* obj
)
1874 if (!SWIG_AsVal_long(obj
, &v
)) {
1876 this is needed to make valgrind/purify happier.
1878 memset((void*)&v
, 0, sizeof(long));
1885 SWIG_Check_long(PyObject
* obj
)
1887 return SWIG_AsVal_long(obj
, (long*)0);
1890 static void wxPoint_Set(wxPoint
*self
,long x
,long y
){
1894 static PyObject
*wxPoint_Get(wxPoint
*self
){
1895 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1896 PyObject
* tup
= PyTuple_New(2);
1897 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1898 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1899 wxPyEndBlockThreads(blocked
);
1902 static void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
1905 self
->width
= width
;
1906 self
->height
= height
;
1908 static PyObject
*wxRect_Get(wxRect
*self
){
1909 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1910 PyObject
* tup
= PyTuple_New(4);
1911 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1912 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1913 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
1914 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
1915 wxPyEndBlockThreads(blocked
);
1919 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
1922 wxRect
dest(0,0,0,0);
1925 reg1
.Intersect(reg2
);
1926 dest
= reg1
.GetBox();
1928 if (dest
!= wxRect(0,0,0,0)) {
1929 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1930 wxRect
* newRect
= new wxRect(dest
);
1931 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
1932 wxPyEndBlockThreads(blocked
);
1940 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1946 } else if (target
== Py_None
) {
1950 if (!PyTuple_Check(target
)) {
1952 target
= PyTuple_New(1);
1953 PyTuple_SetItem(target
, 0, o2
);
1955 o3
= PyTuple_New(1);
1956 PyTuple_SetItem(o3
, 0, o
);
1959 target
= PySequence_Concat(o2
, o3
);
1967 static void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
1971 static PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
1972 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1973 PyObject
* tup
= PyTuple_New(2);
1974 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
1975 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
1976 wxPyEndBlockThreads(blocked
);
1980 #include "wx/wxPython/pyistream.h"
1982 static wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
1983 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
1985 return new wxPyInputStream(wxis
);
1990 SWIGINTERNSHORT PyObject
*
1991 SWIG_From_char(char c
)
1993 return PyString_FromStringAndSize(&c
,1);
1997 SWIGINTERNSHORT PyObject
*
1998 SWIG_From_unsigned_SS_long(unsigned long value
)
2000 return (value
> LONG_MAX
) ?
2001 PyLong_FromUnsignedLong(value
)
2002 : PyInt_FromLong((long)(value
));
2006 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
2008 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
2010 static swig_type_info
* pchar_info
= 0;
2012 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
2013 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
2014 if (cptr
) *cptr
= vptr
;
2015 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
2019 if (PyString_Check(obj
)) {
2021 *cptr
= PyString_AS_STRING(obj
);
2023 *psize
= PyString_GET_SIZE(obj
) + 1;
2030 SWIG_type_error("char *", obj
);
2037 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
2039 char* cptr
; size_t csize
;
2040 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
2043 char x[5] = "hello";
2045 ie, assing the array using an extra '0' char.
2047 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
2048 if (csize
<= size
) {
2050 if (csize
) memcpy(val
, cptr
, csize
);
2051 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
2057 PyErr_Format(PyExc_TypeError
,
2058 "a char array of maximum size %lu is expected",
2059 (unsigned long) size
);
2066 SWIG_AsVal_char(PyObject
*obj
, char *val
)
2068 const char* errmsg
= val
? "char" : (char*)0;
2070 if (SWIG_AsVal_long(obj
, &v
)) {
2071 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
2072 if (val
) *val
= (char)(v
);
2079 return SWIG_AsCharArray(obj
, val
, 1);
2084 SWIGINTERNSHORT
char
2085 SWIG_As_char(PyObject
* obj
)
2088 if (!SWIG_AsVal_char(obj
, &v
)) {
2090 this is needed to make valgrind/purify happier.
2092 memset((void*)&v
, 0, sizeof(char));
2099 SWIG_Check_char(PyObject
* obj
)
2101 return SWIG_AsVal_char(obj
, (char*)0);
2105 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2106 #define SWIG_From_long PyInt_FromLong
2109 static void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
2110 // We use only strings for the streams, not unicode
2111 PyObject
* str
= PyObject_Str(obj
);
2113 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
2116 self
->Write(PyString_AS_STRING(str
),
2117 PyString_GET_SIZE(str
));
2121 #include "wx/wxPython/pyistream.h"
2124 class wxPyFileSystemHandler
: public wxFileSystemHandler
2127 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2129 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
2130 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
2131 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
2132 DEC_PYCALLBACK_STRING__pure(FindNext
);
2134 wxString
GetProtocol(const wxString
& location
) {
2135 return wxFileSystemHandler::GetProtocol(location
);
2138 wxString
GetLeftLocation(const wxString
& location
) {
2139 return wxFileSystemHandler::GetLeftLocation(location
);
2142 wxString
GetAnchor(const wxString
& location
) {
2143 return wxFileSystemHandler::GetAnchor(location
);
2146 wxString
GetRightLocation(const wxString
& location
) {
2147 return wxFileSystemHandler::GetRightLocation(location
);
2150 wxString
GetMimeTypeFromExt(const wxString
& location
) {
2151 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
2158 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
2159 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
2160 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
2161 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
2165 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2167 if (obj
== Py_True
) {
2168 if (val
) *val
= true;
2171 if (obj
== Py_False
) {
2172 if (val
) *val
= false;
2176 if (SWIG_AsVal_int(obj
, &res
)) {
2177 if (val
) *val
= res
? true : false;
2183 SWIG_type_error("bool", obj
);
2189 SWIGINTERNSHORT
bool
2190 SWIG_As_bool(PyObject
* obj
)
2193 if (!SWIG_AsVal_bool(obj
, &v
)) {
2195 this is needed to make valgrind/purify happier.
2197 memset((void*)&v
, 0, sizeof(bool));
2204 SWIG_Check_bool(PyObject
* obj
)
2206 return SWIG_AsVal_bool(obj
, (bool*)0);
2209 static wxString
FileSystem_URLToFileName(wxString
const &url
){
2210 wxFileName fname
= wxFileSystem::URLToFileName(url
);
2211 return fname
.GetFullPath();
2214 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
2217 wxMemoryFSHandler::AddFile(filename
, image
, type
);
2220 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
2221 const wxBitmap
& bitmap
,
2223 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
2226 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
2228 if (! PyString_Check(data
)) {
2229 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2230 "Expected string object"));
2234 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2235 void* ptr
= (void*)PyString_AsString(data
);
2236 size_t size
= PyString_Size(data
);
2237 wxPyEndBlockThreads(blocked
);
2239 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
2243 #include "wx/wxPython/pyistream.h"
2247 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2250 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2251 SWIG_type_error("unsigned number", obj
);
2254 *val
= (unsigned long)v
;
2260 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2261 unsigned long max_value
,
2264 if (value
> max_value
) {
2266 PyErr_Format(PyExc_OverflowError
,
2267 "value %lu is greater than '%s' minimum %lu",
2268 value
, errmsg
, max_value
);
2277 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
2279 const char* errmsg
= val
? "unsigned char" : (char*)0;
2281 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2282 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
2283 if (val
) *val
= (unsigned char)(v
);
2292 SWIG_type_error(errmsg
, obj
);
2298 SWIGINTERNSHORT
unsigned char
2299 SWIG_As_unsigned_SS_char(PyObject
* obj
)
2302 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
2304 this is needed to make valgrind/purify happier.
2306 memset((void*)&v
, 0, sizeof(unsigned char));
2313 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
2315 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
2319 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2320 #define SWIG_From_unsigned_SS_char PyInt_FromLong
2325 SWIGINTERNSHORT
unsigned long
2326 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2329 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2331 this is needed to make valgrind/purify happier.
2333 memset((void*)&v
, 0, sizeof(unsigned long));
2340 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2342 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2345 static unsigned long wxImageHistogram_GetCount(wxImageHistogram
*self
,unsigned long key
){
2346 wxImageHistogramEntry e
= (*self
)[key
];
2349 static unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram
*self
,byte r
,byte g
,byte b
){
2350 unsigned long key
= wxImageHistogram::MakeKey(r
, g
, b
);
2351 wxImageHistogramEntry e
= (*self
)[key
];
2354 static unsigned long wxImageHistogram_GetCountColour(wxImageHistogram
*self
,wxColour
const &colour
){
2355 unsigned long key
= wxImageHistogram::MakeKey(colour
.Red(),
2358 wxImageHistogramEntry e
= (*self
)[key
];
2362 typedef unsigned char* buffer
;
2365 // Pull the nested class out to the top level for SWIG's sake
2366 #define wxImage_RGBValue wxImage::RGBValue
2367 #define wxImage_HSVValue wxImage::HSVValue
2369 static wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
2370 if (width
> 0 && height
> 0)
2371 return new wxImage(width
, height
, clear
);
2375 static wxImage
*new_wxImage(wxBitmap
const &bitmap
){
2376 return new wxImage(bitmap
.ConvertToImage());
2378 static wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
){
2379 if (DATASIZE
!= width
*height
*3) {
2380 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2384 // Copy the source data so the wxImage can clean it up later
2385 buffer copy
= (buffer
)malloc(DATASIZE
);
2387 wxPyBLOCK_THREADS(PyErr_NoMemory());
2390 memcpy(copy
, data
, DATASIZE
);
2391 return new wxImage(width
, height
, copy
, false);
2393 static wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
,buffer alpha
,int ALPHASIZE
){
2394 if (DATASIZE
!= width
*height
*3) {
2395 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2398 if (ALPHASIZE
!= width
*height
) {
2399 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2403 // Copy the source data so the wxImage can clean it up later
2404 buffer dcopy
= (buffer
)malloc(DATASIZE
);
2405 if (dcopy
== NULL
) {
2406 wxPyBLOCK_THREADS(PyErr_NoMemory());
2409 memcpy(dcopy
, data
, DATASIZE
);
2411 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2412 if (acopy
== NULL
) {
2413 wxPyBLOCK_THREADS(PyErr_NoMemory());
2416 memcpy(acopy
, alpha
, ALPHASIZE
);
2418 return new wxImage(width
, height
, dcopy
, acopy
, false);
2420 static wxSize
wxImage_GetSize(wxImage
*self
){
2421 wxSize
size(self
->GetWidth(), self
->GetHeight());
2424 static PyObject
*wxImage_GetData(wxImage
*self
){
2425 buffer data
= self
->GetData();
2426 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2428 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
2431 static void wxImage_SetData(wxImage
*self
,buffer data
,int DATASIZE
){
2432 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
2433 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2436 buffer copy
= (buffer
)malloc(DATASIZE
);
2438 wxPyBLOCK_THREADS(PyErr_NoMemory());
2441 memcpy(copy
, data
, DATASIZE
);
2442 self
->SetData(copy
, false);
2443 // wxImage takes ownership of copy...
2445 static PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
2446 buffer data
= self
->GetData();
2447 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2449 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2452 static void wxImage_SetDataBuffer(wxImage
*self
,buffer data
,int DATASIZE
){
2453 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
2454 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2457 self
->SetData(data
, true);
2459 static PyObject
*wxImage_GetAlphaData(wxImage
*self
){
2460 buffer data
= self
->GetAlpha();
2464 int len
= self
->GetWidth() * self
->GetHeight();
2466 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
2470 static void wxImage_SetAlphaData(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
2471 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
2472 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2475 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2476 if (acopy
== NULL
) {
2477 wxPyBLOCK_THREADS(PyErr_NoMemory());
2480 memcpy(acopy
, alpha
, ALPHASIZE
);
2481 self
->SetAlpha(acopy
, false);
2482 // wxImage takes ownership of acopy...
2484 static PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
2485 buffer data
= self
->GetAlpha();
2486 int len
= self
->GetWidth() * self
->GetHeight();
2488 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2491 static void wxImage_SetAlphaBuffer(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
2492 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
2493 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2496 self
->SetAlpha(alpha
, true);
2498 static wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
2499 wxBitmap
bitmap(*self
, depth
);
2502 static wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,byte red
,byte green
,byte blue
){
2503 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
2504 wxBitmap
bitmap( mono
, 1 );
2507 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
2508 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
2509 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
2510 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
2511 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
2512 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
2513 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
2514 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
2515 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
2516 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
2517 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
2518 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
2519 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
2520 static const wxString
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);
2521 static const wxString
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);
2523 #include <wx/quantize.h>
2525 static bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
2526 return wxQuantize::Quantize(src
, dest
,
2529 NULL
, // eightBitData
2532 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
2533 if (PyCallable_Check(func
)) {
2534 self
->Connect(id
, lastId
, eventType
,
2535 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
2536 new wxPyCallback(func
));
2538 else if (func
== Py_None
) {
2539 self
->Disconnect(id
, lastId
, eventType
,
2540 (wxObjectEventFunction
)
2541 &wxPyCallback::EventThunker
);
2545 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
2548 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
2549 return self
->Disconnect(id
, lastId
, eventType
,
2550 (wxObjectEventFunction
)
2551 &wxPyCallback::EventThunker
);
2553 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
2554 if (_self
&& _self
!= Py_None
) {
2555 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
2558 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
2560 self
->SetClientObject(NULL
); // This will delete it too
2566 #define wxEVT_HOTKEY -9999
2570 static int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
2572 return self
->GetUnicodeKey();
2578 #if UINT_MAX < LONG_MAX
2579 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2580 #define SWIG_From_unsigned_SS_int SWIG_From_long
2583 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2584 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2589 #if UINT_MAX != ULONG_MAX
2591 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2593 const char* errmsg
= val
? "unsigned int" : (char*)0;
2595 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2596 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2597 if (val
) *val
= (unsigned int)(v
);
2604 SWIG_type_error(errmsg
, obj
);
2609 SWIGINTERNSHORT
unsigned int
2610 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2612 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2617 SWIGINTERNSHORT
unsigned int
2618 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2621 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2623 this is needed to make valgrind/purify happier.
2625 memset((void*)&v
, 0, sizeof(unsigned int));
2632 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2634 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2637 static void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
2638 self
->m_size
= size
;
2640 static PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
2641 int count
= self
->GetNumberOfFiles();
2642 wxString
* files
= self
->GetFiles();
2643 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2644 PyObject
* list
= PyList_New(count
);
2647 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2648 wxPyEndBlockThreads(blocked
);
2652 for (int i
=0; i
<count
; i
++) {
2653 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
2655 wxPyEndBlockThreads(blocked
);
2660 static wxPyApp
*new_wxPyApp(){
2661 wxPythonApp
= new wxPyApp();
2664 static int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
2666 void wxApp_CleanUp() {
2671 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2675 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2677 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2682 SWIG_type_error("char *", obj
);
2688 SWIGINTERN PyObject
*
2689 SWIG_FromCharPtr(const char* cptr
)
2692 size_t size
= strlen(cptr
);
2693 if (size
> INT_MAX
) {
2694 return SWIG_NewPointerObj((char*)(cptr
),
2695 SWIG_TypeQuery("char *"), 0);
2698 return PyString_FromStringAndSize(cptr
, size
);
2700 return PyString_FromString(cptr
);
2709 #if 0 // #ifdef __WXMAC__
2711 // A dummy class that raises an exception if used...
2715 wxEventLoop() { wxPyRaiseNotImplemented(); }
2716 int Run() { return 0; }
2717 void Exit(int rc
= 0) {}
2718 bool Pending() const { return false; }
2719 bool Dispatch() { return false; }
2720 bool IsRunning() const { return false; }
2721 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2722 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2727 #include <wx/evtloop.h>
2733 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2734 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2735 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2736 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2737 wxWindowList
& list
= self
->GetChildren();
2738 return wxPy_ConvertList(&list
);
2740 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2742 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2747 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2754 static long wxWindow_GetHandle(wxWindow
*self
){
2755 return wxPyGetWinHandle(self
);
2757 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2758 self
->AssociateHandle((WXWidget
)handle
);
2760 static void wxWindow_DragAcceptFiles(wxWindow
*self
,bool accept
){}
2762 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2763 return wxWindow::FindWindowById(id
, parent
);
2766 wxWindow
* wxFindWindowByName( const wxString
& name
,
2767 const wxWindow
*parent
= NULL
) {
2768 return wxWindow::FindWindowByName(name
, parent
);
2771 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2772 const wxWindow
*parent
= NULL
) {
2773 return wxWindow::FindWindowByLabel(label
, parent
);
2778 #include <wx/msw/private.h> // to get wxGetWindowId
2782 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2784 WXHWND hWnd
= (WXHWND
)_hWnd
;
2785 long id
= wxGetWindowId(hWnd
);
2786 wxWindow
* win
= new wxWindow
;
2788 parent
->AddChild(win
);
2789 win
->SetEventHandler(win
);
2792 win
->SubclassWin(hWnd
);
2793 win
->AdoptAttributesFromHWND();
2794 win
->SetupColours();
2797 wxPyRaiseNotImplemented();
2803 PyObject
* GetTopLevelWindows() {
2804 return wxPy_ConvertList(&wxTopLevelWindows
);
2808 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2809 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2810 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2812 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2814 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2815 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2816 wxMenuItemList
& list
= self
->GetMenuItems();
2817 return wxPy_ConvertList(&list
);
2819 static void MenuBar_SetAutoWindowMenu(bool enable
){}
2820 static bool MenuBar_GetAutoWindowMenu(){ return false; }
2821 static void wxMenuItem_SetFont(wxMenuItem
*self
,wxFont
const &font
){}
2822 static wxFont
wxMenuItem_GetFont(wxMenuItem
*self
){ return wxNullFont
; }
2823 static void wxMenuItem_SetTextColour(wxMenuItem
*self
,wxColour
const &colText
){}
2824 static wxColour
wxMenuItem_GetTextColour(wxMenuItem
*self
){ return wxNullColour
; }
2825 static void wxMenuItem_SetBackgroundColour(wxMenuItem
*self
,wxColour
const &colBack
){}
2826 static wxColour
wxMenuItem_GetBackgroundColour(wxMenuItem
*self
){ return wxNullColour
; }
2827 static void wxMenuItem_SetBitmaps(wxMenuItem
*self
,wxBitmap
const &bmpChecked
,wxBitmap
const &bmpUnchecked
=wxNullBitmap
){ self
->SetBitmap( bmpChecked
); }
2828 static void wxMenuItem_SetDisabledBitmap(wxMenuItem
*self
,wxBitmap
const &bmpDisabled
){}
2829 static wxBitmap
const &wxMenuItem_GetDisabledBitmap(wxMenuItem
const *self
){ return wxNullBitmap
; }
2830 static void wxMenuItem_SetMarginWidth(wxMenuItem
*self
,int nWidth
){}
2831 static int wxMenuItem_GetMarginWidth(wxMenuItem
*self
){ return 0; }
2832 static int MenuItem_GetDefaultMarginWidth(){ return 0; }
2833 static bool wxMenuItem_IsOwnerDrawn(wxMenuItem
*self
){ return false; }
2834 static void wxMenuItem_SetOwnerDrawn(wxMenuItem
*self
,bool ownerDrawn
=true){}
2835 static void wxMenuItem_ResetOwnerDrawn(wxMenuItem
*self
){}
2836 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2837 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2839 wxPyClientData
* data
= new wxPyClientData(clientData
);
2840 return self
->Append(item
, data
);
2842 return self
->Append(item
);
2844 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2846 wxPyClientData
* data
= new wxPyClientData(clientData
);
2847 return self
->Insert(item
, pos
, data
);
2849 return self
->Insert(item
, pos
);
2851 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2852 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2854 Py_INCREF(data
->m_obj
);
2861 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2862 wxPyClientData
* data
= new wxPyClientData(clientData
);
2863 self
->SetClientObject(n
, data
);
2867 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2868 wxPyUserData
* data
= NULL
;
2870 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2871 data
= new wxPyUserData(userData
);
2872 wxPyEndBlockThreads(blocked
);
2874 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2876 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2877 wxPyUserData
* data
= NULL
;
2879 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2880 data
= new wxPyUserData(userData
);
2881 wxPyEndBlockThreads(blocked
);
2883 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2885 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2886 wxPyUserData
* data
= NULL
;
2888 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2889 data
= new wxPyUserData(userData
);
2890 wxPyEndBlockThreads(blocked
);
2892 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2897 SWIG_CheckDoubleInRange(double value
, double min_value
,
2898 double max_value
, const char* errmsg
)
2900 if (value
< min_value
) {
2902 PyErr_Format(PyExc_OverflowError
,
2903 "value %g is less than %s minimum %g",
2904 value
, errmsg
, min_value
);
2907 } else if (value
> max_value
) {
2909 PyErr_Format(PyExc_OverflowError
,
2910 "value %g is greater than %s maximum %g",
2911 value
, errmsg
, max_value
);
2920 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2922 const char* errmsg
= val
? "float" : (char*)0;
2924 if (SWIG_AsVal_double(obj
, &v
)) {
2925 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2926 if (val
) *val
= (float)(v
);
2935 SWIG_type_error(errmsg
, obj
);
2941 SWIGINTERNSHORT
float
2942 SWIG_As_float(PyObject
* obj
)
2945 if (!SWIG_AsVal_float(obj
, &v
)) {
2947 this is needed to make valgrind/purify happier.
2949 memset((void*)&v
, 0, sizeof(float));
2956 SWIG_Check_float(PyObject
* obj
)
2958 return SWIG_AsVal_float(obj
, (float*)0);
2962 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2963 #define SWIG_From_float PyFloat_FromDouble
2966 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2967 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2969 Py_INCREF(data
->m_obj
);
2976 static void wxSizerItem_SetUserData(wxSizerItem
*self
,PyObject
*userData
){
2977 wxPyUserData
* data
= NULL
;
2979 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2980 data
= new wxPyUserData(userData
);
2981 wxPyEndBlockThreads(blocked
);
2983 self
->SetUserData(data
);
2986 // Figure out the type of the sizer item
2988 struct wxPySizerItemInfo
{
2990 : window(NULL
), sizer(NULL
), gotSize(false),
2991 size(wxDefaultSize
), gotPos(false), pos(-1)
3002 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
3004 wxPySizerItemInfo info
;
3006 wxSize
* sizePtr
= &size
;
3008 // Find out what the type of the item is
3010 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
3015 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
3019 // try wxSize or (w,h)
3020 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
3021 info
.size
= *sizePtr
;
3022 info
.gotSize
= true;
3026 if (checkIdx
&& PyInt_Check(item
)) {
3027 info
.pos
= PyInt_AsLong(item
);
3033 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
3034 // no expected type, figure out what kind of error message to generate
3035 if ( !checkSize
&& !checkIdx
)
3036 PyErr_SetString(PyExc_TypeError
, "wx.Window or wx.Sizer expected for item");
3037 else if ( checkSize
&& !checkIdx
)
3038 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer, wx.Size, or (w,h) expected for item");
3039 else if ( !checkSize
&& checkIdx
)
3040 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer or int (position) expected for item");
3042 // can this one happen?
3043 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer, wx.Size, or (w,h) or int (position) expected for item");
3049 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
3050 if (!self
->GetClientObject())
3051 self
->SetClientObject(new wxPyOORClientData(_self
));
3053 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3055 wxPyUserData
* data
= NULL
;
3056 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3057 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3058 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3059 data
= new wxPyUserData(userData
);
3060 wxPyEndBlockThreads(blocked
);
3062 // Now call the real Add method if a valid item type was found
3064 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
3065 else if ( info
.sizer
)
3066 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
3067 else if (info
.gotSize
)
3068 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3069 proportion
, flag
, border
, data
);
3073 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3075 wxPyUserData
* data
= NULL
;
3076 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3077 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3078 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3079 data
= new wxPyUserData(userData
);
3080 wxPyEndBlockThreads(blocked
);
3082 // Now call the real Insert method if a valid item type was found
3084 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
3085 else if ( info
.sizer
)
3086 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
3087 else if (info
.gotSize
)
3088 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
3089 proportion
, flag
, border
, data
);
3093 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3095 wxPyUserData
* data
= NULL
;
3096 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3097 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3098 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3099 data
= new wxPyUserData(userData
);
3100 wxPyEndBlockThreads(blocked
);
3102 // Now call the real Prepend method if a valid item type was found
3104 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3105 else if ( info
.sizer
)
3106 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3107 else if (info
.gotSize
)
3108 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3109 proportion
, flag
, border
, data
);
3113 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3114 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3115 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3116 wxPyEndBlockThreads(blocked
);
3118 return self
->Remove(info
.window
);
3119 else if ( info
.sizer
)
3120 return self
->Remove(info
.sizer
);
3121 else if ( info
.gotPos
)
3122 return self
->Remove(info
.pos
);
3126 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3127 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3128 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3129 wxPyEndBlockThreads(blocked
);
3131 return self
->Detach(info
.window
);
3132 else if ( info
.sizer
)
3133 return self
->Detach(info
.sizer
);
3134 else if ( info
.gotPos
)
3135 return self
->Detach(info
.pos
);
3139 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3140 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3141 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3142 wxPyEndBlockThreads(blocked
);
3144 return self
->GetItem(info
.window
);
3145 else if ( info
.sizer
)
3146 return self
->GetItem(info
.sizer
);
3147 else if ( info
.gotPos
)
3148 return self
->GetItem(info
.pos
);
3152 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3153 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3154 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3155 wxPyEndBlockThreads(blocked
);
3157 self
->SetItemMinSize(info
.window
, size
);
3158 else if ( info
.sizer
)
3159 self
->SetItemMinSize(info
.sizer
, size
);
3160 else if ( info
.gotPos
)
3161 self
->SetItemMinSize(info
.pos
, size
);
3163 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3164 wxSizerItemList
& list
= self
->GetChildren();
3165 return wxPy_ConvertList(&list
);
3167 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3168 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3169 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3170 wxPyEndBlockThreads(blocked
);
3172 return self
->Show(info
.window
, show
, recursive
);
3173 else if ( info
.sizer
)
3174 return self
->Show(info
.sizer
, show
, recursive
);
3175 else if ( info
.gotPos
)
3176 return self
->Show(info
.pos
, show
);
3180 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3181 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3182 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3183 wxPyEndBlockThreads(blocked
);
3185 return self
->IsShown(info
.window
);
3186 else if ( info
.sizer
)
3187 return self
->IsShown(info
.sizer
);
3188 else if ( info
.gotPos
)
3189 return self
->IsShown(info
.pos
);
3195 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3196 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3197 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3202 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3204 if (source
== Py_None
) {
3205 **obj
= wxGBPosition(-1,-1);
3208 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3211 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3213 if (source
== Py_None
) {
3214 **obj
= wxGBSpan(-1,-1);
3217 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3221 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3225 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3226 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3227 PyObject
* tup
= PyTuple_New(2);
3228 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3229 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3230 wxPyEndBlockThreads(blocked
);
3233 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3234 self
->SetRowspan(rowspan
);
3235 self
->SetColspan(colspan
);
3237 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3238 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3239 PyObject
* tup
= PyTuple_New(2);
3240 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3241 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3242 wxPyEndBlockThreads(blocked
);
3245 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3246 wxPyUserData
* data
= NULL
;
3248 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3249 data
= new wxPyUserData(userData
);
3250 wxPyEndBlockThreads(blocked
);
3252 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3254 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3255 wxPyUserData
* data
= NULL
;
3257 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3258 data
= new wxPyUserData(userData
);
3259 wxPyEndBlockThreads(blocked
);
3261 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3263 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3264 wxPyUserData
* data
= NULL
;
3266 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3267 data
= new wxPyUserData(userData
);
3268 wxPyEndBlockThreads(blocked
);
3270 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3272 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3274 self
->GetEndPos(row
, col
);
3275 return wxGBPosition(row
, col
);
3277 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3279 wxPyUserData
* data
= NULL
;
3280 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3281 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3282 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3283 data
= new wxPyUserData(userData
);
3284 wxPyEndBlockThreads(blocked
);
3286 // Now call the real Add method if a valid item type was found
3288 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3289 else if ( info
.sizer
)
3290 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3291 else if (info
.gotSize
)
3292 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3293 pos
, span
, flag
, border
, data
);
3301 static int _wrap_EmptyString_set(PyObject
*) {
3302 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3307 static PyObject
*_wrap_EmptyString_get(void) {
3312 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3314 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3321 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3322 PyObject
*resultobj
;
3323 wxObject
*arg1
= (wxObject
*) 0 ;
3325 PyObject
* obj0
= 0 ;
3327 (char *) "self", NULL
3330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3332 if (SWIG_arg_fail(1)) SWIG_fail
;
3334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3335 result
= wxObject_GetClassName(arg1
);
3337 wxPyEndAllowThreads(__tstate
);
3338 if (PyErr_Occurred()) SWIG_fail
;
3342 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3344 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3353 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3354 PyObject
*resultobj
;
3355 wxObject
*arg1
= (wxObject
*) 0 ;
3356 PyObject
* obj0
= 0 ;
3358 (char *) "self", NULL
3361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3363 if (SWIG_arg_fail(1)) SWIG_fail
;
3365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3366 wxObject_Destroy(arg1
);
3368 wxPyEndAllowThreads(__tstate
);
3369 if (PyErr_Occurred()) SWIG_fail
;
3371 Py_INCREF(Py_None
); resultobj
= Py_None
;
3378 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3381 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3383 return Py_BuildValue((char *)"");
3385 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3386 PyObject
*resultobj
;
3387 wxSize
*arg1
= (wxSize
*) 0 ;
3389 PyObject
* obj0
= 0 ;
3390 PyObject
* obj1
= 0 ;
3392 (char *) "self",(char *) "x", NULL
3395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3397 if (SWIG_arg_fail(1)) SWIG_fail
;
3399 arg2
= (int)(SWIG_As_int(obj1
));
3400 if (SWIG_arg_fail(2)) SWIG_fail
;
3402 if (arg1
) (arg1
)->x
= arg2
;
3404 Py_INCREF(Py_None
); resultobj
= Py_None
;
3411 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3412 PyObject
*resultobj
;
3413 wxSize
*arg1
= (wxSize
*) 0 ;
3415 PyObject
* obj0
= 0 ;
3417 (char *) "self", NULL
3420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3422 if (SWIG_arg_fail(1)) SWIG_fail
;
3423 result
= (int) ((arg1
)->x
);
3426 resultobj
= SWIG_From_int((int)(result
));
3434 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3435 PyObject
*resultobj
;
3436 wxSize
*arg1
= (wxSize
*) 0 ;
3438 PyObject
* obj0
= 0 ;
3439 PyObject
* obj1
= 0 ;
3441 (char *) "self",(char *) "y", NULL
3444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3446 if (SWIG_arg_fail(1)) SWIG_fail
;
3448 arg2
= (int)(SWIG_As_int(obj1
));
3449 if (SWIG_arg_fail(2)) SWIG_fail
;
3451 if (arg1
) (arg1
)->y
= arg2
;
3453 Py_INCREF(Py_None
); resultobj
= Py_None
;
3460 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3461 PyObject
*resultobj
;
3462 wxSize
*arg1
= (wxSize
*) 0 ;
3464 PyObject
* obj0
= 0 ;
3466 (char *) "self", NULL
3469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3471 if (SWIG_arg_fail(1)) SWIG_fail
;
3472 result
= (int) ((arg1
)->y
);
3475 resultobj
= SWIG_From_int((int)(result
));
3483 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3484 PyObject
*resultobj
;
3485 int arg1
= (int) 0 ;
3486 int arg2
= (int) 0 ;
3488 PyObject
* obj0
= 0 ;
3489 PyObject
* obj1
= 0 ;
3491 (char *) "w",(char *) "h", NULL
3494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3497 arg1
= (int)(SWIG_As_int(obj0
));
3498 if (SWIG_arg_fail(1)) SWIG_fail
;
3503 arg2
= (int)(SWIG_As_int(obj1
));
3504 if (SWIG_arg_fail(2)) SWIG_fail
;
3508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3509 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3511 wxPyEndAllowThreads(__tstate
);
3512 if (PyErr_Occurred()) SWIG_fail
;
3514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3521 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3522 PyObject
*resultobj
;
3523 wxSize
*arg1
= (wxSize
*) 0 ;
3524 PyObject
* obj0
= 0 ;
3526 (char *) "self", NULL
3529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3531 if (SWIG_arg_fail(1)) SWIG_fail
;
3533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3536 wxPyEndAllowThreads(__tstate
);
3537 if (PyErr_Occurred()) SWIG_fail
;
3539 Py_INCREF(Py_None
); resultobj
= Py_None
;
3546 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3547 PyObject
*resultobj
;
3548 wxSize
*arg1
= (wxSize
*) 0 ;
3552 PyObject
* obj0
= 0 ;
3553 PyObject
* obj1
= 0 ;
3555 (char *) "self",(char *) "sz", NULL
3558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3560 if (SWIG_arg_fail(1)) SWIG_fail
;
3563 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3567 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3569 wxPyEndAllowThreads(__tstate
);
3570 if (PyErr_Occurred()) SWIG_fail
;
3573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3581 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3582 PyObject
*resultobj
;
3583 wxSize
*arg1
= (wxSize
*) 0 ;
3587 PyObject
* obj0
= 0 ;
3588 PyObject
* obj1
= 0 ;
3590 (char *) "self",(char *) "sz", NULL
3593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3595 if (SWIG_arg_fail(1)) SWIG_fail
;
3598 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3602 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3604 wxPyEndAllowThreads(__tstate
);
3605 if (PyErr_Occurred()) SWIG_fail
;
3608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3616 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3617 PyObject
*resultobj
;
3618 wxSize
*arg1
= (wxSize
*) 0 ;
3622 PyObject
* obj0
= 0 ;
3623 PyObject
* obj1
= 0 ;
3625 (char *) "self",(char *) "sz", NULL
3628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3630 if (SWIG_arg_fail(1)) SWIG_fail
;
3633 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3637 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3639 wxPyEndAllowThreads(__tstate
);
3640 if (PyErr_Occurred()) SWIG_fail
;
3644 resultptr
= new wxSize((wxSize
&)(result
));
3645 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3653 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3654 PyObject
*resultobj
;
3655 wxSize
*arg1
= (wxSize
*) 0 ;
3659 PyObject
* obj0
= 0 ;
3660 PyObject
* obj1
= 0 ;
3662 (char *) "self",(char *) "sz", NULL
3665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3667 if (SWIG_arg_fail(1)) SWIG_fail
;
3670 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3674 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3676 wxPyEndAllowThreads(__tstate
);
3677 if (PyErr_Occurred()) SWIG_fail
;
3681 resultptr
= new wxSize((wxSize
&)(result
));
3682 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3690 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3691 PyObject
*resultobj
;
3692 wxSize
*arg1
= (wxSize
*) 0 ;
3695 PyObject
* obj0
= 0 ;
3696 PyObject
* obj1
= 0 ;
3698 (char *) "self",(char *) "sz", NULL
3701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3703 if (SWIG_arg_fail(1)) SWIG_fail
;
3706 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3710 (arg1
)->IncTo((wxSize
const &)*arg2
);
3712 wxPyEndAllowThreads(__tstate
);
3713 if (PyErr_Occurred()) SWIG_fail
;
3715 Py_INCREF(Py_None
); resultobj
= Py_None
;
3722 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3723 PyObject
*resultobj
;
3724 wxSize
*arg1
= (wxSize
*) 0 ;
3727 PyObject
* obj0
= 0 ;
3728 PyObject
* obj1
= 0 ;
3730 (char *) "self",(char *) "sz", NULL
3733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3735 if (SWIG_arg_fail(1)) SWIG_fail
;
3738 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3742 (arg1
)->DecTo((wxSize
const &)*arg2
);
3744 wxPyEndAllowThreads(__tstate
);
3745 if (PyErr_Occurred()) SWIG_fail
;
3747 Py_INCREF(Py_None
); resultobj
= Py_None
;
3754 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3755 PyObject
*resultobj
;
3756 wxSize
*arg1
= (wxSize
*) 0 ;
3759 PyObject
* obj0
= 0 ;
3760 PyObject
* obj1
= 0 ;
3761 PyObject
* obj2
= 0 ;
3763 (char *) "self",(char *) "w",(char *) "h", NULL
3766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3768 if (SWIG_arg_fail(1)) SWIG_fail
;
3770 arg2
= (int)(SWIG_As_int(obj1
));
3771 if (SWIG_arg_fail(2)) SWIG_fail
;
3774 arg3
= (int)(SWIG_As_int(obj2
));
3775 if (SWIG_arg_fail(3)) SWIG_fail
;
3778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3779 (arg1
)->Set(arg2
,arg3
);
3781 wxPyEndAllowThreads(__tstate
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3784 Py_INCREF(Py_None
); resultobj
= Py_None
;
3791 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3792 PyObject
*resultobj
;
3793 wxSize
*arg1
= (wxSize
*) 0 ;
3795 PyObject
* obj0
= 0 ;
3796 PyObject
* obj1
= 0 ;
3798 (char *) "self",(char *) "w", NULL
3801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3803 if (SWIG_arg_fail(1)) SWIG_fail
;
3805 arg2
= (int)(SWIG_As_int(obj1
));
3806 if (SWIG_arg_fail(2)) SWIG_fail
;
3809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3810 (arg1
)->SetWidth(arg2
);
3812 wxPyEndAllowThreads(__tstate
);
3813 if (PyErr_Occurred()) SWIG_fail
;
3815 Py_INCREF(Py_None
); resultobj
= Py_None
;
3822 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3823 PyObject
*resultobj
;
3824 wxSize
*arg1
= (wxSize
*) 0 ;
3826 PyObject
* obj0
= 0 ;
3827 PyObject
* obj1
= 0 ;
3829 (char *) "self",(char *) "h", NULL
3832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3834 if (SWIG_arg_fail(1)) SWIG_fail
;
3836 arg2
= (int)(SWIG_As_int(obj1
));
3837 if (SWIG_arg_fail(2)) SWIG_fail
;
3840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3841 (arg1
)->SetHeight(arg2
);
3843 wxPyEndAllowThreads(__tstate
);
3844 if (PyErr_Occurred()) SWIG_fail
;
3846 Py_INCREF(Py_None
); resultobj
= Py_None
;
3853 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3854 PyObject
*resultobj
;
3855 wxSize
*arg1
= (wxSize
*) 0 ;
3857 PyObject
* obj0
= 0 ;
3859 (char *) "self", NULL
3862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3864 if (SWIG_arg_fail(1)) SWIG_fail
;
3866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3867 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3869 wxPyEndAllowThreads(__tstate
);
3870 if (PyErr_Occurred()) SWIG_fail
;
3873 resultobj
= SWIG_From_int((int)(result
));
3881 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3882 PyObject
*resultobj
;
3883 wxSize
*arg1
= (wxSize
*) 0 ;
3885 PyObject
* obj0
= 0 ;
3887 (char *) "self", NULL
3890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3892 if (SWIG_arg_fail(1)) SWIG_fail
;
3894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3895 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3897 wxPyEndAllowThreads(__tstate
);
3898 if (PyErr_Occurred()) SWIG_fail
;
3901 resultobj
= SWIG_From_int((int)(result
));
3909 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
*resultobj
;
3911 wxSize
*arg1
= (wxSize
*) 0 ;
3913 PyObject
* obj0
= 0 ;
3915 (char *) "self", NULL
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3920 if (SWIG_arg_fail(1)) SWIG_fail
;
3922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3923 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3925 wxPyEndAllowThreads(__tstate
);
3926 if (PyErr_Occurred()) SWIG_fail
;
3929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3937 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
*resultobj
;
3939 wxSize
*arg1
= (wxSize
*) 0 ;
3942 PyObject
* obj0
= 0 ;
3943 PyObject
* obj1
= 0 ;
3945 (char *) "self",(char *) "size", NULL
3948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3950 if (SWIG_arg_fail(1)) SWIG_fail
;
3953 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3957 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3959 wxPyEndAllowThreads(__tstate
);
3960 if (PyErr_Occurred()) SWIG_fail
;
3962 Py_INCREF(Py_None
); resultobj
= Py_None
;
3969 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3970 PyObject
*resultobj
;
3971 wxSize
*arg1
= (wxSize
*) 0 ;
3973 PyObject
* obj0
= 0 ;
3975 (char *) "self", NULL
3978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3980 if (SWIG_arg_fail(1)) SWIG_fail
;
3982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3983 result
= (PyObject
*)wxSize_Get(arg1
);
3985 wxPyEndAllowThreads(__tstate
);
3986 if (PyErr_Occurred()) SWIG_fail
;
3995 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3998 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
4000 return Py_BuildValue((char *)"");
4002 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4003 PyObject
*resultobj
;
4004 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4006 PyObject
* obj0
= 0 ;
4007 PyObject
* obj1
= 0 ;
4009 (char *) "self",(char *) "x", NULL
4012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4014 if (SWIG_arg_fail(1)) SWIG_fail
;
4016 arg2
= (double)(SWIG_As_double(obj1
));
4017 if (SWIG_arg_fail(2)) SWIG_fail
;
4019 if (arg1
) (arg1
)->x
= arg2
;
4021 Py_INCREF(Py_None
); resultobj
= Py_None
;
4028 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4029 PyObject
*resultobj
;
4030 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4032 PyObject
* obj0
= 0 ;
4034 (char *) "self", NULL
4037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
4038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4039 if (SWIG_arg_fail(1)) SWIG_fail
;
4040 result
= (double) ((arg1
)->x
);
4043 resultobj
= SWIG_From_double((double)(result
));
4051 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4052 PyObject
*resultobj
;
4053 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4055 PyObject
* obj0
= 0 ;
4056 PyObject
* obj1
= 0 ;
4058 (char *) "self",(char *) "y", NULL
4061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4063 if (SWIG_arg_fail(1)) SWIG_fail
;
4065 arg2
= (double)(SWIG_As_double(obj1
));
4066 if (SWIG_arg_fail(2)) SWIG_fail
;
4068 if (arg1
) (arg1
)->y
= arg2
;
4070 Py_INCREF(Py_None
); resultobj
= Py_None
;
4077 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4078 PyObject
*resultobj
;
4079 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4081 PyObject
* obj0
= 0 ;
4083 (char *) "self", NULL
4086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
4087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4088 if (SWIG_arg_fail(1)) SWIG_fail
;
4089 result
= (double) ((arg1
)->y
);
4092 resultobj
= SWIG_From_double((double)(result
));
4100 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4101 PyObject
*resultobj
;
4102 double arg1
= (double) 0.0 ;
4103 double arg2
= (double) 0.0 ;
4104 wxRealPoint
*result
;
4105 PyObject
* obj0
= 0 ;
4106 PyObject
* obj1
= 0 ;
4108 (char *) "x",(char *) "y", NULL
4111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4114 arg1
= (double)(SWIG_As_double(obj0
));
4115 if (SWIG_arg_fail(1)) SWIG_fail
;
4120 arg2
= (double)(SWIG_As_double(obj1
));
4121 if (SWIG_arg_fail(2)) SWIG_fail
;
4125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4126 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4128 wxPyEndAllowThreads(__tstate
);
4129 if (PyErr_Occurred()) SWIG_fail
;
4131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4138 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4139 PyObject
*resultobj
;
4140 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4141 PyObject
* obj0
= 0 ;
4143 (char *) "self", NULL
4146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4148 if (SWIG_arg_fail(1)) SWIG_fail
;
4150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4153 wxPyEndAllowThreads(__tstate
);
4154 if (PyErr_Occurred()) SWIG_fail
;
4156 Py_INCREF(Py_None
); resultobj
= Py_None
;
4163 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4164 PyObject
*resultobj
;
4165 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4166 wxRealPoint
*arg2
= 0 ;
4169 PyObject
* obj0
= 0 ;
4170 PyObject
* obj1
= 0 ;
4172 (char *) "self",(char *) "pt", NULL
4175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4177 if (SWIG_arg_fail(1)) SWIG_fail
;
4180 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4184 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4186 wxPyEndAllowThreads(__tstate
);
4187 if (PyErr_Occurred()) SWIG_fail
;
4190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4198 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4199 PyObject
*resultobj
;
4200 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4201 wxRealPoint
*arg2
= 0 ;
4204 PyObject
* obj0
= 0 ;
4205 PyObject
* obj1
= 0 ;
4207 (char *) "self",(char *) "pt", NULL
4210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4212 if (SWIG_arg_fail(1)) SWIG_fail
;
4215 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4219 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4221 wxPyEndAllowThreads(__tstate
);
4222 if (PyErr_Occurred()) SWIG_fail
;
4225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4233 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4234 PyObject
*resultobj
;
4235 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4236 wxRealPoint
*arg2
= 0 ;
4239 PyObject
* obj0
= 0 ;
4240 PyObject
* obj1
= 0 ;
4242 (char *) "self",(char *) "pt", NULL
4245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4247 if (SWIG_arg_fail(1)) SWIG_fail
;
4250 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4254 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4256 wxPyEndAllowThreads(__tstate
);
4257 if (PyErr_Occurred()) SWIG_fail
;
4260 wxRealPoint
* resultptr
;
4261 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4262 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4270 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4271 PyObject
*resultobj
;
4272 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4273 wxRealPoint
*arg2
= 0 ;
4276 PyObject
* obj0
= 0 ;
4277 PyObject
* obj1
= 0 ;
4279 (char *) "self",(char *) "pt", NULL
4282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4284 if (SWIG_arg_fail(1)) SWIG_fail
;
4287 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4291 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4293 wxPyEndAllowThreads(__tstate
);
4294 if (PyErr_Occurred()) SWIG_fail
;
4297 wxRealPoint
* resultptr
;
4298 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4299 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4307 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4308 PyObject
*resultobj
;
4309 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4312 PyObject
* obj0
= 0 ;
4313 PyObject
* obj1
= 0 ;
4314 PyObject
* obj2
= 0 ;
4316 (char *) "self",(char *) "x",(char *) "y", NULL
4319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4321 if (SWIG_arg_fail(1)) SWIG_fail
;
4323 arg2
= (double)(SWIG_As_double(obj1
));
4324 if (SWIG_arg_fail(2)) SWIG_fail
;
4327 arg3
= (double)(SWIG_As_double(obj2
));
4328 if (SWIG_arg_fail(3)) SWIG_fail
;
4331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4332 wxRealPoint_Set(arg1
,arg2
,arg3
);
4334 wxPyEndAllowThreads(__tstate
);
4335 if (PyErr_Occurred()) SWIG_fail
;
4337 Py_INCREF(Py_None
); resultobj
= Py_None
;
4344 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
*resultobj
;
4346 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4348 PyObject
* obj0
= 0 ;
4350 (char *) "self", NULL
4353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4355 if (SWIG_arg_fail(1)) SWIG_fail
;
4357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4358 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4360 wxPyEndAllowThreads(__tstate
);
4361 if (PyErr_Occurred()) SWIG_fail
;
4370 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4372 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4373 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4375 return Py_BuildValue((char *)"");
4377 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4378 PyObject
*resultobj
;
4379 wxPoint
*arg1
= (wxPoint
*) 0 ;
4381 PyObject
* obj0
= 0 ;
4382 PyObject
* obj1
= 0 ;
4384 (char *) "self",(char *) "x", NULL
4387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4389 if (SWIG_arg_fail(1)) SWIG_fail
;
4391 arg2
= (int)(SWIG_As_int(obj1
));
4392 if (SWIG_arg_fail(2)) SWIG_fail
;
4394 if (arg1
) (arg1
)->x
= arg2
;
4396 Py_INCREF(Py_None
); resultobj
= Py_None
;
4403 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4404 PyObject
*resultobj
;
4405 wxPoint
*arg1
= (wxPoint
*) 0 ;
4407 PyObject
* obj0
= 0 ;
4409 (char *) "self", NULL
4412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4414 if (SWIG_arg_fail(1)) SWIG_fail
;
4415 result
= (int) ((arg1
)->x
);
4418 resultobj
= SWIG_From_int((int)(result
));
4426 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4427 PyObject
*resultobj
;
4428 wxPoint
*arg1
= (wxPoint
*) 0 ;
4430 PyObject
* obj0
= 0 ;
4431 PyObject
* obj1
= 0 ;
4433 (char *) "self",(char *) "y", NULL
4436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4438 if (SWIG_arg_fail(1)) SWIG_fail
;
4440 arg2
= (int)(SWIG_As_int(obj1
));
4441 if (SWIG_arg_fail(2)) SWIG_fail
;
4443 if (arg1
) (arg1
)->y
= arg2
;
4445 Py_INCREF(Py_None
); resultobj
= Py_None
;
4452 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4453 PyObject
*resultobj
;
4454 wxPoint
*arg1
= (wxPoint
*) 0 ;
4456 PyObject
* obj0
= 0 ;
4458 (char *) "self", NULL
4461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4463 if (SWIG_arg_fail(1)) SWIG_fail
;
4464 result
= (int) ((arg1
)->y
);
4467 resultobj
= SWIG_From_int((int)(result
));
4475 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4476 PyObject
*resultobj
;
4477 int arg1
= (int) 0 ;
4478 int arg2
= (int) 0 ;
4480 PyObject
* obj0
= 0 ;
4481 PyObject
* obj1
= 0 ;
4483 (char *) "x",(char *) "y", NULL
4486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4489 arg1
= (int)(SWIG_As_int(obj0
));
4490 if (SWIG_arg_fail(1)) SWIG_fail
;
4495 arg2
= (int)(SWIG_As_int(obj1
));
4496 if (SWIG_arg_fail(2)) SWIG_fail
;
4500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4501 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4503 wxPyEndAllowThreads(__tstate
);
4504 if (PyErr_Occurred()) SWIG_fail
;
4506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4513 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4514 PyObject
*resultobj
;
4515 wxPoint
*arg1
= (wxPoint
*) 0 ;
4516 PyObject
* obj0
= 0 ;
4518 (char *) "self", NULL
4521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4523 if (SWIG_arg_fail(1)) SWIG_fail
;
4525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4528 wxPyEndAllowThreads(__tstate
);
4529 if (PyErr_Occurred()) SWIG_fail
;
4531 Py_INCREF(Py_None
); resultobj
= Py_None
;
4538 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4539 PyObject
*resultobj
;
4540 wxPoint
*arg1
= (wxPoint
*) 0 ;
4544 PyObject
* obj0
= 0 ;
4545 PyObject
* obj1
= 0 ;
4547 (char *) "self",(char *) "pt", NULL
4550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4552 if (SWIG_arg_fail(1)) SWIG_fail
;
4555 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4559 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4561 wxPyEndAllowThreads(__tstate
);
4562 if (PyErr_Occurred()) SWIG_fail
;
4565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4573 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4574 PyObject
*resultobj
;
4575 wxPoint
*arg1
= (wxPoint
*) 0 ;
4579 PyObject
* obj0
= 0 ;
4580 PyObject
* obj1
= 0 ;
4582 (char *) "self",(char *) "pt", NULL
4585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4587 if (SWIG_arg_fail(1)) SWIG_fail
;
4590 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4594 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4596 wxPyEndAllowThreads(__tstate
);
4597 if (PyErr_Occurred()) SWIG_fail
;
4600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4608 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4609 PyObject
*resultobj
;
4610 wxPoint
*arg1
= (wxPoint
*) 0 ;
4614 PyObject
* obj0
= 0 ;
4615 PyObject
* obj1
= 0 ;
4617 (char *) "self",(char *) "pt", NULL
4620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4622 if (SWIG_arg_fail(1)) SWIG_fail
;
4625 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4629 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4631 wxPyEndAllowThreads(__tstate
);
4632 if (PyErr_Occurred()) SWIG_fail
;
4635 wxPoint
* resultptr
;
4636 resultptr
= new wxPoint((wxPoint
&)(result
));
4637 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4645 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4646 PyObject
*resultobj
;
4647 wxPoint
*arg1
= (wxPoint
*) 0 ;
4651 PyObject
* obj0
= 0 ;
4652 PyObject
* obj1
= 0 ;
4654 (char *) "self",(char *) "pt", NULL
4657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4659 if (SWIG_arg_fail(1)) SWIG_fail
;
4662 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4666 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4668 wxPyEndAllowThreads(__tstate
);
4669 if (PyErr_Occurred()) SWIG_fail
;
4672 wxPoint
* resultptr
;
4673 resultptr
= new wxPoint((wxPoint
&)(result
));
4674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4682 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4683 PyObject
*resultobj
;
4684 wxPoint
*arg1
= (wxPoint
*) 0 ;
4688 PyObject
* obj0
= 0 ;
4689 PyObject
* obj1
= 0 ;
4691 (char *) "self",(char *) "pt", NULL
4694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4696 if (SWIG_arg_fail(1)) SWIG_fail
;
4699 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4704 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4705 result
= (wxPoint
*) &_result_ref
;
4708 wxPyEndAllowThreads(__tstate
);
4709 if (PyErr_Occurred()) SWIG_fail
;
4711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4718 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4719 PyObject
*resultobj
;
4720 wxPoint
*arg1
= (wxPoint
*) 0 ;
4724 PyObject
* obj0
= 0 ;
4725 PyObject
* obj1
= 0 ;
4727 (char *) "self",(char *) "pt", NULL
4730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4732 if (SWIG_arg_fail(1)) SWIG_fail
;
4735 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4740 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4741 result
= (wxPoint
*) &_result_ref
;
4744 wxPyEndAllowThreads(__tstate
);
4745 if (PyErr_Occurred()) SWIG_fail
;
4747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4754 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4755 PyObject
*resultobj
;
4756 wxPoint
*arg1
= (wxPoint
*) 0 ;
4759 PyObject
* obj0
= 0 ;
4760 PyObject
* obj1
= 0 ;
4761 PyObject
* obj2
= 0 ;
4763 (char *) "self",(char *) "x",(char *) "y", NULL
4766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4768 if (SWIG_arg_fail(1)) SWIG_fail
;
4770 arg2
= (long)(SWIG_As_long(obj1
));
4771 if (SWIG_arg_fail(2)) SWIG_fail
;
4774 arg3
= (long)(SWIG_As_long(obj2
));
4775 if (SWIG_arg_fail(3)) SWIG_fail
;
4778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4779 wxPoint_Set(arg1
,arg2
,arg3
);
4781 wxPyEndAllowThreads(__tstate
);
4782 if (PyErr_Occurred()) SWIG_fail
;
4784 Py_INCREF(Py_None
); resultobj
= Py_None
;
4791 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4792 PyObject
*resultobj
;
4793 wxPoint
*arg1
= (wxPoint
*) 0 ;
4795 PyObject
* obj0
= 0 ;
4797 (char *) "self", NULL
4800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4802 if (SWIG_arg_fail(1)) SWIG_fail
;
4804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4805 result
= (PyObject
*)wxPoint_Get(arg1
);
4807 wxPyEndAllowThreads(__tstate
);
4808 if (PyErr_Occurred()) SWIG_fail
;
4817 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4820 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4822 return Py_BuildValue((char *)"");
4824 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
*resultobj
;
4826 int arg1
= (int) 0 ;
4827 int arg2
= (int) 0 ;
4828 int arg3
= (int) 0 ;
4829 int arg4
= (int) 0 ;
4831 PyObject
* obj0
= 0 ;
4832 PyObject
* obj1
= 0 ;
4833 PyObject
* obj2
= 0 ;
4834 PyObject
* obj3
= 0 ;
4836 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4842 arg1
= (int)(SWIG_As_int(obj0
));
4843 if (SWIG_arg_fail(1)) SWIG_fail
;
4848 arg2
= (int)(SWIG_As_int(obj1
));
4849 if (SWIG_arg_fail(2)) SWIG_fail
;
4854 arg3
= (int)(SWIG_As_int(obj2
));
4855 if (SWIG_arg_fail(3)) SWIG_fail
;
4860 arg4
= (int)(SWIG_As_int(obj3
));
4861 if (SWIG_arg_fail(4)) SWIG_fail
;
4865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4866 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4868 wxPyEndAllowThreads(__tstate
);
4869 if (PyErr_Occurred()) SWIG_fail
;
4871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4878 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4879 PyObject
*resultobj
;
4885 PyObject
* obj0
= 0 ;
4886 PyObject
* obj1
= 0 ;
4888 (char *) "topLeft",(char *) "bottomRight", NULL
4891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4894 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4898 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) SWIG_fail
;
4907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4914 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4915 PyObject
*resultobj
;
4921 PyObject
* obj0
= 0 ;
4922 PyObject
* obj1
= 0 ;
4924 (char *) "pos",(char *) "size", NULL
4927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4930 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4934 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4938 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4940 wxPyEndAllowThreads(__tstate
);
4941 if (PyErr_Occurred()) SWIG_fail
;
4943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4950 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4951 PyObject
*resultobj
;
4955 PyObject
* obj0
= 0 ;
4957 (char *) "size", NULL
4960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4963 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4967 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4969 wxPyEndAllowThreads(__tstate
);
4970 if (PyErr_Occurred()) SWIG_fail
;
4972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4979 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4980 PyObject
*resultobj
;
4981 wxRect
*arg1
= (wxRect
*) 0 ;
4982 PyObject
* obj0
= 0 ;
4984 (char *) "self", NULL
4987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4989 if (SWIG_arg_fail(1)) SWIG_fail
;
4991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4994 wxPyEndAllowThreads(__tstate
);
4995 if (PyErr_Occurred()) SWIG_fail
;
4997 Py_INCREF(Py_None
); resultobj
= Py_None
;
5004 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5005 PyObject
*resultobj
;
5006 wxRect
*arg1
= (wxRect
*) 0 ;
5008 PyObject
* obj0
= 0 ;
5010 (char *) "self", NULL
5013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
5014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5015 if (SWIG_arg_fail(1)) SWIG_fail
;
5017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5018 result
= (int)((wxRect
const *)arg1
)->GetX();
5020 wxPyEndAllowThreads(__tstate
);
5021 if (PyErr_Occurred()) SWIG_fail
;
5024 resultobj
= SWIG_From_int((int)(result
));
5032 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5033 PyObject
*resultobj
;
5034 wxRect
*arg1
= (wxRect
*) 0 ;
5036 PyObject
* obj0
= 0 ;
5037 PyObject
* obj1
= 0 ;
5039 (char *) "self",(char *) "x", NULL
5042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
5043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5044 if (SWIG_arg_fail(1)) SWIG_fail
;
5046 arg2
= (int)(SWIG_As_int(obj1
));
5047 if (SWIG_arg_fail(2)) SWIG_fail
;
5050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5053 wxPyEndAllowThreads(__tstate
);
5054 if (PyErr_Occurred()) SWIG_fail
;
5056 Py_INCREF(Py_None
); resultobj
= Py_None
;
5063 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5064 PyObject
*resultobj
;
5065 wxRect
*arg1
= (wxRect
*) 0 ;
5067 PyObject
* obj0
= 0 ;
5069 (char *) "self", NULL
5072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
5073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5074 if (SWIG_arg_fail(1)) SWIG_fail
;
5076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5077 result
= (int)(arg1
)->GetY();
5079 wxPyEndAllowThreads(__tstate
);
5080 if (PyErr_Occurred()) SWIG_fail
;
5083 resultobj
= SWIG_From_int((int)(result
));
5091 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5092 PyObject
*resultobj
;
5093 wxRect
*arg1
= (wxRect
*) 0 ;
5095 PyObject
* obj0
= 0 ;
5096 PyObject
* obj1
= 0 ;
5098 (char *) "self",(char *) "y", NULL
5101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5103 if (SWIG_arg_fail(1)) SWIG_fail
;
5105 arg2
= (int)(SWIG_As_int(obj1
));
5106 if (SWIG_arg_fail(2)) SWIG_fail
;
5109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5112 wxPyEndAllowThreads(__tstate
);
5113 if (PyErr_Occurred()) SWIG_fail
;
5115 Py_INCREF(Py_None
); resultobj
= Py_None
;
5122 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5123 PyObject
*resultobj
;
5124 wxRect
*arg1
= (wxRect
*) 0 ;
5126 PyObject
* obj0
= 0 ;
5128 (char *) "self", NULL
5131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5133 if (SWIG_arg_fail(1)) SWIG_fail
;
5135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5136 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5138 wxPyEndAllowThreads(__tstate
);
5139 if (PyErr_Occurred()) SWIG_fail
;
5142 resultobj
= SWIG_From_int((int)(result
));
5150 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5151 PyObject
*resultobj
;
5152 wxRect
*arg1
= (wxRect
*) 0 ;
5154 PyObject
* obj0
= 0 ;
5155 PyObject
* obj1
= 0 ;
5157 (char *) "self",(char *) "w", NULL
5160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5162 if (SWIG_arg_fail(1)) SWIG_fail
;
5164 arg2
= (int)(SWIG_As_int(obj1
));
5165 if (SWIG_arg_fail(2)) SWIG_fail
;
5168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5169 (arg1
)->SetWidth(arg2
);
5171 wxPyEndAllowThreads(__tstate
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5174 Py_INCREF(Py_None
); resultobj
= Py_None
;
5181 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5182 PyObject
*resultobj
;
5183 wxRect
*arg1
= (wxRect
*) 0 ;
5185 PyObject
* obj0
= 0 ;
5187 (char *) "self", NULL
5190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5192 if (SWIG_arg_fail(1)) SWIG_fail
;
5194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5195 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5197 wxPyEndAllowThreads(__tstate
);
5198 if (PyErr_Occurred()) SWIG_fail
;
5201 resultobj
= SWIG_From_int((int)(result
));
5209 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5210 PyObject
*resultobj
;
5211 wxRect
*arg1
= (wxRect
*) 0 ;
5213 PyObject
* obj0
= 0 ;
5214 PyObject
* obj1
= 0 ;
5216 (char *) "self",(char *) "h", NULL
5219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5221 if (SWIG_arg_fail(1)) SWIG_fail
;
5223 arg2
= (int)(SWIG_As_int(obj1
));
5224 if (SWIG_arg_fail(2)) SWIG_fail
;
5227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5228 (arg1
)->SetHeight(arg2
);
5230 wxPyEndAllowThreads(__tstate
);
5231 if (PyErr_Occurred()) SWIG_fail
;
5233 Py_INCREF(Py_None
); resultobj
= Py_None
;
5240 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5241 PyObject
*resultobj
;
5242 wxRect
*arg1
= (wxRect
*) 0 ;
5244 PyObject
* obj0
= 0 ;
5246 (char *) "self", NULL
5249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5251 if (SWIG_arg_fail(1)) SWIG_fail
;
5253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5254 result
= ((wxRect
const *)arg1
)->GetPosition();
5256 wxPyEndAllowThreads(__tstate
);
5257 if (PyErr_Occurred()) SWIG_fail
;
5260 wxPoint
* resultptr
;
5261 resultptr
= new wxPoint((wxPoint
&)(result
));
5262 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5270 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5271 PyObject
*resultobj
;
5272 wxRect
*arg1
= (wxRect
*) 0 ;
5275 PyObject
* obj0
= 0 ;
5276 PyObject
* obj1
= 0 ;
5278 (char *) "self",(char *) "p", NULL
5281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5283 if (SWIG_arg_fail(1)) SWIG_fail
;
5286 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5290 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5292 wxPyEndAllowThreads(__tstate
);
5293 if (PyErr_Occurred()) SWIG_fail
;
5295 Py_INCREF(Py_None
); resultobj
= Py_None
;
5302 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5303 PyObject
*resultobj
;
5304 wxRect
*arg1
= (wxRect
*) 0 ;
5306 PyObject
* obj0
= 0 ;
5308 (char *) "self", NULL
5311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5313 if (SWIG_arg_fail(1)) SWIG_fail
;
5315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5316 result
= ((wxRect
const *)arg1
)->GetSize();
5318 wxPyEndAllowThreads(__tstate
);
5319 if (PyErr_Occurred()) SWIG_fail
;
5323 resultptr
= new wxSize((wxSize
&)(result
));
5324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5332 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5333 PyObject
*resultobj
;
5334 wxRect
*arg1
= (wxRect
*) 0 ;
5337 PyObject
* obj0
= 0 ;
5338 PyObject
* obj1
= 0 ;
5340 (char *) "self",(char *) "s", NULL
5343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5345 if (SWIG_arg_fail(1)) SWIG_fail
;
5348 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5352 (arg1
)->SetSize((wxSize
const &)*arg2
);
5354 wxPyEndAllowThreads(__tstate
);
5355 if (PyErr_Occurred()) SWIG_fail
;
5357 Py_INCREF(Py_None
); resultobj
= Py_None
;
5364 static PyObject
*_wrap_Rect_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5365 PyObject
*resultobj
;
5366 wxRect
*arg1
= (wxRect
*) 0 ;
5368 PyObject
* obj0
= 0 ;
5370 (char *) "self", NULL
5373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_IsEmpty",kwnames
,&obj0
)) goto fail
;
5374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5375 if (SWIG_arg_fail(1)) SWIG_fail
;
5377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5378 result
= (bool)((wxRect
const *)arg1
)->IsEmpty();
5380 wxPyEndAllowThreads(__tstate
);
5381 if (PyErr_Occurred()) SWIG_fail
;
5384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5392 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5393 PyObject
*resultobj
;
5394 wxRect
*arg1
= (wxRect
*) 0 ;
5396 PyObject
* obj0
= 0 ;
5398 (char *) "self", NULL
5401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5403 if (SWIG_arg_fail(1)) SWIG_fail
;
5405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5406 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5408 wxPyEndAllowThreads(__tstate
);
5409 if (PyErr_Occurred()) SWIG_fail
;
5412 wxPoint
* resultptr
;
5413 resultptr
= new wxPoint((wxPoint
&)(result
));
5414 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5422 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5423 PyObject
*resultobj
;
5424 wxRect
*arg1
= (wxRect
*) 0 ;
5427 PyObject
* obj0
= 0 ;
5428 PyObject
* obj1
= 0 ;
5430 (char *) "self",(char *) "p", NULL
5433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5435 if (SWIG_arg_fail(1)) SWIG_fail
;
5438 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5442 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5444 wxPyEndAllowThreads(__tstate
);
5445 if (PyErr_Occurred()) SWIG_fail
;
5447 Py_INCREF(Py_None
); resultobj
= Py_None
;
5454 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5455 PyObject
*resultobj
;
5456 wxRect
*arg1
= (wxRect
*) 0 ;
5458 PyObject
* obj0
= 0 ;
5460 (char *) "self", NULL
5463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5465 if (SWIG_arg_fail(1)) SWIG_fail
;
5467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5468 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5470 wxPyEndAllowThreads(__tstate
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5474 wxPoint
* resultptr
;
5475 resultptr
= new wxPoint((wxPoint
&)(result
));
5476 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5484 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5485 PyObject
*resultobj
;
5486 wxRect
*arg1
= (wxRect
*) 0 ;
5489 PyObject
* obj0
= 0 ;
5490 PyObject
* obj1
= 0 ;
5492 (char *) "self",(char *) "p", NULL
5495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5497 if (SWIG_arg_fail(1)) SWIG_fail
;
5500 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5504 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5506 wxPyEndAllowThreads(__tstate
);
5507 if (PyErr_Occurred()) SWIG_fail
;
5509 Py_INCREF(Py_None
); resultobj
= Py_None
;
5516 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5517 PyObject
*resultobj
;
5518 wxRect
*arg1
= (wxRect
*) 0 ;
5520 PyObject
* obj0
= 0 ;
5522 (char *) "self", NULL
5525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5527 if (SWIG_arg_fail(1)) SWIG_fail
;
5529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5530 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5532 wxPyEndAllowThreads(__tstate
);
5533 if (PyErr_Occurred()) SWIG_fail
;
5536 resultobj
= SWIG_From_int((int)(result
));
5544 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5545 PyObject
*resultobj
;
5546 wxRect
*arg1
= (wxRect
*) 0 ;
5548 PyObject
* obj0
= 0 ;
5550 (char *) "self", NULL
5553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5555 if (SWIG_arg_fail(1)) SWIG_fail
;
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 result
= (int)((wxRect
const *)arg1
)->GetTop();
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5564 resultobj
= SWIG_From_int((int)(result
));
5572 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5573 PyObject
*resultobj
;
5574 wxRect
*arg1
= (wxRect
*) 0 ;
5576 PyObject
* obj0
= 0 ;
5578 (char *) "self", NULL
5581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5583 if (SWIG_arg_fail(1)) SWIG_fail
;
5585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5586 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5588 wxPyEndAllowThreads(__tstate
);
5589 if (PyErr_Occurred()) SWIG_fail
;
5592 resultobj
= SWIG_From_int((int)(result
));
5600 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5601 PyObject
*resultobj
;
5602 wxRect
*arg1
= (wxRect
*) 0 ;
5604 PyObject
* obj0
= 0 ;
5606 (char *) "self", NULL
5609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5611 if (SWIG_arg_fail(1)) SWIG_fail
;
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5614 result
= (int)((wxRect
const *)arg1
)->GetRight();
5616 wxPyEndAllowThreads(__tstate
);
5617 if (PyErr_Occurred()) SWIG_fail
;
5620 resultobj
= SWIG_From_int((int)(result
));
5628 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5629 PyObject
*resultobj
;
5630 wxRect
*arg1
= (wxRect
*) 0 ;
5632 PyObject
* obj0
= 0 ;
5633 PyObject
* obj1
= 0 ;
5635 (char *) "self",(char *) "left", NULL
5638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5640 if (SWIG_arg_fail(1)) SWIG_fail
;
5642 arg2
= (int)(SWIG_As_int(obj1
));
5643 if (SWIG_arg_fail(2)) SWIG_fail
;
5646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5647 (arg1
)->SetLeft(arg2
);
5649 wxPyEndAllowThreads(__tstate
);
5650 if (PyErr_Occurred()) SWIG_fail
;
5652 Py_INCREF(Py_None
); resultobj
= Py_None
;
5659 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
*resultobj
;
5661 wxRect
*arg1
= (wxRect
*) 0 ;
5663 PyObject
* obj0
= 0 ;
5664 PyObject
* obj1
= 0 ;
5666 (char *) "self",(char *) "right", NULL
5669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5671 if (SWIG_arg_fail(1)) SWIG_fail
;
5673 arg2
= (int)(SWIG_As_int(obj1
));
5674 if (SWIG_arg_fail(2)) SWIG_fail
;
5677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5678 (arg1
)->SetRight(arg2
);
5680 wxPyEndAllowThreads(__tstate
);
5681 if (PyErr_Occurred()) SWIG_fail
;
5683 Py_INCREF(Py_None
); resultobj
= Py_None
;
5690 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5691 PyObject
*resultobj
;
5692 wxRect
*arg1
= (wxRect
*) 0 ;
5694 PyObject
* obj0
= 0 ;
5695 PyObject
* obj1
= 0 ;
5697 (char *) "self",(char *) "top", NULL
5700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5702 if (SWIG_arg_fail(1)) SWIG_fail
;
5704 arg2
= (int)(SWIG_As_int(obj1
));
5705 if (SWIG_arg_fail(2)) SWIG_fail
;
5708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5709 (arg1
)->SetTop(arg2
);
5711 wxPyEndAllowThreads(__tstate
);
5712 if (PyErr_Occurred()) SWIG_fail
;
5714 Py_INCREF(Py_None
); resultobj
= Py_None
;
5721 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
*resultobj
;
5723 wxRect
*arg1
= (wxRect
*) 0 ;
5725 PyObject
* obj0
= 0 ;
5726 PyObject
* obj1
= 0 ;
5728 (char *) "self",(char *) "bottom", NULL
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5733 if (SWIG_arg_fail(1)) SWIG_fail
;
5735 arg2
= (int)(SWIG_As_int(obj1
));
5736 if (SWIG_arg_fail(2)) SWIG_fail
;
5739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5740 (arg1
)->SetBottom(arg2
);
5742 wxPyEndAllowThreads(__tstate
);
5743 if (PyErr_Occurred()) SWIG_fail
;
5745 Py_INCREF(Py_None
); resultobj
= Py_None
;
5752 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5753 PyObject
*resultobj
;
5754 wxRect
*arg1
= (wxRect
*) 0 ;
5758 PyObject
* obj0
= 0 ;
5759 PyObject
* obj1
= 0 ;
5760 PyObject
* obj2
= 0 ;
5762 (char *) "self",(char *) "dx",(char *) "dy", NULL
5765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5767 if (SWIG_arg_fail(1)) SWIG_fail
;
5769 arg2
= (int)(SWIG_As_int(obj1
));
5770 if (SWIG_arg_fail(2)) SWIG_fail
;
5773 arg3
= (int)(SWIG_As_int(obj2
));
5774 if (SWIG_arg_fail(3)) SWIG_fail
;
5777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5779 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5780 result
= (wxRect
*) &_result_ref
;
5783 wxPyEndAllowThreads(__tstate
);
5784 if (PyErr_Occurred()) SWIG_fail
;
5786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5793 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5794 PyObject
*resultobj
;
5795 wxRect
*arg1
= (wxRect
*) 0 ;
5799 PyObject
* obj0
= 0 ;
5800 PyObject
* obj1
= 0 ;
5801 PyObject
* obj2
= 0 ;
5803 (char *) "self",(char *) "dx",(char *) "dy", NULL
5806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5808 if (SWIG_arg_fail(1)) SWIG_fail
;
5810 arg2
= (int)(SWIG_As_int(obj1
));
5811 if (SWIG_arg_fail(2)) SWIG_fail
;
5814 arg3
= (int)(SWIG_As_int(obj2
));
5815 if (SWIG_arg_fail(3)) SWIG_fail
;
5818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5820 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5821 result
= (wxRect
*) &_result_ref
;
5824 wxPyEndAllowThreads(__tstate
);
5825 if (PyErr_Occurred()) SWIG_fail
;
5827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5834 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5835 PyObject
*resultobj
;
5836 wxRect
*arg1
= (wxRect
*) 0 ;
5839 PyObject
* obj0
= 0 ;
5840 PyObject
* obj1
= 0 ;
5841 PyObject
* obj2
= 0 ;
5843 (char *) "self",(char *) "dx",(char *) "dy", NULL
5846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5848 if (SWIG_arg_fail(1)) SWIG_fail
;
5850 arg2
= (int)(SWIG_As_int(obj1
));
5851 if (SWIG_arg_fail(2)) SWIG_fail
;
5854 arg3
= (int)(SWIG_As_int(obj2
));
5855 if (SWIG_arg_fail(3)) SWIG_fail
;
5858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5859 (arg1
)->Offset(arg2
,arg3
);
5861 wxPyEndAllowThreads(__tstate
);
5862 if (PyErr_Occurred()) SWIG_fail
;
5864 Py_INCREF(Py_None
); resultobj
= Py_None
;
5871 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5872 PyObject
*resultobj
;
5873 wxRect
*arg1
= (wxRect
*) 0 ;
5876 PyObject
* obj0
= 0 ;
5877 PyObject
* obj1
= 0 ;
5879 (char *) "self",(char *) "pt", NULL
5882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5884 if (SWIG_arg_fail(1)) SWIG_fail
;
5887 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5891 (arg1
)->Offset((wxPoint
const &)*arg2
);
5893 wxPyEndAllowThreads(__tstate
);
5894 if (PyErr_Occurred()) SWIG_fail
;
5896 Py_INCREF(Py_None
); resultobj
= Py_None
;
5903 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5904 PyObject
*resultobj
;
5905 wxRect
*arg1
= (wxRect
*) 0 ;
5909 PyObject
* obj0
= 0 ;
5910 PyObject
* obj1
= 0 ;
5912 (char *) "self",(char *) "rect", NULL
5915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5917 if (SWIG_arg_fail(1)) SWIG_fail
;
5920 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5924 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5926 wxPyEndAllowThreads(__tstate
);
5927 if (PyErr_Occurred()) SWIG_fail
;
5931 resultptr
= new wxRect((wxRect
&)(result
));
5932 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5940 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5941 PyObject
*resultobj
;
5942 wxRect
*arg1
= (wxRect
*) 0 ;
5946 PyObject
* obj0
= 0 ;
5947 PyObject
* obj1
= 0 ;
5949 (char *) "self",(char *) "rect", NULL
5952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5954 if (SWIG_arg_fail(1)) SWIG_fail
;
5957 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5961 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5963 wxPyEndAllowThreads(__tstate
);
5964 if (PyErr_Occurred()) SWIG_fail
;
5968 resultptr
= new wxRect((wxRect
&)(result
));
5969 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5977 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5978 PyObject
*resultobj
;
5979 wxRect
*arg1
= (wxRect
*) 0 ;
5983 PyObject
* obj0
= 0 ;
5984 PyObject
* obj1
= 0 ;
5986 (char *) "self",(char *) "rect", NULL
5989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5991 if (SWIG_arg_fail(1)) SWIG_fail
;
5994 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5998 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
6000 wxPyEndAllowThreads(__tstate
);
6001 if (PyErr_Occurred()) SWIG_fail
;
6005 resultptr
= new wxRect((wxRect
&)(result
));
6006 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
6014 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6015 PyObject
*resultobj
;
6016 wxRect
*arg1
= (wxRect
*) 0 ;
6020 PyObject
* obj0
= 0 ;
6021 PyObject
* obj1
= 0 ;
6023 (char *) "self",(char *) "rect", NULL
6026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6028 if (SWIG_arg_fail(1)) SWIG_fail
;
6031 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
6037 result
= (wxRect
*) &_result_ref
;
6040 wxPyEndAllowThreads(__tstate
);
6041 if (PyErr_Occurred()) SWIG_fail
;
6043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
6050 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6051 PyObject
*resultobj
;
6052 wxRect
*arg1
= (wxRect
*) 0 ;
6056 PyObject
* obj0
= 0 ;
6057 PyObject
* obj1
= 0 ;
6059 (char *) "self",(char *) "rect", NULL
6062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
6063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6064 if (SWIG_arg_fail(1)) SWIG_fail
;
6067 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6071 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
6073 wxPyEndAllowThreads(__tstate
);
6074 if (PyErr_Occurred()) SWIG_fail
;
6077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6085 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6086 PyObject
*resultobj
;
6087 wxRect
*arg1
= (wxRect
*) 0 ;
6091 PyObject
* obj0
= 0 ;
6092 PyObject
* obj1
= 0 ;
6094 (char *) "self",(char *) "rect", NULL
6097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
6098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6099 if (SWIG_arg_fail(1)) SWIG_fail
;
6102 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6106 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
6108 wxPyEndAllowThreads(__tstate
);
6109 if (PyErr_Occurred()) SWIG_fail
;
6112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6120 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6121 PyObject
*resultobj
;
6122 wxRect
*arg1
= (wxRect
*) 0 ;
6126 PyObject
* obj0
= 0 ;
6127 PyObject
* obj1
= 0 ;
6128 PyObject
* obj2
= 0 ;
6130 (char *) "self",(char *) "x",(char *) "y", NULL
6133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6135 if (SWIG_arg_fail(1)) SWIG_fail
;
6137 arg2
= (int)(SWIG_As_int(obj1
));
6138 if (SWIG_arg_fail(2)) SWIG_fail
;
6141 arg3
= (int)(SWIG_As_int(obj2
));
6142 if (SWIG_arg_fail(3)) SWIG_fail
;
6145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6146 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6148 wxPyEndAllowThreads(__tstate
);
6149 if (PyErr_Occurred()) SWIG_fail
;
6152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6160 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6161 PyObject
*resultobj
;
6162 wxRect
*arg1
= (wxRect
*) 0 ;
6166 PyObject
* obj0
= 0 ;
6167 PyObject
* obj1
= 0 ;
6169 (char *) "self",(char *) "pt", NULL
6172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6174 if (SWIG_arg_fail(1)) SWIG_fail
;
6177 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6181 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6183 wxPyEndAllowThreads(__tstate
);
6184 if (PyErr_Occurred()) SWIG_fail
;
6187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6195 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
*resultobj
;
6197 wxRect
*arg1
= (wxRect
*) 0 ;
6201 PyObject
* obj0
= 0 ;
6202 PyObject
* obj1
= 0 ;
6204 (char *) "self",(char *) "rect", NULL
6207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6209 if (SWIG_arg_fail(1)) SWIG_fail
;
6212 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6216 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6218 wxPyEndAllowThreads(__tstate
);
6219 if (PyErr_Occurred()) SWIG_fail
;
6222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6230 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6231 PyObject
*resultobj
;
6232 wxRect
*arg1
= (wxRect
*) 0 ;
6234 PyObject
* obj0
= 0 ;
6235 PyObject
* obj1
= 0 ;
6237 (char *) "self",(char *) "x", NULL
6240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6242 if (SWIG_arg_fail(1)) SWIG_fail
;
6244 arg2
= (int)(SWIG_As_int(obj1
));
6245 if (SWIG_arg_fail(2)) SWIG_fail
;
6247 if (arg1
) (arg1
)->x
= arg2
;
6249 Py_INCREF(Py_None
); resultobj
= Py_None
;
6256 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6257 PyObject
*resultobj
;
6258 wxRect
*arg1
= (wxRect
*) 0 ;
6260 PyObject
* obj0
= 0 ;
6262 (char *) "self", NULL
6265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6267 if (SWIG_arg_fail(1)) SWIG_fail
;
6268 result
= (int) ((arg1
)->x
);
6271 resultobj
= SWIG_From_int((int)(result
));
6279 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6280 PyObject
*resultobj
;
6281 wxRect
*arg1
= (wxRect
*) 0 ;
6283 PyObject
* obj0
= 0 ;
6284 PyObject
* obj1
= 0 ;
6286 (char *) "self",(char *) "y", NULL
6289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6291 if (SWIG_arg_fail(1)) SWIG_fail
;
6293 arg2
= (int)(SWIG_As_int(obj1
));
6294 if (SWIG_arg_fail(2)) SWIG_fail
;
6296 if (arg1
) (arg1
)->y
= arg2
;
6298 Py_INCREF(Py_None
); resultobj
= Py_None
;
6305 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6306 PyObject
*resultobj
;
6307 wxRect
*arg1
= (wxRect
*) 0 ;
6309 PyObject
* obj0
= 0 ;
6311 (char *) "self", NULL
6314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6316 if (SWIG_arg_fail(1)) SWIG_fail
;
6317 result
= (int) ((arg1
)->y
);
6320 resultobj
= SWIG_From_int((int)(result
));
6328 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6329 PyObject
*resultobj
;
6330 wxRect
*arg1
= (wxRect
*) 0 ;
6332 PyObject
* obj0
= 0 ;
6333 PyObject
* obj1
= 0 ;
6335 (char *) "self",(char *) "width", NULL
6338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6340 if (SWIG_arg_fail(1)) SWIG_fail
;
6342 arg2
= (int)(SWIG_As_int(obj1
));
6343 if (SWIG_arg_fail(2)) SWIG_fail
;
6345 if (arg1
) (arg1
)->width
= arg2
;
6347 Py_INCREF(Py_None
); resultobj
= Py_None
;
6354 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6355 PyObject
*resultobj
;
6356 wxRect
*arg1
= (wxRect
*) 0 ;
6358 PyObject
* obj0
= 0 ;
6360 (char *) "self", NULL
6363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6365 if (SWIG_arg_fail(1)) SWIG_fail
;
6366 result
= (int) ((arg1
)->width
);
6369 resultobj
= SWIG_From_int((int)(result
));
6377 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6378 PyObject
*resultobj
;
6379 wxRect
*arg1
= (wxRect
*) 0 ;
6381 PyObject
* obj0
= 0 ;
6382 PyObject
* obj1
= 0 ;
6384 (char *) "self",(char *) "height", NULL
6387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6389 if (SWIG_arg_fail(1)) SWIG_fail
;
6391 arg2
= (int)(SWIG_As_int(obj1
));
6392 if (SWIG_arg_fail(2)) SWIG_fail
;
6394 if (arg1
) (arg1
)->height
= arg2
;
6396 Py_INCREF(Py_None
); resultobj
= Py_None
;
6403 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6404 PyObject
*resultobj
;
6405 wxRect
*arg1
= (wxRect
*) 0 ;
6407 PyObject
* obj0
= 0 ;
6409 (char *) "self", NULL
6412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6414 if (SWIG_arg_fail(1)) SWIG_fail
;
6415 result
= (int) ((arg1
)->height
);
6418 resultobj
= SWIG_From_int((int)(result
));
6426 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6427 PyObject
*resultobj
;
6428 wxRect
*arg1
= (wxRect
*) 0 ;
6429 int arg2
= (int) 0 ;
6430 int arg3
= (int) 0 ;
6431 int arg4
= (int) 0 ;
6432 int arg5
= (int) 0 ;
6433 PyObject
* obj0
= 0 ;
6434 PyObject
* obj1
= 0 ;
6435 PyObject
* obj2
= 0 ;
6436 PyObject
* obj3
= 0 ;
6437 PyObject
* obj4
= 0 ;
6439 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6444 if (SWIG_arg_fail(1)) SWIG_fail
;
6447 arg2
= (int)(SWIG_As_int(obj1
));
6448 if (SWIG_arg_fail(2)) SWIG_fail
;
6453 arg3
= (int)(SWIG_As_int(obj2
));
6454 if (SWIG_arg_fail(3)) SWIG_fail
;
6459 arg4
= (int)(SWIG_As_int(obj3
));
6460 if (SWIG_arg_fail(4)) SWIG_fail
;
6465 arg5
= (int)(SWIG_As_int(obj4
));
6466 if (SWIG_arg_fail(5)) SWIG_fail
;
6470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6471 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6473 wxPyEndAllowThreads(__tstate
);
6474 if (PyErr_Occurred()) SWIG_fail
;
6476 Py_INCREF(Py_None
); resultobj
= Py_None
;
6483 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6484 PyObject
*resultobj
;
6485 wxRect
*arg1
= (wxRect
*) 0 ;
6487 PyObject
* obj0
= 0 ;
6489 (char *) "self", NULL
6492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6494 if (SWIG_arg_fail(1)) SWIG_fail
;
6496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6497 result
= (PyObject
*)wxRect_Get(arg1
);
6499 wxPyEndAllowThreads(__tstate
);
6500 if (PyErr_Occurred()) SWIG_fail
;
6509 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6512 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6514 return Py_BuildValue((char *)"");
6516 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6517 PyObject
*resultobj
;
6518 wxRect
*arg1
= (wxRect
*) 0 ;
6519 wxRect
*arg2
= (wxRect
*) 0 ;
6521 PyObject
* obj0
= 0 ;
6522 PyObject
* obj1
= 0 ;
6524 (char *) "r1",(char *) "r2", NULL
6527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6529 if (SWIG_arg_fail(1)) SWIG_fail
;
6530 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6531 if (SWIG_arg_fail(2)) SWIG_fail
;
6533 if (!wxPyCheckForApp()) SWIG_fail
;
6534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6535 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6537 wxPyEndAllowThreads(__tstate
);
6538 if (PyErr_Occurred()) SWIG_fail
;
6547 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6548 PyObject
*resultobj
;
6549 double arg1
= (double) 0.0 ;
6550 double arg2
= (double) 0.0 ;
6552 PyObject
* obj0
= 0 ;
6553 PyObject
* obj1
= 0 ;
6555 (char *) "x",(char *) "y", NULL
6558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6561 arg1
= (double)(SWIG_As_double(obj0
));
6562 if (SWIG_arg_fail(1)) SWIG_fail
;
6567 arg2
= (double)(SWIG_As_double(obj1
));
6568 if (SWIG_arg_fail(2)) SWIG_fail
;
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6585 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6586 PyObject
*resultobj
;
6587 wxPoint2D
*arg1
= 0 ;
6590 PyObject
* obj0
= 0 ;
6595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6598 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6602 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6604 wxPyEndAllowThreads(__tstate
);
6605 if (PyErr_Occurred()) SWIG_fail
;
6607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6614 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6615 PyObject
*resultobj
;
6619 PyObject
* obj0
= 0 ;
6624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6627 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6631 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6633 wxPyEndAllowThreads(__tstate
);
6634 if (PyErr_Occurred()) SWIG_fail
;
6636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6643 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6644 PyObject
*resultobj
;
6645 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6646 int *arg2
= (int *) 0 ;
6647 int *arg3
= (int *) 0 ;
6652 PyObject
* obj0
= 0 ;
6654 (char *) "self", NULL
6657 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6658 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6661 if (SWIG_arg_fail(1)) SWIG_fail
;
6663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6664 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6666 wxPyEndAllowThreads(__tstate
);
6667 if (PyErr_Occurred()) SWIG_fail
;
6669 Py_INCREF(Py_None
); resultobj
= Py_None
;
6670 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6671 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6672 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6673 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6680 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6681 PyObject
*resultobj
;
6682 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6683 int *arg2
= (int *) 0 ;
6684 int *arg3
= (int *) 0 ;
6689 PyObject
* obj0
= 0 ;
6691 (char *) "self", NULL
6694 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6695 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6698 if (SWIG_arg_fail(1)) SWIG_fail
;
6700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6701 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6703 wxPyEndAllowThreads(__tstate
);
6704 if (PyErr_Occurred()) SWIG_fail
;
6706 Py_INCREF(Py_None
); resultobj
= Py_None
;
6707 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6708 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6709 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6710 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6717 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6718 PyObject
*resultobj
;
6719 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6721 PyObject
* obj0
= 0 ;
6723 (char *) "self", NULL
6726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6728 if (SWIG_arg_fail(1)) SWIG_fail
;
6730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6731 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6733 wxPyEndAllowThreads(__tstate
);
6734 if (PyErr_Occurred()) SWIG_fail
;
6737 resultobj
= SWIG_From_double((double)(result
));
6745 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6746 PyObject
*resultobj
;
6747 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6749 PyObject
* obj0
= 0 ;
6751 (char *) "self", NULL
6754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6756 if (SWIG_arg_fail(1)) SWIG_fail
;
6758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6759 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6761 wxPyEndAllowThreads(__tstate
);
6762 if (PyErr_Occurred()) SWIG_fail
;
6765 resultobj
= SWIG_From_double((double)(result
));
6773 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6774 PyObject
*resultobj
;
6775 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6777 PyObject
* obj0
= 0 ;
6778 PyObject
* obj1
= 0 ;
6780 (char *) "self",(char *) "length", NULL
6783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6785 if (SWIG_arg_fail(1)) SWIG_fail
;
6787 arg2
= (double)(SWIG_As_double(obj1
));
6788 if (SWIG_arg_fail(2)) SWIG_fail
;
6791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6792 (arg1
)->SetVectorLength(arg2
);
6794 wxPyEndAllowThreads(__tstate
);
6795 if (PyErr_Occurred()) SWIG_fail
;
6797 Py_INCREF(Py_None
); resultobj
= Py_None
;
6804 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6805 PyObject
*resultobj
;
6806 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6808 PyObject
* obj0
= 0 ;
6809 PyObject
* obj1
= 0 ;
6811 (char *) "self",(char *) "degrees", NULL
6814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6816 if (SWIG_arg_fail(1)) SWIG_fail
;
6818 arg2
= (double)(SWIG_As_double(obj1
));
6819 if (SWIG_arg_fail(2)) SWIG_fail
;
6822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6823 (arg1
)->SetVectorAngle(arg2
);
6825 wxPyEndAllowThreads(__tstate
);
6826 if (PyErr_Occurred()) SWIG_fail
;
6828 Py_INCREF(Py_None
); resultobj
= Py_None
;
6835 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6836 PyObject
*resultobj
;
6837 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6838 wxPoint2D
*arg2
= 0 ;
6841 PyObject
* obj0
= 0 ;
6842 PyObject
* obj1
= 0 ;
6844 (char *) "self",(char *) "pt", NULL
6847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6849 if (SWIG_arg_fail(1)) SWIG_fail
;
6852 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6856 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6858 wxPyEndAllowThreads(__tstate
);
6859 if (PyErr_Occurred()) SWIG_fail
;
6862 resultobj
= SWIG_From_double((double)(result
));
6870 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6871 PyObject
*resultobj
;
6872 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6873 wxPoint2D
*arg2
= 0 ;
6876 PyObject
* obj0
= 0 ;
6877 PyObject
* obj1
= 0 ;
6879 (char *) "self",(char *) "pt", NULL
6882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6884 if (SWIG_arg_fail(1)) SWIG_fail
;
6887 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6891 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6893 wxPyEndAllowThreads(__tstate
);
6894 if (PyErr_Occurred()) SWIG_fail
;
6897 resultobj
= SWIG_From_double((double)(result
));
6905 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6906 PyObject
*resultobj
;
6907 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6908 wxPoint2D
*arg2
= 0 ;
6911 PyObject
* obj0
= 0 ;
6912 PyObject
* obj1
= 0 ;
6914 (char *) "self",(char *) "vec", NULL
6917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6919 if (SWIG_arg_fail(1)) SWIG_fail
;
6922 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6926 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6928 wxPyEndAllowThreads(__tstate
);
6929 if (PyErr_Occurred()) SWIG_fail
;
6932 resultobj
= SWIG_From_double((double)(result
));
6940 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6941 PyObject
*resultobj
;
6942 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6943 wxPoint2D
*arg2
= 0 ;
6946 PyObject
* obj0
= 0 ;
6947 PyObject
* obj1
= 0 ;
6949 (char *) "self",(char *) "vec", NULL
6952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6954 if (SWIG_arg_fail(1)) SWIG_fail
;
6957 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6961 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6963 wxPyEndAllowThreads(__tstate
);
6964 if (PyErr_Occurred()) SWIG_fail
;
6967 resultobj
= SWIG_From_double((double)(result
));
6975 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6976 PyObject
*resultobj
;
6977 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6979 PyObject
* obj0
= 0 ;
6981 (char *) "self", NULL
6984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6986 if (SWIG_arg_fail(1)) SWIG_fail
;
6988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6989 result
= (arg1
)->operator -();
6991 wxPyEndAllowThreads(__tstate
);
6992 if (PyErr_Occurred()) SWIG_fail
;
6995 wxPoint2D
* resultptr
;
6996 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6997 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
7005 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7006 PyObject
*resultobj
;
7007 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7008 wxPoint2D
*arg2
= 0 ;
7011 PyObject
* obj0
= 0 ;
7012 PyObject
* obj1
= 0 ;
7014 (char *) "self",(char *) "pt", NULL
7017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
7018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7019 if (SWIG_arg_fail(1)) SWIG_fail
;
7022 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7027 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
7028 result
= (wxPoint2D
*) &_result_ref
;
7031 wxPyEndAllowThreads(__tstate
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7041 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
*resultobj
;
7043 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7044 wxPoint2D
*arg2
= 0 ;
7047 PyObject
* obj0
= 0 ;
7048 PyObject
* obj1
= 0 ;
7050 (char *) "self",(char *) "pt", NULL
7053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
7054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7055 if (SWIG_arg_fail(1)) SWIG_fail
;
7058 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7063 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
7064 result
= (wxPoint2D
*) &_result_ref
;
7067 wxPyEndAllowThreads(__tstate
);
7068 if (PyErr_Occurred()) SWIG_fail
;
7070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7077 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7078 PyObject
*resultobj
;
7079 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7080 wxPoint2D
*arg2
= 0 ;
7083 PyObject
* obj0
= 0 ;
7084 PyObject
* obj1
= 0 ;
7086 (char *) "self",(char *) "pt", NULL
7089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
7090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7091 if (SWIG_arg_fail(1)) SWIG_fail
;
7094 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7099 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
7100 result
= (wxPoint2D
*) &_result_ref
;
7103 wxPyEndAllowThreads(__tstate
);
7104 if (PyErr_Occurred()) SWIG_fail
;
7106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7113 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7114 PyObject
*resultobj
;
7115 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7116 wxPoint2D
*arg2
= 0 ;
7119 PyObject
* obj0
= 0 ;
7120 PyObject
* obj1
= 0 ;
7122 (char *) "self",(char *) "pt", NULL
7125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7127 if (SWIG_arg_fail(1)) SWIG_fail
;
7130 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7135 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7136 result
= (wxPoint2D
*) &_result_ref
;
7139 wxPyEndAllowThreads(__tstate
);
7140 if (PyErr_Occurred()) SWIG_fail
;
7142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7149 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7150 PyObject
*resultobj
;
7151 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7152 wxPoint2D
*arg2
= 0 ;
7155 PyObject
* obj0
= 0 ;
7156 PyObject
* obj1
= 0 ;
7158 (char *) "self",(char *) "pt", NULL
7161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7163 if (SWIG_arg_fail(1)) SWIG_fail
;
7166 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7170 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7172 wxPyEndAllowThreads(__tstate
);
7173 if (PyErr_Occurred()) SWIG_fail
;
7176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7184 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7185 PyObject
*resultobj
;
7186 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7187 wxPoint2D
*arg2
= 0 ;
7190 PyObject
* obj0
= 0 ;
7191 PyObject
* obj1
= 0 ;
7193 (char *) "self",(char *) "pt", NULL
7196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7198 if (SWIG_arg_fail(1)) SWIG_fail
;
7201 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7205 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7207 wxPyEndAllowThreads(__tstate
);
7208 if (PyErr_Occurred()) SWIG_fail
;
7211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7219 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7220 PyObject
*resultobj
;
7221 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7223 PyObject
* obj0
= 0 ;
7224 PyObject
* obj1
= 0 ;
7226 (char *) "self",(char *) "m_x", NULL
7229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7231 if (SWIG_arg_fail(1)) SWIG_fail
;
7233 arg2
= (double)(SWIG_As_double(obj1
));
7234 if (SWIG_arg_fail(2)) SWIG_fail
;
7236 if (arg1
) (arg1
)->m_x
= arg2
;
7238 Py_INCREF(Py_None
); resultobj
= Py_None
;
7245 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7246 PyObject
*resultobj
;
7247 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7249 PyObject
* obj0
= 0 ;
7251 (char *) "self", NULL
7254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7256 if (SWIG_arg_fail(1)) SWIG_fail
;
7257 result
= (double) ((arg1
)->m_x
);
7260 resultobj
= SWIG_From_double((double)(result
));
7268 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7269 PyObject
*resultobj
;
7270 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7272 PyObject
* obj0
= 0 ;
7273 PyObject
* obj1
= 0 ;
7275 (char *) "self",(char *) "m_y", NULL
7278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7280 if (SWIG_arg_fail(1)) SWIG_fail
;
7282 arg2
= (double)(SWIG_As_double(obj1
));
7283 if (SWIG_arg_fail(2)) SWIG_fail
;
7285 if (arg1
) (arg1
)->m_y
= arg2
;
7287 Py_INCREF(Py_None
); resultobj
= Py_None
;
7294 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7295 PyObject
*resultobj
;
7296 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7298 PyObject
* obj0
= 0 ;
7300 (char *) "self", NULL
7303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7305 if (SWIG_arg_fail(1)) SWIG_fail
;
7306 result
= (double) ((arg1
)->m_y
);
7309 resultobj
= SWIG_From_double((double)(result
));
7317 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7318 PyObject
*resultobj
;
7319 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7320 double arg2
= (double) 0 ;
7321 double arg3
= (double) 0 ;
7322 PyObject
* obj0
= 0 ;
7323 PyObject
* obj1
= 0 ;
7324 PyObject
* obj2
= 0 ;
7326 (char *) "self",(char *) "x",(char *) "y", NULL
7329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7331 if (SWIG_arg_fail(1)) SWIG_fail
;
7334 arg2
= (double)(SWIG_As_double(obj1
));
7335 if (SWIG_arg_fail(2)) SWIG_fail
;
7340 arg3
= (double)(SWIG_As_double(obj2
));
7341 if (SWIG_arg_fail(3)) SWIG_fail
;
7345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 wxPoint2D_Set(arg1
,arg2
,arg3
);
7348 wxPyEndAllowThreads(__tstate
);
7349 if (PyErr_Occurred()) SWIG_fail
;
7351 Py_INCREF(Py_None
); resultobj
= Py_None
;
7358 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7359 PyObject
*resultobj
;
7360 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7362 PyObject
* obj0
= 0 ;
7364 (char *) "self", NULL
7367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7369 if (SWIG_arg_fail(1)) SWIG_fail
;
7371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7372 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7374 wxPyEndAllowThreads(__tstate
);
7375 if (PyErr_Occurred()) SWIG_fail
;
7384 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7386 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7387 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7389 return Py_BuildValue((char *)"");
7391 static int _wrap_DefaultPosition_set(PyObject
*) {
7392 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7397 static PyObject
*_wrap_DefaultPosition_get(void) {
7400 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7405 static int _wrap_DefaultSize_set(PyObject
*) {
7406 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7411 static PyObject
*_wrap_DefaultSize_get(void) {
7414 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7419 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7420 PyObject
*resultobj
;
7421 PyObject
*arg1
= (PyObject
*) 0 ;
7422 wxPyInputStream
*result
;
7423 PyObject
* obj0
= 0 ;
7428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7432 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7434 wxPyEndAllowThreads(__tstate
);
7435 if (PyErr_Occurred()) SWIG_fail
;
7437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7444 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7445 PyObject
*resultobj
;
7446 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7447 PyObject
* obj0
= 0 ;
7449 (char *) "self", NULL
7452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7454 if (SWIG_arg_fail(1)) SWIG_fail
;
7456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7459 wxPyEndAllowThreads(__tstate
);
7460 if (PyErr_Occurred()) SWIG_fail
;
7462 Py_INCREF(Py_None
); resultobj
= Py_None
;
7469 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7470 PyObject
*resultobj
;
7471 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7472 PyObject
* obj0
= 0 ;
7474 (char *) "self", NULL
7477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7479 if (SWIG_arg_fail(1)) SWIG_fail
;
7481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7484 wxPyEndAllowThreads(__tstate
);
7485 if (PyErr_Occurred()) SWIG_fail
;
7487 Py_INCREF(Py_None
); resultobj
= Py_None
;
7494 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7495 PyObject
*resultobj
;
7496 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7497 PyObject
* obj0
= 0 ;
7499 (char *) "self", NULL
7502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7504 if (SWIG_arg_fail(1)) SWIG_fail
;
7506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7509 wxPyEndAllowThreads(__tstate
);
7510 if (PyErr_Occurred()) SWIG_fail
;
7512 Py_INCREF(Py_None
); resultobj
= Py_None
;
7519 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7520 PyObject
*resultobj
;
7521 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7523 PyObject
* obj0
= 0 ;
7525 (char *) "self", NULL
7528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7530 if (SWIG_arg_fail(1)) SWIG_fail
;
7532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7533 result
= (bool)(arg1
)->eof();
7535 wxPyEndAllowThreads(__tstate
);
7536 if (PyErr_Occurred()) SWIG_fail
;
7539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7547 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7548 PyObject
*resultobj
;
7549 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7550 int arg2
= (int) -1 ;
7552 PyObject
* obj0
= 0 ;
7553 PyObject
* obj1
= 0 ;
7555 (char *) "self",(char *) "size", NULL
7558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7560 if (SWIG_arg_fail(1)) SWIG_fail
;
7563 arg2
= (int)(SWIG_As_int(obj1
));
7564 if (SWIG_arg_fail(2)) SWIG_fail
;
7568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7569 result
= (PyObject
*)(arg1
)->read(arg2
);
7571 wxPyEndAllowThreads(__tstate
);
7572 if (PyErr_Occurred()) SWIG_fail
;
7581 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7582 PyObject
*resultobj
;
7583 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7584 int arg2
= (int) -1 ;
7586 PyObject
* obj0
= 0 ;
7587 PyObject
* obj1
= 0 ;
7589 (char *) "self",(char *) "size", NULL
7592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7594 if (SWIG_arg_fail(1)) SWIG_fail
;
7597 arg2
= (int)(SWIG_As_int(obj1
));
7598 if (SWIG_arg_fail(2)) SWIG_fail
;
7602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7603 result
= (PyObject
*)(arg1
)->readline(arg2
);
7605 wxPyEndAllowThreads(__tstate
);
7606 if (PyErr_Occurred()) SWIG_fail
;
7615 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7616 PyObject
*resultobj
;
7617 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7618 int arg2
= (int) -1 ;
7620 PyObject
* obj0
= 0 ;
7621 PyObject
* obj1
= 0 ;
7623 (char *) "self",(char *) "sizehint", NULL
7626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7628 if (SWIG_arg_fail(1)) SWIG_fail
;
7631 arg2
= (int)(SWIG_As_int(obj1
));
7632 if (SWIG_arg_fail(2)) SWIG_fail
;
7636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7637 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7639 wxPyEndAllowThreads(__tstate
);
7640 if (PyErr_Occurred()) SWIG_fail
;
7649 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7650 PyObject
*resultobj
;
7651 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7653 int arg3
= (int) 0 ;
7654 PyObject
* obj0
= 0 ;
7655 PyObject
* obj1
= 0 ;
7656 PyObject
* obj2
= 0 ;
7658 (char *) "self",(char *) "offset",(char *) "whence", NULL
7661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7663 if (SWIG_arg_fail(1)) SWIG_fail
;
7665 arg2
= (int)(SWIG_As_int(obj1
));
7666 if (SWIG_arg_fail(2)) SWIG_fail
;
7670 arg3
= (int)(SWIG_As_int(obj2
));
7671 if (SWIG_arg_fail(3)) SWIG_fail
;
7675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7676 (arg1
)->seek(arg2
,arg3
);
7678 wxPyEndAllowThreads(__tstate
);
7679 if (PyErr_Occurred()) SWIG_fail
;
7681 Py_INCREF(Py_None
); resultobj
= Py_None
;
7688 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7689 PyObject
*resultobj
;
7690 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7692 PyObject
* obj0
= 0 ;
7694 (char *) "self", NULL
7697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7699 if (SWIG_arg_fail(1)) SWIG_fail
;
7701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7702 result
= (int)(arg1
)->tell();
7704 wxPyEndAllowThreads(__tstate
);
7705 if (PyErr_Occurred()) SWIG_fail
;
7708 resultobj
= SWIG_From_int((int)(result
));
7716 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7717 PyObject
*resultobj
;
7718 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7720 PyObject
* obj0
= 0 ;
7722 (char *) "self", NULL
7725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7727 if (SWIG_arg_fail(1)) SWIG_fail
;
7729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7730 result
= (char)(arg1
)->Peek();
7732 wxPyEndAllowThreads(__tstate
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7736 resultobj
= SWIG_From_char((char)(result
));
7744 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7745 PyObject
*resultobj
;
7746 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7748 PyObject
* obj0
= 0 ;
7750 (char *) "self", NULL
7753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7755 if (SWIG_arg_fail(1)) SWIG_fail
;
7757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7758 result
= (char)(arg1
)->GetC();
7760 wxPyEndAllowThreads(__tstate
);
7761 if (PyErr_Occurred()) SWIG_fail
;
7764 resultobj
= SWIG_From_char((char)(result
));
7772 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7773 PyObject
*resultobj
;
7774 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7776 PyObject
* obj0
= 0 ;
7778 (char *) "self", NULL
7781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7783 if (SWIG_arg_fail(1)) SWIG_fail
;
7785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7786 result
= (size_t)(arg1
)->LastRead();
7788 wxPyEndAllowThreads(__tstate
);
7789 if (PyErr_Occurred()) SWIG_fail
;
7792 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7800 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7801 PyObject
*resultobj
;
7802 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7804 PyObject
* obj0
= 0 ;
7806 (char *) "self", NULL
7809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7811 if (SWIG_arg_fail(1)) SWIG_fail
;
7813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7814 result
= (bool)(arg1
)->CanRead();
7816 wxPyEndAllowThreads(__tstate
);
7817 if (PyErr_Occurred()) SWIG_fail
;
7820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7828 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7829 PyObject
*resultobj
;
7830 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7832 PyObject
* obj0
= 0 ;
7834 (char *) "self", NULL
7837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7839 if (SWIG_arg_fail(1)) SWIG_fail
;
7841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7842 result
= (bool)(arg1
)->Eof();
7844 wxPyEndAllowThreads(__tstate
);
7845 if (PyErr_Occurred()) SWIG_fail
;
7848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7856 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7857 PyObject
*resultobj
;
7858 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7861 PyObject
* obj0
= 0 ;
7862 PyObject
* obj1
= 0 ;
7864 (char *) "self",(char *) "c", NULL
7867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7869 if (SWIG_arg_fail(1)) SWIG_fail
;
7871 arg2
= (char)(SWIG_As_char(obj1
));
7872 if (SWIG_arg_fail(2)) SWIG_fail
;
7875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7876 result
= (bool)(arg1
)->Ungetch(arg2
);
7878 wxPyEndAllowThreads(__tstate
);
7879 if (PyErr_Occurred()) SWIG_fail
;
7882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7890 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7891 PyObject
*resultobj
;
7892 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7894 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7896 PyObject
* obj0
= 0 ;
7897 PyObject
* obj1
= 0 ;
7898 PyObject
* obj2
= 0 ;
7900 (char *) "self",(char *) "pos",(char *) "mode", NULL
7903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7905 if (SWIG_arg_fail(1)) SWIG_fail
;
7907 arg2
= (long)(SWIG_As_long(obj1
));
7908 if (SWIG_arg_fail(2)) SWIG_fail
;
7912 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7913 if (SWIG_arg_fail(3)) SWIG_fail
;
7917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7918 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7920 wxPyEndAllowThreads(__tstate
);
7921 if (PyErr_Occurred()) SWIG_fail
;
7924 resultobj
= SWIG_From_long((long)(result
));
7932 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7933 PyObject
*resultobj
;
7934 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7936 PyObject
* obj0
= 0 ;
7938 (char *) "self", NULL
7941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7943 if (SWIG_arg_fail(1)) SWIG_fail
;
7945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7946 result
= (long)(arg1
)->TellI();
7948 wxPyEndAllowThreads(__tstate
);
7949 if (PyErr_Occurred()) SWIG_fail
;
7952 resultobj
= SWIG_From_long((long)(result
));
7960 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7962 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7963 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7965 return Py_BuildValue((char *)"");
7967 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7968 PyObject
*resultobj
;
7969 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7970 PyObject
*arg2
= (PyObject
*) 0 ;
7971 PyObject
* obj0
= 0 ;
7972 PyObject
* obj1
= 0 ;
7974 (char *) "self",(char *) "obj", NULL
7977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7979 if (SWIG_arg_fail(1)) SWIG_fail
;
7982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7983 wxOutputStream_write(arg1
,arg2
);
7985 wxPyEndAllowThreads(__tstate
);
7986 if (PyErr_Occurred()) SWIG_fail
;
7988 Py_INCREF(Py_None
); resultobj
= Py_None
;
7995 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7998 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
8000 return Py_BuildValue((char *)"");
8002 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8003 PyObject
*resultobj
;
8004 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
8005 wxString
*arg2
= 0 ;
8006 wxString
*arg3
= 0 ;
8007 wxString
*arg4
= 0 ;
8010 wxPyInputStream
*temp1
;
8011 bool temp2
= false ;
8012 bool temp3
= false ;
8013 bool temp4
= false ;
8014 PyObject
* obj0
= 0 ;
8015 PyObject
* obj1
= 0 ;
8016 PyObject
* obj2
= 0 ;
8017 PyObject
* obj3
= 0 ;
8018 PyObject
* obj4
= 0 ;
8020 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
8023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8025 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8026 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
8028 PyErr_Clear(); // clear the failure of the wxPyConvert above
8029 arg1
= wxPyCBInputStream_create(obj0
, true);
8031 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
8037 arg2
= wxString_in_helper(obj1
);
8038 if (arg2
== NULL
) SWIG_fail
;
8042 arg3
= wxString_in_helper(obj2
);
8043 if (arg3
== NULL
) SWIG_fail
;
8047 arg4
= wxString_in_helper(obj3
);
8048 if (arg4
== NULL
) SWIG_fail
;
8053 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
8054 if (SWIG_arg_fail(5)) SWIG_fail
;
8056 SWIG_null_ref("wxDateTime");
8058 if (SWIG_arg_fail(5)) SWIG_fail
;
8062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8063 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
8065 wxPyEndAllowThreads(__tstate
);
8066 if (PyErr_Occurred()) SWIG_fail
;
8069 resultobj
= wxPyMake_wxObject(result
, 1);
8101 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8102 PyObject
*resultobj
;
8103 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8104 PyObject
* obj0
= 0 ;
8106 (char *) "self", NULL
8109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
8110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8111 if (SWIG_arg_fail(1)) SWIG_fail
;
8113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8116 wxPyEndAllowThreads(__tstate
);
8117 if (PyErr_Occurred()) SWIG_fail
;
8119 Py_INCREF(Py_None
); resultobj
= Py_None
;
8126 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8127 PyObject
*resultobj
;
8128 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8129 wxInputStream
*result
;
8130 PyObject
* obj0
= 0 ;
8132 (char *) "self", NULL
8135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8137 if (SWIG_arg_fail(1)) SWIG_fail
;
8139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8140 result
= (wxInputStream
*)(arg1
)->GetStream();
8142 wxPyEndAllowThreads(__tstate
);
8143 if (PyErr_Occurred()) SWIG_fail
;
8146 wxPyInputStream
* _ptr
= NULL
;
8149 _ptr
= new wxPyInputStream(result
);
8151 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8159 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8160 PyObject
*resultobj
;
8161 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8163 PyObject
* obj0
= 0 ;
8165 (char *) "self", NULL
8168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8170 if (SWIG_arg_fail(1)) SWIG_fail
;
8172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8174 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8175 result
= (wxString
*) &_result_ref
;
8178 wxPyEndAllowThreads(__tstate
);
8179 if (PyErr_Occurred()) SWIG_fail
;
8183 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8185 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8194 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8195 PyObject
*resultobj
;
8196 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8198 PyObject
* obj0
= 0 ;
8200 (char *) "self", NULL
8203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8205 if (SWIG_arg_fail(1)) SWIG_fail
;
8207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8209 wxString
const &_result_ref
= (arg1
)->GetLocation();
8210 result
= (wxString
*) &_result_ref
;
8213 wxPyEndAllowThreads(__tstate
);
8214 if (PyErr_Occurred()) SWIG_fail
;
8218 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8220 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8229 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8230 PyObject
*resultobj
;
8231 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8233 PyObject
* obj0
= 0 ;
8235 (char *) "self", NULL
8238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8240 if (SWIG_arg_fail(1)) SWIG_fail
;
8242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8244 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8245 result
= (wxString
*) &_result_ref
;
8248 wxPyEndAllowThreads(__tstate
);
8249 if (PyErr_Occurred()) SWIG_fail
;
8253 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8255 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8264 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8265 PyObject
*resultobj
;
8266 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8268 PyObject
* obj0
= 0 ;
8270 (char *) "self", NULL
8273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8275 if (SWIG_arg_fail(1)) SWIG_fail
;
8277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8278 result
= (arg1
)->GetModificationTime();
8280 wxPyEndAllowThreads(__tstate
);
8281 if (PyErr_Occurred()) SWIG_fail
;
8284 wxDateTime
* resultptr
;
8285 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8286 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8294 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8296 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8297 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8299 return Py_BuildValue((char *)"");
8301 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8303 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8304 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8306 return Py_BuildValue((char *)"");
8308 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8309 PyObject
*resultobj
;
8310 wxPyFileSystemHandler
*result
;
8315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8318 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8320 wxPyEndAllowThreads(__tstate
);
8321 if (PyErr_Occurred()) SWIG_fail
;
8323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8330 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8331 PyObject
*resultobj
;
8332 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8333 PyObject
*arg2
= (PyObject
*) 0 ;
8334 PyObject
*arg3
= (PyObject
*) 0 ;
8335 PyObject
* obj0
= 0 ;
8336 PyObject
* obj1
= 0 ;
8337 PyObject
* obj2
= 0 ;
8339 (char *) "self",(char *) "self",(char *) "_class", NULL
8342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8344 if (SWIG_arg_fail(1)) SWIG_fail
;
8348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8349 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8351 wxPyEndAllowThreads(__tstate
);
8352 if (PyErr_Occurred()) SWIG_fail
;
8354 Py_INCREF(Py_None
); resultobj
= Py_None
;
8361 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8362 PyObject
*resultobj
;
8363 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8364 wxString
*arg2
= 0 ;
8366 bool temp2
= false ;
8367 PyObject
* obj0
= 0 ;
8368 PyObject
* obj1
= 0 ;
8370 (char *) "self",(char *) "location", NULL
8373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8375 if (SWIG_arg_fail(1)) SWIG_fail
;
8377 arg2
= wxString_in_helper(obj1
);
8378 if (arg2
== NULL
) SWIG_fail
;
8382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8383 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8385 wxPyEndAllowThreads(__tstate
);
8386 if (PyErr_Occurred()) SWIG_fail
;
8389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8405 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8406 PyObject
*resultobj
;
8407 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8408 wxFileSystem
*arg2
= 0 ;
8409 wxString
*arg3
= 0 ;
8411 bool temp3
= false ;
8412 PyObject
* obj0
= 0 ;
8413 PyObject
* obj1
= 0 ;
8414 PyObject
* obj2
= 0 ;
8416 (char *) "self",(char *) "fs",(char *) "location", NULL
8419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8421 if (SWIG_arg_fail(1)) SWIG_fail
;
8423 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8424 if (SWIG_arg_fail(2)) SWIG_fail
;
8426 SWIG_null_ref("wxFileSystem");
8428 if (SWIG_arg_fail(2)) SWIG_fail
;
8431 arg3
= wxString_in_helper(obj2
);
8432 if (arg3
== NULL
) SWIG_fail
;
8436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8437 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8439 wxPyEndAllowThreads(__tstate
);
8440 if (PyErr_Occurred()) SWIG_fail
;
8443 resultobj
= wxPyMake_wxObject(result
, 1);
8459 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8460 PyObject
*resultobj
;
8461 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8462 wxString
*arg2
= 0 ;
8463 int arg3
= (int) 0 ;
8465 bool temp2
= false ;
8466 PyObject
* obj0
= 0 ;
8467 PyObject
* obj1
= 0 ;
8468 PyObject
* obj2
= 0 ;
8470 (char *) "self",(char *) "spec",(char *) "flags", NULL
8473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8475 if (SWIG_arg_fail(1)) SWIG_fail
;
8477 arg2
= wxString_in_helper(obj1
);
8478 if (arg2
== NULL
) SWIG_fail
;
8483 arg3
= (int)(SWIG_As_int(obj2
));
8484 if (SWIG_arg_fail(3)) SWIG_fail
;
8488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8489 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8496 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8498 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8515 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8516 PyObject
*resultobj
;
8517 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8519 PyObject
* obj0
= 0 ;
8521 (char *) "self", NULL
8524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8526 if (SWIG_arg_fail(1)) SWIG_fail
;
8528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8529 result
= (arg1
)->FindNext();
8531 wxPyEndAllowThreads(__tstate
);
8532 if (PyErr_Occurred()) SWIG_fail
;
8536 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8538 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8547 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8548 PyObject
*resultobj
;
8549 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8550 wxString
*arg2
= 0 ;
8552 bool temp2
= false ;
8553 PyObject
* obj0
= 0 ;
8554 PyObject
* obj1
= 0 ;
8556 (char *) "self",(char *) "location", NULL
8559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8561 if (SWIG_arg_fail(1)) SWIG_fail
;
8563 arg2
= wxString_in_helper(obj1
);
8564 if (arg2
== NULL
) SWIG_fail
;
8568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8569 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8571 wxPyEndAllowThreads(__tstate
);
8572 if (PyErr_Occurred()) SWIG_fail
;
8576 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8578 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8595 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8596 PyObject
*resultobj
;
8597 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8598 wxString
*arg2
= 0 ;
8600 bool temp2
= false ;
8601 PyObject
* obj0
= 0 ;
8602 PyObject
* obj1
= 0 ;
8604 (char *) "self",(char *) "location", NULL
8607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8609 if (SWIG_arg_fail(1)) SWIG_fail
;
8611 arg2
= wxString_in_helper(obj1
);
8612 if (arg2
== NULL
) SWIG_fail
;
8616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8617 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8619 wxPyEndAllowThreads(__tstate
);
8620 if (PyErr_Occurred()) SWIG_fail
;
8624 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8626 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8643 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8644 PyObject
*resultobj
;
8645 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8646 wxString
*arg2
= 0 ;
8648 bool temp2
= false ;
8649 PyObject
* obj0
= 0 ;
8650 PyObject
* obj1
= 0 ;
8652 (char *) "self",(char *) "location", NULL
8655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8657 if (SWIG_arg_fail(1)) SWIG_fail
;
8659 arg2
= wxString_in_helper(obj1
);
8660 if (arg2
== NULL
) SWIG_fail
;
8664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8665 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8667 wxPyEndAllowThreads(__tstate
);
8668 if (PyErr_Occurred()) SWIG_fail
;
8672 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8674 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8691 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8692 PyObject
*resultobj
;
8693 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8694 wxString
*arg2
= 0 ;
8696 bool temp2
= false ;
8697 PyObject
* obj0
= 0 ;
8698 PyObject
* obj1
= 0 ;
8700 (char *) "self",(char *) "location", NULL
8703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8705 if (SWIG_arg_fail(1)) SWIG_fail
;
8707 arg2
= wxString_in_helper(obj1
);
8708 if (arg2
== NULL
) SWIG_fail
;
8712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8713 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8715 wxPyEndAllowThreads(__tstate
);
8716 if (PyErr_Occurred()) SWIG_fail
;
8720 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8722 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8739 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8740 PyObject
*resultobj
;
8741 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8742 wxString
*arg2
= 0 ;
8744 bool temp2
= false ;
8745 PyObject
* obj0
= 0 ;
8746 PyObject
* obj1
= 0 ;
8748 (char *) "self",(char *) "location", NULL
8751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8753 if (SWIG_arg_fail(1)) SWIG_fail
;
8755 arg2
= wxString_in_helper(obj1
);
8756 if (arg2
== NULL
) SWIG_fail
;
8760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8761 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8763 wxPyEndAllowThreads(__tstate
);
8764 if (PyErr_Occurred()) SWIG_fail
;
8768 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8770 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8787 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8790 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8792 return Py_BuildValue((char *)"");
8794 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8795 PyObject
*resultobj
;
8796 wxFileSystem
*result
;
8801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8804 result
= (wxFileSystem
*)new wxFileSystem();
8806 wxPyEndAllowThreads(__tstate
);
8807 if (PyErr_Occurred()) SWIG_fail
;
8810 resultobj
= wxPyMake_wxObject(result
, 1);
8818 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8819 PyObject
*resultobj
;
8820 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8821 PyObject
* obj0
= 0 ;
8823 (char *) "self", NULL
8826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8833 wxPyEndAllowThreads(__tstate
);
8834 if (PyErr_Occurred()) SWIG_fail
;
8836 Py_INCREF(Py_None
); resultobj
= Py_None
;
8843 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8844 PyObject
*resultobj
;
8845 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8846 wxString
*arg2
= 0 ;
8847 bool arg3
= (bool) false ;
8848 bool temp2
= false ;
8849 PyObject
* obj0
= 0 ;
8850 PyObject
* obj1
= 0 ;
8851 PyObject
* obj2
= 0 ;
8853 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8858 if (SWIG_arg_fail(1)) SWIG_fail
;
8860 arg2
= wxString_in_helper(obj1
);
8861 if (arg2
== NULL
) SWIG_fail
;
8866 arg3
= (bool)(SWIG_As_bool(obj2
));
8867 if (SWIG_arg_fail(3)) SWIG_fail
;
8871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8872 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8874 wxPyEndAllowThreads(__tstate
);
8875 if (PyErr_Occurred()) SWIG_fail
;
8877 Py_INCREF(Py_None
); resultobj
= Py_None
;
8892 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8893 PyObject
*resultobj
;
8894 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8896 PyObject
* obj0
= 0 ;
8898 (char *) "self", NULL
8901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8903 if (SWIG_arg_fail(1)) SWIG_fail
;
8905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8906 result
= (arg1
)->GetPath();
8908 wxPyEndAllowThreads(__tstate
);
8909 if (PyErr_Occurred()) SWIG_fail
;
8913 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8915 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8924 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8925 PyObject
*resultobj
;
8926 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8927 wxString
*arg2
= 0 ;
8929 bool temp2
= false ;
8930 PyObject
* obj0
= 0 ;
8931 PyObject
* obj1
= 0 ;
8933 (char *) "self",(char *) "location", NULL
8936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8938 if (SWIG_arg_fail(1)) SWIG_fail
;
8940 arg2
= wxString_in_helper(obj1
);
8941 if (arg2
== NULL
) SWIG_fail
;
8945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8946 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8948 wxPyEndAllowThreads(__tstate
);
8949 if (PyErr_Occurred()) SWIG_fail
;
8952 resultobj
= wxPyMake_wxObject(result
, 1);
8968 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8969 PyObject
*resultobj
;
8970 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8971 wxString
*arg2
= 0 ;
8972 int arg3
= (int) 0 ;
8974 bool temp2
= false ;
8975 PyObject
* obj0
= 0 ;
8976 PyObject
* obj1
= 0 ;
8977 PyObject
* obj2
= 0 ;
8979 (char *) "self",(char *) "spec",(char *) "flags", NULL
8982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8984 if (SWIG_arg_fail(1)) SWIG_fail
;
8986 arg2
= wxString_in_helper(obj1
);
8987 if (arg2
== NULL
) SWIG_fail
;
8992 arg3
= (int)(SWIG_As_int(obj2
));
8993 if (SWIG_arg_fail(3)) SWIG_fail
;
8997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8998 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9000 wxPyEndAllowThreads(__tstate
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9005 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9007 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9024 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9025 PyObject
*resultobj
;
9026 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
9028 PyObject
* obj0
= 0 ;
9030 (char *) "self", NULL
9033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
9034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9035 if (SWIG_arg_fail(1)) SWIG_fail
;
9037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9038 result
= (arg1
)->FindNext();
9040 wxPyEndAllowThreads(__tstate
);
9041 if (PyErr_Occurred()) SWIG_fail
;
9045 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9047 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9056 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9057 PyObject
*resultobj
;
9058 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
9059 PyObject
* obj0
= 0 ;
9061 (char *) "handler", NULL
9064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
9065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
9066 if (SWIG_arg_fail(1)) SWIG_fail
;
9068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9069 wxFileSystem::AddHandler(arg1
);
9071 wxPyEndAllowThreads(__tstate
);
9072 if (PyErr_Occurred()) SWIG_fail
;
9074 Py_INCREF(Py_None
); resultobj
= Py_None
;
9081 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9082 PyObject
*resultobj
;
9087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
9089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9090 wxFileSystem::CleanUpHandlers();
9092 wxPyEndAllowThreads(__tstate
);
9093 if (PyErr_Occurred()) SWIG_fail
;
9095 Py_INCREF(Py_None
); resultobj
= Py_None
;
9102 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9103 PyObject
*resultobj
;
9104 wxString
*arg1
= 0 ;
9106 bool temp1
= false ;
9107 PyObject
* obj0
= 0 ;
9109 (char *) "filename", NULL
9112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9114 arg1
= wxString_in_helper(obj0
);
9115 if (arg1
== NULL
) SWIG_fail
;
9119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9120 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9146 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9147 PyObject
*resultobj
;
9148 wxString
*arg1
= 0 ;
9150 bool temp1
= false ;
9151 PyObject
* obj0
= 0 ;
9153 (char *) "url", NULL
9156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9158 arg1
= wxString_in_helper(obj0
);
9159 if (arg1
== NULL
) SWIG_fail
;
9163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9164 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9166 wxPyEndAllowThreads(__tstate
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9171 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9173 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9190 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9193 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9195 return Py_BuildValue((char *)"");
9197 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9198 PyObject
*resultobj
;
9199 wxInternetFSHandler
*result
;
9204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9207 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9209 wxPyEndAllowThreads(__tstate
);
9210 if (PyErr_Occurred()) SWIG_fail
;
9212 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9219 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9220 PyObject
*resultobj
;
9221 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9222 wxString
*arg2
= 0 ;
9224 bool temp2
= false ;
9225 PyObject
* obj0
= 0 ;
9226 PyObject
* obj1
= 0 ;
9228 (char *) "self",(char *) "location", NULL
9231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9233 if (SWIG_arg_fail(1)) SWIG_fail
;
9235 arg2
= wxString_in_helper(obj1
);
9236 if (arg2
== NULL
) SWIG_fail
;
9240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9241 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9243 wxPyEndAllowThreads(__tstate
);
9244 if (PyErr_Occurred()) SWIG_fail
;
9247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9263 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9264 PyObject
*resultobj
;
9265 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9266 wxFileSystem
*arg2
= 0 ;
9267 wxString
*arg3
= 0 ;
9269 bool temp3
= false ;
9270 PyObject
* obj0
= 0 ;
9271 PyObject
* obj1
= 0 ;
9272 PyObject
* obj2
= 0 ;
9274 (char *) "self",(char *) "fs",(char *) "location", NULL
9277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9279 if (SWIG_arg_fail(1)) SWIG_fail
;
9281 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9282 if (SWIG_arg_fail(2)) SWIG_fail
;
9284 SWIG_null_ref("wxFileSystem");
9286 if (SWIG_arg_fail(2)) SWIG_fail
;
9289 arg3
= wxString_in_helper(obj2
);
9290 if (arg3
== NULL
) SWIG_fail
;
9294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9295 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9297 wxPyEndAllowThreads(__tstate
);
9298 if (PyErr_Occurred()) SWIG_fail
;
9301 resultobj
= wxPyMake_wxObject(result
, 1);
9317 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9319 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9320 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9322 return Py_BuildValue((char *)"");
9324 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9325 PyObject
*resultobj
;
9326 wxZipFSHandler
*result
;
9331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9334 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9336 wxPyEndAllowThreads(__tstate
);
9337 if (PyErr_Occurred()) SWIG_fail
;
9339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9346 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
*resultobj
;
9348 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9349 wxString
*arg2
= 0 ;
9351 bool temp2
= false ;
9352 PyObject
* obj0
= 0 ;
9353 PyObject
* obj1
= 0 ;
9355 (char *) "self",(char *) "location", NULL
9358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9360 if (SWIG_arg_fail(1)) SWIG_fail
;
9362 arg2
= wxString_in_helper(obj1
);
9363 if (arg2
== NULL
) SWIG_fail
;
9367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9368 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9370 wxPyEndAllowThreads(__tstate
);
9371 if (PyErr_Occurred()) SWIG_fail
;
9374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9390 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9391 PyObject
*resultobj
;
9392 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9393 wxFileSystem
*arg2
= 0 ;
9394 wxString
*arg3
= 0 ;
9396 bool temp3
= false ;
9397 PyObject
* obj0
= 0 ;
9398 PyObject
* obj1
= 0 ;
9399 PyObject
* obj2
= 0 ;
9401 (char *) "self",(char *) "fs",(char *) "location", NULL
9404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9406 if (SWIG_arg_fail(1)) SWIG_fail
;
9408 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9409 if (SWIG_arg_fail(2)) SWIG_fail
;
9411 SWIG_null_ref("wxFileSystem");
9413 if (SWIG_arg_fail(2)) SWIG_fail
;
9416 arg3
= wxString_in_helper(obj2
);
9417 if (arg3
== NULL
) SWIG_fail
;
9421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9422 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9424 wxPyEndAllowThreads(__tstate
);
9425 if (PyErr_Occurred()) SWIG_fail
;
9428 resultobj
= wxPyMake_wxObject(result
, 1);
9444 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9445 PyObject
*resultobj
;
9446 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9447 wxString
*arg2
= 0 ;
9448 int arg3
= (int) 0 ;
9450 bool temp2
= false ;
9451 PyObject
* obj0
= 0 ;
9452 PyObject
* obj1
= 0 ;
9453 PyObject
* obj2
= 0 ;
9455 (char *) "self",(char *) "spec",(char *) "flags", NULL
9458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9460 if (SWIG_arg_fail(1)) SWIG_fail
;
9462 arg2
= wxString_in_helper(obj1
);
9463 if (arg2
== NULL
) SWIG_fail
;
9468 arg3
= (int)(SWIG_As_int(obj2
));
9469 if (SWIG_arg_fail(3)) SWIG_fail
;
9473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9474 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9476 wxPyEndAllowThreads(__tstate
);
9477 if (PyErr_Occurred()) SWIG_fail
;
9481 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9483 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9500 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9501 PyObject
*resultobj
;
9502 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9504 PyObject
* obj0
= 0 ;
9506 (char *) "self", NULL
9509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9511 if (SWIG_arg_fail(1)) SWIG_fail
;
9513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9514 result
= (arg1
)->FindNext();
9516 wxPyEndAllowThreads(__tstate
);
9517 if (PyErr_Occurred()) SWIG_fail
;
9521 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9523 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9532 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9535 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9537 return Py_BuildValue((char *)"");
9539 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9540 PyObject
*resultobj
;
9541 wxString
*arg1
= 0 ;
9544 bool temp1
= false ;
9545 PyObject
* obj0
= 0 ;
9546 PyObject
* obj1
= 0 ;
9547 PyObject
* obj2
= 0 ;
9549 (char *) "filename",(char *) "image",(char *) "type", NULL
9552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9554 arg1
= wxString_in_helper(obj0
);
9555 if (arg1
== NULL
) SWIG_fail
;
9559 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9560 if (SWIG_arg_fail(2)) SWIG_fail
;
9562 SWIG_null_ref("wxImage");
9564 if (SWIG_arg_fail(2)) SWIG_fail
;
9567 arg3
= (long)(SWIG_As_long(obj2
));
9568 if (SWIG_arg_fail(3)) SWIG_fail
;
9571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9572 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9574 wxPyEndAllowThreads(__tstate
);
9575 if (PyErr_Occurred()) SWIG_fail
;
9577 Py_INCREF(Py_None
); resultobj
= Py_None
;
9592 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9593 PyObject
*resultobj
;
9594 wxString
*arg1
= 0 ;
9595 wxBitmap
*arg2
= 0 ;
9597 bool temp1
= false ;
9598 PyObject
* obj0
= 0 ;
9599 PyObject
* obj1
= 0 ;
9600 PyObject
* obj2
= 0 ;
9602 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9607 arg1
= wxString_in_helper(obj0
);
9608 if (arg1
== NULL
) SWIG_fail
;
9612 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9613 if (SWIG_arg_fail(2)) SWIG_fail
;
9615 SWIG_null_ref("wxBitmap");
9617 if (SWIG_arg_fail(2)) SWIG_fail
;
9620 arg3
= (long)(SWIG_As_long(obj2
));
9621 if (SWIG_arg_fail(3)) SWIG_fail
;
9624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9625 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9627 wxPyEndAllowThreads(__tstate
);
9628 if (PyErr_Occurred()) SWIG_fail
;
9630 Py_INCREF(Py_None
); resultobj
= Py_None
;
9645 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9646 PyObject
*resultobj
;
9647 wxString
*arg1
= 0 ;
9648 PyObject
*arg2
= (PyObject
*) 0 ;
9649 bool temp1
= false ;
9650 PyObject
* obj0
= 0 ;
9651 PyObject
* obj1
= 0 ;
9653 (char *) "filename",(char *) "data", NULL
9656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9658 arg1
= wxString_in_helper(obj0
);
9659 if (arg1
== NULL
) SWIG_fail
;
9664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9665 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9667 wxPyEndAllowThreads(__tstate
);
9668 if (PyErr_Occurred()) SWIG_fail
;
9670 Py_INCREF(Py_None
); resultobj
= Py_None
;
9685 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9686 PyObject
*resultobj
;
9687 wxMemoryFSHandler
*result
;
9692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9695 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9697 wxPyEndAllowThreads(__tstate
);
9698 if (PyErr_Occurred()) SWIG_fail
;
9700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9707 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9708 PyObject
*resultobj
;
9709 wxString
*arg1
= 0 ;
9710 bool temp1
= false ;
9711 PyObject
* obj0
= 0 ;
9713 (char *) "filename", NULL
9716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9718 arg1
= wxString_in_helper(obj0
);
9719 if (arg1
== NULL
) SWIG_fail
;
9723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9724 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9726 wxPyEndAllowThreads(__tstate
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9729 Py_INCREF(Py_None
); resultobj
= Py_None
;
9744 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9745 PyObject
*resultobj
;
9746 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9747 wxString
*arg2
= 0 ;
9749 bool temp2
= false ;
9750 PyObject
* obj0
= 0 ;
9751 PyObject
* obj1
= 0 ;
9753 (char *) "self",(char *) "location", NULL
9756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9758 if (SWIG_arg_fail(1)) SWIG_fail
;
9760 arg2
= wxString_in_helper(obj1
);
9761 if (arg2
== NULL
) SWIG_fail
;
9765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9766 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9768 wxPyEndAllowThreads(__tstate
);
9769 if (PyErr_Occurred()) SWIG_fail
;
9772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9788 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9789 PyObject
*resultobj
;
9790 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9791 wxFileSystem
*arg2
= 0 ;
9792 wxString
*arg3
= 0 ;
9794 bool temp3
= false ;
9795 PyObject
* obj0
= 0 ;
9796 PyObject
* obj1
= 0 ;
9797 PyObject
* obj2
= 0 ;
9799 (char *) "self",(char *) "fs",(char *) "location", NULL
9802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9804 if (SWIG_arg_fail(1)) SWIG_fail
;
9806 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9807 if (SWIG_arg_fail(2)) SWIG_fail
;
9809 SWIG_null_ref("wxFileSystem");
9811 if (SWIG_arg_fail(2)) SWIG_fail
;
9814 arg3
= wxString_in_helper(obj2
);
9815 if (arg3
== NULL
) SWIG_fail
;
9819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9820 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9822 wxPyEndAllowThreads(__tstate
);
9823 if (PyErr_Occurred()) SWIG_fail
;
9826 resultobj
= wxPyMake_wxObject(result
, 1);
9842 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9843 PyObject
*resultobj
;
9844 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9845 wxString
*arg2
= 0 ;
9846 int arg3
= (int) 0 ;
9848 bool temp2
= false ;
9849 PyObject
* obj0
= 0 ;
9850 PyObject
* obj1
= 0 ;
9851 PyObject
* obj2
= 0 ;
9853 (char *) "self",(char *) "spec",(char *) "flags", NULL
9856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9858 if (SWIG_arg_fail(1)) SWIG_fail
;
9860 arg2
= wxString_in_helper(obj1
);
9861 if (arg2
== NULL
) SWIG_fail
;
9866 arg3
= (int)(SWIG_As_int(obj2
));
9867 if (SWIG_arg_fail(3)) SWIG_fail
;
9871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9872 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9879 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9881 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9898 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9899 PyObject
*resultobj
;
9900 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9902 PyObject
* obj0
= 0 ;
9904 (char *) "self", NULL
9907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9909 if (SWIG_arg_fail(1)) SWIG_fail
;
9911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9912 result
= (arg1
)->FindNext();
9914 wxPyEndAllowThreads(__tstate
);
9915 if (PyErr_Occurred()) SWIG_fail
;
9919 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9921 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9930 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9933 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9935 return Py_BuildValue((char *)"");
9937 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9938 PyObject
*resultobj
;
9939 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9941 PyObject
* obj0
= 0 ;
9943 (char *) "self", NULL
9946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9948 if (SWIG_arg_fail(1)) SWIG_fail
;
9950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9951 result
= (arg1
)->GetName();
9953 wxPyEndAllowThreads(__tstate
);
9954 if (PyErr_Occurred()) SWIG_fail
;
9958 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9960 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9969 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9970 PyObject
*resultobj
;
9971 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9973 PyObject
* obj0
= 0 ;
9975 (char *) "self", NULL
9978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9980 if (SWIG_arg_fail(1)) SWIG_fail
;
9982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9983 result
= (arg1
)->GetExtension();
9985 wxPyEndAllowThreads(__tstate
);
9986 if (PyErr_Occurred()) SWIG_fail
;
9990 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9992 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10001 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10002 PyObject
*resultobj
;
10003 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10005 PyObject
* obj0
= 0 ;
10006 char *kwnames
[] = {
10007 (char *) "self", NULL
10010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
10011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10012 if (SWIG_arg_fail(1)) SWIG_fail
;
10014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10015 result
= (long)(arg1
)->GetType();
10017 wxPyEndAllowThreads(__tstate
);
10018 if (PyErr_Occurred()) SWIG_fail
;
10021 resultobj
= SWIG_From_long((long)(result
));
10029 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10030 PyObject
*resultobj
;
10031 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10033 PyObject
* obj0
= 0 ;
10034 char *kwnames
[] = {
10035 (char *) "self", NULL
10038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
10039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10040 if (SWIG_arg_fail(1)) SWIG_fail
;
10042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10043 result
= (arg1
)->GetMimeType();
10045 wxPyEndAllowThreads(__tstate
);
10046 if (PyErr_Occurred()) SWIG_fail
;
10050 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10052 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10061 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10062 PyObject
*resultobj
;
10063 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10064 wxString
*arg2
= 0 ;
10066 bool temp2
= false ;
10067 PyObject
* obj0
= 0 ;
10068 PyObject
* obj1
= 0 ;
10069 char *kwnames
[] = {
10070 (char *) "self",(char *) "name", NULL
10073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
10074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10075 if (SWIG_arg_fail(1)) SWIG_fail
;
10077 arg2
= wxString_in_helper(obj1
);
10078 if (arg2
== NULL
) SWIG_fail
;
10082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10083 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
10085 wxPyEndAllowThreads(__tstate
);
10086 if (PyErr_Occurred()) SWIG_fail
;
10089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10105 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10106 PyObject
*resultobj
;
10107 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10108 wxString
*arg2
= 0 ;
10109 bool temp2
= false ;
10110 PyObject
* obj0
= 0 ;
10111 PyObject
* obj1
= 0 ;
10112 char *kwnames
[] = {
10113 (char *) "self",(char *) "name", NULL
10116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10118 if (SWIG_arg_fail(1)) SWIG_fail
;
10120 arg2
= wxString_in_helper(obj1
);
10121 if (arg2
== NULL
) SWIG_fail
;
10125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10126 (arg1
)->SetName((wxString
const &)*arg2
);
10128 wxPyEndAllowThreads(__tstate
);
10129 if (PyErr_Occurred()) SWIG_fail
;
10131 Py_INCREF(Py_None
); resultobj
= Py_None
;
10146 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10147 PyObject
*resultobj
;
10148 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10149 wxString
*arg2
= 0 ;
10150 bool temp2
= false ;
10151 PyObject
* obj0
= 0 ;
10152 PyObject
* obj1
= 0 ;
10153 char *kwnames
[] = {
10154 (char *) "self",(char *) "extension", NULL
10157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10159 if (SWIG_arg_fail(1)) SWIG_fail
;
10161 arg2
= wxString_in_helper(obj1
);
10162 if (arg2
== NULL
) SWIG_fail
;
10166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10167 (arg1
)->SetExtension((wxString
const &)*arg2
);
10169 wxPyEndAllowThreads(__tstate
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10172 Py_INCREF(Py_None
); resultobj
= Py_None
;
10187 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10188 PyObject
*resultobj
;
10189 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10191 PyObject
* obj0
= 0 ;
10192 PyObject
* obj1
= 0 ;
10193 char *kwnames
[] = {
10194 (char *) "self",(char *) "type", NULL
10197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10199 if (SWIG_arg_fail(1)) SWIG_fail
;
10201 arg2
= (long)(SWIG_As_long(obj1
));
10202 if (SWIG_arg_fail(2)) SWIG_fail
;
10205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10206 (arg1
)->SetType(arg2
);
10208 wxPyEndAllowThreads(__tstate
);
10209 if (PyErr_Occurred()) SWIG_fail
;
10211 Py_INCREF(Py_None
); resultobj
= Py_None
;
10218 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
*resultobj
;
10220 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10221 wxString
*arg2
= 0 ;
10222 bool temp2
= false ;
10223 PyObject
* obj0
= 0 ;
10224 PyObject
* obj1
= 0 ;
10225 char *kwnames
[] = {
10226 (char *) "self",(char *) "mimetype", NULL
10229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10231 if (SWIG_arg_fail(1)) SWIG_fail
;
10233 arg2
= wxString_in_helper(obj1
);
10234 if (arg2
== NULL
) SWIG_fail
;
10238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10239 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10241 wxPyEndAllowThreads(__tstate
);
10242 if (PyErr_Occurred()) SWIG_fail
;
10244 Py_INCREF(Py_None
); resultobj
= Py_None
;
10259 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10262 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10264 return Py_BuildValue((char *)"");
10266 static PyObject
*_wrap_new_PyImageHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10267 PyObject
*resultobj
;
10268 wxPyImageHandler
*result
;
10269 char *kwnames
[] = {
10273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyImageHandler",kwnames
)) goto fail
;
10275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10276 result
= (wxPyImageHandler
*)new wxPyImageHandler();
10278 wxPyEndAllowThreads(__tstate
);
10279 if (PyErr_Occurred()) SWIG_fail
;
10281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyImageHandler
, 1);
10288 static PyObject
*_wrap_PyImageHandler__SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10289 PyObject
*resultobj
;
10290 wxPyImageHandler
*arg1
= (wxPyImageHandler
*) 0 ;
10291 PyObject
*arg2
= (PyObject
*) 0 ;
10292 PyObject
* obj0
= 0 ;
10293 PyObject
* obj1
= 0 ;
10294 char *kwnames
[] = {
10295 (char *) "self",(char *) "self", NULL
10298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyImageHandler__SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
10299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10300 if (SWIG_arg_fail(1)) SWIG_fail
;
10303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10304 (arg1
)->_SetSelf(arg2
);
10306 wxPyEndAllowThreads(__tstate
);
10307 if (PyErr_Occurred()) SWIG_fail
;
10309 Py_INCREF(Py_None
); resultobj
= Py_None
;
10316 static PyObject
* PyImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10318 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10319 SWIG_TypeClientData(SWIGTYPE_p_wxPyImageHandler
, obj
);
10321 return Py_BuildValue((char *)"");
10323 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10324 PyObject
*resultobj
;
10325 wxImageHistogram
*result
;
10326 char *kwnames
[] = {
10330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10333 result
= (wxImageHistogram
*)new wxImageHistogram();
10335 wxPyEndAllowThreads(__tstate
);
10336 if (PyErr_Occurred()) SWIG_fail
;
10338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10345 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10346 PyObject
*resultobj
;
10350 unsigned long result
;
10351 PyObject
* obj0
= 0 ;
10352 PyObject
* obj1
= 0 ;
10353 PyObject
* obj2
= 0 ;
10354 char *kwnames
[] = {
10355 (char *) "r",(char *) "g",(char *) "b", NULL
10358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10360 arg1
= (byte
)(SWIG_As_unsigned_SS_char(obj0
));
10361 if (SWIG_arg_fail(1)) SWIG_fail
;
10364 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10365 if (SWIG_arg_fail(2)) SWIG_fail
;
10368 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10369 if (SWIG_arg_fail(3)) SWIG_fail
;
10372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10373 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10375 wxPyEndAllowThreads(__tstate
);
10376 if (PyErr_Occurred()) SWIG_fail
;
10379 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10387 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10388 PyObject
*resultobj
;
10389 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10390 byte
*arg2
= (byte
*) 0 ;
10391 byte
*arg3
= (byte
*) 0 ;
10392 byte
*arg4
= (byte
*) 0 ;
10393 byte arg5
= (byte
) 1 ;
10394 byte arg6
= (byte
) 0 ;
10395 byte arg7
= (byte
) 0 ;
10403 PyObject
* obj0
= 0 ;
10404 PyObject
* obj1
= 0 ;
10405 PyObject
* obj2
= 0 ;
10406 PyObject
* obj3
= 0 ;
10407 char *kwnames
[] = {
10408 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10411 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10412 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10413 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10416 if (SWIG_arg_fail(1)) SWIG_fail
;
10419 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10420 if (SWIG_arg_fail(5)) SWIG_fail
;
10425 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10426 if (SWIG_arg_fail(6)) SWIG_fail
;
10431 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
10432 if (SWIG_arg_fail(7)) SWIG_fail
;
10436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10437 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10439 wxPyEndAllowThreads(__tstate
);
10440 if (PyErr_Occurred()) SWIG_fail
;
10443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10445 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10446 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10447 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10448 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10449 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10450 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10457 static PyObject
*_wrap_ImageHistogram_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10458 PyObject
*resultobj
;
10459 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10460 unsigned long arg2
;
10461 unsigned long result
;
10462 PyObject
* obj0
= 0 ;
10463 PyObject
* obj1
= 0 ;
10464 char *kwnames
[] = {
10465 (char *) "self",(char *) "key", NULL
10468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10470 if (SWIG_arg_fail(1)) SWIG_fail
;
10472 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10473 if (SWIG_arg_fail(2)) SWIG_fail
;
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 result
= (unsigned long)wxImageHistogram_GetCount(arg1
,arg2
);
10479 wxPyEndAllowThreads(__tstate
);
10480 if (PyErr_Occurred()) SWIG_fail
;
10483 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10491 static PyObject
*_wrap_ImageHistogram_GetCountRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10492 PyObject
*resultobj
;
10493 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10497 unsigned long result
;
10498 PyObject
* obj0
= 0 ;
10499 PyObject
* obj1
= 0 ;
10500 PyObject
* obj2
= 0 ;
10501 PyObject
* obj3
= 0 ;
10502 char *kwnames
[] = {
10503 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10508 if (SWIG_arg_fail(1)) SWIG_fail
;
10510 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10511 if (SWIG_arg_fail(2)) SWIG_fail
;
10514 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10515 if (SWIG_arg_fail(3)) SWIG_fail
;
10518 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
10519 if (SWIG_arg_fail(4)) SWIG_fail
;
10522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10523 result
= (unsigned long)wxImageHistogram_GetCountRGB(arg1
,arg2
,arg3
,arg4
);
10525 wxPyEndAllowThreads(__tstate
);
10526 if (PyErr_Occurred()) SWIG_fail
;
10529 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10537 static PyObject
*_wrap_ImageHistogram_GetCountColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10538 PyObject
*resultobj
;
10539 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10540 wxColour
*arg2
= 0 ;
10541 unsigned long result
;
10543 PyObject
* obj0
= 0 ;
10544 PyObject
* obj1
= 0 ;
10545 char *kwnames
[] = {
10546 (char *) "self",(char *) "colour", NULL
10549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCountColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10551 if (SWIG_arg_fail(1)) SWIG_fail
;
10554 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10558 result
= (unsigned long)wxImageHistogram_GetCountColour(arg1
,(wxColour
const &)*arg2
);
10560 wxPyEndAllowThreads(__tstate
);
10561 if (PyErr_Occurred()) SWIG_fail
;
10564 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10572 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10574 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10575 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10577 return Py_BuildValue((char *)"");
10579 static PyObject
*_wrap_new_Image_RGBValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10580 PyObject
*resultobj
;
10581 byte arg1
= (byte
) 0 ;
10582 byte arg2
= (byte
) 0 ;
10583 byte arg3
= (byte
) 0 ;
10584 wxImage_RGBValue
*result
;
10585 PyObject
* obj0
= 0 ;
10586 PyObject
* obj1
= 0 ;
10587 PyObject
* obj2
= 0 ;
10588 char *kwnames
[] = {
10589 (char *) "r",(char *) "g",(char *) "b", NULL
10592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Image_RGBValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10595 arg1
= (byte
)(SWIG_As_unsigned_SS_char(obj0
));
10596 if (SWIG_arg_fail(1)) SWIG_fail
;
10601 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10602 if (SWIG_arg_fail(2)) SWIG_fail
;
10607 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10608 if (SWIG_arg_fail(3)) SWIG_fail
;
10612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10613 result
= (wxImage_RGBValue
*)new wxImage_RGBValue(arg1
,arg2
,arg3
);
10615 wxPyEndAllowThreads(__tstate
);
10616 if (PyErr_Occurred()) SWIG_fail
;
10618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage_RGBValue
, 1);
10625 static PyObject
*_wrap_Image_RGBValue_red_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10626 PyObject
*resultobj
;
10627 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
10629 PyObject
* obj0
= 0 ;
10630 PyObject
* obj1
= 0 ;
10631 char *kwnames
[] = {
10632 (char *) "self",(char *) "red", NULL
10635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_RGBValue_red_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_EXCEPTION
| 0);
10637 if (SWIG_arg_fail(1)) SWIG_fail
;
10639 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10640 if (SWIG_arg_fail(2)) SWIG_fail
;
10642 if (arg1
) (arg1
)->red
= arg2
;
10644 Py_INCREF(Py_None
); resultobj
= Py_None
;
10651 static PyObject
*_wrap_Image_RGBValue_red_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10652 PyObject
*resultobj
;
10653 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
10655 PyObject
* obj0
= 0 ;
10656 char *kwnames
[] = {
10657 (char *) "self", NULL
10660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RGBValue_red_get",kwnames
,&obj0
)) goto fail
;
10661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_EXCEPTION
| 0);
10662 if (SWIG_arg_fail(1)) SWIG_fail
;
10663 result
= (byte
) ((arg1
)->red
);
10666 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
10674 static PyObject
*_wrap_Image_RGBValue_green_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10675 PyObject
*resultobj
;
10676 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
10678 PyObject
* obj0
= 0 ;
10679 PyObject
* obj1
= 0 ;
10680 char *kwnames
[] = {
10681 (char *) "self",(char *) "green", NULL
10684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_RGBValue_green_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_EXCEPTION
| 0);
10686 if (SWIG_arg_fail(1)) SWIG_fail
;
10688 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10689 if (SWIG_arg_fail(2)) SWIG_fail
;
10691 if (arg1
) (arg1
)->green
= arg2
;
10693 Py_INCREF(Py_None
); resultobj
= Py_None
;
10700 static PyObject
*_wrap_Image_RGBValue_green_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10701 PyObject
*resultobj
;
10702 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
10704 PyObject
* obj0
= 0 ;
10705 char *kwnames
[] = {
10706 (char *) "self", NULL
10709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RGBValue_green_get",kwnames
,&obj0
)) goto fail
;
10710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_EXCEPTION
| 0);
10711 if (SWIG_arg_fail(1)) SWIG_fail
;
10712 result
= (byte
) ((arg1
)->green
);
10715 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
10723 static PyObject
*_wrap_Image_RGBValue_blue_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10724 PyObject
*resultobj
;
10725 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
10727 PyObject
* obj0
= 0 ;
10728 PyObject
* obj1
= 0 ;
10729 char *kwnames
[] = {
10730 (char *) "self",(char *) "blue", NULL
10733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_RGBValue_blue_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_EXCEPTION
| 0);
10735 if (SWIG_arg_fail(1)) SWIG_fail
;
10737 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10738 if (SWIG_arg_fail(2)) SWIG_fail
;
10740 if (arg1
) (arg1
)->blue
= arg2
;
10742 Py_INCREF(Py_None
); resultobj
= Py_None
;
10749 static PyObject
*_wrap_Image_RGBValue_blue_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10750 PyObject
*resultobj
;
10751 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
10753 PyObject
* obj0
= 0 ;
10754 char *kwnames
[] = {
10755 (char *) "self", NULL
10758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RGBValue_blue_get",kwnames
,&obj0
)) goto fail
;
10759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_EXCEPTION
| 0);
10760 if (SWIG_arg_fail(1)) SWIG_fail
;
10761 result
= (byte
) ((arg1
)->blue
);
10764 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
10772 static PyObject
* Image_RGBValue_swigregister(PyObject
*, PyObject
*args
) {
10774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10775 SWIG_TypeClientData(SWIGTYPE_p_wxImage_RGBValue
, obj
);
10777 return Py_BuildValue((char *)"");
10779 static PyObject
*_wrap_new_Image_HSVValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10780 PyObject
*resultobj
;
10781 double arg1
= (double) 0.0 ;
10782 double arg2
= (double) 0.0 ;
10783 double arg3
= (double) 0.0 ;
10784 wxImage_HSVValue
*result
;
10785 PyObject
* obj0
= 0 ;
10786 PyObject
* obj1
= 0 ;
10787 PyObject
* obj2
= 0 ;
10788 char *kwnames
[] = {
10789 (char *) "h",(char *) "s",(char *) "v", NULL
10792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Image_HSVValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10795 arg1
= (double)(SWIG_As_double(obj0
));
10796 if (SWIG_arg_fail(1)) SWIG_fail
;
10801 arg2
= (double)(SWIG_As_double(obj1
));
10802 if (SWIG_arg_fail(2)) SWIG_fail
;
10807 arg3
= (double)(SWIG_As_double(obj2
));
10808 if (SWIG_arg_fail(3)) SWIG_fail
;
10812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10813 result
= (wxImage_HSVValue
*)new wxImage_HSVValue(arg1
,arg2
,arg3
);
10815 wxPyEndAllowThreads(__tstate
);
10816 if (PyErr_Occurred()) SWIG_fail
;
10818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage_HSVValue
, 1);
10825 static PyObject
*_wrap_Image_HSVValue_hue_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10826 PyObject
*resultobj
;
10827 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
10829 PyObject
* obj0
= 0 ;
10830 PyObject
* obj1
= 0 ;
10831 char *kwnames
[] = {
10832 (char *) "self",(char *) "hue", NULL
10835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HSVValue_hue_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_EXCEPTION
| 0);
10837 if (SWIG_arg_fail(1)) SWIG_fail
;
10839 arg2
= (double)(SWIG_As_double(obj1
));
10840 if (SWIG_arg_fail(2)) SWIG_fail
;
10842 if (arg1
) (arg1
)->hue
= arg2
;
10844 Py_INCREF(Py_None
); resultobj
= Py_None
;
10851 static PyObject
*_wrap_Image_HSVValue_hue_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10852 PyObject
*resultobj
;
10853 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
10855 PyObject
* obj0
= 0 ;
10856 char *kwnames
[] = {
10857 (char *) "self", NULL
10860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HSVValue_hue_get",kwnames
,&obj0
)) goto fail
;
10861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_EXCEPTION
| 0);
10862 if (SWIG_arg_fail(1)) SWIG_fail
;
10863 result
= (double) ((arg1
)->hue
);
10866 resultobj
= SWIG_From_double((double)(result
));
10874 static PyObject
*_wrap_Image_HSVValue_saturation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10875 PyObject
*resultobj
;
10876 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
10878 PyObject
* obj0
= 0 ;
10879 PyObject
* obj1
= 0 ;
10880 char *kwnames
[] = {
10881 (char *) "self",(char *) "saturation", NULL
10884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HSVValue_saturation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_EXCEPTION
| 0);
10886 if (SWIG_arg_fail(1)) SWIG_fail
;
10888 arg2
= (double)(SWIG_As_double(obj1
));
10889 if (SWIG_arg_fail(2)) SWIG_fail
;
10891 if (arg1
) (arg1
)->saturation
= arg2
;
10893 Py_INCREF(Py_None
); resultobj
= Py_None
;
10900 static PyObject
*_wrap_Image_HSVValue_saturation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10901 PyObject
*resultobj
;
10902 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
10904 PyObject
* obj0
= 0 ;
10905 char *kwnames
[] = {
10906 (char *) "self", NULL
10909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HSVValue_saturation_get",kwnames
,&obj0
)) goto fail
;
10910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_EXCEPTION
| 0);
10911 if (SWIG_arg_fail(1)) SWIG_fail
;
10912 result
= (double) ((arg1
)->saturation
);
10915 resultobj
= SWIG_From_double((double)(result
));
10923 static PyObject
*_wrap_Image_HSVValue_value_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10924 PyObject
*resultobj
;
10925 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
10927 PyObject
* obj0
= 0 ;
10928 PyObject
* obj1
= 0 ;
10929 char *kwnames
[] = {
10930 (char *) "self",(char *) "value", NULL
10933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HSVValue_value_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_EXCEPTION
| 0);
10935 if (SWIG_arg_fail(1)) SWIG_fail
;
10937 arg2
= (double)(SWIG_As_double(obj1
));
10938 if (SWIG_arg_fail(2)) SWIG_fail
;
10940 if (arg1
) (arg1
)->value
= arg2
;
10942 Py_INCREF(Py_None
); resultobj
= Py_None
;
10949 static PyObject
*_wrap_Image_HSVValue_value_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10950 PyObject
*resultobj
;
10951 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
10953 PyObject
* obj0
= 0 ;
10954 char *kwnames
[] = {
10955 (char *) "self", NULL
10958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HSVValue_value_get",kwnames
,&obj0
)) goto fail
;
10959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_EXCEPTION
| 0);
10960 if (SWIG_arg_fail(1)) SWIG_fail
;
10961 result
= (double) ((arg1
)->value
);
10964 resultobj
= SWIG_From_double((double)(result
));
10972 static PyObject
* Image_HSVValue_swigregister(PyObject
*, PyObject
*args
) {
10974 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10975 SWIG_TypeClientData(SWIGTYPE_p_wxImage_HSVValue
, obj
);
10977 return Py_BuildValue((char *)"");
10979 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10980 PyObject
*resultobj
;
10981 wxString
*arg1
= 0 ;
10982 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10983 int arg3
= (int) -1 ;
10985 bool temp1
= false ;
10986 PyObject
* obj0
= 0 ;
10987 PyObject
* obj1
= 0 ;
10988 PyObject
* obj2
= 0 ;
10989 char *kwnames
[] = {
10990 (char *) "name",(char *) "type",(char *) "index", NULL
10993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10995 arg1
= wxString_in_helper(obj0
);
10996 if (arg1
== NULL
) SWIG_fail
;
11001 arg2
= (long)(SWIG_As_long(obj1
));
11002 if (SWIG_arg_fail(2)) SWIG_fail
;
11007 arg3
= (int)(SWIG_As_int(obj2
));
11008 if (SWIG_arg_fail(3)) SWIG_fail
;
11012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11013 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
11015 wxPyEndAllowThreads(__tstate
);
11016 if (PyErr_Occurred()) SWIG_fail
;
11018 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
11033 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11034 PyObject
*resultobj
;
11035 wxImage
*arg1
= (wxImage
*) 0 ;
11036 PyObject
* obj0
= 0 ;
11037 char *kwnames
[] = {
11038 (char *) "self", NULL
11041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
11042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11043 if (SWIG_arg_fail(1)) SWIG_fail
;
11045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11048 wxPyEndAllowThreads(__tstate
);
11049 if (PyErr_Occurred()) SWIG_fail
;
11051 Py_INCREF(Py_None
); resultobj
= Py_None
;
11058 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11059 PyObject
*resultobj
;
11060 wxString
*arg1
= 0 ;
11061 wxString
*arg2
= 0 ;
11062 int arg3
= (int) -1 ;
11064 bool temp1
= false ;
11065 bool temp2
= false ;
11066 PyObject
* obj0
= 0 ;
11067 PyObject
* obj1
= 0 ;
11068 PyObject
* obj2
= 0 ;
11069 char *kwnames
[] = {
11070 (char *) "name",(char *) "mimetype",(char *) "index", NULL
11073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11075 arg1
= wxString_in_helper(obj0
);
11076 if (arg1
== NULL
) SWIG_fail
;
11080 arg2
= wxString_in_helper(obj1
);
11081 if (arg2
== NULL
) SWIG_fail
;
11086 arg3
= (int)(SWIG_As_int(obj2
));
11087 if (SWIG_arg_fail(3)) SWIG_fail
;
11091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11092 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
11094 wxPyEndAllowThreads(__tstate
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
11120 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11121 PyObject
*resultobj
;
11122 wxInputStream
*arg1
= 0 ;
11123 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11124 int arg3
= (int) -1 ;
11126 wxPyInputStream
*temp1
;
11128 PyObject
* obj0
= 0 ;
11129 PyObject
* obj1
= 0 ;
11130 PyObject
* obj2
= 0 ;
11131 char *kwnames
[] = {
11132 (char *) "stream",(char *) "type",(char *) "index", NULL
11135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11137 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
11138 arg1
= temp1
->m_wxis
;
11141 PyErr_Clear(); // clear the failure of the wxPyConvert above
11142 arg1
= wxPyCBInputStream_create(obj0
, false);
11143 if (arg1
== NULL
) {
11144 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
11152 arg2
= (long)(SWIG_As_long(obj1
));
11153 if (SWIG_arg_fail(2)) SWIG_fail
;
11158 arg3
= (int)(SWIG_As_int(obj2
));
11159 if (SWIG_arg_fail(3)) SWIG_fail
;
11163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11164 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
11166 wxPyEndAllowThreads(__tstate
);
11167 if (PyErr_Occurred()) SWIG_fail
;
11169 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
11171 if (created1
) delete arg1
;
11176 if (created1
) delete arg1
;
11182 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11183 PyObject
*resultobj
;
11184 wxInputStream
*arg1
= 0 ;
11185 wxString
*arg2
= 0 ;
11186 int arg3
= (int) -1 ;
11188 wxPyInputStream
*temp1
;
11190 bool temp2
= false ;
11191 PyObject
* obj0
= 0 ;
11192 PyObject
* obj1
= 0 ;
11193 PyObject
* obj2
= 0 ;
11194 char *kwnames
[] = {
11195 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
11198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11200 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
11201 arg1
= temp1
->m_wxis
;
11204 PyErr_Clear(); // clear the failure of the wxPyConvert above
11205 arg1
= wxPyCBInputStream_create(obj0
, false);
11206 if (arg1
== NULL
) {
11207 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
11214 arg2
= wxString_in_helper(obj1
);
11215 if (arg2
== NULL
) SWIG_fail
;
11220 arg3
= (int)(SWIG_As_int(obj2
));
11221 if (SWIG_arg_fail(3)) SWIG_fail
;
11225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11226 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
11228 wxPyEndAllowThreads(__tstate
);
11229 if (PyErr_Occurred()) SWIG_fail
;
11231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
11233 if (created1
) delete arg1
;
11242 if (created1
) delete arg1
;
11252 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11253 PyObject
*resultobj
;
11254 int arg1
= (int) 0 ;
11255 int arg2
= (int) 0 ;
11256 bool arg3
= (bool) true ;
11258 PyObject
* obj0
= 0 ;
11259 PyObject
* obj1
= 0 ;
11260 PyObject
* obj2
= 0 ;
11261 char *kwnames
[] = {
11262 (char *) "width",(char *) "height",(char *) "clear", NULL
11265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11268 arg1
= (int)(SWIG_As_int(obj0
));
11269 if (SWIG_arg_fail(1)) SWIG_fail
;
11274 arg2
= (int)(SWIG_As_int(obj1
));
11275 if (SWIG_arg_fail(2)) SWIG_fail
;
11280 arg3
= (bool)(SWIG_As_bool(obj2
));
11281 if (SWIG_arg_fail(3)) SWIG_fail
;
11285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11286 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
11288 wxPyEndAllowThreads(__tstate
);
11289 if (PyErr_Occurred()) SWIG_fail
;
11291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
11298 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11299 PyObject
*resultobj
;
11300 wxBitmap
*arg1
= 0 ;
11302 PyObject
* obj0
= 0 ;
11303 char *kwnames
[] = {
11304 (char *) "bitmap", NULL
11307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
11309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
11310 if (SWIG_arg_fail(1)) SWIG_fail
;
11311 if (arg1
== NULL
) {
11312 SWIG_null_ref("wxBitmap");
11314 if (SWIG_arg_fail(1)) SWIG_fail
;
11317 if (!wxPyCheckForApp()) SWIG_fail
;
11318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11319 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
11321 wxPyEndAllowThreads(__tstate
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
11331 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11332 PyObject
*resultobj
;
11338 PyObject
* obj0
= 0 ;
11339 PyObject
* obj1
= 0 ;
11340 PyObject
* obj2
= 0 ;
11341 char *kwnames
[] = {
11342 (char *) "width",(char *) "height",(char *) "data", NULL
11345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11347 arg1
= (int)(SWIG_As_int(obj0
));
11348 if (SWIG_arg_fail(1)) SWIG_fail
;
11351 arg2
= (int)(SWIG_As_int(obj1
));
11352 if (SWIG_arg_fail(2)) SWIG_fail
;
11355 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
11358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11359 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
11361 wxPyEndAllowThreads(__tstate
);
11362 if (PyErr_Occurred()) SWIG_fail
;
11364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
11371 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11372 PyObject
*resultobj
;
11380 PyObject
* obj0
= 0 ;
11381 PyObject
* obj1
= 0 ;
11382 PyObject
* obj2
= 0 ;
11383 PyObject
* obj3
= 0 ;
11384 char *kwnames
[] = {
11385 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
11388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11390 arg1
= (int)(SWIG_As_int(obj0
));
11391 if (SWIG_arg_fail(1)) SWIG_fail
;
11394 arg2
= (int)(SWIG_As_int(obj1
));
11395 if (SWIG_arg_fail(2)) SWIG_fail
;
11398 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
11401 if (!PyArg_Parse(obj3
, "t#", &arg5
, &arg6
)) SWIG_fail
;
11404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11405 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
11407 wxPyEndAllowThreads(__tstate
);
11408 if (PyErr_Occurred()) SWIG_fail
;
11410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
11417 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11418 PyObject
*resultobj
;
11419 wxImage
*arg1
= (wxImage
*) 0 ;
11422 bool arg4
= (bool) true ;
11423 PyObject
* obj0
= 0 ;
11424 PyObject
* obj1
= 0 ;
11425 PyObject
* obj2
= 0 ;
11426 PyObject
* obj3
= 0 ;
11427 char *kwnames
[] = {
11428 (char *) "self",(char *) "width",(char *) "height",(char *) "clear", NULL
11431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11433 if (SWIG_arg_fail(1)) SWIG_fail
;
11435 arg2
= (int)(SWIG_As_int(obj1
));
11436 if (SWIG_arg_fail(2)) SWIG_fail
;
11439 arg3
= (int)(SWIG_As_int(obj2
));
11440 if (SWIG_arg_fail(3)) SWIG_fail
;
11444 arg4
= (bool)(SWIG_As_bool(obj3
));
11445 if (SWIG_arg_fail(4)) SWIG_fail
;
11449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11450 (arg1
)->Create(arg2
,arg3
,arg4
);
11452 wxPyEndAllowThreads(__tstate
);
11453 if (PyErr_Occurred()) SWIG_fail
;
11455 Py_INCREF(Py_None
); resultobj
= Py_None
;
11462 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11463 PyObject
*resultobj
;
11464 wxImage
*arg1
= (wxImage
*) 0 ;
11465 PyObject
* obj0
= 0 ;
11466 char *kwnames
[] = {
11467 (char *) "self", NULL
11470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
11471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11472 if (SWIG_arg_fail(1)) SWIG_fail
;
11474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11477 wxPyEndAllowThreads(__tstate
);
11478 if (PyErr_Occurred()) SWIG_fail
;
11480 Py_INCREF(Py_None
); resultobj
= Py_None
;
11487 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11488 PyObject
*resultobj
;
11489 wxImage
*arg1
= (wxImage
*) 0 ;
11492 SwigValueWrapper
<wxImage
> result
;
11493 PyObject
* obj0
= 0 ;
11494 PyObject
* obj1
= 0 ;
11495 PyObject
* obj2
= 0 ;
11496 char *kwnames
[] = {
11497 (char *) "self",(char *) "width",(char *) "height", NULL
11500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11502 if (SWIG_arg_fail(1)) SWIG_fail
;
11504 arg2
= (int)(SWIG_As_int(obj1
));
11505 if (SWIG_arg_fail(2)) SWIG_fail
;
11508 arg3
= (int)(SWIG_As_int(obj2
));
11509 if (SWIG_arg_fail(3)) SWIG_fail
;
11512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11513 result
= (arg1
)->Scale(arg2
,arg3
);
11515 wxPyEndAllowThreads(__tstate
);
11516 if (PyErr_Occurred()) SWIG_fail
;
11519 wxImage
* resultptr
;
11520 resultptr
= new wxImage((wxImage
&)(result
));
11521 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11529 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11530 PyObject
*resultobj
;
11531 wxImage
*arg1
= (wxImage
*) 0 ;
11534 SwigValueWrapper
<wxImage
> result
;
11535 PyObject
* obj0
= 0 ;
11536 PyObject
* obj1
= 0 ;
11537 PyObject
* obj2
= 0 ;
11538 char *kwnames
[] = {
11539 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
11542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11544 if (SWIG_arg_fail(1)) SWIG_fail
;
11546 arg2
= (int)(SWIG_As_int(obj1
));
11547 if (SWIG_arg_fail(2)) SWIG_fail
;
11550 arg3
= (int)(SWIG_As_int(obj2
));
11551 if (SWIG_arg_fail(3)) SWIG_fail
;
11554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11555 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
11557 wxPyEndAllowThreads(__tstate
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11561 wxImage
* resultptr
;
11562 resultptr
= new wxImage((wxImage
&)(result
));
11563 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11571 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11572 PyObject
*resultobj
;
11573 wxImage
*arg1
= (wxImage
*) 0 ;
11577 PyObject
* obj0
= 0 ;
11578 PyObject
* obj1
= 0 ;
11579 PyObject
* obj2
= 0 ;
11580 char *kwnames
[] = {
11581 (char *) "self",(char *) "width",(char *) "height", NULL
11584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11586 if (SWIG_arg_fail(1)) SWIG_fail
;
11588 arg2
= (int)(SWIG_As_int(obj1
));
11589 if (SWIG_arg_fail(2)) SWIG_fail
;
11592 arg3
= (int)(SWIG_As_int(obj2
));
11593 if (SWIG_arg_fail(3)) SWIG_fail
;
11596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11598 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
11599 result
= (wxImage
*) &_result_ref
;
11602 wxPyEndAllowThreads(__tstate
);
11603 if (PyErr_Occurred()) SWIG_fail
;
11605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11612 static PyObject
*_wrap_Image_Resize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11613 PyObject
*resultobj
;
11614 wxImage
*arg1
= (wxImage
*) 0 ;
11616 wxPoint
*arg3
= 0 ;
11617 int arg4
= (int) -1 ;
11618 int arg5
= (int) -1 ;
11619 int arg6
= (int) -1 ;
11623 PyObject
* obj0
= 0 ;
11624 PyObject
* obj1
= 0 ;
11625 PyObject
* obj2
= 0 ;
11626 PyObject
* obj3
= 0 ;
11627 PyObject
* obj4
= 0 ;
11628 PyObject
* obj5
= 0 ;
11629 char *kwnames
[] = {
11630 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
11633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Resize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11635 if (SWIG_arg_fail(1)) SWIG_fail
;
11638 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11642 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11646 arg4
= (int)(SWIG_As_int(obj3
));
11647 if (SWIG_arg_fail(4)) SWIG_fail
;
11652 arg5
= (int)(SWIG_As_int(obj4
));
11653 if (SWIG_arg_fail(5)) SWIG_fail
;
11658 arg6
= (int)(SWIG_As_int(obj5
));
11659 if (SWIG_arg_fail(6)) SWIG_fail
;
11663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11665 wxImage
&_result_ref
= (arg1
)->Resize((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
11666 result
= (wxImage
*) &_result_ref
;
11669 wxPyEndAllowThreads(__tstate
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11679 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11680 PyObject
*resultobj
;
11681 wxImage
*arg1
= (wxImage
*) 0 ;
11687 PyObject
* obj0
= 0 ;
11688 PyObject
* obj1
= 0 ;
11689 PyObject
* obj2
= 0 ;
11690 PyObject
* obj3
= 0 ;
11691 PyObject
* obj4
= 0 ;
11692 PyObject
* obj5
= 0 ;
11693 char *kwnames
[] = {
11694 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
11697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11699 if (SWIG_arg_fail(1)) SWIG_fail
;
11701 arg2
= (int)(SWIG_As_int(obj1
));
11702 if (SWIG_arg_fail(2)) SWIG_fail
;
11705 arg3
= (int)(SWIG_As_int(obj2
));
11706 if (SWIG_arg_fail(3)) SWIG_fail
;
11709 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11710 if (SWIG_arg_fail(4)) SWIG_fail
;
11713 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11714 if (SWIG_arg_fail(5)) SWIG_fail
;
11717 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj5
));
11718 if (SWIG_arg_fail(6)) SWIG_fail
;
11721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11722 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
11724 wxPyEndAllowThreads(__tstate
);
11725 if (PyErr_Occurred()) SWIG_fail
;
11727 Py_INCREF(Py_None
); resultobj
= Py_None
;
11734 static PyObject
*_wrap_Image_SetRGBRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11735 PyObject
*resultobj
;
11736 wxImage
*arg1
= (wxImage
*) 0 ;
11742 PyObject
* obj0
= 0 ;
11743 PyObject
* obj1
= 0 ;
11744 PyObject
* obj2
= 0 ;
11745 PyObject
* obj3
= 0 ;
11746 PyObject
* obj4
= 0 ;
11747 char *kwnames
[] = {
11748 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
11751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetRGBRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11753 if (SWIG_arg_fail(1)) SWIG_fail
;
11756 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11759 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11760 if (SWIG_arg_fail(3)) SWIG_fail
;
11763 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11764 if (SWIG_arg_fail(4)) SWIG_fail
;
11767 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11768 if (SWIG_arg_fail(5)) SWIG_fail
;
11771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11772 (arg1
)->SetRGB((wxRect
const &)*arg2
,arg3
,arg4
,arg5
);
11774 wxPyEndAllowThreads(__tstate
);
11775 if (PyErr_Occurred()) SWIG_fail
;
11777 Py_INCREF(Py_None
); resultobj
= Py_None
;
11784 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11785 PyObject
*resultobj
;
11786 wxImage
*arg1
= (wxImage
*) 0 ;
11790 PyObject
* obj0
= 0 ;
11791 PyObject
* obj1
= 0 ;
11792 PyObject
* obj2
= 0 ;
11793 char *kwnames
[] = {
11794 (char *) "self",(char *) "x",(char *) "y", NULL
11797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11799 if (SWIG_arg_fail(1)) SWIG_fail
;
11801 arg2
= (int)(SWIG_As_int(obj1
));
11802 if (SWIG_arg_fail(2)) SWIG_fail
;
11805 arg3
= (int)(SWIG_As_int(obj2
));
11806 if (SWIG_arg_fail(3)) SWIG_fail
;
11809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11810 result
= (byte
)(arg1
)->GetRed(arg2
,arg3
);
11812 wxPyEndAllowThreads(__tstate
);
11813 if (PyErr_Occurred()) SWIG_fail
;
11816 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11824 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11825 PyObject
*resultobj
;
11826 wxImage
*arg1
= (wxImage
*) 0 ;
11830 PyObject
* obj0
= 0 ;
11831 PyObject
* obj1
= 0 ;
11832 PyObject
* obj2
= 0 ;
11833 char *kwnames
[] = {
11834 (char *) "self",(char *) "x",(char *) "y", NULL
11837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11839 if (SWIG_arg_fail(1)) SWIG_fail
;
11841 arg2
= (int)(SWIG_As_int(obj1
));
11842 if (SWIG_arg_fail(2)) SWIG_fail
;
11845 arg3
= (int)(SWIG_As_int(obj2
));
11846 if (SWIG_arg_fail(3)) SWIG_fail
;
11849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11850 result
= (byte
)(arg1
)->GetGreen(arg2
,arg3
);
11852 wxPyEndAllowThreads(__tstate
);
11853 if (PyErr_Occurred()) SWIG_fail
;
11856 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11864 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11865 PyObject
*resultobj
;
11866 wxImage
*arg1
= (wxImage
*) 0 ;
11870 PyObject
* obj0
= 0 ;
11871 PyObject
* obj1
= 0 ;
11872 PyObject
* obj2
= 0 ;
11873 char *kwnames
[] = {
11874 (char *) "self",(char *) "x",(char *) "y", NULL
11877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11879 if (SWIG_arg_fail(1)) SWIG_fail
;
11881 arg2
= (int)(SWIG_As_int(obj1
));
11882 if (SWIG_arg_fail(2)) SWIG_fail
;
11885 arg3
= (int)(SWIG_As_int(obj2
));
11886 if (SWIG_arg_fail(3)) SWIG_fail
;
11889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11890 result
= (byte
)(arg1
)->GetBlue(arg2
,arg3
);
11892 wxPyEndAllowThreads(__tstate
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11896 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11904 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11905 PyObject
*resultobj
;
11906 wxImage
*arg1
= (wxImage
*) 0 ;
11910 PyObject
* obj0
= 0 ;
11911 PyObject
* obj1
= 0 ;
11912 PyObject
* obj2
= 0 ;
11913 PyObject
* obj3
= 0 ;
11914 char *kwnames
[] = {
11915 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11920 if (SWIG_arg_fail(1)) SWIG_fail
;
11922 arg2
= (int)(SWIG_As_int(obj1
));
11923 if (SWIG_arg_fail(2)) SWIG_fail
;
11926 arg3
= (int)(SWIG_As_int(obj2
));
11927 if (SWIG_arg_fail(3)) SWIG_fail
;
11930 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11931 if (SWIG_arg_fail(4)) SWIG_fail
;
11934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11935 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11937 wxPyEndAllowThreads(__tstate
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11940 Py_INCREF(Py_None
); resultobj
= Py_None
;
11947 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11948 PyObject
*resultobj
;
11949 wxImage
*arg1
= (wxImage
*) 0 ;
11953 PyObject
* obj0
= 0 ;
11954 PyObject
* obj1
= 0 ;
11955 PyObject
* obj2
= 0 ;
11956 char *kwnames
[] = {
11957 (char *) "self",(char *) "x",(char *) "y", NULL
11960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11962 if (SWIG_arg_fail(1)) SWIG_fail
;
11964 arg2
= (int)(SWIG_As_int(obj1
));
11965 if (SWIG_arg_fail(2)) SWIG_fail
;
11968 arg3
= (int)(SWIG_As_int(obj2
));
11969 if (SWIG_arg_fail(3)) SWIG_fail
;
11972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11973 result
= (byte
)(arg1
)->GetAlpha(arg2
,arg3
);
11975 wxPyEndAllowThreads(__tstate
);
11976 if (PyErr_Occurred()) SWIG_fail
;
11979 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11987 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11988 PyObject
*resultobj
;
11989 wxImage
*arg1
= (wxImage
*) 0 ;
11991 PyObject
* obj0
= 0 ;
11992 char *kwnames
[] = {
11993 (char *) "self", NULL
11996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11998 if (SWIG_arg_fail(1)) SWIG_fail
;
12000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12001 result
= (bool)(arg1
)->HasAlpha();
12003 wxPyEndAllowThreads(__tstate
);
12004 if (PyErr_Occurred()) SWIG_fail
;
12007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12015 static PyObject
*_wrap_Image_InitAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12016 PyObject
*resultobj
;
12017 wxImage
*arg1
= (wxImage
*) 0 ;
12018 PyObject
* obj0
= 0 ;
12019 char *kwnames
[] = {
12020 (char *) "self", NULL
12023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InitAlpha",kwnames
,&obj0
)) goto fail
;
12024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12025 if (SWIG_arg_fail(1)) SWIG_fail
;
12027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12028 (arg1
)->InitAlpha();
12030 wxPyEndAllowThreads(__tstate
);
12031 if (PyErr_Occurred()) SWIG_fail
;
12033 Py_INCREF(Py_None
); resultobj
= Py_None
;
12040 static PyObject
*_wrap_Image_IsTransparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12041 PyObject
*resultobj
;
12042 wxImage
*arg1
= (wxImage
*) 0 ;
12045 byte arg4
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
12047 PyObject
* obj0
= 0 ;
12048 PyObject
* obj1
= 0 ;
12049 PyObject
* obj2
= 0 ;
12050 PyObject
* obj3
= 0 ;
12051 char *kwnames
[] = {
12052 (char *) "self",(char *) "x",(char *) "y",(char *) "threshold", NULL
12055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_IsTransparent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12057 if (SWIG_arg_fail(1)) SWIG_fail
;
12059 arg2
= (int)(SWIG_As_int(obj1
));
12060 if (SWIG_arg_fail(2)) SWIG_fail
;
12063 arg3
= (int)(SWIG_As_int(obj2
));
12064 if (SWIG_arg_fail(3)) SWIG_fail
;
12068 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
12069 if (SWIG_arg_fail(4)) SWIG_fail
;
12073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12074 result
= (bool)((wxImage
const *)arg1
)->IsTransparent(arg2
,arg3
,arg4
);
12076 wxPyEndAllowThreads(__tstate
);
12077 if (PyErr_Occurred()) SWIG_fail
;
12080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12088 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12089 PyObject
*resultobj
;
12090 wxImage
*arg1
= (wxImage
*) 0 ;
12091 byte
*arg2
= (byte
*) 0 ;
12092 byte
*arg3
= (byte
*) 0 ;
12093 byte
*arg4
= (byte
*) 0 ;
12094 byte arg5
= (byte
) 0 ;
12095 byte arg6
= (byte
) 0 ;
12096 byte arg7
= (byte
) 0 ;
12104 PyObject
* obj0
= 0 ;
12105 PyObject
* obj1
= 0 ;
12106 PyObject
* obj2
= 0 ;
12107 PyObject
* obj3
= 0 ;
12108 char *kwnames
[] = {
12109 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
12112 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
12113 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
12114 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
12115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12117 if (SWIG_arg_fail(1)) SWIG_fail
;
12120 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
12121 if (SWIG_arg_fail(5)) SWIG_fail
;
12126 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
12127 if (SWIG_arg_fail(6)) SWIG_fail
;
12132 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
12133 if (SWIG_arg_fail(7)) SWIG_fail
;
12137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12138 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12140 wxPyEndAllowThreads(__tstate
);
12141 if (PyErr_Occurred()) SWIG_fail
;
12144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12146 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
12147 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
12148 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
12149 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
12150 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
12151 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
12158 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12159 PyObject
*resultobj
;
12160 wxImage
*arg1
= (wxImage
*) 0 ;
12161 byte arg2
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
12163 PyObject
* obj0
= 0 ;
12164 PyObject
* obj1
= 0 ;
12165 char *kwnames
[] = {
12166 (char *) "self",(char *) "threshold", NULL
12169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
12170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12171 if (SWIG_arg_fail(1)) SWIG_fail
;
12174 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
12175 if (SWIG_arg_fail(2)) SWIG_fail
;
12179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12180 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
12182 wxPyEndAllowThreads(__tstate
);
12183 if (PyErr_Occurred()) SWIG_fail
;
12186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12194 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12195 PyObject
*resultobj
;
12196 wxImage
*arg1
= (wxImage
*) 0 ;
12201 PyObject
* obj0
= 0 ;
12202 PyObject
* obj1
= 0 ;
12203 PyObject
* obj2
= 0 ;
12204 PyObject
* obj3
= 0 ;
12205 char *kwnames
[] = {
12206 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12211 if (SWIG_arg_fail(1)) SWIG_fail
;
12213 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
12214 if (SWIG_arg_fail(2)) SWIG_fail
;
12217 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
12218 if (SWIG_arg_fail(3)) SWIG_fail
;
12221 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
12222 if (SWIG_arg_fail(4)) SWIG_fail
;
12225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12226 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
12228 wxPyEndAllowThreads(__tstate
);
12229 if (PyErr_Occurred()) SWIG_fail
;
12232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12240 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12241 PyObject
*resultobj
;
12242 wxImage
*arg1
= (wxImage
*) 0 ;
12243 wxImage
*arg2
= 0 ;
12248 PyObject
* obj0
= 0 ;
12249 PyObject
* obj1
= 0 ;
12250 PyObject
* obj2
= 0 ;
12251 PyObject
* obj3
= 0 ;
12252 PyObject
* obj4
= 0 ;
12253 char *kwnames
[] = {
12254 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
12257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12259 if (SWIG_arg_fail(1)) SWIG_fail
;
12261 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12262 if (SWIG_arg_fail(2)) SWIG_fail
;
12263 if (arg2
== NULL
) {
12264 SWIG_null_ref("wxImage");
12266 if (SWIG_arg_fail(2)) SWIG_fail
;
12269 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
12270 if (SWIG_arg_fail(3)) SWIG_fail
;
12273 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
12274 if (SWIG_arg_fail(4)) SWIG_fail
;
12277 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
12278 if (SWIG_arg_fail(5)) SWIG_fail
;
12281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12282 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
12284 wxPyEndAllowThreads(__tstate
);
12285 if (PyErr_Occurred()) SWIG_fail
;
12288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12296 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12297 PyObject
*resultobj
;
12298 wxString
*arg1
= 0 ;
12300 bool temp1
= false ;
12301 PyObject
* obj0
= 0 ;
12302 char *kwnames
[] = {
12303 (char *) "filename", NULL
12306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
12308 arg1
= wxString_in_helper(obj0
);
12309 if (arg1
== NULL
) SWIG_fail
;
12313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12314 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
12316 wxPyEndAllowThreads(__tstate
);
12317 if (PyErr_Occurred()) SWIG_fail
;
12320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12336 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12337 PyObject
*resultobj
;
12338 wxString
*arg1
= 0 ;
12339 long arg2
= (long) wxBITMAP_TYPE_ANY
;
12341 bool temp1
= false ;
12342 PyObject
* obj0
= 0 ;
12343 PyObject
* obj1
= 0 ;
12344 char *kwnames
[] = {
12345 (char *) "filename",(char *) "type", NULL
12348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12350 arg1
= wxString_in_helper(obj0
);
12351 if (arg1
== NULL
) SWIG_fail
;
12356 arg2
= (long)(SWIG_As_long(obj1
));
12357 if (SWIG_arg_fail(2)) SWIG_fail
;
12361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12362 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
12364 wxPyEndAllowThreads(__tstate
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12368 resultobj
= SWIG_From_int((int)(result
));
12384 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12385 PyObject
*resultobj
;
12386 wxImage
*arg1
= (wxImage
*) 0 ;
12387 wxString
*arg2
= 0 ;
12388 long arg3
= (long) wxBITMAP_TYPE_ANY
;
12389 int arg4
= (int) -1 ;
12391 bool temp2
= false ;
12392 PyObject
* obj0
= 0 ;
12393 PyObject
* obj1
= 0 ;
12394 PyObject
* obj2
= 0 ;
12395 PyObject
* obj3
= 0 ;
12396 char *kwnames
[] = {
12397 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
12400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12402 if (SWIG_arg_fail(1)) SWIG_fail
;
12404 arg2
= wxString_in_helper(obj1
);
12405 if (arg2
== NULL
) SWIG_fail
;
12410 arg3
= (long)(SWIG_As_long(obj2
));
12411 if (SWIG_arg_fail(3)) SWIG_fail
;
12416 arg4
= (int)(SWIG_As_int(obj3
));
12417 if (SWIG_arg_fail(4)) SWIG_fail
;
12421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12422 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
12424 wxPyEndAllowThreads(__tstate
);
12425 if (PyErr_Occurred()) SWIG_fail
;
12428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12444 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12445 PyObject
*resultobj
;
12446 wxImage
*arg1
= (wxImage
*) 0 ;
12447 wxString
*arg2
= 0 ;
12448 wxString
*arg3
= 0 ;
12449 int arg4
= (int) -1 ;
12451 bool temp2
= false ;
12452 bool temp3
= false ;
12453 PyObject
* obj0
= 0 ;
12454 PyObject
* obj1
= 0 ;
12455 PyObject
* obj2
= 0 ;
12456 PyObject
* obj3
= 0 ;
12457 char *kwnames
[] = {
12458 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
12461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12463 if (SWIG_arg_fail(1)) SWIG_fail
;
12465 arg2
= wxString_in_helper(obj1
);
12466 if (arg2
== NULL
) SWIG_fail
;
12470 arg3
= wxString_in_helper(obj2
);
12471 if (arg3
== NULL
) SWIG_fail
;
12476 arg4
= (int)(SWIG_As_int(obj3
));
12477 if (SWIG_arg_fail(4)) SWIG_fail
;
12481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12482 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12484 wxPyEndAllowThreads(__tstate
);
12485 if (PyErr_Occurred()) SWIG_fail
;
12488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12512 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12513 PyObject
*resultobj
;
12514 wxImage
*arg1
= (wxImage
*) 0 ;
12515 wxString
*arg2
= 0 ;
12518 bool temp2
= false ;
12519 PyObject
* obj0
= 0 ;
12520 PyObject
* obj1
= 0 ;
12521 PyObject
* obj2
= 0 ;
12522 char *kwnames
[] = {
12523 (char *) "self",(char *) "name",(char *) "type", NULL
12526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12528 if (SWIG_arg_fail(1)) SWIG_fail
;
12530 arg2
= wxString_in_helper(obj1
);
12531 if (arg2
== NULL
) SWIG_fail
;
12535 arg3
= (int)(SWIG_As_int(obj2
));
12536 if (SWIG_arg_fail(3)) SWIG_fail
;
12539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12540 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12542 wxPyEndAllowThreads(__tstate
);
12543 if (PyErr_Occurred()) SWIG_fail
;
12546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12562 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12563 PyObject
*resultobj
;
12564 wxImage
*arg1
= (wxImage
*) 0 ;
12565 wxString
*arg2
= 0 ;
12566 wxString
*arg3
= 0 ;
12568 bool temp2
= false ;
12569 bool temp3
= false ;
12570 PyObject
* obj0
= 0 ;
12571 PyObject
* obj1
= 0 ;
12572 PyObject
* obj2
= 0 ;
12573 char *kwnames
[] = {
12574 (char *) "self",(char *) "name",(char *) "mimetype", NULL
12577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12579 if (SWIG_arg_fail(1)) SWIG_fail
;
12581 arg2
= wxString_in_helper(obj1
);
12582 if (arg2
== NULL
) SWIG_fail
;
12586 arg3
= wxString_in_helper(obj2
);
12587 if (arg3
== NULL
) SWIG_fail
;
12591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12592 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12622 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12623 PyObject
*resultobj
;
12624 wxInputStream
*arg1
= 0 ;
12626 wxPyInputStream
*temp1
;
12628 PyObject
* obj0
= 0 ;
12629 char *kwnames
[] = {
12630 (char *) "stream", NULL
12633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
12635 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
12636 arg1
= temp1
->m_wxis
;
12639 PyErr_Clear(); // clear the failure of the wxPyConvert above
12640 arg1
= wxPyCBInputStream_create(obj0
, false);
12641 if (arg1
== NULL
) {
12642 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12650 result
= (bool)wxImage::CanRead(*arg1
);
12652 wxPyEndAllowThreads(__tstate
);
12653 if (PyErr_Occurred()) SWIG_fail
;
12656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12659 if (created1
) delete arg1
;
12664 if (created1
) delete arg1
;
12670 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12671 PyObject
*resultobj
;
12672 wxImage
*arg1
= (wxImage
*) 0 ;
12673 wxInputStream
*arg2
= 0 ;
12674 long arg3
= (long) wxBITMAP_TYPE_ANY
;
12675 int arg4
= (int) -1 ;
12677 wxPyInputStream
*temp2
;
12679 PyObject
* obj0
= 0 ;
12680 PyObject
* obj1
= 0 ;
12681 PyObject
* obj2
= 0 ;
12682 PyObject
* obj3
= 0 ;
12683 char *kwnames
[] = {
12684 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
12687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12689 if (SWIG_arg_fail(1)) SWIG_fail
;
12691 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12692 arg2
= temp2
->m_wxis
;
12695 PyErr_Clear(); // clear the failure of the wxPyConvert above
12696 arg2
= wxPyCBInputStream_create(obj1
, false);
12697 if (arg2
== NULL
) {
12698 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12706 arg3
= (long)(SWIG_As_long(obj2
));
12707 if (SWIG_arg_fail(3)) SWIG_fail
;
12712 arg4
= (int)(SWIG_As_int(obj3
));
12713 if (SWIG_arg_fail(4)) SWIG_fail
;
12717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12718 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
12720 wxPyEndAllowThreads(__tstate
);
12721 if (PyErr_Occurred()) SWIG_fail
;
12724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12727 if (created2
) delete arg2
;
12732 if (created2
) delete arg2
;
12738 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12739 PyObject
*resultobj
;
12740 wxImage
*arg1
= (wxImage
*) 0 ;
12741 wxInputStream
*arg2
= 0 ;
12742 wxString
*arg3
= 0 ;
12743 int arg4
= (int) -1 ;
12745 wxPyInputStream
*temp2
;
12747 bool temp3
= false ;
12748 PyObject
* obj0
= 0 ;
12749 PyObject
* obj1
= 0 ;
12750 PyObject
* obj2
= 0 ;
12751 PyObject
* obj3
= 0 ;
12752 char *kwnames
[] = {
12753 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
12756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12758 if (SWIG_arg_fail(1)) SWIG_fail
;
12760 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12761 arg2
= temp2
->m_wxis
;
12764 PyErr_Clear(); // clear the failure of the wxPyConvert above
12765 arg2
= wxPyCBInputStream_create(obj1
, false);
12766 if (arg2
== NULL
) {
12767 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12774 arg3
= wxString_in_helper(obj2
);
12775 if (arg3
== NULL
) SWIG_fail
;
12780 arg4
= (int)(SWIG_As_int(obj3
));
12781 if (SWIG_arg_fail(4)) SWIG_fail
;
12785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12786 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
12788 wxPyEndAllowThreads(__tstate
);
12789 if (PyErr_Occurred()) SWIG_fail
;
12792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12795 if (created2
) delete arg2
;
12804 if (created2
) delete arg2
;
12814 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12815 PyObject
*resultobj
;
12816 wxImage
*arg1
= (wxImage
*) 0 ;
12818 PyObject
* obj0
= 0 ;
12819 char *kwnames
[] = {
12820 (char *) "self", NULL
12823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
12824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12825 if (SWIG_arg_fail(1)) SWIG_fail
;
12827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12828 result
= (bool)(arg1
)->Ok();
12830 wxPyEndAllowThreads(__tstate
);
12831 if (PyErr_Occurred()) SWIG_fail
;
12834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12842 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12843 PyObject
*resultobj
;
12844 wxImage
*arg1
= (wxImage
*) 0 ;
12846 PyObject
* obj0
= 0 ;
12847 char *kwnames
[] = {
12848 (char *) "self", NULL
12851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
12852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12853 if (SWIG_arg_fail(1)) SWIG_fail
;
12855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12856 result
= (int)(arg1
)->GetWidth();
12858 wxPyEndAllowThreads(__tstate
);
12859 if (PyErr_Occurred()) SWIG_fail
;
12862 resultobj
= SWIG_From_int((int)(result
));
12870 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12871 PyObject
*resultobj
;
12872 wxImage
*arg1
= (wxImage
*) 0 ;
12874 PyObject
* obj0
= 0 ;
12875 char *kwnames
[] = {
12876 (char *) "self", NULL
12879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12881 if (SWIG_arg_fail(1)) SWIG_fail
;
12883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12884 result
= (int)(arg1
)->GetHeight();
12886 wxPyEndAllowThreads(__tstate
);
12887 if (PyErr_Occurred()) SWIG_fail
;
12890 resultobj
= SWIG_From_int((int)(result
));
12898 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12899 PyObject
*resultobj
;
12900 wxImage
*arg1
= (wxImage
*) 0 ;
12902 PyObject
* obj0
= 0 ;
12903 char *kwnames
[] = {
12904 (char *) "self", NULL
12907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12909 if (SWIG_arg_fail(1)) SWIG_fail
;
12911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12912 result
= wxImage_GetSize(arg1
);
12914 wxPyEndAllowThreads(__tstate
);
12915 if (PyErr_Occurred()) SWIG_fail
;
12918 wxSize
* resultptr
;
12919 resultptr
= new wxSize((wxSize
&)(result
));
12920 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12928 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12929 PyObject
*resultobj
;
12930 wxImage
*arg1
= (wxImage
*) 0 ;
12932 SwigValueWrapper
<wxImage
> result
;
12934 PyObject
* obj0
= 0 ;
12935 PyObject
* obj1
= 0 ;
12936 char *kwnames
[] = {
12937 (char *) "self",(char *) "rect", NULL
12940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12942 if (SWIG_arg_fail(1)) SWIG_fail
;
12945 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12949 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12951 wxPyEndAllowThreads(__tstate
);
12952 if (PyErr_Occurred()) SWIG_fail
;
12955 wxImage
* resultptr
;
12956 resultptr
= new wxImage((wxImage
&)(result
));
12957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12965 static PyObject
*_wrap_Image_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12966 PyObject
*resultobj
;
12967 wxImage
*arg1
= (wxImage
*) 0 ;
12969 wxPoint
*arg3
= 0 ;
12970 int arg4
= (int) -1 ;
12971 int arg5
= (int) -1 ;
12972 int arg6
= (int) -1 ;
12973 SwigValueWrapper
<wxImage
> result
;
12976 PyObject
* obj0
= 0 ;
12977 PyObject
* obj1
= 0 ;
12978 PyObject
* obj2
= 0 ;
12979 PyObject
* obj3
= 0 ;
12980 PyObject
* obj4
= 0 ;
12981 PyObject
* obj5
= 0 ;
12982 char *kwnames
[] = {
12983 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
12986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Size",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12988 if (SWIG_arg_fail(1)) SWIG_fail
;
12991 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12995 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12999 arg4
= (int)(SWIG_As_int(obj3
));
13000 if (SWIG_arg_fail(4)) SWIG_fail
;
13005 arg5
= (int)(SWIG_As_int(obj4
));
13006 if (SWIG_arg_fail(5)) SWIG_fail
;
13011 arg6
= (int)(SWIG_As_int(obj5
));
13012 if (SWIG_arg_fail(6)) SWIG_fail
;
13016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13017 result
= ((wxImage
const *)arg1
)->Size((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
13019 wxPyEndAllowThreads(__tstate
);
13020 if (PyErr_Occurred()) SWIG_fail
;
13023 wxImage
* resultptr
;
13024 resultptr
= new wxImage((wxImage
&)(result
));
13025 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13033 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13034 PyObject
*resultobj
;
13035 wxImage
*arg1
= (wxImage
*) 0 ;
13036 SwigValueWrapper
<wxImage
> result
;
13037 PyObject
* obj0
= 0 ;
13038 char *kwnames
[] = {
13039 (char *) "self", NULL
13042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
13043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13044 if (SWIG_arg_fail(1)) SWIG_fail
;
13046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13047 result
= (arg1
)->Copy();
13049 wxPyEndAllowThreads(__tstate
);
13050 if (PyErr_Occurred()) SWIG_fail
;
13053 wxImage
* resultptr
;
13054 resultptr
= new wxImage((wxImage
&)(result
));
13055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13063 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13064 PyObject
*resultobj
;
13065 wxImage
*arg1
= (wxImage
*) 0 ;
13066 wxImage
*arg2
= 0 ;
13069 PyObject
* obj0
= 0 ;
13070 PyObject
* obj1
= 0 ;
13071 PyObject
* obj2
= 0 ;
13072 PyObject
* obj3
= 0 ;
13073 char *kwnames
[] = {
13074 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
13077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13079 if (SWIG_arg_fail(1)) SWIG_fail
;
13081 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13082 if (SWIG_arg_fail(2)) SWIG_fail
;
13083 if (arg2
== NULL
) {
13084 SWIG_null_ref("wxImage");
13086 if (SWIG_arg_fail(2)) SWIG_fail
;
13089 arg3
= (int)(SWIG_As_int(obj2
));
13090 if (SWIG_arg_fail(3)) SWIG_fail
;
13093 arg4
= (int)(SWIG_As_int(obj3
));
13094 if (SWIG_arg_fail(4)) SWIG_fail
;
13097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13098 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
13100 wxPyEndAllowThreads(__tstate
);
13101 if (PyErr_Occurred()) SWIG_fail
;
13103 Py_INCREF(Py_None
); resultobj
= Py_None
;
13110 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13111 PyObject
*resultobj
;
13112 wxImage
*arg1
= (wxImage
*) 0 ;
13114 PyObject
* obj0
= 0 ;
13115 char *kwnames
[] = {
13116 (char *) "self", NULL
13119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
13120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13121 if (SWIG_arg_fail(1)) SWIG_fail
;
13123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13124 result
= (PyObject
*)wxImage_GetData(arg1
);
13126 wxPyEndAllowThreads(__tstate
);
13127 if (PyErr_Occurred()) SWIG_fail
;
13129 resultobj
= result
;
13136 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13137 PyObject
*resultobj
;
13138 wxImage
*arg1
= (wxImage
*) 0 ;
13141 PyObject
* obj0
= 0 ;
13142 PyObject
* obj1
= 0 ;
13143 char *kwnames
[] = {
13144 (char *) "self",(char *) "data", NULL
13147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
13148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13149 if (SWIG_arg_fail(1)) SWIG_fail
;
13151 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
13154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13155 wxImage_SetData(arg1
,arg2
,arg3
);
13157 wxPyEndAllowThreads(__tstate
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13160 Py_INCREF(Py_None
); resultobj
= Py_None
;
13167 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13168 PyObject
*resultobj
;
13169 wxImage
*arg1
= (wxImage
*) 0 ;
13171 PyObject
* obj0
= 0 ;
13172 char *kwnames
[] = {
13173 (char *) "self", NULL
13176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
13177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13178 if (SWIG_arg_fail(1)) SWIG_fail
;
13180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13181 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
13183 wxPyEndAllowThreads(__tstate
);
13184 if (PyErr_Occurred()) SWIG_fail
;
13186 resultobj
= result
;
13193 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13194 PyObject
*resultobj
;
13195 wxImage
*arg1
= (wxImage
*) 0 ;
13198 PyObject
* obj0
= 0 ;
13199 PyObject
* obj1
= 0 ;
13200 char *kwnames
[] = {
13201 (char *) "self",(char *) "data", NULL
13204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
13205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13206 if (SWIG_arg_fail(1)) SWIG_fail
;
13208 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
13211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13212 wxImage_SetDataBuffer(arg1
,arg2
,arg3
);
13214 wxPyEndAllowThreads(__tstate
);
13215 if (PyErr_Occurred()) SWIG_fail
;
13217 Py_INCREF(Py_None
); resultobj
= Py_None
;
13224 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13225 PyObject
*resultobj
;
13226 wxImage
*arg1
= (wxImage
*) 0 ;
13228 PyObject
* obj0
= 0 ;
13229 char *kwnames
[] = {
13230 (char *) "self", NULL
13233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
13234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13235 if (SWIG_arg_fail(1)) SWIG_fail
;
13237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13238 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
13240 wxPyEndAllowThreads(__tstate
);
13241 if (PyErr_Occurred()) SWIG_fail
;
13243 resultobj
= result
;
13250 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13251 PyObject
*resultobj
;
13252 wxImage
*arg1
= (wxImage
*) 0 ;
13255 PyObject
* obj0
= 0 ;
13256 PyObject
* obj1
= 0 ;
13257 char *kwnames
[] = {
13258 (char *) "self",(char *) "alpha", NULL
13261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
13262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13263 if (SWIG_arg_fail(1)) SWIG_fail
;
13265 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
13268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13269 wxImage_SetAlphaData(arg1
,arg2
,arg3
);
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13274 Py_INCREF(Py_None
); resultobj
= Py_None
;
13281 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13282 PyObject
*resultobj
;
13283 wxImage
*arg1
= (wxImage
*) 0 ;
13285 PyObject
* obj0
= 0 ;
13286 char *kwnames
[] = {
13287 (char *) "self", NULL
13290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
13291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13292 if (SWIG_arg_fail(1)) SWIG_fail
;
13294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13295 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
13297 wxPyEndAllowThreads(__tstate
);
13298 if (PyErr_Occurred()) SWIG_fail
;
13300 resultobj
= result
;
13307 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13308 PyObject
*resultobj
;
13309 wxImage
*arg1
= (wxImage
*) 0 ;
13312 PyObject
* obj0
= 0 ;
13313 PyObject
* obj1
= 0 ;
13314 char *kwnames
[] = {
13315 (char *) "self",(char *) "alpha", NULL
13318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
13319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13320 if (SWIG_arg_fail(1)) SWIG_fail
;
13322 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
13325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13326 wxImage_SetAlphaBuffer(arg1
,arg2
,arg3
);
13328 wxPyEndAllowThreads(__tstate
);
13329 if (PyErr_Occurred()) SWIG_fail
;
13331 Py_INCREF(Py_None
); resultobj
= Py_None
;
13338 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13339 PyObject
*resultobj
;
13340 wxImage
*arg1
= (wxImage
*) 0 ;
13344 PyObject
* obj0
= 0 ;
13345 PyObject
* obj1
= 0 ;
13346 PyObject
* obj2
= 0 ;
13347 PyObject
* obj3
= 0 ;
13348 char *kwnames
[] = {
13349 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
13352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13354 if (SWIG_arg_fail(1)) SWIG_fail
;
13356 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13357 if (SWIG_arg_fail(2)) SWIG_fail
;
13360 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13361 if (SWIG_arg_fail(3)) SWIG_fail
;
13364 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13365 if (SWIG_arg_fail(4)) SWIG_fail
;
13368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13369 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
13371 wxPyEndAllowThreads(__tstate
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13374 Py_INCREF(Py_None
); resultobj
= Py_None
;
13381 static PyObject
*_wrap_Image_GetOrFindMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13382 PyObject
*resultobj
;
13383 wxImage
*arg1
= (wxImage
*) 0 ;
13384 byte
*arg2
= (byte
*) 0 ;
13385 byte
*arg3
= (byte
*) 0 ;
13386 byte
*arg4
= (byte
*) 0 ;
13393 PyObject
* obj0
= 0 ;
13394 char *kwnames
[] = {
13395 (char *) "self", NULL
13398 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13399 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13400 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetOrFindMaskColour",kwnames
,&obj0
)) goto fail
;
13402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13403 if (SWIG_arg_fail(1)) SWIG_fail
;
13405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13406 ((wxImage
const *)arg1
)->GetOrFindMaskColour(arg2
,arg3
,arg4
);
13408 wxPyEndAllowThreads(__tstate
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13411 Py_INCREF(Py_None
); resultobj
= Py_None
;
13412 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13413 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
13414 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13415 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
13416 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13417 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
13424 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13425 PyObject
*resultobj
;
13426 wxImage
*arg1
= (wxImage
*) 0 ;
13428 PyObject
* obj0
= 0 ;
13429 char *kwnames
[] = {
13430 (char *) "self", NULL
13433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
13434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13435 if (SWIG_arg_fail(1)) SWIG_fail
;
13437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13438 result
= (byte
)(arg1
)->GetMaskRed();
13440 wxPyEndAllowThreads(__tstate
);
13441 if (PyErr_Occurred()) SWIG_fail
;
13444 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
13452 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13453 PyObject
*resultobj
;
13454 wxImage
*arg1
= (wxImage
*) 0 ;
13456 PyObject
* obj0
= 0 ;
13457 char *kwnames
[] = {
13458 (char *) "self", NULL
13461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
13462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13463 if (SWIG_arg_fail(1)) SWIG_fail
;
13465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13466 result
= (byte
)(arg1
)->GetMaskGreen();
13468 wxPyEndAllowThreads(__tstate
);
13469 if (PyErr_Occurred()) SWIG_fail
;
13472 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
13480 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13481 PyObject
*resultobj
;
13482 wxImage
*arg1
= (wxImage
*) 0 ;
13484 PyObject
* obj0
= 0 ;
13485 char *kwnames
[] = {
13486 (char *) "self", NULL
13489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
13490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13491 if (SWIG_arg_fail(1)) SWIG_fail
;
13493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13494 result
= (byte
)(arg1
)->GetMaskBlue();
13496 wxPyEndAllowThreads(__tstate
);
13497 if (PyErr_Occurred()) SWIG_fail
;
13500 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
13508 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13509 PyObject
*resultobj
;
13510 wxImage
*arg1
= (wxImage
*) 0 ;
13511 bool arg2
= (bool) true ;
13512 PyObject
* obj0
= 0 ;
13513 PyObject
* obj1
= 0 ;
13514 char *kwnames
[] = {
13515 (char *) "self",(char *) "mask", NULL
13518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
13519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13520 if (SWIG_arg_fail(1)) SWIG_fail
;
13523 arg2
= (bool)(SWIG_As_bool(obj1
));
13524 if (SWIG_arg_fail(2)) SWIG_fail
;
13528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13529 (arg1
)->SetMask(arg2
);
13531 wxPyEndAllowThreads(__tstate
);
13532 if (PyErr_Occurred()) SWIG_fail
;
13534 Py_INCREF(Py_None
); resultobj
= Py_None
;
13541 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13542 PyObject
*resultobj
;
13543 wxImage
*arg1
= (wxImage
*) 0 ;
13545 PyObject
* obj0
= 0 ;
13546 char *kwnames
[] = {
13547 (char *) "self", NULL
13550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
13551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13552 if (SWIG_arg_fail(1)) SWIG_fail
;
13554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13555 result
= (bool)(arg1
)->HasMask();
13557 wxPyEndAllowThreads(__tstate
);
13558 if (PyErr_Occurred()) SWIG_fail
;
13561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13569 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13570 PyObject
*resultobj
;
13571 wxImage
*arg1
= (wxImage
*) 0 ;
13573 wxPoint
*arg3
= 0 ;
13574 bool arg4
= (bool) true ;
13575 wxPoint
*arg5
= (wxPoint
*) NULL
;
13576 SwigValueWrapper
<wxImage
> result
;
13578 PyObject
* obj0
= 0 ;
13579 PyObject
* obj1
= 0 ;
13580 PyObject
* obj2
= 0 ;
13581 PyObject
* obj3
= 0 ;
13582 PyObject
* obj4
= 0 ;
13583 char *kwnames
[] = {
13584 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
13587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13589 if (SWIG_arg_fail(1)) SWIG_fail
;
13591 arg2
= (double)(SWIG_As_double(obj1
));
13592 if (SWIG_arg_fail(2)) SWIG_fail
;
13596 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13600 arg4
= (bool)(SWIG_As_bool(obj3
));
13601 if (SWIG_arg_fail(4)) SWIG_fail
;
13605 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
13606 if (SWIG_arg_fail(5)) SWIG_fail
;
13609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13610 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
13612 wxPyEndAllowThreads(__tstate
);
13613 if (PyErr_Occurred()) SWIG_fail
;
13616 wxImage
* resultptr
;
13617 resultptr
= new wxImage((wxImage
&)(result
));
13618 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13626 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13627 PyObject
*resultobj
;
13628 wxImage
*arg1
= (wxImage
*) 0 ;
13629 bool arg2
= (bool) true ;
13630 SwigValueWrapper
<wxImage
> result
;
13631 PyObject
* obj0
= 0 ;
13632 PyObject
* obj1
= 0 ;
13633 char *kwnames
[] = {
13634 (char *) "self",(char *) "clockwise", NULL
13637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
13638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13639 if (SWIG_arg_fail(1)) SWIG_fail
;
13642 arg2
= (bool)(SWIG_As_bool(obj1
));
13643 if (SWIG_arg_fail(2)) SWIG_fail
;
13647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 result
= (arg1
)->Rotate90(arg2
);
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13654 wxImage
* resultptr
;
13655 resultptr
= new wxImage((wxImage
&)(result
));
13656 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13664 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13665 PyObject
*resultobj
;
13666 wxImage
*arg1
= (wxImage
*) 0 ;
13667 bool arg2
= (bool) true ;
13668 SwigValueWrapper
<wxImage
> result
;
13669 PyObject
* obj0
= 0 ;
13670 PyObject
* obj1
= 0 ;
13671 char *kwnames
[] = {
13672 (char *) "self",(char *) "horizontally", NULL
13675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
13676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13677 if (SWIG_arg_fail(1)) SWIG_fail
;
13680 arg2
= (bool)(SWIG_As_bool(obj1
));
13681 if (SWIG_arg_fail(2)) SWIG_fail
;
13685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13686 result
= (arg1
)->Mirror(arg2
);
13688 wxPyEndAllowThreads(__tstate
);
13689 if (PyErr_Occurred()) SWIG_fail
;
13692 wxImage
* resultptr
;
13693 resultptr
= new wxImage((wxImage
&)(result
));
13694 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13702 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13703 PyObject
*resultobj
;
13704 wxImage
*arg1
= (wxImage
*) 0 ;
13711 PyObject
* obj0
= 0 ;
13712 PyObject
* obj1
= 0 ;
13713 PyObject
* obj2
= 0 ;
13714 PyObject
* obj3
= 0 ;
13715 PyObject
* obj4
= 0 ;
13716 PyObject
* obj5
= 0 ;
13717 PyObject
* obj6
= 0 ;
13718 char *kwnames
[] = {
13719 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
13722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13724 if (SWIG_arg_fail(1)) SWIG_fail
;
13726 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13727 if (SWIG_arg_fail(2)) SWIG_fail
;
13730 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13731 if (SWIG_arg_fail(3)) SWIG_fail
;
13734 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13735 if (SWIG_arg_fail(4)) SWIG_fail
;
13738 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
13739 if (SWIG_arg_fail(5)) SWIG_fail
;
13742 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj5
));
13743 if (SWIG_arg_fail(6)) SWIG_fail
;
13746 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj6
));
13747 if (SWIG_arg_fail(7)) SWIG_fail
;
13750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13751 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13753 wxPyEndAllowThreads(__tstate
);
13754 if (PyErr_Occurred()) SWIG_fail
;
13756 Py_INCREF(Py_None
); resultobj
= Py_None
;
13763 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13764 PyObject
*resultobj
;
13765 wxImage
*arg1
= (wxImage
*) 0 ;
13769 SwigValueWrapper
<wxImage
> result
;
13770 PyObject
* obj0
= 0 ;
13771 PyObject
* obj1
= 0 ;
13772 PyObject
* obj2
= 0 ;
13773 PyObject
* obj3
= 0 ;
13774 char *kwnames
[] = {
13775 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
13778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13780 if (SWIG_arg_fail(1)) SWIG_fail
;
13782 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13783 if (SWIG_arg_fail(2)) SWIG_fail
;
13786 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13787 if (SWIG_arg_fail(3)) SWIG_fail
;
13790 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13791 if (SWIG_arg_fail(4)) SWIG_fail
;
13794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13795 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
13797 wxPyEndAllowThreads(__tstate
);
13798 if (PyErr_Occurred()) SWIG_fail
;
13801 wxImage
* resultptr
;
13802 resultptr
= new wxImage((wxImage
&)(result
));
13803 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13811 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13812 PyObject
*resultobj
;
13813 wxImage
*arg1
= (wxImage
*) 0 ;
13814 wxString
*arg2
= 0 ;
13815 wxString
*arg3
= 0 ;
13816 bool temp2
= false ;
13817 bool temp3
= false ;
13818 PyObject
* obj0
= 0 ;
13819 PyObject
* obj1
= 0 ;
13820 PyObject
* obj2
= 0 ;
13821 char *kwnames
[] = {
13822 (char *) "self",(char *) "name",(char *) "value", NULL
13825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13827 if (SWIG_arg_fail(1)) SWIG_fail
;
13829 arg2
= wxString_in_helper(obj1
);
13830 if (arg2
== NULL
) SWIG_fail
;
13834 arg3
= wxString_in_helper(obj2
);
13835 if (arg3
== NULL
) SWIG_fail
;
13839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13840 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13842 wxPyEndAllowThreads(__tstate
);
13843 if (PyErr_Occurred()) SWIG_fail
;
13845 Py_INCREF(Py_None
); resultobj
= Py_None
;
13868 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13869 PyObject
*resultobj
;
13870 wxImage
*arg1
= (wxImage
*) 0 ;
13871 wxString
*arg2
= 0 ;
13873 bool temp2
= false ;
13874 PyObject
* obj0
= 0 ;
13875 PyObject
* obj1
= 0 ;
13876 PyObject
* obj2
= 0 ;
13877 char *kwnames
[] = {
13878 (char *) "self",(char *) "name",(char *) "value", NULL
13881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13883 if (SWIG_arg_fail(1)) SWIG_fail
;
13885 arg2
= wxString_in_helper(obj1
);
13886 if (arg2
== NULL
) SWIG_fail
;
13890 arg3
= (int)(SWIG_As_int(obj2
));
13891 if (SWIG_arg_fail(3)) SWIG_fail
;
13894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13895 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
13897 wxPyEndAllowThreads(__tstate
);
13898 if (PyErr_Occurred()) SWIG_fail
;
13900 Py_INCREF(Py_None
); resultobj
= Py_None
;
13915 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13916 PyObject
*resultobj
;
13917 wxImage
*arg1
= (wxImage
*) 0 ;
13918 wxString
*arg2
= 0 ;
13920 bool temp2
= false ;
13921 PyObject
* obj0
= 0 ;
13922 PyObject
* obj1
= 0 ;
13923 char *kwnames
[] = {
13924 (char *) "self",(char *) "name", NULL
13927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13929 if (SWIG_arg_fail(1)) SWIG_fail
;
13931 arg2
= wxString_in_helper(obj1
);
13932 if (arg2
== NULL
) SWIG_fail
;
13936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13937 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
13939 wxPyEndAllowThreads(__tstate
);
13940 if (PyErr_Occurred()) SWIG_fail
;
13944 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13946 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13963 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13964 PyObject
*resultobj
;
13965 wxImage
*arg1
= (wxImage
*) 0 ;
13966 wxString
*arg2
= 0 ;
13968 bool temp2
= false ;
13969 PyObject
* obj0
= 0 ;
13970 PyObject
* obj1
= 0 ;
13971 char *kwnames
[] = {
13972 (char *) "self",(char *) "name", NULL
13975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13977 if (SWIG_arg_fail(1)) SWIG_fail
;
13979 arg2
= wxString_in_helper(obj1
);
13980 if (arg2
== NULL
) SWIG_fail
;
13984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13985 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
13987 wxPyEndAllowThreads(__tstate
);
13988 if (PyErr_Occurred()) SWIG_fail
;
13991 resultobj
= SWIG_From_int((int)(result
));
14007 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14008 PyObject
*resultobj
;
14009 wxImage
*arg1
= (wxImage
*) 0 ;
14010 wxString
*arg2
= 0 ;
14012 bool temp2
= false ;
14013 PyObject
* obj0
= 0 ;
14014 PyObject
* obj1
= 0 ;
14015 char *kwnames
[] = {
14016 (char *) "self",(char *) "name", NULL
14019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
14020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14021 if (SWIG_arg_fail(1)) SWIG_fail
;
14023 arg2
= wxString_in_helper(obj1
);
14024 if (arg2
== NULL
) SWIG_fail
;
14028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14029 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
14031 wxPyEndAllowThreads(__tstate
);
14032 if (PyErr_Occurred()) SWIG_fail
;
14035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14051 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14052 PyObject
*resultobj
;
14053 wxImage
*arg1
= (wxImage
*) 0 ;
14054 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
14055 unsigned long result
;
14056 PyObject
* obj0
= 0 ;
14057 PyObject
* obj1
= 0 ;
14058 char *kwnames
[] = {
14059 (char *) "self",(char *) "stopafter", NULL
14062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
14063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14064 if (SWIG_arg_fail(1)) SWIG_fail
;
14067 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
14068 if (SWIG_arg_fail(2)) SWIG_fail
;
14072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14073 result
= (unsigned long)(arg1
)->CountColours(arg2
);
14075 wxPyEndAllowThreads(__tstate
);
14076 if (PyErr_Occurred()) SWIG_fail
;
14079 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
14087 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14088 PyObject
*resultobj
;
14089 wxImage
*arg1
= (wxImage
*) 0 ;
14090 wxImageHistogram
*arg2
= 0 ;
14091 unsigned long result
;
14092 PyObject
* obj0
= 0 ;
14093 PyObject
* obj1
= 0 ;
14094 char *kwnames
[] = {
14095 (char *) "self",(char *) "h", NULL
14098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
14099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14100 if (SWIG_arg_fail(1)) SWIG_fail
;
14102 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
14103 if (SWIG_arg_fail(2)) SWIG_fail
;
14104 if (arg2
== NULL
) {
14105 SWIG_null_ref("wxImageHistogram");
14107 if (SWIG_arg_fail(2)) SWIG_fail
;
14110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14111 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
14113 wxPyEndAllowThreads(__tstate
);
14114 if (PyErr_Occurred()) SWIG_fail
;
14117 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
14125 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14126 PyObject
*resultobj
;
14127 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14128 PyObject
* obj0
= 0 ;
14129 char *kwnames
[] = {
14130 (char *) "handler", NULL
14133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
14134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
14135 if (SWIG_arg_fail(1)) SWIG_fail
;
14137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14138 wxImage::AddHandler(arg1
);
14140 wxPyEndAllowThreads(__tstate
);
14141 if (PyErr_Occurred()) SWIG_fail
;
14143 Py_INCREF(Py_None
); resultobj
= Py_None
;
14150 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14151 PyObject
*resultobj
;
14152 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14153 PyObject
* obj0
= 0 ;
14154 char *kwnames
[] = {
14155 (char *) "handler", NULL
14158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
14159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
14160 if (SWIG_arg_fail(1)) SWIG_fail
;
14162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14163 wxImage::InsertHandler(arg1
);
14165 wxPyEndAllowThreads(__tstate
);
14166 if (PyErr_Occurred()) SWIG_fail
;
14168 Py_INCREF(Py_None
); resultobj
= Py_None
;
14175 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14176 PyObject
*resultobj
;
14177 wxString
*arg1
= 0 ;
14179 bool temp1
= false ;
14180 PyObject
* obj0
= 0 ;
14181 char *kwnames
[] = {
14182 (char *) "name", NULL
14185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
14187 arg1
= wxString_in_helper(obj0
);
14188 if (arg1
== NULL
) SWIG_fail
;
14192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14193 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
14195 wxPyEndAllowThreads(__tstate
);
14196 if (PyErr_Occurred()) SWIG_fail
;
14199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14215 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14216 PyObject
*resultobj
;
14218 char *kwnames
[] = {
14222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
14224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14225 result
= wxImage::GetImageExtWildcard();
14227 wxPyEndAllowThreads(__tstate
);
14228 if (PyErr_Occurred()) SWIG_fail
;
14232 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14234 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14243 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14244 PyObject
*resultobj
;
14245 wxImage
*arg1
= (wxImage
*) 0 ;
14246 int arg2
= (int) -1 ;
14248 PyObject
* obj0
= 0 ;
14249 PyObject
* obj1
= 0 ;
14250 char *kwnames
[] = {
14251 (char *) "self",(char *) "depth", NULL
14254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
14255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14256 if (SWIG_arg_fail(1)) SWIG_fail
;
14259 arg2
= (int)(SWIG_As_int(obj1
));
14260 if (SWIG_arg_fail(2)) SWIG_fail
;
14264 if (!wxPyCheckForApp()) SWIG_fail
;
14265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14266 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
14268 wxPyEndAllowThreads(__tstate
);
14269 if (PyErr_Occurred()) SWIG_fail
;
14272 wxBitmap
* resultptr
;
14273 resultptr
= new wxBitmap((wxBitmap
&)(result
));
14274 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14282 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14283 PyObject
*resultobj
;
14284 wxImage
*arg1
= (wxImage
*) 0 ;
14289 PyObject
* obj0
= 0 ;
14290 PyObject
* obj1
= 0 ;
14291 PyObject
* obj2
= 0 ;
14292 PyObject
* obj3
= 0 ;
14293 char *kwnames
[] = {
14294 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
14297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14299 if (SWIG_arg_fail(1)) SWIG_fail
;
14301 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
14302 if (SWIG_arg_fail(2)) SWIG_fail
;
14305 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
14306 if (SWIG_arg_fail(3)) SWIG_fail
;
14309 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
14310 if (SWIG_arg_fail(4)) SWIG_fail
;
14313 if (!wxPyCheckForApp()) SWIG_fail
;
14314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14315 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
14317 wxPyEndAllowThreads(__tstate
);
14318 if (PyErr_Occurred()) SWIG_fail
;
14321 wxBitmap
* resultptr
;
14322 resultptr
= new wxBitmap((wxBitmap
&)(result
));
14323 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14331 static PyObject
*_wrap_Image_RotateHue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14332 PyObject
*resultobj
;
14333 wxImage
*arg1
= (wxImage
*) 0 ;
14335 PyObject
* obj0
= 0 ;
14336 PyObject
* obj1
= 0 ;
14337 char *kwnames
[] = {
14338 (char *) "self",(char *) "angle", NULL
14341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_RotateHue",kwnames
,&obj0
,&obj1
)) goto fail
;
14342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14343 if (SWIG_arg_fail(1)) SWIG_fail
;
14345 arg2
= (double)(SWIG_As_double(obj1
));
14346 if (SWIG_arg_fail(2)) SWIG_fail
;
14349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14350 (arg1
)->RotateHue(arg2
);
14352 wxPyEndAllowThreads(__tstate
);
14353 if (PyErr_Occurred()) SWIG_fail
;
14355 Py_INCREF(Py_None
); resultobj
= Py_None
;
14362 static PyObject
*_wrap_Image_RGBtoHSV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14363 PyObject
*resultobj
;
14364 wxImage_RGBValue arg1
;
14365 wxImage_HSVValue result
;
14366 PyObject
* obj0
= 0 ;
14367 char *kwnames
[] = {
14368 (char *) "rgb", NULL
14371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RGBtoHSV",kwnames
,&obj0
)) goto fail
;
14373 wxImage_RGBValue
* argp
;
14374 SWIG_Python_ConvertPtr(obj0
, (void **)&argp
, SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_EXCEPTION
);
14375 if (SWIG_arg_fail(1)) SWIG_fail
;
14376 if (argp
== NULL
) {
14377 SWIG_null_ref("wxImage_RGBValue");
14379 if (SWIG_arg_fail(1)) SWIG_fail
;
14383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14384 result
= wxImage::RGBtoHSV(arg1
);
14386 wxPyEndAllowThreads(__tstate
);
14387 if (PyErr_Occurred()) SWIG_fail
;
14390 wxImage_HSVValue
* resultptr
;
14391 resultptr
= new wxImage_HSVValue((wxImage_HSVValue
&)(result
));
14392 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage_HSVValue
, 1);
14400 static PyObject
*_wrap_Image_HSVtoRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14401 PyObject
*resultobj
;
14402 wxImage_HSVValue arg1
;
14403 wxImage_RGBValue result
;
14404 PyObject
* obj0
= 0 ;
14405 char *kwnames
[] = {
14406 (char *) "hsv", NULL
14409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HSVtoRGB",kwnames
,&obj0
)) goto fail
;
14411 wxImage_HSVValue
* argp
;
14412 SWIG_Python_ConvertPtr(obj0
, (void **)&argp
, SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_EXCEPTION
);
14413 if (SWIG_arg_fail(1)) SWIG_fail
;
14414 if (argp
== NULL
) {
14415 SWIG_null_ref("wxImage_HSVValue");
14417 if (SWIG_arg_fail(1)) SWIG_fail
;
14421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14422 result
= wxImage::HSVtoRGB(arg1
);
14424 wxPyEndAllowThreads(__tstate
);
14425 if (PyErr_Occurred()) SWIG_fail
;
14428 wxImage_RGBValue
* resultptr
;
14429 resultptr
= new wxImage_RGBValue((wxImage_RGBValue
&)(result
));
14430 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage_RGBValue
, 1);
14438 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
14440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14441 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
14443 return Py_BuildValue((char *)"");
14445 static int _wrap_NullImage_set(PyObject
*) {
14446 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
14451 static PyObject
*_wrap_NullImage_get(void) {
14454 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
14459 static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject
*) {
14460 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
14465 static PyObject
*_wrap_IMAGE_OPTION_FILENAME_get(void) {
14470 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
14472 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
14479 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
14480 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
14485 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
14490 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
14492 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
14499 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
14500 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
14505 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
14510 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
14512 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
14519 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
14520 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
14525 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
14530 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
14532 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
14539 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
14540 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
14545 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
14550 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
14552 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
14559 static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
14560 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
14565 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
14570 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
14572 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
14579 static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
14580 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
14585 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
14590 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
14592 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
14599 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
14600 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
14605 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
14610 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
14612 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
14619 static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject
*) {
14620 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
14625 static PyObject
*_wrap_IMAGE_OPTION_QUALITY_get(void) {
14630 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14632 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14639 static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
14640 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
14645 static PyObject
*_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
14650 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14652 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14659 static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
14660 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
14665 static PyObject
*_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
14670 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14672 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14679 static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
14680 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
14685 static PyObject
*_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
14690 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14692 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14699 static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
14700 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
14705 static PyObject
*_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
14710 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14712 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14719 static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
14720 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
14725 static PyObject
*_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) {
14730 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14732 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14739 static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
14740 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
14745 static PyObject
*_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) {
14750 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14752 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14759 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14760 PyObject
*resultobj
;
14761 wxBMPHandler
*result
;
14762 char *kwnames
[] = {
14766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
14768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14769 result
= (wxBMPHandler
*)new wxBMPHandler();
14771 wxPyEndAllowThreads(__tstate
);
14772 if (PyErr_Occurred()) SWIG_fail
;
14774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
14781 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
14783 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14784 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
14786 return Py_BuildValue((char *)"");
14788 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14789 PyObject
*resultobj
;
14790 wxICOHandler
*result
;
14791 char *kwnames
[] = {
14795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
14797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14798 result
= (wxICOHandler
*)new wxICOHandler();
14800 wxPyEndAllowThreads(__tstate
);
14801 if (PyErr_Occurred()) SWIG_fail
;
14803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
14810 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
14812 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14813 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
14815 return Py_BuildValue((char *)"");
14817 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14818 PyObject
*resultobj
;
14819 wxCURHandler
*result
;
14820 char *kwnames
[] = {
14824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
14826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14827 result
= (wxCURHandler
*)new wxCURHandler();
14829 wxPyEndAllowThreads(__tstate
);
14830 if (PyErr_Occurred()) SWIG_fail
;
14832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
14839 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
14841 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14842 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
14844 return Py_BuildValue((char *)"");
14846 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14847 PyObject
*resultobj
;
14848 wxANIHandler
*result
;
14849 char *kwnames
[] = {
14853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
14855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14856 result
= (wxANIHandler
*)new wxANIHandler();
14858 wxPyEndAllowThreads(__tstate
);
14859 if (PyErr_Occurred()) SWIG_fail
;
14861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
14868 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
14870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14871 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
14873 return Py_BuildValue((char *)"");
14875 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14876 PyObject
*resultobj
;
14877 wxPNGHandler
*result
;
14878 char *kwnames
[] = {
14882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
14884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14885 result
= (wxPNGHandler
*)new wxPNGHandler();
14887 wxPyEndAllowThreads(__tstate
);
14888 if (PyErr_Occurred()) SWIG_fail
;
14890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
14897 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
14899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14900 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
14902 return Py_BuildValue((char *)"");
14904 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14905 PyObject
*resultobj
;
14906 wxGIFHandler
*result
;
14907 char *kwnames
[] = {
14911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
14913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14914 result
= (wxGIFHandler
*)new wxGIFHandler();
14916 wxPyEndAllowThreads(__tstate
);
14917 if (PyErr_Occurred()) SWIG_fail
;
14919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
14926 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
14928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14929 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
14931 return Py_BuildValue((char *)"");
14933 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14934 PyObject
*resultobj
;
14935 wxPCXHandler
*result
;
14936 char *kwnames
[] = {
14940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
14942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14943 result
= (wxPCXHandler
*)new wxPCXHandler();
14945 wxPyEndAllowThreads(__tstate
);
14946 if (PyErr_Occurred()) SWIG_fail
;
14948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
14955 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
14957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14958 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
14960 return Py_BuildValue((char *)"");
14962 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14963 PyObject
*resultobj
;
14964 wxJPEGHandler
*result
;
14965 char *kwnames
[] = {
14969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
14971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14972 result
= (wxJPEGHandler
*)new wxJPEGHandler();
14974 wxPyEndAllowThreads(__tstate
);
14975 if (PyErr_Occurred()) SWIG_fail
;
14977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
14984 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
14986 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14987 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
14989 return Py_BuildValue((char *)"");
14991 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14992 PyObject
*resultobj
;
14993 wxPNMHandler
*result
;
14994 char *kwnames
[] = {
14998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
15000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15001 result
= (wxPNMHandler
*)new wxPNMHandler();
15003 wxPyEndAllowThreads(__tstate
);
15004 if (PyErr_Occurred()) SWIG_fail
;
15006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
15013 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
15015 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15016 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
15018 return Py_BuildValue((char *)"");
15020 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15021 PyObject
*resultobj
;
15022 wxXPMHandler
*result
;
15023 char *kwnames
[] = {
15027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
15029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15030 result
= (wxXPMHandler
*)new wxXPMHandler();
15032 wxPyEndAllowThreads(__tstate
);
15033 if (PyErr_Occurred()) SWIG_fail
;
15035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
15042 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
15044 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15045 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
15047 return Py_BuildValue((char *)"");
15049 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15050 PyObject
*resultobj
;
15051 wxTIFFHandler
*result
;
15052 char *kwnames
[] = {
15056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
15058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15059 result
= (wxTIFFHandler
*)new wxTIFFHandler();
15061 wxPyEndAllowThreads(__tstate
);
15062 if (PyErr_Occurred()) SWIG_fail
;
15064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
15071 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
15073 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15074 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
15076 return Py_BuildValue((char *)"");
15078 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15079 PyObject
*resultobj
;
15080 wxImage
*arg1
= 0 ;
15081 wxImage
*arg2
= 0 ;
15082 int arg3
= (int) 236 ;
15083 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
15085 PyObject
* obj0
= 0 ;
15086 PyObject
* obj1
= 0 ;
15087 PyObject
* obj2
= 0 ;
15088 PyObject
* obj3
= 0 ;
15089 char *kwnames
[] = {
15090 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
15093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
15096 if (SWIG_arg_fail(1)) SWIG_fail
;
15097 if (arg1
== NULL
) {
15098 SWIG_null_ref("wxImage");
15100 if (SWIG_arg_fail(1)) SWIG_fail
;
15103 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
15104 if (SWIG_arg_fail(2)) SWIG_fail
;
15105 if (arg2
== NULL
) {
15106 SWIG_null_ref("wxImage");
15108 if (SWIG_arg_fail(2)) SWIG_fail
;
15112 arg3
= (int)(SWIG_As_int(obj2
));
15113 if (SWIG_arg_fail(3)) SWIG_fail
;
15118 arg4
= (int)(SWIG_As_int(obj3
));
15119 if (SWIG_arg_fail(4)) SWIG_fail
;
15123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15124 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
15126 wxPyEndAllowThreads(__tstate
);
15127 if (PyErr_Occurred()) SWIG_fail
;
15130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15138 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
15140 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15141 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
15143 return Py_BuildValue((char *)"");
15145 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15146 PyObject
*resultobj
;
15147 wxEvtHandler
*result
;
15148 char *kwnames
[] = {
15152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
15154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15155 result
= (wxEvtHandler
*)new wxEvtHandler();
15157 wxPyEndAllowThreads(__tstate
);
15158 if (PyErr_Occurred()) SWIG_fail
;
15160 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
15167 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15168 PyObject
*resultobj
;
15169 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15170 wxEvtHandler
*result
;
15171 PyObject
* obj0
= 0 ;
15172 char *kwnames
[] = {
15173 (char *) "self", NULL
15176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
15177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15178 if (SWIG_arg_fail(1)) SWIG_fail
;
15180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15181 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
15183 wxPyEndAllowThreads(__tstate
);
15184 if (PyErr_Occurred()) SWIG_fail
;
15187 resultobj
= wxPyMake_wxObject(result
, 0);
15195 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15196 PyObject
*resultobj
;
15197 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15198 wxEvtHandler
*result
;
15199 PyObject
* obj0
= 0 ;
15200 char *kwnames
[] = {
15201 (char *) "self", NULL
15204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
15205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15206 if (SWIG_arg_fail(1)) SWIG_fail
;
15208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15209 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
15211 wxPyEndAllowThreads(__tstate
);
15212 if (PyErr_Occurred()) SWIG_fail
;
15215 resultobj
= wxPyMake_wxObject(result
, 0);
15223 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15224 PyObject
*resultobj
;
15225 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15226 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
15227 PyObject
* obj0
= 0 ;
15228 PyObject
* obj1
= 0 ;
15229 char *kwnames
[] = {
15230 (char *) "self",(char *) "handler", NULL
15233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
15234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15235 if (SWIG_arg_fail(1)) SWIG_fail
;
15236 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15237 if (SWIG_arg_fail(2)) SWIG_fail
;
15239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15240 (arg1
)->SetNextHandler(arg2
);
15242 wxPyEndAllowThreads(__tstate
);
15243 if (PyErr_Occurred()) SWIG_fail
;
15245 Py_INCREF(Py_None
); resultobj
= Py_None
;
15252 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15253 PyObject
*resultobj
;
15254 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15255 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
15256 PyObject
* obj0
= 0 ;
15257 PyObject
* obj1
= 0 ;
15258 char *kwnames
[] = {
15259 (char *) "self",(char *) "handler", NULL
15262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
15263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15264 if (SWIG_arg_fail(1)) SWIG_fail
;
15265 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15266 if (SWIG_arg_fail(2)) SWIG_fail
;
15268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15269 (arg1
)->SetPreviousHandler(arg2
);
15271 wxPyEndAllowThreads(__tstate
);
15272 if (PyErr_Occurred()) SWIG_fail
;
15274 Py_INCREF(Py_None
); resultobj
= Py_None
;
15281 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15282 PyObject
*resultobj
;
15283 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15285 PyObject
* obj0
= 0 ;
15286 char *kwnames
[] = {
15287 (char *) "self", NULL
15290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
15291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15292 if (SWIG_arg_fail(1)) SWIG_fail
;
15294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15295 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
15297 wxPyEndAllowThreads(__tstate
);
15298 if (PyErr_Occurred()) SWIG_fail
;
15301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15309 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15310 PyObject
*resultobj
;
15311 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15313 PyObject
* obj0
= 0 ;
15314 PyObject
* obj1
= 0 ;
15315 char *kwnames
[] = {
15316 (char *) "self",(char *) "enabled", NULL
15319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
15320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15321 if (SWIG_arg_fail(1)) SWIG_fail
;
15323 arg2
= (bool)(SWIG_As_bool(obj1
));
15324 if (SWIG_arg_fail(2)) SWIG_fail
;
15327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15328 (arg1
)->SetEvtHandlerEnabled(arg2
);
15330 wxPyEndAllowThreads(__tstate
);
15331 if (PyErr_Occurred()) SWIG_fail
;
15333 Py_INCREF(Py_None
); resultobj
= Py_None
;
15340 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15341 PyObject
*resultobj
;
15342 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15343 wxEvent
*arg2
= 0 ;
15345 PyObject
* obj0
= 0 ;
15346 PyObject
* obj1
= 0 ;
15347 char *kwnames
[] = {
15348 (char *) "self",(char *) "event", NULL
15351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15353 if (SWIG_arg_fail(1)) SWIG_fail
;
15355 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15356 if (SWIG_arg_fail(2)) SWIG_fail
;
15357 if (arg2
== NULL
) {
15358 SWIG_null_ref("wxEvent");
15360 if (SWIG_arg_fail(2)) SWIG_fail
;
15363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15364 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
15366 wxPyEndAllowThreads(__tstate
);
15367 if (PyErr_Occurred()) SWIG_fail
;
15370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15378 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15379 PyObject
*resultobj
;
15380 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15381 wxEvent
*arg2
= 0 ;
15382 PyObject
* obj0
= 0 ;
15383 PyObject
* obj1
= 0 ;
15384 char *kwnames
[] = {
15385 (char *) "self",(char *) "event", NULL
15388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15390 if (SWIG_arg_fail(1)) SWIG_fail
;
15392 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15393 if (SWIG_arg_fail(2)) SWIG_fail
;
15394 if (arg2
== NULL
) {
15395 SWIG_null_ref("wxEvent");
15397 if (SWIG_arg_fail(2)) SWIG_fail
;
15400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15401 (arg1
)->AddPendingEvent(*arg2
);
15403 wxPyEndAllowThreads(__tstate
);
15404 if (PyErr_Occurred()) SWIG_fail
;
15406 Py_INCREF(Py_None
); resultobj
= Py_None
;
15413 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15414 PyObject
*resultobj
;
15415 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15416 PyObject
* obj0
= 0 ;
15417 char *kwnames
[] = {
15418 (char *) "self", NULL
15421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
15422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15423 if (SWIG_arg_fail(1)) SWIG_fail
;
15425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15426 (arg1
)->ProcessPendingEvents();
15428 wxPyEndAllowThreads(__tstate
);
15429 if (PyErr_Occurred()) SWIG_fail
;
15431 Py_INCREF(Py_None
); resultobj
= Py_None
;
15438 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15439 PyObject
*resultobj
;
15440 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15444 PyObject
*arg5
= (PyObject
*) 0 ;
15445 PyObject
* obj0
= 0 ;
15446 PyObject
* obj1
= 0 ;
15447 PyObject
* obj2
= 0 ;
15448 PyObject
* obj3
= 0 ;
15449 PyObject
* obj4
= 0 ;
15450 char *kwnames
[] = {
15451 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
15454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15456 if (SWIG_arg_fail(1)) SWIG_fail
;
15458 arg2
= (int)(SWIG_As_int(obj1
));
15459 if (SWIG_arg_fail(2)) SWIG_fail
;
15462 arg3
= (int)(SWIG_As_int(obj2
));
15463 if (SWIG_arg_fail(3)) SWIG_fail
;
15466 arg4
= (int)(SWIG_As_int(obj3
));
15467 if (SWIG_arg_fail(4)) SWIG_fail
;
15471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15472 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
15474 wxPyEndAllowThreads(__tstate
);
15475 if (PyErr_Occurred()) SWIG_fail
;
15477 Py_INCREF(Py_None
); resultobj
= Py_None
;
15484 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15485 PyObject
*resultobj
;
15486 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15488 int arg3
= (int) -1 ;
15489 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
15491 PyObject
* obj0
= 0 ;
15492 PyObject
* obj1
= 0 ;
15493 PyObject
* obj2
= 0 ;
15494 PyObject
* obj3
= 0 ;
15495 char *kwnames
[] = {
15496 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
15499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15501 if (SWIG_arg_fail(1)) SWIG_fail
;
15503 arg2
= (int)(SWIG_As_int(obj1
));
15504 if (SWIG_arg_fail(2)) SWIG_fail
;
15508 arg3
= (int)(SWIG_As_int(obj2
));
15509 if (SWIG_arg_fail(3)) SWIG_fail
;
15514 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
15515 if (SWIG_arg_fail(4)) SWIG_fail
;
15519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15520 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
15522 wxPyEndAllowThreads(__tstate
);
15523 if (PyErr_Occurred()) SWIG_fail
;
15526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15534 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15535 PyObject
*resultobj
;
15536 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15537 PyObject
*arg2
= (PyObject
*) 0 ;
15538 bool arg3
= (bool) true ;
15539 PyObject
* obj0
= 0 ;
15540 PyObject
* obj1
= 0 ;
15541 PyObject
* obj2
= 0 ;
15542 char *kwnames
[] = {
15543 (char *) "self",(char *) "_self",(char *) "incref", NULL
15546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15548 if (SWIG_arg_fail(1)) SWIG_fail
;
15552 arg3
= (bool)(SWIG_As_bool(obj2
));
15553 if (SWIG_arg_fail(3)) SWIG_fail
;
15557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15558 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
15560 wxPyEndAllowThreads(__tstate
);
15561 if (PyErr_Occurred()) SWIG_fail
;
15563 Py_INCREF(Py_None
); resultobj
= Py_None
;
15570 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
15572 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15573 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
15575 return Py_BuildValue((char *)"");
15577 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15578 PyObject
*resultobj
;
15579 wxEventType result
;
15580 char *kwnames
[] = {
15584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
15586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15587 result
= (wxEventType
)wxNewEventType();
15589 wxPyEndAllowThreads(__tstate
);
15590 if (PyErr_Occurred()) SWIG_fail
;
15593 resultobj
= SWIG_From_int((int)(result
));
15601 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15602 PyObject
*resultobj
;
15603 wxEvent
*arg1
= (wxEvent
*) 0 ;
15604 PyObject
* obj0
= 0 ;
15605 char *kwnames
[] = {
15606 (char *) "self", NULL
15609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
15610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15611 if (SWIG_arg_fail(1)) SWIG_fail
;
15613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15616 wxPyEndAllowThreads(__tstate
);
15617 if (PyErr_Occurred()) SWIG_fail
;
15619 Py_INCREF(Py_None
); resultobj
= Py_None
;
15626 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15627 PyObject
*resultobj
;
15628 wxEvent
*arg1
= (wxEvent
*) 0 ;
15630 PyObject
* obj0
= 0 ;
15631 PyObject
* obj1
= 0 ;
15632 char *kwnames
[] = {
15633 (char *) "self",(char *) "typ", NULL
15636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
15637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15638 if (SWIG_arg_fail(1)) SWIG_fail
;
15640 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
15641 if (SWIG_arg_fail(2)) SWIG_fail
;
15644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15645 (arg1
)->SetEventType(arg2
);
15647 wxPyEndAllowThreads(__tstate
);
15648 if (PyErr_Occurred()) SWIG_fail
;
15650 Py_INCREF(Py_None
); resultobj
= Py_None
;
15657 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15658 PyObject
*resultobj
;
15659 wxEvent
*arg1
= (wxEvent
*) 0 ;
15660 wxEventType result
;
15661 PyObject
* obj0
= 0 ;
15662 char *kwnames
[] = {
15663 (char *) "self", NULL
15666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
15667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15668 if (SWIG_arg_fail(1)) SWIG_fail
;
15670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15671 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
15673 wxPyEndAllowThreads(__tstate
);
15674 if (PyErr_Occurred()) SWIG_fail
;
15677 resultobj
= SWIG_From_int((int)(result
));
15685 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15686 PyObject
*resultobj
;
15687 wxEvent
*arg1
= (wxEvent
*) 0 ;
15689 PyObject
* obj0
= 0 ;
15690 char *kwnames
[] = {
15691 (char *) "self", NULL
15694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
15695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15696 if (SWIG_arg_fail(1)) SWIG_fail
;
15698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15699 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
15701 wxPyEndAllowThreads(__tstate
);
15702 if (PyErr_Occurred()) SWIG_fail
;
15705 resultobj
= wxPyMake_wxObject(result
, 0);
15713 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15714 PyObject
*resultobj
;
15715 wxEvent
*arg1
= (wxEvent
*) 0 ;
15716 wxObject
*arg2
= (wxObject
*) 0 ;
15717 PyObject
* obj0
= 0 ;
15718 PyObject
* obj1
= 0 ;
15719 char *kwnames
[] = {
15720 (char *) "self",(char *) "obj", NULL
15723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15725 if (SWIG_arg_fail(1)) SWIG_fail
;
15726 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
15727 if (SWIG_arg_fail(2)) SWIG_fail
;
15729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15730 (arg1
)->SetEventObject(arg2
);
15732 wxPyEndAllowThreads(__tstate
);
15733 if (PyErr_Occurred()) SWIG_fail
;
15735 Py_INCREF(Py_None
); resultobj
= Py_None
;
15742 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15743 PyObject
*resultobj
;
15744 wxEvent
*arg1
= (wxEvent
*) 0 ;
15746 PyObject
* obj0
= 0 ;
15747 char *kwnames
[] = {
15748 (char *) "self", NULL
15751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
15752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15753 if (SWIG_arg_fail(1)) SWIG_fail
;
15755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15756 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
15758 wxPyEndAllowThreads(__tstate
);
15759 if (PyErr_Occurred()) SWIG_fail
;
15762 resultobj
= SWIG_From_long((long)(result
));
15770 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15771 PyObject
*resultobj
;
15772 wxEvent
*arg1
= (wxEvent
*) 0 ;
15773 long arg2
= (long) 0 ;
15774 PyObject
* obj0
= 0 ;
15775 PyObject
* obj1
= 0 ;
15776 char *kwnames
[] = {
15777 (char *) "self",(char *) "ts", NULL
15780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
15781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15782 if (SWIG_arg_fail(1)) SWIG_fail
;
15785 arg2
= (long)(SWIG_As_long(obj1
));
15786 if (SWIG_arg_fail(2)) SWIG_fail
;
15790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15791 (arg1
)->SetTimestamp(arg2
);
15793 wxPyEndAllowThreads(__tstate
);
15794 if (PyErr_Occurred()) SWIG_fail
;
15796 Py_INCREF(Py_None
); resultobj
= Py_None
;
15803 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15804 PyObject
*resultobj
;
15805 wxEvent
*arg1
= (wxEvent
*) 0 ;
15807 PyObject
* obj0
= 0 ;
15808 char *kwnames
[] = {
15809 (char *) "self", NULL
15812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
15813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15814 if (SWIG_arg_fail(1)) SWIG_fail
;
15816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15817 result
= (int)((wxEvent
const *)arg1
)->GetId();
15819 wxPyEndAllowThreads(__tstate
);
15820 if (PyErr_Occurred()) SWIG_fail
;
15823 resultobj
= SWIG_From_int((int)(result
));
15831 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15832 PyObject
*resultobj
;
15833 wxEvent
*arg1
= (wxEvent
*) 0 ;
15835 PyObject
* obj0
= 0 ;
15836 PyObject
* obj1
= 0 ;
15837 char *kwnames
[] = {
15838 (char *) "self",(char *) "Id", NULL
15841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
15842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15843 if (SWIG_arg_fail(1)) SWIG_fail
;
15845 arg2
= (int)(SWIG_As_int(obj1
));
15846 if (SWIG_arg_fail(2)) SWIG_fail
;
15849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15850 (arg1
)->SetId(arg2
);
15852 wxPyEndAllowThreads(__tstate
);
15853 if (PyErr_Occurred()) SWIG_fail
;
15855 Py_INCREF(Py_None
); resultobj
= Py_None
;
15862 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15863 PyObject
*resultobj
;
15864 wxEvent
*arg1
= (wxEvent
*) 0 ;
15866 PyObject
* obj0
= 0 ;
15867 char *kwnames
[] = {
15868 (char *) "self", NULL
15871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
15872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15873 if (SWIG_arg_fail(1)) SWIG_fail
;
15875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15876 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
15878 wxPyEndAllowThreads(__tstate
);
15879 if (PyErr_Occurred()) SWIG_fail
;
15882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15890 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15891 PyObject
*resultobj
;
15892 wxEvent
*arg1
= (wxEvent
*) 0 ;
15893 bool arg2
= (bool) true ;
15894 PyObject
* obj0
= 0 ;
15895 PyObject
* obj1
= 0 ;
15896 char *kwnames
[] = {
15897 (char *) "self",(char *) "skip", NULL
15900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
15901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15902 if (SWIG_arg_fail(1)) SWIG_fail
;
15905 arg2
= (bool)(SWIG_As_bool(obj1
));
15906 if (SWIG_arg_fail(2)) SWIG_fail
;
15910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15911 (arg1
)->Skip(arg2
);
15913 wxPyEndAllowThreads(__tstate
);
15914 if (PyErr_Occurred()) SWIG_fail
;
15916 Py_INCREF(Py_None
); resultobj
= Py_None
;
15923 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15924 PyObject
*resultobj
;
15925 wxEvent
*arg1
= (wxEvent
*) 0 ;
15927 PyObject
* obj0
= 0 ;
15928 char *kwnames
[] = {
15929 (char *) "self", NULL
15932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
15933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15934 if (SWIG_arg_fail(1)) SWIG_fail
;
15936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15937 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
15939 wxPyEndAllowThreads(__tstate
);
15940 if (PyErr_Occurred()) SWIG_fail
;
15943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15951 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15952 PyObject
*resultobj
;
15953 wxEvent
*arg1
= (wxEvent
*) 0 ;
15955 PyObject
* obj0
= 0 ;
15956 char *kwnames
[] = {
15957 (char *) "self", NULL
15960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
15961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15962 if (SWIG_arg_fail(1)) SWIG_fail
;
15964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15965 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
15967 wxPyEndAllowThreads(__tstate
);
15968 if (PyErr_Occurred()) SWIG_fail
;
15971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15979 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15980 PyObject
*resultobj
;
15981 wxEvent
*arg1
= (wxEvent
*) 0 ;
15983 PyObject
* obj0
= 0 ;
15984 char *kwnames
[] = {
15985 (char *) "self", NULL
15988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
15989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15990 if (SWIG_arg_fail(1)) SWIG_fail
;
15992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15993 result
= (int)(arg1
)->StopPropagation();
15995 wxPyEndAllowThreads(__tstate
);
15996 if (PyErr_Occurred()) SWIG_fail
;
15999 resultobj
= SWIG_From_int((int)(result
));
16007 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16008 PyObject
*resultobj
;
16009 wxEvent
*arg1
= (wxEvent
*) 0 ;
16011 PyObject
* obj0
= 0 ;
16012 PyObject
* obj1
= 0 ;
16013 char *kwnames
[] = {
16014 (char *) "self",(char *) "propagationLevel", NULL
16017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
16018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
16019 if (SWIG_arg_fail(1)) SWIG_fail
;
16021 arg2
= (int)(SWIG_As_int(obj1
));
16022 if (SWIG_arg_fail(2)) SWIG_fail
;
16025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16026 (arg1
)->ResumePropagation(arg2
);
16028 wxPyEndAllowThreads(__tstate
);
16029 if (PyErr_Occurred()) SWIG_fail
;
16031 Py_INCREF(Py_None
); resultobj
= Py_None
;
16038 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16039 PyObject
*resultobj
;
16040 wxEvent
*arg1
= (wxEvent
*) 0 ;
16042 PyObject
* obj0
= 0 ;
16043 char *kwnames
[] = {
16044 (char *) "self", NULL
16047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
16048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
16049 if (SWIG_arg_fail(1)) SWIG_fail
;
16051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16052 result
= (wxEvent
*)(arg1
)->Clone();
16054 wxPyEndAllowThreads(__tstate
);
16055 if (PyErr_Occurred()) SWIG_fail
;
16057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
16064 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
16066 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16067 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
16069 return Py_BuildValue((char *)"");
16071 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16072 PyObject
*resultobj
;
16073 wxEvent
*arg1
= 0 ;
16074 wxPropagationDisabler
*result
;
16075 PyObject
* obj0
= 0 ;
16076 char *kwnames
[] = {
16077 (char *) "event", NULL
16080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
16082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
16083 if (SWIG_arg_fail(1)) SWIG_fail
;
16084 if (arg1
== NULL
) {
16085 SWIG_null_ref("wxEvent");
16087 if (SWIG_arg_fail(1)) SWIG_fail
;
16090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16091 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
16093 wxPyEndAllowThreads(__tstate
);
16094 if (PyErr_Occurred()) SWIG_fail
;
16096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
16103 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16104 PyObject
*resultobj
;
16105 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
16106 PyObject
* obj0
= 0 ;
16107 char *kwnames
[] = {
16108 (char *) "self", NULL
16111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
16112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
16113 if (SWIG_arg_fail(1)) SWIG_fail
;
16115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16118 wxPyEndAllowThreads(__tstate
);
16119 if (PyErr_Occurred()) SWIG_fail
;
16121 Py_INCREF(Py_None
); resultobj
= Py_None
;
16128 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
16130 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16131 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
16133 return Py_BuildValue((char *)"");
16135 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16136 PyObject
*resultobj
;
16137 wxEvent
*arg1
= 0 ;
16138 wxPropagateOnce
*result
;
16139 PyObject
* obj0
= 0 ;
16140 char *kwnames
[] = {
16141 (char *) "event", NULL
16144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
16146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
16147 if (SWIG_arg_fail(1)) SWIG_fail
;
16148 if (arg1
== NULL
) {
16149 SWIG_null_ref("wxEvent");
16151 if (SWIG_arg_fail(1)) SWIG_fail
;
16154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16155 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
16157 wxPyEndAllowThreads(__tstate
);
16158 if (PyErr_Occurred()) SWIG_fail
;
16160 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
16167 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16168 PyObject
*resultobj
;
16169 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
16170 PyObject
* obj0
= 0 ;
16171 char *kwnames
[] = {
16172 (char *) "self", NULL
16175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
16176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
16177 if (SWIG_arg_fail(1)) SWIG_fail
;
16179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16182 wxPyEndAllowThreads(__tstate
);
16183 if (PyErr_Occurred()) SWIG_fail
;
16185 Py_INCREF(Py_None
); resultobj
= Py_None
;
16192 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
16194 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16195 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
16197 return Py_BuildValue((char *)"");
16199 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16200 PyObject
*resultobj
;
16201 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16202 int arg2
= (int) 0 ;
16203 wxCommandEvent
*result
;
16204 PyObject
* obj0
= 0 ;
16205 PyObject
* obj1
= 0 ;
16206 char *kwnames
[] = {
16207 (char *) "commandType",(char *) "winid", NULL
16210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16213 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16214 if (SWIG_arg_fail(1)) SWIG_fail
;
16219 arg2
= (int)(SWIG_As_int(obj1
));
16220 if (SWIG_arg_fail(2)) SWIG_fail
;
16224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16225 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
16227 wxPyEndAllowThreads(__tstate
);
16228 if (PyErr_Occurred()) SWIG_fail
;
16230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
16237 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16238 PyObject
*resultobj
;
16239 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16241 PyObject
* obj0
= 0 ;
16242 char *kwnames
[] = {
16243 (char *) "self", NULL
16246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
16247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16248 if (SWIG_arg_fail(1)) SWIG_fail
;
16250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16251 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
16253 wxPyEndAllowThreads(__tstate
);
16254 if (PyErr_Occurred()) SWIG_fail
;
16257 resultobj
= SWIG_From_int((int)(result
));
16265 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16266 PyObject
*resultobj
;
16267 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16268 wxString
*arg2
= 0 ;
16269 bool temp2
= false ;
16270 PyObject
* obj0
= 0 ;
16271 PyObject
* obj1
= 0 ;
16272 char *kwnames
[] = {
16273 (char *) "self",(char *) "s", NULL
16276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
16277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16278 if (SWIG_arg_fail(1)) SWIG_fail
;
16280 arg2
= wxString_in_helper(obj1
);
16281 if (arg2
== NULL
) SWIG_fail
;
16285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16286 (arg1
)->SetString((wxString
const &)*arg2
);
16288 wxPyEndAllowThreads(__tstate
);
16289 if (PyErr_Occurred()) SWIG_fail
;
16291 Py_INCREF(Py_None
); resultobj
= Py_None
;
16306 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16307 PyObject
*resultobj
;
16308 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16310 PyObject
* obj0
= 0 ;
16311 char *kwnames
[] = {
16312 (char *) "self", NULL
16315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
16316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16317 if (SWIG_arg_fail(1)) SWIG_fail
;
16319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16320 result
= ((wxCommandEvent
const *)arg1
)->GetString();
16322 wxPyEndAllowThreads(__tstate
);
16323 if (PyErr_Occurred()) SWIG_fail
;
16327 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16329 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16338 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16339 PyObject
*resultobj
;
16340 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16342 PyObject
* obj0
= 0 ;
16343 char *kwnames
[] = {
16344 (char *) "self", NULL
16347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
16348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16349 if (SWIG_arg_fail(1)) SWIG_fail
;
16351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16352 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
16354 wxPyEndAllowThreads(__tstate
);
16355 if (PyErr_Occurred()) SWIG_fail
;
16358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16366 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16367 PyObject
*resultobj
;
16368 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16370 PyObject
* obj0
= 0 ;
16371 char *kwnames
[] = {
16372 (char *) "self", NULL
16375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
16376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16377 if (SWIG_arg_fail(1)) SWIG_fail
;
16379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16380 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
16382 wxPyEndAllowThreads(__tstate
);
16383 if (PyErr_Occurred()) SWIG_fail
;
16386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16394 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16395 PyObject
*resultobj
;
16396 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16398 PyObject
* obj0
= 0 ;
16399 PyObject
* obj1
= 0 ;
16400 char *kwnames
[] = {
16401 (char *) "self",(char *) "extraLong", NULL
16404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
16405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16406 if (SWIG_arg_fail(1)) SWIG_fail
;
16408 arg2
= (long)(SWIG_As_long(obj1
));
16409 if (SWIG_arg_fail(2)) SWIG_fail
;
16412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16413 (arg1
)->SetExtraLong(arg2
);
16415 wxPyEndAllowThreads(__tstate
);
16416 if (PyErr_Occurred()) SWIG_fail
;
16418 Py_INCREF(Py_None
); resultobj
= Py_None
;
16425 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16426 PyObject
*resultobj
;
16427 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16429 PyObject
* obj0
= 0 ;
16430 char *kwnames
[] = {
16431 (char *) "self", NULL
16434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
16435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16436 if (SWIG_arg_fail(1)) SWIG_fail
;
16438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16439 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
16441 wxPyEndAllowThreads(__tstate
);
16442 if (PyErr_Occurred()) SWIG_fail
;
16445 resultobj
= SWIG_From_long((long)(result
));
16453 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16454 PyObject
*resultobj
;
16455 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16457 PyObject
* obj0
= 0 ;
16458 PyObject
* obj1
= 0 ;
16459 char *kwnames
[] = {
16460 (char *) "self",(char *) "i", NULL
16463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
16464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16465 if (SWIG_arg_fail(1)) SWIG_fail
;
16467 arg2
= (int)(SWIG_As_int(obj1
));
16468 if (SWIG_arg_fail(2)) SWIG_fail
;
16471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16472 (arg1
)->SetInt(arg2
);
16474 wxPyEndAllowThreads(__tstate
);
16475 if (PyErr_Occurred()) SWIG_fail
;
16477 Py_INCREF(Py_None
); resultobj
= Py_None
;
16484 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16485 PyObject
*resultobj
;
16486 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16488 PyObject
* obj0
= 0 ;
16489 char *kwnames
[] = {
16490 (char *) "self", NULL
16493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
16494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16495 if (SWIG_arg_fail(1)) SWIG_fail
;
16497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16498 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
16500 wxPyEndAllowThreads(__tstate
);
16501 if (PyErr_Occurred()) SWIG_fail
;
16504 resultobj
= SWIG_From_long((long)(result
));
16512 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16513 PyObject
*resultobj
;
16514 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16516 PyObject
* obj0
= 0 ;
16517 char *kwnames
[] = {
16518 (char *) "self", NULL
16521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
16522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16523 if (SWIG_arg_fail(1)) SWIG_fail
;
16525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16526 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
16528 wxPyEndAllowThreads(__tstate
);
16529 if (PyErr_Occurred()) SWIG_fail
;
16531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
16538 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
16540 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16541 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
16543 return Py_BuildValue((char *)"");
16545 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16546 PyObject
*resultobj
;
16547 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16548 int arg2
= (int) 0 ;
16549 wxNotifyEvent
*result
;
16550 PyObject
* obj0
= 0 ;
16551 PyObject
* obj1
= 0 ;
16552 char *kwnames
[] = {
16553 (char *) "commandType",(char *) "winid", NULL
16556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16559 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16560 if (SWIG_arg_fail(1)) SWIG_fail
;
16565 arg2
= (int)(SWIG_As_int(obj1
));
16566 if (SWIG_arg_fail(2)) SWIG_fail
;
16570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16571 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
16573 wxPyEndAllowThreads(__tstate
);
16574 if (PyErr_Occurred()) SWIG_fail
;
16576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
16583 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16584 PyObject
*resultobj
;
16585 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
16586 PyObject
* obj0
= 0 ;
16587 char *kwnames
[] = {
16588 (char *) "self", NULL
16591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
16592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
16593 if (SWIG_arg_fail(1)) SWIG_fail
;
16595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16598 wxPyEndAllowThreads(__tstate
);
16599 if (PyErr_Occurred()) SWIG_fail
;
16601 Py_INCREF(Py_None
); resultobj
= Py_None
;
16608 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16609 PyObject
*resultobj
;
16610 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
16611 PyObject
* obj0
= 0 ;
16612 char *kwnames
[] = {
16613 (char *) "self", NULL
16616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
16617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
16618 if (SWIG_arg_fail(1)) SWIG_fail
;
16620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16623 wxPyEndAllowThreads(__tstate
);
16624 if (PyErr_Occurred()) SWIG_fail
;
16626 Py_INCREF(Py_None
); resultobj
= Py_None
;
16633 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16634 PyObject
*resultobj
;
16635 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
16637 PyObject
* obj0
= 0 ;
16638 char *kwnames
[] = {
16639 (char *) "self", NULL
16642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
16643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
16644 if (SWIG_arg_fail(1)) SWIG_fail
;
16646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16647 result
= (bool)(arg1
)->IsAllowed();
16649 wxPyEndAllowThreads(__tstate
);
16650 if (PyErr_Occurred()) SWIG_fail
;
16653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16661 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
16663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16664 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
16666 return Py_BuildValue((char *)"");
16668 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16669 PyObject
*resultobj
;
16670 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16671 int arg2
= (int) 0 ;
16672 int arg3
= (int) 0 ;
16673 int arg4
= (int) 0 ;
16674 wxScrollEvent
*result
;
16675 PyObject
* obj0
= 0 ;
16676 PyObject
* obj1
= 0 ;
16677 PyObject
* obj2
= 0 ;
16678 PyObject
* obj3
= 0 ;
16679 char *kwnames
[] = {
16680 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
16683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16686 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16687 if (SWIG_arg_fail(1)) SWIG_fail
;
16692 arg2
= (int)(SWIG_As_int(obj1
));
16693 if (SWIG_arg_fail(2)) SWIG_fail
;
16698 arg3
= (int)(SWIG_As_int(obj2
));
16699 if (SWIG_arg_fail(3)) SWIG_fail
;
16704 arg4
= (int)(SWIG_As_int(obj3
));
16705 if (SWIG_arg_fail(4)) SWIG_fail
;
16709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16710 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
16712 wxPyEndAllowThreads(__tstate
);
16713 if (PyErr_Occurred()) SWIG_fail
;
16715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
16722 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16723 PyObject
*resultobj
;
16724 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16726 PyObject
* obj0
= 0 ;
16727 char *kwnames
[] = {
16728 (char *) "self", NULL
16731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16733 if (SWIG_arg_fail(1)) SWIG_fail
;
16735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16736 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
16738 wxPyEndAllowThreads(__tstate
);
16739 if (PyErr_Occurred()) SWIG_fail
;
16742 resultobj
= SWIG_From_int((int)(result
));
16750 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16751 PyObject
*resultobj
;
16752 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16754 PyObject
* obj0
= 0 ;
16755 char *kwnames
[] = {
16756 (char *) "self", NULL
16759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16761 if (SWIG_arg_fail(1)) SWIG_fail
;
16763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16764 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
16766 wxPyEndAllowThreads(__tstate
);
16767 if (PyErr_Occurred()) SWIG_fail
;
16770 resultobj
= SWIG_From_int((int)(result
));
16778 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16779 PyObject
*resultobj
;
16780 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16782 PyObject
* obj0
= 0 ;
16783 PyObject
* obj1
= 0 ;
16784 char *kwnames
[] = {
16785 (char *) "self",(char *) "orient", NULL
16788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16790 if (SWIG_arg_fail(1)) SWIG_fail
;
16792 arg2
= (int)(SWIG_As_int(obj1
));
16793 if (SWIG_arg_fail(2)) SWIG_fail
;
16796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16797 (arg1
)->SetOrientation(arg2
);
16799 wxPyEndAllowThreads(__tstate
);
16800 if (PyErr_Occurred()) SWIG_fail
;
16802 Py_INCREF(Py_None
); resultobj
= Py_None
;
16809 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16810 PyObject
*resultobj
;
16811 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16813 PyObject
* obj0
= 0 ;
16814 PyObject
* obj1
= 0 ;
16815 char *kwnames
[] = {
16816 (char *) "self",(char *) "pos", NULL
16819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16821 if (SWIG_arg_fail(1)) SWIG_fail
;
16823 arg2
= (int)(SWIG_As_int(obj1
));
16824 if (SWIG_arg_fail(2)) SWIG_fail
;
16827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16828 (arg1
)->SetPosition(arg2
);
16830 wxPyEndAllowThreads(__tstate
);
16831 if (PyErr_Occurred()) SWIG_fail
;
16833 Py_INCREF(Py_None
); resultobj
= Py_None
;
16840 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
16842 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16843 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
16845 return Py_BuildValue((char *)"");
16847 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16848 PyObject
*resultobj
;
16849 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16850 int arg2
= (int) 0 ;
16851 int arg3
= (int) 0 ;
16852 wxScrollWinEvent
*result
;
16853 PyObject
* obj0
= 0 ;
16854 PyObject
* obj1
= 0 ;
16855 PyObject
* obj2
= 0 ;
16856 char *kwnames
[] = {
16857 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
16860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16863 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16864 if (SWIG_arg_fail(1)) SWIG_fail
;
16869 arg2
= (int)(SWIG_As_int(obj1
));
16870 if (SWIG_arg_fail(2)) SWIG_fail
;
16875 arg3
= (int)(SWIG_As_int(obj2
));
16876 if (SWIG_arg_fail(3)) SWIG_fail
;
16880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16881 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
16883 wxPyEndAllowThreads(__tstate
);
16884 if (PyErr_Occurred()) SWIG_fail
;
16886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
16893 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16894 PyObject
*resultobj
;
16895 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16897 PyObject
* obj0
= 0 ;
16898 char *kwnames
[] = {
16899 (char *) "self", NULL
16902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16904 if (SWIG_arg_fail(1)) SWIG_fail
;
16906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16907 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
16909 wxPyEndAllowThreads(__tstate
);
16910 if (PyErr_Occurred()) SWIG_fail
;
16913 resultobj
= SWIG_From_int((int)(result
));
16921 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16922 PyObject
*resultobj
;
16923 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16925 PyObject
* obj0
= 0 ;
16926 char *kwnames
[] = {
16927 (char *) "self", NULL
16930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16932 if (SWIG_arg_fail(1)) SWIG_fail
;
16934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16935 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
16937 wxPyEndAllowThreads(__tstate
);
16938 if (PyErr_Occurred()) SWIG_fail
;
16941 resultobj
= SWIG_From_int((int)(result
));
16949 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16950 PyObject
*resultobj
;
16951 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16953 PyObject
* obj0
= 0 ;
16954 PyObject
* obj1
= 0 ;
16955 char *kwnames
[] = {
16956 (char *) "self",(char *) "orient", NULL
16959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16961 if (SWIG_arg_fail(1)) SWIG_fail
;
16963 arg2
= (int)(SWIG_As_int(obj1
));
16964 if (SWIG_arg_fail(2)) SWIG_fail
;
16967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16968 (arg1
)->SetOrientation(arg2
);
16970 wxPyEndAllowThreads(__tstate
);
16971 if (PyErr_Occurred()) SWIG_fail
;
16973 Py_INCREF(Py_None
); resultobj
= Py_None
;
16980 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16981 PyObject
*resultobj
;
16982 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16984 PyObject
* obj0
= 0 ;
16985 PyObject
* obj1
= 0 ;
16986 char *kwnames
[] = {
16987 (char *) "self",(char *) "pos", NULL
16990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16992 if (SWIG_arg_fail(1)) SWIG_fail
;
16994 arg2
= (int)(SWIG_As_int(obj1
));
16995 if (SWIG_arg_fail(2)) SWIG_fail
;
16998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16999 (arg1
)->SetPosition(arg2
);
17001 wxPyEndAllowThreads(__tstate
);
17002 if (PyErr_Occurred()) SWIG_fail
;
17004 Py_INCREF(Py_None
); resultobj
= Py_None
;
17011 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
17013 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17014 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
17016 return Py_BuildValue((char *)"");
17018 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17019 PyObject
*resultobj
;
17020 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17021 wxMouseEvent
*result
;
17022 PyObject
* obj0
= 0 ;
17023 char *kwnames
[] = {
17024 (char *) "mouseType", NULL
17027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
17030 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17031 if (SWIG_arg_fail(1)) SWIG_fail
;
17035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17036 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
17038 wxPyEndAllowThreads(__tstate
);
17039 if (PyErr_Occurred()) SWIG_fail
;
17042 resultobj
= wxPyMake_wxObject(result
, 1);
17050 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17051 PyObject
*resultobj
;
17052 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17054 PyObject
* obj0
= 0 ;
17055 char *kwnames
[] = {
17056 (char *) "self", NULL
17059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
17060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17061 if (SWIG_arg_fail(1)) SWIG_fail
;
17063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17064 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
17066 wxPyEndAllowThreads(__tstate
);
17067 if (PyErr_Occurred()) SWIG_fail
;
17070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17078 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17079 PyObject
*resultobj
;
17080 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17081 int arg2
= (int) wxMOUSE_BTN_ANY
;
17083 PyObject
* obj0
= 0 ;
17084 PyObject
* obj1
= 0 ;
17085 char *kwnames
[] = {
17086 (char *) "self",(char *) "but", NULL
17089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
17090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17091 if (SWIG_arg_fail(1)) SWIG_fail
;
17094 arg2
= (int)(SWIG_As_int(obj1
));
17095 if (SWIG_arg_fail(2)) SWIG_fail
;
17099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17100 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
17102 wxPyEndAllowThreads(__tstate
);
17103 if (PyErr_Occurred()) SWIG_fail
;
17106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17114 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17115 PyObject
*resultobj
;
17116 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17117 int arg2
= (int) wxMOUSE_BTN_ANY
;
17119 PyObject
* obj0
= 0 ;
17120 PyObject
* obj1
= 0 ;
17121 char *kwnames
[] = {
17122 (char *) "self",(char *) "but", NULL
17125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
17126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17127 if (SWIG_arg_fail(1)) SWIG_fail
;
17130 arg2
= (int)(SWIG_As_int(obj1
));
17131 if (SWIG_arg_fail(2)) SWIG_fail
;
17135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17136 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
17138 wxPyEndAllowThreads(__tstate
);
17139 if (PyErr_Occurred()) SWIG_fail
;
17142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17150 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17151 PyObject
*resultobj
;
17152 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17153 int arg2
= (int) wxMOUSE_BTN_ANY
;
17155 PyObject
* obj0
= 0 ;
17156 PyObject
* obj1
= 0 ;
17157 char *kwnames
[] = {
17158 (char *) "self",(char *) "but", NULL
17161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
17162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17163 if (SWIG_arg_fail(1)) SWIG_fail
;
17166 arg2
= (int)(SWIG_As_int(obj1
));
17167 if (SWIG_arg_fail(2)) SWIG_fail
;
17171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17172 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
17174 wxPyEndAllowThreads(__tstate
);
17175 if (PyErr_Occurred()) SWIG_fail
;
17178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17186 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17187 PyObject
*resultobj
;
17188 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17191 PyObject
* obj0
= 0 ;
17192 PyObject
* obj1
= 0 ;
17193 char *kwnames
[] = {
17194 (char *) "self",(char *) "button", NULL
17197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
17198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17199 if (SWIG_arg_fail(1)) SWIG_fail
;
17201 arg2
= (int)(SWIG_As_int(obj1
));
17202 if (SWIG_arg_fail(2)) SWIG_fail
;
17205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17206 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
17208 wxPyEndAllowThreads(__tstate
);
17209 if (PyErr_Occurred()) SWIG_fail
;
17212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17220 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17221 PyObject
*resultobj
;
17222 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17225 PyObject
* obj0
= 0 ;
17226 PyObject
* obj1
= 0 ;
17227 char *kwnames
[] = {
17228 (char *) "self",(char *) "but", NULL
17231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
17232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17233 if (SWIG_arg_fail(1)) SWIG_fail
;
17235 arg2
= (int)(SWIG_As_int(obj1
));
17236 if (SWIG_arg_fail(2)) SWIG_fail
;
17239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17240 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
17242 wxPyEndAllowThreads(__tstate
);
17243 if (PyErr_Occurred()) SWIG_fail
;
17246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17254 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17255 PyObject
*resultobj
;
17256 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17258 PyObject
* obj0
= 0 ;
17259 char *kwnames
[] = {
17260 (char *) "self", NULL
17263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
17264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17265 if (SWIG_arg_fail(1)) SWIG_fail
;
17267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17268 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
17270 wxPyEndAllowThreads(__tstate
);
17271 if (PyErr_Occurred()) SWIG_fail
;
17274 resultobj
= SWIG_From_int((int)(result
));
17282 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17283 PyObject
*resultobj
;
17284 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17286 PyObject
* obj0
= 0 ;
17287 char *kwnames
[] = {
17288 (char *) "self", NULL
17291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
17292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17293 if (SWIG_arg_fail(1)) SWIG_fail
;
17295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17296 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
17298 wxPyEndAllowThreads(__tstate
);
17299 if (PyErr_Occurred()) SWIG_fail
;
17302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17310 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17311 PyObject
*resultobj
;
17312 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17314 PyObject
* obj0
= 0 ;
17315 char *kwnames
[] = {
17316 (char *) "self", NULL
17319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
17320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17321 if (SWIG_arg_fail(1)) SWIG_fail
;
17323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17324 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
17326 wxPyEndAllowThreads(__tstate
);
17327 if (PyErr_Occurred()) SWIG_fail
;
17330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17338 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17339 PyObject
*resultobj
;
17340 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17342 PyObject
* obj0
= 0 ;
17343 char *kwnames
[] = {
17344 (char *) "self", NULL
17347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
17348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17349 if (SWIG_arg_fail(1)) SWIG_fail
;
17351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17352 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
17354 wxPyEndAllowThreads(__tstate
);
17355 if (PyErr_Occurred()) SWIG_fail
;
17358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17366 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17367 PyObject
*resultobj
;
17368 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17370 PyObject
* obj0
= 0 ;
17371 char *kwnames
[] = {
17372 (char *) "self", NULL
17375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
17376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17377 if (SWIG_arg_fail(1)) SWIG_fail
;
17379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17380 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
17382 wxPyEndAllowThreads(__tstate
);
17383 if (PyErr_Occurred()) SWIG_fail
;
17386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17394 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17395 PyObject
*resultobj
;
17396 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17398 PyObject
* obj0
= 0 ;
17399 char *kwnames
[] = {
17400 (char *) "self", NULL
17403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
17404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17405 if (SWIG_arg_fail(1)) SWIG_fail
;
17407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17408 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
17410 wxPyEndAllowThreads(__tstate
);
17411 if (PyErr_Occurred()) SWIG_fail
;
17414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17422 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17423 PyObject
*resultobj
;
17424 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17426 PyObject
* obj0
= 0 ;
17427 char *kwnames
[] = {
17428 (char *) "self", NULL
17431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
17432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17433 if (SWIG_arg_fail(1)) SWIG_fail
;
17435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17436 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
17438 wxPyEndAllowThreads(__tstate
);
17439 if (PyErr_Occurred()) SWIG_fail
;
17442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17450 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17451 PyObject
*resultobj
;
17452 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17454 PyObject
* obj0
= 0 ;
17455 char *kwnames
[] = {
17456 (char *) "self", NULL
17459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
17460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17461 if (SWIG_arg_fail(1)) SWIG_fail
;
17463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17464 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
17466 wxPyEndAllowThreads(__tstate
);
17467 if (PyErr_Occurred()) SWIG_fail
;
17470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17478 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17479 PyObject
*resultobj
;
17480 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17482 PyObject
* obj0
= 0 ;
17483 char *kwnames
[] = {
17484 (char *) "self", NULL
17487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
17488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17489 if (SWIG_arg_fail(1)) SWIG_fail
;
17491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17492 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
17494 wxPyEndAllowThreads(__tstate
);
17495 if (PyErr_Occurred()) SWIG_fail
;
17498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17506 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17507 PyObject
*resultobj
;
17508 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17510 PyObject
* obj0
= 0 ;
17511 char *kwnames
[] = {
17512 (char *) "self", NULL
17515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
17516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17517 if (SWIG_arg_fail(1)) SWIG_fail
;
17519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17520 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
17522 wxPyEndAllowThreads(__tstate
);
17523 if (PyErr_Occurred()) SWIG_fail
;
17526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17534 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17535 PyObject
*resultobj
;
17536 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17538 PyObject
* obj0
= 0 ;
17539 char *kwnames
[] = {
17540 (char *) "self", NULL
17543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
17544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17545 if (SWIG_arg_fail(1)) SWIG_fail
;
17547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17548 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
17550 wxPyEndAllowThreads(__tstate
);
17551 if (PyErr_Occurred()) SWIG_fail
;
17554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17562 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17563 PyObject
*resultobj
;
17564 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17566 PyObject
* obj0
= 0 ;
17567 char *kwnames
[] = {
17568 (char *) "self", NULL
17571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
17572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17573 if (SWIG_arg_fail(1)) SWIG_fail
;
17575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17576 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
17578 wxPyEndAllowThreads(__tstate
);
17579 if (PyErr_Occurred()) SWIG_fail
;
17582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17590 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17591 PyObject
*resultobj
;
17592 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17594 PyObject
* obj0
= 0 ;
17595 char *kwnames
[] = {
17596 (char *) "self", NULL
17599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
17600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17601 if (SWIG_arg_fail(1)) SWIG_fail
;
17603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17604 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
17606 wxPyEndAllowThreads(__tstate
);
17607 if (PyErr_Occurred()) SWIG_fail
;
17610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17618 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17619 PyObject
*resultobj
;
17620 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17622 PyObject
* obj0
= 0 ;
17623 char *kwnames
[] = {
17624 (char *) "self", NULL
17627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
17628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17629 if (SWIG_arg_fail(1)) SWIG_fail
;
17631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17632 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
17634 wxPyEndAllowThreads(__tstate
);
17635 if (PyErr_Occurred()) SWIG_fail
;
17638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17646 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17647 PyObject
*resultobj
;
17648 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17650 PyObject
* obj0
= 0 ;
17651 char *kwnames
[] = {
17652 (char *) "self", NULL
17655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
17656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17657 if (SWIG_arg_fail(1)) SWIG_fail
;
17659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17660 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
17662 wxPyEndAllowThreads(__tstate
);
17663 if (PyErr_Occurred()) SWIG_fail
;
17666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17674 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17675 PyObject
*resultobj
;
17676 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17678 PyObject
* obj0
= 0 ;
17679 char *kwnames
[] = {
17680 (char *) "self", NULL
17683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
17684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17685 if (SWIG_arg_fail(1)) SWIG_fail
;
17687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17688 result
= (bool)(arg1
)->LeftIsDown();
17690 wxPyEndAllowThreads(__tstate
);
17691 if (PyErr_Occurred()) SWIG_fail
;
17694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17702 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17703 PyObject
*resultobj
;
17704 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17706 PyObject
* obj0
= 0 ;
17707 char *kwnames
[] = {
17708 (char *) "self", NULL
17711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
17712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17713 if (SWIG_arg_fail(1)) SWIG_fail
;
17715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17716 result
= (bool)(arg1
)->MiddleIsDown();
17718 wxPyEndAllowThreads(__tstate
);
17719 if (PyErr_Occurred()) SWIG_fail
;
17722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17730 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17731 PyObject
*resultobj
;
17732 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17734 PyObject
* obj0
= 0 ;
17735 char *kwnames
[] = {
17736 (char *) "self", NULL
17739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
17740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17741 if (SWIG_arg_fail(1)) SWIG_fail
;
17743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17744 result
= (bool)(arg1
)->RightIsDown();
17746 wxPyEndAllowThreads(__tstate
);
17747 if (PyErr_Occurred()) SWIG_fail
;
17750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17758 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17759 PyObject
*resultobj
;
17760 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17762 PyObject
* obj0
= 0 ;
17763 char *kwnames
[] = {
17764 (char *) "self", NULL
17767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
17768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17769 if (SWIG_arg_fail(1)) SWIG_fail
;
17771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17772 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
17774 wxPyEndAllowThreads(__tstate
);
17775 if (PyErr_Occurred()) SWIG_fail
;
17778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17786 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17787 PyObject
*resultobj
;
17788 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17790 PyObject
* obj0
= 0 ;
17791 char *kwnames
[] = {
17792 (char *) "self", NULL
17795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
17796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17797 if (SWIG_arg_fail(1)) SWIG_fail
;
17799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17800 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
17802 wxPyEndAllowThreads(__tstate
);
17803 if (PyErr_Occurred()) SWIG_fail
;
17806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17814 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17815 PyObject
*resultobj
;
17816 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17818 PyObject
* obj0
= 0 ;
17819 char *kwnames
[] = {
17820 (char *) "self", NULL
17823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
17824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17825 if (SWIG_arg_fail(1)) SWIG_fail
;
17827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17828 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
17830 wxPyEndAllowThreads(__tstate
);
17831 if (PyErr_Occurred()) SWIG_fail
;
17834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17842 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17843 PyObject
*resultobj
;
17844 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17846 PyObject
* obj0
= 0 ;
17847 char *kwnames
[] = {
17848 (char *) "self", NULL
17851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
17852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17853 if (SWIG_arg_fail(1)) SWIG_fail
;
17855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17856 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
17858 wxPyEndAllowThreads(__tstate
);
17859 if (PyErr_Occurred()) SWIG_fail
;
17862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17870 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17871 PyObject
*resultobj
;
17872 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17874 PyObject
* obj0
= 0 ;
17875 char *kwnames
[] = {
17876 (char *) "self", NULL
17879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17881 if (SWIG_arg_fail(1)) SWIG_fail
;
17883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17884 result
= (arg1
)->GetPosition();
17886 wxPyEndAllowThreads(__tstate
);
17887 if (PyErr_Occurred()) SWIG_fail
;
17890 wxPoint
* resultptr
;
17891 resultptr
= new wxPoint((wxPoint
&)(result
));
17892 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17900 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17901 PyObject
*resultobj
;
17902 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17903 long *arg2
= (long *) 0 ;
17904 long *arg3
= (long *) 0 ;
17909 PyObject
* obj0
= 0 ;
17910 char *kwnames
[] = {
17911 (char *) "self", NULL
17914 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17915 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
17917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17918 if (SWIG_arg_fail(1)) SWIG_fail
;
17920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17921 (arg1
)->GetPosition(arg2
,arg3
);
17923 wxPyEndAllowThreads(__tstate
);
17924 if (PyErr_Occurred()) SWIG_fail
;
17926 Py_INCREF(Py_None
); resultobj
= Py_None
;
17927 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17928 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
17929 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17930 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17937 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17938 PyObject
*resultobj
;
17939 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17942 PyObject
* obj0
= 0 ;
17943 PyObject
* obj1
= 0 ;
17944 char *kwnames
[] = {
17945 (char *) "self",(char *) "dc", NULL
17948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17950 if (SWIG_arg_fail(1)) SWIG_fail
;
17952 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17953 if (SWIG_arg_fail(2)) SWIG_fail
;
17954 if (arg2
== NULL
) {
17955 SWIG_null_ref("wxDC");
17957 if (SWIG_arg_fail(2)) SWIG_fail
;
17960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17961 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
17963 wxPyEndAllowThreads(__tstate
);
17964 if (PyErr_Occurred()) SWIG_fail
;
17967 wxPoint
* resultptr
;
17968 resultptr
= new wxPoint((wxPoint
&)(result
));
17969 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17977 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17978 PyObject
*resultobj
;
17979 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17981 PyObject
* obj0
= 0 ;
17982 char *kwnames
[] = {
17983 (char *) "self", NULL
17986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
17987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17988 if (SWIG_arg_fail(1)) SWIG_fail
;
17990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17991 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
17993 wxPyEndAllowThreads(__tstate
);
17994 if (PyErr_Occurred()) SWIG_fail
;
17997 resultobj
= SWIG_From_int((int)(result
));
18005 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18006 PyObject
*resultobj
;
18007 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18009 PyObject
* obj0
= 0 ;
18010 char *kwnames
[] = {
18011 (char *) "self", NULL
18014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
18015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18016 if (SWIG_arg_fail(1)) SWIG_fail
;
18018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18019 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
18021 wxPyEndAllowThreads(__tstate
);
18022 if (PyErr_Occurred()) SWIG_fail
;
18025 resultobj
= SWIG_From_int((int)(result
));
18033 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18034 PyObject
*resultobj
;
18035 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18037 PyObject
* obj0
= 0 ;
18038 char *kwnames
[] = {
18039 (char *) "self", NULL
18042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
18043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18044 if (SWIG_arg_fail(1)) SWIG_fail
;
18046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18047 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
18049 wxPyEndAllowThreads(__tstate
);
18050 if (PyErr_Occurred()) SWIG_fail
;
18053 resultobj
= SWIG_From_int((int)(result
));
18061 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18062 PyObject
*resultobj
;
18063 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18065 PyObject
* obj0
= 0 ;
18066 char *kwnames
[] = {
18067 (char *) "self", NULL
18070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
18071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18072 if (SWIG_arg_fail(1)) SWIG_fail
;
18074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18075 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
18077 wxPyEndAllowThreads(__tstate
);
18078 if (PyErr_Occurred()) SWIG_fail
;
18081 resultobj
= SWIG_From_int((int)(result
));
18089 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18090 PyObject
*resultobj
;
18091 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18093 PyObject
* obj0
= 0 ;
18094 char *kwnames
[] = {
18095 (char *) "self", NULL
18098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
18099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18100 if (SWIG_arg_fail(1)) SWIG_fail
;
18102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18103 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
18105 wxPyEndAllowThreads(__tstate
);
18106 if (PyErr_Occurred()) SWIG_fail
;
18109 resultobj
= SWIG_From_int((int)(result
));
18117 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18118 PyObject
*resultobj
;
18119 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18121 PyObject
* obj0
= 0 ;
18122 char *kwnames
[] = {
18123 (char *) "self", NULL
18126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
18127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18128 if (SWIG_arg_fail(1)) SWIG_fail
;
18130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18131 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
18133 wxPyEndAllowThreads(__tstate
);
18134 if (PyErr_Occurred()) SWIG_fail
;
18137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18145 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18146 PyObject
*resultobj
;
18147 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18149 PyObject
* obj0
= 0 ;
18150 PyObject
* obj1
= 0 ;
18151 char *kwnames
[] = {
18152 (char *) "self",(char *) "m_x", NULL
18155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18157 if (SWIG_arg_fail(1)) SWIG_fail
;
18159 arg2
= (int)(SWIG_As_int(obj1
));
18160 if (SWIG_arg_fail(2)) SWIG_fail
;
18162 if (arg1
) (arg1
)->m_x
= arg2
;
18164 Py_INCREF(Py_None
); resultobj
= Py_None
;
18171 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18172 PyObject
*resultobj
;
18173 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18175 PyObject
* obj0
= 0 ;
18176 char *kwnames
[] = {
18177 (char *) "self", NULL
18180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18182 if (SWIG_arg_fail(1)) SWIG_fail
;
18183 result
= (int) ((arg1
)->m_x
);
18186 resultobj
= SWIG_From_int((int)(result
));
18194 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18195 PyObject
*resultobj
;
18196 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18198 PyObject
* obj0
= 0 ;
18199 PyObject
* obj1
= 0 ;
18200 char *kwnames
[] = {
18201 (char *) "self",(char *) "m_y", NULL
18204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18206 if (SWIG_arg_fail(1)) SWIG_fail
;
18208 arg2
= (int)(SWIG_As_int(obj1
));
18209 if (SWIG_arg_fail(2)) SWIG_fail
;
18211 if (arg1
) (arg1
)->m_y
= arg2
;
18213 Py_INCREF(Py_None
); resultobj
= Py_None
;
18220 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18221 PyObject
*resultobj
;
18222 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18224 PyObject
* obj0
= 0 ;
18225 char *kwnames
[] = {
18226 (char *) "self", NULL
18229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18231 if (SWIG_arg_fail(1)) SWIG_fail
;
18232 result
= (int) ((arg1
)->m_y
);
18235 resultobj
= SWIG_From_int((int)(result
));
18243 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18244 PyObject
*resultobj
;
18245 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18247 PyObject
* obj0
= 0 ;
18248 PyObject
* obj1
= 0 ;
18249 char *kwnames
[] = {
18250 (char *) "self",(char *) "m_leftDown", NULL
18253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18255 if (SWIG_arg_fail(1)) SWIG_fail
;
18257 arg2
= (bool)(SWIG_As_bool(obj1
));
18258 if (SWIG_arg_fail(2)) SWIG_fail
;
18260 if (arg1
) (arg1
)->m_leftDown
= arg2
;
18262 Py_INCREF(Py_None
); resultobj
= Py_None
;
18269 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18270 PyObject
*resultobj
;
18271 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18273 PyObject
* obj0
= 0 ;
18274 char *kwnames
[] = {
18275 (char *) "self", NULL
18278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
18279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18280 if (SWIG_arg_fail(1)) SWIG_fail
;
18281 result
= (bool) ((arg1
)->m_leftDown
);
18284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18292 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18293 PyObject
*resultobj
;
18294 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18296 PyObject
* obj0
= 0 ;
18297 PyObject
* obj1
= 0 ;
18298 char *kwnames
[] = {
18299 (char *) "self",(char *) "m_middleDown", NULL
18302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18304 if (SWIG_arg_fail(1)) SWIG_fail
;
18306 arg2
= (bool)(SWIG_As_bool(obj1
));
18307 if (SWIG_arg_fail(2)) SWIG_fail
;
18309 if (arg1
) (arg1
)->m_middleDown
= arg2
;
18311 Py_INCREF(Py_None
); resultobj
= Py_None
;
18318 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18319 PyObject
*resultobj
;
18320 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18322 PyObject
* obj0
= 0 ;
18323 char *kwnames
[] = {
18324 (char *) "self", NULL
18327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
18328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18329 if (SWIG_arg_fail(1)) SWIG_fail
;
18330 result
= (bool) ((arg1
)->m_middleDown
);
18333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18341 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18342 PyObject
*resultobj
;
18343 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18345 PyObject
* obj0
= 0 ;
18346 PyObject
* obj1
= 0 ;
18347 char *kwnames
[] = {
18348 (char *) "self",(char *) "m_rightDown", NULL
18351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18353 if (SWIG_arg_fail(1)) SWIG_fail
;
18355 arg2
= (bool)(SWIG_As_bool(obj1
));
18356 if (SWIG_arg_fail(2)) SWIG_fail
;
18358 if (arg1
) (arg1
)->m_rightDown
= arg2
;
18360 Py_INCREF(Py_None
); resultobj
= Py_None
;
18367 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18368 PyObject
*resultobj
;
18369 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18371 PyObject
* obj0
= 0 ;
18372 char *kwnames
[] = {
18373 (char *) "self", NULL
18376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
18377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18378 if (SWIG_arg_fail(1)) SWIG_fail
;
18379 result
= (bool) ((arg1
)->m_rightDown
);
18382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18390 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18391 PyObject
*resultobj
;
18392 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18394 PyObject
* obj0
= 0 ;
18395 PyObject
* obj1
= 0 ;
18396 char *kwnames
[] = {
18397 (char *) "self",(char *) "m_controlDown", NULL
18400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18402 if (SWIG_arg_fail(1)) SWIG_fail
;
18404 arg2
= (bool)(SWIG_As_bool(obj1
));
18405 if (SWIG_arg_fail(2)) SWIG_fail
;
18407 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18409 Py_INCREF(Py_None
); resultobj
= Py_None
;
18416 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18417 PyObject
*resultobj
;
18418 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18420 PyObject
* obj0
= 0 ;
18421 char *kwnames
[] = {
18422 (char *) "self", NULL
18425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18427 if (SWIG_arg_fail(1)) SWIG_fail
;
18428 result
= (bool) ((arg1
)->m_controlDown
);
18431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18439 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18440 PyObject
*resultobj
;
18441 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18443 PyObject
* obj0
= 0 ;
18444 PyObject
* obj1
= 0 ;
18445 char *kwnames
[] = {
18446 (char *) "self",(char *) "m_shiftDown", NULL
18449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18451 if (SWIG_arg_fail(1)) SWIG_fail
;
18453 arg2
= (bool)(SWIG_As_bool(obj1
));
18454 if (SWIG_arg_fail(2)) SWIG_fail
;
18456 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18458 Py_INCREF(Py_None
); resultobj
= Py_None
;
18465 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18466 PyObject
*resultobj
;
18467 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18469 PyObject
* obj0
= 0 ;
18470 char *kwnames
[] = {
18471 (char *) "self", NULL
18474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18476 if (SWIG_arg_fail(1)) SWIG_fail
;
18477 result
= (bool) ((arg1
)->m_shiftDown
);
18480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18488 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18489 PyObject
*resultobj
;
18490 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18492 PyObject
* obj0
= 0 ;
18493 PyObject
* obj1
= 0 ;
18494 char *kwnames
[] = {
18495 (char *) "self",(char *) "m_altDown", NULL
18498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18500 if (SWIG_arg_fail(1)) SWIG_fail
;
18502 arg2
= (bool)(SWIG_As_bool(obj1
));
18503 if (SWIG_arg_fail(2)) SWIG_fail
;
18505 if (arg1
) (arg1
)->m_altDown
= arg2
;
18507 Py_INCREF(Py_None
); resultobj
= Py_None
;
18514 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18515 PyObject
*resultobj
;
18516 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18518 PyObject
* obj0
= 0 ;
18519 char *kwnames
[] = {
18520 (char *) "self", NULL
18523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
18524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18525 if (SWIG_arg_fail(1)) SWIG_fail
;
18526 result
= (bool) ((arg1
)->m_altDown
);
18529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18537 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18538 PyObject
*resultobj
;
18539 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18541 PyObject
* obj0
= 0 ;
18542 PyObject
* obj1
= 0 ;
18543 char *kwnames
[] = {
18544 (char *) "self",(char *) "m_metaDown", NULL
18547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18549 if (SWIG_arg_fail(1)) SWIG_fail
;
18551 arg2
= (bool)(SWIG_As_bool(obj1
));
18552 if (SWIG_arg_fail(2)) SWIG_fail
;
18554 if (arg1
) (arg1
)->m_metaDown
= arg2
;
18556 Py_INCREF(Py_None
); resultobj
= Py_None
;
18563 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18564 PyObject
*resultobj
;
18565 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18567 PyObject
* obj0
= 0 ;
18568 char *kwnames
[] = {
18569 (char *) "self", NULL
18572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
18573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18574 if (SWIG_arg_fail(1)) SWIG_fail
;
18575 result
= (bool) ((arg1
)->m_metaDown
);
18578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18586 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18587 PyObject
*resultobj
;
18588 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18590 PyObject
* obj0
= 0 ;
18591 PyObject
* obj1
= 0 ;
18592 char *kwnames
[] = {
18593 (char *) "self",(char *) "m_wheelRotation", NULL
18596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18598 if (SWIG_arg_fail(1)) SWIG_fail
;
18600 arg2
= (int)(SWIG_As_int(obj1
));
18601 if (SWIG_arg_fail(2)) SWIG_fail
;
18603 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
18605 Py_INCREF(Py_None
); resultobj
= Py_None
;
18612 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18613 PyObject
*resultobj
;
18614 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18616 PyObject
* obj0
= 0 ;
18617 char *kwnames
[] = {
18618 (char *) "self", NULL
18621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
18622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18623 if (SWIG_arg_fail(1)) SWIG_fail
;
18624 result
= (int) ((arg1
)->m_wheelRotation
);
18627 resultobj
= SWIG_From_int((int)(result
));
18635 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18636 PyObject
*resultobj
;
18637 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18639 PyObject
* obj0
= 0 ;
18640 PyObject
* obj1
= 0 ;
18641 char *kwnames
[] = {
18642 (char *) "self",(char *) "m_wheelDelta", NULL
18645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18647 if (SWIG_arg_fail(1)) SWIG_fail
;
18649 arg2
= (int)(SWIG_As_int(obj1
));
18650 if (SWIG_arg_fail(2)) SWIG_fail
;
18652 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
18654 Py_INCREF(Py_None
); resultobj
= Py_None
;
18661 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18662 PyObject
*resultobj
;
18663 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18665 PyObject
* obj0
= 0 ;
18666 char *kwnames
[] = {
18667 (char *) "self", NULL
18670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
18671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18672 if (SWIG_arg_fail(1)) SWIG_fail
;
18673 result
= (int) ((arg1
)->m_wheelDelta
);
18676 resultobj
= SWIG_From_int((int)(result
));
18684 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18685 PyObject
*resultobj
;
18686 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18688 PyObject
* obj0
= 0 ;
18689 PyObject
* obj1
= 0 ;
18690 char *kwnames
[] = {
18691 (char *) "self",(char *) "m_linesPerAction", NULL
18694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18696 if (SWIG_arg_fail(1)) SWIG_fail
;
18698 arg2
= (int)(SWIG_As_int(obj1
));
18699 if (SWIG_arg_fail(2)) SWIG_fail
;
18701 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
18703 Py_INCREF(Py_None
); resultobj
= Py_None
;
18710 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18711 PyObject
*resultobj
;
18712 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18714 PyObject
* obj0
= 0 ;
18715 char *kwnames
[] = {
18716 (char *) "self", NULL
18719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
18720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18721 if (SWIG_arg_fail(1)) SWIG_fail
;
18722 result
= (int) ((arg1
)->m_linesPerAction
);
18725 resultobj
= SWIG_From_int((int)(result
));
18733 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
18735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18736 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
18738 return Py_BuildValue((char *)"");
18740 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18741 PyObject
*resultobj
;
18742 int arg1
= (int) 0 ;
18743 int arg2
= (int) 0 ;
18744 wxSetCursorEvent
*result
;
18745 PyObject
* obj0
= 0 ;
18746 PyObject
* obj1
= 0 ;
18747 char *kwnames
[] = {
18748 (char *) "x",(char *) "y", NULL
18751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18754 arg1
= (int)(SWIG_As_int(obj0
));
18755 if (SWIG_arg_fail(1)) SWIG_fail
;
18760 arg2
= (int)(SWIG_As_int(obj1
));
18761 if (SWIG_arg_fail(2)) SWIG_fail
;
18765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18766 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
18768 wxPyEndAllowThreads(__tstate
);
18769 if (PyErr_Occurred()) SWIG_fail
;
18771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
18778 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18779 PyObject
*resultobj
;
18780 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18782 PyObject
* obj0
= 0 ;
18783 char *kwnames
[] = {
18784 (char *) "self", NULL
18787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
18788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18789 if (SWIG_arg_fail(1)) SWIG_fail
;
18791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18792 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
18794 wxPyEndAllowThreads(__tstate
);
18795 if (PyErr_Occurred()) SWIG_fail
;
18798 resultobj
= SWIG_From_int((int)(result
));
18806 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18807 PyObject
*resultobj
;
18808 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18810 PyObject
* obj0
= 0 ;
18811 char *kwnames
[] = {
18812 (char *) "self", NULL
18815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
18816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18817 if (SWIG_arg_fail(1)) SWIG_fail
;
18819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18820 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
18822 wxPyEndAllowThreads(__tstate
);
18823 if (PyErr_Occurred()) SWIG_fail
;
18826 resultobj
= SWIG_From_int((int)(result
));
18834 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18835 PyObject
*resultobj
;
18836 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18837 wxCursor
*arg2
= 0 ;
18838 PyObject
* obj0
= 0 ;
18839 PyObject
* obj1
= 0 ;
18840 char *kwnames
[] = {
18841 (char *) "self",(char *) "cursor", NULL
18844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
18845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18846 if (SWIG_arg_fail(1)) SWIG_fail
;
18848 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
18849 if (SWIG_arg_fail(2)) SWIG_fail
;
18850 if (arg2
== NULL
) {
18851 SWIG_null_ref("wxCursor");
18853 if (SWIG_arg_fail(2)) SWIG_fail
;
18856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18857 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
18859 wxPyEndAllowThreads(__tstate
);
18860 if (PyErr_Occurred()) SWIG_fail
;
18862 Py_INCREF(Py_None
); resultobj
= Py_None
;
18869 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18870 PyObject
*resultobj
;
18871 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18873 PyObject
* obj0
= 0 ;
18874 char *kwnames
[] = {
18875 (char *) "self", NULL
18878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
18879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18880 if (SWIG_arg_fail(1)) SWIG_fail
;
18882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18884 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
18885 result
= (wxCursor
*) &_result_ref
;
18888 wxPyEndAllowThreads(__tstate
);
18889 if (PyErr_Occurred()) SWIG_fail
;
18892 wxCursor
* resultptr
= new wxCursor(*result
);
18893 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
18901 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18902 PyObject
*resultobj
;
18903 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18905 PyObject
* obj0
= 0 ;
18906 char *kwnames
[] = {
18907 (char *) "self", NULL
18910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
18911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18912 if (SWIG_arg_fail(1)) SWIG_fail
;
18914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18915 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
18917 wxPyEndAllowThreads(__tstate
);
18918 if (PyErr_Occurred()) SWIG_fail
;
18921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18929 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
18931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18932 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
18934 return Py_BuildValue((char *)"");
18936 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18937 PyObject
*resultobj
;
18938 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18939 wxKeyEvent
*result
;
18940 PyObject
* obj0
= 0 ;
18941 char *kwnames
[] = {
18942 (char *) "eventType", NULL
18945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
18948 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18949 if (SWIG_arg_fail(1)) SWIG_fail
;
18953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18954 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
18956 wxPyEndAllowThreads(__tstate
);
18957 if (PyErr_Occurred()) SWIG_fail
;
18959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
18966 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18967 PyObject
*resultobj
;
18968 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18970 PyObject
* obj0
= 0 ;
18971 char *kwnames
[] = {
18972 (char *) "self", NULL
18975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
18976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18977 if (SWIG_arg_fail(1)) SWIG_fail
;
18979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18980 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
18982 wxPyEndAllowThreads(__tstate
);
18983 if (PyErr_Occurred()) SWIG_fail
;
18986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18994 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18995 PyObject
*resultobj
;
18996 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18998 PyObject
* obj0
= 0 ;
18999 char *kwnames
[] = {
19000 (char *) "self", NULL
19003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
19004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19005 if (SWIG_arg_fail(1)) SWIG_fail
;
19007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19008 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
19010 wxPyEndAllowThreads(__tstate
);
19011 if (PyErr_Occurred()) SWIG_fail
;
19014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19022 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19023 PyObject
*resultobj
;
19024 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19026 PyObject
* obj0
= 0 ;
19027 char *kwnames
[] = {
19028 (char *) "self", NULL
19031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
19032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19033 if (SWIG_arg_fail(1)) SWIG_fail
;
19035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19036 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
19038 wxPyEndAllowThreads(__tstate
);
19039 if (PyErr_Occurred()) SWIG_fail
;
19042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19050 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19051 PyObject
*resultobj
;
19052 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19054 PyObject
* obj0
= 0 ;
19055 char *kwnames
[] = {
19056 (char *) "self", NULL
19059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
19060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19061 if (SWIG_arg_fail(1)) SWIG_fail
;
19063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19064 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
19066 wxPyEndAllowThreads(__tstate
);
19067 if (PyErr_Occurred()) SWIG_fail
;
19070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19078 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19079 PyObject
*resultobj
;
19080 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19082 PyObject
* obj0
= 0 ;
19083 char *kwnames
[] = {
19084 (char *) "self", NULL
19087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
19088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19089 if (SWIG_arg_fail(1)) SWIG_fail
;
19091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19092 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
19094 wxPyEndAllowThreads(__tstate
);
19095 if (PyErr_Occurred()) SWIG_fail
;
19098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19106 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19107 PyObject
*resultobj
;
19108 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19110 PyObject
* obj0
= 0 ;
19111 char *kwnames
[] = {
19112 (char *) "self", NULL
19115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
19116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19117 if (SWIG_arg_fail(1)) SWIG_fail
;
19119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19120 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
19122 wxPyEndAllowThreads(__tstate
);
19123 if (PyErr_Occurred()) SWIG_fail
;
19126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19134 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19135 PyObject
*resultobj
;
19136 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19138 PyObject
* obj0
= 0 ;
19139 char *kwnames
[] = {
19140 (char *) "self", NULL
19143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19145 if (SWIG_arg_fail(1)) SWIG_fail
;
19147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19148 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
19150 wxPyEndAllowThreads(__tstate
);
19151 if (PyErr_Occurred()) SWIG_fail
;
19154 resultobj
= SWIG_From_int((int)(result
));
19162 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19163 PyObject
*resultobj
;
19164 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19166 PyObject
* obj0
= 0 ;
19167 char *kwnames
[] = {
19168 (char *) "self", NULL
19171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
19172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19173 if (SWIG_arg_fail(1)) SWIG_fail
;
19175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19176 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
19178 wxPyEndAllowThreads(__tstate
);
19179 if (PyErr_Occurred()) SWIG_fail
;
19182 resultobj
= SWIG_From_int((int)(result
));
19190 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19191 PyObject
*resultobj
;
19192 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19193 unsigned int result
;
19194 PyObject
* obj0
= 0 ;
19195 char *kwnames
[] = {
19196 (char *) "self", NULL
19199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
19200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19201 if (SWIG_arg_fail(1)) SWIG_fail
;
19203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19204 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
19206 wxPyEndAllowThreads(__tstate
);
19207 if (PyErr_Occurred()) SWIG_fail
;
19210 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19218 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19219 PyObject
*resultobj
;
19220 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19221 unsigned int result
;
19222 PyObject
* obj0
= 0 ;
19223 char *kwnames
[] = {
19224 (char *) "self", NULL
19227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
19228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19229 if (SWIG_arg_fail(1)) SWIG_fail
;
19231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19232 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
19234 wxPyEndAllowThreads(__tstate
);
19235 if (PyErr_Occurred()) SWIG_fail
;
19238 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19246 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19247 PyObject
*resultobj
;
19248 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19250 PyObject
* obj0
= 0 ;
19251 char *kwnames
[] = {
19252 (char *) "self", NULL
19255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19257 if (SWIG_arg_fail(1)) SWIG_fail
;
19259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19260 result
= (arg1
)->GetPosition();
19262 wxPyEndAllowThreads(__tstate
);
19263 if (PyErr_Occurred()) SWIG_fail
;
19266 wxPoint
* resultptr
;
19267 resultptr
= new wxPoint((wxPoint
&)(result
));
19268 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19276 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19277 PyObject
*resultobj
;
19278 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19279 long *arg2
= (long *) 0 ;
19280 long *arg3
= (long *) 0 ;
19285 PyObject
* obj0
= 0 ;
19286 char *kwnames
[] = {
19287 (char *) "self", NULL
19290 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19291 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
19293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19294 if (SWIG_arg_fail(1)) SWIG_fail
;
19296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19297 (arg1
)->GetPosition(arg2
,arg3
);
19299 wxPyEndAllowThreads(__tstate
);
19300 if (PyErr_Occurred()) SWIG_fail
;
19302 Py_INCREF(Py_None
); resultobj
= Py_None
;
19303 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19304 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
19305 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19306 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
19313 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19314 PyObject
*resultobj
;
19315 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19317 PyObject
* obj0
= 0 ;
19318 char *kwnames
[] = {
19319 (char *) "self", NULL
19322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
19323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19324 if (SWIG_arg_fail(1)) SWIG_fail
;
19326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19327 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
19329 wxPyEndAllowThreads(__tstate
);
19330 if (PyErr_Occurred()) SWIG_fail
;
19333 resultobj
= SWIG_From_int((int)(result
));
19341 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19342 PyObject
*resultobj
;
19343 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19345 PyObject
* obj0
= 0 ;
19346 char *kwnames
[] = {
19347 (char *) "self", NULL
19350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
19351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19352 if (SWIG_arg_fail(1)) SWIG_fail
;
19354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19355 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
19357 wxPyEndAllowThreads(__tstate
);
19358 if (PyErr_Occurred()) SWIG_fail
;
19361 resultobj
= SWIG_From_int((int)(result
));
19369 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19370 PyObject
*resultobj
;
19371 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19373 PyObject
* obj0
= 0 ;
19374 PyObject
* obj1
= 0 ;
19375 char *kwnames
[] = {
19376 (char *) "self",(char *) "m_x", NULL
19379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19381 if (SWIG_arg_fail(1)) SWIG_fail
;
19383 arg2
= (int)(SWIG_As_int(obj1
));
19384 if (SWIG_arg_fail(2)) SWIG_fail
;
19386 if (arg1
) (arg1
)->m_x
= arg2
;
19388 Py_INCREF(Py_None
); resultobj
= Py_None
;
19395 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19396 PyObject
*resultobj
;
19397 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19399 PyObject
* obj0
= 0 ;
19400 char *kwnames
[] = {
19401 (char *) "self", NULL
19404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
19405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19406 if (SWIG_arg_fail(1)) SWIG_fail
;
19407 result
= (int) ((arg1
)->m_x
);
19410 resultobj
= SWIG_From_int((int)(result
));
19418 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19419 PyObject
*resultobj
;
19420 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19422 PyObject
* obj0
= 0 ;
19423 PyObject
* obj1
= 0 ;
19424 char *kwnames
[] = {
19425 (char *) "self",(char *) "m_y", NULL
19428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19430 if (SWIG_arg_fail(1)) SWIG_fail
;
19432 arg2
= (int)(SWIG_As_int(obj1
));
19433 if (SWIG_arg_fail(2)) SWIG_fail
;
19435 if (arg1
) (arg1
)->m_y
= arg2
;
19437 Py_INCREF(Py_None
); resultobj
= Py_None
;
19444 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19445 PyObject
*resultobj
;
19446 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19448 PyObject
* obj0
= 0 ;
19449 char *kwnames
[] = {
19450 (char *) "self", NULL
19453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
19454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19455 if (SWIG_arg_fail(1)) SWIG_fail
;
19456 result
= (int) ((arg1
)->m_y
);
19459 resultobj
= SWIG_From_int((int)(result
));
19467 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19468 PyObject
*resultobj
;
19469 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19471 PyObject
* obj0
= 0 ;
19472 PyObject
* obj1
= 0 ;
19473 char *kwnames
[] = {
19474 (char *) "self",(char *) "m_keyCode", NULL
19477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19479 if (SWIG_arg_fail(1)) SWIG_fail
;
19481 arg2
= (long)(SWIG_As_long(obj1
));
19482 if (SWIG_arg_fail(2)) SWIG_fail
;
19484 if (arg1
) (arg1
)->m_keyCode
= arg2
;
19486 Py_INCREF(Py_None
); resultobj
= Py_None
;
19493 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19494 PyObject
*resultobj
;
19495 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19497 PyObject
* obj0
= 0 ;
19498 char *kwnames
[] = {
19499 (char *) "self", NULL
19502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
19503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19504 if (SWIG_arg_fail(1)) SWIG_fail
;
19505 result
= (long) ((arg1
)->m_keyCode
);
19508 resultobj
= SWIG_From_long((long)(result
));
19516 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19517 PyObject
*resultobj
;
19518 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19520 PyObject
* obj0
= 0 ;
19521 PyObject
* obj1
= 0 ;
19522 char *kwnames
[] = {
19523 (char *) "self",(char *) "m_controlDown", NULL
19526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19528 if (SWIG_arg_fail(1)) SWIG_fail
;
19530 arg2
= (bool)(SWIG_As_bool(obj1
));
19531 if (SWIG_arg_fail(2)) SWIG_fail
;
19533 if (arg1
) (arg1
)->m_controlDown
= arg2
;
19535 Py_INCREF(Py_None
); resultobj
= Py_None
;
19542 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19543 PyObject
*resultobj
;
19544 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19546 PyObject
* obj0
= 0 ;
19547 char *kwnames
[] = {
19548 (char *) "self", NULL
19551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
19552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19553 if (SWIG_arg_fail(1)) SWIG_fail
;
19554 result
= (bool) ((arg1
)->m_controlDown
);
19557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19565 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19566 PyObject
*resultobj
;
19567 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19569 PyObject
* obj0
= 0 ;
19570 PyObject
* obj1
= 0 ;
19571 char *kwnames
[] = {
19572 (char *) "self",(char *) "m_shiftDown", NULL
19575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19577 if (SWIG_arg_fail(1)) SWIG_fail
;
19579 arg2
= (bool)(SWIG_As_bool(obj1
));
19580 if (SWIG_arg_fail(2)) SWIG_fail
;
19582 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
19584 Py_INCREF(Py_None
); resultobj
= Py_None
;
19591 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19592 PyObject
*resultobj
;
19593 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19595 PyObject
* obj0
= 0 ;
19596 char *kwnames
[] = {
19597 (char *) "self", NULL
19600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
19601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19602 if (SWIG_arg_fail(1)) SWIG_fail
;
19603 result
= (bool) ((arg1
)->m_shiftDown
);
19606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19614 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19615 PyObject
*resultobj
;
19616 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19618 PyObject
* obj0
= 0 ;
19619 PyObject
* obj1
= 0 ;
19620 char *kwnames
[] = {
19621 (char *) "self",(char *) "m_altDown", NULL
19624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19626 if (SWIG_arg_fail(1)) SWIG_fail
;
19628 arg2
= (bool)(SWIG_As_bool(obj1
));
19629 if (SWIG_arg_fail(2)) SWIG_fail
;
19631 if (arg1
) (arg1
)->m_altDown
= arg2
;
19633 Py_INCREF(Py_None
); resultobj
= Py_None
;
19640 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19641 PyObject
*resultobj
;
19642 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19644 PyObject
* obj0
= 0 ;
19645 char *kwnames
[] = {
19646 (char *) "self", NULL
19649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
19650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19651 if (SWIG_arg_fail(1)) SWIG_fail
;
19652 result
= (bool) ((arg1
)->m_altDown
);
19655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19663 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19664 PyObject
*resultobj
;
19665 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19667 PyObject
* obj0
= 0 ;
19668 PyObject
* obj1
= 0 ;
19669 char *kwnames
[] = {
19670 (char *) "self",(char *) "m_metaDown", NULL
19673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19675 if (SWIG_arg_fail(1)) SWIG_fail
;
19677 arg2
= (bool)(SWIG_As_bool(obj1
));
19678 if (SWIG_arg_fail(2)) SWIG_fail
;
19680 if (arg1
) (arg1
)->m_metaDown
= arg2
;
19682 Py_INCREF(Py_None
); resultobj
= Py_None
;
19689 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19690 PyObject
*resultobj
;
19691 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19693 PyObject
* obj0
= 0 ;
19694 char *kwnames
[] = {
19695 (char *) "self", NULL
19698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
19699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19700 if (SWIG_arg_fail(1)) SWIG_fail
;
19701 result
= (bool) ((arg1
)->m_metaDown
);
19704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19712 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19713 PyObject
*resultobj
;
19714 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19716 PyObject
* obj0
= 0 ;
19717 PyObject
* obj1
= 0 ;
19718 char *kwnames
[] = {
19719 (char *) "self",(char *) "m_scanCode", NULL
19722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19724 if (SWIG_arg_fail(1)) SWIG_fail
;
19726 arg2
= (bool)(SWIG_As_bool(obj1
));
19727 if (SWIG_arg_fail(2)) SWIG_fail
;
19729 if (arg1
) (arg1
)->m_scanCode
= arg2
;
19731 Py_INCREF(Py_None
); resultobj
= Py_None
;
19738 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19739 PyObject
*resultobj
;
19740 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19742 PyObject
* obj0
= 0 ;
19743 char *kwnames
[] = {
19744 (char *) "self", NULL
19747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
19748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19749 if (SWIG_arg_fail(1)) SWIG_fail
;
19750 result
= (bool) ((arg1
)->m_scanCode
);
19753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19761 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19762 PyObject
*resultobj
;
19763 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19764 unsigned int arg2
;
19765 PyObject
* obj0
= 0 ;
19766 PyObject
* obj1
= 0 ;
19767 char *kwnames
[] = {
19768 (char *) "self",(char *) "m_rawCode", NULL
19771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19773 if (SWIG_arg_fail(1)) SWIG_fail
;
19775 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19776 if (SWIG_arg_fail(2)) SWIG_fail
;
19778 if (arg1
) (arg1
)->m_rawCode
= arg2
;
19780 Py_INCREF(Py_None
); resultobj
= Py_None
;
19787 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19788 PyObject
*resultobj
;
19789 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19790 unsigned int result
;
19791 PyObject
* obj0
= 0 ;
19792 char *kwnames
[] = {
19793 (char *) "self", NULL
19796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
19797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19798 if (SWIG_arg_fail(1)) SWIG_fail
;
19799 result
= (unsigned int) ((arg1
)->m_rawCode
);
19802 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19810 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19811 PyObject
*resultobj
;
19812 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19813 unsigned int arg2
;
19814 PyObject
* obj0
= 0 ;
19815 PyObject
* obj1
= 0 ;
19816 char *kwnames
[] = {
19817 (char *) "self",(char *) "m_rawFlags", NULL
19820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19822 if (SWIG_arg_fail(1)) SWIG_fail
;
19824 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19825 if (SWIG_arg_fail(2)) SWIG_fail
;
19827 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
19829 Py_INCREF(Py_None
); resultobj
= Py_None
;
19836 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19837 PyObject
*resultobj
;
19838 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19839 unsigned int result
;
19840 PyObject
* obj0
= 0 ;
19841 char *kwnames
[] = {
19842 (char *) "self", NULL
19845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
19846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19847 if (SWIG_arg_fail(1)) SWIG_fail
;
19848 result
= (unsigned int) ((arg1
)->m_rawFlags
);
19851 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19859 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19861 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19862 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
19864 return Py_BuildValue((char *)"");
19866 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19867 PyObject
*resultobj
;
19868 wxSize
const &arg1_defvalue
= wxDefaultSize
;
19869 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
19870 int arg2
= (int) 0 ;
19871 wxSizeEvent
*result
;
19873 PyObject
* obj0
= 0 ;
19874 PyObject
* obj1
= 0 ;
19875 char *kwnames
[] = {
19876 (char *) "sz",(char *) "winid", NULL
19879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19883 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
19888 arg2
= (int)(SWIG_As_int(obj1
));
19889 if (SWIG_arg_fail(2)) SWIG_fail
;
19893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19894 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
19896 wxPyEndAllowThreads(__tstate
);
19897 if (PyErr_Occurred()) SWIG_fail
;
19899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
19906 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19907 PyObject
*resultobj
;
19908 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19910 PyObject
* obj0
= 0 ;
19911 char *kwnames
[] = {
19912 (char *) "self", NULL
19915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
19916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19917 if (SWIG_arg_fail(1)) SWIG_fail
;
19919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19920 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
19922 wxPyEndAllowThreads(__tstate
);
19923 if (PyErr_Occurred()) SWIG_fail
;
19926 wxSize
* resultptr
;
19927 resultptr
= new wxSize((wxSize
&)(result
));
19928 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19936 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19937 PyObject
*resultobj
;
19938 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19940 PyObject
* obj0
= 0 ;
19941 char *kwnames
[] = {
19942 (char *) "self", NULL
19945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19947 if (SWIG_arg_fail(1)) SWIG_fail
;
19949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19950 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
19952 wxPyEndAllowThreads(__tstate
);
19953 if (PyErr_Occurred()) SWIG_fail
;
19956 wxRect
* resultptr
;
19957 resultptr
= new wxRect((wxRect
&)(result
));
19958 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19966 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19967 PyObject
*resultobj
;
19968 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19970 PyObject
* obj0
= 0 ;
19971 PyObject
* obj1
= 0 ;
19972 char *kwnames
[] = {
19973 (char *) "self",(char *) "rect", NULL
19976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19978 if (SWIG_arg_fail(1)) SWIG_fail
;
19981 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
19982 if (SWIG_arg_fail(2)) SWIG_fail
;
19983 if (argp
== NULL
) {
19984 SWIG_null_ref("wxRect");
19986 if (SWIG_arg_fail(2)) SWIG_fail
;
19990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19991 (arg1
)->SetRect(arg2
);
19993 wxPyEndAllowThreads(__tstate
);
19994 if (PyErr_Occurred()) SWIG_fail
;
19996 Py_INCREF(Py_None
); resultobj
= Py_None
;
20003 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20004 PyObject
*resultobj
;
20005 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
20007 PyObject
* obj0
= 0 ;
20008 PyObject
* obj1
= 0 ;
20009 char *kwnames
[] = {
20010 (char *) "self",(char *) "size", NULL
20013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20015 if (SWIG_arg_fail(1)) SWIG_fail
;
20018 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
20019 if (SWIG_arg_fail(2)) SWIG_fail
;
20020 if (argp
== NULL
) {
20021 SWIG_null_ref("wxSize");
20023 if (SWIG_arg_fail(2)) SWIG_fail
;
20027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20028 wxSizeEvent_SetSize(arg1
,arg2
);
20030 wxPyEndAllowThreads(__tstate
);
20031 if (PyErr_Occurred()) SWIG_fail
;
20033 Py_INCREF(Py_None
); resultobj
= Py_None
;
20040 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20041 PyObject
*resultobj
;
20042 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
20043 wxSize
*arg2
= (wxSize
*) 0 ;
20044 PyObject
* obj0
= 0 ;
20045 PyObject
* obj1
= 0 ;
20046 char *kwnames
[] = {
20047 (char *) "self",(char *) "m_size", NULL
20050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20052 if (SWIG_arg_fail(1)) SWIG_fail
;
20053 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
20054 if (SWIG_arg_fail(2)) SWIG_fail
;
20055 if (arg1
) (arg1
)->m_size
= *arg2
;
20057 Py_INCREF(Py_None
); resultobj
= Py_None
;
20064 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20065 PyObject
*resultobj
;
20066 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
20068 PyObject
* obj0
= 0 ;
20069 char *kwnames
[] = {
20070 (char *) "self", NULL
20073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
20074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20075 if (SWIG_arg_fail(1)) SWIG_fail
;
20076 result
= (wxSize
*)& ((arg1
)->m_size
);
20078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
20085 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20086 PyObject
*resultobj
;
20087 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
20088 wxRect
*arg2
= (wxRect
*) 0 ;
20089 PyObject
* obj0
= 0 ;
20090 PyObject
* obj1
= 0 ;
20091 char *kwnames
[] = {
20092 (char *) "self",(char *) "m_rect", NULL
20095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20097 if (SWIG_arg_fail(1)) SWIG_fail
;
20098 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
20099 if (SWIG_arg_fail(2)) SWIG_fail
;
20100 if (arg1
) (arg1
)->m_rect
= *arg2
;
20102 Py_INCREF(Py_None
); resultobj
= Py_None
;
20109 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20110 PyObject
*resultobj
;
20111 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
20113 PyObject
* obj0
= 0 ;
20114 char *kwnames
[] = {
20115 (char *) "self", NULL
20118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
20119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20120 if (SWIG_arg_fail(1)) SWIG_fail
;
20121 result
= (wxRect
*)& ((arg1
)->m_rect
);
20123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
20130 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20132 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20133 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
20135 return Py_BuildValue((char *)"");
20137 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20138 PyObject
*resultobj
;
20139 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
20140 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
20141 int arg2
= (int) 0 ;
20142 wxMoveEvent
*result
;
20144 PyObject
* obj0
= 0 ;
20145 PyObject
* obj1
= 0 ;
20146 char *kwnames
[] = {
20147 (char *) "pos",(char *) "winid", NULL
20150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20154 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
20159 arg2
= (int)(SWIG_As_int(obj1
));
20160 if (SWIG_arg_fail(2)) SWIG_fail
;
20164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20165 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
20167 wxPyEndAllowThreads(__tstate
);
20168 if (PyErr_Occurred()) SWIG_fail
;
20170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
20177 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20178 PyObject
*resultobj
;
20179 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
20181 PyObject
* obj0
= 0 ;
20182 char *kwnames
[] = {
20183 (char *) "self", NULL
20186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
20188 if (SWIG_arg_fail(1)) SWIG_fail
;
20190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20191 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
20193 wxPyEndAllowThreads(__tstate
);
20194 if (PyErr_Occurred()) SWIG_fail
;
20197 wxPoint
* resultptr
;
20198 resultptr
= new wxPoint((wxPoint
&)(result
));
20199 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20207 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20208 PyObject
*resultobj
;
20209 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
20211 PyObject
* obj0
= 0 ;
20212 char *kwnames
[] = {
20213 (char *) "self", NULL
20216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
20217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
20218 if (SWIG_arg_fail(1)) SWIG_fail
;
20220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20221 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
20223 wxPyEndAllowThreads(__tstate
);
20224 if (PyErr_Occurred()) SWIG_fail
;
20227 wxRect
* resultptr
;
20228 resultptr
= new wxRect((wxRect
&)(result
));
20229 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20237 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20238 PyObject
*resultobj
;
20239 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
20242 PyObject
* obj0
= 0 ;
20243 PyObject
* obj1
= 0 ;
20244 char *kwnames
[] = {
20245 (char *) "self",(char *) "rect", NULL
20248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
20249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
20250 if (SWIG_arg_fail(1)) SWIG_fail
;
20253 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20257 (arg1
)->SetRect((wxRect
const &)*arg2
);
20259 wxPyEndAllowThreads(__tstate
);
20260 if (PyErr_Occurred()) SWIG_fail
;
20262 Py_INCREF(Py_None
); resultobj
= Py_None
;
20269 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20270 PyObject
*resultobj
;
20271 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
20272 wxPoint
*arg2
= 0 ;
20274 PyObject
* obj0
= 0 ;
20275 PyObject
* obj1
= 0 ;
20276 char *kwnames
[] = {
20277 (char *) "self",(char *) "pos", NULL
20280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
20281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
20282 if (SWIG_arg_fail(1)) SWIG_fail
;
20285 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20289 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
20291 wxPyEndAllowThreads(__tstate
);
20292 if (PyErr_Occurred()) SWIG_fail
;
20294 Py_INCREF(Py_None
); resultobj
= Py_None
;
20301 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
20303 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20304 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
20306 return Py_BuildValue((char *)"");
20308 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20309 PyObject
*resultobj
;
20310 int arg1
= (int) 0 ;
20311 wxPaintEvent
*result
;
20312 PyObject
* obj0
= 0 ;
20313 char *kwnames
[] = {
20314 (char *) "Id", NULL
20317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
20320 arg1
= (int)(SWIG_As_int(obj0
));
20321 if (SWIG_arg_fail(1)) SWIG_fail
;
20325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20326 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
20328 wxPyEndAllowThreads(__tstate
);
20329 if (PyErr_Occurred()) SWIG_fail
;
20331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
20338 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
20340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20341 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
20343 return Py_BuildValue((char *)"");
20345 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20346 PyObject
*resultobj
;
20347 int arg1
= (int) 0 ;
20348 wxNcPaintEvent
*result
;
20349 PyObject
* obj0
= 0 ;
20350 char *kwnames
[] = {
20351 (char *) "winid", NULL
20354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
20357 arg1
= (int)(SWIG_As_int(obj0
));
20358 if (SWIG_arg_fail(1)) SWIG_fail
;
20362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20363 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
20365 wxPyEndAllowThreads(__tstate
);
20366 if (PyErr_Occurred()) SWIG_fail
;
20368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
20375 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
20377 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20378 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
20380 return Py_BuildValue((char *)"");
20382 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20383 PyObject
*resultobj
;
20384 int arg1
= (int) 0 ;
20385 wxDC
*arg2
= (wxDC
*) NULL
;
20386 wxEraseEvent
*result
;
20387 PyObject
* obj0
= 0 ;
20388 PyObject
* obj1
= 0 ;
20389 char *kwnames
[] = {
20390 (char *) "Id",(char *) "dc", NULL
20393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20396 arg1
= (int)(SWIG_As_int(obj0
));
20397 if (SWIG_arg_fail(1)) SWIG_fail
;
20401 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20402 if (SWIG_arg_fail(2)) SWIG_fail
;
20405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20406 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
20408 wxPyEndAllowThreads(__tstate
);
20409 if (PyErr_Occurred()) SWIG_fail
;
20411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
20418 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20419 PyObject
*resultobj
;
20420 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
20422 PyObject
* obj0
= 0 ;
20423 char *kwnames
[] = {
20424 (char *) "self", NULL
20427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
20428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20429 if (SWIG_arg_fail(1)) SWIG_fail
;
20431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20432 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
20434 wxPyEndAllowThreads(__tstate
);
20435 if (PyErr_Occurred()) SWIG_fail
;
20438 resultobj
= wxPyMake_wxObject(result
, 0);
20446 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
20448 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20449 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
20451 return Py_BuildValue((char *)"");
20453 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20454 PyObject
*resultobj
;
20455 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20456 int arg2
= (int) 0 ;
20457 wxFocusEvent
*result
;
20458 PyObject
* obj0
= 0 ;
20459 PyObject
* obj1
= 0 ;
20460 char *kwnames
[] = {
20461 (char *) "type",(char *) "winid", NULL
20464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20467 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20468 if (SWIG_arg_fail(1)) SWIG_fail
;
20473 arg2
= (int)(SWIG_As_int(obj1
));
20474 if (SWIG_arg_fail(2)) SWIG_fail
;
20478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20479 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
20481 wxPyEndAllowThreads(__tstate
);
20482 if (PyErr_Occurred()) SWIG_fail
;
20484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
20491 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20492 PyObject
*resultobj
;
20493 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
20495 PyObject
* obj0
= 0 ;
20496 char *kwnames
[] = {
20497 (char *) "self", NULL
20500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
20501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
20502 if (SWIG_arg_fail(1)) SWIG_fail
;
20504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20505 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
20507 wxPyEndAllowThreads(__tstate
);
20508 if (PyErr_Occurred()) SWIG_fail
;
20511 resultobj
= wxPyMake_wxObject(result
, 0);
20519 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20520 PyObject
*resultobj
;
20521 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
20522 wxWindow
*arg2
= (wxWindow
*) 0 ;
20523 PyObject
* obj0
= 0 ;
20524 PyObject
* obj1
= 0 ;
20525 char *kwnames
[] = {
20526 (char *) "self",(char *) "win", NULL
20529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
20531 if (SWIG_arg_fail(1)) SWIG_fail
;
20532 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20533 if (SWIG_arg_fail(2)) SWIG_fail
;
20535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20536 (arg1
)->SetWindow(arg2
);
20538 wxPyEndAllowThreads(__tstate
);
20539 if (PyErr_Occurred()) SWIG_fail
;
20541 Py_INCREF(Py_None
); resultobj
= Py_None
;
20548 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
20550 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20551 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
20553 return Py_BuildValue((char *)"");
20555 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20556 PyObject
*resultobj
;
20557 wxWindow
*arg1
= (wxWindow
*) NULL
;
20558 wxChildFocusEvent
*result
;
20559 PyObject
* obj0
= 0 ;
20560 char *kwnames
[] = {
20561 (char *) "win", NULL
20564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
20566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20567 if (SWIG_arg_fail(1)) SWIG_fail
;
20570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20571 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
20573 wxPyEndAllowThreads(__tstate
);
20574 if (PyErr_Occurred()) SWIG_fail
;
20576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
20583 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20584 PyObject
*resultobj
;
20585 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
20587 PyObject
* obj0
= 0 ;
20588 char *kwnames
[] = {
20589 (char *) "self", NULL
20592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
20593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
20594 if (SWIG_arg_fail(1)) SWIG_fail
;
20596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20597 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
20599 wxPyEndAllowThreads(__tstate
);
20600 if (PyErr_Occurred()) SWIG_fail
;
20603 resultobj
= wxPyMake_wxObject(result
, 0);
20611 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
20613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20614 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
20616 return Py_BuildValue((char *)"");
20618 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20619 PyObject
*resultobj
;
20620 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20621 bool arg2
= (bool) true ;
20622 int arg3
= (int) 0 ;
20623 wxActivateEvent
*result
;
20624 PyObject
* obj0
= 0 ;
20625 PyObject
* obj1
= 0 ;
20626 PyObject
* obj2
= 0 ;
20627 char *kwnames
[] = {
20628 (char *) "type",(char *) "active",(char *) "Id", NULL
20631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20634 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20635 if (SWIG_arg_fail(1)) SWIG_fail
;
20640 arg2
= (bool)(SWIG_As_bool(obj1
));
20641 if (SWIG_arg_fail(2)) SWIG_fail
;
20646 arg3
= (int)(SWIG_As_int(obj2
));
20647 if (SWIG_arg_fail(3)) SWIG_fail
;
20651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20652 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
20654 wxPyEndAllowThreads(__tstate
);
20655 if (PyErr_Occurred()) SWIG_fail
;
20657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
20664 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20665 PyObject
*resultobj
;
20666 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
20668 PyObject
* obj0
= 0 ;
20669 char *kwnames
[] = {
20670 (char *) "self", NULL
20673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
20674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
20675 if (SWIG_arg_fail(1)) SWIG_fail
;
20677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20678 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
20680 wxPyEndAllowThreads(__tstate
);
20681 if (PyErr_Occurred()) SWIG_fail
;
20684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20692 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
20694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20695 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
20697 return Py_BuildValue((char *)"");
20699 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20700 PyObject
*resultobj
;
20701 int arg1
= (int) 0 ;
20702 wxInitDialogEvent
*result
;
20703 PyObject
* obj0
= 0 ;
20704 char *kwnames
[] = {
20705 (char *) "Id", NULL
20708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
20711 arg1
= (int)(SWIG_As_int(obj0
));
20712 if (SWIG_arg_fail(1)) SWIG_fail
;
20716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20717 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
20719 wxPyEndAllowThreads(__tstate
);
20720 if (PyErr_Occurred()) SWIG_fail
;
20722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
20729 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
20731 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20732 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
20734 return Py_BuildValue((char *)"");
20736 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20737 PyObject
*resultobj
;
20738 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20739 int arg2
= (int) 0 ;
20740 wxMenu
*arg3
= (wxMenu
*) NULL
;
20741 wxMenuEvent
*result
;
20742 PyObject
* obj0
= 0 ;
20743 PyObject
* obj1
= 0 ;
20744 PyObject
* obj2
= 0 ;
20745 char *kwnames
[] = {
20746 (char *) "type",(char *) "winid",(char *) "menu", NULL
20749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20752 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20753 if (SWIG_arg_fail(1)) SWIG_fail
;
20758 arg2
= (int)(SWIG_As_int(obj1
));
20759 if (SWIG_arg_fail(2)) SWIG_fail
;
20763 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
20764 if (SWIG_arg_fail(3)) SWIG_fail
;
20767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20768 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
20770 wxPyEndAllowThreads(__tstate
);
20771 if (PyErr_Occurred()) SWIG_fail
;
20773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
20780 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20781 PyObject
*resultobj
;
20782 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20784 PyObject
* obj0
= 0 ;
20785 char *kwnames
[] = {
20786 (char *) "self", NULL
20789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
20790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20791 if (SWIG_arg_fail(1)) SWIG_fail
;
20793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20794 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
20796 wxPyEndAllowThreads(__tstate
);
20797 if (PyErr_Occurred()) SWIG_fail
;
20800 resultobj
= SWIG_From_int((int)(result
));
20808 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20809 PyObject
*resultobj
;
20810 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20812 PyObject
* obj0
= 0 ;
20813 char *kwnames
[] = {
20814 (char *) "self", NULL
20817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
20818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20819 if (SWIG_arg_fail(1)) SWIG_fail
;
20821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20822 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
20824 wxPyEndAllowThreads(__tstate
);
20825 if (PyErr_Occurred()) SWIG_fail
;
20828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20836 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20837 PyObject
*resultobj
;
20838 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20840 PyObject
* obj0
= 0 ;
20841 char *kwnames
[] = {
20842 (char *) "self", NULL
20845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
20846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20847 if (SWIG_arg_fail(1)) SWIG_fail
;
20849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20850 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
20852 wxPyEndAllowThreads(__tstate
);
20853 if (PyErr_Occurred()) SWIG_fail
;
20856 resultobj
= wxPyMake_wxObject(result
, 0);
20864 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
20866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20867 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
20869 return Py_BuildValue((char *)"");
20871 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20872 PyObject
*resultobj
;
20873 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20874 int arg2
= (int) 0 ;
20875 wxCloseEvent
*result
;
20876 PyObject
* obj0
= 0 ;
20877 PyObject
* obj1
= 0 ;
20878 char *kwnames
[] = {
20879 (char *) "type",(char *) "winid", NULL
20882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20885 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20886 if (SWIG_arg_fail(1)) SWIG_fail
;
20891 arg2
= (int)(SWIG_As_int(obj1
));
20892 if (SWIG_arg_fail(2)) SWIG_fail
;
20896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20897 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
20899 wxPyEndAllowThreads(__tstate
);
20900 if (PyErr_Occurred()) SWIG_fail
;
20902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
20909 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20910 PyObject
*resultobj
;
20911 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20913 PyObject
* obj0
= 0 ;
20914 PyObject
* obj1
= 0 ;
20915 char *kwnames
[] = {
20916 (char *) "self",(char *) "logOff", NULL
20919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
20920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20921 if (SWIG_arg_fail(1)) SWIG_fail
;
20923 arg2
= (bool)(SWIG_As_bool(obj1
));
20924 if (SWIG_arg_fail(2)) SWIG_fail
;
20927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20928 (arg1
)->SetLoggingOff(arg2
);
20930 wxPyEndAllowThreads(__tstate
);
20931 if (PyErr_Occurred()) SWIG_fail
;
20933 Py_INCREF(Py_None
); resultobj
= Py_None
;
20940 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20941 PyObject
*resultobj
;
20942 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20944 PyObject
* obj0
= 0 ;
20945 char *kwnames
[] = {
20946 (char *) "self", NULL
20949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
20950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20951 if (SWIG_arg_fail(1)) SWIG_fail
;
20953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20954 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
20956 wxPyEndAllowThreads(__tstate
);
20957 if (PyErr_Occurred()) SWIG_fail
;
20960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20968 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20969 PyObject
*resultobj
;
20970 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20971 bool arg2
= (bool) true ;
20972 PyObject
* obj0
= 0 ;
20973 PyObject
* obj1
= 0 ;
20974 char *kwnames
[] = {
20975 (char *) "self",(char *) "veto", NULL
20978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
20979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20980 if (SWIG_arg_fail(1)) SWIG_fail
;
20983 arg2
= (bool)(SWIG_As_bool(obj1
));
20984 if (SWIG_arg_fail(2)) SWIG_fail
;
20988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20989 (arg1
)->Veto(arg2
);
20991 wxPyEndAllowThreads(__tstate
);
20992 if (PyErr_Occurred()) SWIG_fail
;
20994 Py_INCREF(Py_None
); resultobj
= Py_None
;
21001 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21002 PyObject
*resultobj
;
21003 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
21005 PyObject
* obj0
= 0 ;
21006 char *kwnames
[] = {
21007 (char *) "self", NULL
21010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
21011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
21012 if (SWIG_arg_fail(1)) SWIG_fail
;
21014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21015 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
21017 wxPyEndAllowThreads(__tstate
);
21018 if (PyErr_Occurred()) SWIG_fail
;
21021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21029 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21030 PyObject
*resultobj
;
21031 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
21033 PyObject
* obj0
= 0 ;
21034 PyObject
* obj1
= 0 ;
21035 char *kwnames
[] = {
21036 (char *) "self",(char *) "canVeto", NULL
21039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
21040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
21041 if (SWIG_arg_fail(1)) SWIG_fail
;
21043 arg2
= (bool)(SWIG_As_bool(obj1
));
21044 if (SWIG_arg_fail(2)) SWIG_fail
;
21047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21048 (arg1
)->SetCanVeto(arg2
);
21050 wxPyEndAllowThreads(__tstate
);
21051 if (PyErr_Occurred()) SWIG_fail
;
21053 Py_INCREF(Py_None
); resultobj
= Py_None
;
21060 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21061 PyObject
*resultobj
;
21062 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
21064 PyObject
* obj0
= 0 ;
21065 char *kwnames
[] = {
21066 (char *) "self", NULL
21069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
21070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
21071 if (SWIG_arg_fail(1)) SWIG_fail
;
21073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21074 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
21076 wxPyEndAllowThreads(__tstate
);
21077 if (PyErr_Occurred()) SWIG_fail
;
21080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21088 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
21090 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21091 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
21093 return Py_BuildValue((char *)"");
21095 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21096 PyObject
*resultobj
;
21097 int arg1
= (int) 0 ;
21098 bool arg2
= (bool) false ;
21099 wxShowEvent
*result
;
21100 PyObject
* obj0
= 0 ;
21101 PyObject
* obj1
= 0 ;
21102 char *kwnames
[] = {
21103 (char *) "winid",(char *) "show", NULL
21106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21109 arg1
= (int)(SWIG_As_int(obj0
));
21110 if (SWIG_arg_fail(1)) SWIG_fail
;
21115 arg2
= (bool)(SWIG_As_bool(obj1
));
21116 if (SWIG_arg_fail(2)) SWIG_fail
;
21120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21121 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
21123 wxPyEndAllowThreads(__tstate
);
21124 if (PyErr_Occurred()) SWIG_fail
;
21126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
21133 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21134 PyObject
*resultobj
;
21135 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
21137 PyObject
* obj0
= 0 ;
21138 PyObject
* obj1
= 0 ;
21139 char *kwnames
[] = {
21140 (char *) "self",(char *) "show", NULL
21143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
21144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
21145 if (SWIG_arg_fail(1)) SWIG_fail
;
21147 arg2
= (bool)(SWIG_As_bool(obj1
));
21148 if (SWIG_arg_fail(2)) SWIG_fail
;
21151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21152 (arg1
)->SetShow(arg2
);
21154 wxPyEndAllowThreads(__tstate
);
21155 if (PyErr_Occurred()) SWIG_fail
;
21157 Py_INCREF(Py_None
); resultobj
= Py_None
;
21164 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21165 PyObject
*resultobj
;
21166 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
21168 PyObject
* obj0
= 0 ;
21169 char *kwnames
[] = {
21170 (char *) "self", NULL
21173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
21174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
21175 if (SWIG_arg_fail(1)) SWIG_fail
;
21177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21178 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
21180 wxPyEndAllowThreads(__tstate
);
21181 if (PyErr_Occurred()) SWIG_fail
;
21184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21192 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
21194 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21195 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
21197 return Py_BuildValue((char *)"");
21199 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21200 PyObject
*resultobj
;
21201 int arg1
= (int) 0 ;
21202 bool arg2
= (bool) true ;
21203 wxIconizeEvent
*result
;
21204 PyObject
* obj0
= 0 ;
21205 PyObject
* obj1
= 0 ;
21206 char *kwnames
[] = {
21207 (char *) "id",(char *) "iconized", NULL
21210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21213 arg1
= (int)(SWIG_As_int(obj0
));
21214 if (SWIG_arg_fail(1)) SWIG_fail
;
21219 arg2
= (bool)(SWIG_As_bool(obj1
));
21220 if (SWIG_arg_fail(2)) SWIG_fail
;
21224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21225 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
21227 wxPyEndAllowThreads(__tstate
);
21228 if (PyErr_Occurred()) SWIG_fail
;
21230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
21237 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21238 PyObject
*resultobj
;
21239 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
21241 PyObject
* obj0
= 0 ;
21242 char *kwnames
[] = {
21243 (char *) "self", NULL
21246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
21247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
21248 if (SWIG_arg_fail(1)) SWIG_fail
;
21250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21251 result
= (bool)(arg1
)->Iconized();
21253 wxPyEndAllowThreads(__tstate
);
21254 if (PyErr_Occurred()) SWIG_fail
;
21257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21265 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
21267 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21268 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
21270 return Py_BuildValue((char *)"");
21272 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21273 PyObject
*resultobj
;
21274 int arg1
= (int) 0 ;
21275 wxMaximizeEvent
*result
;
21276 PyObject
* obj0
= 0 ;
21277 char *kwnames
[] = {
21278 (char *) "id", NULL
21281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
21284 arg1
= (int)(SWIG_As_int(obj0
));
21285 if (SWIG_arg_fail(1)) SWIG_fail
;
21289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21290 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
21292 wxPyEndAllowThreads(__tstate
);
21293 if (PyErr_Occurred()) SWIG_fail
;
21295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
21302 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
21304 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21305 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
21307 return Py_BuildValue((char *)"");
21309 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21310 PyObject
*resultobj
;
21311 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
21313 PyObject
* obj0
= 0 ;
21314 char *kwnames
[] = {
21315 (char *) "self", NULL
21318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
21319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
21320 if (SWIG_arg_fail(1)) SWIG_fail
;
21322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21323 result
= (arg1
)->GetPosition();
21325 wxPyEndAllowThreads(__tstate
);
21326 if (PyErr_Occurred()) SWIG_fail
;
21329 wxPoint
* resultptr
;
21330 resultptr
= new wxPoint((wxPoint
&)(result
));
21331 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21339 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21340 PyObject
*resultobj
;
21341 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
21343 PyObject
* obj0
= 0 ;
21344 char *kwnames
[] = {
21345 (char *) "self", NULL
21348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
21349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
21350 if (SWIG_arg_fail(1)) SWIG_fail
;
21352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21353 result
= (int)(arg1
)->GetNumberOfFiles();
21355 wxPyEndAllowThreads(__tstate
);
21356 if (PyErr_Occurred()) SWIG_fail
;
21359 resultobj
= SWIG_From_int((int)(result
));
21367 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21368 PyObject
*resultobj
;
21369 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
21371 PyObject
* obj0
= 0 ;
21372 char *kwnames
[] = {
21373 (char *) "self", NULL
21376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
21377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
21378 if (SWIG_arg_fail(1)) SWIG_fail
;
21380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21381 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
21383 wxPyEndAllowThreads(__tstate
);
21384 if (PyErr_Occurred()) SWIG_fail
;
21386 resultobj
= result
;
21393 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
21395 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21396 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
21398 return Py_BuildValue((char *)"");
21400 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21401 PyObject
*resultobj
;
21402 int arg1
= (int) 0 ;
21403 wxUpdateUIEvent
*result
;
21404 PyObject
* obj0
= 0 ;
21405 char *kwnames
[] = {
21406 (char *) "commandId", NULL
21409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
21412 arg1
= (int)(SWIG_As_int(obj0
));
21413 if (SWIG_arg_fail(1)) SWIG_fail
;
21417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21418 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
21420 wxPyEndAllowThreads(__tstate
);
21421 if (PyErr_Occurred()) SWIG_fail
;
21423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
21430 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21431 PyObject
*resultobj
;
21432 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21434 PyObject
* obj0
= 0 ;
21435 char *kwnames
[] = {
21436 (char *) "self", NULL
21439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
21440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21441 if (SWIG_arg_fail(1)) SWIG_fail
;
21443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21444 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
21446 wxPyEndAllowThreads(__tstate
);
21447 if (PyErr_Occurred()) SWIG_fail
;
21450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21458 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21459 PyObject
*resultobj
;
21460 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21462 PyObject
* obj0
= 0 ;
21463 char *kwnames
[] = {
21464 (char *) "self", NULL
21467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
21468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21469 if (SWIG_arg_fail(1)) SWIG_fail
;
21471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21472 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
21474 wxPyEndAllowThreads(__tstate
);
21475 if (PyErr_Occurred()) SWIG_fail
;
21478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21486 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21487 PyObject
*resultobj
;
21488 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21490 PyObject
* obj0
= 0 ;
21491 char *kwnames
[] = {
21492 (char *) "self", NULL
21495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
21496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21497 if (SWIG_arg_fail(1)) SWIG_fail
;
21499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21500 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
21502 wxPyEndAllowThreads(__tstate
);
21503 if (PyErr_Occurred()) SWIG_fail
;
21507 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21509 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21518 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21519 PyObject
*resultobj
;
21520 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21522 PyObject
* obj0
= 0 ;
21523 char *kwnames
[] = {
21524 (char *) "self", NULL
21527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
21528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21529 if (SWIG_arg_fail(1)) SWIG_fail
;
21531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21532 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
21534 wxPyEndAllowThreads(__tstate
);
21535 if (PyErr_Occurred()) SWIG_fail
;
21538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21546 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21547 PyObject
*resultobj
;
21548 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21550 PyObject
* obj0
= 0 ;
21551 char *kwnames
[] = {
21552 (char *) "self", NULL
21555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
21556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21557 if (SWIG_arg_fail(1)) SWIG_fail
;
21559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21560 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
21562 wxPyEndAllowThreads(__tstate
);
21563 if (PyErr_Occurred()) SWIG_fail
;
21566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21574 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21575 PyObject
*resultobj
;
21576 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21578 PyObject
* obj0
= 0 ;
21579 char *kwnames
[] = {
21580 (char *) "self", NULL
21583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
21584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21585 if (SWIG_arg_fail(1)) SWIG_fail
;
21587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21588 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
21590 wxPyEndAllowThreads(__tstate
);
21591 if (PyErr_Occurred()) SWIG_fail
;
21594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21602 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21603 PyObject
*resultobj
;
21604 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21606 PyObject
* obj0
= 0 ;
21607 PyObject
* obj1
= 0 ;
21608 char *kwnames
[] = {
21609 (char *) "self",(char *) "check", NULL
21612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
21613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21614 if (SWIG_arg_fail(1)) SWIG_fail
;
21616 arg2
= (bool)(SWIG_As_bool(obj1
));
21617 if (SWIG_arg_fail(2)) SWIG_fail
;
21620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21621 (arg1
)->Check(arg2
);
21623 wxPyEndAllowThreads(__tstate
);
21624 if (PyErr_Occurred()) SWIG_fail
;
21626 Py_INCREF(Py_None
); resultobj
= Py_None
;
21633 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21634 PyObject
*resultobj
;
21635 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21637 PyObject
* obj0
= 0 ;
21638 PyObject
* obj1
= 0 ;
21639 char *kwnames
[] = {
21640 (char *) "self",(char *) "enable", NULL
21643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
21644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21645 if (SWIG_arg_fail(1)) SWIG_fail
;
21647 arg2
= (bool)(SWIG_As_bool(obj1
));
21648 if (SWIG_arg_fail(2)) SWIG_fail
;
21651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21652 (arg1
)->Enable(arg2
);
21654 wxPyEndAllowThreads(__tstate
);
21655 if (PyErr_Occurred()) SWIG_fail
;
21657 Py_INCREF(Py_None
); resultobj
= Py_None
;
21664 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21665 PyObject
*resultobj
;
21666 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21667 wxString
*arg2
= 0 ;
21668 bool temp2
= false ;
21669 PyObject
* obj0
= 0 ;
21670 PyObject
* obj1
= 0 ;
21671 char *kwnames
[] = {
21672 (char *) "self",(char *) "text", NULL
21675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21677 if (SWIG_arg_fail(1)) SWIG_fail
;
21679 arg2
= wxString_in_helper(obj1
);
21680 if (arg2
== NULL
) SWIG_fail
;
21684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21685 (arg1
)->SetText((wxString
const &)*arg2
);
21687 wxPyEndAllowThreads(__tstate
);
21688 if (PyErr_Occurred()) SWIG_fail
;
21690 Py_INCREF(Py_None
); resultobj
= Py_None
;
21705 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21706 PyObject
*resultobj
;
21708 PyObject
* obj0
= 0 ;
21709 char *kwnames
[] = {
21710 (char *) "updateInterval", NULL
21713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
21715 arg1
= (long)(SWIG_As_long(obj0
));
21716 if (SWIG_arg_fail(1)) SWIG_fail
;
21719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21720 wxUpdateUIEvent::SetUpdateInterval(arg1
);
21722 wxPyEndAllowThreads(__tstate
);
21723 if (PyErr_Occurred()) SWIG_fail
;
21725 Py_INCREF(Py_None
); resultobj
= Py_None
;
21732 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21733 PyObject
*resultobj
;
21735 char *kwnames
[] = {
21739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
21741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21742 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
21744 wxPyEndAllowThreads(__tstate
);
21745 if (PyErr_Occurred()) SWIG_fail
;
21748 resultobj
= SWIG_From_long((long)(result
));
21756 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21757 PyObject
*resultobj
;
21758 wxWindow
*arg1
= (wxWindow
*) 0 ;
21760 PyObject
* obj0
= 0 ;
21761 char *kwnames
[] = {
21762 (char *) "win", NULL
21765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
21766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21767 if (SWIG_arg_fail(1)) SWIG_fail
;
21769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21770 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
21772 wxPyEndAllowThreads(__tstate
);
21773 if (PyErr_Occurred()) SWIG_fail
;
21776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21784 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21785 PyObject
*resultobj
;
21786 char *kwnames
[] = {
21790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
21792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21793 wxUpdateUIEvent::ResetUpdateTime();
21795 wxPyEndAllowThreads(__tstate
);
21796 if (PyErr_Occurred()) SWIG_fail
;
21798 Py_INCREF(Py_None
); resultobj
= Py_None
;
21805 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21806 PyObject
*resultobj
;
21807 wxUpdateUIMode arg1
;
21808 PyObject
* obj0
= 0 ;
21809 char *kwnames
[] = {
21810 (char *) "mode", NULL
21813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21815 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
21816 if (SWIG_arg_fail(1)) SWIG_fail
;
21819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21820 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
21822 wxPyEndAllowThreads(__tstate
);
21823 if (PyErr_Occurred()) SWIG_fail
;
21825 Py_INCREF(Py_None
); resultobj
= Py_None
;
21832 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21833 PyObject
*resultobj
;
21834 wxUpdateUIMode result
;
21835 char *kwnames
[] = {
21839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
21841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21842 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
21844 wxPyEndAllowThreads(__tstate
);
21845 if (PyErr_Occurred()) SWIG_fail
;
21847 resultobj
= SWIG_From_int((result
));
21854 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
21856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21857 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
21859 return Py_BuildValue((char *)"");
21861 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21862 PyObject
*resultobj
;
21863 wxSysColourChangedEvent
*result
;
21864 char *kwnames
[] = {
21868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
21870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21871 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
21873 wxPyEndAllowThreads(__tstate
);
21874 if (PyErr_Occurred()) SWIG_fail
;
21876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
21883 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21885 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21886 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
21888 return Py_BuildValue((char *)"");
21890 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21891 PyObject
*resultobj
;
21892 int arg1
= (int) 0 ;
21893 wxWindow
*arg2
= (wxWindow
*) NULL
;
21894 wxMouseCaptureChangedEvent
*result
;
21895 PyObject
* obj0
= 0 ;
21896 PyObject
* obj1
= 0 ;
21897 char *kwnames
[] = {
21898 (char *) "winid",(char *) "gainedCapture", NULL
21901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21904 arg1
= (int)(SWIG_As_int(obj0
));
21905 if (SWIG_arg_fail(1)) SWIG_fail
;
21909 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21910 if (SWIG_arg_fail(2)) SWIG_fail
;
21913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21914 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
21916 wxPyEndAllowThreads(__tstate
);
21917 if (PyErr_Occurred()) SWIG_fail
;
21919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
21926 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21927 PyObject
*resultobj
;
21928 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
21930 PyObject
* obj0
= 0 ;
21931 char *kwnames
[] = {
21932 (char *) "self", NULL
21935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
21936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21937 if (SWIG_arg_fail(1)) SWIG_fail
;
21939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21940 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
21942 wxPyEndAllowThreads(__tstate
);
21943 if (PyErr_Occurred()) SWIG_fail
;
21946 resultobj
= wxPyMake_wxObject(result
, 0);
21954 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21957 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
21959 return Py_BuildValue((char *)"");
21961 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21962 PyObject
*resultobj
;
21963 wxDisplayChangedEvent
*result
;
21964 char *kwnames
[] = {
21968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
21970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21971 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
21973 wxPyEndAllowThreads(__tstate
);
21974 if (PyErr_Occurred()) SWIG_fail
;
21976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
21983 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21985 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21986 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
21988 return Py_BuildValue((char *)"");
21990 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21991 PyObject
*resultobj
;
21992 int arg1
= (int) 0 ;
21993 wxPaletteChangedEvent
*result
;
21994 PyObject
* obj0
= 0 ;
21995 char *kwnames
[] = {
21996 (char *) "id", NULL
21999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
22002 arg1
= (int)(SWIG_As_int(obj0
));
22003 if (SWIG_arg_fail(1)) SWIG_fail
;
22007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22008 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
22010 wxPyEndAllowThreads(__tstate
);
22011 if (PyErr_Occurred()) SWIG_fail
;
22013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
22020 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22021 PyObject
*resultobj
;
22022 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
22023 wxWindow
*arg2
= (wxWindow
*) 0 ;
22024 PyObject
* obj0
= 0 ;
22025 PyObject
* obj1
= 0 ;
22026 char *kwnames
[] = {
22027 (char *) "self",(char *) "win", NULL
22030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
22031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
22032 if (SWIG_arg_fail(1)) SWIG_fail
;
22033 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22034 if (SWIG_arg_fail(2)) SWIG_fail
;
22036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22037 (arg1
)->SetChangedWindow(arg2
);
22039 wxPyEndAllowThreads(__tstate
);
22040 if (PyErr_Occurred()) SWIG_fail
;
22042 Py_INCREF(Py_None
); resultobj
= Py_None
;
22049 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22050 PyObject
*resultobj
;
22051 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
22053 PyObject
* obj0
= 0 ;
22054 char *kwnames
[] = {
22055 (char *) "self", NULL
22058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
22059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
22060 if (SWIG_arg_fail(1)) SWIG_fail
;
22062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22063 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
22065 wxPyEndAllowThreads(__tstate
);
22066 if (PyErr_Occurred()) SWIG_fail
;
22069 resultobj
= wxPyMake_wxObject(result
, 0);
22077 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
22079 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22080 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
22082 return Py_BuildValue((char *)"");
22084 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22085 PyObject
*resultobj
;
22086 int arg1
= (int) 0 ;
22087 wxQueryNewPaletteEvent
*result
;
22088 PyObject
* obj0
= 0 ;
22089 char *kwnames
[] = {
22090 (char *) "winid", NULL
22093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
22096 arg1
= (int)(SWIG_As_int(obj0
));
22097 if (SWIG_arg_fail(1)) SWIG_fail
;
22101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22102 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
22104 wxPyEndAllowThreads(__tstate
);
22105 if (PyErr_Occurred()) SWIG_fail
;
22107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
22114 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22115 PyObject
*resultobj
;
22116 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
22118 PyObject
* obj0
= 0 ;
22119 PyObject
* obj1
= 0 ;
22120 char *kwnames
[] = {
22121 (char *) "self",(char *) "realized", NULL
22124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
22125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
22126 if (SWIG_arg_fail(1)) SWIG_fail
;
22128 arg2
= (bool)(SWIG_As_bool(obj1
));
22129 if (SWIG_arg_fail(2)) SWIG_fail
;
22132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22133 (arg1
)->SetPaletteRealized(arg2
);
22135 wxPyEndAllowThreads(__tstate
);
22136 if (PyErr_Occurred()) SWIG_fail
;
22138 Py_INCREF(Py_None
); resultobj
= Py_None
;
22145 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22146 PyObject
*resultobj
;
22147 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
22149 PyObject
* obj0
= 0 ;
22150 char *kwnames
[] = {
22151 (char *) "self", NULL
22154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
22155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
22156 if (SWIG_arg_fail(1)) SWIG_fail
;
22158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22159 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
22161 wxPyEndAllowThreads(__tstate
);
22162 if (PyErr_Occurred()) SWIG_fail
;
22165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22173 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
22175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22176 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
22178 return Py_BuildValue((char *)"");
22180 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22181 PyObject
*resultobj
;
22182 wxNavigationKeyEvent
*result
;
22183 char *kwnames
[] = {
22187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
22189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22190 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
22192 wxPyEndAllowThreads(__tstate
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
22202 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22203 PyObject
*resultobj
;
22204 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22206 PyObject
* obj0
= 0 ;
22207 char *kwnames
[] = {
22208 (char *) "self", NULL
22211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
22212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22213 if (SWIG_arg_fail(1)) SWIG_fail
;
22215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22216 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
22218 wxPyEndAllowThreads(__tstate
);
22219 if (PyErr_Occurred()) SWIG_fail
;
22222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22230 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22231 PyObject
*resultobj
;
22232 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22234 PyObject
* obj0
= 0 ;
22235 PyObject
* obj1
= 0 ;
22236 char *kwnames
[] = {
22237 (char *) "self",(char *) "forward", NULL
22240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
22241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22242 if (SWIG_arg_fail(1)) SWIG_fail
;
22244 arg2
= (bool)(SWIG_As_bool(obj1
));
22245 if (SWIG_arg_fail(2)) SWIG_fail
;
22248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22249 (arg1
)->SetDirection(arg2
);
22251 wxPyEndAllowThreads(__tstate
);
22252 if (PyErr_Occurred()) SWIG_fail
;
22254 Py_INCREF(Py_None
); resultobj
= Py_None
;
22261 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22262 PyObject
*resultobj
;
22263 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22265 PyObject
* obj0
= 0 ;
22266 char *kwnames
[] = {
22267 (char *) "self", NULL
22270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
22271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22272 if (SWIG_arg_fail(1)) SWIG_fail
;
22274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22275 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
22277 wxPyEndAllowThreads(__tstate
);
22278 if (PyErr_Occurred()) SWIG_fail
;
22281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22289 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22290 PyObject
*resultobj
;
22291 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22293 PyObject
* obj0
= 0 ;
22294 PyObject
* obj1
= 0 ;
22295 char *kwnames
[] = {
22296 (char *) "self",(char *) "ischange", NULL
22299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
22300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22301 if (SWIG_arg_fail(1)) SWIG_fail
;
22303 arg2
= (bool)(SWIG_As_bool(obj1
));
22304 if (SWIG_arg_fail(2)) SWIG_fail
;
22307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22308 (arg1
)->SetWindowChange(arg2
);
22310 wxPyEndAllowThreads(__tstate
);
22311 if (PyErr_Occurred()) SWIG_fail
;
22313 Py_INCREF(Py_None
); resultobj
= Py_None
;
22320 static PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22321 PyObject
*resultobj
;
22322 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22324 PyObject
* obj0
= 0 ;
22325 char *kwnames
[] = {
22326 (char *) "self", NULL
22329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames
,&obj0
)) goto fail
;
22330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22331 if (SWIG_arg_fail(1)) SWIG_fail
;
22333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22334 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
22336 wxPyEndAllowThreads(__tstate
);
22337 if (PyErr_Occurred()) SWIG_fail
;
22340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22348 static PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22349 PyObject
*resultobj
;
22350 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22352 PyObject
* obj0
= 0 ;
22353 PyObject
* obj1
= 0 ;
22354 char *kwnames
[] = {
22355 (char *) "self",(char *) "bIs", NULL
22358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) goto fail
;
22359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22360 if (SWIG_arg_fail(1)) SWIG_fail
;
22362 arg2
= (bool)(SWIG_As_bool(obj1
));
22363 if (SWIG_arg_fail(2)) SWIG_fail
;
22366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22367 (arg1
)->SetFromTab(arg2
);
22369 wxPyEndAllowThreads(__tstate
);
22370 if (PyErr_Occurred()) SWIG_fail
;
22372 Py_INCREF(Py_None
); resultobj
= Py_None
;
22379 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22380 PyObject
*resultobj
;
22381 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22383 PyObject
* obj0
= 0 ;
22384 PyObject
* obj1
= 0 ;
22385 char *kwnames
[] = {
22386 (char *) "self",(char *) "flags", NULL
22389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
22390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22391 if (SWIG_arg_fail(1)) SWIG_fail
;
22393 arg2
= (long)(SWIG_As_long(obj1
));
22394 if (SWIG_arg_fail(2)) SWIG_fail
;
22397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22398 (arg1
)->SetFlags(arg2
);
22400 wxPyEndAllowThreads(__tstate
);
22401 if (PyErr_Occurred()) SWIG_fail
;
22403 Py_INCREF(Py_None
); resultobj
= Py_None
;
22410 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22411 PyObject
*resultobj
;
22412 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22414 PyObject
* obj0
= 0 ;
22415 char *kwnames
[] = {
22416 (char *) "self", NULL
22419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
22420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22421 if (SWIG_arg_fail(1)) SWIG_fail
;
22423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22424 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
22426 wxPyEndAllowThreads(__tstate
);
22427 if (PyErr_Occurred()) SWIG_fail
;
22430 resultobj
= wxPyMake_wxObject(result
, 0);
22438 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22439 PyObject
*resultobj
;
22440 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22441 wxWindow
*arg2
= (wxWindow
*) 0 ;
22442 PyObject
* obj0
= 0 ;
22443 PyObject
* obj1
= 0 ;
22444 char *kwnames
[] = {
22445 (char *) "self",(char *) "win", NULL
22448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
22449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22450 if (SWIG_arg_fail(1)) SWIG_fail
;
22451 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22452 if (SWIG_arg_fail(2)) SWIG_fail
;
22454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22455 (arg1
)->SetCurrentFocus(arg2
);
22457 wxPyEndAllowThreads(__tstate
);
22458 if (PyErr_Occurred()) SWIG_fail
;
22460 Py_INCREF(Py_None
); resultobj
= Py_None
;
22467 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
22469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22470 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
22472 return Py_BuildValue((char *)"");
22474 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22475 PyObject
*resultobj
;
22476 wxWindow
*arg1
= (wxWindow
*) NULL
;
22477 wxWindowCreateEvent
*result
;
22478 PyObject
* obj0
= 0 ;
22479 char *kwnames
[] = {
22480 (char *) "win", NULL
22483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
22485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22486 if (SWIG_arg_fail(1)) SWIG_fail
;
22489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22490 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
22492 wxPyEndAllowThreads(__tstate
);
22493 if (PyErr_Occurred()) SWIG_fail
;
22495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
22502 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22503 PyObject
*resultobj
;
22504 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
22506 PyObject
* obj0
= 0 ;
22507 char *kwnames
[] = {
22508 (char *) "self", NULL
22511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
22512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22513 if (SWIG_arg_fail(1)) SWIG_fail
;
22515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22516 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
22518 wxPyEndAllowThreads(__tstate
);
22519 if (PyErr_Occurred()) SWIG_fail
;
22522 resultobj
= wxPyMake_wxObject(result
, 0);
22530 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
22532 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22533 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
22535 return Py_BuildValue((char *)"");
22537 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22538 PyObject
*resultobj
;
22539 wxWindow
*arg1
= (wxWindow
*) NULL
;
22540 wxWindowDestroyEvent
*result
;
22541 PyObject
* obj0
= 0 ;
22542 char *kwnames
[] = {
22543 (char *) "win", NULL
22546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
22548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22549 if (SWIG_arg_fail(1)) SWIG_fail
;
22552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22553 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
22555 wxPyEndAllowThreads(__tstate
);
22556 if (PyErr_Occurred()) SWIG_fail
;
22558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
22565 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22566 PyObject
*resultobj
;
22567 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
22569 PyObject
* obj0
= 0 ;
22570 char *kwnames
[] = {
22571 (char *) "self", NULL
22574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
22575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22576 if (SWIG_arg_fail(1)) SWIG_fail
;
22578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22579 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
22581 wxPyEndAllowThreads(__tstate
);
22582 if (PyErr_Occurred()) SWIG_fail
;
22585 resultobj
= wxPyMake_wxObject(result
, 0);
22593 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
22595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22596 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
22598 return Py_BuildValue((char *)"");
22600 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22601 PyObject
*resultobj
;
22602 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22603 int arg2
= (int) 0 ;
22604 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22605 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22606 wxContextMenuEvent
*result
;
22608 PyObject
* obj0
= 0 ;
22609 PyObject
* obj1
= 0 ;
22610 PyObject
* obj2
= 0 ;
22611 char *kwnames
[] = {
22612 (char *) "type",(char *) "winid",(char *) "pt", NULL
22615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22618 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22619 if (SWIG_arg_fail(1)) SWIG_fail
;
22624 arg2
= (int)(SWIG_As_int(obj1
));
22625 if (SWIG_arg_fail(2)) SWIG_fail
;
22631 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22636 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
22638 wxPyEndAllowThreads(__tstate
);
22639 if (PyErr_Occurred()) SWIG_fail
;
22641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
22648 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22649 PyObject
*resultobj
;
22650 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22652 PyObject
* obj0
= 0 ;
22653 char *kwnames
[] = {
22654 (char *) "self", NULL
22657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
22658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22659 if (SWIG_arg_fail(1)) SWIG_fail
;
22661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22663 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
22664 result
= (wxPoint
*) &_result_ref
;
22667 wxPyEndAllowThreads(__tstate
);
22668 if (PyErr_Occurred()) SWIG_fail
;
22670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
22677 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22678 PyObject
*resultobj
;
22679 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22680 wxPoint
*arg2
= 0 ;
22682 PyObject
* obj0
= 0 ;
22683 PyObject
* obj1
= 0 ;
22684 char *kwnames
[] = {
22685 (char *) "self",(char *) "pos", NULL
22688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22690 if (SWIG_arg_fail(1)) SWIG_fail
;
22693 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22697 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
22699 wxPyEndAllowThreads(__tstate
);
22700 if (PyErr_Occurred()) SWIG_fail
;
22702 Py_INCREF(Py_None
); resultobj
= Py_None
;
22709 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
22711 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22712 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
22714 return Py_BuildValue((char *)"");
22716 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22717 PyObject
*resultobj
;
22718 wxIdleEvent
*result
;
22719 char *kwnames
[] = {
22723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
22725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22726 result
= (wxIdleEvent
*)new wxIdleEvent();
22728 wxPyEndAllowThreads(__tstate
);
22729 if (PyErr_Occurred()) SWIG_fail
;
22731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
22738 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22739 PyObject
*resultobj
;
22740 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22741 bool arg2
= (bool) true ;
22742 PyObject
* obj0
= 0 ;
22743 PyObject
* obj1
= 0 ;
22744 char *kwnames
[] = {
22745 (char *) "self",(char *) "needMore", NULL
22748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
22749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22750 if (SWIG_arg_fail(1)) SWIG_fail
;
22753 arg2
= (bool)(SWIG_As_bool(obj1
));
22754 if (SWIG_arg_fail(2)) SWIG_fail
;
22758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22759 (arg1
)->RequestMore(arg2
);
22761 wxPyEndAllowThreads(__tstate
);
22762 if (PyErr_Occurred()) SWIG_fail
;
22764 Py_INCREF(Py_None
); resultobj
= Py_None
;
22771 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22772 PyObject
*resultobj
;
22773 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22775 PyObject
* obj0
= 0 ;
22776 char *kwnames
[] = {
22777 (char *) "self", NULL
22780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
22781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22782 if (SWIG_arg_fail(1)) SWIG_fail
;
22784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22785 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
22787 wxPyEndAllowThreads(__tstate
);
22788 if (PyErr_Occurred()) SWIG_fail
;
22791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22799 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22800 PyObject
*resultobj
;
22802 PyObject
* obj0
= 0 ;
22803 char *kwnames
[] = {
22804 (char *) "mode", NULL
22807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
22809 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
22810 if (SWIG_arg_fail(1)) SWIG_fail
;
22813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22814 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
22816 wxPyEndAllowThreads(__tstate
);
22817 if (PyErr_Occurred()) SWIG_fail
;
22819 Py_INCREF(Py_None
); resultobj
= Py_None
;
22826 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22827 PyObject
*resultobj
;
22829 char *kwnames
[] = {
22833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
22835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22836 result
= (wxIdleMode
)wxIdleEvent::GetMode();
22838 wxPyEndAllowThreads(__tstate
);
22839 if (PyErr_Occurred()) SWIG_fail
;
22841 resultobj
= SWIG_From_int((result
));
22848 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22849 PyObject
*resultobj
;
22850 wxWindow
*arg1
= (wxWindow
*) 0 ;
22852 PyObject
* obj0
= 0 ;
22853 char *kwnames
[] = {
22854 (char *) "win", NULL
22857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
22858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22859 if (SWIG_arg_fail(1)) SWIG_fail
;
22861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22862 result
= (bool)wxIdleEvent::CanSend(arg1
);
22864 wxPyEndAllowThreads(__tstate
);
22865 if (PyErr_Occurred()) SWIG_fail
;
22868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22876 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
22878 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22879 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
22881 return Py_BuildValue((char *)"");
22883 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22884 PyObject
*resultobj
;
22885 int arg1
= (int) 0 ;
22886 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
22888 PyObject
* obj0
= 0 ;
22889 PyObject
* obj1
= 0 ;
22890 char *kwnames
[] = {
22891 (char *) "winid",(char *) "eventType", NULL
22894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22897 arg1
= (int)(SWIG_As_int(obj0
));
22898 if (SWIG_arg_fail(1)) SWIG_fail
;
22903 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
22904 if (SWIG_arg_fail(2)) SWIG_fail
;
22908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22909 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
22911 wxPyEndAllowThreads(__tstate
);
22912 if (PyErr_Occurred()) SWIG_fail
;
22914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
22921 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22922 PyObject
*resultobj
;
22923 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22924 PyObject
* obj0
= 0 ;
22925 char *kwnames
[] = {
22926 (char *) "self", NULL
22929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
22930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22931 if (SWIG_arg_fail(1)) SWIG_fail
;
22933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22936 wxPyEndAllowThreads(__tstate
);
22937 if (PyErr_Occurred()) SWIG_fail
;
22939 Py_INCREF(Py_None
); resultobj
= Py_None
;
22946 static PyObject
*_wrap_PyEvent__SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22947 PyObject
*resultobj
;
22948 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22949 PyObject
*arg2
= (PyObject
*) 0 ;
22950 PyObject
* obj0
= 0 ;
22951 PyObject
* obj1
= 0 ;
22952 char *kwnames
[] = {
22953 (char *) "self",(char *) "self", NULL
22956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent__SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22958 if (SWIG_arg_fail(1)) SWIG_fail
;
22961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22962 (arg1
)->SetSelf(arg2
);
22964 wxPyEndAllowThreads(__tstate
);
22965 if (PyErr_Occurred()) SWIG_fail
;
22967 Py_INCREF(Py_None
); resultobj
= Py_None
;
22974 static PyObject
*_wrap_PyEvent__GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22975 PyObject
*resultobj
;
22976 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22978 PyObject
* obj0
= 0 ;
22979 char *kwnames
[] = {
22980 (char *) "self", NULL
22983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent__GetSelf",kwnames
,&obj0
)) goto fail
;
22984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22985 if (SWIG_arg_fail(1)) SWIG_fail
;
22987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22988 result
= (PyObject
*)(arg1
)->GetSelf();
22990 wxPyEndAllowThreads(__tstate
);
22991 if (PyErr_Occurred()) SWIG_fail
;
22993 resultobj
= result
;
23000 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
23002 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23003 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
23005 return Py_BuildValue((char *)"");
23007 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23008 PyObject
*resultobj
;
23009 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23010 int arg2
= (int) 0 ;
23011 wxPyCommandEvent
*result
;
23012 PyObject
* obj0
= 0 ;
23013 PyObject
* obj1
= 0 ;
23014 char *kwnames
[] = {
23015 (char *) "eventType",(char *) "id", NULL
23018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23021 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
23022 if (SWIG_arg_fail(1)) SWIG_fail
;
23027 arg2
= (int)(SWIG_As_int(obj1
));
23028 if (SWIG_arg_fail(2)) SWIG_fail
;
23032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23033 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
23035 wxPyEndAllowThreads(__tstate
);
23036 if (PyErr_Occurred()) SWIG_fail
;
23038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
23045 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23046 PyObject
*resultobj
;
23047 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
23048 PyObject
* obj0
= 0 ;
23049 char *kwnames
[] = {
23050 (char *) "self", NULL
23053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
23054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
23055 if (SWIG_arg_fail(1)) SWIG_fail
;
23057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23060 wxPyEndAllowThreads(__tstate
);
23061 if (PyErr_Occurred()) SWIG_fail
;
23063 Py_INCREF(Py_None
); resultobj
= Py_None
;
23070 static PyObject
*_wrap_PyCommandEvent__SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23071 PyObject
*resultobj
;
23072 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
23073 PyObject
*arg2
= (PyObject
*) 0 ;
23074 PyObject
* obj0
= 0 ;
23075 PyObject
* obj1
= 0 ;
23076 char *kwnames
[] = {
23077 (char *) "self",(char *) "self", NULL
23080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent__SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
23081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
23082 if (SWIG_arg_fail(1)) SWIG_fail
;
23085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23086 (arg1
)->SetSelf(arg2
);
23088 wxPyEndAllowThreads(__tstate
);
23089 if (PyErr_Occurred()) SWIG_fail
;
23091 Py_INCREF(Py_None
); resultobj
= Py_None
;
23098 static PyObject
*_wrap_PyCommandEvent__GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23099 PyObject
*resultobj
;
23100 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
23102 PyObject
* obj0
= 0 ;
23103 char *kwnames
[] = {
23104 (char *) "self", NULL
23107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent__GetSelf",kwnames
,&obj0
)) goto fail
;
23108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
23109 if (SWIG_arg_fail(1)) SWIG_fail
;
23111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23112 result
= (PyObject
*)(arg1
)->GetSelf();
23114 wxPyEndAllowThreads(__tstate
);
23115 if (PyErr_Occurred()) SWIG_fail
;
23117 resultobj
= result
;
23124 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
23126 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23127 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
23129 return Py_BuildValue((char *)"");
23131 static PyObject
*_wrap_new_DateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23132 PyObject
*resultobj
;
23133 wxWindow
*arg1
= (wxWindow
*) 0 ;
23134 wxDateTime
*arg2
= 0 ;
23136 wxDateEvent
*result
;
23137 PyObject
* obj0
= 0 ;
23138 PyObject
* obj1
= 0 ;
23139 PyObject
* obj2
= 0 ;
23140 char *kwnames
[] = {
23141 (char *) "win",(char *) "dt",(char *) "type", NULL
23144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23146 if (SWIG_arg_fail(1)) SWIG_fail
;
23148 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23149 if (SWIG_arg_fail(2)) SWIG_fail
;
23150 if (arg2
== NULL
) {
23151 SWIG_null_ref("wxDateTime");
23153 if (SWIG_arg_fail(2)) SWIG_fail
;
23156 arg3
= (wxEventType
)(SWIG_As_int(obj2
));
23157 if (SWIG_arg_fail(3)) SWIG_fail
;
23160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23161 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
23163 wxPyEndAllowThreads(__tstate
);
23164 if (PyErr_Occurred()) SWIG_fail
;
23166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateEvent
, 1);
23173 static PyObject
*_wrap_DateEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23174 PyObject
*resultobj
;
23175 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
23176 wxDateTime
*result
;
23177 PyObject
* obj0
= 0 ;
23178 char *kwnames
[] = {
23179 (char *) "self", NULL
23182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateEvent_GetDate",kwnames
,&obj0
)) goto fail
;
23183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
23184 if (SWIG_arg_fail(1)) SWIG_fail
;
23186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23188 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
23189 result
= (wxDateTime
*) &_result_ref
;
23192 wxPyEndAllowThreads(__tstate
);
23193 if (PyErr_Occurred()) SWIG_fail
;
23195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23202 static PyObject
*_wrap_DateEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23203 PyObject
*resultobj
;
23204 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
23205 wxDateTime
*arg2
= 0 ;
23206 PyObject
* obj0
= 0 ;
23207 PyObject
* obj1
= 0 ;
23208 char *kwnames
[] = {
23209 (char *) "self",(char *) "date", NULL
23212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
23214 if (SWIG_arg_fail(1)) SWIG_fail
;
23216 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23217 if (SWIG_arg_fail(2)) SWIG_fail
;
23218 if (arg2
== NULL
) {
23219 SWIG_null_ref("wxDateTime");
23221 if (SWIG_arg_fail(2)) SWIG_fail
;
23224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23225 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
23227 wxPyEndAllowThreads(__tstate
);
23228 if (PyErr_Occurred()) SWIG_fail
;
23230 Py_INCREF(Py_None
); resultobj
= Py_None
;
23237 static PyObject
* DateEvent_swigregister(PyObject
*, PyObject
*args
) {
23239 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23240 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent
, obj
);
23242 return Py_BuildValue((char *)"");
23244 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23245 PyObject
*resultobj
;
23247 char *kwnames
[] = {
23251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
23253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23254 result
= (wxPyApp
*)new_wxPyApp();
23256 wxPyEndAllowThreads(__tstate
);
23257 if (PyErr_Occurred()) SWIG_fail
;
23259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
23266 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23267 PyObject
*resultobj
;
23268 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23269 PyObject
* obj0
= 0 ;
23270 char *kwnames
[] = {
23271 (char *) "self", NULL
23274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
23275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23276 if (SWIG_arg_fail(1)) SWIG_fail
;
23278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23281 wxPyEndAllowThreads(__tstate
);
23282 if (PyErr_Occurred()) SWIG_fail
;
23284 Py_INCREF(Py_None
); resultobj
= Py_None
;
23291 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23292 PyObject
*resultobj
;
23293 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23294 PyObject
*arg2
= (PyObject
*) 0 ;
23295 PyObject
*arg3
= (PyObject
*) 0 ;
23297 PyObject
* obj0
= 0 ;
23298 PyObject
* obj1
= 0 ;
23299 PyObject
* obj2
= 0 ;
23300 PyObject
* obj3
= 0 ;
23301 char *kwnames
[] = {
23302 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
23305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23307 if (SWIG_arg_fail(1)) SWIG_fail
;
23311 arg4
= (bool)(SWIG_As_bool(obj3
));
23312 if (SWIG_arg_fail(4)) SWIG_fail
;
23315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23316 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
23318 wxPyEndAllowThreads(__tstate
);
23319 if (PyErr_Occurred()) SWIG_fail
;
23321 Py_INCREF(Py_None
); resultobj
= Py_None
;
23328 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23329 PyObject
*resultobj
;
23330 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23332 PyObject
* obj0
= 0 ;
23333 char *kwnames
[] = {
23334 (char *) "self", NULL
23337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
23338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23339 if (SWIG_arg_fail(1)) SWIG_fail
;
23341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23342 result
= ((wxPyApp
const *)arg1
)->GetAppName();
23344 wxPyEndAllowThreads(__tstate
);
23345 if (PyErr_Occurred()) SWIG_fail
;
23349 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23351 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23360 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23361 PyObject
*resultobj
;
23362 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23363 wxString
*arg2
= 0 ;
23364 bool temp2
= false ;
23365 PyObject
* obj0
= 0 ;
23366 PyObject
* obj1
= 0 ;
23367 char *kwnames
[] = {
23368 (char *) "self",(char *) "name", NULL
23371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
23372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23373 if (SWIG_arg_fail(1)) SWIG_fail
;
23375 arg2
= wxString_in_helper(obj1
);
23376 if (arg2
== NULL
) SWIG_fail
;
23380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23381 (arg1
)->SetAppName((wxString
const &)*arg2
);
23383 wxPyEndAllowThreads(__tstate
);
23384 if (PyErr_Occurred()) SWIG_fail
;
23386 Py_INCREF(Py_None
); resultobj
= Py_None
;
23401 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23402 PyObject
*resultobj
;
23403 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23405 PyObject
* obj0
= 0 ;
23406 char *kwnames
[] = {
23407 (char *) "self", NULL
23410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
23411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23412 if (SWIG_arg_fail(1)) SWIG_fail
;
23414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23415 result
= ((wxPyApp
const *)arg1
)->GetClassName();
23417 wxPyEndAllowThreads(__tstate
);
23418 if (PyErr_Occurred()) SWIG_fail
;
23422 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23424 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23433 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23434 PyObject
*resultobj
;
23435 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23436 wxString
*arg2
= 0 ;
23437 bool temp2
= false ;
23438 PyObject
* obj0
= 0 ;
23439 PyObject
* obj1
= 0 ;
23440 char *kwnames
[] = {
23441 (char *) "self",(char *) "name", NULL
23444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
23445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23446 if (SWIG_arg_fail(1)) SWIG_fail
;
23448 arg2
= wxString_in_helper(obj1
);
23449 if (arg2
== NULL
) SWIG_fail
;
23453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23454 (arg1
)->SetClassName((wxString
const &)*arg2
);
23456 wxPyEndAllowThreads(__tstate
);
23457 if (PyErr_Occurred()) SWIG_fail
;
23459 Py_INCREF(Py_None
); resultobj
= Py_None
;
23474 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23475 PyObject
*resultobj
;
23476 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23478 PyObject
* obj0
= 0 ;
23479 char *kwnames
[] = {
23480 (char *) "self", NULL
23483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
23484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23485 if (SWIG_arg_fail(1)) SWIG_fail
;
23487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23489 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
23490 result
= (wxString
*) &_result_ref
;
23493 wxPyEndAllowThreads(__tstate
);
23494 if (PyErr_Occurred()) SWIG_fail
;
23498 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23500 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23509 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23510 PyObject
*resultobj
;
23511 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23512 wxString
*arg2
= 0 ;
23513 bool temp2
= false ;
23514 PyObject
* obj0
= 0 ;
23515 PyObject
* obj1
= 0 ;
23516 char *kwnames
[] = {
23517 (char *) "self",(char *) "name", NULL
23520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
23521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23522 if (SWIG_arg_fail(1)) SWIG_fail
;
23524 arg2
= wxString_in_helper(obj1
);
23525 if (arg2
== NULL
) SWIG_fail
;
23529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23530 (arg1
)->SetVendorName((wxString
const &)*arg2
);
23532 wxPyEndAllowThreads(__tstate
);
23533 if (PyErr_Occurred()) SWIG_fail
;
23535 Py_INCREF(Py_None
); resultobj
= Py_None
;
23550 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23551 PyObject
*resultobj
;
23552 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23553 wxAppTraits
*result
;
23554 PyObject
* obj0
= 0 ;
23555 char *kwnames
[] = {
23556 (char *) "self", NULL
23559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
23560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23561 if (SWIG_arg_fail(1)) SWIG_fail
;
23563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23564 result
= (wxAppTraits
*)(arg1
)->GetTraits();
23566 wxPyEndAllowThreads(__tstate
);
23567 if (PyErr_Occurred()) SWIG_fail
;
23569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
23576 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23577 PyObject
*resultobj
;
23578 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23579 PyObject
* obj0
= 0 ;
23580 char *kwnames
[] = {
23581 (char *) "self", NULL
23584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
23585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23586 if (SWIG_arg_fail(1)) SWIG_fail
;
23588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23589 (arg1
)->ProcessPendingEvents();
23591 wxPyEndAllowThreads(__tstate
);
23592 if (PyErr_Occurred()) SWIG_fail
;
23594 Py_INCREF(Py_None
); resultobj
= Py_None
;
23601 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23602 PyObject
*resultobj
;
23603 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23604 bool arg2
= (bool) false ;
23606 PyObject
* obj0
= 0 ;
23607 PyObject
* obj1
= 0 ;
23608 char *kwnames
[] = {
23609 (char *) "self",(char *) "onlyIfNeeded", NULL
23612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
23613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23614 if (SWIG_arg_fail(1)) SWIG_fail
;
23617 arg2
= (bool)(SWIG_As_bool(obj1
));
23618 if (SWIG_arg_fail(2)) SWIG_fail
;
23622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23623 result
= (bool)(arg1
)->Yield(arg2
);
23625 wxPyEndAllowThreads(__tstate
);
23626 if (PyErr_Occurred()) SWIG_fail
;
23629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23637 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23638 PyObject
*resultobj
;
23639 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23640 PyObject
* obj0
= 0 ;
23641 char *kwnames
[] = {
23642 (char *) "self", NULL
23645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
23646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23647 if (SWIG_arg_fail(1)) SWIG_fail
;
23649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23650 (arg1
)->WakeUpIdle();
23652 wxPyEndAllowThreads(__tstate
);
23653 if (PyErr_Occurred()) SWIG_fail
;
23655 Py_INCREF(Py_None
); resultobj
= Py_None
;
23662 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23663 PyObject
*resultobj
;
23665 char *kwnames
[] = {
23669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
23671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23672 result
= (bool)wxPyApp::IsMainLoopRunning();
23674 wxPyEndAllowThreads(__tstate
);
23675 if (PyErr_Occurred()) SWIG_fail
;
23678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23686 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23687 PyObject
*resultobj
;
23688 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23690 PyObject
* obj0
= 0 ;
23691 char *kwnames
[] = {
23692 (char *) "self", NULL
23695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
23696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23697 if (SWIG_arg_fail(1)) SWIG_fail
;
23699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23700 result
= (int)(arg1
)->MainLoop();
23702 wxPyEndAllowThreads(__tstate
);
23703 if (PyErr_Occurred()) SWIG_fail
;
23706 resultobj
= SWIG_From_int((int)(result
));
23714 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23715 PyObject
*resultobj
;
23716 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23717 PyObject
* obj0
= 0 ;
23718 char *kwnames
[] = {
23719 (char *) "self", NULL
23722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
23723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23724 if (SWIG_arg_fail(1)) SWIG_fail
;
23726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23729 wxPyEndAllowThreads(__tstate
);
23730 if (PyErr_Occurred()) SWIG_fail
;
23732 Py_INCREF(Py_None
); resultobj
= Py_None
;
23739 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23740 PyObject
*resultobj
;
23741 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23742 PyObject
* obj0
= 0 ;
23743 char *kwnames
[] = {
23744 (char *) "self", NULL
23747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
23748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23749 if (SWIG_arg_fail(1)) SWIG_fail
;
23751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23752 (arg1
)->ExitMainLoop();
23754 wxPyEndAllowThreads(__tstate
);
23755 if (PyErr_Occurred()) SWIG_fail
;
23757 Py_INCREF(Py_None
); resultobj
= Py_None
;
23764 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23765 PyObject
*resultobj
;
23766 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23768 PyObject
* obj0
= 0 ;
23769 char *kwnames
[] = {
23770 (char *) "self", NULL
23773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
23774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23775 if (SWIG_arg_fail(1)) SWIG_fail
;
23777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23778 result
= (bool)(arg1
)->Pending();
23780 wxPyEndAllowThreads(__tstate
);
23781 if (PyErr_Occurred()) SWIG_fail
;
23784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23792 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23793 PyObject
*resultobj
;
23794 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23796 PyObject
* obj0
= 0 ;
23797 char *kwnames
[] = {
23798 (char *) "self", NULL
23801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
23802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23803 if (SWIG_arg_fail(1)) SWIG_fail
;
23805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23806 result
= (bool)(arg1
)->Dispatch();
23808 wxPyEndAllowThreads(__tstate
);
23809 if (PyErr_Occurred()) SWIG_fail
;
23812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23820 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23821 PyObject
*resultobj
;
23822 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23824 PyObject
* obj0
= 0 ;
23825 char *kwnames
[] = {
23826 (char *) "self", NULL
23829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
23830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23831 if (SWIG_arg_fail(1)) SWIG_fail
;
23833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23834 result
= (bool)(arg1
)->ProcessIdle();
23836 wxPyEndAllowThreads(__tstate
);
23837 if (PyErr_Occurred()) SWIG_fail
;
23840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23848 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23849 PyObject
*resultobj
;
23850 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23851 wxWindow
*arg2
= (wxWindow
*) 0 ;
23852 wxIdleEvent
*arg3
= 0 ;
23854 PyObject
* obj0
= 0 ;
23855 PyObject
* obj1
= 0 ;
23856 PyObject
* obj2
= 0 ;
23857 char *kwnames
[] = {
23858 (char *) "self",(char *) "win",(char *) "event", NULL
23861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23863 if (SWIG_arg_fail(1)) SWIG_fail
;
23864 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23865 if (SWIG_arg_fail(2)) SWIG_fail
;
23867 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
23868 if (SWIG_arg_fail(3)) SWIG_fail
;
23869 if (arg3
== NULL
) {
23870 SWIG_null_ref("wxIdleEvent");
23872 if (SWIG_arg_fail(3)) SWIG_fail
;
23875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23876 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
23878 wxPyEndAllowThreads(__tstate
);
23879 if (PyErr_Occurred()) SWIG_fail
;
23882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23890 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23891 PyObject
*resultobj
;
23892 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23894 PyObject
* obj0
= 0 ;
23895 char *kwnames
[] = {
23896 (char *) "self", NULL
23899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
23900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23901 if (SWIG_arg_fail(1)) SWIG_fail
;
23903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23904 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
23906 wxPyEndAllowThreads(__tstate
);
23907 if (PyErr_Occurred()) SWIG_fail
;
23910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23918 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23919 PyObject
*resultobj
;
23920 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23921 wxWindow
*arg2
= (wxWindow
*) 0 ;
23922 PyObject
* obj0
= 0 ;
23923 PyObject
* obj1
= 0 ;
23924 char *kwnames
[] = {
23925 (char *) "self",(char *) "win", NULL
23928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
23929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23930 if (SWIG_arg_fail(1)) SWIG_fail
;
23931 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23932 if (SWIG_arg_fail(2)) SWIG_fail
;
23934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23935 (arg1
)->SetTopWindow(arg2
);
23937 wxPyEndAllowThreads(__tstate
);
23938 if (PyErr_Occurred()) SWIG_fail
;
23940 Py_INCREF(Py_None
); resultobj
= Py_None
;
23947 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23948 PyObject
*resultobj
;
23949 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23951 PyObject
* obj0
= 0 ;
23952 char *kwnames
[] = {
23953 (char *) "self", NULL
23956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
23957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23958 if (SWIG_arg_fail(1)) SWIG_fail
;
23960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23961 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
23963 wxPyEndAllowThreads(__tstate
);
23964 if (PyErr_Occurred()) SWIG_fail
;
23967 resultobj
= wxPyMake_wxObject(result
, 0);
23975 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23976 PyObject
*resultobj
;
23977 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23979 PyObject
* obj0
= 0 ;
23980 PyObject
* obj1
= 0 ;
23981 char *kwnames
[] = {
23982 (char *) "self",(char *) "flag", NULL
23985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
23986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23987 if (SWIG_arg_fail(1)) SWIG_fail
;
23989 arg2
= (bool)(SWIG_As_bool(obj1
));
23990 if (SWIG_arg_fail(2)) SWIG_fail
;
23993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23994 (arg1
)->SetExitOnFrameDelete(arg2
);
23996 wxPyEndAllowThreads(__tstate
);
23997 if (PyErr_Occurred()) SWIG_fail
;
23999 Py_INCREF(Py_None
); resultobj
= Py_None
;
24006 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24007 PyObject
*resultobj
;
24008 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
24010 PyObject
* obj0
= 0 ;
24011 char *kwnames
[] = {
24012 (char *) "self", NULL
24015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
24016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
24017 if (SWIG_arg_fail(1)) SWIG_fail
;
24019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24020 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
24022 wxPyEndAllowThreads(__tstate
);
24023 if (PyErr_Occurred()) SWIG_fail
;
24026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24034 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24035 PyObject
*resultobj
;
24036 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
24038 PyObject
* obj0
= 0 ;
24039 PyObject
* obj1
= 0 ;
24040 char *kwnames
[] = {
24041 (char *) "self",(char *) "flag", NULL
24044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
24045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
24046 if (SWIG_arg_fail(1)) SWIG_fail
;
24048 arg2
= (bool)(SWIG_As_bool(obj1
));
24049 if (SWIG_arg_fail(2)) SWIG_fail
;
24052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24053 (arg1
)->SetUseBestVisual(arg2
);
24055 wxPyEndAllowThreads(__tstate
);
24056 if (PyErr_Occurred()) SWIG_fail
;
24058 Py_INCREF(Py_None
); resultobj
= Py_None
;
24065 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24066 PyObject
*resultobj
;
24067 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
24069 PyObject
* obj0
= 0 ;
24070 char *kwnames
[] = {
24071 (char *) "self", NULL
24074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
24075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
24076 if (SWIG_arg_fail(1)) SWIG_fail
;
24078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24079 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
24081 wxPyEndAllowThreads(__tstate
);
24082 if (PyErr_Occurred()) SWIG_fail
;
24085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24093 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24094 PyObject
*resultobj
;
24095 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
24097 PyObject
* obj0
= 0 ;
24098 PyObject
* obj1
= 0 ;
24099 char *kwnames
[] = {
24100 (char *) "self",(char *) "mode", NULL
24103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
24104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
24105 if (SWIG_arg_fail(1)) SWIG_fail
;
24107 arg2
= (int)(SWIG_As_int(obj1
));
24108 if (SWIG_arg_fail(2)) SWIG_fail
;
24111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24112 (arg1
)->SetPrintMode(arg2
);
24114 wxPyEndAllowThreads(__tstate
);
24115 if (PyErr_Occurred()) SWIG_fail
;
24117 Py_INCREF(Py_None
); resultobj
= Py_None
;
24124 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24125 PyObject
*resultobj
;
24126 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
24128 PyObject
* obj0
= 0 ;
24129 char *kwnames
[] = {
24130 (char *) "self", NULL
24133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
24134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
24135 if (SWIG_arg_fail(1)) SWIG_fail
;
24137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24138 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
24140 wxPyEndAllowThreads(__tstate
);
24141 if (PyErr_Occurred()) SWIG_fail
;
24144 resultobj
= SWIG_From_int((int)(result
));
24152 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24153 PyObject
*resultobj
;
24154 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
24156 PyObject
* obj0
= 0 ;
24157 PyObject
* obj1
= 0 ;
24158 char *kwnames
[] = {
24159 (char *) "self",(char *) "mode", NULL
24162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
24163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
24164 if (SWIG_arg_fail(1)) SWIG_fail
;
24166 arg2
= (int)(SWIG_As_int(obj1
));
24167 if (SWIG_arg_fail(2)) SWIG_fail
;
24170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24171 (arg1
)->SetAssertMode(arg2
);
24173 wxPyEndAllowThreads(__tstate
);
24174 if (PyErr_Occurred()) SWIG_fail
;
24176 Py_INCREF(Py_None
); resultobj
= Py_None
;
24183 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24184 PyObject
*resultobj
;
24185 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
24187 PyObject
* obj0
= 0 ;
24188 char *kwnames
[] = {
24189 (char *) "self", NULL
24192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
24193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
24194 if (SWIG_arg_fail(1)) SWIG_fail
;
24196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24197 result
= (int)(arg1
)->GetAssertMode();
24199 wxPyEndAllowThreads(__tstate
);
24200 if (PyErr_Occurred()) SWIG_fail
;
24203 resultobj
= SWIG_From_int((int)(result
));
24211 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24212 PyObject
*resultobj
;
24214 char *kwnames
[] = {
24218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
24220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24221 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
24223 wxPyEndAllowThreads(__tstate
);
24224 if (PyErr_Occurred()) SWIG_fail
;
24227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24235 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24236 PyObject
*resultobj
;
24238 char *kwnames
[] = {
24242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
24244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24245 result
= (long)wxPyApp::GetMacAboutMenuItemId();
24247 wxPyEndAllowThreads(__tstate
);
24248 if (PyErr_Occurred()) SWIG_fail
;
24251 resultobj
= SWIG_From_long((long)(result
));
24259 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24260 PyObject
*resultobj
;
24262 char *kwnames
[] = {
24266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
24268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24269 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
24271 wxPyEndAllowThreads(__tstate
);
24272 if (PyErr_Occurred()) SWIG_fail
;
24275 resultobj
= SWIG_From_long((long)(result
));
24283 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24284 PyObject
*resultobj
;
24286 char *kwnames
[] = {
24290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
24292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24293 result
= (long)wxPyApp::GetMacExitMenuItemId();
24295 wxPyEndAllowThreads(__tstate
);
24296 if (PyErr_Occurred()) SWIG_fail
;
24299 resultobj
= SWIG_From_long((long)(result
));
24307 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24308 PyObject
*resultobj
;
24310 char *kwnames
[] = {
24314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
24316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24317 result
= wxPyApp::GetMacHelpMenuTitleName();
24319 wxPyEndAllowThreads(__tstate
);
24320 if (PyErr_Occurred()) SWIG_fail
;
24324 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24326 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24335 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24336 PyObject
*resultobj
;
24338 PyObject
* obj0
= 0 ;
24339 char *kwnames
[] = {
24340 (char *) "val", NULL
24343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
24345 arg1
= (bool)(SWIG_As_bool(obj0
));
24346 if (SWIG_arg_fail(1)) SWIG_fail
;
24349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24350 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
24352 wxPyEndAllowThreads(__tstate
);
24353 if (PyErr_Occurred()) SWIG_fail
;
24355 Py_INCREF(Py_None
); resultobj
= Py_None
;
24362 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24363 PyObject
*resultobj
;
24365 PyObject
* obj0
= 0 ;
24366 char *kwnames
[] = {
24367 (char *) "val", NULL
24370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
24372 arg1
= (long)(SWIG_As_long(obj0
));
24373 if (SWIG_arg_fail(1)) SWIG_fail
;
24376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24377 wxPyApp::SetMacAboutMenuItemId(arg1
);
24379 wxPyEndAllowThreads(__tstate
);
24380 if (PyErr_Occurred()) SWIG_fail
;
24382 Py_INCREF(Py_None
); resultobj
= Py_None
;
24389 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24390 PyObject
*resultobj
;
24392 PyObject
* obj0
= 0 ;
24393 char *kwnames
[] = {
24394 (char *) "val", NULL
24397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
24399 arg1
= (long)(SWIG_As_long(obj0
));
24400 if (SWIG_arg_fail(1)) SWIG_fail
;
24403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24404 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
24406 wxPyEndAllowThreads(__tstate
);
24407 if (PyErr_Occurred()) SWIG_fail
;
24409 Py_INCREF(Py_None
); resultobj
= Py_None
;
24416 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24417 PyObject
*resultobj
;
24419 PyObject
* obj0
= 0 ;
24420 char *kwnames
[] = {
24421 (char *) "val", NULL
24424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
24426 arg1
= (long)(SWIG_As_long(obj0
));
24427 if (SWIG_arg_fail(1)) SWIG_fail
;
24430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24431 wxPyApp::SetMacExitMenuItemId(arg1
);
24433 wxPyEndAllowThreads(__tstate
);
24434 if (PyErr_Occurred()) SWIG_fail
;
24436 Py_INCREF(Py_None
); resultobj
= Py_None
;
24443 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24444 PyObject
*resultobj
;
24445 wxString
*arg1
= 0 ;
24446 bool temp1
= false ;
24447 PyObject
* obj0
= 0 ;
24448 char *kwnames
[] = {
24449 (char *) "val", NULL
24452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
24454 arg1
= wxString_in_helper(obj0
);
24455 if (arg1
== NULL
) SWIG_fail
;
24459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24460 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
24462 wxPyEndAllowThreads(__tstate
);
24463 if (PyErr_Occurred()) SWIG_fail
;
24465 Py_INCREF(Py_None
); resultobj
= Py_None
;
24480 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24481 PyObject
*resultobj
;
24482 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
24483 PyObject
* obj0
= 0 ;
24484 char *kwnames
[] = {
24485 (char *) "self", NULL
24488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
24489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
24490 if (SWIG_arg_fail(1)) SWIG_fail
;
24492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24493 (arg1
)->_BootstrapApp();
24495 wxPyEndAllowThreads(__tstate
);
24496 if (PyErr_Occurred()) SWIG_fail
;
24498 Py_INCREF(Py_None
); resultobj
= Py_None
;
24505 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24506 PyObject
*resultobj
;
24508 char *kwnames
[] = {
24512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
24514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24515 result
= (int)PyApp_GetComCtl32Version();
24517 wxPyEndAllowThreads(__tstate
);
24518 if (PyErr_Occurred()) SWIG_fail
;
24521 resultobj
= SWIG_From_int((int)(result
));
24529 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
24531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24532 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
24534 return Py_BuildValue((char *)"");
24536 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24537 PyObject
*resultobj
;
24538 char *kwnames
[] = {
24542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
24544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24547 wxPyEndAllowThreads(__tstate
);
24548 if (PyErr_Occurred()) SWIG_fail
;
24550 Py_INCREF(Py_None
); resultobj
= Py_None
;
24557 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24558 PyObject
*resultobj
;
24560 char *kwnames
[] = {
24564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
24566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24567 result
= (bool)wxYield();
24569 wxPyEndAllowThreads(__tstate
);
24570 if (PyErr_Occurred()) SWIG_fail
;
24573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24581 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24582 PyObject
*resultobj
;
24584 char *kwnames
[] = {
24588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
24590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24591 result
= (bool)wxYieldIfNeeded();
24593 wxPyEndAllowThreads(__tstate
);
24594 if (PyErr_Occurred()) SWIG_fail
;
24597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24605 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24606 PyObject
*resultobj
;
24607 wxWindow
*arg1
= (wxWindow
*) NULL
;
24608 bool arg2
= (bool) false ;
24610 PyObject
* obj0
= 0 ;
24611 PyObject
* obj1
= 0 ;
24612 char *kwnames
[] = {
24613 (char *) "win",(char *) "onlyIfNeeded", NULL
24616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
24618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24619 if (SWIG_arg_fail(1)) SWIG_fail
;
24623 arg2
= (bool)(SWIG_As_bool(obj1
));
24624 if (SWIG_arg_fail(2)) SWIG_fail
;
24628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24629 result
= (bool)wxSafeYield(arg1
,arg2
);
24631 wxPyEndAllowThreads(__tstate
);
24632 if (PyErr_Occurred()) SWIG_fail
;
24635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24643 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24644 PyObject
*resultobj
;
24645 char *kwnames
[] = {
24649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
24651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24654 wxPyEndAllowThreads(__tstate
);
24655 if (PyErr_Occurred()) SWIG_fail
;
24657 Py_INCREF(Py_None
); resultobj
= Py_None
;
24664 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24665 PyObject
*resultobj
;
24666 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
24667 wxEvent
*arg2
= 0 ;
24668 PyObject
* obj0
= 0 ;
24669 PyObject
* obj1
= 0 ;
24670 char *kwnames
[] = {
24671 (char *) "dest",(char *) "event", NULL
24674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
24676 if (SWIG_arg_fail(1)) SWIG_fail
;
24678 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
24679 if (SWIG_arg_fail(2)) SWIG_fail
;
24680 if (arg2
== NULL
) {
24681 SWIG_null_ref("wxEvent");
24683 if (SWIG_arg_fail(2)) SWIG_fail
;
24686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24687 wxPostEvent(arg1
,*arg2
);
24689 wxPyEndAllowThreads(__tstate
);
24690 if (PyErr_Occurred()) SWIG_fail
;
24692 Py_INCREF(Py_None
); resultobj
= Py_None
;
24699 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24700 PyObject
*resultobj
;
24701 char *kwnames
[] = {
24705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
24707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24710 wxPyEndAllowThreads(__tstate
);
24711 if (PyErr_Occurred()) SWIG_fail
;
24713 Py_INCREF(Py_None
); resultobj
= Py_None
;
24720 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24721 PyObject
*resultobj
;
24723 char *kwnames
[] = {
24727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
24729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24730 result
= (wxPyApp
*)wxPyGetApp();
24732 wxPyEndAllowThreads(__tstate
);
24733 if (PyErr_Occurred()) SWIG_fail
;
24736 resultobj
= wxPyMake_wxObject(result
, 0);
24744 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24745 PyObject
*resultobj
;
24746 char *arg1
= (char *) 0 ;
24747 PyObject
* obj0
= 0 ;
24748 char *kwnames
[] = {
24749 (char *) "encoding", NULL
24752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
24753 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
24754 SWIG_arg_fail(1);SWIG_fail
;
24757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24758 wxSetDefaultPyEncoding((char const *)arg1
);
24760 wxPyEndAllowThreads(__tstate
);
24761 if (PyErr_Occurred()) SWIG_fail
;
24763 Py_INCREF(Py_None
); resultobj
= Py_None
;
24770 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24771 PyObject
*resultobj
;
24773 char *kwnames
[] = {
24777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
24779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24780 result
= (char *)wxGetDefaultPyEncoding();
24782 wxPyEndAllowThreads(__tstate
);
24783 if (PyErr_Occurred()) SWIG_fail
;
24785 resultobj
= SWIG_FromCharPtr(result
);
24792 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24793 PyObject
*resultobj
;
24794 wxEventLoop
*result
;
24795 char *kwnames
[] = {
24799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
24801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24802 result
= (wxEventLoop
*)new wxEventLoop();
24804 wxPyEndAllowThreads(__tstate
);
24805 if (PyErr_Occurred()) SWIG_fail
;
24807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
24814 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24815 PyObject
*resultobj
;
24816 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24817 PyObject
* obj0
= 0 ;
24818 char *kwnames
[] = {
24819 (char *) "self", NULL
24822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
24823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24824 if (SWIG_arg_fail(1)) SWIG_fail
;
24826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24829 wxPyEndAllowThreads(__tstate
);
24830 if (PyErr_Occurred()) SWIG_fail
;
24832 Py_INCREF(Py_None
); resultobj
= Py_None
;
24839 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24840 PyObject
*resultobj
;
24841 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24843 PyObject
* obj0
= 0 ;
24844 char *kwnames
[] = {
24845 (char *) "self", NULL
24848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
24849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24850 if (SWIG_arg_fail(1)) SWIG_fail
;
24852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24853 result
= (int)(arg1
)->Run();
24855 wxPyEndAllowThreads(__tstate
);
24856 if (PyErr_Occurred()) SWIG_fail
;
24859 resultobj
= SWIG_From_int((int)(result
));
24867 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24868 PyObject
*resultobj
;
24869 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24870 int arg2
= (int) 0 ;
24871 PyObject
* obj0
= 0 ;
24872 PyObject
* obj1
= 0 ;
24873 char *kwnames
[] = {
24874 (char *) "self",(char *) "rc", NULL
24877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
24878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24879 if (SWIG_arg_fail(1)) SWIG_fail
;
24882 arg2
= (int)(SWIG_As_int(obj1
));
24883 if (SWIG_arg_fail(2)) SWIG_fail
;
24887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24888 (arg1
)->Exit(arg2
);
24890 wxPyEndAllowThreads(__tstate
);
24891 if (PyErr_Occurred()) SWIG_fail
;
24893 Py_INCREF(Py_None
); resultobj
= Py_None
;
24900 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24901 PyObject
*resultobj
;
24902 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24904 PyObject
* obj0
= 0 ;
24905 char *kwnames
[] = {
24906 (char *) "self", NULL
24909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
24910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24911 if (SWIG_arg_fail(1)) SWIG_fail
;
24913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24914 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
24916 wxPyEndAllowThreads(__tstate
);
24917 if (PyErr_Occurred()) SWIG_fail
;
24920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24928 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24929 PyObject
*resultobj
;
24930 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24932 PyObject
* obj0
= 0 ;
24933 char *kwnames
[] = {
24934 (char *) "self", NULL
24937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
24938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24939 if (SWIG_arg_fail(1)) SWIG_fail
;
24941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24942 result
= (bool)(arg1
)->Dispatch();
24944 wxPyEndAllowThreads(__tstate
);
24945 if (PyErr_Occurred()) SWIG_fail
;
24948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24956 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24957 PyObject
*resultobj
;
24958 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24960 PyObject
* obj0
= 0 ;
24961 char *kwnames
[] = {
24962 (char *) "self", NULL
24965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
24966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24967 if (SWIG_arg_fail(1)) SWIG_fail
;
24969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24970 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
24972 wxPyEndAllowThreads(__tstate
);
24973 if (PyErr_Occurred()) SWIG_fail
;
24976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24984 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24985 PyObject
*resultobj
;
24986 wxEventLoop
*result
;
24987 char *kwnames
[] = {
24991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
24993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24994 result
= (wxEventLoop
*)wxEventLoop::GetActive();
24996 wxPyEndAllowThreads(__tstate
);
24997 if (PyErr_Occurred()) SWIG_fail
;
24999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
25006 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25007 PyObject
*resultobj
;
25008 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
25009 PyObject
* obj0
= 0 ;
25010 char *kwnames
[] = {
25011 (char *) "loop", NULL
25014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
25015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
25016 if (SWIG_arg_fail(1)) SWIG_fail
;
25018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25019 wxEventLoop::SetActive(arg1
);
25021 wxPyEndAllowThreads(__tstate
);
25022 if (PyErr_Occurred()) SWIG_fail
;
25024 Py_INCREF(Py_None
); resultobj
= Py_None
;
25031 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
25033 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25034 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
25036 return Py_BuildValue((char *)"");
25038 static PyObject
*_wrap_new_EventLoopActivator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25039 PyObject
*resultobj
;
25040 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
25041 wxEventLoopActivator
*result
;
25042 PyObject
* obj0
= 0 ;
25043 char *kwnames
[] = {
25044 (char *) "evtLoop", NULL
25047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_EventLoopActivator",kwnames
,&obj0
)) goto fail
;
25048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
25049 if (SWIG_arg_fail(1)) SWIG_fail
;
25051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25052 result
= (wxEventLoopActivator
*)new wxEventLoopActivator(arg1
);
25054 wxPyEndAllowThreads(__tstate
);
25055 if (PyErr_Occurred()) SWIG_fail
;
25057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoopActivator
, 1);
25064 static PyObject
*_wrap_delete_EventLoopActivator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25065 PyObject
*resultobj
;
25066 wxEventLoopActivator
*arg1
= (wxEventLoopActivator
*) 0 ;
25067 PyObject
* obj0
= 0 ;
25068 char *kwnames
[] = {
25069 (char *) "self", NULL
25072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoopActivator",kwnames
,&obj0
)) goto fail
;
25073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoopActivator
, SWIG_POINTER_EXCEPTION
| 0);
25074 if (SWIG_arg_fail(1)) SWIG_fail
;
25076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25079 wxPyEndAllowThreads(__tstate
);
25080 if (PyErr_Occurred()) SWIG_fail
;
25082 Py_INCREF(Py_None
); resultobj
= Py_None
;
25089 static PyObject
* EventLoopActivator_swigregister(PyObject
*, PyObject
*args
) {
25091 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25092 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoopActivator
, obj
);
25094 return Py_BuildValue((char *)"");
25096 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25097 PyObject
*resultobj
;
25098 int arg1
= (int) 0 ;
25099 int arg2
= (int) 0 ;
25100 int arg3
= (int) 0 ;
25101 wxAcceleratorEntry
*result
;
25102 PyObject
* obj0
= 0 ;
25103 PyObject
* obj1
= 0 ;
25104 PyObject
* obj2
= 0 ;
25105 char *kwnames
[] = {
25106 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
25109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25112 arg1
= (int)(SWIG_As_int(obj0
));
25113 if (SWIG_arg_fail(1)) SWIG_fail
;
25118 arg2
= (int)(SWIG_As_int(obj1
));
25119 if (SWIG_arg_fail(2)) SWIG_fail
;
25124 arg3
= (int)(SWIG_As_int(obj2
));
25125 if (SWIG_arg_fail(3)) SWIG_fail
;
25129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25130 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
25132 wxPyEndAllowThreads(__tstate
);
25133 if (PyErr_Occurred()) SWIG_fail
;
25135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
25142 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25143 PyObject
*resultobj
;
25144 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
25145 PyObject
* obj0
= 0 ;
25146 char *kwnames
[] = {
25147 (char *) "self", NULL
25150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
25151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
25152 if (SWIG_arg_fail(1)) SWIG_fail
;
25154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25157 wxPyEndAllowThreads(__tstate
);
25158 if (PyErr_Occurred()) SWIG_fail
;
25160 Py_INCREF(Py_None
); resultobj
= Py_None
;
25167 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25168 PyObject
*resultobj
;
25169 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
25173 PyObject
* obj0
= 0 ;
25174 PyObject
* obj1
= 0 ;
25175 PyObject
* obj2
= 0 ;
25176 PyObject
* obj3
= 0 ;
25177 char *kwnames
[] = {
25178 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
25181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
25183 if (SWIG_arg_fail(1)) SWIG_fail
;
25185 arg2
= (int)(SWIG_As_int(obj1
));
25186 if (SWIG_arg_fail(2)) SWIG_fail
;
25189 arg3
= (int)(SWIG_As_int(obj2
));
25190 if (SWIG_arg_fail(3)) SWIG_fail
;
25193 arg4
= (int)(SWIG_As_int(obj3
));
25194 if (SWIG_arg_fail(4)) SWIG_fail
;
25197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25198 (arg1
)->Set(arg2
,arg3
,arg4
);
25200 wxPyEndAllowThreads(__tstate
);
25201 if (PyErr_Occurred()) SWIG_fail
;
25203 Py_INCREF(Py_None
); resultobj
= Py_None
;
25210 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25211 PyObject
*resultobj
;
25212 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
25214 PyObject
* obj0
= 0 ;
25215 char *kwnames
[] = {
25216 (char *) "self", NULL
25219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
25220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
25221 if (SWIG_arg_fail(1)) SWIG_fail
;
25223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25224 result
= (int)(arg1
)->GetFlags();
25226 wxPyEndAllowThreads(__tstate
);
25227 if (PyErr_Occurred()) SWIG_fail
;
25230 resultobj
= SWIG_From_int((int)(result
));
25238 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25239 PyObject
*resultobj
;
25240 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
25242 PyObject
* obj0
= 0 ;
25243 char *kwnames
[] = {
25244 (char *) "self", NULL
25247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
25248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
25249 if (SWIG_arg_fail(1)) SWIG_fail
;
25251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25252 result
= (int)(arg1
)->GetKeyCode();
25254 wxPyEndAllowThreads(__tstate
);
25255 if (PyErr_Occurred()) SWIG_fail
;
25258 resultobj
= SWIG_From_int((int)(result
));
25266 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25267 PyObject
*resultobj
;
25268 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
25270 PyObject
* obj0
= 0 ;
25271 char *kwnames
[] = {
25272 (char *) "self", NULL
25275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
25276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
25277 if (SWIG_arg_fail(1)) SWIG_fail
;
25279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25280 result
= (int)(arg1
)->GetCommand();
25282 wxPyEndAllowThreads(__tstate
);
25283 if (PyErr_Occurred()) SWIG_fail
;
25286 resultobj
= SWIG_From_int((int)(result
));
25294 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
25296 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25297 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
25299 return Py_BuildValue((char *)"");
25301 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25302 PyObject
*resultobj
;
25304 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
25305 wxAcceleratorTable
*result
;
25306 PyObject
* obj0
= 0 ;
25307 char *kwnames
[] = {
25311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
25313 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
25314 if (arg2
) arg1
= PyList_Size(obj0
);
25318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25319 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
25321 wxPyEndAllowThreads(__tstate
);
25322 if (PyErr_Occurred()) SWIG_fail
;
25324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
25337 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25338 PyObject
*resultobj
;
25339 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
25340 PyObject
* obj0
= 0 ;
25341 char *kwnames
[] = {
25342 (char *) "self", NULL
25345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
25346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
25347 if (SWIG_arg_fail(1)) SWIG_fail
;
25349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25352 wxPyEndAllowThreads(__tstate
);
25353 if (PyErr_Occurred()) SWIG_fail
;
25355 Py_INCREF(Py_None
); resultobj
= Py_None
;
25362 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25363 PyObject
*resultobj
;
25364 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
25366 PyObject
* obj0
= 0 ;
25367 char *kwnames
[] = {
25368 (char *) "self", NULL
25371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
25372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
25373 if (SWIG_arg_fail(1)) SWIG_fail
;
25375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25376 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
25378 wxPyEndAllowThreads(__tstate
);
25379 if (PyErr_Occurred()) SWIG_fail
;
25382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25390 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
25392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25393 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
25395 return Py_BuildValue((char *)"");
25397 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
25398 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
25403 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
25406 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
25411 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25412 PyObject
*resultobj
;
25413 wxString
*arg1
= 0 ;
25414 wxAcceleratorEntry
*result
;
25415 bool temp1
= false ;
25416 PyObject
* obj0
= 0 ;
25417 char *kwnames
[] = {
25418 (char *) "label", NULL
25421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
25423 arg1
= wxString_in_helper(obj0
);
25424 if (arg1
== NULL
) SWIG_fail
;
25428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25429 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
25431 wxPyEndAllowThreads(__tstate
);
25432 if (PyErr_Occurred()) SWIG_fail
;
25434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
25449 static int _wrap_PanelNameStr_set(PyObject
*) {
25450 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
25455 static PyObject
*_wrap_PanelNameStr_get(void) {
25460 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
25462 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
25469 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25470 PyObject
*resultobj
;
25471 wxVisualAttributes
*result
;
25472 char *kwnames
[] = {
25476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
25478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25479 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
25481 wxPyEndAllowThreads(__tstate
);
25482 if (PyErr_Occurred()) SWIG_fail
;
25484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
25491 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25492 PyObject
*resultobj
;
25493 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
25494 PyObject
* obj0
= 0 ;
25495 char *kwnames
[] = {
25496 (char *) "self", NULL
25499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
25500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
25501 if (SWIG_arg_fail(1)) SWIG_fail
;
25503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25504 delete_wxVisualAttributes(arg1
);
25506 wxPyEndAllowThreads(__tstate
);
25507 if (PyErr_Occurred()) SWIG_fail
;
25509 Py_INCREF(Py_None
); resultobj
= Py_None
;
25516 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25517 PyObject
*resultobj
;
25518 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
25519 wxFont
*arg2
= (wxFont
*) 0 ;
25520 PyObject
* obj0
= 0 ;
25521 PyObject
* obj1
= 0 ;
25522 char *kwnames
[] = {
25523 (char *) "self",(char *) "font", NULL
25526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
25527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
25528 if (SWIG_arg_fail(1)) SWIG_fail
;
25529 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
25530 if (SWIG_arg_fail(2)) SWIG_fail
;
25531 if (arg1
) (arg1
)->font
= *arg2
;
25533 Py_INCREF(Py_None
); resultobj
= Py_None
;
25540 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25541 PyObject
*resultobj
;
25542 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
25544 PyObject
* obj0
= 0 ;
25545 char *kwnames
[] = {
25546 (char *) "self", NULL
25549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
25550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
25551 if (SWIG_arg_fail(1)) SWIG_fail
;
25552 result
= (wxFont
*)& ((arg1
)->font
);
25554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
25561 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25562 PyObject
*resultobj
;
25563 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
25564 wxColour
*arg2
= (wxColour
*) 0 ;
25565 PyObject
* obj0
= 0 ;
25566 PyObject
* obj1
= 0 ;
25567 char *kwnames
[] = {
25568 (char *) "self",(char *) "colFg", NULL
25571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
25572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
25573 if (SWIG_arg_fail(1)) SWIG_fail
;
25574 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
25575 if (SWIG_arg_fail(2)) SWIG_fail
;
25576 if (arg1
) (arg1
)->colFg
= *arg2
;
25578 Py_INCREF(Py_None
); resultobj
= Py_None
;
25585 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25586 PyObject
*resultobj
;
25587 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
25589 PyObject
* obj0
= 0 ;
25590 char *kwnames
[] = {
25591 (char *) "self", NULL
25594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
25595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
25596 if (SWIG_arg_fail(1)) SWIG_fail
;
25597 result
= (wxColour
*)& ((arg1
)->colFg
);
25599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
25606 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25607 PyObject
*resultobj
;
25608 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
25609 wxColour
*arg2
= (wxColour
*) 0 ;
25610 PyObject
* obj0
= 0 ;
25611 PyObject
* obj1
= 0 ;
25612 char *kwnames
[] = {
25613 (char *) "self",(char *) "colBg", NULL
25616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
25617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
25618 if (SWIG_arg_fail(1)) SWIG_fail
;
25619 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
25620 if (SWIG_arg_fail(2)) SWIG_fail
;
25621 if (arg1
) (arg1
)->colBg
= *arg2
;
25623 Py_INCREF(Py_None
); resultobj
= Py_None
;
25630 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25631 PyObject
*resultobj
;
25632 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
25634 PyObject
* obj0
= 0 ;
25635 char *kwnames
[] = {
25636 (char *) "self", NULL
25639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
25640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
25641 if (SWIG_arg_fail(1)) SWIG_fail
;
25642 result
= (wxColour
*)& ((arg1
)->colBg
);
25644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
25651 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
25653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25654 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
25656 return Py_BuildValue((char *)"");
25658 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25659 PyObject
*resultobj
;
25660 wxWindow
*arg1
= (wxWindow
*) 0 ;
25661 int arg2
= (int) (int)-1 ;
25662 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25663 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25664 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25665 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25666 long arg5
= (long) 0 ;
25667 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
25668 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25672 bool temp6
= false ;
25673 PyObject
* obj0
= 0 ;
25674 PyObject
* obj1
= 0 ;
25675 PyObject
* obj2
= 0 ;
25676 PyObject
* obj3
= 0 ;
25677 PyObject
* obj4
= 0 ;
25678 PyObject
* obj5
= 0 ;
25679 char *kwnames
[] = {
25680 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25685 if (SWIG_arg_fail(1)) SWIG_fail
;
25688 arg2
= (int const)(SWIG_As_int(obj1
));
25689 if (SWIG_arg_fail(2)) SWIG_fail
;
25695 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25701 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25706 arg5
= (long)(SWIG_As_long(obj4
));
25707 if (SWIG_arg_fail(5)) SWIG_fail
;
25712 arg6
= wxString_in_helper(obj5
);
25713 if (arg6
== NULL
) SWIG_fail
;
25718 if (!wxPyCheckForApp()) SWIG_fail
;
25719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25720 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25722 wxPyEndAllowThreads(__tstate
);
25723 if (PyErr_Occurred()) SWIG_fail
;
25725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25740 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25741 PyObject
*resultobj
;
25743 char *kwnames
[] = {
25747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
25749 if (!wxPyCheckForApp()) SWIG_fail
;
25750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25751 result
= (wxWindow
*)new wxWindow();
25753 wxPyEndAllowThreads(__tstate
);
25754 if (PyErr_Occurred()) SWIG_fail
;
25756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25763 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25764 PyObject
*resultobj
;
25765 wxWindow
*arg1
= (wxWindow
*) 0 ;
25766 wxWindow
*arg2
= (wxWindow
*) 0 ;
25767 int arg3
= (int) (int)-1 ;
25768 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25769 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25770 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25771 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25772 long arg6
= (long) 0 ;
25773 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25774 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25778 bool temp7
= false ;
25779 PyObject
* obj0
= 0 ;
25780 PyObject
* obj1
= 0 ;
25781 PyObject
* obj2
= 0 ;
25782 PyObject
* obj3
= 0 ;
25783 PyObject
* obj4
= 0 ;
25784 PyObject
* obj5
= 0 ;
25785 PyObject
* obj6
= 0 ;
25786 char *kwnames
[] = {
25787 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25792 if (SWIG_arg_fail(1)) SWIG_fail
;
25793 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25794 if (SWIG_arg_fail(2)) SWIG_fail
;
25797 arg3
= (int const)(SWIG_As_int(obj2
));
25798 if (SWIG_arg_fail(3)) SWIG_fail
;
25804 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25810 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25815 arg6
= (long)(SWIG_As_long(obj5
));
25816 if (SWIG_arg_fail(6)) SWIG_fail
;
25821 arg7
= wxString_in_helper(obj6
);
25822 if (arg7
== NULL
) SWIG_fail
;
25827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25828 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25830 wxPyEndAllowThreads(__tstate
);
25831 if (PyErr_Occurred()) SWIG_fail
;
25834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25850 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25851 PyObject
*resultobj
;
25852 wxWindow
*arg1
= (wxWindow
*) 0 ;
25853 bool arg2
= (bool) false ;
25855 PyObject
* obj0
= 0 ;
25856 PyObject
* obj1
= 0 ;
25857 char *kwnames
[] = {
25858 (char *) "self",(char *) "force", NULL
25861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
25862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25863 if (SWIG_arg_fail(1)) SWIG_fail
;
25866 arg2
= (bool)(SWIG_As_bool(obj1
));
25867 if (SWIG_arg_fail(2)) SWIG_fail
;
25871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25872 result
= (bool)(arg1
)->Close(arg2
);
25874 wxPyEndAllowThreads(__tstate
);
25875 if (PyErr_Occurred()) SWIG_fail
;
25878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25886 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25887 PyObject
*resultobj
;
25888 wxWindow
*arg1
= (wxWindow
*) 0 ;
25890 PyObject
* obj0
= 0 ;
25891 char *kwnames
[] = {
25892 (char *) "self", NULL
25895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
25896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25897 if (SWIG_arg_fail(1)) SWIG_fail
;
25899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25900 result
= (bool)(arg1
)->Destroy();
25902 wxPyEndAllowThreads(__tstate
);
25903 if (PyErr_Occurred()) SWIG_fail
;
25906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25914 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25915 PyObject
*resultobj
;
25916 wxWindow
*arg1
= (wxWindow
*) 0 ;
25918 PyObject
* obj0
= 0 ;
25919 char *kwnames
[] = {
25920 (char *) "self", NULL
25923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
25924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25925 if (SWIG_arg_fail(1)) SWIG_fail
;
25927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25928 result
= (bool)(arg1
)->DestroyChildren();
25930 wxPyEndAllowThreads(__tstate
);
25931 if (PyErr_Occurred()) SWIG_fail
;
25934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25942 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25943 PyObject
*resultobj
;
25944 wxWindow
*arg1
= (wxWindow
*) 0 ;
25946 PyObject
* obj0
= 0 ;
25947 char *kwnames
[] = {
25948 (char *) "self", NULL
25951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
25952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25953 if (SWIG_arg_fail(1)) SWIG_fail
;
25955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25956 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
25958 wxPyEndAllowThreads(__tstate
);
25959 if (PyErr_Occurred()) SWIG_fail
;
25962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25970 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25971 PyObject
*resultobj
;
25972 wxWindow
*arg1
= (wxWindow
*) 0 ;
25973 wxString
*arg2
= 0 ;
25974 bool temp2
= false ;
25975 PyObject
* obj0
= 0 ;
25976 PyObject
* obj1
= 0 ;
25977 char *kwnames
[] = {
25978 (char *) "self",(char *) "label", NULL
25981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25983 if (SWIG_arg_fail(1)) SWIG_fail
;
25985 arg2
= wxString_in_helper(obj1
);
25986 if (arg2
== NULL
) SWIG_fail
;
25990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25991 (arg1
)->SetLabel((wxString
const &)*arg2
);
25993 wxPyEndAllowThreads(__tstate
);
25994 if (PyErr_Occurred()) SWIG_fail
;
25996 Py_INCREF(Py_None
); resultobj
= Py_None
;
26011 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26012 PyObject
*resultobj
;
26013 wxWindow
*arg1
= (wxWindow
*) 0 ;
26015 PyObject
* obj0
= 0 ;
26016 char *kwnames
[] = {
26017 (char *) "self", NULL
26020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
26021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26022 if (SWIG_arg_fail(1)) SWIG_fail
;
26024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26025 result
= ((wxWindow
const *)arg1
)->GetLabel();
26027 wxPyEndAllowThreads(__tstate
);
26028 if (PyErr_Occurred()) SWIG_fail
;
26032 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26034 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26043 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26044 PyObject
*resultobj
;
26045 wxWindow
*arg1
= (wxWindow
*) 0 ;
26046 wxString
*arg2
= 0 ;
26047 bool temp2
= false ;
26048 PyObject
* obj0
= 0 ;
26049 PyObject
* obj1
= 0 ;
26050 char *kwnames
[] = {
26051 (char *) "self",(char *) "name", NULL
26054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
26055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26056 if (SWIG_arg_fail(1)) SWIG_fail
;
26058 arg2
= wxString_in_helper(obj1
);
26059 if (arg2
== NULL
) SWIG_fail
;
26063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26064 (arg1
)->SetName((wxString
const &)*arg2
);
26066 wxPyEndAllowThreads(__tstate
);
26067 if (PyErr_Occurred()) SWIG_fail
;
26069 Py_INCREF(Py_None
); resultobj
= Py_None
;
26084 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26085 PyObject
*resultobj
;
26086 wxWindow
*arg1
= (wxWindow
*) 0 ;
26088 PyObject
* obj0
= 0 ;
26089 char *kwnames
[] = {
26090 (char *) "self", NULL
26093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
26094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26095 if (SWIG_arg_fail(1)) SWIG_fail
;
26097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26098 result
= ((wxWindow
const *)arg1
)->GetName();
26100 wxPyEndAllowThreads(__tstate
);
26101 if (PyErr_Occurred()) SWIG_fail
;
26105 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26107 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26116 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26117 PyObject
*resultobj
;
26118 wxWindow
*arg1
= (wxWindow
*) 0 ;
26119 wxWindowVariant arg2
;
26120 PyObject
* obj0
= 0 ;
26121 PyObject
* obj1
= 0 ;
26122 char *kwnames
[] = {
26123 (char *) "self",(char *) "variant", NULL
26126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) 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
= (wxWindowVariant
)(SWIG_As_int(obj1
));
26131 if (SWIG_arg_fail(2)) SWIG_fail
;
26134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26135 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
26137 wxPyEndAllowThreads(__tstate
);
26138 if (PyErr_Occurred()) SWIG_fail
;
26140 Py_INCREF(Py_None
); resultobj
= Py_None
;
26147 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26148 PyObject
*resultobj
;
26149 wxWindow
*arg1
= (wxWindow
*) 0 ;
26150 wxWindowVariant result
;
26151 PyObject
* obj0
= 0 ;
26152 char *kwnames
[] = {
26153 (char *) "self", NULL
26156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
26157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26158 if (SWIG_arg_fail(1)) SWIG_fail
;
26160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26161 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
26163 wxPyEndAllowThreads(__tstate
);
26164 if (PyErr_Occurred()) SWIG_fail
;
26166 resultobj
= SWIG_From_int((result
));
26173 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26174 PyObject
*resultobj
;
26175 wxWindow
*arg1
= (wxWindow
*) 0 ;
26177 PyObject
* obj0
= 0 ;
26178 PyObject
* obj1
= 0 ;
26179 char *kwnames
[] = {
26180 (char *) "self",(char *) "winid", NULL
26183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
26184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26185 if (SWIG_arg_fail(1)) SWIG_fail
;
26187 arg2
= (int)(SWIG_As_int(obj1
));
26188 if (SWIG_arg_fail(2)) SWIG_fail
;
26191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26192 (arg1
)->SetId(arg2
);
26194 wxPyEndAllowThreads(__tstate
);
26195 if (PyErr_Occurred()) SWIG_fail
;
26197 Py_INCREF(Py_None
); resultobj
= Py_None
;
26204 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26205 PyObject
*resultobj
;
26206 wxWindow
*arg1
= (wxWindow
*) 0 ;
26208 PyObject
* obj0
= 0 ;
26209 char *kwnames
[] = {
26210 (char *) "self", NULL
26213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
26214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26215 if (SWIG_arg_fail(1)) SWIG_fail
;
26217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26218 result
= (int)((wxWindow
const *)arg1
)->GetId();
26220 wxPyEndAllowThreads(__tstate
);
26221 if (PyErr_Occurred()) SWIG_fail
;
26224 resultobj
= SWIG_From_int((int)(result
));
26232 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26233 PyObject
*resultobj
;
26235 char *kwnames
[] = {
26239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
26241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26242 result
= (int)wxWindow::NewControlId();
26244 wxPyEndAllowThreads(__tstate
);
26245 if (PyErr_Occurred()) SWIG_fail
;
26248 resultobj
= SWIG_From_int((int)(result
));
26256 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26257 PyObject
*resultobj
;
26260 PyObject
* obj0
= 0 ;
26261 char *kwnames
[] = {
26262 (char *) "winid", NULL
26265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
26267 arg1
= (int)(SWIG_As_int(obj0
));
26268 if (SWIG_arg_fail(1)) SWIG_fail
;
26271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26272 result
= (int)wxWindow::NextControlId(arg1
);
26274 wxPyEndAllowThreads(__tstate
);
26275 if (PyErr_Occurred()) SWIG_fail
;
26278 resultobj
= SWIG_From_int((int)(result
));
26286 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26287 PyObject
*resultobj
;
26290 PyObject
* obj0
= 0 ;
26291 char *kwnames
[] = {
26292 (char *) "winid", NULL
26295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
26297 arg1
= (int)(SWIG_As_int(obj0
));
26298 if (SWIG_arg_fail(1)) SWIG_fail
;
26301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26302 result
= (int)wxWindow::PrevControlId(arg1
);
26304 wxPyEndAllowThreads(__tstate
);
26305 if (PyErr_Occurred()) SWIG_fail
;
26308 resultobj
= SWIG_From_int((int)(result
));
26316 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26317 PyObject
*resultobj
;
26318 wxWindow
*arg1
= (wxWindow
*) 0 ;
26321 PyObject
* obj0
= 0 ;
26322 PyObject
* obj1
= 0 ;
26323 char *kwnames
[] = {
26324 (char *) "self",(char *) "size", NULL
26327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26329 if (SWIG_arg_fail(1)) SWIG_fail
;
26332 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26336 (arg1
)->SetSize((wxSize
const &)*arg2
);
26338 wxPyEndAllowThreads(__tstate
);
26339 if (PyErr_Occurred()) SWIG_fail
;
26341 Py_INCREF(Py_None
); resultobj
= Py_None
;
26348 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26349 PyObject
*resultobj
;
26350 wxWindow
*arg1
= (wxWindow
*) 0 ;
26355 int arg6
= (int) wxSIZE_AUTO
;
26356 PyObject
* obj0
= 0 ;
26357 PyObject
* obj1
= 0 ;
26358 PyObject
* obj2
= 0 ;
26359 PyObject
* obj3
= 0 ;
26360 PyObject
* obj4
= 0 ;
26361 PyObject
* obj5
= 0 ;
26362 char *kwnames
[] = {
26363 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
26366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
26371 if (SWIG_arg_fail(2)) SWIG_fail
;
26374 arg3
= (int)(SWIG_As_int(obj2
));
26375 if (SWIG_arg_fail(3)) SWIG_fail
;
26378 arg4
= (int)(SWIG_As_int(obj3
));
26379 if (SWIG_arg_fail(4)) SWIG_fail
;
26382 arg5
= (int)(SWIG_As_int(obj4
));
26383 if (SWIG_arg_fail(5)) SWIG_fail
;
26387 arg6
= (int)(SWIG_As_int(obj5
));
26388 if (SWIG_arg_fail(6)) SWIG_fail
;
26392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26393 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
26395 wxPyEndAllowThreads(__tstate
);
26396 if (PyErr_Occurred()) SWIG_fail
;
26398 Py_INCREF(Py_None
); resultobj
= Py_None
;
26405 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26406 PyObject
*resultobj
;
26407 wxWindow
*arg1
= (wxWindow
*) 0 ;
26409 int arg3
= (int) wxSIZE_AUTO
;
26411 PyObject
* obj0
= 0 ;
26412 PyObject
* obj1
= 0 ;
26413 PyObject
* obj2
= 0 ;
26414 char *kwnames
[] = {
26415 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
26418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26420 if (SWIG_arg_fail(1)) SWIG_fail
;
26423 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26427 arg3
= (int)(SWIG_As_int(obj2
));
26428 if (SWIG_arg_fail(3)) SWIG_fail
;
26432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26433 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
26435 wxPyEndAllowThreads(__tstate
);
26436 if (PyErr_Occurred()) SWIG_fail
;
26438 Py_INCREF(Py_None
); resultobj
= Py_None
;
26445 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26446 PyObject
*resultobj
;
26447 wxWindow
*arg1
= (wxWindow
*) 0 ;
26450 PyObject
* obj0
= 0 ;
26451 PyObject
* obj1
= 0 ;
26452 PyObject
* obj2
= 0 ;
26453 char *kwnames
[] = {
26454 (char *) "self",(char *) "width",(char *) "height", NULL
26457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26459 if (SWIG_arg_fail(1)) SWIG_fail
;
26461 arg2
= (int)(SWIG_As_int(obj1
));
26462 if (SWIG_arg_fail(2)) SWIG_fail
;
26465 arg3
= (int)(SWIG_As_int(obj2
));
26466 if (SWIG_arg_fail(3)) SWIG_fail
;
26469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26470 (arg1
)->SetSize(arg2
,arg3
);
26472 wxPyEndAllowThreads(__tstate
);
26473 if (PyErr_Occurred()) SWIG_fail
;
26475 Py_INCREF(Py_None
); resultobj
= Py_None
;
26482 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26483 PyObject
*resultobj
;
26484 wxWindow
*arg1
= (wxWindow
*) 0 ;
26485 wxPoint
*arg2
= 0 ;
26486 int arg3
= (int) wxSIZE_USE_EXISTING
;
26488 PyObject
* obj0
= 0 ;
26489 PyObject
* obj1
= 0 ;
26490 PyObject
* obj2
= 0 ;
26491 char *kwnames
[] = {
26492 (char *) "self",(char *) "pt",(char *) "flags", NULL
26495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26497 if (SWIG_arg_fail(1)) SWIG_fail
;
26500 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26504 arg3
= (int)(SWIG_As_int(obj2
));
26505 if (SWIG_arg_fail(3)) SWIG_fail
;
26509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26510 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
26512 wxPyEndAllowThreads(__tstate
);
26513 if (PyErr_Occurred()) SWIG_fail
;
26515 Py_INCREF(Py_None
); resultobj
= Py_None
;
26522 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26523 PyObject
*resultobj
;
26524 wxWindow
*arg1
= (wxWindow
*) 0 ;
26527 int arg4
= (int) wxSIZE_USE_EXISTING
;
26528 PyObject
* obj0
= 0 ;
26529 PyObject
* obj1
= 0 ;
26530 PyObject
* obj2
= 0 ;
26531 PyObject
* obj3
= 0 ;
26532 char *kwnames
[] = {
26533 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
26536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26538 if (SWIG_arg_fail(1)) SWIG_fail
;
26540 arg2
= (int)(SWIG_As_int(obj1
));
26541 if (SWIG_arg_fail(2)) SWIG_fail
;
26544 arg3
= (int)(SWIG_As_int(obj2
));
26545 if (SWIG_arg_fail(3)) SWIG_fail
;
26549 arg4
= (int)(SWIG_As_int(obj3
));
26550 if (SWIG_arg_fail(4)) SWIG_fail
;
26554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26555 (arg1
)->Move(arg2
,arg3
,arg4
);
26557 wxPyEndAllowThreads(__tstate
);
26558 if (PyErr_Occurred()) SWIG_fail
;
26560 Py_INCREF(Py_None
); resultobj
= Py_None
;
26567 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26568 PyObject
*resultobj
;
26569 wxWindow
*arg1
= (wxWindow
*) 0 ;
26570 wxSize
const &arg2_defvalue
= wxDefaultSize
;
26571 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
26573 PyObject
* obj0
= 0 ;
26574 PyObject
* obj1
= 0 ;
26575 char *kwnames
[] = {
26576 (char *) "self",(char *) "size", NULL
26579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26581 if (SWIG_arg_fail(1)) SWIG_fail
;
26585 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26590 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
26592 wxPyEndAllowThreads(__tstate
);
26593 if (PyErr_Occurred()) SWIG_fail
;
26595 Py_INCREF(Py_None
); resultobj
= Py_None
;
26602 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26603 PyObject
*resultobj
;
26604 wxWindow
*arg1
= (wxWindow
*) 0 ;
26605 PyObject
* obj0
= 0 ;
26606 char *kwnames
[] = {
26607 (char *) "self", NULL
26610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
26611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26612 if (SWIG_arg_fail(1)) SWIG_fail
;
26614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26617 wxPyEndAllowThreads(__tstate
);
26618 if (PyErr_Occurred()) SWIG_fail
;
26620 Py_INCREF(Py_None
); resultobj
= Py_None
;
26627 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26628 PyObject
*resultobj
;
26629 wxWindow
*arg1
= (wxWindow
*) 0 ;
26630 PyObject
* obj0
= 0 ;
26631 char *kwnames
[] = {
26632 (char *) "self", NULL
26635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
26636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26637 if (SWIG_arg_fail(1)) SWIG_fail
;
26639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26642 wxPyEndAllowThreads(__tstate
);
26643 if (PyErr_Occurred()) SWIG_fail
;
26645 Py_INCREF(Py_None
); resultobj
= Py_None
;
26652 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26653 PyObject
*resultobj
;
26654 wxWindow
*arg1
= (wxWindow
*) 0 ;
26657 PyObject
* obj0
= 0 ;
26658 PyObject
* obj1
= 0 ;
26659 char *kwnames
[] = {
26660 (char *) "self",(char *) "size", NULL
26663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26665 if (SWIG_arg_fail(1)) SWIG_fail
;
26668 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26672 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
26674 wxPyEndAllowThreads(__tstate
);
26675 if (PyErr_Occurred()) SWIG_fail
;
26677 Py_INCREF(Py_None
); resultobj
= Py_None
;
26684 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26685 PyObject
*resultobj
;
26686 wxWindow
*arg1
= (wxWindow
*) 0 ;
26689 PyObject
* obj0
= 0 ;
26690 PyObject
* obj1
= 0 ;
26691 PyObject
* obj2
= 0 ;
26692 char *kwnames
[] = {
26693 (char *) "self",(char *) "width",(char *) "height", NULL
26696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26698 if (SWIG_arg_fail(1)) SWIG_fail
;
26700 arg2
= (int)(SWIG_As_int(obj1
));
26701 if (SWIG_arg_fail(2)) SWIG_fail
;
26704 arg3
= (int)(SWIG_As_int(obj2
));
26705 if (SWIG_arg_fail(3)) SWIG_fail
;
26708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26709 (arg1
)->SetClientSize(arg2
,arg3
);
26711 wxPyEndAllowThreads(__tstate
);
26712 if (PyErr_Occurred()) SWIG_fail
;
26714 Py_INCREF(Py_None
); resultobj
= Py_None
;
26721 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26722 PyObject
*resultobj
;
26723 wxWindow
*arg1
= (wxWindow
*) 0 ;
26726 PyObject
* obj0
= 0 ;
26727 PyObject
* obj1
= 0 ;
26728 char *kwnames
[] = {
26729 (char *) "self",(char *) "rect", NULL
26732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26734 if (SWIG_arg_fail(1)) SWIG_fail
;
26737 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26741 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
26743 wxPyEndAllowThreads(__tstate
);
26744 if (PyErr_Occurred()) SWIG_fail
;
26746 Py_INCREF(Py_None
); resultobj
= Py_None
;
26753 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26754 PyObject
*resultobj
;
26755 wxWindow
*arg1
= (wxWindow
*) 0 ;
26757 PyObject
* obj0
= 0 ;
26758 char *kwnames
[] = {
26759 (char *) "self", NULL
26762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
26763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26764 if (SWIG_arg_fail(1)) SWIG_fail
;
26766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26767 result
= (arg1
)->GetPosition();
26769 wxPyEndAllowThreads(__tstate
);
26770 if (PyErr_Occurred()) SWIG_fail
;
26773 wxPoint
* resultptr
;
26774 resultptr
= new wxPoint((wxPoint
&)(result
));
26775 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26783 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26784 PyObject
*resultobj
;
26785 wxWindow
*arg1
= (wxWindow
*) 0 ;
26786 int *arg2
= (int *) 0 ;
26787 int *arg3
= (int *) 0 ;
26792 PyObject
* obj0
= 0 ;
26793 char *kwnames
[] = {
26794 (char *) "self", NULL
26797 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26798 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
26800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26801 if (SWIG_arg_fail(1)) SWIG_fail
;
26803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26804 (arg1
)->GetPosition(arg2
,arg3
);
26806 wxPyEndAllowThreads(__tstate
);
26807 if (PyErr_Occurred()) SWIG_fail
;
26809 Py_INCREF(Py_None
); resultobj
= Py_None
;
26810 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26811 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26812 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26813 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26820 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26821 PyObject
*resultobj
;
26822 wxWindow
*arg1
= (wxWindow
*) 0 ;
26824 PyObject
* obj0
= 0 ;
26825 char *kwnames
[] = {
26826 (char *) "self", NULL
26829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
26830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26831 if (SWIG_arg_fail(1)) SWIG_fail
;
26833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26834 result
= ((wxWindow
const *)arg1
)->GetSize();
26836 wxPyEndAllowThreads(__tstate
);
26837 if (PyErr_Occurred()) SWIG_fail
;
26840 wxSize
* resultptr
;
26841 resultptr
= new wxSize((wxSize
&)(result
));
26842 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26850 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26851 PyObject
*resultobj
;
26852 wxWindow
*arg1
= (wxWindow
*) 0 ;
26853 int *arg2
= (int *) 0 ;
26854 int *arg3
= (int *) 0 ;
26859 PyObject
* obj0
= 0 ;
26860 char *kwnames
[] = {
26861 (char *) "self", NULL
26864 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26865 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
26867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26868 if (SWIG_arg_fail(1)) SWIG_fail
;
26870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26871 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
26873 wxPyEndAllowThreads(__tstate
);
26874 if (PyErr_Occurred()) SWIG_fail
;
26876 Py_INCREF(Py_None
); resultobj
= Py_None
;
26877 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26878 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26879 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26880 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26887 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26888 PyObject
*resultobj
;
26889 wxWindow
*arg1
= (wxWindow
*) 0 ;
26891 PyObject
* obj0
= 0 ;
26892 char *kwnames
[] = {
26893 (char *) "self", NULL
26896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
26897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26898 if (SWIG_arg_fail(1)) SWIG_fail
;
26900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26901 result
= ((wxWindow
const *)arg1
)->GetRect();
26903 wxPyEndAllowThreads(__tstate
);
26904 if (PyErr_Occurred()) SWIG_fail
;
26907 wxRect
* resultptr
;
26908 resultptr
= new wxRect((wxRect
&)(result
));
26909 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26917 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26918 PyObject
*resultobj
;
26919 wxWindow
*arg1
= (wxWindow
*) 0 ;
26921 PyObject
* obj0
= 0 ;
26922 char *kwnames
[] = {
26923 (char *) "self", NULL
26926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
26927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26928 if (SWIG_arg_fail(1)) SWIG_fail
;
26930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26931 result
= ((wxWindow
const *)arg1
)->GetClientSize();
26933 wxPyEndAllowThreads(__tstate
);
26934 if (PyErr_Occurred()) SWIG_fail
;
26937 wxSize
* resultptr
;
26938 resultptr
= new wxSize((wxSize
&)(result
));
26939 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26947 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26948 PyObject
*resultobj
;
26949 wxWindow
*arg1
= (wxWindow
*) 0 ;
26950 int *arg2
= (int *) 0 ;
26951 int *arg3
= (int *) 0 ;
26956 PyObject
* obj0
= 0 ;
26957 char *kwnames
[] = {
26958 (char *) "self", NULL
26961 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26962 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
26964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26965 if (SWIG_arg_fail(1)) SWIG_fail
;
26967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26968 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
26970 wxPyEndAllowThreads(__tstate
);
26971 if (PyErr_Occurred()) SWIG_fail
;
26973 Py_INCREF(Py_None
); resultobj
= Py_None
;
26974 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26975 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26976 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26977 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26984 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26985 PyObject
*resultobj
;
26986 wxWindow
*arg1
= (wxWindow
*) 0 ;
26988 PyObject
* obj0
= 0 ;
26989 char *kwnames
[] = {
26990 (char *) "self", NULL
26993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
26994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26995 if (SWIG_arg_fail(1)) SWIG_fail
;
26997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26998 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
27000 wxPyEndAllowThreads(__tstate
);
27001 if (PyErr_Occurred()) SWIG_fail
;
27004 wxPoint
* resultptr
;
27005 resultptr
= new wxPoint((wxPoint
&)(result
));
27006 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27014 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27015 PyObject
*resultobj
;
27016 wxWindow
*arg1
= (wxWindow
*) 0 ;
27018 PyObject
* obj0
= 0 ;
27019 char *kwnames
[] = {
27020 (char *) "self", NULL
27023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
27024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27025 if (SWIG_arg_fail(1)) SWIG_fail
;
27027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27028 result
= ((wxWindow
const *)arg1
)->GetClientRect();
27030 wxPyEndAllowThreads(__tstate
);
27031 if (PyErr_Occurred()) SWIG_fail
;
27034 wxRect
* resultptr
;
27035 resultptr
= new wxRect((wxRect
&)(result
));
27036 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
27044 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27045 PyObject
*resultobj
;
27046 wxWindow
*arg1
= (wxWindow
*) 0 ;
27048 PyObject
* obj0
= 0 ;
27049 char *kwnames
[] = {
27050 (char *) "self", NULL
27053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
27054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27055 if (SWIG_arg_fail(1)) SWIG_fail
;
27057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27058 result
= ((wxWindow
const *)arg1
)->GetBestSize();
27060 wxPyEndAllowThreads(__tstate
);
27061 if (PyErr_Occurred()) SWIG_fail
;
27064 wxSize
* resultptr
;
27065 resultptr
= new wxSize((wxSize
&)(result
));
27066 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27074 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27075 PyObject
*resultobj
;
27076 wxWindow
*arg1
= (wxWindow
*) 0 ;
27077 int *arg2
= (int *) 0 ;
27078 int *arg3
= (int *) 0 ;
27083 PyObject
* obj0
= 0 ;
27084 char *kwnames
[] = {
27085 (char *) "self", NULL
27088 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
27089 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
27091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27092 if (SWIG_arg_fail(1)) SWIG_fail
;
27094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27095 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
27097 wxPyEndAllowThreads(__tstate
);
27098 if (PyErr_Occurred()) SWIG_fail
;
27100 Py_INCREF(Py_None
); resultobj
= Py_None
;
27101 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27102 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27103 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27104 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27111 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27112 PyObject
*resultobj
;
27113 wxWindow
*arg1
= (wxWindow
*) 0 ;
27114 PyObject
* obj0
= 0 ;
27115 char *kwnames
[] = {
27116 (char *) "self", NULL
27119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
27120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27121 if (SWIG_arg_fail(1)) SWIG_fail
;
27123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27124 (arg1
)->InvalidateBestSize();
27126 wxPyEndAllowThreads(__tstate
);
27127 if (PyErr_Occurred()) SWIG_fail
;
27129 Py_INCREF(Py_None
); resultobj
= Py_None
;
27136 static PyObject
*_wrap_Window_CacheBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27137 PyObject
*resultobj
;
27138 wxWindow
*arg1
= (wxWindow
*) 0 ;
27141 PyObject
* obj0
= 0 ;
27142 PyObject
* obj1
= 0 ;
27143 char *kwnames
[] = {
27144 (char *) "self",(char *) "size", NULL
27147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_CacheBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27149 if (SWIG_arg_fail(1)) SWIG_fail
;
27152 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27156 ((wxWindow
const *)arg1
)->CacheBestSize((wxSize
const &)*arg2
);
27158 wxPyEndAllowThreads(__tstate
);
27159 if (PyErr_Occurred()) SWIG_fail
;
27161 Py_INCREF(Py_None
); resultobj
= Py_None
;
27168 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27169 PyObject
*resultobj
;
27170 wxWindow
*arg1
= (wxWindow
*) 0 ;
27172 PyObject
* obj0
= 0 ;
27173 char *kwnames
[] = {
27174 (char *) "self", NULL
27177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
27178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27179 if (SWIG_arg_fail(1)) SWIG_fail
;
27181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27182 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
27184 wxPyEndAllowThreads(__tstate
);
27185 if (PyErr_Occurred()) SWIG_fail
;
27188 wxSize
* resultptr
;
27189 resultptr
= new wxSize((wxSize
&)(result
));
27190 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27198 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27199 PyObject
*resultobj
;
27200 wxWindow
*arg1
= (wxWindow
*) 0 ;
27202 PyObject
* obj0
= 0 ;
27203 char *kwnames
[] = {
27204 (char *) "self", NULL
27207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
27208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27209 if (SWIG_arg_fail(1)) SWIG_fail
;
27211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27212 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
27214 wxPyEndAllowThreads(__tstate
);
27215 if (PyErr_Occurred()) SWIG_fail
;
27218 wxSize
* resultptr
;
27219 resultptr
= new wxSize((wxSize
&)(result
));
27220 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27228 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27229 PyObject
*resultobj
;
27230 wxWindow
*arg1
= (wxWindow
*) 0 ;
27231 int arg2
= (int) wxBOTH
;
27232 PyObject
* obj0
= 0 ;
27233 PyObject
* obj1
= 0 ;
27234 char *kwnames
[] = {
27235 (char *) "self",(char *) "direction", NULL
27238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
27239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27240 if (SWIG_arg_fail(1)) SWIG_fail
;
27243 arg2
= (int)(SWIG_As_int(obj1
));
27244 if (SWIG_arg_fail(2)) SWIG_fail
;
27248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27249 (arg1
)->Center(arg2
);
27251 wxPyEndAllowThreads(__tstate
);
27252 if (PyErr_Occurred()) SWIG_fail
;
27254 Py_INCREF(Py_None
); resultobj
= Py_None
;
27261 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27262 PyObject
*resultobj
;
27263 wxWindow
*arg1
= (wxWindow
*) 0 ;
27264 int arg2
= (int) wxBOTH
;
27265 PyObject
* obj0
= 0 ;
27266 PyObject
* obj1
= 0 ;
27267 char *kwnames
[] = {
27268 (char *) "self",(char *) "dir", NULL
27271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
27272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27273 if (SWIG_arg_fail(1)) SWIG_fail
;
27276 arg2
= (int)(SWIG_As_int(obj1
));
27277 if (SWIG_arg_fail(2)) SWIG_fail
;
27281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27282 (arg1
)->CenterOnScreen(arg2
);
27284 wxPyEndAllowThreads(__tstate
);
27285 if (PyErr_Occurred()) SWIG_fail
;
27287 Py_INCREF(Py_None
); resultobj
= Py_None
;
27294 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27295 PyObject
*resultobj
;
27296 wxWindow
*arg1
= (wxWindow
*) 0 ;
27297 int arg2
= (int) wxBOTH
;
27298 PyObject
* obj0
= 0 ;
27299 PyObject
* obj1
= 0 ;
27300 char *kwnames
[] = {
27301 (char *) "self",(char *) "dir", NULL
27304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
27305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27306 if (SWIG_arg_fail(1)) SWIG_fail
;
27309 arg2
= (int)(SWIG_As_int(obj1
));
27310 if (SWIG_arg_fail(2)) SWIG_fail
;
27314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27315 (arg1
)->CenterOnParent(arg2
);
27317 wxPyEndAllowThreads(__tstate
);
27318 if (PyErr_Occurred()) SWIG_fail
;
27320 Py_INCREF(Py_None
); resultobj
= Py_None
;
27327 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27328 PyObject
*resultobj
;
27329 wxWindow
*arg1
= (wxWindow
*) 0 ;
27330 PyObject
* obj0
= 0 ;
27331 char *kwnames
[] = {
27332 (char *) "self", NULL
27335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
27336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27337 if (SWIG_arg_fail(1)) SWIG_fail
;
27339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27342 wxPyEndAllowThreads(__tstate
);
27343 if (PyErr_Occurred()) SWIG_fail
;
27345 Py_INCREF(Py_None
); resultobj
= Py_None
;
27352 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27353 PyObject
*resultobj
;
27354 wxWindow
*arg1
= (wxWindow
*) 0 ;
27355 PyObject
* obj0
= 0 ;
27356 char *kwnames
[] = {
27357 (char *) "self", NULL
27360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
27361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27362 if (SWIG_arg_fail(1)) SWIG_fail
;
27364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27365 (arg1
)->FitInside();
27367 wxPyEndAllowThreads(__tstate
);
27368 if (PyErr_Occurred()) SWIG_fail
;
27370 Py_INCREF(Py_None
); resultobj
= Py_None
;
27377 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27378 PyObject
*resultobj
;
27379 wxWindow
*arg1
= (wxWindow
*) 0 ;
27382 int arg4
= (int) -1 ;
27383 int arg5
= (int) -1 ;
27384 int arg6
= (int) -1 ;
27385 int arg7
= (int) -1 ;
27386 PyObject
* obj0
= 0 ;
27387 PyObject
* obj1
= 0 ;
27388 PyObject
* obj2
= 0 ;
27389 PyObject
* obj3
= 0 ;
27390 PyObject
* obj4
= 0 ;
27391 PyObject
* obj5
= 0 ;
27392 PyObject
* obj6
= 0 ;
27393 char *kwnames
[] = {
27394 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
27397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27399 if (SWIG_arg_fail(1)) SWIG_fail
;
27401 arg2
= (int)(SWIG_As_int(obj1
));
27402 if (SWIG_arg_fail(2)) SWIG_fail
;
27405 arg3
= (int)(SWIG_As_int(obj2
));
27406 if (SWIG_arg_fail(3)) SWIG_fail
;
27410 arg4
= (int)(SWIG_As_int(obj3
));
27411 if (SWIG_arg_fail(4)) SWIG_fail
;
27416 arg5
= (int)(SWIG_As_int(obj4
));
27417 if (SWIG_arg_fail(5)) SWIG_fail
;
27422 arg6
= (int)(SWIG_As_int(obj5
));
27423 if (SWIG_arg_fail(6)) SWIG_fail
;
27428 arg7
= (int)(SWIG_As_int(obj6
));
27429 if (SWIG_arg_fail(7)) SWIG_fail
;
27433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27434 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27436 wxPyEndAllowThreads(__tstate
);
27437 if (PyErr_Occurred()) SWIG_fail
;
27439 Py_INCREF(Py_None
); resultobj
= Py_None
;
27446 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27447 PyObject
*resultobj
;
27448 wxWindow
*arg1
= (wxWindow
*) 0 ;
27450 wxSize
const &arg3_defvalue
= wxDefaultSize
;
27451 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
27452 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27453 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27457 PyObject
* obj0
= 0 ;
27458 PyObject
* obj1
= 0 ;
27459 PyObject
* obj2
= 0 ;
27460 PyObject
* obj3
= 0 ;
27461 char *kwnames
[] = {
27462 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
27465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27467 if (SWIG_arg_fail(1)) SWIG_fail
;
27470 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27475 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
27481 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27486 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
27488 wxPyEndAllowThreads(__tstate
);
27489 if (PyErr_Occurred()) SWIG_fail
;
27491 Py_INCREF(Py_None
); resultobj
= Py_None
;
27498 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27499 PyObject
*resultobj
;
27500 wxWindow
*arg1
= (wxWindow
*) 0 ;
27503 int arg4
= (int) -1 ;
27504 int arg5
= (int) -1 ;
27505 PyObject
* obj0
= 0 ;
27506 PyObject
* obj1
= 0 ;
27507 PyObject
* obj2
= 0 ;
27508 PyObject
* obj3
= 0 ;
27509 PyObject
* obj4
= 0 ;
27510 char *kwnames
[] = {
27511 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
27514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27516 if (SWIG_arg_fail(1)) SWIG_fail
;
27518 arg2
= (int)(SWIG_As_int(obj1
));
27519 if (SWIG_arg_fail(2)) SWIG_fail
;
27522 arg3
= (int)(SWIG_As_int(obj2
));
27523 if (SWIG_arg_fail(3)) SWIG_fail
;
27527 arg4
= (int)(SWIG_As_int(obj3
));
27528 if (SWIG_arg_fail(4)) SWIG_fail
;
27533 arg5
= (int)(SWIG_As_int(obj4
));
27534 if (SWIG_arg_fail(5)) SWIG_fail
;
27538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27539 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
27541 wxPyEndAllowThreads(__tstate
);
27542 if (PyErr_Occurred()) SWIG_fail
;
27544 Py_INCREF(Py_None
); resultobj
= Py_None
;
27551 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27552 PyObject
*resultobj
;
27553 wxWindow
*arg1
= (wxWindow
*) 0 ;
27555 wxSize
const &arg3_defvalue
= wxDefaultSize
;
27556 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
27559 PyObject
* obj0
= 0 ;
27560 PyObject
* obj1
= 0 ;
27561 PyObject
* obj2
= 0 ;
27562 char *kwnames
[] = {
27563 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
27566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27568 if (SWIG_arg_fail(1)) SWIG_fail
;
27571 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27576 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
27580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27581 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
27583 wxPyEndAllowThreads(__tstate
);
27584 if (PyErr_Occurred()) SWIG_fail
;
27586 Py_INCREF(Py_None
); resultobj
= Py_None
;
27593 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27594 PyObject
*resultobj
;
27595 wxWindow
*arg1
= (wxWindow
*) 0 ;
27597 PyObject
* obj0
= 0 ;
27598 char *kwnames
[] = {
27599 (char *) "self", NULL
27602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
27603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27604 if (SWIG_arg_fail(1)) SWIG_fail
;
27606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27607 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
27609 wxPyEndAllowThreads(__tstate
);
27610 if (PyErr_Occurred()) SWIG_fail
;
27613 wxSize
* resultptr
;
27614 resultptr
= new wxSize((wxSize
&)(result
));
27615 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27623 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27624 PyObject
*resultobj
;
27625 wxWindow
*arg1
= (wxWindow
*) 0 ;
27627 PyObject
* obj0
= 0 ;
27628 char *kwnames
[] = {
27629 (char *) "self", NULL
27632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
27633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27634 if (SWIG_arg_fail(1)) SWIG_fail
;
27636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27637 result
= ((wxWindow
const *)arg1
)->GetMinSize();
27639 wxPyEndAllowThreads(__tstate
);
27640 if (PyErr_Occurred()) SWIG_fail
;
27643 wxSize
* resultptr
;
27644 resultptr
= new wxSize((wxSize
&)(result
));
27645 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27653 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27654 PyObject
*resultobj
;
27655 wxWindow
*arg1
= (wxWindow
*) 0 ;
27658 PyObject
* obj0
= 0 ;
27659 PyObject
* obj1
= 0 ;
27660 char *kwnames
[] = {
27661 (char *) "self",(char *) "minSize", NULL
27664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27666 if (SWIG_arg_fail(1)) SWIG_fail
;
27669 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27673 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
27675 wxPyEndAllowThreads(__tstate
);
27676 if (PyErr_Occurred()) SWIG_fail
;
27678 Py_INCREF(Py_None
); resultobj
= Py_None
;
27685 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27686 PyObject
*resultobj
;
27687 wxWindow
*arg1
= (wxWindow
*) 0 ;
27690 PyObject
* obj0
= 0 ;
27691 PyObject
* obj1
= 0 ;
27692 char *kwnames
[] = {
27693 (char *) "self",(char *) "maxSize", NULL
27696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27698 if (SWIG_arg_fail(1)) SWIG_fail
;
27701 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27705 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
27707 wxPyEndAllowThreads(__tstate
);
27708 if (PyErr_Occurred()) SWIG_fail
;
27710 Py_INCREF(Py_None
); resultobj
= Py_None
;
27717 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27718 PyObject
*resultobj
;
27719 wxWindow
*arg1
= (wxWindow
*) 0 ;
27721 PyObject
* obj0
= 0 ;
27722 char *kwnames
[] = {
27723 (char *) "self", NULL
27726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
27727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27728 if (SWIG_arg_fail(1)) SWIG_fail
;
27730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27731 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
27733 wxPyEndAllowThreads(__tstate
);
27734 if (PyErr_Occurred()) SWIG_fail
;
27737 resultobj
= SWIG_From_int((int)(result
));
27745 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27746 PyObject
*resultobj
;
27747 wxWindow
*arg1
= (wxWindow
*) 0 ;
27749 PyObject
* obj0
= 0 ;
27750 char *kwnames
[] = {
27751 (char *) "self", NULL
27754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
27755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27756 if (SWIG_arg_fail(1)) SWIG_fail
;
27758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27759 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
27761 wxPyEndAllowThreads(__tstate
);
27762 if (PyErr_Occurred()) SWIG_fail
;
27765 resultobj
= SWIG_From_int((int)(result
));
27773 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27774 PyObject
*resultobj
;
27775 wxWindow
*arg1
= (wxWindow
*) 0 ;
27777 PyObject
* obj0
= 0 ;
27778 char *kwnames
[] = {
27779 (char *) "self", NULL
27782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
27783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27784 if (SWIG_arg_fail(1)) SWIG_fail
;
27786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27787 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
27789 wxPyEndAllowThreads(__tstate
);
27790 if (PyErr_Occurred()) SWIG_fail
;
27793 resultobj
= SWIG_From_int((int)(result
));
27801 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27802 PyObject
*resultobj
;
27803 wxWindow
*arg1
= (wxWindow
*) 0 ;
27805 PyObject
* obj0
= 0 ;
27806 char *kwnames
[] = {
27807 (char *) "self", NULL
27810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
27811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27812 if (SWIG_arg_fail(1)) SWIG_fail
;
27814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27815 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
27817 wxPyEndAllowThreads(__tstate
);
27818 if (PyErr_Occurred()) SWIG_fail
;
27821 resultobj
= SWIG_From_int((int)(result
));
27829 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27830 PyObject
*resultobj
;
27831 wxWindow
*arg1
= (wxWindow
*) 0 ;
27834 PyObject
* obj0
= 0 ;
27835 PyObject
* obj1
= 0 ;
27836 char *kwnames
[] = {
27837 (char *) "self",(char *) "size", NULL
27840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27842 if (SWIG_arg_fail(1)) SWIG_fail
;
27845 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27849 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
27851 wxPyEndAllowThreads(__tstate
);
27852 if (PyErr_Occurred()) SWIG_fail
;
27854 Py_INCREF(Py_None
); resultobj
= Py_None
;
27861 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27862 PyObject
*resultobj
;
27863 wxWindow
*arg1
= (wxWindow
*) 0 ;
27866 PyObject
* obj0
= 0 ;
27867 PyObject
* obj1
= 0 ;
27868 PyObject
* obj2
= 0 ;
27869 char *kwnames
[] = {
27870 (char *) "self",(char *) "w",(char *) "h", NULL
27873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27875 if (SWIG_arg_fail(1)) SWIG_fail
;
27877 arg2
= (int)(SWIG_As_int(obj1
));
27878 if (SWIG_arg_fail(2)) SWIG_fail
;
27881 arg3
= (int)(SWIG_As_int(obj2
));
27882 if (SWIG_arg_fail(3)) SWIG_fail
;
27885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27886 (arg1
)->SetVirtualSize(arg2
,arg3
);
27888 wxPyEndAllowThreads(__tstate
);
27889 if (PyErr_Occurred()) SWIG_fail
;
27891 Py_INCREF(Py_None
); resultobj
= Py_None
;
27898 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27899 PyObject
*resultobj
;
27900 wxWindow
*arg1
= (wxWindow
*) 0 ;
27902 PyObject
* obj0
= 0 ;
27903 char *kwnames
[] = {
27904 (char *) "self", NULL
27907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
27908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27909 if (SWIG_arg_fail(1)) SWIG_fail
;
27911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27912 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
27914 wxPyEndAllowThreads(__tstate
);
27915 if (PyErr_Occurred()) SWIG_fail
;
27918 wxSize
* resultptr
;
27919 resultptr
= new wxSize((wxSize
&)(result
));
27920 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27928 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27929 PyObject
*resultobj
;
27930 wxWindow
*arg1
= (wxWindow
*) 0 ;
27931 int *arg2
= (int *) 0 ;
27932 int *arg3
= (int *) 0 ;
27937 PyObject
* obj0
= 0 ;
27938 char *kwnames
[] = {
27939 (char *) "self", NULL
27942 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
27943 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
27945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27946 if (SWIG_arg_fail(1)) SWIG_fail
;
27948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27949 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
27951 wxPyEndAllowThreads(__tstate
);
27952 if (PyErr_Occurred()) SWIG_fail
;
27954 Py_INCREF(Py_None
); resultobj
= Py_None
;
27955 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27956 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27957 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27958 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27965 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27966 PyObject
*resultobj
;
27967 wxWindow
*arg1
= (wxWindow
*) 0 ;
27969 PyObject
* obj0
= 0 ;
27970 char *kwnames
[] = {
27971 (char *) "self", NULL
27974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
27975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27976 if (SWIG_arg_fail(1)) SWIG_fail
;
27978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27979 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
27981 wxPyEndAllowThreads(__tstate
);
27982 if (PyErr_Occurred()) SWIG_fail
;
27985 wxSize
* resultptr
;
27986 resultptr
= new wxSize((wxSize
&)(result
));
27987 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27995 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27996 PyObject
*resultobj
;
27997 wxWindow
*arg1
= (wxWindow
*) 0 ;
27998 bool arg2
= (bool) true ;
28000 PyObject
* obj0
= 0 ;
28001 PyObject
* obj1
= 0 ;
28002 char *kwnames
[] = {
28003 (char *) "self",(char *) "show", NULL
28006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
28007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28008 if (SWIG_arg_fail(1)) SWIG_fail
;
28011 arg2
= (bool)(SWIG_As_bool(obj1
));
28012 if (SWIG_arg_fail(2)) SWIG_fail
;
28016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28017 result
= (bool)(arg1
)->Show(arg2
);
28019 wxPyEndAllowThreads(__tstate
);
28020 if (PyErr_Occurred()) SWIG_fail
;
28023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28031 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28032 PyObject
*resultobj
;
28033 wxWindow
*arg1
= (wxWindow
*) 0 ;
28035 PyObject
* obj0
= 0 ;
28036 char *kwnames
[] = {
28037 (char *) "self", NULL
28040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
28041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28042 if (SWIG_arg_fail(1)) SWIG_fail
;
28044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28045 result
= (bool)(arg1
)->Hide();
28047 wxPyEndAllowThreads(__tstate
);
28048 if (PyErr_Occurred()) SWIG_fail
;
28051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28059 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28060 PyObject
*resultobj
;
28061 wxWindow
*arg1
= (wxWindow
*) 0 ;
28062 bool arg2
= (bool) true ;
28064 PyObject
* obj0
= 0 ;
28065 PyObject
* obj1
= 0 ;
28066 char *kwnames
[] = {
28067 (char *) "self",(char *) "enable", NULL
28070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
28071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28072 if (SWIG_arg_fail(1)) SWIG_fail
;
28075 arg2
= (bool)(SWIG_As_bool(obj1
));
28076 if (SWIG_arg_fail(2)) SWIG_fail
;
28080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28081 result
= (bool)(arg1
)->Enable(arg2
);
28083 wxPyEndAllowThreads(__tstate
);
28084 if (PyErr_Occurred()) SWIG_fail
;
28087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28095 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28096 PyObject
*resultobj
;
28097 wxWindow
*arg1
= (wxWindow
*) 0 ;
28099 PyObject
* obj0
= 0 ;
28100 char *kwnames
[] = {
28101 (char *) "self", NULL
28104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
28105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28106 if (SWIG_arg_fail(1)) SWIG_fail
;
28108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28109 result
= (bool)(arg1
)->Disable();
28111 wxPyEndAllowThreads(__tstate
);
28112 if (PyErr_Occurred()) SWIG_fail
;
28115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28123 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28124 PyObject
*resultobj
;
28125 wxWindow
*arg1
= (wxWindow
*) 0 ;
28127 PyObject
* obj0
= 0 ;
28128 char *kwnames
[] = {
28129 (char *) "self", NULL
28132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
28133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28134 if (SWIG_arg_fail(1)) SWIG_fail
;
28136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28137 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
28139 wxPyEndAllowThreads(__tstate
);
28140 if (PyErr_Occurred()) SWIG_fail
;
28143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28151 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28152 PyObject
*resultobj
;
28153 wxWindow
*arg1
= (wxWindow
*) 0 ;
28155 PyObject
* obj0
= 0 ;
28156 char *kwnames
[] = {
28157 (char *) "self", NULL
28160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
28161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28162 if (SWIG_arg_fail(1)) SWIG_fail
;
28164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28165 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
28167 wxPyEndAllowThreads(__tstate
);
28168 if (PyErr_Occurred()) SWIG_fail
;
28171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28179 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28180 PyObject
*resultobj
;
28181 wxWindow
*arg1
= (wxWindow
*) 0 ;
28183 PyObject
* obj0
= 0 ;
28184 PyObject
* obj1
= 0 ;
28185 char *kwnames
[] = {
28186 (char *) "self",(char *) "style", NULL
28189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
28190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28191 if (SWIG_arg_fail(1)) SWIG_fail
;
28193 arg2
= (long)(SWIG_As_long(obj1
));
28194 if (SWIG_arg_fail(2)) SWIG_fail
;
28197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28198 (arg1
)->SetWindowStyleFlag(arg2
);
28200 wxPyEndAllowThreads(__tstate
);
28201 if (PyErr_Occurred()) SWIG_fail
;
28203 Py_INCREF(Py_None
); resultobj
= Py_None
;
28210 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28211 PyObject
*resultobj
;
28212 wxWindow
*arg1
= (wxWindow
*) 0 ;
28214 PyObject
* obj0
= 0 ;
28215 char *kwnames
[] = {
28216 (char *) "self", NULL
28219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
28220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28221 if (SWIG_arg_fail(1)) SWIG_fail
;
28223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28224 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
28226 wxPyEndAllowThreads(__tstate
);
28227 if (PyErr_Occurred()) SWIG_fail
;
28230 resultobj
= SWIG_From_long((long)(result
));
28238 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28239 PyObject
*resultobj
;
28240 wxWindow
*arg1
= (wxWindow
*) 0 ;
28243 PyObject
* obj0
= 0 ;
28244 PyObject
* obj1
= 0 ;
28245 char *kwnames
[] = {
28246 (char *) "self",(char *) "flag", NULL
28249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
28250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28251 if (SWIG_arg_fail(1)) SWIG_fail
;
28253 arg2
= (int)(SWIG_As_int(obj1
));
28254 if (SWIG_arg_fail(2)) SWIG_fail
;
28257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28258 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
28260 wxPyEndAllowThreads(__tstate
);
28261 if (PyErr_Occurred()) SWIG_fail
;
28264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28272 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28273 PyObject
*resultobj
;
28274 wxWindow
*arg1
= (wxWindow
*) 0 ;
28276 PyObject
* obj0
= 0 ;
28277 char *kwnames
[] = {
28278 (char *) "self", NULL
28281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
28282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28283 if (SWIG_arg_fail(1)) SWIG_fail
;
28285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28286 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
28288 wxPyEndAllowThreads(__tstate
);
28289 if (PyErr_Occurred()) SWIG_fail
;
28292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28300 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28301 PyObject
*resultobj
;
28302 wxWindow
*arg1
= (wxWindow
*) 0 ;
28304 PyObject
* obj0
= 0 ;
28305 PyObject
* obj1
= 0 ;
28306 char *kwnames
[] = {
28307 (char *) "self",(char *) "exStyle", NULL
28310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
28311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28312 if (SWIG_arg_fail(1)) SWIG_fail
;
28314 arg2
= (long)(SWIG_As_long(obj1
));
28315 if (SWIG_arg_fail(2)) SWIG_fail
;
28318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28319 (arg1
)->SetExtraStyle(arg2
);
28321 wxPyEndAllowThreads(__tstate
);
28322 if (PyErr_Occurred()) SWIG_fail
;
28324 Py_INCREF(Py_None
); resultobj
= Py_None
;
28331 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28332 PyObject
*resultobj
;
28333 wxWindow
*arg1
= (wxWindow
*) 0 ;
28335 PyObject
* obj0
= 0 ;
28336 char *kwnames
[] = {
28337 (char *) "self", NULL
28340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
28341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28342 if (SWIG_arg_fail(1)) SWIG_fail
;
28344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28345 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
28347 wxPyEndAllowThreads(__tstate
);
28348 if (PyErr_Occurred()) SWIG_fail
;
28351 resultobj
= SWIG_From_long((long)(result
));
28359 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28360 PyObject
*resultobj
;
28361 wxWindow
*arg1
= (wxWindow
*) 0 ;
28362 bool arg2
= (bool) true ;
28363 PyObject
* obj0
= 0 ;
28364 PyObject
* obj1
= 0 ;
28365 char *kwnames
[] = {
28366 (char *) "self",(char *) "modal", NULL
28369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
28370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28371 if (SWIG_arg_fail(1)) SWIG_fail
;
28374 arg2
= (bool)(SWIG_As_bool(obj1
));
28375 if (SWIG_arg_fail(2)) SWIG_fail
;
28379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28380 (arg1
)->MakeModal(arg2
);
28382 wxPyEndAllowThreads(__tstate
);
28383 if (PyErr_Occurred()) SWIG_fail
;
28385 Py_INCREF(Py_None
); resultobj
= Py_None
;
28392 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28393 PyObject
*resultobj
;
28394 wxWindow
*arg1
= (wxWindow
*) 0 ;
28396 PyObject
* obj0
= 0 ;
28397 PyObject
* obj1
= 0 ;
28398 char *kwnames
[] = {
28399 (char *) "self",(char *) "enableTheme", NULL
28402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
28403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28404 if (SWIG_arg_fail(1)) SWIG_fail
;
28406 arg2
= (bool)(SWIG_As_bool(obj1
));
28407 if (SWIG_arg_fail(2)) SWIG_fail
;
28410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28411 (arg1
)->SetThemeEnabled(arg2
);
28413 wxPyEndAllowThreads(__tstate
);
28414 if (PyErr_Occurred()) SWIG_fail
;
28416 Py_INCREF(Py_None
); resultobj
= Py_None
;
28423 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28424 PyObject
*resultobj
;
28425 wxWindow
*arg1
= (wxWindow
*) 0 ;
28427 PyObject
* obj0
= 0 ;
28428 char *kwnames
[] = {
28429 (char *) "self", NULL
28432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
28433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28434 if (SWIG_arg_fail(1)) SWIG_fail
;
28436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28437 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
28439 wxPyEndAllowThreads(__tstate
);
28440 if (PyErr_Occurred()) SWIG_fail
;
28443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28451 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28452 PyObject
*resultobj
;
28453 wxWindow
*arg1
= (wxWindow
*) 0 ;
28454 PyObject
* obj0
= 0 ;
28455 char *kwnames
[] = {
28456 (char *) "self", NULL
28459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
28460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28461 if (SWIG_arg_fail(1)) SWIG_fail
;
28463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28464 (arg1
)->SetFocus();
28466 wxPyEndAllowThreads(__tstate
);
28467 if (PyErr_Occurred()) SWIG_fail
;
28469 Py_INCREF(Py_None
); resultobj
= Py_None
;
28476 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28477 PyObject
*resultobj
;
28478 wxWindow
*arg1
= (wxWindow
*) 0 ;
28479 PyObject
* obj0
= 0 ;
28480 char *kwnames
[] = {
28481 (char *) "self", NULL
28484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
28485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28486 if (SWIG_arg_fail(1)) SWIG_fail
;
28488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28489 (arg1
)->SetFocusFromKbd();
28491 wxPyEndAllowThreads(__tstate
);
28492 if (PyErr_Occurred()) SWIG_fail
;
28494 Py_INCREF(Py_None
); resultobj
= Py_None
;
28501 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28502 PyObject
*resultobj
;
28504 char *kwnames
[] = {
28508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
28510 if (!wxPyCheckForApp()) SWIG_fail
;
28511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28512 result
= (wxWindow
*)wxWindow::FindFocus();
28514 wxPyEndAllowThreads(__tstate
);
28515 if (PyErr_Occurred()) SWIG_fail
;
28518 resultobj
= wxPyMake_wxObject(result
, 0);
28526 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28527 PyObject
*resultobj
;
28528 wxWindow
*arg1
= (wxWindow
*) 0 ;
28530 PyObject
* obj0
= 0 ;
28531 char *kwnames
[] = {
28532 (char *) "self", NULL
28535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
28536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28537 if (SWIG_arg_fail(1)) SWIG_fail
;
28539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28540 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
28542 wxPyEndAllowThreads(__tstate
);
28543 if (PyErr_Occurred()) SWIG_fail
;
28546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28554 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28555 PyObject
*resultobj
;
28556 wxWindow
*arg1
= (wxWindow
*) 0 ;
28558 PyObject
* obj0
= 0 ;
28559 char *kwnames
[] = {
28560 (char *) "self", NULL
28563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
28564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28565 if (SWIG_arg_fail(1)) SWIG_fail
;
28567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28568 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
28570 wxPyEndAllowThreads(__tstate
);
28571 if (PyErr_Occurred()) SWIG_fail
;
28574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28582 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28583 PyObject
*resultobj
;
28584 wxWindow
*arg1
= (wxWindow
*) 0 ;
28586 PyObject
* obj0
= 0 ;
28587 char *kwnames
[] = {
28588 (char *) "self", NULL
28591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
28592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28593 if (SWIG_arg_fail(1)) SWIG_fail
;
28595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28596 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
28598 wxPyEndAllowThreads(__tstate
);
28599 if (PyErr_Occurred()) SWIG_fail
;
28602 resultobj
= wxPyMake_wxObject(result
, 0);
28610 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28611 PyObject
*resultobj
;
28612 wxWindow
*arg1
= (wxWindow
*) 0 ;
28613 wxWindow
*arg2
= (wxWindow
*) 0 ;
28615 PyObject
* obj0
= 0 ;
28616 PyObject
* obj1
= 0 ;
28617 char *kwnames
[] = {
28618 (char *) "self",(char *) "child", NULL
28621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28623 if (SWIG_arg_fail(1)) SWIG_fail
;
28624 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28625 if (SWIG_arg_fail(2)) SWIG_fail
;
28627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28628 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
28630 wxPyEndAllowThreads(__tstate
);
28631 if (PyErr_Occurred()) SWIG_fail
;
28634 resultobj
= wxPyMake_wxObject(result
, 0);
28642 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28643 PyObject
*resultobj
;
28644 wxWindow
*arg1
= (wxWindow
*) 0 ;
28645 wxWindow
*arg2
= (wxWindow
*) 0 ;
28646 PyObject
* obj0
= 0 ;
28647 PyObject
* obj1
= 0 ;
28648 char *kwnames
[] = {
28649 (char *) "self",(char *) "win", NULL
28652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28654 if (SWIG_arg_fail(1)) SWIG_fail
;
28655 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28656 if (SWIG_arg_fail(2)) SWIG_fail
;
28658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28659 (arg1
)->SetTmpDefaultItem(arg2
);
28661 wxPyEndAllowThreads(__tstate
);
28662 if (PyErr_Occurred()) SWIG_fail
;
28664 Py_INCREF(Py_None
); resultobj
= Py_None
;
28671 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28672 PyObject
*resultobj
;
28673 wxWindow
*arg1
= (wxWindow
*) 0 ;
28674 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
28676 PyObject
* obj0
= 0 ;
28677 PyObject
* obj1
= 0 ;
28678 char *kwnames
[] = {
28679 (char *) "self",(char *) "flags", NULL
28682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
28683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28684 if (SWIG_arg_fail(1)) SWIG_fail
;
28687 arg2
= (int)(SWIG_As_int(obj1
));
28688 if (SWIG_arg_fail(2)) SWIG_fail
;
28692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28693 result
= (bool)(arg1
)->Navigate(arg2
);
28695 wxPyEndAllowThreads(__tstate
);
28696 if (PyErr_Occurred()) SWIG_fail
;
28699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28707 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28708 PyObject
*resultobj
;
28709 wxWindow
*arg1
= (wxWindow
*) 0 ;
28710 wxWindow
*arg2
= (wxWindow
*) 0 ;
28711 PyObject
* obj0
= 0 ;
28712 PyObject
* obj1
= 0 ;
28713 char *kwnames
[] = {
28714 (char *) "self",(char *) "win", NULL
28717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28719 if (SWIG_arg_fail(1)) SWIG_fail
;
28720 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28721 if (SWIG_arg_fail(2)) SWIG_fail
;
28723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28724 (arg1
)->MoveAfterInTabOrder(arg2
);
28726 wxPyEndAllowThreads(__tstate
);
28727 if (PyErr_Occurred()) SWIG_fail
;
28729 Py_INCREF(Py_None
); resultobj
= Py_None
;
28736 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28737 PyObject
*resultobj
;
28738 wxWindow
*arg1
= (wxWindow
*) 0 ;
28739 wxWindow
*arg2
= (wxWindow
*) 0 ;
28740 PyObject
* obj0
= 0 ;
28741 PyObject
* obj1
= 0 ;
28742 char *kwnames
[] = {
28743 (char *) "self",(char *) "win", NULL
28746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28748 if (SWIG_arg_fail(1)) SWIG_fail
;
28749 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28750 if (SWIG_arg_fail(2)) SWIG_fail
;
28752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28753 (arg1
)->MoveBeforeInTabOrder(arg2
);
28755 wxPyEndAllowThreads(__tstate
);
28756 if (PyErr_Occurred()) SWIG_fail
;
28758 Py_INCREF(Py_None
); resultobj
= Py_None
;
28765 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28766 PyObject
*resultobj
;
28767 wxWindow
*arg1
= (wxWindow
*) 0 ;
28769 PyObject
* obj0
= 0 ;
28770 char *kwnames
[] = {
28771 (char *) "self", NULL
28774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28779 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
28781 wxPyEndAllowThreads(__tstate
);
28782 if (PyErr_Occurred()) SWIG_fail
;
28784 resultobj
= result
;
28791 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28792 PyObject
*resultobj
;
28793 wxWindow
*arg1
= (wxWindow
*) 0 ;
28795 PyObject
* obj0
= 0 ;
28796 char *kwnames
[] = {
28797 (char *) "self", NULL
28800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
28801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28802 if (SWIG_arg_fail(1)) SWIG_fail
;
28804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28805 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
28807 wxPyEndAllowThreads(__tstate
);
28808 if (PyErr_Occurred()) SWIG_fail
;
28811 resultobj
= wxPyMake_wxObject(result
, 0);
28819 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28820 PyObject
*resultobj
;
28821 wxWindow
*arg1
= (wxWindow
*) 0 ;
28823 PyObject
* obj0
= 0 ;
28824 char *kwnames
[] = {
28825 (char *) "self", NULL
28828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
28829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28830 if (SWIG_arg_fail(1)) SWIG_fail
;
28832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28833 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
28835 wxPyEndAllowThreads(__tstate
);
28836 if (PyErr_Occurred()) SWIG_fail
;
28839 resultobj
= wxPyMake_wxObject(result
, 0);
28847 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28848 PyObject
*resultobj
;
28849 wxWindow
*arg1
= (wxWindow
*) 0 ;
28851 PyObject
* obj0
= 0 ;
28852 char *kwnames
[] = {
28853 (char *) "self", NULL
28856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
28857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28858 if (SWIG_arg_fail(1)) SWIG_fail
;
28860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28861 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
28863 wxPyEndAllowThreads(__tstate
);
28864 if (PyErr_Occurred()) SWIG_fail
;
28867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28875 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28876 PyObject
*resultobj
;
28877 wxWindow
*arg1
= (wxWindow
*) 0 ;
28878 wxWindow
*arg2
= (wxWindow
*) 0 ;
28880 PyObject
* obj0
= 0 ;
28881 PyObject
* obj1
= 0 ;
28882 char *kwnames
[] = {
28883 (char *) "self",(char *) "newParent", NULL
28886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
28887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28888 if (SWIG_arg_fail(1)) SWIG_fail
;
28889 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28890 if (SWIG_arg_fail(2)) SWIG_fail
;
28892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28893 result
= (bool)(arg1
)->Reparent(arg2
);
28895 wxPyEndAllowThreads(__tstate
);
28896 if (PyErr_Occurred()) SWIG_fail
;
28899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28907 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28908 PyObject
*resultobj
;
28909 wxWindow
*arg1
= (wxWindow
*) 0 ;
28910 wxWindow
*arg2
= (wxWindow
*) 0 ;
28911 PyObject
* obj0
= 0 ;
28912 PyObject
* obj1
= 0 ;
28913 char *kwnames
[] = {
28914 (char *) "self",(char *) "child", NULL
28917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28919 if (SWIG_arg_fail(1)) SWIG_fail
;
28920 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28921 if (SWIG_arg_fail(2)) SWIG_fail
;
28923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28924 (arg1
)->AddChild(arg2
);
28926 wxPyEndAllowThreads(__tstate
);
28927 if (PyErr_Occurred()) SWIG_fail
;
28929 Py_INCREF(Py_None
); resultobj
= Py_None
;
28936 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28937 PyObject
*resultobj
;
28938 wxWindow
*arg1
= (wxWindow
*) 0 ;
28939 wxWindow
*arg2
= (wxWindow
*) 0 ;
28940 PyObject
* obj0
= 0 ;
28941 PyObject
* obj1
= 0 ;
28942 char *kwnames
[] = {
28943 (char *) "self",(char *) "child", NULL
28946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28948 if (SWIG_arg_fail(1)) SWIG_fail
;
28949 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28950 if (SWIG_arg_fail(2)) SWIG_fail
;
28952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28953 (arg1
)->RemoveChild(arg2
);
28955 wxPyEndAllowThreads(__tstate
);
28956 if (PyErr_Occurred()) SWIG_fail
;
28958 Py_INCREF(Py_None
); resultobj
= Py_None
;
28965 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28966 PyObject
*resultobj
;
28967 wxWindow
*arg1
= (wxWindow
*) 0 ;
28970 PyObject
* obj0
= 0 ;
28971 PyObject
* obj1
= 0 ;
28972 char *kwnames
[] = {
28973 (char *) "self",(char *) "winid", NULL
28976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28978 if (SWIG_arg_fail(1)) SWIG_fail
;
28980 arg2
= (long)(SWIG_As_long(obj1
));
28981 if (SWIG_arg_fail(2)) SWIG_fail
;
28984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28985 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
28987 wxPyEndAllowThreads(__tstate
);
28988 if (PyErr_Occurred()) SWIG_fail
;
28991 resultobj
= wxPyMake_wxObject(result
, 0);
28999 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29000 PyObject
*resultobj
;
29001 wxWindow
*arg1
= (wxWindow
*) 0 ;
29002 wxString
*arg2
= 0 ;
29004 bool temp2
= false ;
29005 PyObject
* obj0
= 0 ;
29006 PyObject
* obj1
= 0 ;
29007 char *kwnames
[] = {
29008 (char *) "self",(char *) "name", NULL
29011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
29012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29013 if (SWIG_arg_fail(1)) SWIG_fail
;
29015 arg2
= wxString_in_helper(obj1
);
29016 if (arg2
== NULL
) SWIG_fail
;
29020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29021 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
29023 wxPyEndAllowThreads(__tstate
);
29024 if (PyErr_Occurred()) SWIG_fail
;
29027 resultobj
= wxPyMake_wxObject(result
, 0);
29043 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29044 PyObject
*resultobj
;
29045 wxWindow
*arg1
= (wxWindow
*) 0 ;
29046 wxEvtHandler
*result
;
29047 PyObject
* obj0
= 0 ;
29048 char *kwnames
[] = {
29049 (char *) "self", NULL
29052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
29053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29054 if (SWIG_arg_fail(1)) SWIG_fail
;
29056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29057 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
29059 wxPyEndAllowThreads(__tstate
);
29060 if (PyErr_Occurred()) SWIG_fail
;
29063 resultobj
= wxPyMake_wxObject(result
, 0);
29071 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29072 PyObject
*resultobj
;
29073 wxWindow
*arg1
= (wxWindow
*) 0 ;
29074 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
29075 PyObject
* obj0
= 0 ;
29076 PyObject
* obj1
= 0 ;
29077 char *kwnames
[] = {
29078 (char *) "self",(char *) "handler", NULL
29081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
29082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29083 if (SWIG_arg_fail(1)) SWIG_fail
;
29084 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
29085 if (SWIG_arg_fail(2)) SWIG_fail
;
29087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29088 (arg1
)->SetEventHandler(arg2
);
29090 wxPyEndAllowThreads(__tstate
);
29091 if (PyErr_Occurred()) SWIG_fail
;
29093 Py_INCREF(Py_None
); resultobj
= Py_None
;
29100 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29101 PyObject
*resultobj
;
29102 wxWindow
*arg1
= (wxWindow
*) 0 ;
29103 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
29104 PyObject
* obj0
= 0 ;
29105 PyObject
* obj1
= 0 ;
29106 char *kwnames
[] = {
29107 (char *) "self",(char *) "handler", NULL
29110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
29111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29112 if (SWIG_arg_fail(1)) SWIG_fail
;
29113 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
29114 if (SWIG_arg_fail(2)) SWIG_fail
;
29116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29117 (arg1
)->PushEventHandler(arg2
);
29119 wxPyEndAllowThreads(__tstate
);
29120 if (PyErr_Occurred()) SWIG_fail
;
29122 Py_INCREF(Py_None
); resultobj
= Py_None
;
29129 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29130 PyObject
*resultobj
;
29131 wxWindow
*arg1
= (wxWindow
*) 0 ;
29132 bool arg2
= (bool) false ;
29133 wxEvtHandler
*result
;
29134 PyObject
* obj0
= 0 ;
29135 PyObject
* obj1
= 0 ;
29136 char *kwnames
[] = {
29137 (char *) "self",(char *) "deleteHandler", NULL
29140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
29141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29142 if (SWIG_arg_fail(1)) SWIG_fail
;
29145 arg2
= (bool)(SWIG_As_bool(obj1
));
29146 if (SWIG_arg_fail(2)) SWIG_fail
;
29150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29151 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
29153 wxPyEndAllowThreads(__tstate
);
29154 if (PyErr_Occurred()) SWIG_fail
;
29157 resultobj
= wxPyMake_wxObject(result
, 0);
29165 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29166 PyObject
*resultobj
;
29167 wxWindow
*arg1
= (wxWindow
*) 0 ;
29168 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
29170 PyObject
* obj0
= 0 ;
29171 PyObject
* obj1
= 0 ;
29172 char *kwnames
[] = {
29173 (char *) "self",(char *) "handler", NULL
29176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
29177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29178 if (SWIG_arg_fail(1)) SWIG_fail
;
29179 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
29180 if (SWIG_arg_fail(2)) SWIG_fail
;
29182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29183 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
29185 wxPyEndAllowThreads(__tstate
);
29186 if (PyErr_Occurred()) SWIG_fail
;
29189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29197 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29198 PyObject
*resultobj
;
29199 wxWindow
*arg1
= (wxWindow
*) 0 ;
29200 wxValidator
*arg2
= 0 ;
29201 PyObject
* obj0
= 0 ;
29202 PyObject
* obj1
= 0 ;
29203 char *kwnames
[] = {
29204 (char *) "self",(char *) "validator", NULL
29207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
29208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29209 if (SWIG_arg_fail(1)) SWIG_fail
;
29211 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
29212 if (SWIG_arg_fail(2)) SWIG_fail
;
29213 if (arg2
== NULL
) {
29214 SWIG_null_ref("wxValidator");
29216 if (SWIG_arg_fail(2)) SWIG_fail
;
29219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29220 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
29222 wxPyEndAllowThreads(__tstate
);
29223 if (PyErr_Occurred()) SWIG_fail
;
29225 Py_INCREF(Py_None
); resultobj
= Py_None
;
29232 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29233 PyObject
*resultobj
;
29234 wxWindow
*arg1
= (wxWindow
*) 0 ;
29235 wxValidator
*result
;
29236 PyObject
* obj0
= 0 ;
29237 char *kwnames
[] = {
29238 (char *) "self", NULL
29241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29246 result
= (wxValidator
*)(arg1
)->GetValidator();
29248 wxPyEndAllowThreads(__tstate
);
29249 if (PyErr_Occurred()) SWIG_fail
;
29252 resultobj
= wxPyMake_wxObject(result
, 0);
29260 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29261 PyObject
*resultobj
;
29262 wxWindow
*arg1
= (wxWindow
*) 0 ;
29264 PyObject
* obj0
= 0 ;
29265 char *kwnames
[] = {
29266 (char *) "self", NULL
29269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
29270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29271 if (SWIG_arg_fail(1)) SWIG_fail
;
29273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29274 result
= (bool)(arg1
)->Validate();
29276 wxPyEndAllowThreads(__tstate
);
29277 if (PyErr_Occurred()) SWIG_fail
;
29280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29288 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29289 PyObject
*resultobj
;
29290 wxWindow
*arg1
= (wxWindow
*) 0 ;
29292 PyObject
* obj0
= 0 ;
29293 char *kwnames
[] = {
29294 (char *) "self", NULL
29297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29299 if (SWIG_arg_fail(1)) SWIG_fail
;
29301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29302 result
= (bool)(arg1
)->TransferDataToWindow();
29304 wxPyEndAllowThreads(__tstate
);
29305 if (PyErr_Occurred()) SWIG_fail
;
29308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29316 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29317 PyObject
*resultobj
;
29318 wxWindow
*arg1
= (wxWindow
*) 0 ;
29320 PyObject
* obj0
= 0 ;
29321 char *kwnames
[] = {
29322 (char *) "self", NULL
29325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29327 if (SWIG_arg_fail(1)) SWIG_fail
;
29329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29330 result
= (bool)(arg1
)->TransferDataFromWindow();
29332 wxPyEndAllowThreads(__tstate
);
29333 if (PyErr_Occurred()) SWIG_fail
;
29336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29344 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29345 PyObject
*resultobj
;
29346 wxWindow
*arg1
= (wxWindow
*) 0 ;
29347 PyObject
* obj0
= 0 ;
29348 char *kwnames
[] = {
29349 (char *) "self", NULL
29352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
29353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29354 if (SWIG_arg_fail(1)) SWIG_fail
;
29356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29357 (arg1
)->InitDialog();
29359 wxPyEndAllowThreads(__tstate
);
29360 if (PyErr_Occurred()) SWIG_fail
;
29362 Py_INCREF(Py_None
); resultobj
= Py_None
;
29369 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29370 PyObject
*resultobj
;
29371 wxWindow
*arg1
= (wxWindow
*) 0 ;
29372 wxAcceleratorTable
*arg2
= 0 ;
29373 PyObject
* obj0
= 0 ;
29374 PyObject
* obj1
= 0 ;
29375 char *kwnames
[] = {
29376 (char *) "self",(char *) "accel", NULL
29379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
29380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29381 if (SWIG_arg_fail(1)) SWIG_fail
;
29383 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
29384 if (SWIG_arg_fail(2)) SWIG_fail
;
29385 if (arg2
== NULL
) {
29386 SWIG_null_ref("wxAcceleratorTable");
29388 if (SWIG_arg_fail(2)) SWIG_fail
;
29391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29392 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
29394 wxPyEndAllowThreads(__tstate
);
29395 if (PyErr_Occurred()) SWIG_fail
;
29397 Py_INCREF(Py_None
); resultobj
= Py_None
;
29404 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29405 PyObject
*resultobj
;
29406 wxWindow
*arg1
= (wxWindow
*) 0 ;
29407 wxAcceleratorTable
*result
;
29408 PyObject
* obj0
= 0 ;
29409 char *kwnames
[] = {
29410 (char *) "self", NULL
29413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
29414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29415 if (SWIG_arg_fail(1)) SWIG_fail
;
29417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29418 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
29420 wxPyEndAllowThreads(__tstate
);
29421 if (PyErr_Occurred()) SWIG_fail
;
29423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
29430 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29431 PyObject
*resultobj
;
29432 wxWindow
*arg1
= (wxWindow
*) 0 ;
29437 PyObject
* obj0
= 0 ;
29438 PyObject
* obj1
= 0 ;
29439 PyObject
* obj2
= 0 ;
29440 PyObject
* obj3
= 0 ;
29441 char *kwnames
[] = {
29442 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
29445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29447 if (SWIG_arg_fail(1)) SWIG_fail
;
29449 arg2
= (int)(SWIG_As_int(obj1
));
29450 if (SWIG_arg_fail(2)) SWIG_fail
;
29453 arg3
= (int)(SWIG_As_int(obj2
));
29454 if (SWIG_arg_fail(3)) SWIG_fail
;
29457 arg4
= (int)(SWIG_As_int(obj3
));
29458 if (SWIG_arg_fail(4)) SWIG_fail
;
29461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29462 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
29464 wxPyEndAllowThreads(__tstate
);
29465 if (PyErr_Occurred()) SWIG_fail
;
29468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29476 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29477 PyObject
*resultobj
;
29478 wxWindow
*arg1
= (wxWindow
*) 0 ;
29481 PyObject
* obj0
= 0 ;
29482 PyObject
* obj1
= 0 ;
29483 char *kwnames
[] = {
29484 (char *) "self",(char *) "hotkeyId", NULL
29487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
29488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29489 if (SWIG_arg_fail(1)) SWIG_fail
;
29491 arg2
= (int)(SWIG_As_int(obj1
));
29492 if (SWIG_arg_fail(2)) SWIG_fail
;
29495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29496 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
29498 wxPyEndAllowThreads(__tstate
);
29499 if (PyErr_Occurred()) SWIG_fail
;
29502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29510 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29511 PyObject
*resultobj
;
29512 wxWindow
*arg1
= (wxWindow
*) 0 ;
29513 wxPoint
*arg2
= 0 ;
29516 PyObject
* obj0
= 0 ;
29517 PyObject
* obj1
= 0 ;
29518 char *kwnames
[] = {
29519 (char *) "self",(char *) "pt", NULL
29522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
29523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29524 if (SWIG_arg_fail(1)) SWIG_fail
;
29527 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29531 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
29533 wxPyEndAllowThreads(__tstate
);
29534 if (PyErr_Occurred()) SWIG_fail
;
29537 wxPoint
* resultptr
;
29538 resultptr
= new wxPoint((wxPoint
&)(result
));
29539 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29547 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29548 PyObject
*resultobj
;
29549 wxWindow
*arg1
= (wxWindow
*) 0 ;
29553 PyObject
* obj0
= 0 ;
29554 PyObject
* obj1
= 0 ;
29555 char *kwnames
[] = {
29556 (char *) "self",(char *) "sz", NULL
29559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
29560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29561 if (SWIG_arg_fail(1)) SWIG_fail
;
29564 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29568 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
29570 wxPyEndAllowThreads(__tstate
);
29571 if (PyErr_Occurred()) SWIG_fail
;
29574 wxSize
* resultptr
;
29575 resultptr
= new wxSize((wxSize
&)(result
));
29576 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29584 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29585 PyObject
*resultobj
;
29586 wxWindow
*arg1
= (wxWindow
*) 0 ;
29587 wxPoint
*arg2
= 0 ;
29590 PyObject
* obj0
= 0 ;
29591 PyObject
* obj1
= 0 ;
29592 char *kwnames
[] = {
29593 (char *) "self",(char *) "pt", NULL
29596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
29597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29598 if (SWIG_arg_fail(1)) SWIG_fail
;
29601 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29605 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
29607 wxPyEndAllowThreads(__tstate
);
29608 if (PyErr_Occurred()) SWIG_fail
;
29611 wxPoint
* resultptr
;
29612 resultptr
= new wxPoint((wxPoint
&)(result
));
29613 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29621 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29622 PyObject
*resultobj
;
29623 wxWindow
*arg1
= (wxWindow
*) 0 ;
29627 PyObject
* obj0
= 0 ;
29628 PyObject
* obj1
= 0 ;
29629 char *kwnames
[] = {
29630 (char *) "self",(char *) "sz", NULL
29633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
29634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29635 if (SWIG_arg_fail(1)) SWIG_fail
;
29638 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29642 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
29644 wxPyEndAllowThreads(__tstate
);
29645 if (PyErr_Occurred()) SWIG_fail
;
29648 wxSize
* resultptr
;
29649 resultptr
= new wxSize((wxSize
&)(result
));
29650 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29658 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29659 PyObject
*resultobj
;
29660 wxWindow
*arg1
= (wxWindow
*) 0 ;
29661 wxPoint
*arg2
= 0 ;
29664 PyObject
* obj0
= 0 ;
29665 PyObject
* obj1
= 0 ;
29666 char *kwnames
[] = {
29667 (char *) "self",(char *) "pt", NULL
29670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29672 if (SWIG_arg_fail(1)) SWIG_fail
;
29675 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29679 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
29681 wxPyEndAllowThreads(__tstate
);
29682 if (PyErr_Occurred()) SWIG_fail
;
29685 wxPoint
* resultptr
;
29686 resultptr
= new wxPoint((wxPoint
&)(result
));
29687 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29695 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29696 PyObject
*resultobj
;
29697 wxWindow
*arg1
= (wxWindow
*) 0 ;
29701 PyObject
* obj0
= 0 ;
29702 PyObject
* obj1
= 0 ;
29703 char *kwnames
[] = {
29704 (char *) "self",(char *) "sz", NULL
29707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29709 if (SWIG_arg_fail(1)) SWIG_fail
;
29712 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29716 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
29718 wxPyEndAllowThreads(__tstate
);
29719 if (PyErr_Occurred()) SWIG_fail
;
29722 wxSize
* resultptr
;
29723 resultptr
= new wxSize((wxSize
&)(result
));
29724 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29732 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29733 PyObject
*resultobj
;
29734 wxWindow
*arg1
= (wxWindow
*) 0 ;
29737 PyObject
* obj0
= 0 ;
29738 PyObject
* obj1
= 0 ;
29739 PyObject
* obj2
= 0 ;
29740 char *kwnames
[] = {
29741 (char *) "self",(char *) "x",(char *) "y", NULL
29744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29746 if (SWIG_arg_fail(1)) SWIG_fail
;
29748 arg2
= (int)(SWIG_As_int(obj1
));
29749 if (SWIG_arg_fail(2)) SWIG_fail
;
29752 arg3
= (int)(SWIG_As_int(obj2
));
29753 if (SWIG_arg_fail(3)) SWIG_fail
;
29756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29757 (arg1
)->WarpPointer(arg2
,arg3
);
29759 wxPyEndAllowThreads(__tstate
);
29760 if (PyErr_Occurred()) SWIG_fail
;
29762 Py_INCREF(Py_None
); resultobj
= Py_None
;
29769 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29770 PyObject
*resultobj
;
29771 wxWindow
*arg1
= (wxWindow
*) 0 ;
29772 PyObject
* obj0
= 0 ;
29773 char *kwnames
[] = {
29774 (char *) "self", NULL
29777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
29778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29779 if (SWIG_arg_fail(1)) SWIG_fail
;
29781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29782 (arg1
)->CaptureMouse();
29784 wxPyEndAllowThreads(__tstate
);
29785 if (PyErr_Occurred()) SWIG_fail
;
29787 Py_INCREF(Py_None
); resultobj
= Py_None
;
29794 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29795 PyObject
*resultobj
;
29796 wxWindow
*arg1
= (wxWindow
*) 0 ;
29797 PyObject
* obj0
= 0 ;
29798 char *kwnames
[] = {
29799 (char *) "self", NULL
29802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
29803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29804 if (SWIG_arg_fail(1)) SWIG_fail
;
29806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29807 (arg1
)->ReleaseMouse();
29809 wxPyEndAllowThreads(__tstate
);
29810 if (PyErr_Occurred()) SWIG_fail
;
29812 Py_INCREF(Py_None
); resultobj
= Py_None
;
29819 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29820 PyObject
*resultobj
;
29822 char *kwnames
[] = {
29826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
29828 if (!wxPyCheckForApp()) SWIG_fail
;
29829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29830 result
= (wxWindow
*)wxWindow::GetCapture();
29832 wxPyEndAllowThreads(__tstate
);
29833 if (PyErr_Occurred()) SWIG_fail
;
29836 resultobj
= wxPyMake_wxObject(result
, 0);
29844 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29845 PyObject
*resultobj
;
29846 wxWindow
*arg1
= (wxWindow
*) 0 ;
29848 PyObject
* obj0
= 0 ;
29849 char *kwnames
[] = {
29850 (char *) "self", NULL
29853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
29854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29855 if (SWIG_arg_fail(1)) SWIG_fail
;
29857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29858 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
29860 wxPyEndAllowThreads(__tstate
);
29861 if (PyErr_Occurred()) SWIG_fail
;
29864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29872 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29873 PyObject
*resultobj
;
29874 wxWindow
*arg1
= (wxWindow
*) 0 ;
29875 bool arg2
= (bool) true ;
29876 wxRect
*arg3
= (wxRect
*) NULL
;
29877 PyObject
* obj0
= 0 ;
29878 PyObject
* obj1
= 0 ;
29879 PyObject
* obj2
= 0 ;
29880 char *kwnames
[] = {
29881 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
29884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29886 if (SWIG_arg_fail(1)) SWIG_fail
;
29889 arg2
= (bool)(SWIG_As_bool(obj1
));
29890 if (SWIG_arg_fail(2)) SWIG_fail
;
29894 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
29895 if (SWIG_arg_fail(3)) SWIG_fail
;
29898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29899 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
29901 wxPyEndAllowThreads(__tstate
);
29902 if (PyErr_Occurred()) SWIG_fail
;
29904 Py_INCREF(Py_None
); resultobj
= Py_None
;
29911 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29912 PyObject
*resultobj
;
29913 wxWindow
*arg1
= (wxWindow
*) 0 ;
29915 bool arg3
= (bool) true ;
29917 PyObject
* obj0
= 0 ;
29918 PyObject
* obj1
= 0 ;
29919 PyObject
* obj2
= 0 ;
29920 char *kwnames
[] = {
29921 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
29924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29926 if (SWIG_arg_fail(1)) SWIG_fail
;
29929 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29933 arg3
= (bool)(SWIG_As_bool(obj2
));
29934 if (SWIG_arg_fail(3)) SWIG_fail
;
29938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29939 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
29941 wxPyEndAllowThreads(__tstate
);
29942 if (PyErr_Occurred()) SWIG_fail
;
29944 Py_INCREF(Py_None
); resultobj
= Py_None
;
29951 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29952 PyObject
*resultobj
;
29953 wxWindow
*arg1
= (wxWindow
*) 0 ;
29954 PyObject
* obj0
= 0 ;
29955 char *kwnames
[] = {
29956 (char *) "self", NULL
29959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
29960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29961 if (SWIG_arg_fail(1)) SWIG_fail
;
29963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29966 wxPyEndAllowThreads(__tstate
);
29967 if (PyErr_Occurred()) SWIG_fail
;
29969 Py_INCREF(Py_None
); resultobj
= Py_None
;
29976 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29977 PyObject
*resultobj
;
29978 wxWindow
*arg1
= (wxWindow
*) 0 ;
29979 PyObject
* obj0
= 0 ;
29980 char *kwnames
[] = {
29981 (char *) "self", NULL
29984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
29985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29986 if (SWIG_arg_fail(1)) SWIG_fail
;
29988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29989 (arg1
)->ClearBackground();
29991 wxPyEndAllowThreads(__tstate
);
29992 if (PyErr_Occurred()) SWIG_fail
;
29994 Py_INCREF(Py_None
); resultobj
= Py_None
;
30001 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30002 PyObject
*resultobj
;
30003 wxWindow
*arg1
= (wxWindow
*) 0 ;
30004 PyObject
* obj0
= 0 ;
30005 char *kwnames
[] = {
30006 (char *) "self", NULL
30009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
30010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30011 if (SWIG_arg_fail(1)) SWIG_fail
;
30013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30016 wxPyEndAllowThreads(__tstate
);
30017 if (PyErr_Occurred()) SWIG_fail
;
30019 Py_INCREF(Py_None
); resultobj
= Py_None
;
30026 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30027 PyObject
*resultobj
;
30028 wxWindow
*arg1
= (wxWindow
*) 0 ;
30029 PyObject
* obj0
= 0 ;
30030 char *kwnames
[] = {
30031 (char *) "self", NULL
30034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
30035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30036 if (SWIG_arg_fail(1)) SWIG_fail
;
30038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30041 wxPyEndAllowThreads(__tstate
);
30042 if (PyErr_Occurred()) SWIG_fail
;
30044 Py_INCREF(Py_None
); resultobj
= Py_None
;
30051 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30052 PyObject
*resultobj
;
30053 wxWindow
*arg1
= (wxWindow
*) 0 ;
30055 PyObject
* obj0
= 0 ;
30056 PyObject
* obj1
= 0 ;
30057 char *kwnames
[] = {
30058 (char *) "self",(char *) "dc", NULL
30061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
30062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30063 if (SWIG_arg_fail(1)) SWIG_fail
;
30065 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
30066 if (SWIG_arg_fail(2)) SWIG_fail
;
30067 if (arg2
== NULL
) {
30068 SWIG_null_ref("wxDC");
30070 if (SWIG_arg_fail(2)) SWIG_fail
;
30073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30074 (arg1
)->PrepareDC(*arg2
);
30076 wxPyEndAllowThreads(__tstate
);
30077 if (PyErr_Occurred()) SWIG_fail
;
30079 Py_INCREF(Py_None
); resultobj
= Py_None
;
30086 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30087 PyObject
*resultobj
;
30088 wxWindow
*arg1
= (wxWindow
*) 0 ;
30090 PyObject
* obj0
= 0 ;
30091 char *kwnames
[] = {
30092 (char *) "self", NULL
30095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
30096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30097 if (SWIG_arg_fail(1)) SWIG_fail
;
30099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30101 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
30102 result
= (wxRegion
*) &_result_ref
;
30105 wxPyEndAllowThreads(__tstate
);
30106 if (PyErr_Occurred()) SWIG_fail
;
30108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
30115 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30116 PyObject
*resultobj
;
30117 wxWindow
*arg1
= (wxWindow
*) 0 ;
30119 PyObject
* obj0
= 0 ;
30120 char *kwnames
[] = {
30121 (char *) "self", NULL
30124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
30125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30126 if (SWIG_arg_fail(1)) SWIG_fail
;
30128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30129 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
30131 wxPyEndAllowThreads(__tstate
);
30132 if (PyErr_Occurred()) SWIG_fail
;
30135 wxRect
* resultptr
;
30136 resultptr
= new wxRect((wxRect
&)(result
));
30137 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30145 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30146 PyObject
*resultobj
;
30147 wxWindow
*arg1
= (wxWindow
*) 0 ;
30150 int arg4
= (int) 1 ;
30151 int arg5
= (int) 1 ;
30153 PyObject
* obj0
= 0 ;
30154 PyObject
* obj1
= 0 ;
30155 PyObject
* obj2
= 0 ;
30156 PyObject
* obj3
= 0 ;
30157 PyObject
* obj4
= 0 ;
30158 char *kwnames
[] = {
30159 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30164 if (SWIG_arg_fail(1)) SWIG_fail
;
30166 arg2
= (int)(SWIG_As_int(obj1
));
30167 if (SWIG_arg_fail(2)) SWIG_fail
;
30170 arg3
= (int)(SWIG_As_int(obj2
));
30171 if (SWIG_arg_fail(3)) SWIG_fail
;
30175 arg4
= (int)(SWIG_As_int(obj3
));
30176 if (SWIG_arg_fail(4)) SWIG_fail
;
30181 arg5
= (int)(SWIG_As_int(obj4
));
30182 if (SWIG_arg_fail(5)) SWIG_fail
;
30186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30187 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
30189 wxPyEndAllowThreads(__tstate
);
30190 if (PyErr_Occurred()) SWIG_fail
;
30193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30201 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30202 PyObject
*resultobj
;
30203 wxWindow
*arg1
= (wxWindow
*) 0 ;
30204 wxPoint
*arg2
= 0 ;
30207 PyObject
* obj0
= 0 ;
30208 PyObject
* obj1
= 0 ;
30209 char *kwnames
[] = {
30210 (char *) "self",(char *) "pt", NULL
30213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
30214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30215 if (SWIG_arg_fail(1)) SWIG_fail
;
30218 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30222 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
30224 wxPyEndAllowThreads(__tstate
);
30225 if (PyErr_Occurred()) SWIG_fail
;
30228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30236 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30237 PyObject
*resultobj
;
30238 wxWindow
*arg1
= (wxWindow
*) 0 ;
30242 PyObject
* obj0
= 0 ;
30243 PyObject
* obj1
= 0 ;
30244 char *kwnames
[] = {
30245 (char *) "self",(char *) "rect", NULL
30248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
30249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30250 if (SWIG_arg_fail(1)) SWIG_fail
;
30253 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30257 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
30259 wxPyEndAllowThreads(__tstate
);
30260 if (PyErr_Occurred()) SWIG_fail
;
30263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30271 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30272 PyObject
*resultobj
;
30273 wxWindow
*arg1
= (wxWindow
*) 0 ;
30274 wxVisualAttributes result
;
30275 PyObject
* obj0
= 0 ;
30276 char *kwnames
[] = {
30277 (char *) "self", NULL
30280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30282 if (SWIG_arg_fail(1)) SWIG_fail
;
30284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30285 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
30287 wxPyEndAllowThreads(__tstate
);
30288 if (PyErr_Occurred()) SWIG_fail
;
30291 wxVisualAttributes
* resultptr
;
30292 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
30293 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30301 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30302 PyObject
*resultobj
;
30303 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
30304 wxVisualAttributes result
;
30305 PyObject
* obj0
= 0 ;
30306 char *kwnames
[] = {
30307 (char *) "variant", NULL
30310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30313 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
30314 if (SWIG_arg_fail(1)) SWIG_fail
;
30318 if (!wxPyCheckForApp()) SWIG_fail
;
30319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30320 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
30322 wxPyEndAllowThreads(__tstate
);
30323 if (PyErr_Occurred()) SWIG_fail
;
30326 wxVisualAttributes
* resultptr
;
30327 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
30328 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30336 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30337 PyObject
*resultobj
;
30338 wxWindow
*arg1
= (wxWindow
*) 0 ;
30339 wxColour
*arg2
= 0 ;
30342 PyObject
* obj0
= 0 ;
30343 PyObject
* obj1
= 0 ;
30344 char *kwnames
[] = {
30345 (char *) "self",(char *) "colour", NULL
30348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
30349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30350 if (SWIG_arg_fail(1)) SWIG_fail
;
30353 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30357 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
30359 wxPyEndAllowThreads(__tstate
);
30360 if (PyErr_Occurred()) SWIG_fail
;
30363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30371 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30372 PyObject
*resultobj
;
30373 wxWindow
*arg1
= (wxWindow
*) 0 ;
30374 wxColour
*arg2
= 0 ;
30376 PyObject
* obj0
= 0 ;
30377 PyObject
* obj1
= 0 ;
30378 char *kwnames
[] = {
30379 (char *) "self",(char *) "colour", NULL
30382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
30383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30384 if (SWIG_arg_fail(1)) SWIG_fail
;
30387 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30391 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
30393 wxPyEndAllowThreads(__tstate
);
30394 if (PyErr_Occurred()) SWIG_fail
;
30396 Py_INCREF(Py_None
); resultobj
= Py_None
;
30403 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30404 PyObject
*resultobj
;
30405 wxWindow
*arg1
= (wxWindow
*) 0 ;
30406 wxColour
*arg2
= 0 ;
30409 PyObject
* obj0
= 0 ;
30410 PyObject
* obj1
= 0 ;
30411 char *kwnames
[] = {
30412 (char *) "self",(char *) "colour", NULL
30415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
30416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30417 if (SWIG_arg_fail(1)) SWIG_fail
;
30420 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30424 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
30426 wxPyEndAllowThreads(__tstate
);
30427 if (PyErr_Occurred()) SWIG_fail
;
30430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30438 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30439 PyObject
*resultobj
;
30440 wxWindow
*arg1
= (wxWindow
*) 0 ;
30441 wxColour
*arg2
= 0 ;
30443 PyObject
* obj0
= 0 ;
30444 PyObject
* obj1
= 0 ;
30445 char *kwnames
[] = {
30446 (char *) "self",(char *) "colour", NULL
30449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
30450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30451 if (SWIG_arg_fail(1)) SWIG_fail
;
30454 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30458 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
30460 wxPyEndAllowThreads(__tstate
);
30461 if (PyErr_Occurred()) SWIG_fail
;
30463 Py_INCREF(Py_None
); resultobj
= Py_None
;
30470 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30471 PyObject
*resultobj
;
30472 wxWindow
*arg1
= (wxWindow
*) 0 ;
30474 PyObject
* obj0
= 0 ;
30475 char *kwnames
[] = {
30476 (char *) "self", NULL
30479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
30480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30481 if (SWIG_arg_fail(1)) SWIG_fail
;
30483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30484 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
30486 wxPyEndAllowThreads(__tstate
);
30487 if (PyErr_Occurred()) SWIG_fail
;
30490 wxColour
* resultptr
;
30491 resultptr
= new wxColour((wxColour
&)(result
));
30492 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
30500 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30501 PyObject
*resultobj
;
30502 wxWindow
*arg1
= (wxWindow
*) 0 ;
30504 PyObject
* obj0
= 0 ;
30505 char *kwnames
[] = {
30506 (char *) "self", NULL
30509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
30510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30511 if (SWIG_arg_fail(1)) SWIG_fail
;
30513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30514 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
30516 wxPyEndAllowThreads(__tstate
);
30517 if (PyErr_Occurred()) SWIG_fail
;
30520 wxColour
* resultptr
;
30521 resultptr
= new wxColour((wxColour
&)(result
));
30522 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
30530 static PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30531 PyObject
*resultobj
;
30532 wxWindow
*arg1
= (wxWindow
*) 0 ;
30534 PyObject
* obj0
= 0 ;
30535 char *kwnames
[] = {
30536 (char *) "self", NULL
30539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritsBackgroundColour",kwnames
,&obj0
)) goto fail
;
30540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30541 if (SWIG_arg_fail(1)) SWIG_fail
;
30543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30544 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
30546 wxPyEndAllowThreads(__tstate
);
30547 if (PyErr_Occurred()) SWIG_fail
;
30550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30558 static PyObject
*_wrap_Window_UseBgCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30559 PyObject
*resultobj
;
30560 wxWindow
*arg1
= (wxWindow
*) 0 ;
30562 PyObject
* obj0
= 0 ;
30563 char *kwnames
[] = {
30564 (char *) "self", NULL
30567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_UseBgCol",kwnames
,&obj0
)) goto fail
;
30568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30569 if (SWIG_arg_fail(1)) SWIG_fail
;
30571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30572 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
30574 wxPyEndAllowThreads(__tstate
);
30575 if (PyErr_Occurred()) SWIG_fail
;
30578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30586 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30587 PyObject
*resultobj
;
30588 wxWindow
*arg1
= (wxWindow
*) 0 ;
30589 wxBackgroundStyle arg2
;
30591 PyObject
* obj0
= 0 ;
30592 PyObject
* obj1
= 0 ;
30593 char *kwnames
[] = {
30594 (char *) "self",(char *) "style", NULL
30597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
30598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30599 if (SWIG_arg_fail(1)) SWIG_fail
;
30601 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
30602 if (SWIG_arg_fail(2)) SWIG_fail
;
30605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30606 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
30608 wxPyEndAllowThreads(__tstate
);
30609 if (PyErr_Occurred()) SWIG_fail
;
30612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30620 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30621 PyObject
*resultobj
;
30622 wxWindow
*arg1
= (wxWindow
*) 0 ;
30623 wxBackgroundStyle result
;
30624 PyObject
* obj0
= 0 ;
30625 char *kwnames
[] = {
30626 (char *) "self", NULL
30629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
30630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30631 if (SWIG_arg_fail(1)) SWIG_fail
;
30633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30634 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
30636 wxPyEndAllowThreads(__tstate
);
30637 if (PyErr_Occurred()) SWIG_fail
;
30639 resultobj
= SWIG_From_int((result
));
30646 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30647 PyObject
*resultobj
;
30648 wxWindow
*arg1
= (wxWindow
*) 0 ;
30650 PyObject
* obj0
= 0 ;
30651 char *kwnames
[] = {
30652 (char *) "self", NULL
30655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
30656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30657 if (SWIG_arg_fail(1)) SWIG_fail
;
30659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30660 result
= (bool)(arg1
)->HasTransparentBackground();
30662 wxPyEndAllowThreads(__tstate
);
30663 if (PyErr_Occurred()) SWIG_fail
;
30666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30674 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30675 PyObject
*resultobj
;
30676 wxWindow
*arg1
= (wxWindow
*) 0 ;
30677 wxCursor
*arg2
= 0 ;
30679 PyObject
* obj0
= 0 ;
30680 PyObject
* obj1
= 0 ;
30681 char *kwnames
[] = {
30682 (char *) "self",(char *) "cursor", NULL
30685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
30686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30687 if (SWIG_arg_fail(1)) SWIG_fail
;
30689 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
30690 if (SWIG_arg_fail(2)) SWIG_fail
;
30691 if (arg2
== NULL
) {
30692 SWIG_null_ref("wxCursor");
30694 if (SWIG_arg_fail(2)) SWIG_fail
;
30697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30698 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
30700 wxPyEndAllowThreads(__tstate
);
30701 if (PyErr_Occurred()) SWIG_fail
;
30704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30712 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30713 PyObject
*resultobj
;
30714 wxWindow
*arg1
= (wxWindow
*) 0 ;
30716 PyObject
* obj0
= 0 ;
30717 char *kwnames
[] = {
30718 (char *) "self", NULL
30721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
30722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30723 if (SWIG_arg_fail(1)) SWIG_fail
;
30725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30726 result
= (arg1
)->GetCursor();
30728 wxPyEndAllowThreads(__tstate
);
30729 if (PyErr_Occurred()) SWIG_fail
;
30732 wxCursor
* resultptr
;
30733 resultptr
= new wxCursor((wxCursor
&)(result
));
30734 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
30742 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30743 PyObject
*resultobj
;
30744 wxWindow
*arg1
= (wxWindow
*) 0 ;
30747 PyObject
* obj0
= 0 ;
30748 PyObject
* obj1
= 0 ;
30749 char *kwnames
[] = {
30750 (char *) "self",(char *) "font", NULL
30753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30755 if (SWIG_arg_fail(1)) SWIG_fail
;
30757 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30758 if (SWIG_arg_fail(2)) SWIG_fail
;
30759 if (arg2
== NULL
) {
30760 SWIG_null_ref("wxFont");
30762 if (SWIG_arg_fail(2)) SWIG_fail
;
30765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30766 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
30768 wxPyEndAllowThreads(__tstate
);
30769 if (PyErr_Occurred()) SWIG_fail
;
30772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30780 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30781 PyObject
*resultobj
;
30782 wxWindow
*arg1
= (wxWindow
*) 0 ;
30784 PyObject
* obj0
= 0 ;
30785 PyObject
* obj1
= 0 ;
30786 char *kwnames
[] = {
30787 (char *) "self",(char *) "font", NULL
30790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30792 if (SWIG_arg_fail(1)) SWIG_fail
;
30794 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30795 if (SWIG_arg_fail(2)) SWIG_fail
;
30796 if (arg2
== NULL
) {
30797 SWIG_null_ref("wxFont");
30799 if (SWIG_arg_fail(2)) SWIG_fail
;
30802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30803 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
30805 wxPyEndAllowThreads(__tstate
);
30806 if (PyErr_Occurred()) SWIG_fail
;
30808 Py_INCREF(Py_None
); resultobj
= Py_None
;
30815 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30816 PyObject
*resultobj
;
30817 wxWindow
*arg1
= (wxWindow
*) 0 ;
30819 PyObject
* obj0
= 0 ;
30820 char *kwnames
[] = {
30821 (char *) "self", NULL
30824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
30825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30826 if (SWIG_arg_fail(1)) SWIG_fail
;
30828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30829 result
= (arg1
)->GetFont();
30831 wxPyEndAllowThreads(__tstate
);
30832 if (PyErr_Occurred()) SWIG_fail
;
30835 wxFont
* resultptr
;
30836 resultptr
= new wxFont((wxFont
&)(result
));
30837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
30845 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30846 PyObject
*resultobj
;
30847 wxWindow
*arg1
= (wxWindow
*) 0 ;
30848 wxCaret
*arg2
= (wxCaret
*) 0 ;
30849 PyObject
* obj0
= 0 ;
30850 PyObject
* obj1
= 0 ;
30851 char *kwnames
[] = {
30852 (char *) "self",(char *) "caret", NULL
30855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",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_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
30859 if (SWIG_arg_fail(2)) SWIG_fail
;
30861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30862 (arg1
)->SetCaret(arg2
);
30864 wxPyEndAllowThreads(__tstate
);
30865 if (PyErr_Occurred()) SWIG_fail
;
30867 Py_INCREF(Py_None
); resultobj
= Py_None
;
30874 static PyObject
*_wrap_Window_GetCaret(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_GetCaret",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
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
30890 wxPyEndAllowThreads(__tstate
);
30891 if (PyErr_Occurred()) SWIG_fail
;
30893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
30900 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30901 PyObject
*resultobj
;
30902 wxWindow
*arg1
= (wxWindow
*) 0 ;
30904 PyObject
* obj0
= 0 ;
30905 char *kwnames
[] = {
30906 (char *) "self", NULL
30909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
30910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30911 if (SWIG_arg_fail(1)) SWIG_fail
;
30913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30914 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
30916 wxPyEndAllowThreads(__tstate
);
30917 if (PyErr_Occurred()) SWIG_fail
;
30920 resultobj
= SWIG_From_int((int)(result
));
30928 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30929 PyObject
*resultobj
;
30930 wxWindow
*arg1
= (wxWindow
*) 0 ;
30932 PyObject
* obj0
= 0 ;
30933 char *kwnames
[] = {
30934 (char *) "self", NULL
30937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
30938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30939 if (SWIG_arg_fail(1)) SWIG_fail
;
30941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30942 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
30944 wxPyEndAllowThreads(__tstate
);
30945 if (PyErr_Occurred()) SWIG_fail
;
30948 resultobj
= SWIG_From_int((int)(result
));
30956 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30957 PyObject
*resultobj
;
30958 wxWindow
*arg1
= (wxWindow
*) 0 ;
30959 wxString
*arg2
= 0 ;
30960 int *arg3
= (int *) 0 ;
30961 int *arg4
= (int *) 0 ;
30962 bool temp2
= false ;
30967 PyObject
* obj0
= 0 ;
30968 PyObject
* obj1
= 0 ;
30969 char *kwnames
[] = {
30970 (char *) "self",(char *) "string", NULL
30973 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30974 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
30976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30977 if (SWIG_arg_fail(1)) SWIG_fail
;
30979 arg2
= wxString_in_helper(obj1
);
30980 if (arg2
== NULL
) SWIG_fail
;
30984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30985 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
30987 wxPyEndAllowThreads(__tstate
);
30988 if (PyErr_Occurred()) SWIG_fail
;
30990 Py_INCREF(Py_None
); resultobj
= Py_None
;
30991 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30992 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30993 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30994 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
31009 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31010 PyObject
*resultobj
;
31011 wxWindow
*arg1
= (wxWindow
*) 0 ;
31012 wxString
*arg2
= 0 ;
31013 int *arg3
= (int *) 0 ;
31014 int *arg4
= (int *) 0 ;
31015 int *arg5
= (int *) 0 ;
31016 int *arg6
= (int *) 0 ;
31017 wxFont
*arg7
= (wxFont
*) NULL
;
31018 bool temp2
= false ;
31027 PyObject
* obj0
= 0 ;
31028 PyObject
* obj1
= 0 ;
31029 PyObject
* obj2
= 0 ;
31030 char *kwnames
[] = {
31031 (char *) "self",(char *) "string",(char *) "font", NULL
31034 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
31035 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
31036 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
31037 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
31038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31040 if (SWIG_arg_fail(1)) SWIG_fail
;
31042 arg2
= wxString_in_helper(obj1
);
31043 if (arg2
== NULL
) SWIG_fail
;
31047 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
31048 if (SWIG_arg_fail(7)) SWIG_fail
;
31051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31052 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
31054 wxPyEndAllowThreads(__tstate
);
31055 if (PyErr_Occurred()) SWIG_fail
;
31057 Py_INCREF(Py_None
); resultobj
= Py_None
;
31058 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
31059 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
31060 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
31061 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
31062 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
31063 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
31064 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
31065 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
31080 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31081 PyObject
*resultobj
;
31082 wxWindow
*arg1
= (wxWindow
*) 0 ;
31083 int *arg2
= (int *) 0 ;
31084 int *arg3
= (int *) 0 ;
31089 PyObject
* obj0
= 0 ;
31090 PyObject
* obj1
= 0 ;
31091 PyObject
* obj2
= 0 ;
31092 char *kwnames
[] = {
31093 (char *) "self",(char *) "x",(char *) "y", NULL
31096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31098 if (SWIG_arg_fail(1)) SWIG_fail
;
31100 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
31101 temp2
= SWIG_As_int(obj1
);
31102 if (SWIG_arg_fail(2)) SWIG_fail
;
31104 res2
= SWIG_NEWOBJ
;
31108 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
31109 temp3
= SWIG_As_int(obj2
);
31110 if (SWIG_arg_fail(3)) SWIG_fail
;
31112 res3
= SWIG_NEWOBJ
;
31116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31117 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
31119 wxPyEndAllowThreads(__tstate
);
31120 if (PyErr_Occurred()) SWIG_fail
;
31122 Py_INCREF(Py_None
); resultobj
= Py_None
;
31123 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
31124 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
31125 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
31126 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
31133 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31134 PyObject
*resultobj
;
31135 wxWindow
*arg1
= (wxWindow
*) 0 ;
31136 int *arg2
= (int *) 0 ;
31137 int *arg3
= (int *) 0 ;
31142 PyObject
* obj0
= 0 ;
31143 PyObject
* obj1
= 0 ;
31144 PyObject
* obj2
= 0 ;
31145 char *kwnames
[] = {
31146 (char *) "self",(char *) "x",(char *) "y", NULL
31149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31151 if (SWIG_arg_fail(1)) SWIG_fail
;
31153 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
31154 temp2
= SWIG_As_int(obj1
);
31155 if (SWIG_arg_fail(2)) SWIG_fail
;
31157 res2
= SWIG_NEWOBJ
;
31161 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
31162 temp3
= SWIG_As_int(obj2
);
31163 if (SWIG_arg_fail(3)) SWIG_fail
;
31165 res3
= SWIG_NEWOBJ
;
31169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31170 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
31172 wxPyEndAllowThreads(__tstate
);
31173 if (PyErr_Occurred()) SWIG_fail
;
31175 Py_INCREF(Py_None
); resultobj
= Py_None
;
31176 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
31177 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
31178 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
31179 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
31186 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31187 PyObject
*resultobj
;
31188 wxWindow
*arg1
= (wxWindow
*) 0 ;
31189 wxPoint
*arg2
= 0 ;
31192 PyObject
* obj0
= 0 ;
31193 PyObject
* obj1
= 0 ;
31194 char *kwnames
[] = {
31195 (char *) "self",(char *) "pt", NULL
31198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
31199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31200 if (SWIG_arg_fail(1)) SWIG_fail
;
31203 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31207 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
31209 wxPyEndAllowThreads(__tstate
);
31210 if (PyErr_Occurred()) SWIG_fail
;
31213 wxPoint
* resultptr
;
31214 resultptr
= new wxPoint((wxPoint
&)(result
));
31215 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
31223 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31224 PyObject
*resultobj
;
31225 wxWindow
*arg1
= (wxWindow
*) 0 ;
31226 wxPoint
*arg2
= 0 ;
31229 PyObject
* obj0
= 0 ;
31230 PyObject
* obj1
= 0 ;
31231 char *kwnames
[] = {
31232 (char *) "self",(char *) "pt", NULL
31235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
31236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31237 if (SWIG_arg_fail(1)) SWIG_fail
;
31240 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31244 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
31246 wxPyEndAllowThreads(__tstate
);
31247 if (PyErr_Occurred()) SWIG_fail
;
31250 wxPoint
* resultptr
;
31251 resultptr
= new wxPoint((wxPoint
&)(result
));
31252 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
31260 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31261 PyObject
*resultobj
;
31262 wxWindow
*arg1
= (wxWindow
*) 0 ;
31266 PyObject
* obj0
= 0 ;
31267 PyObject
* obj1
= 0 ;
31268 PyObject
* obj2
= 0 ;
31269 char *kwnames
[] = {
31270 (char *) "self",(char *) "x",(char *) "y", NULL
31273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31275 if (SWIG_arg_fail(1)) SWIG_fail
;
31277 arg2
= (int)(SWIG_As_int(obj1
));
31278 if (SWIG_arg_fail(2)) SWIG_fail
;
31281 arg3
= (int)(SWIG_As_int(obj2
));
31282 if (SWIG_arg_fail(3)) SWIG_fail
;
31285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31286 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
31288 wxPyEndAllowThreads(__tstate
);
31289 if (PyErr_Occurred()) SWIG_fail
;
31291 resultobj
= SWIG_From_int((result
));
31298 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31299 PyObject
*resultobj
;
31300 wxWindow
*arg1
= (wxWindow
*) 0 ;
31301 wxPoint
*arg2
= 0 ;
31304 PyObject
* obj0
= 0 ;
31305 PyObject
* obj1
= 0 ;
31306 char *kwnames
[] = {
31307 (char *) "self",(char *) "pt", NULL
31310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
31311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31312 if (SWIG_arg_fail(1)) SWIG_fail
;
31315 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31319 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
31321 wxPyEndAllowThreads(__tstate
);
31322 if (PyErr_Occurred()) SWIG_fail
;
31324 resultobj
= SWIG_From_int((result
));
31331 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
31332 PyObject
*resultobj
;
31333 wxWindow
*arg1
= (wxWindow
*) 0 ;
31336 PyObject
* obj0
= 0 ;
31337 PyObject
* obj1
= 0 ;
31339 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
31340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31341 if (SWIG_arg_fail(1)) SWIG_fail
;
31343 arg2
= (long)(SWIG_As_long(obj1
));
31344 if (SWIG_arg_fail(2)) SWIG_fail
;
31347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31348 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
31350 wxPyEndAllowThreads(__tstate
);
31351 if (PyErr_Occurred()) SWIG_fail
;
31353 resultobj
= SWIG_From_int((result
));
31360 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
31361 PyObject
*resultobj
;
31362 wxWindow
*arg1
= (wxWindow
*) 0 ;
31364 PyObject
* obj0
= 0 ;
31366 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
31367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31368 if (SWIG_arg_fail(1)) SWIG_fail
;
31370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31371 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
31373 wxPyEndAllowThreads(__tstate
);
31374 if (PyErr_Occurred()) SWIG_fail
;
31376 resultobj
= SWIG_From_int((result
));
31383 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
31388 argc
= PyObject_Length(args
);
31389 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
31390 argv
[ii
] = PyTuple_GetItem(args
,ii
);
31396 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
31404 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
31411 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
31419 _v
= SWIG_Check_long(argv
[1]);
31421 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
31426 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
31431 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31432 PyObject
*resultobj
;
31433 wxWindow
*arg1
= (wxWindow
*) 0 ;
31434 long arg2
= (long) wxUPDATE_UI_NONE
;
31435 PyObject
* obj0
= 0 ;
31436 PyObject
* obj1
= 0 ;
31437 char *kwnames
[] = {
31438 (char *) "self",(char *) "flags", NULL
31441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
31442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31443 if (SWIG_arg_fail(1)) SWIG_fail
;
31446 arg2
= (long)(SWIG_As_long(obj1
));
31447 if (SWIG_arg_fail(2)) SWIG_fail
;
31451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31452 (arg1
)->UpdateWindowUI(arg2
);
31454 wxPyEndAllowThreads(__tstate
);
31455 if (PyErr_Occurred()) SWIG_fail
;
31457 Py_INCREF(Py_None
); resultobj
= Py_None
;
31464 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31465 PyObject
*resultobj
;
31466 wxWindow
*arg1
= (wxWindow
*) 0 ;
31467 wxMenu
*arg2
= (wxMenu
*) 0 ;
31468 int arg3
= (int) -1 ;
31469 int arg4
= (int) -1 ;
31471 PyObject
* obj0
= 0 ;
31472 PyObject
* obj1
= 0 ;
31473 PyObject
* obj2
= 0 ;
31474 PyObject
* obj3
= 0 ;
31475 char *kwnames
[] = {
31476 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
31479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31481 if (SWIG_arg_fail(1)) SWIG_fail
;
31482 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31483 if (SWIG_arg_fail(2)) SWIG_fail
;
31486 arg3
= (int)(SWIG_As_int(obj2
));
31487 if (SWIG_arg_fail(3)) SWIG_fail
;
31492 arg4
= (int)(SWIG_As_int(obj3
));
31493 if (SWIG_arg_fail(4)) SWIG_fail
;
31497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31498 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
31500 wxPyEndAllowThreads(__tstate
);
31501 if (PyErr_Occurred()) SWIG_fail
;
31504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31512 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31513 PyObject
*resultobj
;
31514 wxWindow
*arg1
= (wxWindow
*) 0 ;
31515 wxMenu
*arg2
= (wxMenu
*) 0 ;
31516 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31517 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31520 PyObject
* obj0
= 0 ;
31521 PyObject
* obj1
= 0 ;
31522 PyObject
* obj2
= 0 ;
31523 char *kwnames
[] = {
31524 (char *) "self",(char *) "menu",(char *) "pos", NULL
31527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31529 if (SWIG_arg_fail(1)) SWIG_fail
;
31530 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31531 if (SWIG_arg_fail(2)) SWIG_fail
;
31535 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31540 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
31542 wxPyEndAllowThreads(__tstate
);
31543 if (PyErr_Occurred()) SWIG_fail
;
31546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31554 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31555 PyObject
*resultobj
;
31556 wxWindow
*arg1
= (wxWindow
*) 0 ;
31558 PyObject
* obj0
= 0 ;
31559 char *kwnames
[] = {
31560 (char *) "self", NULL
31563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
31564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31565 if (SWIG_arg_fail(1)) SWIG_fail
;
31567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31568 result
= (long)wxWindow_GetHandle(arg1
);
31570 wxPyEndAllowThreads(__tstate
);
31571 if (PyErr_Occurred()) SWIG_fail
;
31574 resultobj
= SWIG_From_long((long)(result
));
31582 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31583 PyObject
*resultobj
;
31584 wxWindow
*arg1
= (wxWindow
*) 0 ;
31586 PyObject
* obj0
= 0 ;
31587 PyObject
* obj1
= 0 ;
31588 char *kwnames
[] = {
31589 (char *) "self",(char *) "handle", NULL
31592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
31593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31594 if (SWIG_arg_fail(1)) SWIG_fail
;
31596 arg2
= (long)(SWIG_As_long(obj1
));
31597 if (SWIG_arg_fail(2)) SWIG_fail
;
31600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31601 wxWindow_AssociateHandle(arg1
,arg2
);
31603 wxPyEndAllowThreads(__tstate
);
31604 if (PyErr_Occurred()) SWIG_fail
;
31606 Py_INCREF(Py_None
); resultobj
= Py_None
;
31613 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31614 PyObject
*resultobj
;
31615 wxWindow
*arg1
= (wxWindow
*) 0 ;
31616 PyObject
* obj0
= 0 ;
31617 char *kwnames
[] = {
31618 (char *) "self", NULL
31621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
31622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31623 if (SWIG_arg_fail(1)) SWIG_fail
;
31625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31626 (arg1
)->DissociateHandle();
31628 wxPyEndAllowThreads(__tstate
);
31629 if (PyErr_Occurred()) SWIG_fail
;
31631 Py_INCREF(Py_None
); resultobj
= Py_None
;
31638 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31639 PyObject
*resultobj
;
31640 wxWindow
*arg1
= (wxWindow
*) 0 ;
31643 PyObject
* obj0
= 0 ;
31644 PyObject
* obj1
= 0 ;
31645 char *kwnames
[] = {
31646 (char *) "self",(char *) "orient", NULL
31649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
31650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31651 if (SWIG_arg_fail(1)) SWIG_fail
;
31653 arg2
= (int)(SWIG_As_int(obj1
));
31654 if (SWIG_arg_fail(2)) SWIG_fail
;
31657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31658 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
31660 wxPyEndAllowThreads(__tstate
);
31661 if (PyErr_Occurred()) SWIG_fail
;
31664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31672 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31673 PyObject
*resultobj
;
31674 wxWindow
*arg1
= (wxWindow
*) 0 ;
31679 bool arg6
= (bool) true ;
31680 PyObject
* obj0
= 0 ;
31681 PyObject
* obj1
= 0 ;
31682 PyObject
* obj2
= 0 ;
31683 PyObject
* obj3
= 0 ;
31684 PyObject
* obj4
= 0 ;
31685 PyObject
* obj5
= 0 ;
31686 char *kwnames
[] = {
31687 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
31690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31692 if (SWIG_arg_fail(1)) SWIG_fail
;
31694 arg2
= (int)(SWIG_As_int(obj1
));
31695 if (SWIG_arg_fail(2)) SWIG_fail
;
31698 arg3
= (int)(SWIG_As_int(obj2
));
31699 if (SWIG_arg_fail(3)) SWIG_fail
;
31702 arg4
= (int)(SWIG_As_int(obj3
));
31703 if (SWIG_arg_fail(4)) SWIG_fail
;
31706 arg5
= (int)(SWIG_As_int(obj4
));
31707 if (SWIG_arg_fail(5)) SWIG_fail
;
31711 arg6
= (bool)(SWIG_As_bool(obj5
));
31712 if (SWIG_arg_fail(6)) SWIG_fail
;
31716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31717 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
31719 wxPyEndAllowThreads(__tstate
);
31720 if (PyErr_Occurred()) SWIG_fail
;
31722 Py_INCREF(Py_None
); resultobj
= Py_None
;
31729 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31730 PyObject
*resultobj
;
31731 wxWindow
*arg1
= (wxWindow
*) 0 ;
31734 bool arg4
= (bool) true ;
31735 PyObject
* obj0
= 0 ;
31736 PyObject
* obj1
= 0 ;
31737 PyObject
* obj2
= 0 ;
31738 PyObject
* obj3
= 0 ;
31739 char *kwnames
[] = {
31740 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
31743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31745 if (SWIG_arg_fail(1)) SWIG_fail
;
31747 arg2
= (int)(SWIG_As_int(obj1
));
31748 if (SWIG_arg_fail(2)) SWIG_fail
;
31751 arg3
= (int)(SWIG_As_int(obj2
));
31752 if (SWIG_arg_fail(3)) SWIG_fail
;
31756 arg4
= (bool)(SWIG_As_bool(obj3
));
31757 if (SWIG_arg_fail(4)) SWIG_fail
;
31761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31762 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
31764 wxPyEndAllowThreads(__tstate
);
31765 if (PyErr_Occurred()) SWIG_fail
;
31767 Py_INCREF(Py_None
); resultobj
= Py_None
;
31774 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31775 PyObject
*resultobj
;
31776 wxWindow
*arg1
= (wxWindow
*) 0 ;
31779 PyObject
* obj0
= 0 ;
31780 PyObject
* obj1
= 0 ;
31781 char *kwnames
[] = {
31782 (char *) "self",(char *) "orientation", NULL
31785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
31786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31787 if (SWIG_arg_fail(1)) SWIG_fail
;
31789 arg2
= (int)(SWIG_As_int(obj1
));
31790 if (SWIG_arg_fail(2)) SWIG_fail
;
31793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31794 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
31796 wxPyEndAllowThreads(__tstate
);
31797 if (PyErr_Occurred()) SWIG_fail
;
31800 resultobj
= SWIG_From_int((int)(result
));
31808 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31809 PyObject
*resultobj
;
31810 wxWindow
*arg1
= (wxWindow
*) 0 ;
31813 PyObject
* obj0
= 0 ;
31814 PyObject
* obj1
= 0 ;
31815 char *kwnames
[] = {
31816 (char *) "self",(char *) "orientation", NULL
31819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
31820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31821 if (SWIG_arg_fail(1)) SWIG_fail
;
31823 arg2
= (int)(SWIG_As_int(obj1
));
31824 if (SWIG_arg_fail(2)) SWIG_fail
;
31827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31828 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
31830 wxPyEndAllowThreads(__tstate
);
31831 if (PyErr_Occurred()) SWIG_fail
;
31834 resultobj
= SWIG_From_int((int)(result
));
31842 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31843 PyObject
*resultobj
;
31844 wxWindow
*arg1
= (wxWindow
*) 0 ;
31847 PyObject
* obj0
= 0 ;
31848 PyObject
* obj1
= 0 ;
31849 char *kwnames
[] = {
31850 (char *) "self",(char *) "orientation", NULL
31853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
31854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31855 if (SWIG_arg_fail(1)) SWIG_fail
;
31857 arg2
= (int)(SWIG_As_int(obj1
));
31858 if (SWIG_arg_fail(2)) SWIG_fail
;
31861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31862 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
31864 wxPyEndAllowThreads(__tstate
);
31865 if (PyErr_Occurred()) SWIG_fail
;
31868 resultobj
= SWIG_From_int((int)(result
));
31876 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31877 PyObject
*resultobj
;
31878 wxWindow
*arg1
= (wxWindow
*) 0 ;
31881 wxRect
*arg4
= (wxRect
*) NULL
;
31882 PyObject
* obj0
= 0 ;
31883 PyObject
* obj1
= 0 ;
31884 PyObject
* obj2
= 0 ;
31885 PyObject
* obj3
= 0 ;
31886 char *kwnames
[] = {
31887 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
31890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31892 if (SWIG_arg_fail(1)) SWIG_fail
;
31894 arg2
= (int)(SWIG_As_int(obj1
));
31895 if (SWIG_arg_fail(2)) SWIG_fail
;
31898 arg3
= (int)(SWIG_As_int(obj2
));
31899 if (SWIG_arg_fail(3)) SWIG_fail
;
31902 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
31903 if (SWIG_arg_fail(4)) SWIG_fail
;
31906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31907 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
31909 wxPyEndAllowThreads(__tstate
);
31910 if (PyErr_Occurred()) SWIG_fail
;
31912 Py_INCREF(Py_None
); resultobj
= Py_None
;
31919 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31920 PyObject
*resultobj
;
31921 wxWindow
*arg1
= (wxWindow
*) 0 ;
31924 PyObject
* obj0
= 0 ;
31925 PyObject
* obj1
= 0 ;
31926 char *kwnames
[] = {
31927 (char *) "self",(char *) "lines", NULL
31930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
31931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31932 if (SWIG_arg_fail(1)) SWIG_fail
;
31934 arg2
= (int)(SWIG_As_int(obj1
));
31935 if (SWIG_arg_fail(2)) SWIG_fail
;
31938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31939 result
= (bool)(arg1
)->ScrollLines(arg2
);
31941 wxPyEndAllowThreads(__tstate
);
31942 if (PyErr_Occurred()) SWIG_fail
;
31945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31953 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31954 PyObject
*resultobj
;
31955 wxWindow
*arg1
= (wxWindow
*) 0 ;
31958 PyObject
* obj0
= 0 ;
31959 PyObject
* obj1
= 0 ;
31960 char *kwnames
[] = {
31961 (char *) "self",(char *) "pages", NULL
31964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
31965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31966 if (SWIG_arg_fail(1)) SWIG_fail
;
31968 arg2
= (int)(SWIG_As_int(obj1
));
31969 if (SWIG_arg_fail(2)) SWIG_fail
;
31972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31973 result
= (bool)(arg1
)->ScrollPages(arg2
);
31975 wxPyEndAllowThreads(__tstate
);
31976 if (PyErr_Occurred()) SWIG_fail
;
31979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31987 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31988 PyObject
*resultobj
;
31989 wxWindow
*arg1
= (wxWindow
*) 0 ;
31991 PyObject
* obj0
= 0 ;
31992 char *kwnames
[] = {
31993 (char *) "self", NULL
31996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
31997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31998 if (SWIG_arg_fail(1)) SWIG_fail
;
32000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32001 result
= (bool)(arg1
)->LineUp();
32003 wxPyEndAllowThreads(__tstate
);
32004 if (PyErr_Occurred()) SWIG_fail
;
32007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32015 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32016 PyObject
*resultobj
;
32017 wxWindow
*arg1
= (wxWindow
*) 0 ;
32019 PyObject
* obj0
= 0 ;
32020 char *kwnames
[] = {
32021 (char *) "self", NULL
32024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
32025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32026 if (SWIG_arg_fail(1)) SWIG_fail
;
32028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32029 result
= (bool)(arg1
)->LineDown();
32031 wxPyEndAllowThreads(__tstate
);
32032 if (PyErr_Occurred()) SWIG_fail
;
32035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32043 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32044 PyObject
*resultobj
;
32045 wxWindow
*arg1
= (wxWindow
*) 0 ;
32047 PyObject
* obj0
= 0 ;
32048 char *kwnames
[] = {
32049 (char *) "self", NULL
32052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
32053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32054 if (SWIG_arg_fail(1)) SWIG_fail
;
32056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32057 result
= (bool)(arg1
)->PageUp();
32059 wxPyEndAllowThreads(__tstate
);
32060 if (PyErr_Occurred()) SWIG_fail
;
32063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32071 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32072 PyObject
*resultobj
;
32073 wxWindow
*arg1
= (wxWindow
*) 0 ;
32075 PyObject
* obj0
= 0 ;
32076 char *kwnames
[] = {
32077 (char *) "self", NULL
32080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
32081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32082 if (SWIG_arg_fail(1)) SWIG_fail
;
32084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32085 result
= (bool)(arg1
)->PageDown();
32087 wxPyEndAllowThreads(__tstate
);
32088 if (PyErr_Occurred()) SWIG_fail
;
32091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32099 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32100 PyObject
*resultobj
;
32101 wxWindow
*arg1
= (wxWindow
*) 0 ;
32102 wxString
*arg2
= 0 ;
32103 bool temp2
= false ;
32104 PyObject
* obj0
= 0 ;
32105 PyObject
* obj1
= 0 ;
32106 char *kwnames
[] = {
32107 (char *) "self",(char *) "text", NULL
32110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
32111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32112 if (SWIG_arg_fail(1)) SWIG_fail
;
32114 arg2
= wxString_in_helper(obj1
);
32115 if (arg2
== NULL
) SWIG_fail
;
32119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32120 (arg1
)->SetHelpText((wxString
const &)*arg2
);
32122 wxPyEndAllowThreads(__tstate
);
32123 if (PyErr_Occurred()) SWIG_fail
;
32125 Py_INCREF(Py_None
); resultobj
= Py_None
;
32140 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32141 PyObject
*resultobj
;
32142 wxWindow
*arg1
= (wxWindow
*) 0 ;
32143 wxString
*arg2
= 0 ;
32144 bool temp2
= false ;
32145 PyObject
* obj0
= 0 ;
32146 PyObject
* obj1
= 0 ;
32147 char *kwnames
[] = {
32148 (char *) "self",(char *) "text", NULL
32151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
32152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32153 if (SWIG_arg_fail(1)) SWIG_fail
;
32155 arg2
= wxString_in_helper(obj1
);
32156 if (arg2
== NULL
) SWIG_fail
;
32160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32161 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
32163 wxPyEndAllowThreads(__tstate
);
32164 if (PyErr_Occurred()) SWIG_fail
;
32166 Py_INCREF(Py_None
); resultobj
= Py_None
;
32181 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32182 PyObject
*resultobj
;
32183 wxWindow
*arg1
= (wxWindow
*) 0 ;
32185 PyObject
* obj0
= 0 ;
32186 char *kwnames
[] = {
32187 (char *) "self", NULL
32190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
32191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32192 if (SWIG_arg_fail(1)) SWIG_fail
;
32194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32195 result
= ((wxWindow
const *)arg1
)->GetHelpText();
32197 wxPyEndAllowThreads(__tstate
);
32198 if (PyErr_Occurred()) SWIG_fail
;
32202 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32204 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32213 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32214 PyObject
*resultobj
;
32215 wxWindow
*arg1
= (wxWindow
*) 0 ;
32216 wxString
*arg2
= 0 ;
32217 bool temp2
= false ;
32218 PyObject
* obj0
= 0 ;
32219 PyObject
* obj1
= 0 ;
32220 char *kwnames
[] = {
32221 (char *) "self",(char *) "tip", NULL
32224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
32225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32226 if (SWIG_arg_fail(1)) SWIG_fail
;
32228 arg2
= wxString_in_helper(obj1
);
32229 if (arg2
== NULL
) SWIG_fail
;
32233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32234 (arg1
)->SetToolTip((wxString
const &)*arg2
);
32236 wxPyEndAllowThreads(__tstate
);
32237 if (PyErr_Occurred()) SWIG_fail
;
32239 Py_INCREF(Py_None
); resultobj
= Py_None
;
32254 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32255 PyObject
*resultobj
;
32256 wxWindow
*arg1
= (wxWindow
*) 0 ;
32257 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
32258 PyObject
* obj0
= 0 ;
32259 PyObject
* obj1
= 0 ;
32260 char *kwnames
[] = {
32261 (char *) "self",(char *) "tip", NULL
32264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
32265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32266 if (SWIG_arg_fail(1)) SWIG_fail
;
32267 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
32268 if (SWIG_arg_fail(2)) SWIG_fail
;
32270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32271 (arg1
)->SetToolTip(arg2
);
32273 wxPyEndAllowThreads(__tstate
);
32274 if (PyErr_Occurred()) SWIG_fail
;
32276 Py_INCREF(Py_None
); resultobj
= Py_None
;
32283 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32284 PyObject
*resultobj
;
32285 wxWindow
*arg1
= (wxWindow
*) 0 ;
32287 PyObject
* obj0
= 0 ;
32288 char *kwnames
[] = {
32289 (char *) "self", NULL
32292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
32293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32294 if (SWIG_arg_fail(1)) SWIG_fail
;
32296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32297 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
32299 wxPyEndAllowThreads(__tstate
);
32300 if (PyErr_Occurred()) SWIG_fail
;
32303 resultobj
= wxPyMake_wxObject(result
, 0);
32311 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32312 PyObject
*resultobj
;
32313 wxWindow
*arg1
= (wxWindow
*) 0 ;
32314 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
32315 PyObject
* obj0
= 0 ;
32316 PyObject
* obj1
= 0 ;
32317 char *kwnames
[] = {
32318 (char *) "self",(char *) "dropTarget", NULL
32321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
32322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32323 if (SWIG_arg_fail(1)) SWIG_fail
;
32324 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
32325 if (SWIG_arg_fail(2)) SWIG_fail
;
32327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32328 (arg1
)->SetDropTarget(arg2
);
32330 wxPyEndAllowThreads(__tstate
);
32331 if (PyErr_Occurred()) SWIG_fail
;
32333 Py_INCREF(Py_None
); resultobj
= Py_None
;
32340 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32341 PyObject
*resultobj
;
32342 wxWindow
*arg1
= (wxWindow
*) 0 ;
32343 wxPyDropTarget
*result
;
32344 PyObject
* obj0
= 0 ;
32345 char *kwnames
[] = {
32346 (char *) "self", NULL
32349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
32350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32351 if (SWIG_arg_fail(1)) SWIG_fail
;
32353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32354 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
32356 wxPyEndAllowThreads(__tstate
);
32357 if (PyErr_Occurred()) SWIG_fail
;
32359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
32366 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32367 PyObject
*resultobj
;
32368 wxWindow
*arg1
= (wxWindow
*) 0 ;
32370 PyObject
* obj0
= 0 ;
32371 PyObject
* obj1
= 0 ;
32372 char *kwnames
[] = {
32373 (char *) "self",(char *) "accept", NULL
32376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
32377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32378 if (SWIG_arg_fail(1)) SWIG_fail
;
32380 arg2
= (bool)(SWIG_As_bool(obj1
));
32381 if (SWIG_arg_fail(2)) SWIG_fail
;
32384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32385 wxWindow_DragAcceptFiles(arg1
,arg2
);
32387 wxPyEndAllowThreads(__tstate
);
32388 if (PyErr_Occurred()) SWIG_fail
;
32390 Py_INCREF(Py_None
); resultobj
= Py_None
;
32397 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32398 PyObject
*resultobj
;
32399 wxWindow
*arg1
= (wxWindow
*) 0 ;
32400 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
32401 PyObject
* obj0
= 0 ;
32402 PyObject
* obj1
= 0 ;
32403 char *kwnames
[] = {
32404 (char *) "self",(char *) "constraints", NULL
32407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
32408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32409 if (SWIG_arg_fail(1)) SWIG_fail
;
32410 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
32411 if (SWIG_arg_fail(2)) SWIG_fail
;
32413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32414 (arg1
)->SetConstraints(arg2
);
32416 wxPyEndAllowThreads(__tstate
);
32417 if (PyErr_Occurred()) SWIG_fail
;
32419 Py_INCREF(Py_None
); resultobj
= Py_None
;
32426 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32427 PyObject
*resultobj
;
32428 wxWindow
*arg1
= (wxWindow
*) 0 ;
32429 wxLayoutConstraints
*result
;
32430 PyObject
* obj0
= 0 ;
32431 char *kwnames
[] = {
32432 (char *) "self", NULL
32435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
32436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32437 if (SWIG_arg_fail(1)) SWIG_fail
;
32439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32440 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
32442 wxPyEndAllowThreads(__tstate
);
32443 if (PyErr_Occurred()) SWIG_fail
;
32445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
32452 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32453 PyObject
*resultobj
;
32454 wxWindow
*arg1
= (wxWindow
*) 0 ;
32456 PyObject
* obj0
= 0 ;
32457 PyObject
* obj1
= 0 ;
32458 char *kwnames
[] = {
32459 (char *) "self",(char *) "autoLayout", NULL
32462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
32463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32464 if (SWIG_arg_fail(1)) SWIG_fail
;
32466 arg2
= (bool)(SWIG_As_bool(obj1
));
32467 if (SWIG_arg_fail(2)) SWIG_fail
;
32470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32471 (arg1
)->SetAutoLayout(arg2
);
32473 wxPyEndAllowThreads(__tstate
);
32474 if (PyErr_Occurred()) SWIG_fail
;
32476 Py_INCREF(Py_None
); resultobj
= Py_None
;
32483 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32484 PyObject
*resultobj
;
32485 wxWindow
*arg1
= (wxWindow
*) 0 ;
32487 PyObject
* obj0
= 0 ;
32488 char *kwnames
[] = {
32489 (char *) "self", NULL
32492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
32493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32494 if (SWIG_arg_fail(1)) SWIG_fail
;
32496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32497 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
32499 wxPyEndAllowThreads(__tstate
);
32500 if (PyErr_Occurred()) SWIG_fail
;
32503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32511 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32512 PyObject
*resultobj
;
32513 wxWindow
*arg1
= (wxWindow
*) 0 ;
32515 PyObject
* obj0
= 0 ;
32516 char *kwnames
[] = {
32517 (char *) "self", NULL
32520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
32521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32522 if (SWIG_arg_fail(1)) SWIG_fail
;
32524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32525 result
= (bool)(arg1
)->Layout();
32527 wxPyEndAllowThreads(__tstate
);
32528 if (PyErr_Occurred()) SWIG_fail
;
32531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32539 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32540 PyObject
*resultobj
;
32541 wxWindow
*arg1
= (wxWindow
*) 0 ;
32542 wxSizer
*arg2
= (wxSizer
*) 0 ;
32543 bool arg3
= (bool) true ;
32544 PyObject
* obj0
= 0 ;
32545 PyObject
* obj1
= 0 ;
32546 PyObject
* obj2
= 0 ;
32547 char *kwnames
[] = {
32548 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
32551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32553 if (SWIG_arg_fail(1)) SWIG_fail
;
32554 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
32555 if (SWIG_arg_fail(2)) SWIG_fail
;
32558 arg3
= (bool)(SWIG_As_bool(obj2
));
32559 if (SWIG_arg_fail(3)) SWIG_fail
;
32563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32564 (arg1
)->SetSizer(arg2
,arg3
);
32566 wxPyEndAllowThreads(__tstate
);
32567 if (PyErr_Occurred()) SWIG_fail
;
32569 Py_INCREF(Py_None
); resultobj
= Py_None
;
32576 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32577 PyObject
*resultobj
;
32578 wxWindow
*arg1
= (wxWindow
*) 0 ;
32579 wxSizer
*arg2
= (wxSizer
*) 0 ;
32580 bool arg3
= (bool) true ;
32581 PyObject
* obj0
= 0 ;
32582 PyObject
* obj1
= 0 ;
32583 PyObject
* obj2
= 0 ;
32584 char *kwnames
[] = {
32585 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
32588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32590 if (SWIG_arg_fail(1)) SWIG_fail
;
32591 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
32592 if (SWIG_arg_fail(2)) SWIG_fail
;
32595 arg3
= (bool)(SWIG_As_bool(obj2
));
32596 if (SWIG_arg_fail(3)) SWIG_fail
;
32600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32601 (arg1
)->SetSizerAndFit(arg2
,arg3
);
32603 wxPyEndAllowThreads(__tstate
);
32604 if (PyErr_Occurred()) SWIG_fail
;
32606 Py_INCREF(Py_None
); resultobj
= Py_None
;
32613 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32614 PyObject
*resultobj
;
32615 wxWindow
*arg1
= (wxWindow
*) 0 ;
32617 PyObject
* obj0
= 0 ;
32618 char *kwnames
[] = {
32619 (char *) "self", NULL
32622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
32623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32624 if (SWIG_arg_fail(1)) SWIG_fail
;
32626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32627 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
32629 wxPyEndAllowThreads(__tstate
);
32630 if (PyErr_Occurred()) SWIG_fail
;
32633 resultobj
= wxPyMake_wxObject(result
, 0);
32641 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32642 PyObject
*resultobj
;
32643 wxWindow
*arg1
= (wxWindow
*) 0 ;
32644 wxSizer
*arg2
= (wxSizer
*) 0 ;
32645 PyObject
* obj0
= 0 ;
32646 PyObject
* obj1
= 0 ;
32647 char *kwnames
[] = {
32648 (char *) "self",(char *) "sizer", NULL
32651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
32652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32653 if (SWIG_arg_fail(1)) SWIG_fail
;
32654 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
32655 if (SWIG_arg_fail(2)) SWIG_fail
;
32657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32658 (arg1
)->SetContainingSizer(arg2
);
32660 wxPyEndAllowThreads(__tstate
);
32661 if (PyErr_Occurred()) SWIG_fail
;
32663 Py_INCREF(Py_None
); resultobj
= Py_None
;
32670 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32671 PyObject
*resultobj
;
32672 wxWindow
*arg1
= (wxWindow
*) 0 ;
32674 PyObject
* obj0
= 0 ;
32675 char *kwnames
[] = {
32676 (char *) "self", NULL
32679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
32680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32681 if (SWIG_arg_fail(1)) SWIG_fail
;
32683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32684 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
32686 wxPyEndAllowThreads(__tstate
);
32687 if (PyErr_Occurred()) SWIG_fail
;
32690 resultobj
= wxPyMake_wxObject(result
, 0);
32698 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32699 PyObject
*resultobj
;
32700 wxWindow
*arg1
= (wxWindow
*) 0 ;
32701 PyObject
* obj0
= 0 ;
32702 char *kwnames
[] = {
32703 (char *) "self", NULL
32706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
32707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32708 if (SWIG_arg_fail(1)) SWIG_fail
;
32710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32711 (arg1
)->InheritAttributes();
32713 wxPyEndAllowThreads(__tstate
);
32714 if (PyErr_Occurred()) SWIG_fail
;
32716 Py_INCREF(Py_None
); resultobj
= Py_None
;
32723 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32724 PyObject
*resultobj
;
32725 wxWindow
*arg1
= (wxWindow
*) 0 ;
32727 PyObject
* obj0
= 0 ;
32728 char *kwnames
[] = {
32729 (char *) "self", NULL
32732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32734 if (SWIG_arg_fail(1)) SWIG_fail
;
32736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32737 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
32739 wxPyEndAllowThreads(__tstate
);
32740 if (PyErr_Occurred()) SWIG_fail
;
32743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32751 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
32753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32754 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
32756 return Py_BuildValue((char *)"");
32758 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32759 PyObject
*resultobj
;
32761 wxWindow
*arg2
= (wxWindow
*) NULL
;
32763 PyObject
* obj0
= 0 ;
32764 PyObject
* obj1
= 0 ;
32765 char *kwnames
[] = {
32766 (char *) "id",(char *) "parent", NULL
32769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
32771 arg1
= (long)(SWIG_As_long(obj0
));
32772 if (SWIG_arg_fail(1)) SWIG_fail
;
32775 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32776 if (SWIG_arg_fail(2)) SWIG_fail
;
32779 if (!wxPyCheckForApp()) SWIG_fail
;
32780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32781 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
32783 wxPyEndAllowThreads(__tstate
);
32784 if (PyErr_Occurred()) SWIG_fail
;
32787 resultobj
= wxPyMake_wxObject(result
, 0);
32795 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32796 PyObject
*resultobj
;
32797 wxString
*arg1
= 0 ;
32798 wxWindow
*arg2
= (wxWindow
*) NULL
;
32800 bool temp1
= false ;
32801 PyObject
* obj0
= 0 ;
32802 PyObject
* obj1
= 0 ;
32803 char *kwnames
[] = {
32804 (char *) "name",(char *) "parent", NULL
32807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
32809 arg1
= wxString_in_helper(obj0
);
32810 if (arg1
== NULL
) SWIG_fail
;
32814 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32815 if (SWIG_arg_fail(2)) SWIG_fail
;
32818 if (!wxPyCheckForApp()) SWIG_fail
;
32819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32820 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32822 wxPyEndAllowThreads(__tstate
);
32823 if (PyErr_Occurred()) SWIG_fail
;
32826 resultobj
= wxPyMake_wxObject(result
, 0);
32842 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32843 PyObject
*resultobj
;
32844 wxString
*arg1
= 0 ;
32845 wxWindow
*arg2
= (wxWindow
*) NULL
;
32847 bool temp1
= false ;
32848 PyObject
* obj0
= 0 ;
32849 PyObject
* obj1
= 0 ;
32850 char *kwnames
[] = {
32851 (char *) "label",(char *) "parent", NULL
32854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32856 arg1
= wxString_in_helper(obj0
);
32857 if (arg1
== NULL
) SWIG_fail
;
32861 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32862 if (SWIG_arg_fail(2)) SWIG_fail
;
32865 if (!wxPyCheckForApp()) SWIG_fail
;
32866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32867 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32869 wxPyEndAllowThreads(__tstate
);
32870 if (PyErr_Occurred()) SWIG_fail
;
32873 resultobj
= wxPyMake_wxObject(result
, 0);
32889 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32890 PyObject
*resultobj
;
32891 wxWindow
*arg1
= (wxWindow
*) 0 ;
32892 unsigned long arg2
;
32894 PyObject
* obj0
= 0 ;
32895 PyObject
* obj1
= 0 ;
32896 char *kwnames
[] = {
32897 (char *) "parent",(char *) "_hWnd", NULL
32900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
32901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32902 if (SWIG_arg_fail(1)) SWIG_fail
;
32904 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
32905 if (SWIG_arg_fail(2)) SWIG_fail
;
32908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32909 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
32911 wxPyEndAllowThreads(__tstate
);
32912 if (PyErr_Occurred()) SWIG_fail
;
32915 resultobj
= wxPyMake_wxObject(result
, 0);
32923 static PyObject
*_wrap_GetTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32924 PyObject
*resultobj
;
32926 char *kwnames
[] = {
32930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetTopLevelWindows",kwnames
)) goto fail
;
32932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32933 result
= (PyObject
*)GetTopLevelWindows();
32935 wxPyEndAllowThreads(__tstate
);
32936 if (PyErr_Occurred()) SWIG_fail
;
32938 resultobj
= result
;
32945 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32946 PyObject
*resultobj
;
32947 wxValidator
*result
;
32948 char *kwnames
[] = {
32952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
32954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32955 result
= (wxValidator
*)new wxValidator();
32957 wxPyEndAllowThreads(__tstate
);
32958 if (PyErr_Occurred()) SWIG_fail
;
32960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
32967 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32968 PyObject
*resultobj
;
32969 wxValidator
*arg1
= (wxValidator
*) 0 ;
32970 wxValidator
*result
;
32971 PyObject
* obj0
= 0 ;
32972 char *kwnames
[] = {
32973 (char *) "self", NULL
32976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
32977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32978 if (SWIG_arg_fail(1)) SWIG_fail
;
32980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32981 result
= (wxValidator
*)(arg1
)->Clone();
32983 wxPyEndAllowThreads(__tstate
);
32984 if (PyErr_Occurred()) SWIG_fail
;
32987 resultobj
= wxPyMake_wxObject(result
, 0);
32995 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32996 PyObject
*resultobj
;
32997 wxValidator
*arg1
= (wxValidator
*) 0 ;
32998 wxWindow
*arg2
= (wxWindow
*) 0 ;
33000 PyObject
* obj0
= 0 ;
33001 PyObject
* obj1
= 0 ;
33002 char *kwnames
[] = {
33003 (char *) "self",(char *) "parent", NULL
33006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
33007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
33008 if (SWIG_arg_fail(1)) SWIG_fail
;
33009 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33010 if (SWIG_arg_fail(2)) SWIG_fail
;
33012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33013 result
= (bool)(arg1
)->Validate(arg2
);
33015 wxPyEndAllowThreads(__tstate
);
33016 if (PyErr_Occurred()) SWIG_fail
;
33019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33027 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33028 PyObject
*resultobj
;
33029 wxValidator
*arg1
= (wxValidator
*) 0 ;
33031 PyObject
* obj0
= 0 ;
33032 char *kwnames
[] = {
33033 (char *) "self", NULL
33036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
33037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
33038 if (SWIG_arg_fail(1)) SWIG_fail
;
33040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33041 result
= (bool)(arg1
)->TransferToWindow();
33043 wxPyEndAllowThreads(__tstate
);
33044 if (PyErr_Occurred()) SWIG_fail
;
33047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33055 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33056 PyObject
*resultobj
;
33057 wxValidator
*arg1
= (wxValidator
*) 0 ;
33059 PyObject
* obj0
= 0 ;
33060 char *kwnames
[] = {
33061 (char *) "self", NULL
33064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
33065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
33066 if (SWIG_arg_fail(1)) SWIG_fail
;
33068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33069 result
= (bool)(arg1
)->TransferFromWindow();
33071 wxPyEndAllowThreads(__tstate
);
33072 if (PyErr_Occurred()) SWIG_fail
;
33075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33083 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33084 PyObject
*resultobj
;
33085 wxValidator
*arg1
= (wxValidator
*) 0 ;
33087 PyObject
* obj0
= 0 ;
33088 char *kwnames
[] = {
33089 (char *) "self", NULL
33092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
33093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
33094 if (SWIG_arg_fail(1)) SWIG_fail
;
33096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33097 result
= (wxWindow
*)(arg1
)->GetWindow();
33099 wxPyEndAllowThreads(__tstate
);
33100 if (PyErr_Occurred()) SWIG_fail
;
33103 resultobj
= wxPyMake_wxObject(result
, 0);
33111 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33112 PyObject
*resultobj
;
33113 wxValidator
*arg1
= (wxValidator
*) 0 ;
33114 wxWindow
*arg2
= (wxWindow
*) 0 ;
33115 PyObject
* obj0
= 0 ;
33116 PyObject
* obj1
= 0 ;
33117 char *kwnames
[] = {
33118 (char *) "self",(char *) "window", NULL
33121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
33122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
33123 if (SWIG_arg_fail(1)) SWIG_fail
;
33124 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33125 if (SWIG_arg_fail(2)) SWIG_fail
;
33127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33128 (arg1
)->SetWindow(arg2
);
33130 wxPyEndAllowThreads(__tstate
);
33131 if (PyErr_Occurred()) SWIG_fail
;
33133 Py_INCREF(Py_None
); resultobj
= Py_None
;
33140 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33141 PyObject
*resultobj
;
33143 char *kwnames
[] = {
33147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
33149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33150 result
= (bool)wxValidator::IsSilent();
33152 wxPyEndAllowThreads(__tstate
);
33153 if (PyErr_Occurred()) SWIG_fail
;
33156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33164 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33165 PyObject
*resultobj
;
33166 int arg1
= (int) true ;
33167 PyObject
* obj0
= 0 ;
33168 char *kwnames
[] = {
33169 (char *) "doIt", NULL
33172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
33175 arg1
= (int)(SWIG_As_int(obj0
));
33176 if (SWIG_arg_fail(1)) SWIG_fail
;
33180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33181 wxValidator::SetBellOnError(arg1
);
33183 wxPyEndAllowThreads(__tstate
);
33184 if (PyErr_Occurred()) SWIG_fail
;
33186 Py_INCREF(Py_None
); resultobj
= Py_None
;
33193 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
33195 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33196 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
33198 return Py_BuildValue((char *)"");
33200 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33201 PyObject
*resultobj
;
33202 wxPyValidator
*result
;
33203 char *kwnames
[] = {
33207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
33209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33210 result
= (wxPyValidator
*)new wxPyValidator();
33212 wxPyEndAllowThreads(__tstate
);
33213 if (PyErr_Occurred()) SWIG_fail
;
33215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
33222 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33223 PyObject
*resultobj
;
33224 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
33225 PyObject
*arg2
= (PyObject
*) 0 ;
33226 PyObject
*arg3
= (PyObject
*) 0 ;
33227 int arg4
= (int) true ;
33228 PyObject
* obj0
= 0 ;
33229 PyObject
* obj1
= 0 ;
33230 PyObject
* obj2
= 0 ;
33231 PyObject
* obj3
= 0 ;
33232 char *kwnames
[] = {
33233 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
33236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
33238 if (SWIG_arg_fail(1)) SWIG_fail
;
33243 arg4
= (int)(SWIG_As_int(obj3
));
33244 if (SWIG_arg_fail(4)) SWIG_fail
;
33248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33249 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
33251 wxPyEndAllowThreads(__tstate
);
33252 if (PyErr_Occurred()) SWIG_fail
;
33254 Py_INCREF(Py_None
); resultobj
= Py_None
;
33261 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
33263 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33264 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
33266 return Py_BuildValue((char *)"");
33268 static int _wrap_DefaultValidator_set(PyObject
*) {
33269 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
33274 static PyObject
*_wrap_DefaultValidator_get(void) {
33277 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
33282 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33283 PyObject
*resultobj
;
33284 wxString
const &arg1_defvalue
= wxPyEmptyString
;
33285 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
33286 long arg2
= (long) 0 ;
33288 bool temp1
= false ;
33289 PyObject
* obj0
= 0 ;
33290 PyObject
* obj1
= 0 ;
33291 char *kwnames
[] = {
33292 (char *) "title",(char *) "style", NULL
33295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
33298 arg1
= wxString_in_helper(obj0
);
33299 if (arg1
== NULL
) SWIG_fail
;
33305 arg2
= (long)(SWIG_As_long(obj1
));
33306 if (SWIG_arg_fail(2)) SWIG_fail
;
33310 if (!wxPyCheckForApp()) SWIG_fail
;
33311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33312 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
33314 wxPyEndAllowThreads(__tstate
);
33315 if (PyErr_Occurred()) SWIG_fail
;
33317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
33332 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33333 PyObject
*resultobj
;
33334 wxMenu
*arg1
= (wxMenu
*) 0 ;
33336 wxString
*arg3
= 0 ;
33337 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33338 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33339 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
33340 wxMenuItem
*result
;
33341 bool temp3
= false ;
33342 bool temp4
= false ;
33343 PyObject
* obj0
= 0 ;
33344 PyObject
* obj1
= 0 ;
33345 PyObject
* obj2
= 0 ;
33346 PyObject
* obj3
= 0 ;
33347 PyObject
* obj4
= 0 ;
33348 char *kwnames
[] = {
33349 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33354 if (SWIG_arg_fail(1)) SWIG_fail
;
33356 arg2
= (int)(SWIG_As_int(obj1
));
33357 if (SWIG_arg_fail(2)) SWIG_fail
;
33360 arg3
= wxString_in_helper(obj2
);
33361 if (arg3
== NULL
) SWIG_fail
;
33366 arg4
= wxString_in_helper(obj3
);
33367 if (arg4
== NULL
) SWIG_fail
;
33373 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
33374 if (SWIG_arg_fail(5)) SWIG_fail
;
33378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33379 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
33381 wxPyEndAllowThreads(__tstate
);
33382 if (PyErr_Occurred()) SWIG_fail
;
33385 resultobj
= wxPyMake_wxObject(result
, 0);
33409 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33410 PyObject
*resultobj
;
33411 wxMenu
*arg1
= (wxMenu
*) 0 ;
33412 wxMenuItem
*result
;
33413 PyObject
* obj0
= 0 ;
33414 char *kwnames
[] = {
33415 (char *) "self", NULL
33418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
33419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33420 if (SWIG_arg_fail(1)) SWIG_fail
;
33422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33423 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
33425 wxPyEndAllowThreads(__tstate
);
33426 if (PyErr_Occurred()) SWIG_fail
;
33429 resultobj
= wxPyMake_wxObject(result
, 0);
33437 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33438 PyObject
*resultobj
;
33439 wxMenu
*arg1
= (wxMenu
*) 0 ;
33441 wxString
*arg3
= 0 ;
33442 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33443 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33444 wxMenuItem
*result
;
33445 bool temp3
= false ;
33446 bool temp4
= false ;
33447 PyObject
* obj0
= 0 ;
33448 PyObject
* obj1
= 0 ;
33449 PyObject
* obj2
= 0 ;
33450 PyObject
* obj3
= 0 ;
33451 char *kwnames
[] = {
33452 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33457 if (SWIG_arg_fail(1)) SWIG_fail
;
33459 arg2
= (int)(SWIG_As_int(obj1
));
33460 if (SWIG_arg_fail(2)) SWIG_fail
;
33463 arg3
= wxString_in_helper(obj2
);
33464 if (arg3
== NULL
) SWIG_fail
;
33469 arg4
= wxString_in_helper(obj3
);
33470 if (arg4
== NULL
) SWIG_fail
;
33475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33476 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33478 wxPyEndAllowThreads(__tstate
);
33479 if (PyErr_Occurred()) SWIG_fail
;
33482 resultobj
= wxPyMake_wxObject(result
, 0);
33506 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33507 PyObject
*resultobj
;
33508 wxMenu
*arg1
= (wxMenu
*) 0 ;
33510 wxString
*arg3
= 0 ;
33511 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33512 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33513 wxMenuItem
*result
;
33514 bool temp3
= false ;
33515 bool temp4
= false ;
33516 PyObject
* obj0
= 0 ;
33517 PyObject
* obj1
= 0 ;
33518 PyObject
* obj2
= 0 ;
33519 PyObject
* obj3
= 0 ;
33520 char *kwnames
[] = {
33521 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33526 if (SWIG_arg_fail(1)) SWIG_fail
;
33528 arg2
= (int)(SWIG_As_int(obj1
));
33529 if (SWIG_arg_fail(2)) SWIG_fail
;
33532 arg3
= wxString_in_helper(obj2
);
33533 if (arg3
== NULL
) SWIG_fail
;
33538 arg4
= wxString_in_helper(obj3
);
33539 if (arg4
== NULL
) SWIG_fail
;
33544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33545 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33547 wxPyEndAllowThreads(__tstate
);
33548 if (PyErr_Occurred()) SWIG_fail
;
33551 resultobj
= wxPyMake_wxObject(result
, 0);
33575 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33576 PyObject
*resultobj
;
33577 wxMenu
*arg1
= (wxMenu
*) 0 ;
33579 wxString
*arg3
= 0 ;
33580 wxMenu
*arg4
= (wxMenu
*) 0 ;
33581 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33582 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33583 wxMenuItem
*result
;
33584 bool temp3
= false ;
33585 bool temp5
= false ;
33586 PyObject
* obj0
= 0 ;
33587 PyObject
* obj1
= 0 ;
33588 PyObject
* obj2
= 0 ;
33589 PyObject
* obj3
= 0 ;
33590 PyObject
* obj4
= 0 ;
33591 char *kwnames
[] = {
33592 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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 arg3
= wxString_in_helper(obj2
);
33604 if (arg3
== NULL
) SWIG_fail
;
33607 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33608 if (SWIG_arg_fail(4)) SWIG_fail
;
33611 arg5
= wxString_in_helper(obj4
);
33612 if (arg5
== NULL
) SWIG_fail
;
33617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33618 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33620 wxPyEndAllowThreads(__tstate
);
33621 if (PyErr_Occurred()) SWIG_fail
;
33624 resultobj
= wxPyMake_wxObject(result
, 0);
33648 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33649 PyObject
*resultobj
;
33650 wxMenu
*arg1
= (wxMenu
*) 0 ;
33651 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33652 wxMenuItem
*result
;
33653 PyObject
* obj0
= 0 ;
33654 PyObject
* obj1
= 0 ;
33655 char *kwnames
[] = {
33656 (char *) "self",(char *) "item", NULL
33659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33661 if (SWIG_arg_fail(1)) SWIG_fail
;
33662 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33663 if (SWIG_arg_fail(2)) SWIG_fail
;
33665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33666 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
33668 wxPyEndAllowThreads(__tstate
);
33669 if (PyErr_Occurred()) SWIG_fail
;
33672 resultobj
= wxPyMake_wxObject(result
, 0);
33680 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33681 PyObject
*resultobj
;
33682 wxMenu
*arg1
= (wxMenu
*) 0 ;
33683 PyObject
* obj0
= 0 ;
33684 char *kwnames
[] = {
33685 (char *) "self", NULL
33688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
33689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33690 if (SWIG_arg_fail(1)) SWIG_fail
;
33692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33695 wxPyEndAllowThreads(__tstate
);
33696 if (PyErr_Occurred()) SWIG_fail
;
33698 Py_INCREF(Py_None
); resultobj
= Py_None
;
33705 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33706 PyObject
*resultobj
;
33707 wxMenu
*arg1
= (wxMenu
*) 0 ;
33709 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
33710 wxMenuItem
*result
;
33711 PyObject
* obj0
= 0 ;
33712 PyObject
* obj1
= 0 ;
33713 PyObject
* obj2
= 0 ;
33714 char *kwnames
[] = {
33715 (char *) "self",(char *) "pos",(char *) "item", NULL
33718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) 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
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33723 if (SWIG_arg_fail(2)) SWIG_fail
;
33725 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33726 if (SWIG_arg_fail(3)) SWIG_fail
;
33728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33729 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
33731 wxPyEndAllowThreads(__tstate
);
33732 if (PyErr_Occurred()) SWIG_fail
;
33735 resultobj
= wxPyMake_wxObject(result
, 0);
33743 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33744 PyObject
*resultobj
;
33745 wxMenu
*arg1
= (wxMenu
*) 0 ;
33748 wxString
*arg4
= 0 ;
33749 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33750 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33751 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
33752 wxMenuItem
*result
;
33753 bool temp4
= false ;
33754 bool temp5
= false ;
33755 PyObject
* obj0
= 0 ;
33756 PyObject
* obj1
= 0 ;
33757 PyObject
* obj2
= 0 ;
33758 PyObject
* obj3
= 0 ;
33759 PyObject
* obj4
= 0 ;
33760 PyObject
* obj5
= 0 ;
33761 char *kwnames
[] = {
33762 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33767 if (SWIG_arg_fail(1)) SWIG_fail
;
33769 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33770 if (SWIG_arg_fail(2)) SWIG_fail
;
33773 arg3
= (int)(SWIG_As_int(obj2
));
33774 if (SWIG_arg_fail(3)) SWIG_fail
;
33777 arg4
= wxString_in_helper(obj3
);
33778 if (arg4
== NULL
) SWIG_fail
;
33783 arg5
= wxString_in_helper(obj4
);
33784 if (arg5
== NULL
) SWIG_fail
;
33790 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
33791 if (SWIG_arg_fail(6)) SWIG_fail
;
33795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33796 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
33798 wxPyEndAllowThreads(__tstate
);
33799 if (PyErr_Occurred()) SWIG_fail
;
33802 resultobj
= wxPyMake_wxObject(result
, 0);
33826 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33827 PyObject
*resultobj
;
33828 wxMenu
*arg1
= (wxMenu
*) 0 ;
33830 wxMenuItem
*result
;
33831 PyObject
* obj0
= 0 ;
33832 PyObject
* obj1
= 0 ;
33833 char *kwnames
[] = {
33834 (char *) "self",(char *) "pos", NULL
33837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
33838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33839 if (SWIG_arg_fail(1)) SWIG_fail
;
33841 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33842 if (SWIG_arg_fail(2)) SWIG_fail
;
33845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33846 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
33848 wxPyEndAllowThreads(__tstate
);
33849 if (PyErr_Occurred()) SWIG_fail
;
33852 resultobj
= wxPyMake_wxObject(result
, 0);
33860 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33861 PyObject
*resultobj
;
33862 wxMenu
*arg1
= (wxMenu
*) 0 ;
33865 wxString
*arg4
= 0 ;
33866 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33867 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33868 wxMenuItem
*result
;
33869 bool temp4
= false ;
33870 bool temp5
= false ;
33871 PyObject
* obj0
= 0 ;
33872 PyObject
* obj1
= 0 ;
33873 PyObject
* obj2
= 0 ;
33874 PyObject
* obj3
= 0 ;
33875 PyObject
* obj4
= 0 ;
33876 char *kwnames
[] = {
33877 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33882 if (SWIG_arg_fail(1)) SWIG_fail
;
33884 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33885 if (SWIG_arg_fail(2)) SWIG_fail
;
33888 arg3
= (int)(SWIG_As_int(obj2
));
33889 if (SWIG_arg_fail(3)) SWIG_fail
;
33892 arg4
= wxString_in_helper(obj3
);
33893 if (arg4
== NULL
) SWIG_fail
;
33898 arg5
= wxString_in_helper(obj4
);
33899 if (arg5
== NULL
) SWIG_fail
;
33904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33905 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33907 wxPyEndAllowThreads(__tstate
);
33908 if (PyErr_Occurred()) SWIG_fail
;
33911 resultobj
= wxPyMake_wxObject(result
, 0);
33935 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33936 PyObject
*resultobj
;
33937 wxMenu
*arg1
= (wxMenu
*) 0 ;
33940 wxString
*arg4
= 0 ;
33941 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33942 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33943 wxMenuItem
*result
;
33944 bool temp4
= false ;
33945 bool temp5
= false ;
33946 PyObject
* obj0
= 0 ;
33947 PyObject
* obj1
= 0 ;
33948 PyObject
* obj2
= 0 ;
33949 PyObject
* obj3
= 0 ;
33950 PyObject
* obj4
= 0 ;
33951 char *kwnames
[] = {
33952 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33957 if (SWIG_arg_fail(1)) SWIG_fail
;
33959 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33960 if (SWIG_arg_fail(2)) SWIG_fail
;
33963 arg3
= (int)(SWIG_As_int(obj2
));
33964 if (SWIG_arg_fail(3)) SWIG_fail
;
33967 arg4
= wxString_in_helper(obj3
);
33968 if (arg4
== NULL
) SWIG_fail
;
33973 arg5
= wxString_in_helper(obj4
);
33974 if (arg5
== NULL
) SWIG_fail
;
33979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33980 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33982 wxPyEndAllowThreads(__tstate
);
33983 if (PyErr_Occurred()) SWIG_fail
;
33986 resultobj
= wxPyMake_wxObject(result
, 0);
34010 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34011 PyObject
*resultobj
;
34012 wxMenu
*arg1
= (wxMenu
*) 0 ;
34015 wxString
*arg4
= 0 ;
34016 wxMenu
*arg5
= (wxMenu
*) 0 ;
34017 wxString
const &arg6_defvalue
= wxPyEmptyString
;
34018 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
34019 wxMenuItem
*result
;
34020 bool temp4
= false ;
34021 bool temp6
= false ;
34022 PyObject
* obj0
= 0 ;
34023 PyObject
* obj1
= 0 ;
34024 PyObject
* obj2
= 0 ;
34025 PyObject
* obj3
= 0 ;
34026 PyObject
* obj4
= 0 ;
34027 PyObject
* obj5
= 0 ;
34028 char *kwnames
[] = {
34029 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
34032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34034 if (SWIG_arg_fail(1)) SWIG_fail
;
34036 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34037 if (SWIG_arg_fail(2)) SWIG_fail
;
34040 arg3
= (int)(SWIG_As_int(obj2
));
34041 if (SWIG_arg_fail(3)) SWIG_fail
;
34044 arg4
= wxString_in_helper(obj3
);
34045 if (arg4
== NULL
) SWIG_fail
;
34048 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34049 if (SWIG_arg_fail(5)) SWIG_fail
;
34052 arg6
= wxString_in_helper(obj5
);
34053 if (arg6
== NULL
) SWIG_fail
;
34058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34059 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
34061 wxPyEndAllowThreads(__tstate
);
34062 if (PyErr_Occurred()) SWIG_fail
;
34065 resultobj
= wxPyMake_wxObject(result
, 0);
34089 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34090 PyObject
*resultobj
;
34091 wxMenu
*arg1
= (wxMenu
*) 0 ;
34092 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
34093 wxMenuItem
*result
;
34094 PyObject
* obj0
= 0 ;
34095 PyObject
* obj1
= 0 ;
34096 char *kwnames
[] = {
34097 (char *) "self",(char *) "item", NULL
34100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34102 if (SWIG_arg_fail(1)) SWIG_fail
;
34103 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
34104 if (SWIG_arg_fail(2)) SWIG_fail
;
34106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34107 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
34109 wxPyEndAllowThreads(__tstate
);
34110 if (PyErr_Occurred()) SWIG_fail
;
34113 resultobj
= wxPyMake_wxObject(result
, 0);
34121 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34122 PyObject
*resultobj
;
34123 wxMenu
*arg1
= (wxMenu
*) 0 ;
34125 wxString
*arg3
= 0 ;
34126 wxString
const &arg4_defvalue
= wxPyEmptyString
;
34127 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
34128 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
34129 wxMenuItem
*result
;
34130 bool temp3
= false ;
34131 bool temp4
= false ;
34132 PyObject
* obj0
= 0 ;
34133 PyObject
* obj1
= 0 ;
34134 PyObject
* obj2
= 0 ;
34135 PyObject
* obj3
= 0 ;
34136 PyObject
* obj4
= 0 ;
34137 char *kwnames
[] = {
34138 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
34141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34143 if (SWIG_arg_fail(1)) SWIG_fail
;
34145 arg2
= (int)(SWIG_As_int(obj1
));
34146 if (SWIG_arg_fail(2)) SWIG_fail
;
34149 arg3
= wxString_in_helper(obj2
);
34150 if (arg3
== NULL
) SWIG_fail
;
34155 arg4
= wxString_in_helper(obj3
);
34156 if (arg4
== NULL
) SWIG_fail
;
34162 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
34163 if (SWIG_arg_fail(5)) SWIG_fail
;
34167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34168 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
34170 wxPyEndAllowThreads(__tstate
);
34171 if (PyErr_Occurred()) SWIG_fail
;
34174 resultobj
= wxPyMake_wxObject(result
, 0);
34198 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34199 PyObject
*resultobj
;
34200 wxMenu
*arg1
= (wxMenu
*) 0 ;
34201 wxMenuItem
*result
;
34202 PyObject
* obj0
= 0 ;
34203 char *kwnames
[] = {
34204 (char *) "self", NULL
34207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
34208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34209 if (SWIG_arg_fail(1)) SWIG_fail
;
34211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34212 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
34214 wxPyEndAllowThreads(__tstate
);
34215 if (PyErr_Occurred()) SWIG_fail
;
34218 resultobj
= wxPyMake_wxObject(result
, 0);
34226 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34227 PyObject
*resultobj
;
34228 wxMenu
*arg1
= (wxMenu
*) 0 ;
34230 wxString
*arg3
= 0 ;
34231 wxString
const &arg4_defvalue
= wxPyEmptyString
;
34232 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
34233 wxMenuItem
*result
;
34234 bool temp3
= false ;
34235 bool temp4
= false ;
34236 PyObject
* obj0
= 0 ;
34237 PyObject
* obj1
= 0 ;
34238 PyObject
* obj2
= 0 ;
34239 PyObject
* obj3
= 0 ;
34240 char *kwnames
[] = {
34241 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
34244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34246 if (SWIG_arg_fail(1)) SWIG_fail
;
34248 arg2
= (int)(SWIG_As_int(obj1
));
34249 if (SWIG_arg_fail(2)) SWIG_fail
;
34252 arg3
= wxString_in_helper(obj2
);
34253 if (arg3
== NULL
) SWIG_fail
;
34258 arg4
= wxString_in_helper(obj3
);
34259 if (arg4
== NULL
) SWIG_fail
;
34264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34265 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
34267 wxPyEndAllowThreads(__tstate
);
34268 if (PyErr_Occurred()) SWIG_fail
;
34271 resultobj
= wxPyMake_wxObject(result
, 0);
34295 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34296 PyObject
*resultobj
;
34297 wxMenu
*arg1
= (wxMenu
*) 0 ;
34299 wxString
*arg3
= 0 ;
34300 wxString
const &arg4_defvalue
= wxPyEmptyString
;
34301 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
34302 wxMenuItem
*result
;
34303 bool temp3
= false ;
34304 bool temp4
= false ;
34305 PyObject
* obj0
= 0 ;
34306 PyObject
* obj1
= 0 ;
34307 PyObject
* obj2
= 0 ;
34308 PyObject
* obj3
= 0 ;
34309 char *kwnames
[] = {
34310 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
34313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34315 if (SWIG_arg_fail(1)) SWIG_fail
;
34317 arg2
= (int)(SWIG_As_int(obj1
));
34318 if (SWIG_arg_fail(2)) SWIG_fail
;
34321 arg3
= wxString_in_helper(obj2
);
34322 if (arg3
== NULL
) SWIG_fail
;
34327 arg4
= wxString_in_helper(obj3
);
34328 if (arg4
== NULL
) SWIG_fail
;
34333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34334 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
34336 wxPyEndAllowThreads(__tstate
);
34337 if (PyErr_Occurred()) SWIG_fail
;
34340 resultobj
= wxPyMake_wxObject(result
, 0);
34364 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34365 PyObject
*resultobj
;
34366 wxMenu
*arg1
= (wxMenu
*) 0 ;
34368 wxString
*arg3
= 0 ;
34369 wxMenu
*arg4
= (wxMenu
*) 0 ;
34370 wxString
const &arg5_defvalue
= wxPyEmptyString
;
34371 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
34372 wxMenuItem
*result
;
34373 bool temp3
= false ;
34374 bool temp5
= false ;
34375 PyObject
* obj0
= 0 ;
34376 PyObject
* obj1
= 0 ;
34377 PyObject
* obj2
= 0 ;
34378 PyObject
* obj3
= 0 ;
34379 PyObject
* obj4
= 0 ;
34380 char *kwnames
[] = {
34381 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
34384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34386 if (SWIG_arg_fail(1)) SWIG_fail
;
34388 arg2
= (int)(SWIG_As_int(obj1
));
34389 if (SWIG_arg_fail(2)) SWIG_fail
;
34392 arg3
= wxString_in_helper(obj2
);
34393 if (arg3
== NULL
) SWIG_fail
;
34396 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34397 if (SWIG_arg_fail(4)) SWIG_fail
;
34400 arg5
= wxString_in_helper(obj4
);
34401 if (arg5
== NULL
) SWIG_fail
;
34406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34407 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
34409 wxPyEndAllowThreads(__tstate
);
34410 if (PyErr_Occurred()) SWIG_fail
;
34413 resultobj
= wxPyMake_wxObject(result
, 0);
34437 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34438 PyObject
*resultobj
;
34439 wxMenu
*arg1
= (wxMenu
*) 0 ;
34441 wxMenuItem
*result
;
34442 PyObject
* obj0
= 0 ;
34443 PyObject
* obj1
= 0 ;
34444 char *kwnames
[] = {
34445 (char *) "self",(char *) "id", NULL
34448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
34449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34450 if (SWIG_arg_fail(1)) SWIG_fail
;
34452 arg2
= (int)(SWIG_As_int(obj1
));
34453 if (SWIG_arg_fail(2)) SWIG_fail
;
34456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34457 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
34459 wxPyEndAllowThreads(__tstate
);
34460 if (PyErr_Occurred()) SWIG_fail
;
34463 resultobj
= wxPyMake_wxObject(result
, 0);
34471 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34472 PyObject
*resultobj
;
34473 wxMenu
*arg1
= (wxMenu
*) 0 ;
34474 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
34475 wxMenuItem
*result
;
34476 PyObject
* obj0
= 0 ;
34477 PyObject
* obj1
= 0 ;
34478 char *kwnames
[] = {
34479 (char *) "self",(char *) "item", NULL
34482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34484 if (SWIG_arg_fail(1)) SWIG_fail
;
34485 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
34486 if (SWIG_arg_fail(2)) SWIG_fail
;
34488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34489 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
34491 wxPyEndAllowThreads(__tstate
);
34492 if (PyErr_Occurred()) SWIG_fail
;
34495 resultobj
= wxPyMake_wxObject(result
, 0);
34503 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34504 PyObject
*resultobj
;
34505 wxMenu
*arg1
= (wxMenu
*) 0 ;
34508 PyObject
* obj0
= 0 ;
34509 PyObject
* obj1
= 0 ;
34510 char *kwnames
[] = {
34511 (char *) "self",(char *) "id", NULL
34514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
34515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34516 if (SWIG_arg_fail(1)) SWIG_fail
;
34518 arg2
= (int)(SWIG_As_int(obj1
));
34519 if (SWIG_arg_fail(2)) SWIG_fail
;
34522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34523 result
= (bool)(arg1
)->Delete(arg2
);
34525 wxPyEndAllowThreads(__tstate
);
34526 if (PyErr_Occurred()) SWIG_fail
;
34529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34537 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34538 PyObject
*resultobj
;
34539 wxMenu
*arg1
= (wxMenu
*) 0 ;
34540 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
34542 PyObject
* obj0
= 0 ;
34543 PyObject
* obj1
= 0 ;
34544 char *kwnames
[] = {
34545 (char *) "self",(char *) "item", NULL
34548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34550 if (SWIG_arg_fail(1)) SWIG_fail
;
34551 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
34552 if (SWIG_arg_fail(2)) SWIG_fail
;
34554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34555 result
= (bool)(arg1
)->Delete(arg2
);
34557 wxPyEndAllowThreads(__tstate
);
34558 if (PyErr_Occurred()) SWIG_fail
;
34561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34569 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34570 PyObject
*resultobj
;
34571 wxMenu
*arg1
= (wxMenu
*) 0 ;
34572 PyObject
* obj0
= 0 ;
34573 char *kwnames
[] = {
34574 (char *) "self", NULL
34577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
34578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34579 if (SWIG_arg_fail(1)) SWIG_fail
;
34581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34582 wxMenu_Destroy(arg1
);
34584 wxPyEndAllowThreads(__tstate
);
34585 if (PyErr_Occurred()) SWIG_fail
;
34587 Py_INCREF(Py_None
); resultobj
= Py_None
;
34594 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34595 PyObject
*resultobj
;
34596 wxMenu
*arg1
= (wxMenu
*) 0 ;
34599 PyObject
* obj0
= 0 ;
34600 PyObject
* obj1
= 0 ;
34601 char *kwnames
[] = {
34602 (char *) "self",(char *) "id", NULL
34605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
34606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34607 if (SWIG_arg_fail(1)) SWIG_fail
;
34609 arg2
= (int)(SWIG_As_int(obj1
));
34610 if (SWIG_arg_fail(2)) SWIG_fail
;
34613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34614 result
= (bool)(arg1
)->Destroy(arg2
);
34616 wxPyEndAllowThreads(__tstate
);
34617 if (PyErr_Occurred()) SWIG_fail
;
34620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34628 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34629 PyObject
*resultobj
;
34630 wxMenu
*arg1
= (wxMenu
*) 0 ;
34631 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
34633 PyObject
* obj0
= 0 ;
34634 PyObject
* obj1
= 0 ;
34635 char *kwnames
[] = {
34636 (char *) "self",(char *) "item", NULL
34639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34641 if (SWIG_arg_fail(1)) SWIG_fail
;
34642 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
34643 if (SWIG_arg_fail(2)) SWIG_fail
;
34645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34646 result
= (bool)(arg1
)->Destroy(arg2
);
34648 wxPyEndAllowThreads(__tstate
);
34649 if (PyErr_Occurred()) SWIG_fail
;
34652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34660 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34661 PyObject
*resultobj
;
34662 wxMenu
*arg1
= (wxMenu
*) 0 ;
34664 PyObject
* obj0
= 0 ;
34665 char *kwnames
[] = {
34666 (char *) "self", NULL
34669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
34670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34671 if (SWIG_arg_fail(1)) SWIG_fail
;
34673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34674 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
34676 wxPyEndAllowThreads(__tstate
);
34677 if (PyErr_Occurred()) SWIG_fail
;
34680 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34688 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34689 PyObject
*resultobj
;
34690 wxMenu
*arg1
= (wxMenu
*) 0 ;
34692 PyObject
* obj0
= 0 ;
34693 char *kwnames
[] = {
34694 (char *) "self", NULL
34697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
34698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34699 if (SWIG_arg_fail(1)) SWIG_fail
;
34701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34702 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
34704 wxPyEndAllowThreads(__tstate
);
34705 if (PyErr_Occurred()) SWIG_fail
;
34707 resultobj
= result
;
34714 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34715 PyObject
*resultobj
;
34716 wxMenu
*arg1
= (wxMenu
*) 0 ;
34717 wxString
*arg2
= 0 ;
34719 bool temp2
= false ;
34720 PyObject
* obj0
= 0 ;
34721 PyObject
* obj1
= 0 ;
34722 char *kwnames
[] = {
34723 (char *) "self",(char *) "item", NULL
34726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34728 if (SWIG_arg_fail(1)) SWIG_fail
;
34730 arg2
= wxString_in_helper(obj1
);
34731 if (arg2
== NULL
) SWIG_fail
;
34735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34736 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
34738 wxPyEndAllowThreads(__tstate
);
34739 if (PyErr_Occurred()) SWIG_fail
;
34742 resultobj
= SWIG_From_int((int)(result
));
34758 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34759 PyObject
*resultobj
;
34760 wxMenu
*arg1
= (wxMenu
*) 0 ;
34762 wxMenuItem
*result
;
34763 PyObject
* obj0
= 0 ;
34764 PyObject
* obj1
= 0 ;
34765 char *kwnames
[] = {
34766 (char *) "self",(char *) "id", NULL
34769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34771 if (SWIG_arg_fail(1)) SWIG_fail
;
34773 arg2
= (int)(SWIG_As_int(obj1
));
34774 if (SWIG_arg_fail(2)) SWIG_fail
;
34777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34778 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
34780 wxPyEndAllowThreads(__tstate
);
34781 if (PyErr_Occurred()) SWIG_fail
;
34784 resultobj
= wxPyMake_wxObject(result
, 0);
34792 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34793 PyObject
*resultobj
;
34794 wxMenu
*arg1
= (wxMenu
*) 0 ;
34796 wxMenuItem
*result
;
34797 PyObject
* obj0
= 0 ;
34798 PyObject
* obj1
= 0 ;
34799 char *kwnames
[] = {
34800 (char *) "self",(char *) "position", NULL
34803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
34804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34805 if (SWIG_arg_fail(1)) SWIG_fail
;
34807 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34808 if (SWIG_arg_fail(2)) SWIG_fail
;
34811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34812 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
34814 wxPyEndAllowThreads(__tstate
);
34815 if (PyErr_Occurred()) SWIG_fail
;
34818 resultobj
= wxPyMake_wxObject(result
, 0);
34826 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34827 PyObject
*resultobj
;
34828 wxMenu
*arg1
= (wxMenu
*) 0 ;
34831 PyObject
* obj0
= 0 ;
34832 PyObject
* obj1
= 0 ;
34833 PyObject
* obj2
= 0 ;
34834 char *kwnames
[] = {
34835 (char *) "self",(char *) "id",(char *) "enable", NULL
34838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34840 if (SWIG_arg_fail(1)) SWIG_fail
;
34842 arg2
= (int)(SWIG_As_int(obj1
));
34843 if (SWIG_arg_fail(2)) SWIG_fail
;
34846 arg3
= (bool)(SWIG_As_bool(obj2
));
34847 if (SWIG_arg_fail(3)) SWIG_fail
;
34850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34851 (arg1
)->Enable(arg2
,arg3
);
34853 wxPyEndAllowThreads(__tstate
);
34854 if (PyErr_Occurred()) SWIG_fail
;
34856 Py_INCREF(Py_None
); resultobj
= Py_None
;
34863 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34864 PyObject
*resultobj
;
34865 wxMenu
*arg1
= (wxMenu
*) 0 ;
34868 PyObject
* obj0
= 0 ;
34869 PyObject
* obj1
= 0 ;
34870 char *kwnames
[] = {
34871 (char *) "self",(char *) "id", NULL
34874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
34875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34876 if (SWIG_arg_fail(1)) SWIG_fail
;
34878 arg2
= (int)(SWIG_As_int(obj1
));
34879 if (SWIG_arg_fail(2)) SWIG_fail
;
34882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34883 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
34885 wxPyEndAllowThreads(__tstate
);
34886 if (PyErr_Occurred()) SWIG_fail
;
34889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34897 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34898 PyObject
*resultobj
;
34899 wxMenu
*arg1
= (wxMenu
*) 0 ;
34902 PyObject
* obj0
= 0 ;
34903 PyObject
* obj1
= 0 ;
34904 PyObject
* obj2
= 0 ;
34905 char *kwnames
[] = {
34906 (char *) "self",(char *) "id",(char *) "check", NULL
34909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34911 if (SWIG_arg_fail(1)) SWIG_fail
;
34913 arg2
= (int)(SWIG_As_int(obj1
));
34914 if (SWIG_arg_fail(2)) SWIG_fail
;
34917 arg3
= (bool)(SWIG_As_bool(obj2
));
34918 if (SWIG_arg_fail(3)) SWIG_fail
;
34921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34922 (arg1
)->Check(arg2
,arg3
);
34924 wxPyEndAllowThreads(__tstate
);
34925 if (PyErr_Occurred()) SWIG_fail
;
34927 Py_INCREF(Py_None
); resultobj
= Py_None
;
34934 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34935 PyObject
*resultobj
;
34936 wxMenu
*arg1
= (wxMenu
*) 0 ;
34939 PyObject
* obj0
= 0 ;
34940 PyObject
* obj1
= 0 ;
34941 char *kwnames
[] = {
34942 (char *) "self",(char *) "id", NULL
34945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
34946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34947 if (SWIG_arg_fail(1)) SWIG_fail
;
34949 arg2
= (int)(SWIG_As_int(obj1
));
34950 if (SWIG_arg_fail(2)) SWIG_fail
;
34953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34954 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
34956 wxPyEndAllowThreads(__tstate
);
34957 if (PyErr_Occurred()) SWIG_fail
;
34960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34968 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34969 PyObject
*resultobj
;
34970 wxMenu
*arg1
= (wxMenu
*) 0 ;
34972 wxString
*arg3
= 0 ;
34973 bool temp3
= false ;
34974 PyObject
* obj0
= 0 ;
34975 PyObject
* obj1
= 0 ;
34976 PyObject
* obj2
= 0 ;
34977 char *kwnames
[] = {
34978 (char *) "self",(char *) "id",(char *) "label", NULL
34981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34983 if (SWIG_arg_fail(1)) SWIG_fail
;
34985 arg2
= (int)(SWIG_As_int(obj1
));
34986 if (SWIG_arg_fail(2)) SWIG_fail
;
34989 arg3
= wxString_in_helper(obj2
);
34990 if (arg3
== NULL
) SWIG_fail
;
34994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34995 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
34997 wxPyEndAllowThreads(__tstate
);
34998 if (PyErr_Occurred()) SWIG_fail
;
35000 Py_INCREF(Py_None
); resultobj
= Py_None
;
35015 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35016 PyObject
*resultobj
;
35017 wxMenu
*arg1
= (wxMenu
*) 0 ;
35020 PyObject
* obj0
= 0 ;
35021 PyObject
* obj1
= 0 ;
35022 char *kwnames
[] = {
35023 (char *) "self",(char *) "id", NULL
35026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
35027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35028 if (SWIG_arg_fail(1)) SWIG_fail
;
35030 arg2
= (int)(SWIG_As_int(obj1
));
35031 if (SWIG_arg_fail(2)) SWIG_fail
;
35034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35035 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
35037 wxPyEndAllowThreads(__tstate
);
35038 if (PyErr_Occurred()) SWIG_fail
;
35042 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35044 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35053 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35054 PyObject
*resultobj
;
35055 wxMenu
*arg1
= (wxMenu
*) 0 ;
35057 wxString
*arg3
= 0 ;
35058 bool temp3
= false ;
35059 PyObject
* obj0
= 0 ;
35060 PyObject
* obj1
= 0 ;
35061 PyObject
* obj2
= 0 ;
35062 char *kwnames
[] = {
35063 (char *) "self",(char *) "id",(char *) "helpString", NULL
35066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35068 if (SWIG_arg_fail(1)) SWIG_fail
;
35070 arg2
= (int)(SWIG_As_int(obj1
));
35071 if (SWIG_arg_fail(2)) SWIG_fail
;
35074 arg3
= wxString_in_helper(obj2
);
35075 if (arg3
== NULL
) SWIG_fail
;
35079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35080 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
35082 wxPyEndAllowThreads(__tstate
);
35083 if (PyErr_Occurred()) SWIG_fail
;
35085 Py_INCREF(Py_None
); resultobj
= Py_None
;
35100 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35101 PyObject
*resultobj
;
35102 wxMenu
*arg1
= (wxMenu
*) 0 ;
35105 PyObject
* obj0
= 0 ;
35106 PyObject
* obj1
= 0 ;
35107 char *kwnames
[] = {
35108 (char *) "self",(char *) "id", NULL
35111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
35112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35113 if (SWIG_arg_fail(1)) SWIG_fail
;
35115 arg2
= (int)(SWIG_As_int(obj1
));
35116 if (SWIG_arg_fail(2)) SWIG_fail
;
35119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35120 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
35122 wxPyEndAllowThreads(__tstate
);
35123 if (PyErr_Occurred()) SWIG_fail
;
35127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35138 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35139 PyObject
*resultobj
;
35140 wxMenu
*arg1
= (wxMenu
*) 0 ;
35141 wxString
*arg2
= 0 ;
35142 bool temp2
= false ;
35143 PyObject
* obj0
= 0 ;
35144 PyObject
* obj1
= 0 ;
35145 char *kwnames
[] = {
35146 (char *) "self",(char *) "title", NULL
35149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
35150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35151 if (SWIG_arg_fail(1)) SWIG_fail
;
35153 arg2
= wxString_in_helper(obj1
);
35154 if (arg2
== NULL
) SWIG_fail
;
35158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35159 (arg1
)->SetTitle((wxString
const &)*arg2
);
35161 wxPyEndAllowThreads(__tstate
);
35162 if (PyErr_Occurred()) SWIG_fail
;
35164 Py_INCREF(Py_None
); resultobj
= Py_None
;
35179 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35180 PyObject
*resultobj
;
35181 wxMenu
*arg1
= (wxMenu
*) 0 ;
35183 PyObject
* obj0
= 0 ;
35184 char *kwnames
[] = {
35185 (char *) "self", NULL
35188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
35189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35190 if (SWIG_arg_fail(1)) SWIG_fail
;
35192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35193 result
= ((wxMenu
const *)arg1
)->GetTitle();
35195 wxPyEndAllowThreads(__tstate
);
35196 if (PyErr_Occurred()) SWIG_fail
;
35200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35211 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35212 PyObject
*resultobj
;
35213 wxMenu
*arg1
= (wxMenu
*) 0 ;
35214 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
35215 PyObject
* obj0
= 0 ;
35216 PyObject
* obj1
= 0 ;
35217 char *kwnames
[] = {
35218 (char *) "self",(char *) "handler", NULL
35221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
35222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35223 if (SWIG_arg_fail(1)) SWIG_fail
;
35224 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
35225 if (SWIG_arg_fail(2)) SWIG_fail
;
35227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35228 (arg1
)->SetEventHandler(arg2
);
35230 wxPyEndAllowThreads(__tstate
);
35231 if (PyErr_Occurred()) SWIG_fail
;
35233 Py_INCREF(Py_None
); resultobj
= Py_None
;
35240 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35241 PyObject
*resultobj
;
35242 wxMenu
*arg1
= (wxMenu
*) 0 ;
35243 wxEvtHandler
*result
;
35244 PyObject
* obj0
= 0 ;
35245 char *kwnames
[] = {
35246 (char *) "self", NULL
35249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
35250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35251 if (SWIG_arg_fail(1)) SWIG_fail
;
35253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35254 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
35256 wxPyEndAllowThreads(__tstate
);
35257 if (PyErr_Occurred()) SWIG_fail
;
35260 resultobj
= wxPyMake_wxObject(result
, 0);
35268 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35269 PyObject
*resultobj
;
35270 wxMenu
*arg1
= (wxMenu
*) 0 ;
35271 wxWindow
*arg2
= (wxWindow
*) 0 ;
35272 PyObject
* obj0
= 0 ;
35273 PyObject
* obj1
= 0 ;
35274 char *kwnames
[] = {
35275 (char *) "self",(char *) "win", NULL
35278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
35279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35280 if (SWIG_arg_fail(1)) SWIG_fail
;
35281 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35282 if (SWIG_arg_fail(2)) SWIG_fail
;
35284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35285 (arg1
)->SetInvokingWindow(arg2
);
35287 wxPyEndAllowThreads(__tstate
);
35288 if (PyErr_Occurred()) SWIG_fail
;
35290 Py_INCREF(Py_None
); resultobj
= Py_None
;
35297 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35298 PyObject
*resultobj
;
35299 wxMenu
*arg1
= (wxMenu
*) 0 ;
35301 PyObject
* obj0
= 0 ;
35302 char *kwnames
[] = {
35303 (char *) "self", NULL
35306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
35307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35308 if (SWIG_arg_fail(1)) SWIG_fail
;
35310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35311 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
35313 wxPyEndAllowThreads(__tstate
);
35314 if (PyErr_Occurred()) SWIG_fail
;
35317 resultobj
= wxPyMake_wxObject(result
, 0);
35325 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35326 PyObject
*resultobj
;
35327 wxMenu
*arg1
= (wxMenu
*) 0 ;
35329 PyObject
* obj0
= 0 ;
35330 char *kwnames
[] = {
35331 (char *) "self", NULL
35334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
35335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35336 if (SWIG_arg_fail(1)) SWIG_fail
;
35338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35339 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
35341 wxPyEndAllowThreads(__tstate
);
35342 if (PyErr_Occurred()) SWIG_fail
;
35345 resultobj
= SWIG_From_long((long)(result
));
35353 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35354 PyObject
*resultobj
;
35355 wxMenu
*arg1
= (wxMenu
*) 0 ;
35356 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
35357 PyObject
* obj0
= 0 ;
35358 PyObject
* obj1
= 0 ;
35359 char *kwnames
[] = {
35360 (char *) "self",(char *) "source", NULL
35363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
35364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35365 if (SWIG_arg_fail(1)) SWIG_fail
;
35367 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
35368 if (SWIG_arg_fail(2)) SWIG_fail
;
35371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35372 (arg1
)->UpdateUI(arg2
);
35374 wxPyEndAllowThreads(__tstate
);
35375 if (PyErr_Occurred()) SWIG_fail
;
35377 Py_INCREF(Py_None
); resultobj
= Py_None
;
35384 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35385 PyObject
*resultobj
;
35386 wxMenu
*arg1
= (wxMenu
*) 0 ;
35388 PyObject
* obj0
= 0 ;
35389 char *kwnames
[] = {
35390 (char *) "self", NULL
35393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
35394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35395 if (SWIG_arg_fail(1)) SWIG_fail
;
35397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35398 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
35400 wxPyEndAllowThreads(__tstate
);
35401 if (PyErr_Occurred()) SWIG_fail
;
35404 resultobj
= wxPyMake_wxObject(result
, 0);
35412 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35413 PyObject
*resultobj
;
35414 wxMenu
*arg1
= (wxMenu
*) 0 ;
35415 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
35416 PyObject
* obj0
= 0 ;
35417 PyObject
* obj1
= 0 ;
35418 char *kwnames
[] = {
35419 (char *) "self",(char *) "menubar", NULL
35422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35424 if (SWIG_arg_fail(1)) SWIG_fail
;
35425 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
35426 if (SWIG_arg_fail(2)) SWIG_fail
;
35428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35429 (arg1
)->Attach(arg2
);
35431 wxPyEndAllowThreads(__tstate
);
35432 if (PyErr_Occurred()) SWIG_fail
;
35434 Py_INCREF(Py_None
); resultobj
= Py_None
;
35441 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35442 PyObject
*resultobj
;
35443 wxMenu
*arg1
= (wxMenu
*) 0 ;
35444 PyObject
* obj0
= 0 ;
35445 char *kwnames
[] = {
35446 (char *) "self", NULL
35449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
35450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35451 if (SWIG_arg_fail(1)) SWIG_fail
;
35453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35456 wxPyEndAllowThreads(__tstate
);
35457 if (PyErr_Occurred()) SWIG_fail
;
35459 Py_INCREF(Py_None
); resultobj
= Py_None
;
35466 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35467 PyObject
*resultobj
;
35468 wxMenu
*arg1
= (wxMenu
*) 0 ;
35470 PyObject
* obj0
= 0 ;
35471 char *kwnames
[] = {
35472 (char *) "self", NULL
35475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
35476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35477 if (SWIG_arg_fail(1)) SWIG_fail
;
35479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35480 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
35482 wxPyEndAllowThreads(__tstate
);
35483 if (PyErr_Occurred()) SWIG_fail
;
35486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35494 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35495 PyObject
*resultobj
;
35496 wxMenu
*arg1
= (wxMenu
*) 0 ;
35497 wxMenu
*arg2
= (wxMenu
*) 0 ;
35498 PyObject
* obj0
= 0 ;
35499 PyObject
* obj1
= 0 ;
35500 char *kwnames
[] = {
35501 (char *) "self",(char *) "parent", NULL
35504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
35505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35506 if (SWIG_arg_fail(1)) SWIG_fail
;
35507 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35508 if (SWIG_arg_fail(2)) SWIG_fail
;
35510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35511 (arg1
)->SetParent(arg2
);
35513 wxPyEndAllowThreads(__tstate
);
35514 if (PyErr_Occurred()) SWIG_fail
;
35516 Py_INCREF(Py_None
); resultobj
= Py_None
;
35523 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35524 PyObject
*resultobj
;
35525 wxMenu
*arg1
= (wxMenu
*) 0 ;
35527 PyObject
* obj0
= 0 ;
35528 char *kwnames
[] = {
35529 (char *) "self", NULL
35532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
35533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35534 if (SWIG_arg_fail(1)) SWIG_fail
;
35536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35537 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
35539 wxPyEndAllowThreads(__tstate
);
35540 if (PyErr_Occurred()) SWIG_fail
;
35543 resultobj
= wxPyMake_wxObject(result
, 0);
35551 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
35553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35554 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
35556 return Py_BuildValue((char *)"");
35558 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35559 PyObject
*resultobj
;
35560 long arg1
= (long) 0 ;
35562 PyObject
* obj0
= 0 ;
35563 char *kwnames
[] = {
35564 (char *) "style", NULL
35567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
35570 arg1
= (long)(SWIG_As_long(obj0
));
35571 if (SWIG_arg_fail(1)) SWIG_fail
;
35575 if (!wxPyCheckForApp()) SWIG_fail
;
35576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35577 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
35579 wxPyEndAllowThreads(__tstate
);
35580 if (PyErr_Occurred()) SWIG_fail
;
35582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
35589 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35590 PyObject
*resultobj
;
35591 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35592 wxMenu
*arg2
= (wxMenu
*) 0 ;
35593 wxString
*arg3
= 0 ;
35595 bool temp3
= false ;
35596 PyObject
* obj0
= 0 ;
35597 PyObject
* obj1
= 0 ;
35598 PyObject
* obj2
= 0 ;
35599 char *kwnames
[] = {
35600 (char *) "self",(char *) "menu",(char *) "title", NULL
35603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35605 if (SWIG_arg_fail(1)) SWIG_fail
;
35606 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35607 if (SWIG_arg_fail(2)) SWIG_fail
;
35609 arg3
= wxString_in_helper(obj2
);
35610 if (arg3
== NULL
) SWIG_fail
;
35614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35615 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
35617 wxPyEndAllowThreads(__tstate
);
35618 if (PyErr_Occurred()) SWIG_fail
;
35621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35637 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35638 PyObject
*resultobj
;
35639 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35641 wxMenu
*arg3
= (wxMenu
*) 0 ;
35642 wxString
*arg4
= 0 ;
35644 bool temp4
= false ;
35645 PyObject
* obj0
= 0 ;
35646 PyObject
* obj1
= 0 ;
35647 PyObject
* obj2
= 0 ;
35648 PyObject
* obj3
= 0 ;
35649 char *kwnames
[] = {
35650 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35655 if (SWIG_arg_fail(1)) SWIG_fail
;
35657 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35658 if (SWIG_arg_fail(2)) SWIG_fail
;
35660 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35661 if (SWIG_arg_fail(3)) SWIG_fail
;
35663 arg4
= wxString_in_helper(obj3
);
35664 if (arg4
== NULL
) SWIG_fail
;
35668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35669 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
35671 wxPyEndAllowThreads(__tstate
);
35672 if (PyErr_Occurred()) SWIG_fail
;
35675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35691 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35692 PyObject
*resultobj
;
35693 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35695 PyObject
* obj0
= 0 ;
35696 char *kwnames
[] = {
35697 (char *) "self", NULL
35700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
35701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35702 if (SWIG_arg_fail(1)) SWIG_fail
;
35704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35705 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
35707 wxPyEndAllowThreads(__tstate
);
35708 if (PyErr_Occurred()) SWIG_fail
;
35711 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
35719 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35720 PyObject
*resultobj
;
35721 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35724 PyObject
* obj0
= 0 ;
35725 PyObject
* obj1
= 0 ;
35726 char *kwnames
[] = {
35727 (char *) "self",(char *) "pos", NULL
35730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35732 if (SWIG_arg_fail(1)) SWIG_fail
;
35734 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35735 if (SWIG_arg_fail(2)) SWIG_fail
;
35738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35739 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
35741 wxPyEndAllowThreads(__tstate
);
35742 if (PyErr_Occurred()) SWIG_fail
;
35745 resultobj
= wxPyMake_wxObject(result
, 0);
35753 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35754 PyObject
*resultobj
;
35755 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35757 wxMenu
*arg3
= (wxMenu
*) 0 ;
35758 wxString
*arg4
= 0 ;
35760 bool temp4
= false ;
35761 PyObject
* obj0
= 0 ;
35762 PyObject
* obj1
= 0 ;
35763 PyObject
* obj2
= 0 ;
35764 PyObject
* obj3
= 0 ;
35765 char *kwnames
[] = {
35766 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35771 if (SWIG_arg_fail(1)) SWIG_fail
;
35773 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35774 if (SWIG_arg_fail(2)) SWIG_fail
;
35776 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35777 if (SWIG_arg_fail(3)) SWIG_fail
;
35779 arg4
= wxString_in_helper(obj3
);
35780 if (arg4
== NULL
) SWIG_fail
;
35784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35785 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
35787 wxPyEndAllowThreads(__tstate
);
35788 if (PyErr_Occurred()) SWIG_fail
;
35791 resultobj
= wxPyMake_wxObject(result
, 0);
35807 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35808 PyObject
*resultobj
;
35809 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35812 PyObject
* obj0
= 0 ;
35813 PyObject
* obj1
= 0 ;
35814 char *kwnames
[] = {
35815 (char *) "self",(char *) "pos", NULL
35818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35820 if (SWIG_arg_fail(1)) SWIG_fail
;
35822 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35823 if (SWIG_arg_fail(2)) SWIG_fail
;
35826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35827 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
35829 wxPyEndAllowThreads(__tstate
);
35830 if (PyErr_Occurred()) SWIG_fail
;
35833 resultobj
= wxPyMake_wxObject(result
, 0);
35841 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35842 PyObject
*resultobj
;
35843 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35846 PyObject
* obj0
= 0 ;
35847 PyObject
* obj1
= 0 ;
35848 PyObject
* obj2
= 0 ;
35849 char *kwnames
[] = {
35850 (char *) "self",(char *) "pos",(char *) "enable", NULL
35853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35855 if (SWIG_arg_fail(1)) SWIG_fail
;
35857 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35858 if (SWIG_arg_fail(2)) SWIG_fail
;
35861 arg3
= (bool)(SWIG_As_bool(obj2
));
35862 if (SWIG_arg_fail(3)) SWIG_fail
;
35865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35866 (arg1
)->EnableTop(arg2
,arg3
);
35868 wxPyEndAllowThreads(__tstate
);
35869 if (PyErr_Occurred()) SWIG_fail
;
35871 Py_INCREF(Py_None
); resultobj
= Py_None
;
35878 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35879 PyObject
*resultobj
;
35880 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35883 PyObject
* obj0
= 0 ;
35884 PyObject
* obj1
= 0 ;
35885 char *kwnames
[] = {
35886 (char *) "self",(char *) "pos", NULL
35889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35891 if (SWIG_arg_fail(1)) SWIG_fail
;
35893 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35894 if (SWIG_arg_fail(2)) SWIG_fail
;
35897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35898 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
35900 wxPyEndAllowThreads(__tstate
);
35901 if (PyErr_Occurred()) SWIG_fail
;
35904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35912 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35913 PyObject
*resultobj
;
35914 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35916 wxString
*arg3
= 0 ;
35917 bool temp3
= false ;
35918 PyObject
* obj0
= 0 ;
35919 PyObject
* obj1
= 0 ;
35920 PyObject
* obj2
= 0 ;
35921 char *kwnames
[] = {
35922 (char *) "self",(char *) "pos",(char *) "label", NULL
35925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35927 if (SWIG_arg_fail(1)) SWIG_fail
;
35929 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35930 if (SWIG_arg_fail(2)) SWIG_fail
;
35933 arg3
= wxString_in_helper(obj2
);
35934 if (arg3
== NULL
) SWIG_fail
;
35938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35939 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
35941 wxPyEndAllowThreads(__tstate
);
35942 if (PyErr_Occurred()) SWIG_fail
;
35944 Py_INCREF(Py_None
); resultobj
= Py_None
;
35959 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35960 PyObject
*resultobj
;
35961 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35964 PyObject
* obj0
= 0 ;
35965 PyObject
* obj1
= 0 ;
35966 char *kwnames
[] = {
35967 (char *) "self",(char *) "pos", NULL
35970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35972 if (SWIG_arg_fail(1)) SWIG_fail
;
35974 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35975 if (SWIG_arg_fail(2)) SWIG_fail
;
35978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35979 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
35981 wxPyEndAllowThreads(__tstate
);
35982 if (PyErr_Occurred()) SWIG_fail
;
35986 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35988 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35997 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35998 PyObject
*resultobj
;
35999 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36000 wxString
*arg2
= 0 ;
36001 wxString
*arg3
= 0 ;
36003 bool temp2
= false ;
36004 bool temp3
= false ;
36005 PyObject
* obj0
= 0 ;
36006 PyObject
* obj1
= 0 ;
36007 PyObject
* obj2
= 0 ;
36008 char *kwnames
[] = {
36009 (char *) "self",(char *) "menu",(char *) "item", NULL
36012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36014 if (SWIG_arg_fail(1)) SWIG_fail
;
36016 arg2
= wxString_in_helper(obj1
);
36017 if (arg2
== NULL
) SWIG_fail
;
36021 arg3
= wxString_in_helper(obj2
);
36022 if (arg3
== NULL
) SWIG_fail
;
36026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36027 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
36029 wxPyEndAllowThreads(__tstate
);
36030 if (PyErr_Occurred()) SWIG_fail
;
36033 resultobj
= SWIG_From_int((int)(result
));
36057 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36058 PyObject
*resultobj
;
36059 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36061 wxMenuItem
*result
;
36062 PyObject
* obj0
= 0 ;
36063 PyObject
* obj1
= 0 ;
36064 char *kwnames
[] = {
36065 (char *) "self",(char *) "id", NULL
36068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
36069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36070 if (SWIG_arg_fail(1)) SWIG_fail
;
36072 arg2
= (int)(SWIG_As_int(obj1
));
36073 if (SWIG_arg_fail(2)) SWIG_fail
;
36076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36077 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
36079 wxPyEndAllowThreads(__tstate
);
36080 if (PyErr_Occurred()) SWIG_fail
;
36083 resultobj
= wxPyMake_wxObject(result
, 0);
36091 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36092 PyObject
*resultobj
;
36093 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36094 wxString
*arg2
= 0 ;
36096 bool temp2
= false ;
36097 PyObject
* obj0
= 0 ;
36098 PyObject
* obj1
= 0 ;
36099 char *kwnames
[] = {
36100 (char *) "self",(char *) "title", NULL
36103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36105 if (SWIG_arg_fail(1)) SWIG_fail
;
36107 arg2
= wxString_in_helper(obj1
);
36108 if (arg2
== NULL
) SWIG_fail
;
36112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36113 result
= (int)(arg1
)->FindMenu((wxString
const &)*arg2
);
36115 wxPyEndAllowThreads(__tstate
);
36116 if (PyErr_Occurred()) SWIG_fail
;
36119 resultobj
= SWIG_From_int((int)(result
));
36135 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36136 PyObject
*resultobj
;
36137 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36140 PyObject
* obj0
= 0 ;
36141 PyObject
* obj1
= 0 ;
36142 PyObject
* obj2
= 0 ;
36143 char *kwnames
[] = {
36144 (char *) "self",(char *) "id",(char *) "enable", NULL
36147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36149 if (SWIG_arg_fail(1)) SWIG_fail
;
36151 arg2
= (int)(SWIG_As_int(obj1
));
36152 if (SWIG_arg_fail(2)) SWIG_fail
;
36155 arg3
= (bool)(SWIG_As_bool(obj2
));
36156 if (SWIG_arg_fail(3)) SWIG_fail
;
36159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36160 (arg1
)->Enable(arg2
,arg3
);
36162 wxPyEndAllowThreads(__tstate
);
36163 if (PyErr_Occurred()) SWIG_fail
;
36165 Py_INCREF(Py_None
); resultobj
= Py_None
;
36172 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36173 PyObject
*resultobj
;
36174 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36177 PyObject
* obj0
= 0 ;
36178 PyObject
* obj1
= 0 ;
36179 PyObject
* obj2
= 0 ;
36180 char *kwnames
[] = {
36181 (char *) "self",(char *) "id",(char *) "check", NULL
36184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36186 if (SWIG_arg_fail(1)) SWIG_fail
;
36188 arg2
= (int)(SWIG_As_int(obj1
));
36189 if (SWIG_arg_fail(2)) SWIG_fail
;
36192 arg3
= (bool)(SWIG_As_bool(obj2
));
36193 if (SWIG_arg_fail(3)) SWIG_fail
;
36196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36197 (arg1
)->Check(arg2
,arg3
);
36199 wxPyEndAllowThreads(__tstate
);
36200 if (PyErr_Occurred()) SWIG_fail
;
36202 Py_INCREF(Py_None
); resultobj
= Py_None
;
36209 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36210 PyObject
*resultobj
;
36211 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36214 PyObject
* obj0
= 0 ;
36215 PyObject
* obj1
= 0 ;
36216 char *kwnames
[] = {
36217 (char *) "self",(char *) "id", NULL
36220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
36221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36222 if (SWIG_arg_fail(1)) SWIG_fail
;
36224 arg2
= (int)(SWIG_As_int(obj1
));
36225 if (SWIG_arg_fail(2)) SWIG_fail
;
36228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36229 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
36231 wxPyEndAllowThreads(__tstate
);
36232 if (PyErr_Occurred()) SWIG_fail
;
36235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36243 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36244 PyObject
*resultobj
;
36245 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36248 PyObject
* obj0
= 0 ;
36249 PyObject
* obj1
= 0 ;
36250 char *kwnames
[] = {
36251 (char *) "self",(char *) "id", NULL
36254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
36255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36256 if (SWIG_arg_fail(1)) SWIG_fail
;
36258 arg2
= (int)(SWIG_As_int(obj1
));
36259 if (SWIG_arg_fail(2)) SWIG_fail
;
36262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36263 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
36265 wxPyEndAllowThreads(__tstate
);
36266 if (PyErr_Occurred()) SWIG_fail
;
36269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36277 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36278 PyObject
*resultobj
;
36279 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36281 wxString
*arg3
= 0 ;
36282 bool temp3
= false ;
36283 PyObject
* obj0
= 0 ;
36284 PyObject
* obj1
= 0 ;
36285 PyObject
* obj2
= 0 ;
36286 char *kwnames
[] = {
36287 (char *) "self",(char *) "id",(char *) "label", NULL
36290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36292 if (SWIG_arg_fail(1)) SWIG_fail
;
36294 arg2
= (int)(SWIG_As_int(obj1
));
36295 if (SWIG_arg_fail(2)) SWIG_fail
;
36298 arg3
= wxString_in_helper(obj2
);
36299 if (arg3
== NULL
) SWIG_fail
;
36303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36304 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
36306 wxPyEndAllowThreads(__tstate
);
36307 if (PyErr_Occurred()) SWIG_fail
;
36309 Py_INCREF(Py_None
); resultobj
= Py_None
;
36324 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36325 PyObject
*resultobj
;
36326 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36329 PyObject
* obj0
= 0 ;
36330 PyObject
* obj1
= 0 ;
36331 char *kwnames
[] = {
36332 (char *) "self",(char *) "id", NULL
36335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
36336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36337 if (SWIG_arg_fail(1)) SWIG_fail
;
36339 arg2
= (int)(SWIG_As_int(obj1
));
36340 if (SWIG_arg_fail(2)) SWIG_fail
;
36343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36344 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
36346 wxPyEndAllowThreads(__tstate
);
36347 if (PyErr_Occurred()) SWIG_fail
;
36351 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36353 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36362 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36363 PyObject
*resultobj
;
36364 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36366 wxString
*arg3
= 0 ;
36367 bool temp3
= false ;
36368 PyObject
* obj0
= 0 ;
36369 PyObject
* obj1
= 0 ;
36370 PyObject
* obj2
= 0 ;
36371 char *kwnames
[] = {
36372 (char *) "self",(char *) "id",(char *) "helpString", NULL
36375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36377 if (SWIG_arg_fail(1)) SWIG_fail
;
36379 arg2
= (int)(SWIG_As_int(obj1
));
36380 if (SWIG_arg_fail(2)) SWIG_fail
;
36383 arg3
= wxString_in_helper(obj2
);
36384 if (arg3
== NULL
) SWIG_fail
;
36388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36389 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
36391 wxPyEndAllowThreads(__tstate
);
36392 if (PyErr_Occurred()) SWIG_fail
;
36394 Py_INCREF(Py_None
); resultobj
= Py_None
;
36409 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36410 PyObject
*resultobj
;
36411 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36414 PyObject
* obj0
= 0 ;
36415 PyObject
* obj1
= 0 ;
36416 char *kwnames
[] = {
36417 (char *) "self",(char *) "id", NULL
36420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
36421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36422 if (SWIG_arg_fail(1)) SWIG_fail
;
36424 arg2
= (int)(SWIG_As_int(obj1
));
36425 if (SWIG_arg_fail(2)) SWIG_fail
;
36428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36429 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
36431 wxPyEndAllowThreads(__tstate
);
36432 if (PyErr_Occurred()) SWIG_fail
;
36436 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36438 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36447 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36448 PyObject
*resultobj
;
36449 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36451 PyObject
* obj0
= 0 ;
36452 char *kwnames
[] = {
36453 (char *) "self", NULL
36456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
36457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36458 if (SWIG_arg_fail(1)) SWIG_fail
;
36460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36461 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
36463 wxPyEndAllowThreads(__tstate
);
36464 if (PyErr_Occurred()) SWIG_fail
;
36467 resultobj
= wxPyMake_wxObject(result
, 0);
36475 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36476 PyObject
*resultobj
;
36477 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36479 PyObject
* obj0
= 0 ;
36480 char *kwnames
[] = {
36481 (char *) "self", NULL
36484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
36485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36486 if (SWIG_arg_fail(1)) SWIG_fail
;
36488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36489 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
36491 wxPyEndAllowThreads(__tstate
);
36492 if (PyErr_Occurred()) SWIG_fail
;
36495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36503 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36504 PyObject
*resultobj
;
36505 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36506 wxFrame
*arg2
= (wxFrame
*) 0 ;
36507 PyObject
* obj0
= 0 ;
36508 PyObject
* obj1
= 0 ;
36509 char *kwnames
[] = {
36510 (char *) "self",(char *) "frame", NULL
36513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
36514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36515 if (SWIG_arg_fail(1)) SWIG_fail
;
36516 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
36517 if (SWIG_arg_fail(2)) SWIG_fail
;
36519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36520 (arg1
)->Attach(arg2
);
36522 wxPyEndAllowThreads(__tstate
);
36523 if (PyErr_Occurred()) SWIG_fail
;
36525 Py_INCREF(Py_None
); resultobj
= Py_None
;
36532 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36533 PyObject
*resultobj
;
36534 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36535 PyObject
* obj0
= 0 ;
36536 char *kwnames
[] = {
36537 (char *) "self", NULL
36540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
36541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36542 if (SWIG_arg_fail(1)) SWIG_fail
;
36544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36547 wxPyEndAllowThreads(__tstate
);
36548 if (PyErr_Occurred()) SWIG_fail
;
36550 Py_INCREF(Py_None
); resultobj
= Py_None
;
36557 static PyObject
*_wrap_MenuBar_SetAutoWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36558 PyObject
*resultobj
;
36560 PyObject
* obj0
= 0 ;
36561 char *kwnames
[] = {
36562 (char *) "enable", NULL
36565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_SetAutoWindowMenu",kwnames
,&obj0
)) goto fail
;
36567 arg1
= (bool)(SWIG_As_bool(obj0
));
36568 if (SWIG_arg_fail(1)) SWIG_fail
;
36571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36572 MenuBar_SetAutoWindowMenu(arg1
);
36574 wxPyEndAllowThreads(__tstate
);
36575 if (PyErr_Occurred()) SWIG_fail
;
36577 Py_INCREF(Py_None
); resultobj
= Py_None
;
36584 static PyObject
*_wrap_MenuBar_GetAutoWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36585 PyObject
*resultobj
;
36587 char *kwnames
[] = {
36591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuBar_GetAutoWindowMenu",kwnames
)) goto fail
;
36593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36594 result
= (bool)MenuBar_GetAutoWindowMenu();
36596 wxPyEndAllowThreads(__tstate
);
36597 if (PyErr_Occurred()) SWIG_fail
;
36600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36608 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
36610 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36611 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
36613 return Py_BuildValue((char *)"");
36615 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36616 PyObject
*resultobj
;
36617 wxMenu
*arg1
= (wxMenu
*) NULL
;
36618 int arg2
= (int) wxID_ANY
;
36619 wxString
const &arg3_defvalue
= wxPyEmptyString
;
36620 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
36621 wxString
const &arg4_defvalue
= wxPyEmptyString
;
36622 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
36623 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
36624 wxMenu
*arg6
= (wxMenu
*) NULL
;
36625 wxMenuItem
*result
;
36626 bool temp3
= false ;
36627 bool temp4
= false ;
36628 PyObject
* obj0
= 0 ;
36629 PyObject
* obj1
= 0 ;
36630 PyObject
* obj2
= 0 ;
36631 PyObject
* obj3
= 0 ;
36632 PyObject
* obj4
= 0 ;
36633 PyObject
* obj5
= 0 ;
36634 char *kwnames
[] = {
36635 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
36638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36641 if (SWIG_arg_fail(1)) SWIG_fail
;
36645 arg2
= (int)(SWIG_As_int(obj1
));
36646 if (SWIG_arg_fail(2)) SWIG_fail
;
36651 arg3
= wxString_in_helper(obj2
);
36652 if (arg3
== NULL
) SWIG_fail
;
36658 arg4
= wxString_in_helper(obj3
);
36659 if (arg4
== NULL
) SWIG_fail
;
36665 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
36666 if (SWIG_arg_fail(5)) SWIG_fail
;
36670 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36671 if (SWIG_arg_fail(6)) SWIG_fail
;
36674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36675 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
36677 wxPyEndAllowThreads(__tstate
);
36678 if (PyErr_Occurred()) SWIG_fail
;
36681 resultobj
= wxPyMake_wxObject(result
, 1);
36705 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36706 PyObject
*resultobj
;
36707 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36709 PyObject
* obj0
= 0 ;
36710 char *kwnames
[] = {
36711 (char *) "self", NULL
36714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
36715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36716 if (SWIG_arg_fail(1)) SWIG_fail
;
36718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36719 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
36721 wxPyEndAllowThreads(__tstate
);
36722 if (PyErr_Occurred()) SWIG_fail
;
36725 resultobj
= wxPyMake_wxObject(result
, 0);
36733 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36734 PyObject
*resultobj
;
36735 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36736 wxMenu
*arg2
= (wxMenu
*) 0 ;
36737 PyObject
* obj0
= 0 ;
36738 PyObject
* obj1
= 0 ;
36739 char *kwnames
[] = {
36740 (char *) "self",(char *) "menu", NULL
36743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36745 if (SWIG_arg_fail(1)) SWIG_fail
;
36746 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36747 if (SWIG_arg_fail(2)) SWIG_fail
;
36749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36750 (arg1
)->SetMenu(arg2
);
36752 wxPyEndAllowThreads(__tstate
);
36753 if (PyErr_Occurred()) SWIG_fail
;
36755 Py_INCREF(Py_None
); resultobj
= Py_None
;
36762 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36763 PyObject
*resultobj
;
36764 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36766 PyObject
* obj0
= 0 ;
36767 PyObject
* obj1
= 0 ;
36768 char *kwnames
[] = {
36769 (char *) "self",(char *) "id", NULL
36772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
36773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36774 if (SWIG_arg_fail(1)) SWIG_fail
;
36776 arg2
= (int)(SWIG_As_int(obj1
));
36777 if (SWIG_arg_fail(2)) SWIG_fail
;
36780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36781 (arg1
)->SetId(arg2
);
36783 wxPyEndAllowThreads(__tstate
);
36784 if (PyErr_Occurred()) SWIG_fail
;
36786 Py_INCREF(Py_None
); resultobj
= Py_None
;
36793 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36794 PyObject
*resultobj
;
36795 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36797 PyObject
* obj0
= 0 ;
36798 char *kwnames
[] = {
36799 (char *) "self", NULL
36802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
36803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36804 if (SWIG_arg_fail(1)) SWIG_fail
;
36806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36807 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
36809 wxPyEndAllowThreads(__tstate
);
36810 if (PyErr_Occurred()) SWIG_fail
;
36813 resultobj
= SWIG_From_int((int)(result
));
36821 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36822 PyObject
*resultobj
;
36823 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36825 PyObject
* obj0
= 0 ;
36826 char *kwnames
[] = {
36827 (char *) "self", NULL
36830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
36831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36832 if (SWIG_arg_fail(1)) SWIG_fail
;
36834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36835 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
36837 wxPyEndAllowThreads(__tstate
);
36838 if (PyErr_Occurred()) SWIG_fail
;
36841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36849 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36850 PyObject
*resultobj
;
36851 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36852 wxString
*arg2
= 0 ;
36853 bool temp2
= false ;
36854 PyObject
* obj0
= 0 ;
36855 PyObject
* obj1
= 0 ;
36856 char *kwnames
[] = {
36857 (char *) "self",(char *) "str", NULL
36860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
36861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36862 if (SWIG_arg_fail(1)) SWIG_fail
;
36864 arg2
= wxString_in_helper(obj1
);
36865 if (arg2
== NULL
) SWIG_fail
;
36869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36870 (arg1
)->SetText((wxString
const &)*arg2
);
36872 wxPyEndAllowThreads(__tstate
);
36873 if (PyErr_Occurred()) SWIG_fail
;
36875 Py_INCREF(Py_None
); resultobj
= Py_None
;
36890 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36891 PyObject
*resultobj
;
36892 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36894 PyObject
* obj0
= 0 ;
36895 char *kwnames
[] = {
36896 (char *) "self", NULL
36899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
36900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36901 if (SWIG_arg_fail(1)) SWIG_fail
;
36903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36904 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
36906 wxPyEndAllowThreads(__tstate
);
36907 if (PyErr_Occurred()) SWIG_fail
;
36911 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36913 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36922 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36923 PyObject
*resultobj
;
36924 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36926 PyObject
* obj0
= 0 ;
36927 char *kwnames
[] = {
36928 (char *) "self", NULL
36931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
36932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36933 if (SWIG_arg_fail(1)) SWIG_fail
;
36935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36937 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
36938 result
= (wxString
*) &_result_ref
;
36941 wxPyEndAllowThreads(__tstate
);
36942 if (PyErr_Occurred()) SWIG_fail
;
36946 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36948 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36957 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36958 PyObject
*resultobj
;
36959 wxString
*arg1
= 0 ;
36961 bool temp1
= false ;
36962 PyObject
* obj0
= 0 ;
36963 char *kwnames
[] = {
36964 (char *) "text", NULL
36967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
36969 arg1
= wxString_in_helper(obj0
);
36970 if (arg1
== NULL
) SWIG_fail
;
36974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36975 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
36977 wxPyEndAllowThreads(__tstate
);
36978 if (PyErr_Occurred()) SWIG_fail
;
36982 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36984 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37001 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37002 PyObject
*resultobj
;
37003 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37005 PyObject
* obj0
= 0 ;
37006 char *kwnames
[] = {
37007 (char *) "self", NULL
37010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
37011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37012 if (SWIG_arg_fail(1)) SWIG_fail
;
37014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37015 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
37017 wxPyEndAllowThreads(__tstate
);
37018 if (PyErr_Occurred()) SWIG_fail
;
37020 resultobj
= SWIG_From_int((result
));
37027 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37028 PyObject
*resultobj
;
37029 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37031 PyObject
* obj0
= 0 ;
37032 PyObject
* obj1
= 0 ;
37033 char *kwnames
[] = {
37034 (char *) "self",(char *) "kind", NULL
37037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
37038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37039 if (SWIG_arg_fail(1)) SWIG_fail
;
37041 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
37042 if (SWIG_arg_fail(2)) SWIG_fail
;
37045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37046 (arg1
)->SetKind((wxItemKind
)arg2
);
37048 wxPyEndAllowThreads(__tstate
);
37049 if (PyErr_Occurred()) SWIG_fail
;
37051 Py_INCREF(Py_None
); resultobj
= Py_None
;
37058 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37059 PyObject
*resultobj
;
37060 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37062 PyObject
* obj0
= 0 ;
37063 PyObject
* obj1
= 0 ;
37064 char *kwnames
[] = {
37065 (char *) "self",(char *) "checkable", NULL
37068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
37069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37070 if (SWIG_arg_fail(1)) SWIG_fail
;
37072 arg2
= (bool)(SWIG_As_bool(obj1
));
37073 if (SWIG_arg_fail(2)) SWIG_fail
;
37076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37077 (arg1
)->SetCheckable(arg2
);
37079 wxPyEndAllowThreads(__tstate
);
37080 if (PyErr_Occurred()) SWIG_fail
;
37082 Py_INCREF(Py_None
); resultobj
= Py_None
;
37089 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37090 PyObject
*resultobj
;
37091 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37093 PyObject
* obj0
= 0 ;
37094 char *kwnames
[] = {
37095 (char *) "self", NULL
37098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
37099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37100 if (SWIG_arg_fail(1)) SWIG_fail
;
37102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37103 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
37105 wxPyEndAllowThreads(__tstate
);
37106 if (PyErr_Occurred()) SWIG_fail
;
37109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37117 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37118 PyObject
*resultobj
;
37119 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37121 PyObject
* obj0
= 0 ;
37122 char *kwnames
[] = {
37123 (char *) "self", NULL
37126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
37127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37128 if (SWIG_arg_fail(1)) SWIG_fail
;
37130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37131 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
37133 wxPyEndAllowThreads(__tstate
);
37134 if (PyErr_Occurred()) SWIG_fail
;
37137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37145 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37146 PyObject
*resultobj
;
37147 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37148 wxMenu
*arg2
= (wxMenu
*) 0 ;
37149 PyObject
* obj0
= 0 ;
37150 PyObject
* obj1
= 0 ;
37151 char *kwnames
[] = {
37152 (char *) "self",(char *) "menu", NULL
37155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
37156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37157 if (SWIG_arg_fail(1)) SWIG_fail
;
37158 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
37159 if (SWIG_arg_fail(2)) SWIG_fail
;
37161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37162 (arg1
)->SetSubMenu(arg2
);
37164 wxPyEndAllowThreads(__tstate
);
37165 if (PyErr_Occurred()) SWIG_fail
;
37167 Py_INCREF(Py_None
); resultobj
= Py_None
;
37174 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37175 PyObject
*resultobj
;
37176 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37178 PyObject
* obj0
= 0 ;
37179 char *kwnames
[] = {
37180 (char *) "self", NULL
37183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
37184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37185 if (SWIG_arg_fail(1)) SWIG_fail
;
37187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37188 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
37190 wxPyEndAllowThreads(__tstate
);
37191 if (PyErr_Occurred()) SWIG_fail
;
37194 resultobj
= wxPyMake_wxObject(result
, 0);
37202 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37203 PyObject
*resultobj
;
37204 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37205 bool arg2
= (bool) true ;
37206 PyObject
* obj0
= 0 ;
37207 PyObject
* obj1
= 0 ;
37208 char *kwnames
[] = {
37209 (char *) "self",(char *) "enable", NULL
37212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
37213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37214 if (SWIG_arg_fail(1)) SWIG_fail
;
37217 arg2
= (bool)(SWIG_As_bool(obj1
));
37218 if (SWIG_arg_fail(2)) SWIG_fail
;
37222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37223 (arg1
)->Enable(arg2
);
37225 wxPyEndAllowThreads(__tstate
);
37226 if (PyErr_Occurred()) SWIG_fail
;
37228 Py_INCREF(Py_None
); resultobj
= Py_None
;
37235 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37236 PyObject
*resultobj
;
37237 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37239 PyObject
* obj0
= 0 ;
37240 char *kwnames
[] = {
37241 (char *) "self", NULL
37244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
37245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37246 if (SWIG_arg_fail(1)) SWIG_fail
;
37248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37249 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
37251 wxPyEndAllowThreads(__tstate
);
37252 if (PyErr_Occurred()) SWIG_fail
;
37255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37263 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37264 PyObject
*resultobj
;
37265 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37266 bool arg2
= (bool) true ;
37267 PyObject
* obj0
= 0 ;
37268 PyObject
* obj1
= 0 ;
37269 char *kwnames
[] = {
37270 (char *) "self",(char *) "check", NULL
37273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
37274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37275 if (SWIG_arg_fail(1)) SWIG_fail
;
37278 arg2
= (bool)(SWIG_As_bool(obj1
));
37279 if (SWIG_arg_fail(2)) SWIG_fail
;
37283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37284 (arg1
)->Check(arg2
);
37286 wxPyEndAllowThreads(__tstate
);
37287 if (PyErr_Occurred()) SWIG_fail
;
37289 Py_INCREF(Py_None
); resultobj
= Py_None
;
37296 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37297 PyObject
*resultobj
;
37298 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37300 PyObject
* obj0
= 0 ;
37301 char *kwnames
[] = {
37302 (char *) "self", NULL
37305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
37306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37307 if (SWIG_arg_fail(1)) SWIG_fail
;
37309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37310 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
37312 wxPyEndAllowThreads(__tstate
);
37313 if (PyErr_Occurred()) SWIG_fail
;
37316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37324 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37325 PyObject
*resultobj
;
37326 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37327 PyObject
* obj0
= 0 ;
37328 char *kwnames
[] = {
37329 (char *) "self", NULL
37332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
37333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37334 if (SWIG_arg_fail(1)) SWIG_fail
;
37336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37339 wxPyEndAllowThreads(__tstate
);
37340 if (PyErr_Occurred()) SWIG_fail
;
37342 Py_INCREF(Py_None
); resultobj
= Py_None
;
37349 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37350 PyObject
*resultobj
;
37351 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37352 wxString
*arg2
= 0 ;
37353 bool temp2
= false ;
37354 PyObject
* obj0
= 0 ;
37355 PyObject
* obj1
= 0 ;
37356 char *kwnames
[] = {
37357 (char *) "self",(char *) "str", NULL
37360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
37361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37362 if (SWIG_arg_fail(1)) SWIG_fail
;
37364 arg2
= wxString_in_helper(obj1
);
37365 if (arg2
== NULL
) SWIG_fail
;
37369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37370 (arg1
)->SetHelp((wxString
const &)*arg2
);
37372 wxPyEndAllowThreads(__tstate
);
37373 if (PyErr_Occurred()) SWIG_fail
;
37375 Py_INCREF(Py_None
); resultobj
= Py_None
;
37390 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37391 PyObject
*resultobj
;
37392 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37394 PyObject
* obj0
= 0 ;
37395 char *kwnames
[] = {
37396 (char *) "self", NULL
37399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
37400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37401 if (SWIG_arg_fail(1)) SWIG_fail
;
37403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37405 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
37406 result
= (wxString
*) &_result_ref
;
37409 wxPyEndAllowThreads(__tstate
);
37410 if (PyErr_Occurred()) SWIG_fail
;
37414 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
37416 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
37425 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37426 PyObject
*resultobj
;
37427 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37428 wxAcceleratorEntry
*result
;
37429 PyObject
* obj0
= 0 ;
37430 char *kwnames
[] = {
37431 (char *) "self", NULL
37434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
37435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37436 if (SWIG_arg_fail(1)) SWIG_fail
;
37438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37439 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
37441 wxPyEndAllowThreads(__tstate
);
37442 if (PyErr_Occurred()) SWIG_fail
;
37444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
37451 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37452 PyObject
*resultobj
;
37453 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37454 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
37455 PyObject
* obj0
= 0 ;
37456 PyObject
* obj1
= 0 ;
37457 char *kwnames
[] = {
37458 (char *) "self",(char *) "accel", NULL
37461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
37462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37463 if (SWIG_arg_fail(1)) SWIG_fail
;
37464 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
37465 if (SWIG_arg_fail(2)) SWIG_fail
;
37467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37468 (arg1
)->SetAccel(arg2
);
37470 wxPyEndAllowThreads(__tstate
);
37471 if (PyErr_Occurred()) SWIG_fail
;
37473 Py_INCREF(Py_None
); resultobj
= Py_None
;
37480 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37481 PyObject
*resultobj
;
37482 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37483 wxBitmap
*arg2
= 0 ;
37484 PyObject
* obj0
= 0 ;
37485 PyObject
* obj1
= 0 ;
37486 char *kwnames
[] = {
37487 (char *) "self",(char *) "bitmap", NULL
37490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37492 if (SWIG_arg_fail(1)) SWIG_fail
;
37494 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37495 if (SWIG_arg_fail(2)) SWIG_fail
;
37496 if (arg2
== NULL
) {
37497 SWIG_null_ref("wxBitmap");
37499 if (SWIG_arg_fail(2)) SWIG_fail
;
37502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37503 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
37505 wxPyEndAllowThreads(__tstate
);
37506 if (PyErr_Occurred()) SWIG_fail
;
37508 Py_INCREF(Py_None
); resultobj
= Py_None
;
37515 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37516 PyObject
*resultobj
;
37517 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37519 PyObject
* obj0
= 0 ;
37520 char *kwnames
[] = {
37521 (char *) "self", NULL
37524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
37525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37526 if (SWIG_arg_fail(1)) SWIG_fail
;
37528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37530 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
37531 result
= (wxBitmap
*) &_result_ref
;
37534 wxPyEndAllowThreads(__tstate
);
37535 if (PyErr_Occurred()) SWIG_fail
;
37538 wxBitmap
* resultptr
= new wxBitmap(*result
);
37539 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37547 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37548 PyObject
*resultobj
;
37549 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37551 PyObject
* obj0
= 0 ;
37552 PyObject
* obj1
= 0 ;
37553 char *kwnames
[] = {
37554 (char *) "self",(char *) "font", NULL
37557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
37558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37559 if (SWIG_arg_fail(1)) SWIG_fail
;
37561 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
37562 if (SWIG_arg_fail(2)) SWIG_fail
;
37563 if (arg2
== NULL
) {
37564 SWIG_null_ref("wxFont");
37566 if (SWIG_arg_fail(2)) SWIG_fail
;
37569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37570 wxMenuItem_SetFont(arg1
,(wxFont
const &)*arg2
);
37572 wxPyEndAllowThreads(__tstate
);
37573 if (PyErr_Occurred()) SWIG_fail
;
37575 Py_INCREF(Py_None
); resultobj
= Py_None
;
37582 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37583 PyObject
*resultobj
;
37584 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37586 PyObject
* obj0
= 0 ;
37587 char *kwnames
[] = {
37588 (char *) "self", NULL
37591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
37592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37593 if (SWIG_arg_fail(1)) SWIG_fail
;
37595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37596 result
= wxMenuItem_GetFont(arg1
);
37598 wxPyEndAllowThreads(__tstate
);
37599 if (PyErr_Occurred()) SWIG_fail
;
37602 wxFont
* resultptr
;
37603 resultptr
= new wxFont((wxFont
&)(result
));
37604 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
37612 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37613 PyObject
*resultobj
;
37614 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37615 wxColour
*arg2
= 0 ;
37617 PyObject
* obj0
= 0 ;
37618 PyObject
* obj1
= 0 ;
37619 char *kwnames
[] = {
37620 (char *) "self",(char *) "colText", NULL
37623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
37624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37625 if (SWIG_arg_fail(1)) SWIG_fail
;
37628 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
37631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37632 wxMenuItem_SetTextColour(arg1
,(wxColour
const &)*arg2
);
37634 wxPyEndAllowThreads(__tstate
);
37635 if (PyErr_Occurred()) SWIG_fail
;
37637 Py_INCREF(Py_None
); resultobj
= Py_None
;
37644 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37645 PyObject
*resultobj
;
37646 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37648 PyObject
* obj0
= 0 ;
37649 char *kwnames
[] = {
37650 (char *) "self", NULL
37653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
37654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37655 if (SWIG_arg_fail(1)) SWIG_fail
;
37657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37658 result
= wxMenuItem_GetTextColour(arg1
);
37660 wxPyEndAllowThreads(__tstate
);
37661 if (PyErr_Occurred()) SWIG_fail
;
37664 wxColour
* resultptr
;
37665 resultptr
= new wxColour((wxColour
&)(result
));
37666 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
37674 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37675 PyObject
*resultobj
;
37676 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37677 wxColour
*arg2
= 0 ;
37679 PyObject
* obj0
= 0 ;
37680 PyObject
* obj1
= 0 ;
37681 char *kwnames
[] = {
37682 (char *) "self",(char *) "colBack", NULL
37685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
37686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37687 if (SWIG_arg_fail(1)) SWIG_fail
;
37690 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
37693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37694 wxMenuItem_SetBackgroundColour(arg1
,(wxColour
const &)*arg2
);
37696 wxPyEndAllowThreads(__tstate
);
37697 if (PyErr_Occurred()) SWIG_fail
;
37699 Py_INCREF(Py_None
); resultobj
= Py_None
;
37706 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37707 PyObject
*resultobj
;
37708 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37710 PyObject
* obj0
= 0 ;
37711 char *kwnames
[] = {
37712 (char *) "self", NULL
37715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
37716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37717 if (SWIG_arg_fail(1)) SWIG_fail
;
37719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37720 result
= wxMenuItem_GetBackgroundColour(arg1
);
37722 wxPyEndAllowThreads(__tstate
);
37723 if (PyErr_Occurred()) SWIG_fail
;
37726 wxColour
* resultptr
;
37727 resultptr
= new wxColour((wxColour
&)(result
));
37728 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
37736 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37737 PyObject
*resultobj
;
37738 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37739 wxBitmap
*arg2
= 0 ;
37740 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
37741 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
37742 PyObject
* obj0
= 0 ;
37743 PyObject
* obj1
= 0 ;
37744 PyObject
* obj2
= 0 ;
37745 char *kwnames
[] = {
37746 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
37749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37751 if (SWIG_arg_fail(1)) SWIG_fail
;
37753 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37754 if (SWIG_arg_fail(2)) SWIG_fail
;
37755 if (arg2
== NULL
) {
37756 SWIG_null_ref("wxBitmap");
37758 if (SWIG_arg_fail(2)) SWIG_fail
;
37762 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37763 if (SWIG_arg_fail(3)) SWIG_fail
;
37764 if (arg3
== NULL
) {
37765 SWIG_null_ref("wxBitmap");
37767 if (SWIG_arg_fail(3)) SWIG_fail
;
37771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37772 wxMenuItem_SetBitmaps(arg1
,(wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
37774 wxPyEndAllowThreads(__tstate
);
37775 if (PyErr_Occurred()) SWIG_fail
;
37777 Py_INCREF(Py_None
); resultobj
= Py_None
;
37784 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37785 PyObject
*resultobj
;
37786 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37787 wxBitmap
*arg2
= 0 ;
37788 PyObject
* obj0
= 0 ;
37789 PyObject
* obj1
= 0 ;
37790 char *kwnames
[] = {
37791 (char *) "self",(char *) "bmpDisabled", NULL
37794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37796 if (SWIG_arg_fail(1)) SWIG_fail
;
37798 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37799 if (SWIG_arg_fail(2)) SWIG_fail
;
37800 if (arg2
== NULL
) {
37801 SWIG_null_ref("wxBitmap");
37803 if (SWIG_arg_fail(2)) SWIG_fail
;
37806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37807 wxMenuItem_SetDisabledBitmap(arg1
,(wxBitmap
const &)*arg2
);
37809 wxPyEndAllowThreads(__tstate
);
37810 if (PyErr_Occurred()) SWIG_fail
;
37812 Py_INCREF(Py_None
); resultobj
= Py_None
;
37819 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37820 PyObject
*resultobj
;
37821 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37823 PyObject
* obj0
= 0 ;
37824 char *kwnames
[] = {
37825 (char *) "self", NULL
37828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
37829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37830 if (SWIG_arg_fail(1)) SWIG_fail
;
37832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37834 wxBitmap
const &_result_ref
= wxMenuItem_GetDisabledBitmap((wxMenuItem
const *)arg1
);
37835 result
= (wxBitmap
*) &_result_ref
;
37838 wxPyEndAllowThreads(__tstate
);
37839 if (PyErr_Occurred()) SWIG_fail
;
37842 wxBitmap
* resultptr
= new wxBitmap(*result
);
37843 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37851 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37852 PyObject
*resultobj
;
37853 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37855 PyObject
* obj0
= 0 ;
37856 PyObject
* obj1
= 0 ;
37857 char *kwnames
[] = {
37858 (char *) "self",(char *) "nWidth", NULL
37861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
37862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37863 if (SWIG_arg_fail(1)) SWIG_fail
;
37865 arg2
= (int)(SWIG_As_int(obj1
));
37866 if (SWIG_arg_fail(2)) SWIG_fail
;
37869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37870 wxMenuItem_SetMarginWidth(arg1
,arg2
);
37872 wxPyEndAllowThreads(__tstate
);
37873 if (PyErr_Occurred()) SWIG_fail
;
37875 Py_INCREF(Py_None
); resultobj
= Py_None
;
37882 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37883 PyObject
*resultobj
;
37884 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37886 PyObject
* obj0
= 0 ;
37887 char *kwnames
[] = {
37888 (char *) "self", NULL
37891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
37892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37893 if (SWIG_arg_fail(1)) SWIG_fail
;
37895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37896 result
= (int)wxMenuItem_GetMarginWidth(arg1
);
37898 wxPyEndAllowThreads(__tstate
);
37899 if (PyErr_Occurred()) SWIG_fail
;
37902 resultobj
= SWIG_From_int((int)(result
));
37910 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37911 PyObject
*resultobj
;
37913 char *kwnames
[] = {
37917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
37919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37920 result
= (int)MenuItem_GetDefaultMarginWidth();
37922 wxPyEndAllowThreads(__tstate
);
37923 if (PyErr_Occurred()) SWIG_fail
;
37926 resultobj
= SWIG_From_int((int)(result
));
37934 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37935 PyObject
*resultobj
;
37936 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37938 PyObject
* obj0
= 0 ;
37939 char *kwnames
[] = {
37940 (char *) "self", NULL
37943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37945 if (SWIG_arg_fail(1)) SWIG_fail
;
37947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37948 result
= (bool)wxMenuItem_IsOwnerDrawn(arg1
);
37950 wxPyEndAllowThreads(__tstate
);
37951 if (PyErr_Occurred()) SWIG_fail
;
37954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37962 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37963 PyObject
*resultobj
;
37964 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37965 bool arg2
= (bool) true ;
37966 PyObject
* obj0
= 0 ;
37967 PyObject
* obj1
= 0 ;
37968 char *kwnames
[] = {
37969 (char *) "self",(char *) "ownerDrawn", NULL
37972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
37973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37974 if (SWIG_arg_fail(1)) SWIG_fail
;
37977 arg2
= (bool)(SWIG_As_bool(obj1
));
37978 if (SWIG_arg_fail(2)) SWIG_fail
;
37982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37983 wxMenuItem_SetOwnerDrawn(arg1
,arg2
);
37985 wxPyEndAllowThreads(__tstate
);
37986 if (PyErr_Occurred()) SWIG_fail
;
37988 Py_INCREF(Py_None
); resultobj
= Py_None
;
37995 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37996 PyObject
*resultobj
;
37997 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37998 PyObject
* obj0
= 0 ;
37999 char *kwnames
[] = {
38000 (char *) "self", NULL
38003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
38004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
38005 if (SWIG_arg_fail(1)) SWIG_fail
;
38007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38008 wxMenuItem_ResetOwnerDrawn(arg1
);
38010 wxPyEndAllowThreads(__tstate
);
38011 if (PyErr_Occurred()) SWIG_fail
;
38013 Py_INCREF(Py_None
); resultobj
= Py_None
;
38020 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
38022 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38023 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
38025 return Py_BuildValue((char *)"");
38027 static int _wrap_ControlNameStr_set(PyObject
*) {
38028 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
38033 static PyObject
*_wrap_ControlNameStr_get(void) {
38038 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
38040 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
38047 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38048 PyObject
*resultobj
;
38049 wxWindow
*arg1
= (wxWindow
*) 0 ;
38050 int arg2
= (int) -1 ;
38051 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38052 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38053 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38054 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38055 long arg5
= (long) 0 ;
38056 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38057 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38058 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38059 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38063 bool temp7
= false ;
38064 PyObject
* obj0
= 0 ;
38065 PyObject
* obj1
= 0 ;
38066 PyObject
* obj2
= 0 ;
38067 PyObject
* obj3
= 0 ;
38068 PyObject
* obj4
= 0 ;
38069 PyObject
* obj5
= 0 ;
38070 PyObject
* obj6
= 0 ;
38071 char *kwnames
[] = {
38072 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38077 if (SWIG_arg_fail(1)) SWIG_fail
;
38080 arg2
= (int)(SWIG_As_int(obj1
));
38081 if (SWIG_arg_fail(2)) SWIG_fail
;
38087 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38093 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38098 arg5
= (long)(SWIG_As_long(obj4
));
38099 if (SWIG_arg_fail(5)) SWIG_fail
;
38104 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
38105 if (SWIG_arg_fail(6)) SWIG_fail
;
38106 if (arg6
== NULL
) {
38107 SWIG_null_ref("wxValidator");
38109 if (SWIG_arg_fail(6)) SWIG_fail
;
38114 arg7
= wxString_in_helper(obj6
);
38115 if (arg7
== NULL
) SWIG_fail
;
38120 if (!wxPyCheckForApp()) SWIG_fail
;
38121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38122 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38124 wxPyEndAllowThreads(__tstate
);
38125 if (PyErr_Occurred()) SWIG_fail
;
38127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
38142 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38143 PyObject
*resultobj
;
38145 char *kwnames
[] = {
38149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
38151 if (!wxPyCheckForApp()) SWIG_fail
;
38152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38153 result
= (wxControl
*)new wxControl();
38155 wxPyEndAllowThreads(__tstate
);
38156 if (PyErr_Occurred()) SWIG_fail
;
38158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
38165 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38166 PyObject
*resultobj
;
38167 wxControl
*arg1
= (wxControl
*) 0 ;
38168 wxWindow
*arg2
= (wxWindow
*) 0 ;
38169 int arg3
= (int) -1 ;
38170 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38171 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38172 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38173 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38174 long arg6
= (long) 0 ;
38175 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
38176 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
38177 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
38178 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
38182 bool temp8
= false ;
38183 PyObject
* obj0
= 0 ;
38184 PyObject
* obj1
= 0 ;
38185 PyObject
* obj2
= 0 ;
38186 PyObject
* obj3
= 0 ;
38187 PyObject
* obj4
= 0 ;
38188 PyObject
* obj5
= 0 ;
38189 PyObject
* obj6
= 0 ;
38190 PyObject
* obj7
= 0 ;
38191 char *kwnames
[] = {
38192 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
38196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
38197 if (SWIG_arg_fail(1)) SWIG_fail
;
38198 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38199 if (SWIG_arg_fail(2)) SWIG_fail
;
38202 arg3
= (int)(SWIG_As_int(obj2
));
38203 if (SWIG_arg_fail(3)) SWIG_fail
;
38209 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38215 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38220 arg6
= (long)(SWIG_As_long(obj5
));
38221 if (SWIG_arg_fail(6)) SWIG_fail
;
38226 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
38227 if (SWIG_arg_fail(7)) SWIG_fail
;
38228 if (arg7
== NULL
) {
38229 SWIG_null_ref("wxValidator");
38231 if (SWIG_arg_fail(7)) SWIG_fail
;
38236 arg8
= wxString_in_helper(obj7
);
38237 if (arg8
== NULL
) SWIG_fail
;
38242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38243 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
38245 wxPyEndAllowThreads(__tstate
);
38246 if (PyErr_Occurred()) SWIG_fail
;
38249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38265 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38266 PyObject
*resultobj
;
38267 wxControl
*arg1
= (wxControl
*) 0 ;
38268 wxCommandEvent
*arg2
= 0 ;
38269 PyObject
* obj0
= 0 ;
38270 PyObject
* obj1
= 0 ;
38271 char *kwnames
[] = {
38272 (char *) "self",(char *) "event", NULL
38275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
38276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
38277 if (SWIG_arg_fail(1)) SWIG_fail
;
38279 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
38280 if (SWIG_arg_fail(2)) SWIG_fail
;
38281 if (arg2
== NULL
) {
38282 SWIG_null_ref("wxCommandEvent");
38284 if (SWIG_arg_fail(2)) SWIG_fail
;
38287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38288 (arg1
)->Command(*arg2
);
38290 wxPyEndAllowThreads(__tstate
);
38291 if (PyErr_Occurred()) SWIG_fail
;
38293 Py_INCREF(Py_None
); resultobj
= Py_None
;
38300 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38301 PyObject
*resultobj
;
38302 wxControl
*arg1
= (wxControl
*) 0 ;
38304 PyObject
* obj0
= 0 ;
38305 char *kwnames
[] = {
38306 (char *) "self", NULL
38309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
38310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
38311 if (SWIG_arg_fail(1)) SWIG_fail
;
38313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38314 result
= (arg1
)->GetLabel();
38316 wxPyEndAllowThreads(__tstate
);
38317 if (PyErr_Occurred()) SWIG_fail
;
38321 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38323 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38332 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38333 PyObject
*resultobj
;
38334 wxControl
*arg1
= (wxControl
*) 0 ;
38335 wxString
*arg2
= 0 ;
38336 bool temp2
= false ;
38337 PyObject
* obj0
= 0 ;
38338 PyObject
* obj1
= 0 ;
38339 char *kwnames
[] = {
38340 (char *) "self",(char *) "label", NULL
38343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
38344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
38345 if (SWIG_arg_fail(1)) SWIG_fail
;
38347 arg2
= wxString_in_helper(obj1
);
38348 if (arg2
== NULL
) SWIG_fail
;
38352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38353 (arg1
)->SetLabel((wxString
const &)*arg2
);
38355 wxPyEndAllowThreads(__tstate
);
38356 if (PyErr_Occurred()) SWIG_fail
;
38358 Py_INCREF(Py_None
); resultobj
= Py_None
;
38373 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38374 PyObject
*resultobj
;
38375 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
38376 wxVisualAttributes result
;
38377 PyObject
* obj0
= 0 ;
38378 char *kwnames
[] = {
38379 (char *) "variant", NULL
38382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
38385 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
38386 if (SWIG_arg_fail(1)) SWIG_fail
;
38390 if (!wxPyCheckForApp()) SWIG_fail
;
38391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38392 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
38394 wxPyEndAllowThreads(__tstate
);
38395 if (PyErr_Occurred()) SWIG_fail
;
38398 wxVisualAttributes
* resultptr
;
38399 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
38400 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
38408 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
38410 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38411 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
38413 return Py_BuildValue((char *)"");
38415 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38416 PyObject
*resultobj
;
38417 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38418 wxString
*arg2
= 0 ;
38419 PyObject
*arg3
= (PyObject
*) NULL
;
38421 bool temp2
= false ;
38422 PyObject
* obj0
= 0 ;
38423 PyObject
* obj1
= 0 ;
38424 PyObject
* obj2
= 0 ;
38425 char *kwnames
[] = {
38426 (char *) "self",(char *) "item",(char *) "clientData", NULL
38429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38431 if (SWIG_arg_fail(1)) SWIG_fail
;
38433 arg2
= wxString_in_helper(obj1
);
38434 if (arg2
== NULL
) SWIG_fail
;
38441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38442 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
38444 wxPyEndAllowThreads(__tstate
);
38445 if (PyErr_Occurred()) SWIG_fail
;
38448 resultobj
= SWIG_From_int((int)(result
));
38464 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38465 PyObject
*resultobj
;
38466 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38467 wxArrayString
*arg2
= 0 ;
38468 bool temp2
= false ;
38469 PyObject
* obj0
= 0 ;
38470 PyObject
* obj1
= 0 ;
38471 char *kwnames
[] = {
38472 (char *) "self",(char *) "strings", NULL
38475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
38476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38477 if (SWIG_arg_fail(1)) SWIG_fail
;
38479 if (! PySequence_Check(obj1
)) {
38480 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38483 arg2
= new wxArrayString
;
38485 int i
, len
=PySequence_Length(obj1
);
38486 for (i
=0; i
<len
; i
++) {
38487 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38488 wxString
* s
= wxString_in_helper(item
);
38489 if (PyErr_Occurred()) SWIG_fail
;
38496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38497 (arg1
)->Append((wxArrayString
const &)*arg2
);
38499 wxPyEndAllowThreads(__tstate
);
38500 if (PyErr_Occurred()) SWIG_fail
;
38502 Py_INCREF(Py_None
); resultobj
= Py_None
;
38504 if (temp2
) delete arg2
;
38509 if (temp2
) delete arg2
;
38515 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38516 PyObject
*resultobj
;
38517 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38518 wxString
*arg2
= 0 ;
38520 PyObject
*arg4
= (PyObject
*) NULL
;
38522 bool temp2
= false ;
38523 PyObject
* obj0
= 0 ;
38524 PyObject
* obj1
= 0 ;
38525 PyObject
* obj2
= 0 ;
38526 PyObject
* obj3
= 0 ;
38527 char *kwnames
[] = {
38528 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
38531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38533 if (SWIG_arg_fail(1)) SWIG_fail
;
38535 arg2
= wxString_in_helper(obj1
);
38536 if (arg2
== NULL
) SWIG_fail
;
38540 arg3
= (int)(SWIG_As_int(obj2
));
38541 if (SWIG_arg_fail(3)) SWIG_fail
;
38547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38548 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
38550 wxPyEndAllowThreads(__tstate
);
38551 if (PyErr_Occurred()) SWIG_fail
;
38554 resultobj
= SWIG_From_int((int)(result
));
38570 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38571 PyObject
*resultobj
;
38572 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38573 PyObject
* obj0
= 0 ;
38574 char *kwnames
[] = {
38575 (char *) "self", NULL
38578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
38579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38580 if (SWIG_arg_fail(1)) SWIG_fail
;
38582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38585 wxPyEndAllowThreads(__tstate
);
38586 if (PyErr_Occurred()) SWIG_fail
;
38588 Py_INCREF(Py_None
); resultobj
= Py_None
;
38595 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38596 PyObject
*resultobj
;
38597 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38599 PyObject
* obj0
= 0 ;
38600 PyObject
* obj1
= 0 ;
38601 char *kwnames
[] = {
38602 (char *) "self",(char *) "n", NULL
38605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
38606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38607 if (SWIG_arg_fail(1)) SWIG_fail
;
38609 arg2
= (int)(SWIG_As_int(obj1
));
38610 if (SWIG_arg_fail(2)) SWIG_fail
;
38613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38614 (arg1
)->Delete(arg2
);
38616 wxPyEndAllowThreads(__tstate
);
38617 if (PyErr_Occurred()) SWIG_fail
;
38619 Py_INCREF(Py_None
); resultobj
= Py_None
;
38626 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38627 PyObject
*resultobj
;
38628 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38631 PyObject
* obj0
= 0 ;
38632 PyObject
* obj1
= 0 ;
38633 char *kwnames
[] = {
38634 (char *) "self",(char *) "n", NULL
38637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
38638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38639 if (SWIG_arg_fail(1)) SWIG_fail
;
38641 arg2
= (int)(SWIG_As_int(obj1
));
38642 if (SWIG_arg_fail(2)) SWIG_fail
;
38645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38646 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
38648 wxPyEndAllowThreads(__tstate
);
38649 if (PyErr_Occurred()) SWIG_fail
;
38651 resultobj
= result
;
38658 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38659 PyObject
*resultobj
;
38660 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38662 PyObject
*arg3
= (PyObject
*) 0 ;
38663 PyObject
* obj0
= 0 ;
38664 PyObject
* obj1
= 0 ;
38665 PyObject
* obj2
= 0 ;
38666 char *kwnames
[] = {
38667 (char *) "self",(char *) "n",(char *) "clientData", NULL
38670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38672 if (SWIG_arg_fail(1)) SWIG_fail
;
38674 arg2
= (int)(SWIG_As_int(obj1
));
38675 if (SWIG_arg_fail(2)) SWIG_fail
;
38679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38680 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
38682 wxPyEndAllowThreads(__tstate
);
38683 if (PyErr_Occurred()) SWIG_fail
;
38685 Py_INCREF(Py_None
); resultobj
= Py_None
;
38692 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38693 PyObject
*resultobj
;
38694 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38696 PyObject
* obj0
= 0 ;
38697 char *kwnames
[] = {
38698 (char *) "self", NULL
38701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
38702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38703 if (SWIG_arg_fail(1)) SWIG_fail
;
38705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38706 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
38708 wxPyEndAllowThreads(__tstate
);
38709 if (PyErr_Occurred()) SWIG_fail
;
38712 resultobj
= SWIG_From_int((int)(result
));
38720 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38721 PyObject
*resultobj
;
38722 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38724 PyObject
* obj0
= 0 ;
38725 char *kwnames
[] = {
38726 (char *) "self", NULL
38729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
38730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38731 if (SWIG_arg_fail(1)) SWIG_fail
;
38733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38734 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
38736 wxPyEndAllowThreads(__tstate
);
38737 if (PyErr_Occurred()) SWIG_fail
;
38740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38748 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38749 PyObject
*resultobj
;
38750 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38753 PyObject
* obj0
= 0 ;
38754 PyObject
* obj1
= 0 ;
38755 char *kwnames
[] = {
38756 (char *) "self",(char *) "n", NULL
38759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
38760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38761 if (SWIG_arg_fail(1)) SWIG_fail
;
38763 arg2
= (int)(SWIG_As_int(obj1
));
38764 if (SWIG_arg_fail(2)) SWIG_fail
;
38767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38768 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
38770 wxPyEndAllowThreads(__tstate
);
38771 if (PyErr_Occurred()) SWIG_fail
;
38775 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38777 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38786 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38787 PyObject
*resultobj
;
38788 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38789 wxArrayString result
;
38790 PyObject
* obj0
= 0 ;
38791 char *kwnames
[] = {
38792 (char *) "self", NULL
38795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
38796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38797 if (SWIG_arg_fail(1)) SWIG_fail
;
38799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38800 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
38802 wxPyEndAllowThreads(__tstate
);
38803 if (PyErr_Occurred()) SWIG_fail
;
38806 resultobj
= wxArrayString2PyList_helper(result
);
38814 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38815 PyObject
*resultobj
;
38816 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38818 wxString
*arg3
= 0 ;
38819 bool temp3
= false ;
38820 PyObject
* obj0
= 0 ;
38821 PyObject
* obj1
= 0 ;
38822 PyObject
* obj2
= 0 ;
38823 char *kwnames
[] = {
38824 (char *) "self",(char *) "n",(char *) "s", NULL
38827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38829 if (SWIG_arg_fail(1)) SWIG_fail
;
38831 arg2
= (int)(SWIG_As_int(obj1
));
38832 if (SWIG_arg_fail(2)) SWIG_fail
;
38835 arg3
= wxString_in_helper(obj2
);
38836 if (arg3
== NULL
) SWIG_fail
;
38840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38841 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
38843 wxPyEndAllowThreads(__tstate
);
38844 if (PyErr_Occurred()) SWIG_fail
;
38846 Py_INCREF(Py_None
); resultobj
= Py_None
;
38861 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38862 PyObject
*resultobj
;
38863 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38864 wxString
*arg2
= 0 ;
38866 bool temp2
= false ;
38867 PyObject
* obj0
= 0 ;
38868 PyObject
* obj1
= 0 ;
38869 char *kwnames
[] = {
38870 (char *) "self",(char *) "s", NULL
38873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
38874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38875 if (SWIG_arg_fail(1)) SWIG_fail
;
38877 arg2
= wxString_in_helper(obj1
);
38878 if (arg2
== NULL
) SWIG_fail
;
38882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38883 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
38885 wxPyEndAllowThreads(__tstate
);
38886 if (PyErr_Occurred()) SWIG_fail
;
38889 resultobj
= SWIG_From_int((int)(result
));
38905 static PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38906 PyObject
*resultobj
;
38907 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38909 PyObject
* obj0
= 0 ;
38910 PyObject
* obj1
= 0 ;
38911 char *kwnames
[] = {
38912 (char *) "self",(char *) "n", NULL
38915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38917 if (SWIG_arg_fail(1)) SWIG_fail
;
38919 arg2
= (int)(SWIG_As_int(obj1
));
38920 if (SWIG_arg_fail(2)) SWIG_fail
;
38923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38924 (arg1
)->SetSelection(arg2
);
38926 wxPyEndAllowThreads(__tstate
);
38927 if (PyErr_Occurred()) SWIG_fail
;
38929 Py_INCREF(Py_None
); resultobj
= Py_None
;
38936 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38937 PyObject
*resultobj
;
38938 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38940 PyObject
* obj0
= 0 ;
38941 char *kwnames
[] = {
38942 (char *) "self", NULL
38945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
38946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38947 if (SWIG_arg_fail(1)) SWIG_fail
;
38949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38950 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
38952 wxPyEndAllowThreads(__tstate
);
38953 if (PyErr_Occurred()) SWIG_fail
;
38956 resultobj
= SWIG_From_int((int)(result
));
38964 static PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38965 PyObject
*resultobj
;
38966 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38967 wxString
*arg2
= 0 ;
38969 bool temp2
= false ;
38970 PyObject
* obj0
= 0 ;
38971 PyObject
* obj1
= 0 ;
38972 char *kwnames
[] = {
38973 (char *) "self",(char *) "s", NULL
38976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38978 if (SWIG_arg_fail(1)) SWIG_fail
;
38980 arg2
= wxString_in_helper(obj1
);
38981 if (arg2
== NULL
) SWIG_fail
;
38985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38986 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
38988 wxPyEndAllowThreads(__tstate
);
38989 if (PyErr_Occurred()) SWIG_fail
;
38992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39008 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39009 PyObject
*resultobj
;
39010 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
39012 PyObject
* obj0
= 0 ;
39013 char *kwnames
[] = {
39014 (char *) "self", NULL
39017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
39018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
39019 if (SWIG_arg_fail(1)) SWIG_fail
;
39021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39022 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
39024 wxPyEndAllowThreads(__tstate
);
39025 if (PyErr_Occurred()) SWIG_fail
;
39029 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39031 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39040 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39041 PyObject
*resultobj
;
39042 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
39044 PyObject
* obj0
= 0 ;
39045 PyObject
* obj1
= 0 ;
39046 char *kwnames
[] = {
39047 (char *) "self",(char *) "n", NULL
39050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
39051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
39052 if (SWIG_arg_fail(1)) SWIG_fail
;
39054 arg2
= (int)(SWIG_As_int(obj1
));
39055 if (SWIG_arg_fail(2)) SWIG_fail
;
39058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39059 (arg1
)->Select(arg2
);
39061 wxPyEndAllowThreads(__tstate
);
39062 if (PyErr_Occurred()) SWIG_fail
;
39064 Py_INCREF(Py_None
); resultobj
= Py_None
;
39071 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
39073 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39074 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
39076 return Py_BuildValue((char *)"");
39078 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
39080 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39081 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
39083 return Py_BuildValue((char *)"");
39085 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39086 PyObject
*resultobj
;
39087 wxSizerItem
*result
;
39088 char *kwnames
[] = {
39092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
39094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39095 result
= (wxSizerItem
*)new wxSizerItem();
39097 wxPyEndAllowThreads(__tstate
);
39098 if (PyErr_Occurred()) SWIG_fail
;
39100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
39107 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39108 PyObject
*resultobj
;
39109 wxWindow
*arg1
= (wxWindow
*) 0 ;
39113 PyObject
*arg5
= (PyObject
*) NULL
;
39114 wxSizerItem
*result
;
39115 PyObject
* obj0
= 0 ;
39116 PyObject
* obj1
= 0 ;
39117 PyObject
* obj2
= 0 ;
39118 PyObject
* obj3
= 0 ;
39119 PyObject
* obj4
= 0 ;
39120 char *kwnames
[] = {
39121 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
39125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39126 if (SWIG_arg_fail(1)) SWIG_fail
;
39128 arg2
= (int)(SWIG_As_int(obj1
));
39129 if (SWIG_arg_fail(2)) SWIG_fail
;
39132 arg3
= (int)(SWIG_As_int(obj2
));
39133 if (SWIG_arg_fail(3)) SWIG_fail
;
39136 arg4
= (int)(SWIG_As_int(obj3
));
39137 if (SWIG_arg_fail(4)) SWIG_fail
;
39143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39144 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
39146 wxPyEndAllowThreads(__tstate
);
39147 if (PyErr_Occurred()) SWIG_fail
;
39149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
39156 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39157 PyObject
*resultobj
;
39163 PyObject
*arg6
= (PyObject
*) NULL
;
39164 wxSizerItem
*result
;
39165 PyObject
* obj0
= 0 ;
39166 PyObject
* obj1
= 0 ;
39167 PyObject
* obj2
= 0 ;
39168 PyObject
* obj3
= 0 ;
39169 PyObject
* obj4
= 0 ;
39170 PyObject
* obj5
= 0 ;
39171 char *kwnames
[] = {
39172 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39177 arg1
= (int)(SWIG_As_int(obj0
));
39178 if (SWIG_arg_fail(1)) SWIG_fail
;
39181 arg2
= (int)(SWIG_As_int(obj1
));
39182 if (SWIG_arg_fail(2)) SWIG_fail
;
39185 arg3
= (int)(SWIG_As_int(obj2
));
39186 if (SWIG_arg_fail(3)) SWIG_fail
;
39189 arg4
= (int)(SWIG_As_int(obj3
));
39190 if (SWIG_arg_fail(4)) SWIG_fail
;
39193 arg5
= (int)(SWIG_As_int(obj4
));
39194 if (SWIG_arg_fail(5)) SWIG_fail
;
39200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39201 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39203 wxPyEndAllowThreads(__tstate
);
39204 if (PyErr_Occurred()) SWIG_fail
;
39206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
39213 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39214 PyObject
*resultobj
;
39215 wxSizer
*arg1
= (wxSizer
*) 0 ;
39219 PyObject
*arg5
= (PyObject
*) NULL
;
39220 wxSizerItem
*result
;
39221 PyObject
* obj0
= 0 ;
39222 PyObject
* obj1
= 0 ;
39223 PyObject
* obj2
= 0 ;
39224 PyObject
* obj3
= 0 ;
39225 PyObject
* obj4
= 0 ;
39226 char *kwnames
[] = {
39227 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
39231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39232 if (SWIG_arg_fail(1)) SWIG_fail
;
39234 arg2
= (int)(SWIG_As_int(obj1
));
39235 if (SWIG_arg_fail(2)) SWIG_fail
;
39238 arg3
= (int)(SWIG_As_int(obj2
));
39239 if (SWIG_arg_fail(3)) SWIG_fail
;
39242 arg4
= (int)(SWIG_As_int(obj3
));
39243 if (SWIG_arg_fail(4)) SWIG_fail
;
39249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39250 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
39252 wxPyEndAllowThreads(__tstate
);
39253 if (PyErr_Occurred()) SWIG_fail
;
39255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
39262 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39263 PyObject
*resultobj
;
39264 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39265 PyObject
* obj0
= 0 ;
39266 char *kwnames
[] = {
39267 (char *) "self", NULL
39270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
39271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39272 if (SWIG_arg_fail(1)) SWIG_fail
;
39274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39275 (arg1
)->DeleteWindows();
39277 wxPyEndAllowThreads(__tstate
);
39278 if (PyErr_Occurred()) SWIG_fail
;
39280 Py_INCREF(Py_None
); resultobj
= Py_None
;
39287 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39288 PyObject
*resultobj
;
39289 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39290 PyObject
* obj0
= 0 ;
39291 char *kwnames
[] = {
39292 (char *) "self", NULL
39295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
39296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39297 if (SWIG_arg_fail(1)) SWIG_fail
;
39299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39300 (arg1
)->DetachSizer();
39302 wxPyEndAllowThreads(__tstate
);
39303 if (PyErr_Occurred()) SWIG_fail
;
39305 Py_INCREF(Py_None
); resultobj
= Py_None
;
39312 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39313 PyObject
*resultobj
;
39314 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39316 PyObject
* obj0
= 0 ;
39317 char *kwnames
[] = {
39318 (char *) "self", NULL
39321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
39322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39323 if (SWIG_arg_fail(1)) SWIG_fail
;
39325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39326 result
= (arg1
)->GetSize();
39328 wxPyEndAllowThreads(__tstate
);
39329 if (PyErr_Occurred()) SWIG_fail
;
39332 wxSize
* resultptr
;
39333 resultptr
= new wxSize((wxSize
&)(result
));
39334 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39342 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39343 PyObject
*resultobj
;
39344 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39346 PyObject
* obj0
= 0 ;
39347 char *kwnames
[] = {
39348 (char *) "self", NULL
39351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
39352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39353 if (SWIG_arg_fail(1)) SWIG_fail
;
39355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39356 result
= (arg1
)->CalcMin();
39358 wxPyEndAllowThreads(__tstate
);
39359 if (PyErr_Occurred()) SWIG_fail
;
39362 wxSize
* resultptr
;
39363 resultptr
= new wxSize((wxSize
&)(result
));
39364 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39372 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39373 PyObject
*resultobj
;
39374 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39377 PyObject
* obj0
= 0 ;
39378 PyObject
* obj1
= 0 ;
39379 PyObject
* obj2
= 0 ;
39380 char *kwnames
[] = {
39381 (char *) "self",(char *) "pos",(char *) "size", NULL
39384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39386 if (SWIG_arg_fail(1)) SWIG_fail
;
39389 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
39390 if (SWIG_arg_fail(2)) SWIG_fail
;
39391 if (argp
== NULL
) {
39392 SWIG_null_ref("wxPoint");
39394 if (SWIG_arg_fail(2)) SWIG_fail
;
39399 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
39400 if (SWIG_arg_fail(3)) SWIG_fail
;
39401 if (argp
== NULL
) {
39402 SWIG_null_ref("wxSize");
39404 if (SWIG_arg_fail(3)) SWIG_fail
;
39408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39409 (arg1
)->SetDimension(arg2
,arg3
);
39411 wxPyEndAllowThreads(__tstate
);
39412 if (PyErr_Occurred()) SWIG_fail
;
39414 Py_INCREF(Py_None
); resultobj
= Py_None
;
39421 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39422 PyObject
*resultobj
;
39423 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39425 PyObject
* obj0
= 0 ;
39426 char *kwnames
[] = {
39427 (char *) "self", NULL
39430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
39431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39432 if (SWIG_arg_fail(1)) SWIG_fail
;
39434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39435 result
= (arg1
)->GetMinSize();
39437 wxPyEndAllowThreads(__tstate
);
39438 if (PyErr_Occurred()) SWIG_fail
;
39441 wxSize
* resultptr
;
39442 resultptr
= new wxSize((wxSize
&)(result
));
39443 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39451 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39452 PyObject
*resultobj
;
39453 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39455 PyObject
* obj0
= 0 ;
39456 char *kwnames
[] = {
39457 (char *) "self", NULL
39460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
39461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39462 if (SWIG_arg_fail(1)) SWIG_fail
;
39464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39465 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
39467 wxPyEndAllowThreads(__tstate
);
39468 if (PyErr_Occurred()) SWIG_fail
;
39471 wxSize
* resultptr
;
39472 resultptr
= new wxSize((wxSize
&)(result
));
39473 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39481 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39482 PyObject
*resultobj
;
39483 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39486 PyObject
* obj0
= 0 ;
39487 PyObject
* obj1
= 0 ;
39488 PyObject
* obj2
= 0 ;
39489 char *kwnames
[] = {
39490 (char *) "self",(char *) "x",(char *) "y", NULL
39493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39495 if (SWIG_arg_fail(1)) SWIG_fail
;
39497 arg2
= (int)(SWIG_As_int(obj1
));
39498 if (SWIG_arg_fail(2)) SWIG_fail
;
39501 arg3
= (int)(SWIG_As_int(obj2
));
39502 if (SWIG_arg_fail(3)) SWIG_fail
;
39505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39506 (arg1
)->SetInitSize(arg2
,arg3
);
39508 wxPyEndAllowThreads(__tstate
);
39509 if (PyErr_Occurred()) SWIG_fail
;
39511 Py_INCREF(Py_None
); resultobj
= Py_None
;
39518 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39519 PyObject
*resultobj
;
39520 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39523 PyObject
* obj0
= 0 ;
39524 PyObject
* obj1
= 0 ;
39525 PyObject
* obj2
= 0 ;
39526 char *kwnames
[] = {
39527 (char *) "self",(char *) "width",(char *) "height", NULL
39530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39532 if (SWIG_arg_fail(1)) SWIG_fail
;
39534 arg2
= (int)(SWIG_As_int(obj1
));
39535 if (SWIG_arg_fail(2)) SWIG_fail
;
39538 arg3
= (int)(SWIG_As_int(obj2
));
39539 if (SWIG_arg_fail(3)) SWIG_fail
;
39542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39543 (arg1
)->SetRatio(arg2
,arg3
);
39545 wxPyEndAllowThreads(__tstate
);
39546 if (PyErr_Occurred()) SWIG_fail
;
39548 Py_INCREF(Py_None
); resultobj
= Py_None
;
39555 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39556 PyObject
*resultobj
;
39557 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39560 PyObject
* obj0
= 0 ;
39561 PyObject
* obj1
= 0 ;
39562 char *kwnames
[] = {
39563 (char *) "self",(char *) "size", NULL
39566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
39567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39568 if (SWIG_arg_fail(1)) SWIG_fail
;
39571 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39575 (arg1
)->SetRatio((wxSize
const &)*arg2
);
39577 wxPyEndAllowThreads(__tstate
);
39578 if (PyErr_Occurred()) SWIG_fail
;
39580 Py_INCREF(Py_None
); resultobj
= Py_None
;
39587 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39588 PyObject
*resultobj
;
39589 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39591 PyObject
* obj0
= 0 ;
39592 PyObject
* obj1
= 0 ;
39593 char *kwnames
[] = {
39594 (char *) "self",(char *) "ratio", NULL
39597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
39598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39599 if (SWIG_arg_fail(1)) SWIG_fail
;
39601 arg2
= (float)(SWIG_As_float(obj1
));
39602 if (SWIG_arg_fail(2)) SWIG_fail
;
39605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39606 (arg1
)->SetRatio(arg2
);
39608 wxPyEndAllowThreads(__tstate
);
39609 if (PyErr_Occurred()) SWIG_fail
;
39611 Py_INCREF(Py_None
); resultobj
= Py_None
;
39618 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39619 PyObject
*resultobj
;
39620 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39622 PyObject
* obj0
= 0 ;
39623 char *kwnames
[] = {
39624 (char *) "self", NULL
39627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
39628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39629 if (SWIG_arg_fail(1)) SWIG_fail
;
39631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39632 result
= (float)(arg1
)->GetRatio();
39634 wxPyEndAllowThreads(__tstate
);
39635 if (PyErr_Occurred()) SWIG_fail
;
39638 resultobj
= SWIG_From_float((float)(result
));
39646 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39647 PyObject
*resultobj
;
39648 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39650 PyObject
* obj0
= 0 ;
39651 char *kwnames
[] = {
39652 (char *) "self", NULL
39655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
39656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39657 if (SWIG_arg_fail(1)) SWIG_fail
;
39659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39660 result
= (arg1
)->GetRect();
39662 wxPyEndAllowThreads(__tstate
);
39663 if (PyErr_Occurred()) SWIG_fail
;
39666 wxRect
* resultptr
;
39667 resultptr
= new wxRect((wxRect
&)(result
));
39668 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
39676 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39677 PyObject
*resultobj
;
39678 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39680 PyObject
* obj0
= 0 ;
39681 char *kwnames
[] = {
39682 (char *) "self", NULL
39685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
39686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39687 if (SWIG_arg_fail(1)) SWIG_fail
;
39689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39690 result
= (bool)(arg1
)->IsWindow();
39692 wxPyEndAllowThreads(__tstate
);
39693 if (PyErr_Occurred()) SWIG_fail
;
39696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39704 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39705 PyObject
*resultobj
;
39706 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39708 PyObject
* obj0
= 0 ;
39709 char *kwnames
[] = {
39710 (char *) "self", NULL
39713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
39714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39715 if (SWIG_arg_fail(1)) SWIG_fail
;
39717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39718 result
= (bool)(arg1
)->IsSizer();
39720 wxPyEndAllowThreads(__tstate
);
39721 if (PyErr_Occurred()) SWIG_fail
;
39724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39732 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39733 PyObject
*resultobj
;
39734 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39736 PyObject
* obj0
= 0 ;
39737 char *kwnames
[] = {
39738 (char *) "self", NULL
39741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
39742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39743 if (SWIG_arg_fail(1)) SWIG_fail
;
39745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39746 result
= (bool)(arg1
)->IsSpacer();
39748 wxPyEndAllowThreads(__tstate
);
39749 if (PyErr_Occurred()) SWIG_fail
;
39752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39760 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39761 PyObject
*resultobj
;
39762 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39764 PyObject
* obj0
= 0 ;
39765 PyObject
* obj1
= 0 ;
39766 char *kwnames
[] = {
39767 (char *) "self",(char *) "proportion", NULL
39770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
39771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39772 if (SWIG_arg_fail(1)) SWIG_fail
;
39774 arg2
= (int)(SWIG_As_int(obj1
));
39775 if (SWIG_arg_fail(2)) SWIG_fail
;
39778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39779 (arg1
)->SetProportion(arg2
);
39781 wxPyEndAllowThreads(__tstate
);
39782 if (PyErr_Occurred()) SWIG_fail
;
39784 Py_INCREF(Py_None
); resultobj
= Py_None
;
39791 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39792 PyObject
*resultobj
;
39793 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39795 PyObject
* obj0
= 0 ;
39796 char *kwnames
[] = {
39797 (char *) "self", NULL
39800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
39801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39802 if (SWIG_arg_fail(1)) SWIG_fail
;
39804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39805 result
= (int)(arg1
)->GetProportion();
39807 wxPyEndAllowThreads(__tstate
);
39808 if (PyErr_Occurred()) SWIG_fail
;
39811 resultobj
= SWIG_From_int((int)(result
));
39819 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39820 PyObject
*resultobj
;
39821 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39823 PyObject
* obj0
= 0 ;
39824 PyObject
* obj1
= 0 ;
39825 char *kwnames
[] = {
39826 (char *) "self",(char *) "flag", NULL
39829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
39830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39831 if (SWIG_arg_fail(1)) SWIG_fail
;
39833 arg2
= (int)(SWIG_As_int(obj1
));
39834 if (SWIG_arg_fail(2)) SWIG_fail
;
39837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39838 (arg1
)->SetFlag(arg2
);
39840 wxPyEndAllowThreads(__tstate
);
39841 if (PyErr_Occurred()) SWIG_fail
;
39843 Py_INCREF(Py_None
); resultobj
= Py_None
;
39850 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39851 PyObject
*resultobj
;
39852 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39854 PyObject
* obj0
= 0 ;
39855 char *kwnames
[] = {
39856 (char *) "self", NULL
39859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
39860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39861 if (SWIG_arg_fail(1)) SWIG_fail
;
39863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39864 result
= (int)(arg1
)->GetFlag();
39866 wxPyEndAllowThreads(__tstate
);
39867 if (PyErr_Occurred()) SWIG_fail
;
39870 resultobj
= SWIG_From_int((int)(result
));
39878 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39879 PyObject
*resultobj
;
39880 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39882 PyObject
* obj0
= 0 ;
39883 PyObject
* obj1
= 0 ;
39884 char *kwnames
[] = {
39885 (char *) "self",(char *) "border", NULL
39888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
39889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39890 if (SWIG_arg_fail(1)) SWIG_fail
;
39892 arg2
= (int)(SWIG_As_int(obj1
));
39893 if (SWIG_arg_fail(2)) SWIG_fail
;
39896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39897 (arg1
)->SetBorder(arg2
);
39899 wxPyEndAllowThreads(__tstate
);
39900 if (PyErr_Occurred()) SWIG_fail
;
39902 Py_INCREF(Py_None
); resultobj
= Py_None
;
39909 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39910 PyObject
*resultobj
;
39911 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39913 PyObject
* obj0
= 0 ;
39914 char *kwnames
[] = {
39915 (char *) "self", NULL
39918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
39919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39920 if (SWIG_arg_fail(1)) SWIG_fail
;
39922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39923 result
= (int)(arg1
)->GetBorder();
39925 wxPyEndAllowThreads(__tstate
);
39926 if (PyErr_Occurred()) SWIG_fail
;
39929 resultobj
= SWIG_From_int((int)(result
));
39937 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39938 PyObject
*resultobj
;
39939 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39941 PyObject
* obj0
= 0 ;
39942 char *kwnames
[] = {
39943 (char *) "self", NULL
39946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
39947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39948 if (SWIG_arg_fail(1)) SWIG_fail
;
39950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39951 result
= (wxWindow
*)(arg1
)->GetWindow();
39953 wxPyEndAllowThreads(__tstate
);
39954 if (PyErr_Occurred()) SWIG_fail
;
39957 resultobj
= wxPyMake_wxObject(result
, 0);
39965 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39966 PyObject
*resultobj
;
39967 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39968 wxWindow
*arg2
= (wxWindow
*) 0 ;
39969 PyObject
* obj0
= 0 ;
39970 PyObject
* obj1
= 0 ;
39971 char *kwnames
[] = {
39972 (char *) "self",(char *) "window", NULL
39975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
39976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39977 if (SWIG_arg_fail(1)) SWIG_fail
;
39978 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39979 if (SWIG_arg_fail(2)) SWIG_fail
;
39981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39982 (arg1
)->SetWindow(arg2
);
39984 wxPyEndAllowThreads(__tstate
);
39985 if (PyErr_Occurred()) SWIG_fail
;
39987 Py_INCREF(Py_None
); resultobj
= Py_None
;
39994 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39995 PyObject
*resultobj
;
39996 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39998 PyObject
* obj0
= 0 ;
39999 char *kwnames
[] = {
40000 (char *) "self", NULL
40003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
40004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40005 if (SWIG_arg_fail(1)) SWIG_fail
;
40007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40008 result
= (wxSizer
*)(arg1
)->GetSizer();
40010 wxPyEndAllowThreads(__tstate
);
40011 if (PyErr_Occurred()) SWIG_fail
;
40014 resultobj
= wxPyMake_wxObject(result
, 0);
40022 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40023 PyObject
*resultobj
;
40024 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
40025 wxSizer
*arg2
= (wxSizer
*) 0 ;
40026 PyObject
* obj0
= 0 ;
40027 PyObject
* obj1
= 0 ;
40028 char *kwnames
[] = {
40029 (char *) "self",(char *) "sizer", NULL
40032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
40033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40034 if (SWIG_arg_fail(1)) SWIG_fail
;
40035 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40036 if (SWIG_arg_fail(2)) SWIG_fail
;
40038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40039 (arg1
)->SetSizer(arg2
);
40041 wxPyEndAllowThreads(__tstate
);
40042 if (PyErr_Occurred()) SWIG_fail
;
40044 Py_INCREF(Py_None
); resultobj
= Py_None
;
40051 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40052 PyObject
*resultobj
;
40053 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
40055 PyObject
* obj0
= 0 ;
40056 char *kwnames
[] = {
40057 (char *) "self", NULL
40060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
40061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40062 if (SWIG_arg_fail(1)) SWIG_fail
;
40064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40066 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
40067 result
= (wxSize
*) &_result_ref
;
40070 wxPyEndAllowThreads(__tstate
);
40071 if (PyErr_Occurred()) SWIG_fail
;
40073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
40080 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40081 PyObject
*resultobj
;
40082 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
40085 PyObject
* obj0
= 0 ;
40086 PyObject
* obj1
= 0 ;
40087 char *kwnames
[] = {
40088 (char *) "self",(char *) "size", NULL
40091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
40092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40093 if (SWIG_arg_fail(1)) SWIG_fail
;
40096 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
40099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40100 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
40102 wxPyEndAllowThreads(__tstate
);
40103 if (PyErr_Occurred()) SWIG_fail
;
40105 Py_INCREF(Py_None
); resultobj
= Py_None
;
40112 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40113 PyObject
*resultobj
;
40114 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
40116 PyObject
* obj0
= 0 ;
40117 PyObject
* obj1
= 0 ;
40118 char *kwnames
[] = {
40119 (char *) "self",(char *) "show", NULL
40122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
40123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40124 if (SWIG_arg_fail(1)) SWIG_fail
;
40126 arg2
= (bool)(SWIG_As_bool(obj1
));
40127 if (SWIG_arg_fail(2)) SWIG_fail
;
40130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40131 (arg1
)->Show(arg2
);
40133 wxPyEndAllowThreads(__tstate
);
40134 if (PyErr_Occurred()) SWIG_fail
;
40136 Py_INCREF(Py_None
); resultobj
= Py_None
;
40143 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40144 PyObject
*resultobj
;
40145 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
40147 PyObject
* obj0
= 0 ;
40148 char *kwnames
[] = {
40149 (char *) "self", NULL
40152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
40153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40154 if (SWIG_arg_fail(1)) SWIG_fail
;
40156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40157 result
= (bool)(arg1
)->IsShown();
40159 wxPyEndAllowThreads(__tstate
);
40160 if (PyErr_Occurred()) SWIG_fail
;
40163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40171 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40172 PyObject
*resultobj
;
40173 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
40175 PyObject
* obj0
= 0 ;
40176 char *kwnames
[] = {
40177 (char *) "self", NULL
40180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
40181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40182 if (SWIG_arg_fail(1)) SWIG_fail
;
40184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40185 result
= (arg1
)->GetPosition();
40187 wxPyEndAllowThreads(__tstate
);
40188 if (PyErr_Occurred()) SWIG_fail
;
40191 wxPoint
* resultptr
;
40192 resultptr
= new wxPoint((wxPoint
&)(result
));
40193 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
40201 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40202 PyObject
*resultobj
;
40203 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
40205 PyObject
* obj0
= 0 ;
40206 char *kwnames
[] = {
40207 (char *) "self", NULL
40210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
40211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40212 if (SWIG_arg_fail(1)) SWIG_fail
;
40214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40215 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
40217 wxPyEndAllowThreads(__tstate
);
40218 if (PyErr_Occurred()) SWIG_fail
;
40220 resultobj
= result
;
40227 static PyObject
*_wrap_SizerItem_SetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40228 PyObject
*resultobj
;
40229 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
40230 PyObject
*arg2
= (PyObject
*) 0 ;
40231 PyObject
* obj0
= 0 ;
40232 PyObject
* obj1
= 0 ;
40233 char *kwnames
[] = {
40234 (char *) "self",(char *) "userData", NULL
40237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetUserData",kwnames
,&obj0
,&obj1
)) goto fail
;
40238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40239 if (SWIG_arg_fail(1)) SWIG_fail
;
40242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40243 wxSizerItem_SetUserData(arg1
,arg2
);
40245 wxPyEndAllowThreads(__tstate
);
40246 if (PyErr_Occurred()) SWIG_fail
;
40248 Py_INCREF(Py_None
); resultobj
= Py_None
;
40255 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
40257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40258 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
40260 return Py_BuildValue((char *)"");
40262 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40263 PyObject
*resultobj
;
40264 wxSizer
*arg1
= (wxSizer
*) 0 ;
40265 PyObject
*arg2
= (PyObject
*) 0 ;
40266 PyObject
* obj0
= 0 ;
40267 PyObject
* obj1
= 0 ;
40268 char *kwnames
[] = {
40269 (char *) "self",(char *) "_self", NULL
40272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
40273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40274 if (SWIG_arg_fail(1)) SWIG_fail
;
40277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40278 wxSizer__setOORInfo(arg1
,arg2
);
40280 wxPyEndAllowThreads(__tstate
);
40281 if (PyErr_Occurred()) SWIG_fail
;
40283 Py_INCREF(Py_None
); resultobj
= Py_None
;
40290 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40291 PyObject
*resultobj
;
40292 wxSizer
*arg1
= (wxSizer
*) 0 ;
40293 PyObject
*arg2
= (PyObject
*) 0 ;
40294 int arg3
= (int) 0 ;
40295 int arg4
= (int) 0 ;
40296 int arg5
= (int) 0 ;
40297 PyObject
*arg6
= (PyObject
*) NULL
;
40298 wxSizerItem
*result
;
40299 PyObject
* obj0
= 0 ;
40300 PyObject
* obj1
= 0 ;
40301 PyObject
* obj2
= 0 ;
40302 PyObject
* obj3
= 0 ;
40303 PyObject
* obj4
= 0 ;
40304 PyObject
* obj5
= 0 ;
40305 char *kwnames
[] = {
40306 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
40309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
40310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40311 if (SWIG_arg_fail(1)) 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
;
40327 arg5
= (int)(SWIG_As_int(obj4
));
40328 if (SWIG_arg_fail(5)) SWIG_fail
;
40335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40336 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
40338 wxPyEndAllowThreads(__tstate
);
40339 if (PyErr_Occurred()) SWIG_fail
;
40341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40348 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40349 PyObject
*resultobj
;
40350 wxSizer
*arg1
= (wxSizer
*) 0 ;
40352 PyObject
*arg3
= (PyObject
*) 0 ;
40353 int arg4
= (int) 0 ;
40354 int arg5
= (int) 0 ;
40355 int arg6
= (int) 0 ;
40356 PyObject
*arg7
= (PyObject
*) NULL
;
40357 wxSizerItem
*result
;
40358 PyObject
* obj0
= 0 ;
40359 PyObject
* obj1
= 0 ;
40360 PyObject
* obj2
= 0 ;
40361 PyObject
* obj3
= 0 ;
40362 PyObject
* obj4
= 0 ;
40363 PyObject
* obj5
= 0 ;
40364 PyObject
* obj6
= 0 ;
40365 char *kwnames
[] = {
40366 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
40369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
40370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40371 if (SWIG_arg_fail(1)) SWIG_fail
;
40373 arg2
= (int)(SWIG_As_int(obj1
));
40374 if (SWIG_arg_fail(2)) SWIG_fail
;
40379 arg4
= (int)(SWIG_As_int(obj3
));
40380 if (SWIG_arg_fail(4)) SWIG_fail
;
40385 arg5
= (int)(SWIG_As_int(obj4
));
40386 if (SWIG_arg_fail(5)) SWIG_fail
;
40391 arg6
= (int)(SWIG_As_int(obj5
));
40392 if (SWIG_arg_fail(6)) SWIG_fail
;
40399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40400 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
40402 wxPyEndAllowThreads(__tstate
);
40403 if (PyErr_Occurred()) SWIG_fail
;
40405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40412 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40413 PyObject
*resultobj
;
40414 wxSizer
*arg1
= (wxSizer
*) 0 ;
40415 PyObject
*arg2
= (PyObject
*) 0 ;
40416 int arg3
= (int) 0 ;
40417 int arg4
= (int) 0 ;
40418 int arg5
= (int) 0 ;
40419 PyObject
*arg6
= (PyObject
*) NULL
;
40420 wxSizerItem
*result
;
40421 PyObject
* obj0
= 0 ;
40422 PyObject
* obj1
= 0 ;
40423 PyObject
* obj2
= 0 ;
40424 PyObject
* obj3
= 0 ;
40425 PyObject
* obj4
= 0 ;
40426 PyObject
* obj5
= 0 ;
40427 char *kwnames
[] = {
40428 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
40431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
40432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40433 if (SWIG_arg_fail(1)) SWIG_fail
;
40437 arg3
= (int)(SWIG_As_int(obj2
));
40438 if (SWIG_arg_fail(3)) SWIG_fail
;
40443 arg4
= (int)(SWIG_As_int(obj3
));
40444 if (SWIG_arg_fail(4)) SWIG_fail
;
40449 arg5
= (int)(SWIG_As_int(obj4
));
40450 if (SWIG_arg_fail(5)) SWIG_fail
;
40457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40458 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
40460 wxPyEndAllowThreads(__tstate
);
40461 if (PyErr_Occurred()) SWIG_fail
;
40463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40470 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40471 PyObject
*resultobj
;
40472 wxSizer
*arg1
= (wxSizer
*) 0 ;
40473 PyObject
*arg2
= (PyObject
*) 0 ;
40475 PyObject
* obj0
= 0 ;
40476 PyObject
* obj1
= 0 ;
40477 char *kwnames
[] = {
40478 (char *) "self",(char *) "item", NULL
40481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
40482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40483 if (SWIG_arg_fail(1)) SWIG_fail
;
40486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40487 result
= (bool)wxSizer_Remove(arg1
,arg2
);
40489 wxPyEndAllowThreads(__tstate
);
40490 if (PyErr_Occurred()) SWIG_fail
;
40493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40501 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40502 PyObject
*resultobj
;
40503 wxSizer
*arg1
= (wxSizer
*) 0 ;
40504 PyObject
*arg2
= (PyObject
*) 0 ;
40506 PyObject
* obj0
= 0 ;
40507 PyObject
* obj1
= 0 ;
40508 char *kwnames
[] = {
40509 (char *) "self",(char *) "item", NULL
40512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
40513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40514 if (SWIG_arg_fail(1)) SWIG_fail
;
40517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40518 result
= (bool)wxSizer_Detach(arg1
,arg2
);
40520 wxPyEndAllowThreads(__tstate
);
40521 if (PyErr_Occurred()) SWIG_fail
;
40524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40532 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40533 PyObject
*resultobj
;
40534 wxSizer
*arg1
= (wxSizer
*) 0 ;
40535 PyObject
*arg2
= (PyObject
*) 0 ;
40536 wxSizerItem
*result
;
40537 PyObject
* obj0
= 0 ;
40538 PyObject
* obj1
= 0 ;
40539 char *kwnames
[] = {
40540 (char *) "self",(char *) "item", NULL
40543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
40544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40545 if (SWIG_arg_fail(1)) SWIG_fail
;
40548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40549 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
40551 wxPyEndAllowThreads(__tstate
);
40552 if (PyErr_Occurred()) SWIG_fail
;
40554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40561 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40562 PyObject
*resultobj
;
40563 wxSizer
*arg1
= (wxSizer
*) 0 ;
40564 PyObject
*arg2
= (PyObject
*) 0 ;
40567 PyObject
* obj0
= 0 ;
40568 PyObject
* obj1
= 0 ;
40569 PyObject
* obj2
= 0 ;
40570 char *kwnames
[] = {
40571 (char *) "self",(char *) "item",(char *) "size", NULL
40574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40576 if (SWIG_arg_fail(1)) SWIG_fail
;
40580 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
40583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40584 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
40586 wxPyEndAllowThreads(__tstate
);
40587 if (PyErr_Occurred()) SWIG_fail
;
40589 Py_INCREF(Py_None
); resultobj
= Py_None
;
40596 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40597 PyObject
*resultobj
;
40598 wxSizer
*arg1
= (wxSizer
*) 0 ;
40599 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
40600 wxSizerItem
*result
;
40601 PyObject
* obj0
= 0 ;
40602 PyObject
* obj1
= 0 ;
40603 char *kwnames
[] = {
40604 (char *) "self",(char *) "item", NULL
40607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
40608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40609 if (SWIG_arg_fail(1)) SWIG_fail
;
40610 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40611 if (SWIG_arg_fail(2)) SWIG_fail
;
40613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40614 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
40616 wxPyEndAllowThreads(__tstate
);
40617 if (PyErr_Occurred()) SWIG_fail
;
40619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40626 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40627 PyObject
*resultobj
;
40628 wxSizer
*arg1
= (wxSizer
*) 0 ;
40630 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
40631 wxSizerItem
*result
;
40632 PyObject
* obj0
= 0 ;
40633 PyObject
* obj1
= 0 ;
40634 PyObject
* obj2
= 0 ;
40635 char *kwnames
[] = {
40636 (char *) "self",(char *) "index",(char *) "item", NULL
40639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40641 if (SWIG_arg_fail(1)) SWIG_fail
;
40643 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40644 if (SWIG_arg_fail(2)) SWIG_fail
;
40646 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40647 if (SWIG_arg_fail(3)) SWIG_fail
;
40649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40650 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
40652 wxPyEndAllowThreads(__tstate
);
40653 if (PyErr_Occurred()) SWIG_fail
;
40655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40662 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40663 PyObject
*resultobj
;
40664 wxSizer
*arg1
= (wxSizer
*) 0 ;
40665 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
40666 wxSizerItem
*result
;
40667 PyObject
* obj0
= 0 ;
40668 PyObject
* obj1
= 0 ;
40669 char *kwnames
[] = {
40670 (char *) "self",(char *) "item", NULL
40673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
40674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40675 if (SWIG_arg_fail(1)) SWIG_fail
;
40676 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40677 if (SWIG_arg_fail(2)) SWIG_fail
;
40679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40680 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
40682 wxPyEndAllowThreads(__tstate
);
40683 if (PyErr_Occurred()) SWIG_fail
;
40685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40692 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40693 PyObject
*resultobj
;
40694 wxSizer
*arg1
= (wxSizer
*) 0 ;
40699 PyObject
* obj0
= 0 ;
40700 PyObject
* obj1
= 0 ;
40701 PyObject
* obj2
= 0 ;
40702 PyObject
* obj3
= 0 ;
40703 PyObject
* obj4
= 0 ;
40704 char *kwnames
[] = {
40705 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
40708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
40709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40710 if (SWIG_arg_fail(1)) SWIG_fail
;
40712 arg2
= (int)(SWIG_As_int(obj1
));
40713 if (SWIG_arg_fail(2)) SWIG_fail
;
40716 arg3
= (int)(SWIG_As_int(obj2
));
40717 if (SWIG_arg_fail(3)) SWIG_fail
;
40720 arg4
= (int)(SWIG_As_int(obj3
));
40721 if (SWIG_arg_fail(4)) SWIG_fail
;
40724 arg5
= (int)(SWIG_As_int(obj4
));
40725 if (SWIG_arg_fail(5)) SWIG_fail
;
40728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40729 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
40731 wxPyEndAllowThreads(__tstate
);
40732 if (PyErr_Occurred()) SWIG_fail
;
40734 Py_INCREF(Py_None
); resultobj
= Py_None
;
40741 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40742 PyObject
*resultobj
;
40743 wxSizer
*arg1
= (wxSizer
*) 0 ;
40746 PyObject
* obj0
= 0 ;
40747 PyObject
* obj1
= 0 ;
40748 char *kwnames
[] = {
40749 (char *) "self",(char *) "size", NULL
40752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
40753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40754 if (SWIG_arg_fail(1)) SWIG_fail
;
40757 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
40760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40761 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
40763 wxPyEndAllowThreads(__tstate
);
40764 if (PyErr_Occurred()) SWIG_fail
;
40766 Py_INCREF(Py_None
); resultobj
= Py_None
;
40773 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40774 PyObject
*resultobj
;
40775 wxSizer
*arg1
= (wxSizer
*) 0 ;
40777 PyObject
* obj0
= 0 ;
40778 char *kwnames
[] = {
40779 (char *) "self", NULL
40782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
40783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40784 if (SWIG_arg_fail(1)) SWIG_fail
;
40786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40787 result
= (arg1
)->GetSize();
40789 wxPyEndAllowThreads(__tstate
);
40790 if (PyErr_Occurred()) SWIG_fail
;
40793 wxSize
* resultptr
;
40794 resultptr
= new wxSize((wxSize
&)(result
));
40795 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40803 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40804 PyObject
*resultobj
;
40805 wxSizer
*arg1
= (wxSizer
*) 0 ;
40807 PyObject
* obj0
= 0 ;
40808 char *kwnames
[] = {
40809 (char *) "self", NULL
40812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
40813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40814 if (SWIG_arg_fail(1)) SWIG_fail
;
40816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40817 result
= (arg1
)->GetPosition();
40819 wxPyEndAllowThreads(__tstate
);
40820 if (PyErr_Occurred()) SWIG_fail
;
40823 wxPoint
* resultptr
;
40824 resultptr
= new wxPoint((wxPoint
&)(result
));
40825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
40833 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40834 PyObject
*resultobj
;
40835 wxSizer
*arg1
= (wxSizer
*) 0 ;
40837 PyObject
* obj0
= 0 ;
40838 char *kwnames
[] = {
40839 (char *) "self", NULL
40842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
40843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40844 if (SWIG_arg_fail(1)) SWIG_fail
;
40846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40847 result
= (arg1
)->GetMinSize();
40849 wxPyEndAllowThreads(__tstate
);
40850 if (PyErr_Occurred()) SWIG_fail
;
40853 wxSize
* resultptr
;
40854 resultptr
= new wxSize((wxSize
&)(result
));
40855 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40863 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40864 PyObject
*resultobj
;
40865 wxSizer
*arg1
= (wxSizer
*) 0 ;
40866 PyObject
* obj0
= 0 ;
40867 char *kwnames
[] = {
40868 (char *) "self", NULL
40871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
40872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40873 if (SWIG_arg_fail(1)) SWIG_fail
;
40875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40876 (arg1
)->RecalcSizes();
40878 wxPyEndAllowThreads(__tstate
);
40879 if (PyErr_Occurred()) SWIG_fail
;
40881 Py_INCREF(Py_None
); resultobj
= Py_None
;
40888 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40889 PyObject
*resultobj
;
40890 wxSizer
*arg1
= (wxSizer
*) 0 ;
40892 PyObject
* obj0
= 0 ;
40893 char *kwnames
[] = {
40894 (char *) "self", NULL
40897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
40898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40899 if (SWIG_arg_fail(1)) SWIG_fail
;
40901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40902 result
= (arg1
)->CalcMin();
40904 wxPyEndAllowThreads(__tstate
);
40905 if (PyErr_Occurred()) SWIG_fail
;
40908 wxSize
* resultptr
;
40909 resultptr
= new wxSize((wxSize
&)(result
));
40910 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40918 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40919 PyObject
*resultobj
;
40920 wxSizer
*arg1
= (wxSizer
*) 0 ;
40921 PyObject
* obj0
= 0 ;
40922 char *kwnames
[] = {
40923 (char *) "self", NULL
40926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
40927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40928 if (SWIG_arg_fail(1)) SWIG_fail
;
40930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40933 wxPyEndAllowThreads(__tstate
);
40934 if (PyErr_Occurred()) SWIG_fail
;
40936 Py_INCREF(Py_None
); resultobj
= Py_None
;
40943 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40944 PyObject
*resultobj
;
40945 wxSizer
*arg1
= (wxSizer
*) 0 ;
40946 wxWindow
*arg2
= (wxWindow
*) 0 ;
40948 PyObject
* obj0
= 0 ;
40949 PyObject
* obj1
= 0 ;
40950 char *kwnames
[] = {
40951 (char *) "self",(char *) "window", NULL
40954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
40955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40956 if (SWIG_arg_fail(1)) SWIG_fail
;
40957 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40958 if (SWIG_arg_fail(2)) SWIG_fail
;
40960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40961 result
= (arg1
)->Fit(arg2
);
40963 wxPyEndAllowThreads(__tstate
);
40964 if (PyErr_Occurred()) SWIG_fail
;
40967 wxSize
* resultptr
;
40968 resultptr
= new wxSize((wxSize
&)(result
));
40969 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40977 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40978 PyObject
*resultobj
;
40979 wxSizer
*arg1
= (wxSizer
*) 0 ;
40980 wxWindow
*arg2
= (wxWindow
*) 0 ;
40981 PyObject
* obj0
= 0 ;
40982 PyObject
* obj1
= 0 ;
40983 char *kwnames
[] = {
40984 (char *) "self",(char *) "window", NULL
40987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
40988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40989 if (SWIG_arg_fail(1)) SWIG_fail
;
40990 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40991 if (SWIG_arg_fail(2)) SWIG_fail
;
40993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40994 (arg1
)->FitInside(arg2
);
40996 wxPyEndAllowThreads(__tstate
);
40997 if (PyErr_Occurred()) SWIG_fail
;
40999 Py_INCREF(Py_None
); resultobj
= Py_None
;
41006 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41007 PyObject
*resultobj
;
41008 wxSizer
*arg1
= (wxSizer
*) 0 ;
41009 wxWindow
*arg2
= (wxWindow
*) 0 ;
41010 PyObject
* obj0
= 0 ;
41011 PyObject
* obj1
= 0 ;
41012 char *kwnames
[] = {
41013 (char *) "self",(char *) "window", NULL
41016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
41017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41018 if (SWIG_arg_fail(1)) SWIG_fail
;
41019 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
41020 if (SWIG_arg_fail(2)) SWIG_fail
;
41022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41023 (arg1
)->SetSizeHints(arg2
);
41025 wxPyEndAllowThreads(__tstate
);
41026 if (PyErr_Occurred()) SWIG_fail
;
41028 Py_INCREF(Py_None
); resultobj
= Py_None
;
41035 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41036 PyObject
*resultobj
;
41037 wxSizer
*arg1
= (wxSizer
*) 0 ;
41038 wxWindow
*arg2
= (wxWindow
*) 0 ;
41039 PyObject
* obj0
= 0 ;
41040 PyObject
* obj1
= 0 ;
41041 char *kwnames
[] = {
41042 (char *) "self",(char *) "window", NULL
41045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
41046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41047 if (SWIG_arg_fail(1)) SWIG_fail
;
41048 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
41049 if (SWIG_arg_fail(2)) SWIG_fail
;
41051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41052 (arg1
)->SetVirtualSizeHints(arg2
);
41054 wxPyEndAllowThreads(__tstate
);
41055 if (PyErr_Occurred()) SWIG_fail
;
41057 Py_INCREF(Py_None
); resultobj
= Py_None
;
41064 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41065 PyObject
*resultobj
;
41066 wxSizer
*arg1
= (wxSizer
*) 0 ;
41067 bool arg2
= (bool) false ;
41068 PyObject
* obj0
= 0 ;
41069 PyObject
* obj1
= 0 ;
41070 char *kwnames
[] = {
41071 (char *) "self",(char *) "deleteWindows", NULL
41074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
41075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41076 if (SWIG_arg_fail(1)) SWIG_fail
;
41079 arg2
= (bool)(SWIG_As_bool(obj1
));
41080 if (SWIG_arg_fail(2)) SWIG_fail
;
41084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41085 (arg1
)->Clear(arg2
);
41087 wxPyEndAllowThreads(__tstate
);
41088 if (PyErr_Occurred()) SWIG_fail
;
41090 Py_INCREF(Py_None
); resultobj
= Py_None
;
41097 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41098 PyObject
*resultobj
;
41099 wxSizer
*arg1
= (wxSizer
*) 0 ;
41100 PyObject
* obj0
= 0 ;
41101 char *kwnames
[] = {
41102 (char *) "self", NULL
41105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
41106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41107 if (SWIG_arg_fail(1)) SWIG_fail
;
41109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41110 (arg1
)->DeleteWindows();
41112 wxPyEndAllowThreads(__tstate
);
41113 if (PyErr_Occurred()) SWIG_fail
;
41115 Py_INCREF(Py_None
); resultobj
= Py_None
;
41122 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41123 PyObject
*resultobj
;
41124 wxSizer
*arg1
= (wxSizer
*) 0 ;
41126 PyObject
* obj0
= 0 ;
41127 char *kwnames
[] = {
41128 (char *) "self", NULL
41131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
41132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41133 if (SWIG_arg_fail(1)) SWIG_fail
;
41135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41136 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
41138 wxPyEndAllowThreads(__tstate
);
41139 if (PyErr_Occurred()) SWIG_fail
;
41141 resultobj
= result
;
41148 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41149 PyObject
*resultobj
;
41150 wxSizer
*arg1
= (wxSizer
*) 0 ;
41151 PyObject
*arg2
= (PyObject
*) 0 ;
41152 bool arg3
= (bool) true ;
41153 bool arg4
= (bool) false ;
41155 PyObject
* obj0
= 0 ;
41156 PyObject
* obj1
= 0 ;
41157 PyObject
* obj2
= 0 ;
41158 PyObject
* obj3
= 0 ;
41159 char *kwnames
[] = {
41160 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
41163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
41164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41165 if (SWIG_arg_fail(1)) SWIG_fail
;
41169 arg3
= (bool)(SWIG_As_bool(obj2
));
41170 if (SWIG_arg_fail(3)) SWIG_fail
;
41175 arg4
= (bool)(SWIG_As_bool(obj3
));
41176 if (SWIG_arg_fail(4)) SWIG_fail
;
41180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41181 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
41183 wxPyEndAllowThreads(__tstate
);
41184 if (PyErr_Occurred()) SWIG_fail
;
41187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41195 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41196 PyObject
*resultobj
;
41197 wxSizer
*arg1
= (wxSizer
*) 0 ;
41198 PyObject
*arg2
= (PyObject
*) 0 ;
41200 PyObject
* obj0
= 0 ;
41201 PyObject
* obj1
= 0 ;
41202 char *kwnames
[] = {
41203 (char *) "self",(char *) "item", NULL
41206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
41207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41208 if (SWIG_arg_fail(1)) SWIG_fail
;
41211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41212 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
41214 wxPyEndAllowThreads(__tstate
);
41215 if (PyErr_Occurred()) SWIG_fail
;
41218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41226 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41227 PyObject
*resultobj
;
41228 wxSizer
*arg1
= (wxSizer
*) 0 ;
41230 PyObject
* obj0
= 0 ;
41231 PyObject
* obj1
= 0 ;
41232 char *kwnames
[] = {
41233 (char *) "self",(char *) "show", NULL
41236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
41237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41238 if (SWIG_arg_fail(1)) SWIG_fail
;
41240 arg2
= (bool)(SWIG_As_bool(obj1
));
41241 if (SWIG_arg_fail(2)) SWIG_fail
;
41244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41245 (arg1
)->ShowItems(arg2
);
41247 wxPyEndAllowThreads(__tstate
);
41248 if (PyErr_Occurred()) SWIG_fail
;
41250 Py_INCREF(Py_None
); resultobj
= Py_None
;
41257 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
41259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41260 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
41262 return Py_BuildValue((char *)"");
41264 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41265 PyObject
*resultobj
;
41267 char *kwnames
[] = {
41271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
41273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41274 result
= (wxPySizer
*)new wxPySizer();
41276 wxPyEndAllowThreads(__tstate
);
41277 if (PyErr_Occurred()) SWIG_fail
;
41279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
41286 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41287 PyObject
*resultobj
;
41288 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
41289 PyObject
*arg2
= (PyObject
*) 0 ;
41290 PyObject
*arg3
= (PyObject
*) 0 ;
41291 PyObject
* obj0
= 0 ;
41292 PyObject
* obj1
= 0 ;
41293 PyObject
* obj2
= 0 ;
41294 char *kwnames
[] = {
41295 (char *) "self",(char *) "self",(char *) "_class", NULL
41298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
41300 if (SWIG_arg_fail(1)) SWIG_fail
;
41304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41305 (arg1
)->_setCallbackInfo(arg2
,arg3
);
41307 wxPyEndAllowThreads(__tstate
);
41308 if (PyErr_Occurred()) SWIG_fail
;
41310 Py_INCREF(Py_None
); resultobj
= Py_None
;
41317 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
41319 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41320 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
41322 return Py_BuildValue((char *)"");
41324 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41325 PyObject
*resultobj
;
41326 int arg1
= (int) wxHORIZONTAL
;
41327 wxBoxSizer
*result
;
41328 PyObject
* obj0
= 0 ;
41329 char *kwnames
[] = {
41330 (char *) "orient", NULL
41333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
41336 arg1
= (int)(SWIG_As_int(obj0
));
41337 if (SWIG_arg_fail(1)) SWIG_fail
;
41341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41342 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
41344 wxPyEndAllowThreads(__tstate
);
41345 if (PyErr_Occurred()) SWIG_fail
;
41347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
41354 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41355 PyObject
*resultobj
;
41356 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
41358 PyObject
* obj0
= 0 ;
41359 char *kwnames
[] = {
41360 (char *) "self", NULL
41363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
41364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41365 if (SWIG_arg_fail(1)) SWIG_fail
;
41367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41368 result
= (int)(arg1
)->GetOrientation();
41370 wxPyEndAllowThreads(__tstate
);
41371 if (PyErr_Occurred()) SWIG_fail
;
41374 resultobj
= SWIG_From_int((int)(result
));
41382 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41383 PyObject
*resultobj
;
41384 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
41386 PyObject
* obj0
= 0 ;
41387 PyObject
* obj1
= 0 ;
41388 char *kwnames
[] = {
41389 (char *) "self",(char *) "orient", NULL
41392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
41393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41394 if (SWIG_arg_fail(1)) SWIG_fail
;
41396 arg2
= (int)(SWIG_As_int(obj1
));
41397 if (SWIG_arg_fail(2)) SWIG_fail
;
41400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41401 (arg1
)->SetOrientation(arg2
);
41403 wxPyEndAllowThreads(__tstate
);
41404 if (PyErr_Occurred()) SWIG_fail
;
41406 Py_INCREF(Py_None
); resultobj
= Py_None
;
41413 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
41415 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41416 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
41418 return Py_BuildValue((char *)"");
41420 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41421 PyObject
*resultobj
;
41422 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
41423 int arg2
= (int) wxHORIZONTAL
;
41424 wxStaticBoxSizer
*result
;
41425 PyObject
* obj0
= 0 ;
41426 PyObject
* obj1
= 0 ;
41427 char *kwnames
[] = {
41428 (char *) "box",(char *) "orient", NULL
41431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
41432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
41433 if (SWIG_arg_fail(1)) SWIG_fail
;
41436 arg2
= (int)(SWIG_As_int(obj1
));
41437 if (SWIG_arg_fail(2)) SWIG_fail
;
41441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41442 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
41444 wxPyEndAllowThreads(__tstate
);
41445 if (PyErr_Occurred()) SWIG_fail
;
41447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
41454 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41455 PyObject
*resultobj
;
41456 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
41457 wxStaticBox
*result
;
41458 PyObject
* obj0
= 0 ;
41459 char *kwnames
[] = {
41460 (char *) "self", NULL
41463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
41464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41465 if (SWIG_arg_fail(1)) SWIG_fail
;
41467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41468 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
41470 wxPyEndAllowThreads(__tstate
);
41471 if (PyErr_Occurred()) SWIG_fail
;
41474 resultobj
= wxPyMake_wxObject(result
, 0);
41482 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
41484 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41485 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
41487 return Py_BuildValue((char *)"");
41489 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41490 PyObject
*resultobj
;
41491 int arg1
= (int) 1 ;
41492 int arg2
= (int) 0 ;
41493 int arg3
= (int) 0 ;
41494 int arg4
= (int) 0 ;
41495 wxGridSizer
*result
;
41496 PyObject
* obj0
= 0 ;
41497 PyObject
* obj1
= 0 ;
41498 PyObject
* obj2
= 0 ;
41499 PyObject
* obj3
= 0 ;
41500 char *kwnames
[] = {
41501 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
41504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
41507 arg1
= (int)(SWIG_As_int(obj0
));
41508 if (SWIG_arg_fail(1)) SWIG_fail
;
41513 arg2
= (int)(SWIG_As_int(obj1
));
41514 if (SWIG_arg_fail(2)) SWIG_fail
;
41519 arg3
= (int)(SWIG_As_int(obj2
));
41520 if (SWIG_arg_fail(3)) SWIG_fail
;
41525 arg4
= (int)(SWIG_As_int(obj3
));
41526 if (SWIG_arg_fail(4)) SWIG_fail
;
41530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41531 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
41533 wxPyEndAllowThreads(__tstate
);
41534 if (PyErr_Occurred()) SWIG_fail
;
41536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
41543 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41544 PyObject
*resultobj
;
41545 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41547 PyObject
* obj0
= 0 ;
41548 PyObject
* obj1
= 0 ;
41549 char *kwnames
[] = {
41550 (char *) "self",(char *) "cols", NULL
41553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
41554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41555 if (SWIG_arg_fail(1)) SWIG_fail
;
41557 arg2
= (int)(SWIG_As_int(obj1
));
41558 if (SWIG_arg_fail(2)) SWIG_fail
;
41561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41562 (arg1
)->SetCols(arg2
);
41564 wxPyEndAllowThreads(__tstate
);
41565 if (PyErr_Occurred()) SWIG_fail
;
41567 Py_INCREF(Py_None
); resultobj
= Py_None
;
41574 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41575 PyObject
*resultobj
;
41576 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41578 PyObject
* obj0
= 0 ;
41579 PyObject
* obj1
= 0 ;
41580 char *kwnames
[] = {
41581 (char *) "self",(char *) "rows", NULL
41584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
41585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41586 if (SWIG_arg_fail(1)) SWIG_fail
;
41588 arg2
= (int)(SWIG_As_int(obj1
));
41589 if (SWIG_arg_fail(2)) SWIG_fail
;
41592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41593 (arg1
)->SetRows(arg2
);
41595 wxPyEndAllowThreads(__tstate
);
41596 if (PyErr_Occurred()) SWIG_fail
;
41598 Py_INCREF(Py_None
); resultobj
= Py_None
;
41605 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41606 PyObject
*resultobj
;
41607 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41609 PyObject
* obj0
= 0 ;
41610 PyObject
* obj1
= 0 ;
41611 char *kwnames
[] = {
41612 (char *) "self",(char *) "gap", NULL
41615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
41616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41617 if (SWIG_arg_fail(1)) SWIG_fail
;
41619 arg2
= (int)(SWIG_As_int(obj1
));
41620 if (SWIG_arg_fail(2)) SWIG_fail
;
41623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41624 (arg1
)->SetVGap(arg2
);
41626 wxPyEndAllowThreads(__tstate
);
41627 if (PyErr_Occurred()) SWIG_fail
;
41629 Py_INCREF(Py_None
); resultobj
= Py_None
;
41636 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41637 PyObject
*resultobj
;
41638 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41640 PyObject
* obj0
= 0 ;
41641 PyObject
* obj1
= 0 ;
41642 char *kwnames
[] = {
41643 (char *) "self",(char *) "gap", NULL
41646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
41647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41648 if (SWIG_arg_fail(1)) SWIG_fail
;
41650 arg2
= (int)(SWIG_As_int(obj1
));
41651 if (SWIG_arg_fail(2)) SWIG_fail
;
41654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41655 (arg1
)->SetHGap(arg2
);
41657 wxPyEndAllowThreads(__tstate
);
41658 if (PyErr_Occurred()) SWIG_fail
;
41660 Py_INCREF(Py_None
); resultobj
= Py_None
;
41667 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41668 PyObject
*resultobj
;
41669 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41671 PyObject
* obj0
= 0 ;
41672 char *kwnames
[] = {
41673 (char *) "self", NULL
41676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
41677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41678 if (SWIG_arg_fail(1)) SWIG_fail
;
41680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41681 result
= (int)(arg1
)->GetCols();
41683 wxPyEndAllowThreads(__tstate
);
41684 if (PyErr_Occurred()) SWIG_fail
;
41687 resultobj
= SWIG_From_int((int)(result
));
41695 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41696 PyObject
*resultobj
;
41697 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41699 PyObject
* obj0
= 0 ;
41700 char *kwnames
[] = {
41701 (char *) "self", NULL
41704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
41705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41706 if (SWIG_arg_fail(1)) SWIG_fail
;
41708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41709 result
= (int)(arg1
)->GetRows();
41711 wxPyEndAllowThreads(__tstate
);
41712 if (PyErr_Occurred()) SWIG_fail
;
41715 resultobj
= SWIG_From_int((int)(result
));
41723 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41724 PyObject
*resultobj
;
41725 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41727 PyObject
* obj0
= 0 ;
41728 char *kwnames
[] = {
41729 (char *) "self", NULL
41732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
41733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41734 if (SWIG_arg_fail(1)) SWIG_fail
;
41736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41737 result
= (int)(arg1
)->GetVGap();
41739 wxPyEndAllowThreads(__tstate
);
41740 if (PyErr_Occurred()) SWIG_fail
;
41743 resultobj
= SWIG_From_int((int)(result
));
41751 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41752 PyObject
*resultobj
;
41753 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41755 PyObject
* obj0
= 0 ;
41756 char *kwnames
[] = {
41757 (char *) "self", NULL
41760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
41761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41762 if (SWIG_arg_fail(1)) SWIG_fail
;
41764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41765 result
= (int)(arg1
)->GetHGap();
41767 wxPyEndAllowThreads(__tstate
);
41768 if (PyErr_Occurred()) SWIG_fail
;
41771 resultobj
= SWIG_From_int((int)(result
));
41779 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
41781 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41782 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
41784 return Py_BuildValue((char *)"");
41786 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41787 PyObject
*resultobj
;
41788 int arg1
= (int) 1 ;
41789 int arg2
= (int) 0 ;
41790 int arg3
= (int) 0 ;
41791 int arg4
= (int) 0 ;
41792 wxFlexGridSizer
*result
;
41793 PyObject
* obj0
= 0 ;
41794 PyObject
* obj1
= 0 ;
41795 PyObject
* obj2
= 0 ;
41796 PyObject
* obj3
= 0 ;
41797 char *kwnames
[] = {
41798 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
41801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
41804 arg1
= (int)(SWIG_As_int(obj0
));
41805 if (SWIG_arg_fail(1)) SWIG_fail
;
41810 arg2
= (int)(SWIG_As_int(obj1
));
41811 if (SWIG_arg_fail(2)) SWIG_fail
;
41816 arg3
= (int)(SWIG_As_int(obj2
));
41817 if (SWIG_arg_fail(3)) SWIG_fail
;
41822 arg4
= (int)(SWIG_As_int(obj3
));
41823 if (SWIG_arg_fail(4)) SWIG_fail
;
41827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41828 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
41830 wxPyEndAllowThreads(__tstate
);
41831 if (PyErr_Occurred()) SWIG_fail
;
41833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
41840 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41841 PyObject
*resultobj
;
41842 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41844 int arg3
= (int) 0 ;
41845 PyObject
* obj0
= 0 ;
41846 PyObject
* obj1
= 0 ;
41847 PyObject
* obj2
= 0 ;
41848 char *kwnames
[] = {
41849 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41854 if (SWIG_arg_fail(1)) SWIG_fail
;
41856 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41857 if (SWIG_arg_fail(2)) SWIG_fail
;
41861 arg3
= (int)(SWIG_As_int(obj2
));
41862 if (SWIG_arg_fail(3)) SWIG_fail
;
41866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41867 (arg1
)->AddGrowableRow(arg2
,arg3
);
41869 wxPyEndAllowThreads(__tstate
);
41870 if (PyErr_Occurred()) SWIG_fail
;
41872 Py_INCREF(Py_None
); resultobj
= Py_None
;
41879 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41880 PyObject
*resultobj
;
41881 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41883 PyObject
* obj0
= 0 ;
41884 PyObject
* obj1
= 0 ;
41885 char *kwnames
[] = {
41886 (char *) "self",(char *) "idx", NULL
41889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41891 if (SWIG_arg_fail(1)) SWIG_fail
;
41893 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41894 if (SWIG_arg_fail(2)) SWIG_fail
;
41897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41898 (arg1
)->RemoveGrowableRow(arg2
);
41900 wxPyEndAllowThreads(__tstate
);
41901 if (PyErr_Occurred()) SWIG_fail
;
41903 Py_INCREF(Py_None
); resultobj
= Py_None
;
41910 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41911 PyObject
*resultobj
;
41912 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41914 int arg3
= (int) 0 ;
41915 PyObject
* obj0
= 0 ;
41916 PyObject
* obj1
= 0 ;
41917 PyObject
* obj2
= 0 ;
41918 char *kwnames
[] = {
41919 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41924 if (SWIG_arg_fail(1)) SWIG_fail
;
41926 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41927 if (SWIG_arg_fail(2)) SWIG_fail
;
41931 arg3
= (int)(SWIG_As_int(obj2
));
41932 if (SWIG_arg_fail(3)) SWIG_fail
;
41936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41937 (arg1
)->AddGrowableCol(arg2
,arg3
);
41939 wxPyEndAllowThreads(__tstate
);
41940 if (PyErr_Occurred()) SWIG_fail
;
41942 Py_INCREF(Py_None
); resultobj
= Py_None
;
41949 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41950 PyObject
*resultobj
;
41951 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41953 PyObject
* obj0
= 0 ;
41954 PyObject
* obj1
= 0 ;
41955 char *kwnames
[] = {
41956 (char *) "self",(char *) "idx", NULL
41959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41961 if (SWIG_arg_fail(1)) SWIG_fail
;
41963 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41964 if (SWIG_arg_fail(2)) SWIG_fail
;
41967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41968 (arg1
)->RemoveGrowableCol(arg2
);
41970 wxPyEndAllowThreads(__tstate
);
41971 if (PyErr_Occurred()) SWIG_fail
;
41973 Py_INCREF(Py_None
); resultobj
= Py_None
;
41980 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41981 PyObject
*resultobj
;
41982 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41984 PyObject
* obj0
= 0 ;
41985 PyObject
* obj1
= 0 ;
41986 char *kwnames
[] = {
41987 (char *) "self",(char *) "direction", NULL
41990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
41991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41992 if (SWIG_arg_fail(1)) SWIG_fail
;
41994 arg2
= (int)(SWIG_As_int(obj1
));
41995 if (SWIG_arg_fail(2)) SWIG_fail
;
41998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41999 (arg1
)->SetFlexibleDirection(arg2
);
42001 wxPyEndAllowThreads(__tstate
);
42002 if (PyErr_Occurred()) SWIG_fail
;
42004 Py_INCREF(Py_None
); resultobj
= Py_None
;
42011 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42012 PyObject
*resultobj
;
42013 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
42015 PyObject
* obj0
= 0 ;
42016 char *kwnames
[] = {
42017 (char *) "self", NULL
42020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
42021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
42022 if (SWIG_arg_fail(1)) SWIG_fail
;
42024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42025 result
= (int)(arg1
)->GetFlexibleDirection();
42027 wxPyEndAllowThreads(__tstate
);
42028 if (PyErr_Occurred()) SWIG_fail
;
42031 resultobj
= SWIG_From_int((int)(result
));
42039 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42040 PyObject
*resultobj
;
42041 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
42042 wxFlexSizerGrowMode arg2
;
42043 PyObject
* obj0
= 0 ;
42044 PyObject
* obj1
= 0 ;
42045 char *kwnames
[] = {
42046 (char *) "self",(char *) "mode", NULL
42049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
42050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
42051 if (SWIG_arg_fail(1)) SWIG_fail
;
42053 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
42054 if (SWIG_arg_fail(2)) SWIG_fail
;
42057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42058 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
42060 wxPyEndAllowThreads(__tstate
);
42061 if (PyErr_Occurred()) SWIG_fail
;
42063 Py_INCREF(Py_None
); resultobj
= Py_None
;
42070 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42071 PyObject
*resultobj
;
42072 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
42073 wxFlexSizerGrowMode result
;
42074 PyObject
* obj0
= 0 ;
42075 char *kwnames
[] = {
42076 (char *) "self", NULL
42079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
42080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
42081 if (SWIG_arg_fail(1)) SWIG_fail
;
42083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42084 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
42086 wxPyEndAllowThreads(__tstate
);
42087 if (PyErr_Occurred()) SWIG_fail
;
42089 resultobj
= SWIG_From_int((result
));
42096 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42097 PyObject
*resultobj
;
42098 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
42099 wxArrayInt
*result
;
42100 PyObject
* obj0
= 0 ;
42101 char *kwnames
[] = {
42102 (char *) "self", NULL
42105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
42106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
42107 if (SWIG_arg_fail(1)) SWIG_fail
;
42109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42111 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
42112 result
= (wxArrayInt
*) &_result_ref
;
42115 wxPyEndAllowThreads(__tstate
);
42116 if (PyErr_Occurred()) SWIG_fail
;
42119 resultobj
= PyList_New(0);
42121 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
42122 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
42123 PyList_Append(resultobj
, val
);
42133 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42134 PyObject
*resultobj
;
42135 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
42136 wxArrayInt
*result
;
42137 PyObject
* obj0
= 0 ;
42138 char *kwnames
[] = {
42139 (char *) "self", NULL
42142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
42143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
42144 if (SWIG_arg_fail(1)) SWIG_fail
;
42146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42148 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
42149 result
= (wxArrayInt
*) &_result_ref
;
42152 wxPyEndAllowThreads(__tstate
);
42153 if (PyErr_Occurred()) SWIG_fail
;
42156 resultobj
= PyList_New(0);
42158 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
42159 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
42160 PyList_Append(resultobj
, val
);
42170 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
42172 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42173 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
42175 return Py_BuildValue((char *)"");
42177 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42178 PyObject
*resultobj
;
42179 wxStdDialogButtonSizer
*result
;
42180 char *kwnames
[] = {
42184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
42186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42187 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
42189 wxPyEndAllowThreads(__tstate
);
42190 if (PyErr_Occurred()) SWIG_fail
;
42192 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
42199 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42200 PyObject
*resultobj
;
42201 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42202 wxButton
*arg2
= (wxButton
*) 0 ;
42203 PyObject
* obj0
= 0 ;
42204 PyObject
* obj1
= 0 ;
42205 char *kwnames
[] = {
42206 (char *) "self",(char *) "button", NULL
42209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
42210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42211 if (SWIG_arg_fail(1)) SWIG_fail
;
42212 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
42213 if (SWIG_arg_fail(2)) SWIG_fail
;
42215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42216 (arg1
)->AddButton(arg2
);
42218 wxPyEndAllowThreads(__tstate
);
42219 if (PyErr_Occurred()) SWIG_fail
;
42221 Py_INCREF(Py_None
); resultobj
= Py_None
;
42228 static PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42229 PyObject
*resultobj
;
42230 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42231 PyObject
* obj0
= 0 ;
42232 char *kwnames
[] = {
42233 (char *) "self", NULL
42236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Realize",kwnames
,&obj0
)) goto fail
;
42237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42238 if (SWIG_arg_fail(1)) SWIG_fail
;
42240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42243 wxPyEndAllowThreads(__tstate
);
42244 if (PyErr_Occurred()) SWIG_fail
;
42246 Py_INCREF(Py_None
); resultobj
= Py_None
;
42253 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42254 PyObject
*resultobj
;
42255 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42256 wxButton
*arg2
= (wxButton
*) 0 ;
42257 PyObject
* obj0
= 0 ;
42258 PyObject
* obj1
= 0 ;
42259 char *kwnames
[] = {
42260 (char *) "self",(char *) "button", NULL
42263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
42264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42265 if (SWIG_arg_fail(1)) SWIG_fail
;
42266 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
42267 if (SWIG_arg_fail(2)) SWIG_fail
;
42269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42270 (arg1
)->SetAffirmativeButton(arg2
);
42272 wxPyEndAllowThreads(__tstate
);
42273 if (PyErr_Occurred()) SWIG_fail
;
42275 Py_INCREF(Py_None
); resultobj
= Py_None
;
42282 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42283 PyObject
*resultobj
;
42284 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42285 wxButton
*arg2
= (wxButton
*) 0 ;
42286 PyObject
* obj0
= 0 ;
42287 PyObject
* obj1
= 0 ;
42288 char *kwnames
[] = {
42289 (char *) "self",(char *) "button", NULL
42292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
42293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42294 if (SWIG_arg_fail(1)) SWIG_fail
;
42295 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
42296 if (SWIG_arg_fail(2)) SWIG_fail
;
42298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42299 (arg1
)->SetNegativeButton(arg2
);
42301 wxPyEndAllowThreads(__tstate
);
42302 if (PyErr_Occurred()) SWIG_fail
;
42304 Py_INCREF(Py_None
); resultobj
= Py_None
;
42311 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42312 PyObject
*resultobj
;
42313 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42314 wxButton
*arg2
= (wxButton
*) 0 ;
42315 PyObject
* obj0
= 0 ;
42316 PyObject
* obj1
= 0 ;
42317 char *kwnames
[] = {
42318 (char *) "self",(char *) "button", NULL
42321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
42322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42323 if (SWIG_arg_fail(1)) SWIG_fail
;
42324 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
42325 if (SWIG_arg_fail(2)) SWIG_fail
;
42327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42328 (arg1
)->SetCancelButton(arg2
);
42330 wxPyEndAllowThreads(__tstate
);
42331 if (PyErr_Occurred()) SWIG_fail
;
42333 Py_INCREF(Py_None
); resultobj
= Py_None
;
42340 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42341 PyObject
*resultobj
;
42342 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42344 PyObject
* obj0
= 0 ;
42345 char *kwnames
[] = {
42346 (char *) "self", NULL
42349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
42350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42351 if (SWIG_arg_fail(1)) SWIG_fail
;
42353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42354 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
42356 wxPyEndAllowThreads(__tstate
);
42357 if (PyErr_Occurred()) SWIG_fail
;
42360 resultobj
= wxPyMake_wxObject(result
, 0);
42368 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42369 PyObject
*resultobj
;
42370 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42372 PyObject
* obj0
= 0 ;
42373 char *kwnames
[] = {
42374 (char *) "self", NULL
42377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
42378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42379 if (SWIG_arg_fail(1)) SWIG_fail
;
42381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42382 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
42384 wxPyEndAllowThreads(__tstate
);
42385 if (PyErr_Occurred()) SWIG_fail
;
42388 resultobj
= wxPyMake_wxObject(result
, 0);
42396 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42397 PyObject
*resultobj
;
42398 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42400 PyObject
* obj0
= 0 ;
42401 char *kwnames
[] = {
42402 (char *) "self", NULL
42405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
42406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42407 if (SWIG_arg_fail(1)) SWIG_fail
;
42409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42410 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
42412 wxPyEndAllowThreads(__tstate
);
42413 if (PyErr_Occurred()) SWIG_fail
;
42416 resultobj
= wxPyMake_wxObject(result
, 0);
42424 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42425 PyObject
*resultobj
;
42426 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42428 PyObject
* obj0
= 0 ;
42429 char *kwnames
[] = {
42430 (char *) "self", NULL
42433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
42434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42435 if (SWIG_arg_fail(1)) SWIG_fail
;
42437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42438 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
42440 wxPyEndAllowThreads(__tstate
);
42441 if (PyErr_Occurred()) SWIG_fail
;
42444 resultobj
= wxPyMake_wxObject(result
, 0);
42452 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42453 PyObject
*resultobj
;
42454 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42456 PyObject
* obj0
= 0 ;
42457 char *kwnames
[] = {
42458 (char *) "self", NULL
42461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
42462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42463 if (SWIG_arg_fail(1)) SWIG_fail
;
42465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42466 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
42468 wxPyEndAllowThreads(__tstate
);
42469 if (PyErr_Occurred()) SWIG_fail
;
42472 resultobj
= wxPyMake_wxObject(result
, 0);
42480 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
42482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42483 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
42485 return Py_BuildValue((char *)"");
42487 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42488 PyObject
*resultobj
;
42489 int arg1
= (int) 0 ;
42490 int arg2
= (int) 0 ;
42491 wxGBPosition
*result
;
42492 PyObject
* obj0
= 0 ;
42493 PyObject
* obj1
= 0 ;
42494 char *kwnames
[] = {
42495 (char *) "row",(char *) "col", NULL
42498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
42501 arg1
= (int)(SWIG_As_int(obj0
));
42502 if (SWIG_arg_fail(1)) SWIG_fail
;
42507 arg2
= (int)(SWIG_As_int(obj1
));
42508 if (SWIG_arg_fail(2)) SWIG_fail
;
42512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42513 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
42515 wxPyEndAllowThreads(__tstate
);
42516 if (PyErr_Occurred()) SWIG_fail
;
42518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
42525 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42526 PyObject
*resultobj
;
42527 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42529 PyObject
* obj0
= 0 ;
42530 char *kwnames
[] = {
42531 (char *) "self", NULL
42534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
42535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42536 if (SWIG_arg_fail(1)) SWIG_fail
;
42538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42539 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
42541 wxPyEndAllowThreads(__tstate
);
42542 if (PyErr_Occurred()) SWIG_fail
;
42545 resultobj
= SWIG_From_int((int)(result
));
42553 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42554 PyObject
*resultobj
;
42555 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42557 PyObject
* obj0
= 0 ;
42558 char *kwnames
[] = {
42559 (char *) "self", NULL
42562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
42563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42564 if (SWIG_arg_fail(1)) SWIG_fail
;
42566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42567 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
42569 wxPyEndAllowThreads(__tstate
);
42570 if (PyErr_Occurred()) SWIG_fail
;
42573 resultobj
= SWIG_From_int((int)(result
));
42581 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42582 PyObject
*resultobj
;
42583 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42585 PyObject
* obj0
= 0 ;
42586 PyObject
* obj1
= 0 ;
42587 char *kwnames
[] = {
42588 (char *) "self",(char *) "row", NULL
42591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
42592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42593 if (SWIG_arg_fail(1)) SWIG_fail
;
42595 arg2
= (int)(SWIG_As_int(obj1
));
42596 if (SWIG_arg_fail(2)) SWIG_fail
;
42599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42600 (arg1
)->SetRow(arg2
);
42602 wxPyEndAllowThreads(__tstate
);
42603 if (PyErr_Occurred()) SWIG_fail
;
42605 Py_INCREF(Py_None
); resultobj
= Py_None
;
42612 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42613 PyObject
*resultobj
;
42614 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42616 PyObject
* obj0
= 0 ;
42617 PyObject
* obj1
= 0 ;
42618 char *kwnames
[] = {
42619 (char *) "self",(char *) "col", NULL
42622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
42623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42624 if (SWIG_arg_fail(1)) SWIG_fail
;
42626 arg2
= (int)(SWIG_As_int(obj1
));
42627 if (SWIG_arg_fail(2)) SWIG_fail
;
42630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42631 (arg1
)->SetCol(arg2
);
42633 wxPyEndAllowThreads(__tstate
);
42634 if (PyErr_Occurred()) SWIG_fail
;
42636 Py_INCREF(Py_None
); resultobj
= Py_None
;
42643 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42644 PyObject
*resultobj
;
42645 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42646 wxGBPosition
*arg2
= 0 ;
42648 wxGBPosition temp2
;
42649 PyObject
* obj0
= 0 ;
42650 PyObject
* obj1
= 0 ;
42651 char *kwnames
[] = {
42652 (char *) "self",(char *) "other", NULL
42655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
42656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42657 if (SWIG_arg_fail(1)) SWIG_fail
;
42660 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42664 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
42666 wxPyEndAllowThreads(__tstate
);
42667 if (PyErr_Occurred()) SWIG_fail
;
42670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42678 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42679 PyObject
*resultobj
;
42680 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42681 wxGBPosition
*arg2
= 0 ;
42683 wxGBPosition temp2
;
42684 PyObject
* obj0
= 0 ;
42685 PyObject
* obj1
= 0 ;
42686 char *kwnames
[] = {
42687 (char *) "self",(char *) "other", NULL
42690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42692 if (SWIG_arg_fail(1)) SWIG_fail
;
42695 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42699 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
42701 wxPyEndAllowThreads(__tstate
);
42702 if (PyErr_Occurred()) SWIG_fail
;
42705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42713 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42714 PyObject
*resultobj
;
42715 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42716 int arg2
= (int) 0 ;
42717 int arg3
= (int) 0 ;
42718 PyObject
* obj0
= 0 ;
42719 PyObject
* obj1
= 0 ;
42720 PyObject
* obj2
= 0 ;
42721 char *kwnames
[] = {
42722 (char *) "self",(char *) "row",(char *) "col", NULL
42725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42727 if (SWIG_arg_fail(1)) SWIG_fail
;
42730 arg2
= (int)(SWIG_As_int(obj1
));
42731 if (SWIG_arg_fail(2)) SWIG_fail
;
42736 arg3
= (int)(SWIG_As_int(obj2
));
42737 if (SWIG_arg_fail(3)) SWIG_fail
;
42741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42742 wxGBPosition_Set(arg1
,arg2
,arg3
);
42744 wxPyEndAllowThreads(__tstate
);
42745 if (PyErr_Occurred()) SWIG_fail
;
42747 Py_INCREF(Py_None
); resultobj
= Py_None
;
42754 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42755 PyObject
*resultobj
;
42756 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42758 PyObject
* obj0
= 0 ;
42759 char *kwnames
[] = {
42760 (char *) "self", NULL
42763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
42764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42765 if (SWIG_arg_fail(1)) SWIG_fail
;
42767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42768 result
= (PyObject
*)wxGBPosition_Get(arg1
);
42770 wxPyEndAllowThreads(__tstate
);
42771 if (PyErr_Occurred()) SWIG_fail
;
42773 resultobj
= result
;
42780 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
42782 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42783 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
42785 return Py_BuildValue((char *)"");
42787 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42788 PyObject
*resultobj
;
42789 int arg1
= (int) 1 ;
42790 int arg2
= (int) 1 ;
42792 PyObject
* obj0
= 0 ;
42793 PyObject
* obj1
= 0 ;
42794 char *kwnames
[] = {
42795 (char *) "rowspan",(char *) "colspan", NULL
42798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42801 arg1
= (int)(SWIG_As_int(obj0
));
42802 if (SWIG_arg_fail(1)) SWIG_fail
;
42807 arg2
= (int)(SWIG_As_int(obj1
));
42808 if (SWIG_arg_fail(2)) SWIG_fail
;
42812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42813 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
42815 wxPyEndAllowThreads(__tstate
);
42816 if (PyErr_Occurred()) SWIG_fail
;
42818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
42825 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42826 PyObject
*resultobj
;
42827 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42829 PyObject
* obj0
= 0 ;
42830 char *kwnames
[] = {
42831 (char *) "self", NULL
42834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
42835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42836 if (SWIG_arg_fail(1)) SWIG_fail
;
42838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42839 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
42841 wxPyEndAllowThreads(__tstate
);
42842 if (PyErr_Occurred()) SWIG_fail
;
42845 resultobj
= SWIG_From_int((int)(result
));
42853 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42854 PyObject
*resultobj
;
42855 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42857 PyObject
* obj0
= 0 ;
42858 char *kwnames
[] = {
42859 (char *) "self", NULL
42862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
42863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42864 if (SWIG_arg_fail(1)) SWIG_fail
;
42866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42867 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
42869 wxPyEndAllowThreads(__tstate
);
42870 if (PyErr_Occurred()) SWIG_fail
;
42873 resultobj
= SWIG_From_int((int)(result
));
42881 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42882 PyObject
*resultobj
;
42883 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42885 PyObject
* obj0
= 0 ;
42886 PyObject
* obj1
= 0 ;
42887 char *kwnames
[] = {
42888 (char *) "self",(char *) "rowspan", NULL
42891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42893 if (SWIG_arg_fail(1)) SWIG_fail
;
42895 arg2
= (int)(SWIG_As_int(obj1
));
42896 if (SWIG_arg_fail(2)) SWIG_fail
;
42899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42900 (arg1
)->SetRowspan(arg2
);
42902 wxPyEndAllowThreads(__tstate
);
42903 if (PyErr_Occurred()) SWIG_fail
;
42905 Py_INCREF(Py_None
); resultobj
= Py_None
;
42912 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42913 PyObject
*resultobj
;
42914 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42916 PyObject
* obj0
= 0 ;
42917 PyObject
* obj1
= 0 ;
42918 char *kwnames
[] = {
42919 (char *) "self",(char *) "colspan", NULL
42922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42924 if (SWIG_arg_fail(1)) SWIG_fail
;
42926 arg2
= (int)(SWIG_As_int(obj1
));
42927 if (SWIG_arg_fail(2)) SWIG_fail
;
42930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42931 (arg1
)->SetColspan(arg2
);
42933 wxPyEndAllowThreads(__tstate
);
42934 if (PyErr_Occurred()) SWIG_fail
;
42936 Py_INCREF(Py_None
); resultobj
= Py_None
;
42943 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42944 PyObject
*resultobj
;
42945 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42946 wxGBSpan
*arg2
= 0 ;
42949 PyObject
* obj0
= 0 ;
42950 PyObject
* obj1
= 0 ;
42951 char *kwnames
[] = {
42952 (char *) "self",(char *) "other", NULL
42955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
42956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42957 if (SWIG_arg_fail(1)) SWIG_fail
;
42960 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42964 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
42966 wxPyEndAllowThreads(__tstate
);
42967 if (PyErr_Occurred()) SWIG_fail
;
42970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42978 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42979 PyObject
*resultobj
;
42980 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42981 wxGBSpan
*arg2
= 0 ;
42984 PyObject
* obj0
= 0 ;
42985 PyObject
* obj1
= 0 ;
42986 char *kwnames
[] = {
42987 (char *) "self",(char *) "other", NULL
42990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42992 if (SWIG_arg_fail(1)) SWIG_fail
;
42995 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42999 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
43001 wxPyEndAllowThreads(__tstate
);
43002 if (PyErr_Occurred()) SWIG_fail
;
43005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43013 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43014 PyObject
*resultobj
;
43015 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
43016 int arg2
= (int) 1 ;
43017 int arg3
= (int) 1 ;
43018 PyObject
* obj0
= 0 ;
43019 PyObject
* obj1
= 0 ;
43020 PyObject
* obj2
= 0 ;
43021 char *kwnames
[] = {
43022 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
43025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
43027 if (SWIG_arg_fail(1)) SWIG_fail
;
43030 arg2
= (int)(SWIG_As_int(obj1
));
43031 if (SWIG_arg_fail(2)) SWIG_fail
;
43036 arg3
= (int)(SWIG_As_int(obj2
));
43037 if (SWIG_arg_fail(3)) SWIG_fail
;
43041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43042 wxGBSpan_Set(arg1
,arg2
,arg3
);
43044 wxPyEndAllowThreads(__tstate
);
43045 if (PyErr_Occurred()) SWIG_fail
;
43047 Py_INCREF(Py_None
); resultobj
= Py_None
;
43054 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43055 PyObject
*resultobj
;
43056 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
43058 PyObject
* obj0
= 0 ;
43059 char *kwnames
[] = {
43060 (char *) "self", NULL
43063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
43064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
43065 if (SWIG_arg_fail(1)) SWIG_fail
;
43067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43068 result
= (PyObject
*)wxGBSpan_Get(arg1
);
43070 wxPyEndAllowThreads(__tstate
);
43071 if (PyErr_Occurred()) SWIG_fail
;
43073 resultobj
= result
;
43080 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
43082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
43083 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
43085 return Py_BuildValue((char *)"");
43087 static int _wrap_DefaultSpan_set(PyObject
*) {
43088 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
43093 static PyObject
*_wrap_DefaultSpan_get(void) {
43096 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
43101 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43102 PyObject
*resultobj
;
43103 wxGBSizerItem
*result
;
43104 char *kwnames
[] = {
43108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
43110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43111 result
= (wxGBSizerItem
*)new wxGBSizerItem();
43113 wxPyEndAllowThreads(__tstate
);
43114 if (PyErr_Occurred()) SWIG_fail
;
43116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
43123 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43124 PyObject
*resultobj
;
43125 wxWindow
*arg1
= (wxWindow
*) 0 ;
43126 wxGBPosition
*arg2
= 0 ;
43127 wxGBSpan
*arg3
= 0 ;
43130 PyObject
*arg6
= (PyObject
*) NULL
;
43131 wxGBSizerItem
*result
;
43132 wxGBPosition temp2
;
43134 PyObject
* obj0
= 0 ;
43135 PyObject
* obj1
= 0 ;
43136 PyObject
* obj2
= 0 ;
43137 PyObject
* obj3
= 0 ;
43138 PyObject
* obj4
= 0 ;
43139 PyObject
* obj5
= 0 ;
43140 char *kwnames
[] = {
43141 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
43144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
43145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43146 if (SWIG_arg_fail(1)) SWIG_fail
;
43149 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43153 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43156 arg4
= (int)(SWIG_As_int(obj3
));
43157 if (SWIG_arg_fail(4)) SWIG_fail
;
43160 arg5
= (int)(SWIG_As_int(obj4
));
43161 if (SWIG_arg_fail(5)) SWIG_fail
;
43167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43168 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
43170 wxPyEndAllowThreads(__tstate
);
43171 if (PyErr_Occurred()) SWIG_fail
;
43173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
43180 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43181 PyObject
*resultobj
;
43182 wxSizer
*arg1
= (wxSizer
*) 0 ;
43183 wxGBPosition
*arg2
= 0 ;
43184 wxGBSpan
*arg3
= 0 ;
43187 PyObject
*arg6
= (PyObject
*) NULL
;
43188 wxGBSizerItem
*result
;
43189 wxGBPosition temp2
;
43191 PyObject
* obj0
= 0 ;
43192 PyObject
* obj1
= 0 ;
43193 PyObject
* obj2
= 0 ;
43194 PyObject
* obj3
= 0 ;
43195 PyObject
* obj4
= 0 ;
43196 PyObject
* obj5
= 0 ;
43197 char *kwnames
[] = {
43198 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
43201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
43202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43203 if (SWIG_arg_fail(1)) SWIG_fail
;
43206 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43210 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43213 arg4
= (int)(SWIG_As_int(obj3
));
43214 if (SWIG_arg_fail(4)) SWIG_fail
;
43217 arg5
= (int)(SWIG_As_int(obj4
));
43218 if (SWIG_arg_fail(5)) SWIG_fail
;
43224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43225 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
43227 wxPyEndAllowThreads(__tstate
);
43228 if (PyErr_Occurred()) SWIG_fail
;
43230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
43237 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43238 PyObject
*resultobj
;
43241 wxGBPosition
*arg3
= 0 ;
43242 wxGBSpan
*arg4
= 0 ;
43245 PyObject
*arg7
= (PyObject
*) NULL
;
43246 wxGBSizerItem
*result
;
43247 wxGBPosition temp3
;
43249 PyObject
* obj0
= 0 ;
43250 PyObject
* obj1
= 0 ;
43251 PyObject
* obj2
= 0 ;
43252 PyObject
* obj3
= 0 ;
43253 PyObject
* obj4
= 0 ;
43254 PyObject
* obj5
= 0 ;
43255 PyObject
* obj6
= 0 ;
43256 char *kwnames
[] = {
43257 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
43260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
43262 arg1
= (int)(SWIG_As_int(obj0
));
43263 if (SWIG_arg_fail(1)) SWIG_fail
;
43266 arg2
= (int)(SWIG_As_int(obj1
));
43267 if (SWIG_arg_fail(2)) SWIG_fail
;
43271 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43275 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
43278 arg5
= (int)(SWIG_As_int(obj4
));
43279 if (SWIG_arg_fail(5)) SWIG_fail
;
43282 arg6
= (int)(SWIG_As_int(obj5
));
43283 if (SWIG_arg_fail(6)) SWIG_fail
;
43289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43290 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
43292 wxPyEndAllowThreads(__tstate
);
43293 if (PyErr_Occurred()) SWIG_fail
;
43295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
43302 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43303 PyObject
*resultobj
;
43304 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43305 wxGBPosition result
;
43306 PyObject
* obj0
= 0 ;
43307 char *kwnames
[] = {
43308 (char *) "self", NULL
43311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
43312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43313 if (SWIG_arg_fail(1)) SWIG_fail
;
43315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43316 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
43318 wxPyEndAllowThreads(__tstate
);
43319 if (PyErr_Occurred()) SWIG_fail
;
43322 wxGBPosition
* resultptr
;
43323 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43332 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43333 PyObject
*resultobj
;
43334 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43336 PyObject
* obj0
= 0 ;
43337 char *kwnames
[] = {
43338 (char *) "self", NULL
43341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
43342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43343 if (SWIG_arg_fail(1)) SWIG_fail
;
43345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43346 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
43348 wxPyEndAllowThreads(__tstate
);
43349 if (PyErr_Occurred()) SWIG_fail
;
43352 wxGBSpan
* resultptr
;
43353 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43354 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43362 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43363 PyObject
*resultobj
;
43364 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43365 wxGBPosition
*arg2
= 0 ;
43367 wxGBPosition temp2
;
43368 PyObject
* obj0
= 0 ;
43369 PyObject
* obj1
= 0 ;
43370 char *kwnames
[] = {
43371 (char *) "self",(char *) "pos", NULL
43374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
43375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43376 if (SWIG_arg_fail(1)) SWIG_fail
;
43379 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43383 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
43385 wxPyEndAllowThreads(__tstate
);
43386 if (PyErr_Occurred()) SWIG_fail
;
43389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43397 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43398 PyObject
*resultobj
;
43399 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43400 wxGBSpan
*arg2
= 0 ;
43403 PyObject
* obj0
= 0 ;
43404 PyObject
* obj1
= 0 ;
43405 char *kwnames
[] = {
43406 (char *) "self",(char *) "span", NULL
43409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
43410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43411 if (SWIG_arg_fail(1)) SWIG_fail
;
43414 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
43417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43418 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
43420 wxPyEndAllowThreads(__tstate
);
43421 if (PyErr_Occurred()) SWIG_fail
;
43424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43432 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43433 PyObject
*resultobj
;
43434 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43435 wxGBSizerItem
*arg2
= 0 ;
43437 PyObject
* obj0
= 0 ;
43438 PyObject
* obj1
= 0 ;
43439 char *kwnames
[] = {
43440 (char *) "self",(char *) "other", NULL
43443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
43444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43445 if (SWIG_arg_fail(1)) SWIG_fail
;
43447 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43448 if (SWIG_arg_fail(2)) SWIG_fail
;
43449 if (arg2
== NULL
) {
43450 SWIG_null_ref("wxGBSizerItem");
43452 if (SWIG_arg_fail(2)) SWIG_fail
;
43455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43456 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
43458 wxPyEndAllowThreads(__tstate
);
43459 if (PyErr_Occurred()) SWIG_fail
;
43462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43470 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43471 PyObject
*resultobj
;
43472 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43473 wxGBPosition
*arg2
= 0 ;
43474 wxGBSpan
*arg3
= 0 ;
43476 wxGBPosition temp2
;
43478 PyObject
* obj0
= 0 ;
43479 PyObject
* obj1
= 0 ;
43480 PyObject
* obj2
= 0 ;
43481 char *kwnames
[] = {
43482 (char *) "self",(char *) "pos",(char *) "span", NULL
43485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43487 if (SWIG_arg_fail(1)) SWIG_fail
;
43490 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43494 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43498 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
43500 wxPyEndAllowThreads(__tstate
);
43501 if (PyErr_Occurred()) SWIG_fail
;
43504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43512 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43513 PyObject
*resultobj
;
43514 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43515 wxGBPosition result
;
43516 PyObject
* obj0
= 0 ;
43517 char *kwnames
[] = {
43518 (char *) "self", NULL
43521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
43522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43523 if (SWIG_arg_fail(1)) SWIG_fail
;
43525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43526 result
= wxGBSizerItem_GetEndPos(arg1
);
43528 wxPyEndAllowThreads(__tstate
);
43529 if (PyErr_Occurred()) SWIG_fail
;
43532 wxGBPosition
* resultptr
;
43533 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43534 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43542 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43543 PyObject
*resultobj
;
43544 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43545 wxGridBagSizer
*result
;
43546 PyObject
* obj0
= 0 ;
43547 char *kwnames
[] = {
43548 (char *) "self", NULL
43551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
43552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43553 if (SWIG_arg_fail(1)) SWIG_fail
;
43555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43556 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
43558 wxPyEndAllowThreads(__tstate
);
43559 if (PyErr_Occurred()) SWIG_fail
;
43561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
43568 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43569 PyObject
*resultobj
;
43570 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43571 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
43572 PyObject
* obj0
= 0 ;
43573 PyObject
* obj1
= 0 ;
43574 char *kwnames
[] = {
43575 (char *) "self",(char *) "sizer", NULL
43578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
43579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43580 if (SWIG_arg_fail(1)) SWIG_fail
;
43581 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43582 if (SWIG_arg_fail(2)) SWIG_fail
;
43584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43585 (arg1
)->SetGBSizer(arg2
);
43587 wxPyEndAllowThreads(__tstate
);
43588 if (PyErr_Occurred()) SWIG_fail
;
43590 Py_INCREF(Py_None
); resultobj
= Py_None
;
43597 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
43599 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
43600 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
43602 return Py_BuildValue((char *)"");
43604 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43605 PyObject
*resultobj
;
43606 int arg1
= (int) 0 ;
43607 int arg2
= (int) 0 ;
43608 wxGridBagSizer
*result
;
43609 PyObject
* obj0
= 0 ;
43610 PyObject
* obj1
= 0 ;
43611 char *kwnames
[] = {
43612 (char *) "vgap",(char *) "hgap", NULL
43615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
43618 arg1
= (int)(SWIG_As_int(obj0
));
43619 if (SWIG_arg_fail(1)) SWIG_fail
;
43624 arg2
= (int)(SWIG_As_int(obj1
));
43625 if (SWIG_arg_fail(2)) SWIG_fail
;
43629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43630 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
43632 wxPyEndAllowThreads(__tstate
);
43633 if (PyErr_Occurred()) SWIG_fail
;
43635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
43642 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43643 PyObject
*resultobj
;
43644 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43645 PyObject
*arg2
= (PyObject
*) 0 ;
43646 wxGBPosition
*arg3
= 0 ;
43647 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
43648 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
43649 int arg5
= (int) 0 ;
43650 int arg6
= (int) 0 ;
43651 PyObject
*arg7
= (PyObject
*) NULL
;
43652 wxGBSizerItem
*result
;
43653 wxGBPosition temp3
;
43655 PyObject
* obj0
= 0 ;
43656 PyObject
* obj1
= 0 ;
43657 PyObject
* obj2
= 0 ;
43658 PyObject
* obj3
= 0 ;
43659 PyObject
* obj4
= 0 ;
43660 PyObject
* obj5
= 0 ;
43661 PyObject
* obj6
= 0 ;
43662 char *kwnames
[] = {
43663 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
43666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
43667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43668 if (SWIG_arg_fail(1)) SWIG_fail
;
43672 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43677 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
43682 arg5
= (int)(SWIG_As_int(obj4
));
43683 if (SWIG_arg_fail(5)) SWIG_fail
;
43688 arg6
= (int)(SWIG_As_int(obj5
));
43689 if (SWIG_arg_fail(6)) SWIG_fail
;
43696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43697 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
43699 wxPyEndAllowThreads(__tstate
);
43700 if (PyErr_Occurred()) SWIG_fail
;
43702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43709 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43710 PyObject
*resultobj
;
43711 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43712 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
43713 wxGBSizerItem
*result
;
43714 PyObject
* obj0
= 0 ;
43715 PyObject
* obj1
= 0 ;
43716 char *kwnames
[] = {
43717 (char *) "self",(char *) "item", NULL
43720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
43721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43722 if (SWIG_arg_fail(1)) SWIG_fail
;
43723 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43724 if (SWIG_arg_fail(2)) SWIG_fail
;
43726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43727 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
43729 wxPyEndAllowThreads(__tstate
);
43730 if (PyErr_Occurred()) SWIG_fail
;
43732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43739 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43740 PyObject
*resultobj
;
43741 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43745 PyObject
* obj0
= 0 ;
43746 PyObject
* obj1
= 0 ;
43747 PyObject
* obj2
= 0 ;
43748 char *kwnames
[] = {
43749 (char *) "self",(char *) "row",(char *) "col", NULL
43752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43754 if (SWIG_arg_fail(1)) SWIG_fail
;
43756 arg2
= (int)(SWIG_As_int(obj1
));
43757 if (SWIG_arg_fail(2)) SWIG_fail
;
43760 arg3
= (int)(SWIG_As_int(obj2
));
43761 if (SWIG_arg_fail(3)) SWIG_fail
;
43764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43765 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
43767 wxPyEndAllowThreads(__tstate
);
43768 if (PyErr_Occurred()) SWIG_fail
;
43771 wxSize
* resultptr
;
43772 resultptr
= new wxSize((wxSize
&)(result
));
43773 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43781 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43782 PyObject
*resultobj
;
43783 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43785 PyObject
* obj0
= 0 ;
43786 char *kwnames
[] = {
43787 (char *) "self", NULL
43790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
43791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43792 if (SWIG_arg_fail(1)) SWIG_fail
;
43794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43795 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
43797 wxPyEndAllowThreads(__tstate
);
43798 if (PyErr_Occurred()) SWIG_fail
;
43801 wxSize
* resultptr
;
43802 resultptr
= new wxSize((wxSize
&)(result
));
43803 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43811 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43812 PyObject
*resultobj
;
43813 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43816 PyObject
* obj0
= 0 ;
43817 PyObject
* obj1
= 0 ;
43818 char *kwnames
[] = {
43819 (char *) "self",(char *) "sz", NULL
43822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
43823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43824 if (SWIG_arg_fail(1)) SWIG_fail
;
43827 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
43830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43831 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
43833 wxPyEndAllowThreads(__tstate
);
43834 if (PyErr_Occurred()) SWIG_fail
;
43836 Py_INCREF(Py_None
); resultobj
= Py_None
;
43843 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43844 PyObject
*resultobj
;
43845 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43846 wxWindow
*arg2
= (wxWindow
*) 0 ;
43847 wxGBPosition result
;
43848 PyObject
* obj0
= 0 ;
43849 PyObject
* obj1
= 0 ;
43851 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43853 if (SWIG_arg_fail(1)) SWIG_fail
;
43854 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43855 if (SWIG_arg_fail(2)) SWIG_fail
;
43857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43858 result
= (arg1
)->GetItemPosition(arg2
);
43860 wxPyEndAllowThreads(__tstate
);
43861 if (PyErr_Occurred()) SWIG_fail
;
43864 wxGBPosition
* resultptr
;
43865 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43866 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43874 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43875 PyObject
*resultobj
;
43876 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43877 wxSizer
*arg2
= (wxSizer
*) 0 ;
43878 wxGBPosition result
;
43879 PyObject
* obj0
= 0 ;
43880 PyObject
* obj1
= 0 ;
43882 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43884 if (SWIG_arg_fail(1)) SWIG_fail
;
43885 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43886 if (SWIG_arg_fail(2)) SWIG_fail
;
43888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43889 result
= (arg1
)->GetItemPosition(arg2
);
43891 wxPyEndAllowThreads(__tstate
);
43892 if (PyErr_Occurred()) SWIG_fail
;
43895 wxGBPosition
* resultptr
;
43896 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43897 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43905 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43906 PyObject
*resultobj
;
43907 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43909 wxGBPosition result
;
43910 PyObject
* obj0
= 0 ;
43911 PyObject
* obj1
= 0 ;
43913 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43915 if (SWIG_arg_fail(1)) SWIG_fail
;
43917 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43918 if (SWIG_arg_fail(2)) SWIG_fail
;
43921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43922 result
= (arg1
)->GetItemPosition(arg2
);
43924 wxPyEndAllowThreads(__tstate
);
43925 if (PyErr_Occurred()) SWIG_fail
;
43928 wxGBPosition
* resultptr
;
43929 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43930 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43938 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
43943 argc
= PyObject_Length(args
);
43944 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43945 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43951 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43961 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43969 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
43977 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43987 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43995 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
44003 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44011 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
44013 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
44018 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
44023 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
44024 PyObject
*resultobj
;
44025 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44026 wxWindow
*arg2
= (wxWindow
*) 0 ;
44027 wxGBPosition
*arg3
= 0 ;
44029 wxGBPosition temp3
;
44030 PyObject
* obj0
= 0 ;
44031 PyObject
* obj1
= 0 ;
44032 PyObject
* obj2
= 0 ;
44034 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
44035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44036 if (SWIG_arg_fail(1)) SWIG_fail
;
44037 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44038 if (SWIG_arg_fail(2)) SWIG_fail
;
44041 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
44044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44045 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
44047 wxPyEndAllowThreads(__tstate
);
44048 if (PyErr_Occurred()) SWIG_fail
;
44051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44059 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
44060 PyObject
*resultobj
;
44061 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44062 wxSizer
*arg2
= (wxSizer
*) 0 ;
44063 wxGBPosition
*arg3
= 0 ;
44065 wxGBPosition temp3
;
44066 PyObject
* obj0
= 0 ;
44067 PyObject
* obj1
= 0 ;
44068 PyObject
* obj2
= 0 ;
44070 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
44071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44072 if (SWIG_arg_fail(1)) SWIG_fail
;
44073 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
44074 if (SWIG_arg_fail(2)) SWIG_fail
;
44077 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
44080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44081 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
44083 wxPyEndAllowThreads(__tstate
);
44084 if (PyErr_Occurred()) SWIG_fail
;
44087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44095 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
44096 PyObject
*resultobj
;
44097 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44099 wxGBPosition
*arg3
= 0 ;
44101 wxGBPosition temp3
;
44102 PyObject
* obj0
= 0 ;
44103 PyObject
* obj1
= 0 ;
44104 PyObject
* obj2
= 0 ;
44106 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
44107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44108 if (SWIG_arg_fail(1)) SWIG_fail
;
44110 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
44111 if (SWIG_arg_fail(2)) SWIG_fail
;
44115 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
44118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44119 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
44121 wxPyEndAllowThreads(__tstate
);
44122 if (PyErr_Occurred()) SWIG_fail
;
44125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44133 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
44138 argc
= PyObject_Length(args
);
44139 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
44140 argv
[ii
] = PyTuple_GetItem(args
,ii
);
44146 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44156 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
44165 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
44168 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
44177 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44187 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
44196 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
44199 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
44208 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44216 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
44219 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
44222 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
44228 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
44233 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
44234 PyObject
*resultobj
;
44235 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44236 wxWindow
*arg2
= (wxWindow
*) 0 ;
44238 PyObject
* obj0
= 0 ;
44239 PyObject
* obj1
= 0 ;
44241 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
44242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44243 if (SWIG_arg_fail(1)) SWIG_fail
;
44244 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44245 if (SWIG_arg_fail(2)) SWIG_fail
;
44247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44248 result
= (arg1
)->GetItemSpan(arg2
);
44250 wxPyEndAllowThreads(__tstate
);
44251 if (PyErr_Occurred()) SWIG_fail
;
44254 wxGBSpan
* resultptr
;
44255 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
44256 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
44264 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
44265 PyObject
*resultobj
;
44266 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44267 wxSizer
*arg2
= (wxSizer
*) 0 ;
44269 PyObject
* obj0
= 0 ;
44270 PyObject
* obj1
= 0 ;
44272 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
44273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44274 if (SWIG_arg_fail(1)) SWIG_fail
;
44275 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
44276 if (SWIG_arg_fail(2)) SWIG_fail
;
44278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44279 result
= (arg1
)->GetItemSpan(arg2
);
44281 wxPyEndAllowThreads(__tstate
);
44282 if (PyErr_Occurred()) SWIG_fail
;
44285 wxGBSpan
* resultptr
;
44286 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
44287 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
44295 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
44296 PyObject
*resultobj
;
44297 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44300 PyObject
* obj0
= 0 ;
44301 PyObject
* obj1
= 0 ;
44303 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
44304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44305 if (SWIG_arg_fail(1)) SWIG_fail
;
44307 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
44308 if (SWIG_arg_fail(2)) SWIG_fail
;
44311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44312 result
= (arg1
)->GetItemSpan(arg2
);
44314 wxPyEndAllowThreads(__tstate
);
44315 if (PyErr_Occurred()) SWIG_fail
;
44318 wxGBSpan
* resultptr
;
44319 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
44320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
44328 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
44333 argc
= PyObject_Length(args
);
44334 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
44335 argv
[ii
] = PyTuple_GetItem(args
,ii
);
44341 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44351 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
44359 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
44367 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44377 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
44385 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
44393 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44401 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
44403 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
44408 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
44413 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
44414 PyObject
*resultobj
;
44415 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44416 wxWindow
*arg2
= (wxWindow
*) 0 ;
44417 wxGBSpan
*arg3
= 0 ;
44420 PyObject
* obj0
= 0 ;
44421 PyObject
* obj1
= 0 ;
44422 PyObject
* obj2
= 0 ;
44424 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
44425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44426 if (SWIG_arg_fail(1)) SWIG_fail
;
44427 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44428 if (SWIG_arg_fail(2)) SWIG_fail
;
44431 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
44434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44435 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
44437 wxPyEndAllowThreads(__tstate
);
44438 if (PyErr_Occurred()) SWIG_fail
;
44441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44449 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
44450 PyObject
*resultobj
;
44451 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44452 wxSizer
*arg2
= (wxSizer
*) 0 ;
44453 wxGBSpan
*arg3
= 0 ;
44456 PyObject
* obj0
= 0 ;
44457 PyObject
* obj1
= 0 ;
44458 PyObject
* obj2
= 0 ;
44460 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
44461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44462 if (SWIG_arg_fail(1)) SWIG_fail
;
44463 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
44464 if (SWIG_arg_fail(2)) SWIG_fail
;
44467 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
44470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44471 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
44473 wxPyEndAllowThreads(__tstate
);
44474 if (PyErr_Occurred()) SWIG_fail
;
44477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44485 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
44486 PyObject
*resultobj
;
44487 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44489 wxGBSpan
*arg3
= 0 ;
44492 PyObject
* obj0
= 0 ;
44493 PyObject
* obj1
= 0 ;
44494 PyObject
* obj2
= 0 ;
44496 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
44497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44498 if (SWIG_arg_fail(1)) SWIG_fail
;
44500 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
44501 if (SWIG_arg_fail(2)) SWIG_fail
;
44505 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
44508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44509 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
44511 wxPyEndAllowThreads(__tstate
);
44512 if (PyErr_Occurred()) SWIG_fail
;
44515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44523 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
44528 argc
= PyObject_Length(args
);
44529 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
44530 argv
[ii
] = PyTuple_GetItem(args
,ii
);
44536 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44546 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
44555 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
44558 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
44567 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44577 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
44586 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
44589 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
44598 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44606 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
44609 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
44612 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
44618 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
44623 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
44624 PyObject
*resultobj
;
44625 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44626 wxWindow
*arg2
= (wxWindow
*) 0 ;
44627 wxGBSizerItem
*result
;
44628 PyObject
* obj0
= 0 ;
44629 PyObject
* obj1
= 0 ;
44631 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
44632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44633 if (SWIG_arg_fail(1)) SWIG_fail
;
44634 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44635 if (SWIG_arg_fail(2)) SWIG_fail
;
44637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44638 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
44640 wxPyEndAllowThreads(__tstate
);
44641 if (PyErr_Occurred()) SWIG_fail
;
44643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44650 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
44651 PyObject
*resultobj
;
44652 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44653 wxSizer
*arg2
= (wxSizer
*) 0 ;
44654 wxGBSizerItem
*result
;
44655 PyObject
* obj0
= 0 ;
44656 PyObject
* obj1
= 0 ;
44658 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
44659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44660 if (SWIG_arg_fail(1)) SWIG_fail
;
44661 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
44662 if (SWIG_arg_fail(2)) SWIG_fail
;
44664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44665 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
44667 wxPyEndAllowThreads(__tstate
);
44668 if (PyErr_Occurred()) SWIG_fail
;
44670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44677 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
44682 argc
= PyObject_Length(args
);
44683 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
44684 argv
[ii
] = PyTuple_GetItem(args
,ii
);
44690 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44700 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
44708 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
44716 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44726 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
44734 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
44739 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
44744 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44745 PyObject
*resultobj
;
44746 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44747 wxGBPosition
*arg2
= 0 ;
44748 wxGBSizerItem
*result
;
44749 wxGBPosition temp2
;
44750 PyObject
* obj0
= 0 ;
44751 PyObject
* obj1
= 0 ;
44752 char *kwnames
[] = {
44753 (char *) "self",(char *) "pos", NULL
44756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
44757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44758 if (SWIG_arg_fail(1)) SWIG_fail
;
44761 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44765 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
44767 wxPyEndAllowThreads(__tstate
);
44768 if (PyErr_Occurred()) SWIG_fail
;
44770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44777 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44778 PyObject
*resultobj
;
44779 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44780 wxPoint
*arg2
= 0 ;
44781 wxGBSizerItem
*result
;
44783 PyObject
* obj0
= 0 ;
44784 PyObject
* obj1
= 0 ;
44785 char *kwnames
[] = {
44786 (char *) "self",(char *) "pt", NULL
44789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
44790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44791 if (SWIG_arg_fail(1)) SWIG_fail
;
44794 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
44797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44798 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
44800 wxPyEndAllowThreads(__tstate
);
44801 if (PyErr_Occurred()) SWIG_fail
;
44803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44810 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44811 PyObject
*resultobj
;
44812 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44813 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
44814 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
44816 PyObject
* obj0
= 0 ;
44817 PyObject
* obj1
= 0 ;
44818 PyObject
* obj2
= 0 ;
44819 char *kwnames
[] = {
44820 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
44823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44825 if (SWIG_arg_fail(1)) SWIG_fail
;
44826 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44827 if (SWIG_arg_fail(2)) SWIG_fail
;
44829 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44830 if (SWIG_arg_fail(3)) SWIG_fail
;
44833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44834 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
44836 wxPyEndAllowThreads(__tstate
);
44837 if (PyErr_Occurred()) SWIG_fail
;
44840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44848 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44849 PyObject
*resultobj
;
44850 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44851 wxGBPosition
*arg2
= 0 ;
44852 wxGBSpan
*arg3
= 0 ;
44853 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
44855 wxGBPosition temp2
;
44857 PyObject
* obj0
= 0 ;
44858 PyObject
* obj1
= 0 ;
44859 PyObject
* obj2
= 0 ;
44860 PyObject
* obj3
= 0 ;
44861 char *kwnames
[] = {
44862 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
44865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44867 if (SWIG_arg_fail(1)) SWIG_fail
;
44870 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44874 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
44877 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44878 if (SWIG_arg_fail(4)) SWIG_fail
;
44881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44882 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
44884 wxPyEndAllowThreads(__tstate
);
44885 if (PyErr_Occurred()) SWIG_fail
;
44888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44896 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
44898 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44899 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
44901 return Py_BuildValue((char *)"");
44903 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44904 PyObject
*resultobj
;
44905 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44906 wxRelationship arg2
;
44907 wxWindow
*arg3
= (wxWindow
*) 0 ;
44909 int arg5
= (int) 0 ;
44910 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
44911 PyObject
* obj0
= 0 ;
44912 PyObject
* obj1
= 0 ;
44913 PyObject
* obj2
= 0 ;
44914 PyObject
* obj3
= 0 ;
44915 PyObject
* obj4
= 0 ;
44916 PyObject
* obj5
= 0 ;
44917 char *kwnames
[] = {
44918 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
44921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
44922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44923 if (SWIG_arg_fail(1)) SWIG_fail
;
44925 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44926 if (SWIG_arg_fail(2)) SWIG_fail
;
44928 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44929 if (SWIG_arg_fail(3)) SWIG_fail
;
44931 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
44932 if (SWIG_arg_fail(4)) SWIG_fail
;
44936 arg5
= (int)(SWIG_As_int(obj4
));
44937 if (SWIG_arg_fail(5)) SWIG_fail
;
44942 arg6
= (int)(SWIG_As_int(obj5
));
44943 if (SWIG_arg_fail(6)) SWIG_fail
;
44947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44948 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
44950 wxPyEndAllowThreads(__tstate
);
44951 if (PyErr_Occurred()) SWIG_fail
;
44953 Py_INCREF(Py_None
); resultobj
= Py_None
;
44960 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44961 PyObject
*resultobj
;
44962 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44963 wxWindow
*arg2
= (wxWindow
*) 0 ;
44964 int arg3
= (int) 0 ;
44965 PyObject
* obj0
= 0 ;
44966 PyObject
* obj1
= 0 ;
44967 PyObject
* obj2
= 0 ;
44968 char *kwnames
[] = {
44969 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44974 if (SWIG_arg_fail(1)) SWIG_fail
;
44975 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44976 if (SWIG_arg_fail(2)) SWIG_fail
;
44979 arg3
= (int)(SWIG_As_int(obj2
));
44980 if (SWIG_arg_fail(3)) SWIG_fail
;
44984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44985 (arg1
)->LeftOf(arg2
,arg3
);
44987 wxPyEndAllowThreads(__tstate
);
44988 if (PyErr_Occurred()) SWIG_fail
;
44990 Py_INCREF(Py_None
); resultobj
= Py_None
;
44997 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44998 PyObject
*resultobj
;
44999 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45000 wxWindow
*arg2
= (wxWindow
*) 0 ;
45001 int arg3
= (int) 0 ;
45002 PyObject
* obj0
= 0 ;
45003 PyObject
* obj1
= 0 ;
45004 PyObject
* obj2
= 0 ;
45005 char *kwnames
[] = {
45006 (char *) "self",(char *) "sibling",(char *) "marg", NULL
45009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
45010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45011 if (SWIG_arg_fail(1)) SWIG_fail
;
45012 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45013 if (SWIG_arg_fail(2)) SWIG_fail
;
45016 arg3
= (int)(SWIG_As_int(obj2
));
45017 if (SWIG_arg_fail(3)) SWIG_fail
;
45021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45022 (arg1
)->RightOf(arg2
,arg3
);
45024 wxPyEndAllowThreads(__tstate
);
45025 if (PyErr_Occurred()) SWIG_fail
;
45027 Py_INCREF(Py_None
); resultobj
= Py_None
;
45034 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45035 PyObject
*resultobj
;
45036 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45037 wxWindow
*arg2
= (wxWindow
*) 0 ;
45038 int arg3
= (int) 0 ;
45039 PyObject
* obj0
= 0 ;
45040 PyObject
* obj1
= 0 ;
45041 PyObject
* obj2
= 0 ;
45042 char *kwnames
[] = {
45043 (char *) "self",(char *) "sibling",(char *) "marg", NULL
45046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
45047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45048 if (SWIG_arg_fail(1)) SWIG_fail
;
45049 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45050 if (SWIG_arg_fail(2)) SWIG_fail
;
45053 arg3
= (int)(SWIG_As_int(obj2
));
45054 if (SWIG_arg_fail(3)) SWIG_fail
;
45058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45059 (arg1
)->Above(arg2
,arg3
);
45061 wxPyEndAllowThreads(__tstate
);
45062 if (PyErr_Occurred()) SWIG_fail
;
45064 Py_INCREF(Py_None
); resultobj
= Py_None
;
45071 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45072 PyObject
*resultobj
;
45073 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45074 wxWindow
*arg2
= (wxWindow
*) 0 ;
45075 int arg3
= (int) 0 ;
45076 PyObject
* obj0
= 0 ;
45077 PyObject
* obj1
= 0 ;
45078 PyObject
* obj2
= 0 ;
45079 char *kwnames
[] = {
45080 (char *) "self",(char *) "sibling",(char *) "marg", NULL
45083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
45084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45085 if (SWIG_arg_fail(1)) SWIG_fail
;
45086 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45087 if (SWIG_arg_fail(2)) SWIG_fail
;
45090 arg3
= (int)(SWIG_As_int(obj2
));
45091 if (SWIG_arg_fail(3)) SWIG_fail
;
45095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45096 (arg1
)->Below(arg2
,arg3
);
45098 wxPyEndAllowThreads(__tstate
);
45099 if (PyErr_Occurred()) SWIG_fail
;
45101 Py_INCREF(Py_None
); resultobj
= Py_None
;
45108 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45109 PyObject
*resultobj
;
45110 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45111 wxWindow
*arg2
= (wxWindow
*) 0 ;
45113 int arg4
= (int) 0 ;
45114 PyObject
* obj0
= 0 ;
45115 PyObject
* obj1
= 0 ;
45116 PyObject
* obj2
= 0 ;
45117 PyObject
* obj3
= 0 ;
45118 char *kwnames
[] = {
45119 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
45122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
45123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45124 if (SWIG_arg_fail(1)) SWIG_fail
;
45125 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45126 if (SWIG_arg_fail(2)) SWIG_fail
;
45128 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
45129 if (SWIG_arg_fail(3)) SWIG_fail
;
45133 arg4
= (int)(SWIG_As_int(obj3
));
45134 if (SWIG_arg_fail(4)) SWIG_fail
;
45138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45139 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
45141 wxPyEndAllowThreads(__tstate
);
45142 if (PyErr_Occurred()) SWIG_fail
;
45144 Py_INCREF(Py_None
); resultobj
= Py_None
;
45151 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45152 PyObject
*resultobj
;
45153 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45154 wxWindow
*arg2
= (wxWindow
*) 0 ;
45157 PyObject
* obj0
= 0 ;
45158 PyObject
* obj1
= 0 ;
45159 PyObject
* obj2
= 0 ;
45160 PyObject
* obj3
= 0 ;
45161 char *kwnames
[] = {
45162 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
45165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
45166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45167 if (SWIG_arg_fail(1)) SWIG_fail
;
45168 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45169 if (SWIG_arg_fail(2)) SWIG_fail
;
45171 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
45172 if (SWIG_arg_fail(3)) SWIG_fail
;
45175 arg4
= (int)(SWIG_As_int(obj3
));
45176 if (SWIG_arg_fail(4)) SWIG_fail
;
45179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45180 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
45182 wxPyEndAllowThreads(__tstate
);
45183 if (PyErr_Occurred()) SWIG_fail
;
45185 Py_INCREF(Py_None
); resultobj
= Py_None
;
45192 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45193 PyObject
*resultobj
;
45194 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45196 PyObject
* obj0
= 0 ;
45197 PyObject
* obj1
= 0 ;
45198 char *kwnames
[] = {
45199 (char *) "self",(char *) "val", NULL
45202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
45203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45204 if (SWIG_arg_fail(1)) SWIG_fail
;
45206 arg2
= (int)(SWIG_As_int(obj1
));
45207 if (SWIG_arg_fail(2)) SWIG_fail
;
45210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45211 (arg1
)->Absolute(arg2
);
45213 wxPyEndAllowThreads(__tstate
);
45214 if (PyErr_Occurred()) SWIG_fail
;
45216 Py_INCREF(Py_None
); resultobj
= Py_None
;
45223 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45224 PyObject
*resultobj
;
45225 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45226 PyObject
* obj0
= 0 ;
45227 char *kwnames
[] = {
45228 (char *) "self", NULL
45231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
45232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45233 if (SWIG_arg_fail(1)) SWIG_fail
;
45235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45236 (arg1
)->Unconstrained();
45238 wxPyEndAllowThreads(__tstate
);
45239 if (PyErr_Occurred()) SWIG_fail
;
45241 Py_INCREF(Py_None
); resultobj
= Py_None
;
45248 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45249 PyObject
*resultobj
;
45250 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45251 PyObject
* obj0
= 0 ;
45252 char *kwnames
[] = {
45253 (char *) "self", NULL
45256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
45257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45258 if (SWIG_arg_fail(1)) SWIG_fail
;
45260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45263 wxPyEndAllowThreads(__tstate
);
45264 if (PyErr_Occurred()) SWIG_fail
;
45266 Py_INCREF(Py_None
); resultobj
= Py_None
;
45273 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45274 PyObject
*resultobj
;
45275 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45277 PyObject
* obj0
= 0 ;
45278 char *kwnames
[] = {
45279 (char *) "self", NULL
45282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
45283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45284 if (SWIG_arg_fail(1)) SWIG_fail
;
45286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45287 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
45289 wxPyEndAllowThreads(__tstate
);
45290 if (PyErr_Occurred()) SWIG_fail
;
45293 resultobj
= wxPyMake_wxObject(result
, 0);
45301 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45302 PyObject
*resultobj
;
45303 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45305 PyObject
* obj0
= 0 ;
45306 char *kwnames
[] = {
45307 (char *) "self", NULL
45310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
45311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45312 if (SWIG_arg_fail(1)) SWIG_fail
;
45314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45315 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
45317 wxPyEndAllowThreads(__tstate
);
45318 if (PyErr_Occurred()) SWIG_fail
;
45320 resultobj
= SWIG_From_int((result
));
45327 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45328 PyObject
*resultobj
;
45329 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45331 PyObject
* obj0
= 0 ;
45332 PyObject
* obj1
= 0 ;
45333 char *kwnames
[] = {
45334 (char *) "self",(char *) "which", NULL
45337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
45338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45339 if (SWIG_arg_fail(1)) SWIG_fail
;
45341 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
45342 if (SWIG_arg_fail(2)) SWIG_fail
;
45345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45346 (arg1
)->SetEdge((wxEdge
)arg2
);
45348 wxPyEndAllowThreads(__tstate
);
45349 if (PyErr_Occurred()) SWIG_fail
;
45351 Py_INCREF(Py_None
); resultobj
= Py_None
;
45358 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45359 PyObject
*resultobj
;
45360 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45362 PyObject
* obj0
= 0 ;
45363 PyObject
* obj1
= 0 ;
45364 char *kwnames
[] = {
45365 (char *) "self",(char *) "v", NULL
45368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
45369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45370 if (SWIG_arg_fail(1)) SWIG_fail
;
45372 arg2
= (int)(SWIG_As_int(obj1
));
45373 if (SWIG_arg_fail(2)) SWIG_fail
;
45376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45377 (arg1
)->SetValue(arg2
);
45379 wxPyEndAllowThreads(__tstate
);
45380 if (PyErr_Occurred()) SWIG_fail
;
45382 Py_INCREF(Py_None
); resultobj
= Py_None
;
45389 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45390 PyObject
*resultobj
;
45391 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45393 PyObject
* obj0
= 0 ;
45394 char *kwnames
[] = {
45395 (char *) "self", NULL
45398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
45399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45400 if (SWIG_arg_fail(1)) SWIG_fail
;
45402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45403 result
= (int)(arg1
)->GetMargin();
45405 wxPyEndAllowThreads(__tstate
);
45406 if (PyErr_Occurred()) SWIG_fail
;
45409 resultobj
= SWIG_From_int((int)(result
));
45417 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45418 PyObject
*resultobj
;
45419 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45421 PyObject
* obj0
= 0 ;
45422 PyObject
* obj1
= 0 ;
45423 char *kwnames
[] = {
45424 (char *) "self",(char *) "m", NULL
45427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
45428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45429 if (SWIG_arg_fail(1)) SWIG_fail
;
45431 arg2
= (int)(SWIG_As_int(obj1
));
45432 if (SWIG_arg_fail(2)) SWIG_fail
;
45435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45436 (arg1
)->SetMargin(arg2
);
45438 wxPyEndAllowThreads(__tstate
);
45439 if (PyErr_Occurred()) SWIG_fail
;
45441 Py_INCREF(Py_None
); resultobj
= Py_None
;
45448 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45449 PyObject
*resultobj
;
45450 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45452 PyObject
* obj0
= 0 ;
45453 char *kwnames
[] = {
45454 (char *) "self", NULL
45457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
45458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45459 if (SWIG_arg_fail(1)) SWIG_fail
;
45461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45462 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
45464 wxPyEndAllowThreads(__tstate
);
45465 if (PyErr_Occurred()) SWIG_fail
;
45468 resultobj
= SWIG_From_int((int)(result
));
45476 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45477 PyObject
*resultobj
;
45478 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45480 PyObject
* obj0
= 0 ;
45481 char *kwnames
[] = {
45482 (char *) "self", NULL
45485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
45486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45487 if (SWIG_arg_fail(1)) SWIG_fail
;
45489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45490 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
45492 wxPyEndAllowThreads(__tstate
);
45493 if (PyErr_Occurred()) SWIG_fail
;
45496 resultobj
= SWIG_From_int((int)(result
));
45504 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45505 PyObject
*resultobj
;
45506 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45508 PyObject
* obj0
= 0 ;
45509 char *kwnames
[] = {
45510 (char *) "self", NULL
45513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
45514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45515 if (SWIG_arg_fail(1)) SWIG_fail
;
45517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45518 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
45520 wxPyEndAllowThreads(__tstate
);
45521 if (PyErr_Occurred()) SWIG_fail
;
45524 resultobj
= SWIG_From_int((int)(result
));
45532 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45533 PyObject
*resultobj
;
45534 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45536 PyObject
* obj0
= 0 ;
45537 char *kwnames
[] = {
45538 (char *) "self", NULL
45541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
45542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45543 if (SWIG_arg_fail(1)) SWIG_fail
;
45545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45546 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
45548 wxPyEndAllowThreads(__tstate
);
45549 if (PyErr_Occurred()) SWIG_fail
;
45552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45560 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45561 PyObject
*resultobj
;
45562 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45564 PyObject
* obj0
= 0 ;
45565 PyObject
* obj1
= 0 ;
45566 char *kwnames
[] = {
45567 (char *) "self",(char *) "d", NULL
45570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
45571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45572 if (SWIG_arg_fail(1)) SWIG_fail
;
45574 arg2
= (bool)(SWIG_As_bool(obj1
));
45575 if (SWIG_arg_fail(2)) SWIG_fail
;
45578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45579 (arg1
)->SetDone(arg2
);
45581 wxPyEndAllowThreads(__tstate
);
45582 if (PyErr_Occurred()) SWIG_fail
;
45584 Py_INCREF(Py_None
); resultobj
= Py_None
;
45591 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45592 PyObject
*resultobj
;
45593 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45594 wxRelationship result
;
45595 PyObject
* obj0
= 0 ;
45596 char *kwnames
[] = {
45597 (char *) "self", NULL
45600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
45601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45602 if (SWIG_arg_fail(1)) SWIG_fail
;
45604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45605 result
= (wxRelationship
)(arg1
)->GetRelationship();
45607 wxPyEndAllowThreads(__tstate
);
45608 if (PyErr_Occurred()) SWIG_fail
;
45610 resultobj
= SWIG_From_int((result
));
45617 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45618 PyObject
*resultobj
;
45619 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45620 wxRelationship arg2
;
45621 PyObject
* obj0
= 0 ;
45622 PyObject
* obj1
= 0 ;
45623 char *kwnames
[] = {
45624 (char *) "self",(char *) "r", NULL
45627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
45628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45629 if (SWIG_arg_fail(1)) SWIG_fail
;
45631 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
45632 if (SWIG_arg_fail(2)) SWIG_fail
;
45635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45636 (arg1
)->SetRelationship((wxRelationship
)arg2
);
45638 wxPyEndAllowThreads(__tstate
);
45639 if (PyErr_Occurred()) SWIG_fail
;
45641 Py_INCREF(Py_None
); resultobj
= Py_None
;
45648 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45649 PyObject
*resultobj
;
45650 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45651 wxWindow
*arg2
= (wxWindow
*) 0 ;
45653 PyObject
* obj0
= 0 ;
45654 PyObject
* obj1
= 0 ;
45655 char *kwnames
[] = {
45656 (char *) "self",(char *) "otherW", NULL
45659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
45660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45661 if (SWIG_arg_fail(1)) SWIG_fail
;
45662 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45663 if (SWIG_arg_fail(2)) SWIG_fail
;
45665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45666 result
= (bool)(arg1
)->ResetIfWin(arg2
);
45668 wxPyEndAllowThreads(__tstate
);
45669 if (PyErr_Occurred()) SWIG_fail
;
45672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45680 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45681 PyObject
*resultobj
;
45682 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45683 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
45684 wxWindow
*arg3
= (wxWindow
*) 0 ;
45686 PyObject
* obj0
= 0 ;
45687 PyObject
* obj1
= 0 ;
45688 PyObject
* obj2
= 0 ;
45689 char *kwnames
[] = {
45690 (char *) "self",(char *) "constraints",(char *) "win", NULL
45693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
45694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45695 if (SWIG_arg_fail(1)) SWIG_fail
;
45696 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45697 if (SWIG_arg_fail(2)) SWIG_fail
;
45698 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45699 if (SWIG_arg_fail(3)) SWIG_fail
;
45701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45702 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
45704 wxPyEndAllowThreads(__tstate
);
45705 if (PyErr_Occurred()) SWIG_fail
;
45708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45716 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45717 PyObject
*resultobj
;
45718 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45720 wxWindow
*arg3
= (wxWindow
*) 0 ;
45721 wxWindow
*arg4
= (wxWindow
*) 0 ;
45723 PyObject
* obj0
= 0 ;
45724 PyObject
* obj1
= 0 ;
45725 PyObject
* obj2
= 0 ;
45726 PyObject
* obj3
= 0 ;
45727 char *kwnames
[] = {
45728 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
45731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
45732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45733 if (SWIG_arg_fail(1)) SWIG_fail
;
45735 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
45736 if (SWIG_arg_fail(2)) SWIG_fail
;
45738 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45739 if (SWIG_arg_fail(3)) SWIG_fail
;
45740 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45741 if (SWIG_arg_fail(4)) SWIG_fail
;
45743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45744 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
45746 wxPyEndAllowThreads(__tstate
);
45747 if (PyErr_Occurred()) SWIG_fail
;
45750 resultobj
= SWIG_From_int((int)(result
));
45758 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
45760 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45761 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
45763 return Py_BuildValue((char *)"");
45765 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45766 PyObject
*resultobj
;
45767 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45768 wxIndividualLayoutConstraint
*result
;
45769 PyObject
* obj0
= 0 ;
45770 char *kwnames
[] = {
45771 (char *) "self", NULL
45774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
45775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45776 if (SWIG_arg_fail(1)) SWIG_fail
;
45777 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
45779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45786 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45787 PyObject
*resultobj
;
45788 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45789 wxIndividualLayoutConstraint
*result
;
45790 PyObject
* obj0
= 0 ;
45791 char *kwnames
[] = {
45792 (char *) "self", NULL
45795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
45796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45797 if (SWIG_arg_fail(1)) SWIG_fail
;
45798 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
45800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45807 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45808 PyObject
*resultobj
;
45809 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45810 wxIndividualLayoutConstraint
*result
;
45811 PyObject
* obj0
= 0 ;
45812 char *kwnames
[] = {
45813 (char *) "self", NULL
45816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
45817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45818 if (SWIG_arg_fail(1)) SWIG_fail
;
45819 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
45821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45828 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45829 PyObject
*resultobj
;
45830 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45831 wxIndividualLayoutConstraint
*result
;
45832 PyObject
* obj0
= 0 ;
45833 char *kwnames
[] = {
45834 (char *) "self", NULL
45837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
45838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45839 if (SWIG_arg_fail(1)) SWIG_fail
;
45840 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
45842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45849 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45850 PyObject
*resultobj
;
45851 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45852 wxIndividualLayoutConstraint
*result
;
45853 PyObject
* obj0
= 0 ;
45854 char *kwnames
[] = {
45855 (char *) "self", NULL
45858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
45859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45860 if (SWIG_arg_fail(1)) SWIG_fail
;
45861 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
45863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45870 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45871 PyObject
*resultobj
;
45872 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45873 wxIndividualLayoutConstraint
*result
;
45874 PyObject
* obj0
= 0 ;
45875 char *kwnames
[] = {
45876 (char *) "self", NULL
45879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
45880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45881 if (SWIG_arg_fail(1)) SWIG_fail
;
45882 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
45884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45891 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45892 PyObject
*resultobj
;
45893 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45894 wxIndividualLayoutConstraint
*result
;
45895 PyObject
* obj0
= 0 ;
45896 char *kwnames
[] = {
45897 (char *) "self", NULL
45900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
45901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45902 if (SWIG_arg_fail(1)) SWIG_fail
;
45903 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
45905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45912 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45913 PyObject
*resultobj
;
45914 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45915 wxIndividualLayoutConstraint
*result
;
45916 PyObject
* obj0
= 0 ;
45917 char *kwnames
[] = {
45918 (char *) "self", NULL
45921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
45922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45923 if (SWIG_arg_fail(1)) SWIG_fail
;
45924 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
45926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45933 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45934 PyObject
*resultobj
;
45935 wxLayoutConstraints
*result
;
45936 char *kwnames
[] = {
45940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
45942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45943 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
45945 wxPyEndAllowThreads(__tstate
);
45946 if (PyErr_Occurred()) SWIG_fail
;
45948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
45955 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45956 PyObject
*resultobj
;
45957 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45958 wxWindow
*arg2
= (wxWindow
*) 0 ;
45959 int *arg3
= (int *) 0 ;
45963 PyObject
* obj0
= 0 ;
45964 PyObject
* obj1
= 0 ;
45965 char *kwnames
[] = {
45966 (char *) "self",(char *) "win", NULL
45969 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
45970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
45971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45972 if (SWIG_arg_fail(1)) SWIG_fail
;
45973 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45974 if (SWIG_arg_fail(2)) SWIG_fail
;
45976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45977 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
45979 wxPyEndAllowThreads(__tstate
);
45980 if (PyErr_Occurred()) SWIG_fail
;
45983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45985 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
45986 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
45993 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45994 PyObject
*resultobj
;
45995 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45997 PyObject
* obj0
= 0 ;
45998 char *kwnames
[] = {
45999 (char *) "self", NULL
46002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
46003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
46004 if (SWIG_arg_fail(1)) SWIG_fail
;
46006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46007 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
46009 wxPyEndAllowThreads(__tstate
);
46010 if (PyErr_Occurred()) SWIG_fail
;
46013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46021 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
46023 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
46024 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
46026 return Py_BuildValue((char *)"");
46028 static PyMethodDef SwigMethods
[] = {
46029 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
46030 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
46031 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
46034 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46040 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
46055 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
46068 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
46083 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46087 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46090 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"Rect_IsEmpty", (PyCFunction
) _wrap_Rect_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46108 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46114 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46116 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46117 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46128 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46129 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46131 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46133 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46134 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46135 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46136 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
46137 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46138 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46141 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46148 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46150 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46151 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46158 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46160 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46161 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46162 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46164 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
46165 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46166 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46167 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46168 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46169 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46171 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46172 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46173 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46174 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46177 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46178 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46179 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46180 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46181 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46182 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46183 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
46184 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46185 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
46186 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46187 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46188 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46189 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46190 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46191 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46192 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46193 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
46194 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
46195 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46196 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46197 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46198 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46199 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46200 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46201 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46203 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46204 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46205 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46206 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
46207 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46208 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46209 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46210 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46211 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46212 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46213 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46214 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46215 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46216 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46217 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46218 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
46219 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46220 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46221 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46222 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
46223 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46224 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46225 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46226 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46227 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46228 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
46229 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46230 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46231 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46232 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46233 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46234 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46235 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46236 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46237 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46238 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
46239 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46240 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46241 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46242 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46243 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46244 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46245 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46246 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46247 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46248 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
46249 { (char *)"new_PyImageHandler", (PyCFunction
) _wrap_new_PyImageHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46250 { (char *)"PyImageHandler__SetSelf", (PyCFunction
) _wrap_PyImageHandler__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46251 { (char *)"PyImageHandler_swigregister", PyImageHandler_swigregister
, METH_VARARGS
, NULL
},
46252 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46253 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46254 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46255 { (char *)"ImageHistogram_GetCount", (PyCFunction
) _wrap_ImageHistogram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46256 { (char *)"ImageHistogram_GetCountRGB", (PyCFunction
) _wrap_ImageHistogram_GetCountRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46257 { (char *)"ImageHistogram_GetCountColour", (PyCFunction
) _wrap_ImageHistogram_GetCountColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46258 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
46259 { (char *)"new_Image_RGBValue", (PyCFunction
) _wrap_new_Image_RGBValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46260 { (char *)"Image_RGBValue_red_set", (PyCFunction
) _wrap_Image_RGBValue_red_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46261 { (char *)"Image_RGBValue_red_get", (PyCFunction
) _wrap_Image_RGBValue_red_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46262 { (char *)"Image_RGBValue_green_set", (PyCFunction
) _wrap_Image_RGBValue_green_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46263 { (char *)"Image_RGBValue_green_get", (PyCFunction
) _wrap_Image_RGBValue_green_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46264 { (char *)"Image_RGBValue_blue_set", (PyCFunction
) _wrap_Image_RGBValue_blue_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46265 { (char *)"Image_RGBValue_blue_get", (PyCFunction
) _wrap_Image_RGBValue_blue_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46266 { (char *)"Image_RGBValue_swigregister", Image_RGBValue_swigregister
, METH_VARARGS
, NULL
},
46267 { (char *)"new_Image_HSVValue", (PyCFunction
) _wrap_new_Image_HSVValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46268 { (char *)"Image_HSVValue_hue_set", (PyCFunction
) _wrap_Image_HSVValue_hue_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46269 { (char *)"Image_HSVValue_hue_get", (PyCFunction
) _wrap_Image_HSVValue_hue_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46270 { (char *)"Image_HSVValue_saturation_set", (PyCFunction
) _wrap_Image_HSVValue_saturation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46271 { (char *)"Image_HSVValue_saturation_get", (PyCFunction
) _wrap_Image_HSVValue_saturation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46272 { (char *)"Image_HSVValue_value_set", (PyCFunction
) _wrap_Image_HSVValue_value_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46273 { (char *)"Image_HSVValue_value_get", (PyCFunction
) _wrap_Image_HSVValue_value_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46274 { (char *)"Image_HSVValue_swigregister", Image_HSVValue_swigregister
, METH_VARARGS
, NULL
},
46275 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46276 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46277 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46278 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46279 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46280 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46281 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46282 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46283 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46284 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46285 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46286 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46287 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46288 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46289 { (char *)"Image_Resize", (PyCFunction
) _wrap_Image_Resize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46290 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46291 { (char *)"Image_SetRGBRect", (PyCFunction
) _wrap_Image_SetRGBRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46292 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46293 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46294 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46295 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46296 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46297 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46298 { (char *)"Image_InitAlpha", (PyCFunction
) _wrap_Image_InitAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46299 { (char *)"Image_IsTransparent", (PyCFunction
) _wrap_Image_IsTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46300 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46301 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46302 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46303 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46304 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46305 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46306 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46307 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46308 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46309 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46310 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46311 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46312 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46313 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46314 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46315 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46316 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46317 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46318 { (char *)"Image_Size", (PyCFunction
) _wrap_Image_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46319 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46320 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46321 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46322 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46323 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46324 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46325 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46326 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46327 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46328 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46329 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46330 { (char *)"Image_GetOrFindMaskColour", (PyCFunction
) _wrap_Image_GetOrFindMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46331 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46332 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46333 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46334 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46335 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46336 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46337 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46338 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46339 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46340 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46341 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46342 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46343 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46344 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46345 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46346 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46347 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46348 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46350 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46351 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46352 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46353 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46354 { (char *)"Image_RotateHue", (PyCFunction
) _wrap_Image_RotateHue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46355 { (char *)"Image_RGBtoHSV", (PyCFunction
) _wrap_Image_RGBtoHSV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46356 { (char *)"Image_HSVtoRGB", (PyCFunction
) _wrap_Image_HSVtoRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46357 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
46358 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46359 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
46360 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46361 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
46362 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46363 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
46364 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46365 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
46366 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46367 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
46368 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46369 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
46370 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46371 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
46372 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46373 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
46374 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46375 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
46376 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46377 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
46378 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46379 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
46380 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46381 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
46382 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46383 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46384 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46385 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46386 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46387 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46388 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46389 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46390 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46391 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46392 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46393 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46394 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46395 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
46396 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46397 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46398 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46399 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46400 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46401 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46402 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46403 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46404 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46405 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46406 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46407 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46408 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46409 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46410 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46411 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46412 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46413 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
46414 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46415 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46416 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
46417 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46418 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46419 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
46420 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46421 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46422 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46423 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46424 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46425 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46426 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46427 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46428 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46429 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46430 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46431 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
46432 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46433 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46434 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46435 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46436 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
46437 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46438 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46439 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46440 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46441 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46442 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
46443 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46444 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46445 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46446 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46447 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46448 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
46449 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46450 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46451 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46452 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46453 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46454 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46455 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46456 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46457 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46458 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46459 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46460 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46461 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46462 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46463 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46464 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46465 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46466 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46467 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46468 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46469 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46470 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46471 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46472 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46473 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46474 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46475 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46476 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46477 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46478 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46479 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46480 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46481 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46482 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46483 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46484 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46485 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46486 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46487 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46488 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46489 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46490 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46491 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46492 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46493 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46494 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46495 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46496 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46497 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46498 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46499 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46500 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46501 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46502 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46503 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46504 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46505 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46506 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46507 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46508 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46509 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46510 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46511 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
46512 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46513 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46514 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46515 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46516 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46517 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46518 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
46519 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46520 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46521 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46522 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46523 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46524 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46525 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46526 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46527 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46528 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46529 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46530 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46531 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46532 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46533 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46534 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46535 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46536 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46537 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46538 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46539 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46540 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46541 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46542 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46543 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46544 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46545 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46546 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46547 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46548 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46549 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46550 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46551 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46552 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46553 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46554 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
46555 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46556 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46557 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46558 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46559 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46560 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46561 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46562 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46563 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46564 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
46565 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46566 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46567 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46568 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46569 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46570 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
46571 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46572 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
46573 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46574 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
46575 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46576 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46577 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
46578 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46579 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46580 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46581 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
46582 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46583 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46584 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
46585 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46586 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46587 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
46588 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46589 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
46590 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46591 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46592 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46593 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46594 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
46595 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46596 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46597 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46598 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46599 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46600 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46601 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46602 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
46603 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46604 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46605 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46606 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
46607 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46608 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46609 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
46610 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46611 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
46612 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46613 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46614 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46615 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
46616 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46617 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46618 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46619 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46620 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46621 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46622 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46623 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46624 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46625 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46626 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46627 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46628 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46629 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46630 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46631 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46632 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
46633 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46634 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
46635 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46636 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46637 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
46638 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46639 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
46640 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46641 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46642 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46643 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
46644 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46645 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46646 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46647 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
46648 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46649 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46650 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46651 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46652 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46653 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_IsFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46654 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46655 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46656 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46657 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46658 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
46659 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46660 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46661 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
46662 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46663 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46664 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
46665 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46666 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46667 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46668 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
46669 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46670 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46671 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46672 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46673 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46674 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46675 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
46676 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46677 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46678 { (char *)"PyEvent__SetSelf", (PyCFunction
) _wrap_PyEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46679 { (char *)"PyEvent__GetSelf", (PyCFunction
) _wrap_PyEvent__GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46680 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
46681 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46682 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46683 { (char *)"PyCommandEvent__SetSelf", (PyCFunction
) _wrap_PyCommandEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46684 { (char *)"PyCommandEvent__GetSelf", (PyCFunction
) _wrap_PyCommandEvent__GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46685 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
46686 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46687 { (char *)"DateEvent_GetDate", (PyCFunction
) _wrap_DateEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46688 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46689 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
46690 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46691 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46692 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46693 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46694 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46695 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46696 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46697 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46698 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46699 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46700 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46701 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46702 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46703 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46704 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46705 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46706 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46707 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46708 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46709 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46710 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46711 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46712 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46713 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46714 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46715 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46716 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46717 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46718 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46719 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46720 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46721 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46722 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46723 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46724 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46725 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46726 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46727 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46728 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46729 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46730 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46731 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46732 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46733 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46734 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
46735 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46736 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46737 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46738 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46739 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46740 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46741 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46742 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46743 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46744 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46745 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46746 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46747 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46748 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46749 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46750 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46751 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46752 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46753 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46754 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
46755 { (char *)"new_EventLoopActivator", (PyCFunction
) _wrap_new_EventLoopActivator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46756 { (char *)"delete_EventLoopActivator", (PyCFunction
) _wrap_delete_EventLoopActivator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46757 { (char *)"EventLoopActivator_swigregister", EventLoopActivator_swigregister
, METH_VARARGS
, NULL
},
46758 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46759 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46760 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46761 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46762 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46763 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46764 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
46765 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46766 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46767 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46768 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
46769 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46770 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46771 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46772 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46773 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46774 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46775 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46776 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46777 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46778 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
46779 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46780 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46781 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46782 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46783 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46784 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46785 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46786 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46787 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46788 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46789 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46790 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46791 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46792 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46793 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46794 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46795 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46796 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46797 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46798 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46799 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46800 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46801 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46802 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46803 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46804 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46805 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46806 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46807 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46808 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46809 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46810 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46811 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46812 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46813 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46814 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46815 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46816 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46817 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46818 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46819 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46820 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46821 { (char *)"Window_CacheBestSize", (PyCFunction
) _wrap_Window_CacheBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46822 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46823 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46824 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46825 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46826 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46827 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46828 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46829 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46830 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46831 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46832 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46833 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46834 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46835 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46836 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46837 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46838 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46839 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46840 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46841 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46842 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46843 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46844 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46845 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46846 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46847 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46848 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46849 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46850 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46851 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46852 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46853 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46854 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46855 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46856 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46857 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46858 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46859 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46860 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46861 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46862 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46863 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46864 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46865 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46866 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46867 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46868 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46869 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46870 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46871 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46872 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46873 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46874 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46875 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46876 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46877 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46878 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46879 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46880 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46881 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46882 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46883 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46884 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46885 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46886 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46887 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46888 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46889 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46890 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46891 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46892 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46893 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46894 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46895 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46896 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46897 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46898 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46899 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46900 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46901 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46902 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46903 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46904 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46905 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46906 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46907 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46908 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46909 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46910 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46911 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46912 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46913 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46914 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46915 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46916 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46917 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46918 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46919 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46920 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46921 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46922 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46923 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46924 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46925 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46926 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46927 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
) _wrap_Window_InheritsBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46928 { (char *)"Window_UseBgCol", (PyCFunction
) _wrap_Window_UseBgCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46929 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46930 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46931 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46932 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46933 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46934 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46935 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46936 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46937 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46938 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46939 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46940 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46941 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46942 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46943 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46944 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46945 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46946 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46947 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46948 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46949 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
46950 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46951 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46952 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46953 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46954 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46955 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46956 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46957 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46958 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46959 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46960 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46961 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46962 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46963 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46964 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46965 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46966 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46967 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46968 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46969 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46970 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46971 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46972 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46973 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46974 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46975 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46976 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46977 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46978 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46979 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46980 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46981 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46982 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46983 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46984 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46985 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46986 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46987 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46988 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46989 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46990 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
46991 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46992 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46993 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46994 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46995 { (char *)"GetTopLevelWindows", (PyCFunction
) _wrap_GetTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46996 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46997 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46998 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46999 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47000 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47001 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47002 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47003 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47004 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47005 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
47006 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47007 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47008 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
47009 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47010 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47011 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47012 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47013 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47014 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47015 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47016 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47017 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47018 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47019 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47020 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47021 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47022 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47023 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47024 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47025 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47026 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47027 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47028 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47029 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47030 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47031 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47032 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47033 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47034 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47035 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47036 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47037 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47038 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47039 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47040 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47041 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47042 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47043 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47044 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47045 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47046 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47047 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47048 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47049 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47050 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47051 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47052 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47053 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47054 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47055 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47056 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47057 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47058 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47059 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47060 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47061 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47062 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47063 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
47064 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47065 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47066 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47067 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47068 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47069 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47070 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47071 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47072 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47073 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47074 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47075 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47076 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47077 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47078 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47079 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47080 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47081 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47082 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47083 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47084 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47085 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47086 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47087 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47088 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47089 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47090 { (char *)"MenuBar_SetAutoWindowMenu", (PyCFunction
) _wrap_MenuBar_SetAutoWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47091 { (char *)"MenuBar_GetAutoWindowMenu", (PyCFunction
) _wrap_MenuBar_GetAutoWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47092 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
47093 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47094 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47095 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47096 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47097 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47098 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47099 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47100 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47101 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47102 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47103 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47104 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47105 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47106 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47107 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47108 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47109 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47110 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47111 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47112 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47113 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47114 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47115 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47116 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47117 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47118 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47119 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47120 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47121 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47122 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47123 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47124 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47125 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47126 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47127 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47128 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47129 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47130 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47131 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47132 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47133 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47134 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47135 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47136 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
47137 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47138 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47139 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47140 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47141 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47142 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47143 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47144 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
47145 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47146 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47147 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47148 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47149 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47150 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47151 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47152 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47153 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47154 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47155 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47156 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47157 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47158 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47159 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47160 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47161 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47162 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47163 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
47164 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
47165 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47166 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47167 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47168 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47169 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47170 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47171 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47172 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47173 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47174 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47175 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47176 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47177 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47178 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47179 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47180 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47181 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47182 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47183 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47184 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47185 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47186 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47187 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47188 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47189 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47190 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47191 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47192 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47193 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47194 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47195 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47196 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47197 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47198 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47199 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47200 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47201 { (char *)"SizerItem_SetUserData", (PyCFunction
) _wrap_SizerItem_SetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47202 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
47203 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47204 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47205 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47206 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47207 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47208 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47209 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47210 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47211 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47212 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47213 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47214 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47215 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47216 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47217 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47218 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47219 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47220 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47221 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47222 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47223 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47224 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47225 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47226 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47227 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47228 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47229 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47230 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47231 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47232 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
47233 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47234 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47235 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
47236 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47237 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47238 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47239 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
47240 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47241 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47242 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
47243 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47244 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47245 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47246 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47247 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47248 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47249 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47250 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47251 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47252 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
47253 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47254 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47255 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47256 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47257 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47258 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47259 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47260 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47261 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47262 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47263 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47264 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
47265 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47266 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47267 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
) _wrap_StdDialogButtonSizer_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47268 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47269 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47270 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47271 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47272 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47273 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47274 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47275 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47276 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
47277 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47278 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47279 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47280 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47281 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47282 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47283 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47284 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47285 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47286 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
47287 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47288 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47289 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47290 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47291 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47292 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47293 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47294 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47295 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47296 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
47297 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47298 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47299 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47300 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47301 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47302 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47303 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47304 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47305 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47306 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47307 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47308 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47309 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47310 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
47311 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47312 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47313 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47314 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47315 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47316 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47317 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
47318 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
47319 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
47320 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
47321 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
47322 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47323 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47324 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47325 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47326 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
47327 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47328 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47329 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47330 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47331 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47332 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47333 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47334 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47335 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47336 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47337 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47338 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47339 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47340 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47341 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47342 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47343 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47344 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47345 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47346 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47347 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47348 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47349 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47350 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47351 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47352 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47353 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
47354 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47355 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47356 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47357 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47358 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47359 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47360 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47361 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47362 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47363 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47364 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47365 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
47366 { NULL
, NULL
, 0, NULL
}
47370 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
47372 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
47373 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
47375 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
47376 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
47378 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
47379 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
47381 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
47382 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47384 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
47385 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
47387 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
47388 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
47390 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
47391 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
47393 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
47394 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
47396 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
47397 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
47399 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
47400 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47402 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
47403 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47405 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
47406 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
47408 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
47409 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
47411 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
47412 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
47414 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
47415 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
47417 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
47418 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
47420 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
47421 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
47423 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
47424 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
47426 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
47427 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
47429 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
47430 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47432 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
47433 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
47435 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
47436 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47438 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
47439 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47441 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
47442 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
47444 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
47445 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
47447 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
47448 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
47450 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
47451 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
47453 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
47454 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
47456 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
47457 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
47459 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
47460 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
47462 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
47463 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
47465 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
47466 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47468 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
47469 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47471 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
47472 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47474 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
47475 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47477 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
47478 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47480 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
47481 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
47483 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
47484 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
47486 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
47487 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47489 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
47490 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
47492 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
47493 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
47495 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
47496 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47498 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
47499 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47501 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
47502 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47504 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
47505 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
47507 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
47508 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
47510 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
47511 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
47513 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
47514 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
47516 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
47517 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
47519 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
47520 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
47522 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
47523 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
47525 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
47526 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
47528 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
47529 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
47531 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
47532 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47534 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
47535 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
47537 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
47538 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
47540 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
47541 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
47543 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
47544 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
47546 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
47547 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
47549 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
47550 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
47552 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
47553 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
47555 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
47556 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
47558 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
47559 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
47561 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
47562 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
47564 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
47565 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47567 static void *_p_wxPyImageHandlerTo_p_wxImageHandler(void *x
) {
47568 return (void *)((wxImageHandler
*) ((wxPyImageHandler
*) x
));
47570 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
47571 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
47573 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
47574 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
47576 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
47577 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
47579 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
47580 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47582 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
47583 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
47585 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
47586 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
47588 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
47589 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
47591 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
47592 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
47594 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
47595 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
47597 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
47598 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
47600 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
47601 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
47603 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
47604 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
47606 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
47607 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
47609 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
47610 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
47612 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
47613 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
47615 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
47616 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
47618 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
47619 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
47621 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
47622 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
47624 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
47625 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
47627 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
47628 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
47630 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
47631 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
47633 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
47634 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
47636 static void *_p_wxSizerTo_p_wxObject(void *x
) {
47637 return (void *)((wxObject
*) ((wxSizer
*) x
));
47639 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
47640 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
47642 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
47643 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47645 static void *_p_wxEventTo_p_wxObject(void *x
) {
47646 return (void *)((wxObject
*) ((wxEvent
*) x
));
47648 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
47649 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
47651 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
47652 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
47654 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
47655 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
47657 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
47658 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
47660 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
47661 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
47663 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
47664 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47666 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
47667 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47669 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
47670 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47672 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
47673 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47675 static void *_p_wxControlTo_p_wxObject(void *x
) {
47676 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
47678 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
47679 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
47681 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
47682 return (void *)((wxObject
*) ((wxFSFile
*) x
));
47684 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
47685 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
47687 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
47688 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
47690 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
47691 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47693 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
47694 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
47696 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
47697 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
47699 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
47700 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
47702 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
47703 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
47705 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
47706 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47708 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
47709 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47711 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
47712 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
47714 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
47715 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
47717 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
47718 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
47720 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
47721 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
47723 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
47724 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
47726 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
47727 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
47729 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
47730 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
47732 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
47733 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
47735 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
47736 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
47738 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
47739 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
47741 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
47742 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47744 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
47745 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
47747 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
47748 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
47750 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
47751 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
47753 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
47754 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
47756 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
47757 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
47759 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
47760 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
47762 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
47763 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
47765 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
47766 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
47768 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
47769 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47771 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
47772 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
47774 static void *_p_wxImageTo_p_wxObject(void *x
) {
47775 return (void *)((wxObject
*) ((wxImage
*) x
));
47777 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
47778 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47780 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47781 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47783 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47784 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47786 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47787 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47789 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47790 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47792 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47793 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47795 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47796 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47798 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47799 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47801 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47802 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47804 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47805 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47807 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47808 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47810 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47811 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47813 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47814 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47816 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47817 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47819 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47820 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47822 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47823 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47825 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47826 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47828 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47829 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47831 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47832 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47834 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47835 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47837 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47838 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47840 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47841 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47843 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47844 return (void *)((wxWindow
*) ((wxControl
*) x
));
47846 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47847 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47849 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47850 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47852 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47853 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47855 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47856 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47858 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47859 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47861 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47862 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47864 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47865 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47867 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47868 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47870 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47871 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47873 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47874 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47876 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47877 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47879 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47880 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47882 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}};
47883 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}};
47884 static swig_type_info _swigt__p_wxEventLoopActivator
[] = {{"_p_wxEventLoopActivator", 0, "wxEventLoopActivator *", 0, 0, 0, 0},{"_p_wxEventLoopActivator", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47885 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}};
47886 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}};
47887 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}};
47888 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}};
47889 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}};
47890 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}};
47891 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}};
47892 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}};
47893 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}};
47894 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}};
47895 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}};
47896 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}};
47897 static swig_type_info _swigt__p_buffer
[] = {{"_p_buffer", 0, "buffer *", 0, 0, 0, 0},{"_p_buffer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47898 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}};
47899 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}};
47900 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}};
47901 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}};
47902 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}};
47903 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}};
47904 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}};
47905 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}};
47906 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}};
47907 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}};
47908 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}};
47909 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}};
47910 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}};
47911 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}};
47912 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}};
47913 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}};
47914 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}};
47915 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}};
47916 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}};
47917 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}};
47918 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}};
47919 static swig_type_info _swigt__p_wxImage_HSVValue
[] = {{"_p_wxImage_HSVValue", 0, "wxImage_HSVValue *", 0, 0, 0, 0},{"_p_wxImage_HSVValue", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47920 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}};
47921 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}};
47922 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}};
47923 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}};
47924 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}};
47925 static swig_type_info _swigt__p_wxImage_RGBValue
[] = {{"_p_wxImage_RGBValue", 0, "wxImage_RGBValue *", 0, 0, 0, 0},{"_p_wxImage_RGBValue", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47926 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}};
47927 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}};
47928 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}};
47929 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}};
47930 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}};
47931 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}};
47932 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}};
47933 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}};
47934 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}};
47935 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}};
47936 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}};
47937 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}};
47938 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}};
47939 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}};
47940 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}};
47941 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}};
47942 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}};
47943 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}};
47944 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}};
47945 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}};
47946 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}};
47947 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}};
47948 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}};
47949 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}};
47950 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}};
47951 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}};
47952 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}};
47953 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}};
47954 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}};
47955 static swig_type_info _swigt__p_wxPyImageHandler
[] = {{"_p_wxPyImageHandler", 0, "wxPyImageHandler *", 0, 0, 0, 0},{"_p_wxPyImageHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47956 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}};
47957 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}};
47958 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}};
47959 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}};
47960 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}};
47961 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}};
47962 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}};
47963 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}};
47964 static swig_type_info _swigt__p_wxImageHandler
[] = {{"_p_wxImageHandler", 0, "wxImageHandler *", 0, 0, 0, 0},{"_p_wxImageHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxImageHandler
, 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}};
47965 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}};
47966 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}};
47967 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}};
47968 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}};
47969 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}};
47970 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}};
47971 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}};
47972 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}};
47973 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}};
47974 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}};
47975 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}};
47976 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}};
47977 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}};
47978 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}};
47979 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}};
47980 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}};
47981 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_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_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_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}};
47982 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}};
47983 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}};
47984 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}};
47985 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}};
47986 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}};
47987 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}};
47988 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}};
47989 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}};
47990 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}};
47991 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}};
47992 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}};
47993 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}};
47994 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}};
47995 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}};
47996 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}};
47997 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}};
47998 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}};
47999 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}};
48000 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}};
48001 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}};
48002 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}};
48003 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}};
48004 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}};
48005 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}};
48006 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}};
48007 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}};
48008 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}};
48009 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}};
48010 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}};
48011 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}};
48012 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}};
48013 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}};
48015 static swig_type_info
*swig_types_initial
[] = {
48016 _swigt__p_wxLayoutConstraints
,
48017 _swigt__p_wxRealPoint
,
48018 _swigt__p_wxEventLoopActivator
,
48019 _swigt__p_wxSizerItem
,
48020 _swigt__p_wxGBSizerItem
,
48021 _swigt__p_wxScrollEvent
,
48022 _swigt__p_wxEventLoop
,
48023 _swigt__p_wxIndividualLayoutConstraint
,
48025 _swigt__p_wxBoxSizer
,
48026 _swigt__p_wxStaticBoxSizer
,
48027 _swigt__p_wxGridBagSizer
,
48028 _swigt__p_wxAcceleratorEntry
,
48029 _swigt__p_wxUpdateUIEvent
,
48033 _swigt__p_wxGridSizer
,
48034 _swigt__p_wxFlexGridSizer
,
48035 _swigt__p_wxInitDialogEvent
,
48036 _swigt__p_wxItemContainer
,
48037 _swigt__p_wxPaintEvent
,
48038 _swigt__p_wxNcPaintEvent
,
48039 _swigt__p_wxSysColourChangedEvent
,
48040 _swigt__p_wxMouseCaptureChangedEvent
,
48041 _swigt__p_wxDisplayChangedEvent
,
48042 _swigt__p_wxPaletteChangedEvent
,
48043 _swigt__p_wxControl
,
48045 _swigt__p_wxMenuBarBase
,
48046 _swigt__p_wxSetCursorEvent
,
48047 _swigt__p_wxFSFile
,
48050 _swigt__std__ptrdiff_t
,
48051 _swigt__p_wxRegion
,
48052 _swigt__p_wxPoint2D
,
48053 _swigt__p_wxImage_HSVValue
,
48057 _swigt__p_wxPySizer
,
48058 _swigt__p_wxVisualAttributes
,
48059 _swigt__p_wxImage_RGBValue
,
48060 _swigt__p_wxNotifyEvent
,
48061 _swigt__p_wxPyEvent
,
48062 _swigt__p_wxPropagationDisabler
,
48063 _swigt__p_form_ops_t
,
48064 _swigt__p_wxAppTraits
,
48065 _swigt__p_wxArrayString
,
48066 _swigt__p_wxShowEvent
,
48067 _swigt__p_wxToolTip
,
48068 _swigt__p_wxMoveEvent
,
48069 _swigt__p_wxSizeEvent
,
48070 _swigt__p_wxActivateEvent
,
48071 _swigt__p_wxIconizeEvent
,
48072 _swigt__p_wxMaximizeEvent
,
48073 _swigt__p_wxQueryNewPaletteEvent
,
48074 _swigt__p_wxWindowCreateEvent
,
48075 _swigt__p_wxIdleEvent
,
48076 _swigt__p_wxDateEvent
,
48077 _swigt__p_wxMenuItem
,
48078 _swigt__p_wxStaticBox
,
48080 _swigt__p_wxDuplexMode
,
48081 _swigt__p_wxTIFFHandler
,
48082 _swigt__p_wxXPMHandler
,
48083 _swigt__p_wxPNMHandler
,
48084 _swigt__p_wxJPEGHandler
,
48085 _swigt__p_wxPCXHandler
,
48086 _swigt__p_wxGIFHandler
,
48087 _swigt__p_wxPNGHandler
,
48088 _swigt__p_wxANIHandler
,
48089 _swigt__p_wxPyImageHandler
,
48090 _swigt__p_wxMemoryFSHandler
,
48091 _swigt__p_wxZipFSHandler
,
48092 _swigt__p_wxInternetFSHandler
,
48093 _swigt__p_wxPyFileSystemHandler
,
48094 _swigt__p_wxEvtHandler
,
48095 _swigt__p_wxCURHandler
,
48096 _swigt__p_wxICOHandler
,
48097 _swigt__p_wxBMPHandler
,
48098 _swigt__p_wxImageHandler
,
48099 _swigt__p_wxFileSystemHandler
,
48101 _swigt__p_wxButton
,
48102 _swigt__p_wxGBSpan
,
48103 _swigt__p_wxPropagateOnce
,
48104 _swigt__p_wxAcceleratorTable
,
48105 _swigt__p_wxStdDialogButtonSizer
,
48107 _swigt__p_wxGBPosition
,
48110 _swigt__p_wxScrollWinEvent
,
48111 _swigt__p_wxPaperSize
,
48112 _swigt__p_wxImageHistogram
,
48114 _swigt__p_wxCursor
,
48115 _swigt__p_wxObject
,
48116 _swigt__p_wxInputStream
,
48117 _swigt__p_wxOutputStream
,
48118 _swigt__p_wxPyInputStream
,
48119 _swigt__p_wxDateTime
,
48120 _swigt__p_wxKeyEvent
,
48121 _swigt__p_wxNavigationKeyEvent
,
48122 _swigt__p_wxWindowDestroyEvent
,
48123 _swigt__p_unsigned_long
,
48124 _swigt__p_wxWindow
,
48125 _swigt__p_wxMenuBar
,
48126 _swigt__p_wxFileSystem
,
48127 _swigt__p_wxBitmap
,
48128 _swigt__unsigned_int
,
48129 _swigt__p_unsigned_int
,
48130 _swigt__p_wxMenuEvent
,
48131 _swigt__p_wxContextMenuEvent
,
48132 _swigt__p_unsigned_char
,
48133 _swigt__p_wxMouseEvent
,
48134 _swigt__p_wxEraseEvent
,
48135 _swigt__p_wxCloseEvent
,
48137 _swigt__p_wxCommandEvent
,
48138 _swigt__p_wxPyCommandEvent
,
48139 _swigt__p_wxPyDropTarget
,
48140 _swigt__p_wxQuantize
,
48141 _swigt__p_wxFocusEvent
,
48142 _swigt__p_wxChildFocusEvent
,
48143 _swigt__p_wxDropFilesEvent
,
48144 _swigt__p_wxControlWithItems
,
48145 _swigt__p_wxColour
,
48146 _swigt__p_wxValidator
,
48147 _swigt__p_wxPyValidator
,
48152 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
48154 static swig_const_info swig_const_table
[] = {
48155 {0, 0, 0, 0.0, 0, 0}};
48166 /* Python-specific SWIG API */
48167 #define SWIG_newvarlink() SWIG_Python_newvarlink()
48168 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
48169 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
48171 /* -----------------------------------------------------------------------------
48172 * global variable support code.
48173 * ----------------------------------------------------------------------------- */
48175 typedef struct swig_globalvar
{
48176 char *name
; /* Name of global variable */
48177 PyObject
*(*get_attr
)(); /* Return the current value */
48178 int (*set_attr
)(PyObject
*); /* Set the value */
48179 struct swig_globalvar
*next
;
48182 typedef struct swig_varlinkobject
{
48184 swig_globalvar
*vars
;
48185 } swig_varlinkobject
;
48188 swig_varlink_repr(swig_varlinkobject
*v
) {
48190 return PyString_FromString("<Swig global variables>");
48194 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
48195 swig_globalvar
*var
;
48197 fprintf(fp
,"Swig global variables { ");
48198 for (var
= v
->vars
; var
; var
=var
->next
) {
48199 fprintf(fp
,"%s", var
->name
);
48200 if (var
->next
) fprintf(fp
,", ");
48202 fprintf(fp
," }\n");
48207 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
48208 swig_globalvar
*var
= v
->vars
;
48210 if (strcmp(var
->name
,n
) == 0) {
48211 return (*var
->get_attr
)();
48215 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48220 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
48221 swig_globalvar
*var
= v
->vars
;
48223 if (strcmp(var
->name
,n
) == 0) {
48224 return (*var
->set_attr
)(p
);
48228 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48232 static PyTypeObject varlinktype
= {
48233 PyObject_HEAD_INIT(0)
48234 0, /* Number of items in variable part (ob_size) */
48235 (char *)"swigvarlink", /* Type name (tp_name) */
48236 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
48237 0, /* Itemsize (tp_itemsize) */
48238 0, /* Deallocator (tp_dealloc) */
48239 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
48240 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
48241 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
48242 0, /* tp_compare */
48243 (reprfunc
) swig_varlink_repr
, /* tp_repr */
48244 0, /* tp_as_number */
48245 0, /* tp_as_sequence */
48246 0, /* tp_as_mapping */
48250 0, /* tp_getattro */
48251 0, /* tp_setattro */
48252 0, /* tp_as_buffer */
48255 #if PY_VERSION_HEX >= 0x02000000
48256 0, /* tp_traverse */
48259 #if PY_VERSION_HEX >= 0x02010000
48260 0, /* tp_richcompare */
48261 0, /* tp_weaklistoffset */
48263 #if PY_VERSION_HEX >= 0x02020000
48264 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
48266 #if PY_VERSION_HEX >= 0x02030000
48269 #ifdef COUNT_ALLOCS
48270 0,0,0,0 /* tp_alloc -> tp_next */
48274 /* Create a variable linking object for use later */
48276 SWIG_Python_newvarlink(void) {
48277 swig_varlinkobject
*result
= 0;
48278 result
= PyMem_NEW(swig_varlinkobject
,1);
48279 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
48280 result
->ob_type
= &varlinktype
;
48282 result
->ob_refcnt
= 0;
48283 Py_XINCREF((PyObject
*) result
);
48284 return ((PyObject
*) result
);
48288 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
48289 swig_varlinkobject
*v
;
48290 swig_globalvar
*gv
;
48291 v
= (swig_varlinkobject
*) p
;
48292 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
48293 gv
->name
= (char *) malloc(strlen(name
)+1);
48294 strcpy(gv
->name
,name
);
48295 gv
->get_attr
= get_attr
;
48296 gv
->set_attr
= set_attr
;
48297 gv
->next
= v
->vars
;
48301 /* -----------------------------------------------------------------------------
48302 * constants/methods manipulation
48303 * ----------------------------------------------------------------------------- */
48305 /* Install Constants */
48307 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
48310 for (i
= 0; constants
[i
].type
; i
++) {
48311 switch(constants
[i
].type
) {
48313 obj
= PyInt_FromLong(constants
[i
].lvalue
);
48315 case SWIG_PY_FLOAT
:
48316 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
48318 case SWIG_PY_STRING
:
48319 if (constants
[i
].pvalue
) {
48320 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
48322 Py_INCREF(Py_None
);
48326 case SWIG_PY_POINTER
:
48327 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
48329 case SWIG_PY_BINARY
:
48330 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
48337 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
48343 /* -----------------------------------------------------------------------------*/
48344 /* Fix SwigMethods to carry the callback ptrs when needed */
48345 /* -----------------------------------------------------------------------------*/
48348 SWIG_Python_FixMethods(PyMethodDef
*methods
,
48349 swig_const_info
*const_table
,
48350 swig_type_info
**types
,
48351 swig_type_info
**types_initial
) {
48353 for (i
= 0; methods
[i
].ml_name
; ++i
) {
48354 char *c
= methods
[i
].ml_doc
;
48355 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
48357 swig_const_info
*ci
= 0;
48358 char *name
= c
+ 10;
48359 for (j
= 0; const_table
[j
].type
; j
++) {
48360 if (strncmp(const_table
[j
].name
, name
,
48361 strlen(const_table
[j
].name
)) == 0) {
48362 ci
= &(const_table
[j
]);
48367 size_t shift
= (ci
->ptype
) - types
;
48368 swig_type_info
*ty
= types_initial
[shift
];
48369 size_t ldoc
= (c
- methods
[i
].ml_doc
);
48370 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
48371 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
48373 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
48374 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
48376 strncpy(buff
, "swig_ptr: ", 10);
48378 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
48379 methods
[i
].ml_doc
= ndoc
;
48385 /* -----------------------------------------------------------------------------*
48386 * Initialize type list
48387 * -----------------------------------------------------------------------------*/
48389 #if PY_MAJOR_VERSION < 2
48390 /* PyModule_AddObject function was introduced in Python 2.0. The following function
48391 is copied out of Python/modsupport.c in python version 2.3.4 */
48393 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
48396 if (!PyModule_Check(m
)) {
48397 PyErr_SetString(PyExc_TypeError
,
48398 "PyModule_AddObject() needs module as first arg");
48402 PyErr_SetString(PyExc_TypeError
,
48403 "PyModule_AddObject() needs non-NULL value");
48407 dict
= PyModule_GetDict(m
);
48408 if (dict
== NULL
) {
48409 /* Internal error -- modules must have a dict! */
48410 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
48411 PyModule_GetName(m
));
48414 if (PyDict_SetItemString(dict
, name
, o
))
48421 static swig_type_info
**
48422 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
48423 static PyMethodDef swig_empty_runtime_method_table
[] = {
48425 NULL
, NULL
, 0, NULL
48429 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
48430 swig_empty_runtime_method_table
);
48431 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
48432 if (pointer
&& module) {
48433 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
48435 return type_list_handle
;
48438 static swig_type_info
**
48439 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
48440 swig_type_info
**type_pointer
;
48442 /* first check if module already created */
48443 type_pointer
= SWIG_Python_GetTypeListHandle();
48444 if (type_pointer
) {
48445 return type_pointer
;
48447 /* create a new module and variable */
48448 return SWIG_Python_SetTypeListHandle(type_list_handle
);
48456 /* -----------------------------------------------------------------------------*
48457 * Partial Init method
48458 * -----------------------------------------------------------------------------*/
48460 #ifdef SWIG_LINK_RUNTIME
48464 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
48470 SWIGEXPORT(void) SWIG_init(void) {
48471 static PyObject
*SWIG_globals
= 0;
48472 static int typeinit
= 0;
48475 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
48477 /* Fix SwigMethods to carry the callback ptrs when needed */
48478 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
48480 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
48481 d
= PyModule_GetDict(m
);
48484 #ifdef SWIG_LINK_RUNTIME
48485 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
48487 # ifndef SWIG_STATIC_RUNTIME
48488 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
48491 for (i
= 0; swig_types_initial
[i
]; i
++) {
48492 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
48496 SWIG_InstallConstants(d
,swig_const_table
);
48499 #ifndef wxPyUSE_EXPORT
48500 // Make our API structure a CObject so other modules can import it
48501 // from this module.
48502 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
48503 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
48508 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
48511 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
48514 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
48517 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
48520 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
48523 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
48526 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
48529 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
48532 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
48535 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
48538 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
48541 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
48544 PyDict_SetItemString(d
,"DEFAULT_CONTROL_BORDER", SWIG_From_int((int)(wxDEFAULT_CONTROL_BORDER
)));
48547 PyDict_SetItemString(d
,"DEFAULT_STATUSBAR_STYLE", SWIG_From_int((int)(wxDEFAULT_STATUSBAR_STYLE
)));
48550 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
48553 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
48556 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
48559 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
48562 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
48565 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
48568 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
48571 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
48574 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
48577 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
48580 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
48583 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
48586 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
48589 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
48592 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
48595 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
48598 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
48601 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
48604 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
48607 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
48610 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
48613 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
48616 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
48619 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
48622 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
48625 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
48628 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
48631 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
48634 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
48637 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
48640 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
48643 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
48646 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
48649 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
48652 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
48655 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
48658 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
48661 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
48664 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
48667 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
48670 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
48673 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
48676 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
48679 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
48682 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
48685 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
48688 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
48691 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
48694 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
48697 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
48700 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
48703 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
48706 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
48709 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
48712 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
48715 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
48718 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
48721 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
48724 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
48727 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
48730 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
48733 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
48736 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
48739 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
48742 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
48745 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
48748 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
48751 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
48754 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
48757 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
48760 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
48763 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
48766 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
48769 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
48772 PyDict_SetItemString(d
,"SIZE_FORCE", SWIG_From_int((int)(wxSIZE_FORCE
)));
48775 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
48778 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
48781 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
48784 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
48787 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
48790 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
48793 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
48796 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
48799 PyDict_SetItemString(d
,"ID_NONE", SWIG_From_int((int)(wxID_NONE
)));
48802 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
48805 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
48808 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
48811 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
48814 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
48817 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
48820 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
48823 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
48826 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
48829 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
48832 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
48835 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
48838 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
48841 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
48844 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
48847 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
48850 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
48853 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
48856 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
48859 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
48862 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
48865 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
48868 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
48871 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
48874 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
48877 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
48880 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
48883 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
48886 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
48889 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
48892 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
48895 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
48898 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
48901 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
48904 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
48907 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
48910 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
48913 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
48916 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
48919 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
48922 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
48925 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
48928 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
48931 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
48934 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
48937 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
48940 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
48943 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
48946 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
48949 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
48952 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
48955 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
48958 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
48961 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
48964 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
48967 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
48970 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
48973 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
48976 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
48979 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
48982 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
48985 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
48988 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
48991 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
48994 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
48997 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
49000 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
49003 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
49006 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
49009 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
49012 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
49015 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
49018 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
49021 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
49024 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
49027 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
49030 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
49033 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
49036 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
49039 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
49042 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
49045 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
49048 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
49051 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
49054 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
49057 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
49060 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
49063 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
49066 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
49069 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
49072 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
49075 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
49078 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
49081 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
49084 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
49087 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
49090 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
49093 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
49096 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
49099 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
49102 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
49105 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
49108 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
49111 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
49114 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
49117 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
49120 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
49123 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
49126 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
49129 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
49132 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
49135 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
49138 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
49141 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
49144 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
49147 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
49150 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
49153 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
49156 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
49159 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
49162 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
49165 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
49168 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
49171 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
49174 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
49177 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
49180 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
49183 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
49186 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
49189 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
49192 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
49195 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
49198 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
49201 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
49204 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
49207 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
49210 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
49213 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
49216 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
49219 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
49222 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
49225 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
49228 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
49231 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
49234 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
49237 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
49240 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
49243 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
49246 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
49249 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
49252 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
49255 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
49258 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
49261 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
49264 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
49267 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
49270 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
49273 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
49276 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
49279 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
49282 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
49285 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
49288 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
49291 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
49294 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
49297 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
49300 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
49303 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
49306 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
49309 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
49312 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
49315 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
49318 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
49321 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
49324 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
49327 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
49330 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
49333 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
49336 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
49339 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
49342 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
49345 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
49348 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
49351 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
49354 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
49357 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
49360 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
49363 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
49366 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
49369 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
49372 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
49375 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
49378 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
49381 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
49384 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
49387 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
49390 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
49393 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
49396 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
49399 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
49402 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
49405 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
49408 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
49411 PyDict_SetItemString(d
,"STIPPLE_MASK", SWIG_From_int((int)(wxSTIPPLE_MASK
)));
49414 PyDict_SetItemString(d
,"STIPPLE_MASK_OPAQUE", SWIG_From_int((int)(wxSTIPPLE_MASK_OPAQUE
)));
49417 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
49420 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
49423 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
49426 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
49429 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
49432 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
49435 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
49438 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
49441 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
49444 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
49447 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
49450 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
49453 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
49456 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
49459 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
49462 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
49465 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
49468 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
49471 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
49474 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
49477 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
49480 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
49483 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
49486 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
49489 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
49492 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
49495 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
49498 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
49501 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
49504 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
49507 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
49510 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
49513 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
49516 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
49519 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
49522 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
49525 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
49528 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
49531 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
49534 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
49537 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
49540 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
49543 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
49546 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
49549 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
49552 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
49555 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
49558 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
49561 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
49564 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
49567 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
49570 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
49573 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
49576 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
49579 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
49582 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
49585 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
49588 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
49591 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
49594 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
49597 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
49600 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
49603 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
49606 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
49609 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
49612 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
49615 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
49618 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
49621 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
49624 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
49627 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
49630 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
49633 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
49636 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
49639 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
49642 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
49645 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
49648 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
49651 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
49654 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
49657 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
49660 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
49663 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
49666 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
49669 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
49672 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
49675 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
49678 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
49681 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
49684 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
49687 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
49690 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
49693 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
49696 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
49699 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
49702 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
49705 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
49708 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
49711 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
49714 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
49717 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
49720 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
49723 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
49726 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
49729 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
49732 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
49735 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
49738 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
49741 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
49744 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
49747 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
49750 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
49753 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
49756 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
49759 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
49762 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
49765 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
49768 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
49771 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
49774 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
49777 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
49780 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
49783 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
49786 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
49789 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
49792 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
49795 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
49798 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
49801 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
49804 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
49807 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
49810 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
49813 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
49816 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
49819 PyDict_SetItemString(d
,"WXK_COMMAND", SWIG_From_int((int)(WXK_COMMAND
)));
49822 PyDict_SetItemString(d
,"WXK_SPECIAL1", SWIG_From_int((int)(WXK_SPECIAL1
)));
49825 PyDict_SetItemString(d
,"WXK_SPECIAL2", SWIG_From_int((int)(WXK_SPECIAL2
)));
49828 PyDict_SetItemString(d
,"WXK_SPECIAL3", SWIG_From_int((int)(WXK_SPECIAL3
)));
49831 PyDict_SetItemString(d
,"WXK_SPECIAL4", SWIG_From_int((int)(WXK_SPECIAL4
)));
49834 PyDict_SetItemString(d
,"WXK_SPECIAL5", SWIG_From_int((int)(WXK_SPECIAL5
)));
49837 PyDict_SetItemString(d
,"WXK_SPECIAL6", SWIG_From_int((int)(WXK_SPECIAL6
)));
49840 PyDict_SetItemString(d
,"WXK_SPECIAL7", SWIG_From_int((int)(WXK_SPECIAL7
)));
49843 PyDict_SetItemString(d
,"WXK_SPECIAL8", SWIG_From_int((int)(WXK_SPECIAL8
)));
49846 PyDict_SetItemString(d
,"WXK_SPECIAL9", SWIG_From_int((int)(WXK_SPECIAL9
)));
49849 PyDict_SetItemString(d
,"WXK_SPECIAL10", SWIG_From_int((int)(WXK_SPECIAL10
)));
49852 PyDict_SetItemString(d
,"WXK_SPECIAL11", SWIG_From_int((int)(WXK_SPECIAL11
)));
49855 PyDict_SetItemString(d
,"WXK_SPECIAL12", SWIG_From_int((int)(WXK_SPECIAL12
)));
49858 PyDict_SetItemString(d
,"WXK_SPECIAL13", SWIG_From_int((int)(WXK_SPECIAL13
)));
49861 PyDict_SetItemString(d
,"WXK_SPECIAL14", SWIG_From_int((int)(WXK_SPECIAL14
)));
49864 PyDict_SetItemString(d
,"WXK_SPECIAL15", SWIG_From_int((int)(WXK_SPECIAL15
)));
49867 PyDict_SetItemString(d
,"WXK_SPECIAL16", SWIG_From_int((int)(WXK_SPECIAL16
)));
49870 PyDict_SetItemString(d
,"WXK_SPECIAL17", SWIG_From_int((int)(WXK_SPECIAL17
)));
49873 PyDict_SetItemString(d
,"WXK_SPECIAL18", SWIG_From_int((int)(WXK_SPECIAL18
)));
49876 PyDict_SetItemString(d
,"WXK_SPECIAL19", SWIG_From_int((int)(WXK_SPECIAL19
)));
49879 PyDict_SetItemString(d
,"WXK_SPECIAL20", SWIG_From_int((int)(WXK_SPECIAL20
)));
49882 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
49885 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
49888 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
49891 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
49894 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
49897 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
49900 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
49903 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
49906 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
49909 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
49912 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
49915 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
49918 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
49921 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
49924 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
49927 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
49930 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
49933 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
49936 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
49939 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
49942 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
49945 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
49948 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
49951 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
49954 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
49957 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
49960 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
49963 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
49966 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
49969 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
49972 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
49975 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
49978 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
49981 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
49984 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
49987 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
49990 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
49993 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
49996 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
49999 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
50002 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
50005 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
50008 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
50011 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
50014 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
50017 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
50020 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
50023 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
50026 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
50029 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
50032 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
50035 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
50038 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
50041 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
50044 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
50047 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
50050 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
50053 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
50056 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
50059 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
50062 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
50065 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
50068 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
50071 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
50074 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
50077 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
50080 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
50083 PyDict_SetItemString(d
,"PAPER_DBL_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_DBL_JAPANESE_POSTCARD
)));
50086 PyDict_SetItemString(d
,"PAPER_A6", SWIG_From_int((int)(wxPAPER_A6
)));
50089 PyDict_SetItemString(d
,"PAPER_JENV_KAKU2", SWIG_From_int((int)(wxPAPER_JENV_KAKU2
)));
50092 PyDict_SetItemString(d
,"PAPER_JENV_KAKU3", SWIG_From_int((int)(wxPAPER_JENV_KAKU3
)));
50095 PyDict_SetItemString(d
,"PAPER_JENV_CHOU3", SWIG_From_int((int)(wxPAPER_JENV_CHOU3
)));
50098 PyDict_SetItemString(d
,"PAPER_JENV_CHOU4", SWIG_From_int((int)(wxPAPER_JENV_CHOU4
)));
50101 PyDict_SetItemString(d
,"PAPER_LETTER_ROTATED", SWIG_From_int((int)(wxPAPER_LETTER_ROTATED
)));
50104 PyDict_SetItemString(d
,"PAPER_A3_ROTATED", SWIG_From_int((int)(wxPAPER_A3_ROTATED
)));
50107 PyDict_SetItemString(d
,"PAPER_A4_ROTATED", SWIG_From_int((int)(wxPAPER_A4_ROTATED
)));
50110 PyDict_SetItemString(d
,"PAPER_A5_ROTATED", SWIG_From_int((int)(wxPAPER_A5_ROTATED
)));
50113 PyDict_SetItemString(d
,"PAPER_B4_JIS_ROTATED", SWIG_From_int((int)(wxPAPER_B4_JIS_ROTATED
)));
50116 PyDict_SetItemString(d
,"PAPER_B5_JIS_ROTATED", SWIG_From_int((int)(wxPAPER_B5_JIS_ROTATED
)));
50119 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD_ROTATED", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD_ROTATED
)));
50122 PyDict_SetItemString(d
,"PAPER_DBL_JAPANESE_POSTCARD_ROTATED", SWIG_From_int((int)(wxPAPER_DBL_JAPANESE_POSTCARD_ROTATED
)));
50125 PyDict_SetItemString(d
,"PAPER_A6_ROTATED", SWIG_From_int((int)(wxPAPER_A6_ROTATED
)));
50128 PyDict_SetItemString(d
,"PAPER_JENV_KAKU2_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_KAKU2_ROTATED
)));
50131 PyDict_SetItemString(d
,"PAPER_JENV_KAKU3_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_KAKU3_ROTATED
)));
50134 PyDict_SetItemString(d
,"PAPER_JENV_CHOU3_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_CHOU3_ROTATED
)));
50137 PyDict_SetItemString(d
,"PAPER_JENV_CHOU4_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_CHOU4_ROTATED
)));
50140 PyDict_SetItemString(d
,"PAPER_B6_JIS", SWIG_From_int((int)(wxPAPER_B6_JIS
)));
50143 PyDict_SetItemString(d
,"PAPER_B6_JIS_ROTATED", SWIG_From_int((int)(wxPAPER_B6_JIS_ROTATED
)));
50146 PyDict_SetItemString(d
,"PAPER_12X11", SWIG_From_int((int)(wxPAPER_12X11
)));
50149 PyDict_SetItemString(d
,"PAPER_JENV_YOU4", SWIG_From_int((int)(wxPAPER_JENV_YOU4
)));
50152 PyDict_SetItemString(d
,"PAPER_JENV_YOU4_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_YOU4_ROTATED
)));
50155 PyDict_SetItemString(d
,"PAPER_P16K", SWIG_From_int((int)(wxPAPER_P16K
)));
50158 PyDict_SetItemString(d
,"PAPER_P32K", SWIG_From_int((int)(wxPAPER_P32K
)));
50161 PyDict_SetItemString(d
,"PAPER_P32KBIG", SWIG_From_int((int)(wxPAPER_P32KBIG
)));
50164 PyDict_SetItemString(d
,"PAPER_PENV_1", SWIG_From_int((int)(wxPAPER_PENV_1
)));
50167 PyDict_SetItemString(d
,"PAPER_PENV_2", SWIG_From_int((int)(wxPAPER_PENV_2
)));
50170 PyDict_SetItemString(d
,"PAPER_PENV_3", SWIG_From_int((int)(wxPAPER_PENV_3
)));
50173 PyDict_SetItemString(d
,"PAPER_PENV_4", SWIG_From_int((int)(wxPAPER_PENV_4
)));
50176 PyDict_SetItemString(d
,"PAPER_PENV_5", SWIG_From_int((int)(wxPAPER_PENV_5
)));
50179 PyDict_SetItemString(d
,"PAPER_PENV_6", SWIG_From_int((int)(wxPAPER_PENV_6
)));
50182 PyDict_SetItemString(d
,"PAPER_PENV_7", SWIG_From_int((int)(wxPAPER_PENV_7
)));
50185 PyDict_SetItemString(d
,"PAPER_PENV_8", SWIG_From_int((int)(wxPAPER_PENV_8
)));
50188 PyDict_SetItemString(d
,"PAPER_PENV_9", SWIG_From_int((int)(wxPAPER_PENV_9
)));
50191 PyDict_SetItemString(d
,"PAPER_PENV_10", SWIG_From_int((int)(wxPAPER_PENV_10
)));
50194 PyDict_SetItemString(d
,"PAPER_P16K_ROTATED", SWIG_From_int((int)(wxPAPER_P16K_ROTATED
)));
50197 PyDict_SetItemString(d
,"PAPER_P32K_ROTATED", SWIG_From_int((int)(wxPAPER_P32K_ROTATED
)));
50200 PyDict_SetItemString(d
,"PAPER_P32KBIG_ROTATED", SWIG_From_int((int)(wxPAPER_P32KBIG_ROTATED
)));
50203 PyDict_SetItemString(d
,"PAPER_PENV_1_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_1_ROTATED
)));
50206 PyDict_SetItemString(d
,"PAPER_PENV_2_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_2_ROTATED
)));
50209 PyDict_SetItemString(d
,"PAPER_PENV_3_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_3_ROTATED
)));
50212 PyDict_SetItemString(d
,"PAPER_PENV_4_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_4_ROTATED
)));
50215 PyDict_SetItemString(d
,"PAPER_PENV_5_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_5_ROTATED
)));
50218 PyDict_SetItemString(d
,"PAPER_PENV_6_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_6_ROTATED
)));
50221 PyDict_SetItemString(d
,"PAPER_PENV_7_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_7_ROTATED
)));
50224 PyDict_SetItemString(d
,"PAPER_PENV_8_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_8_ROTATED
)));
50227 PyDict_SetItemString(d
,"PAPER_PENV_9_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_9_ROTATED
)));
50230 PyDict_SetItemString(d
,"PAPER_PENV_10_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_10_ROTATED
)));
50233 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
50236 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
50239 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
50242 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
50245 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
50248 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
50251 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
50254 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
50257 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
50260 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
50263 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
50266 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
50269 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
50272 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
50275 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
50278 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
50281 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
50284 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
50287 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
50290 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
50293 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
50296 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
50299 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
50302 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
50305 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
50308 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
50311 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
50314 PyDict_SetItemString(d
,"MOD_ALTGR", SWIG_From_int((int)(wxMOD_ALTGR
)));
50317 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
50320 PyDict_SetItemString(d
,"MOD_META", SWIG_From_int((int)(wxMOD_META
)));
50323 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
50326 PyDict_SetItemString(d
,"MOD_CMD", SWIG_From_int((int)(wxMOD_CMD
)));
50329 PyDict_SetItemString(d
,"MOD_ALL", SWIG_From_int((int)(wxMOD_ALL
)));
50332 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
50335 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
50338 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
50340 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
50341 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
50343 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
50346 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
50349 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
50352 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
50355 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
50358 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
50361 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
50364 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
50367 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
50370 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
50373 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
50376 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
50379 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
50382 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
50385 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
50388 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
50391 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
50394 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
50397 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
50400 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
50403 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
50406 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
50409 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
50412 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
50415 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
50418 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
50421 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
50424 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
50427 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
50430 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
50433 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
50436 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
50439 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
50442 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
50445 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
50448 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
50451 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
50454 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
50457 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
50460 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
50463 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
50466 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
50469 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
50472 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
50475 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
50478 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
50481 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
50484 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
50487 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
50490 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
50493 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
50495 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
50496 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
50498 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
50501 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
50504 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
50507 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
50510 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
50513 PyDict_SetItemString(d
,"IMAGE_ALPHA_TRANSPARENT", SWIG_From_int((int)(wxIMAGE_ALPHA_TRANSPARENT
)));
50516 PyDict_SetItemString(d
,"IMAGE_ALPHA_THRESHOLD", SWIG_From_int((int)(wxIMAGE_ALPHA_THRESHOLD
)));
50519 PyDict_SetItemString(d
,"IMAGE_ALPHA_OPAQUE", SWIG_From_int((int)(wxIMAGE_ALPHA_OPAQUE
)));
50521 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
50522 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get
, _wrap_IMAGE_OPTION_FILENAME_set
);
50523 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
50524 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
50525 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
50526 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
50527 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get
, _wrap_IMAGE_OPTION_RESOLUTIONX_set
);
50528 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get
, _wrap_IMAGE_OPTION_RESOLUTIONY_set
);
50529 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
50530 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get
, _wrap_IMAGE_OPTION_QUALITY_set
);
50532 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
50535 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
50537 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get
, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set
);
50538 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get
, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set
);
50539 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get
, _wrap_IMAGE_OPTION_COMPRESSION_set
);
50540 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get
, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
50541 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get
, _wrap_IMAGE_OPTION_PNG_FORMAT_set
);
50542 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get
, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set
);
50544 PyDict_SetItemString(d
,"PNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR
)));
50547 PyDict_SetItemString(d
,"PNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY
)));
50550 PyDict_SetItemString(d
,"PNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED
)));
50553 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
50556 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
50559 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
50562 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
50565 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
50568 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
50571 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
50574 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
50577 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
50580 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
50583 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
50586 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
50589 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
50591 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
50592 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
50593 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
50594 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
50595 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
50596 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
50597 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
50598 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
50599 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
50600 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
50601 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
50602 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
50603 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
50604 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
50605 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
50606 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
50607 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
50608 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
50609 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
50610 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
50611 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
50612 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
50613 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
50614 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
50615 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
50616 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
50617 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
50618 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
50619 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
50620 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
50621 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
50622 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
50623 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
50624 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
50625 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
50626 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
50627 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
50628 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
50629 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
50630 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
50631 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
50632 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
50633 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
50634 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
50635 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
50636 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
50637 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
50638 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
50639 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
50640 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
50641 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
50642 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
50643 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
50644 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
50645 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
50646 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
50647 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
50648 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
50649 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
50650 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
50651 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
50652 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
50653 PyDict_SetItemString(d
, "wxEVT_SCROLL_CHANGED", PyInt_FromLong(wxEVT_SCROLL_CHANGED
));
50654 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
50655 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
50656 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
50657 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
50658 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
50659 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
50660 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
50661 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
50662 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
50663 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
50664 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
50665 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
50666 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
50667 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
50668 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
50669 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
50670 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
50671 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
50672 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
50673 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
50674 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
50675 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
50676 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
50677 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
50678 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
50679 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
50680 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
50681 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
50682 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
50683 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
50684 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
50685 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
50686 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
50687 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
50688 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
50689 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
50690 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
50691 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
50692 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
50693 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
50694 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
50695 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
50696 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
50697 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
50698 PyDict_SetItemString(d
, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE
));
50699 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
50700 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
50701 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
50702 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
50703 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
50704 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
50705 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
50707 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
50710 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
50713 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
50716 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
50719 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
50722 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
50725 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
50728 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
50731 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
50734 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
50737 PyDict_SetItemString(d
,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab
)));
50740 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
50743 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
50745 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
50747 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
50750 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
50753 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
50756 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
50759 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
50762 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
50764 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
50765 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
50767 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
50770 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
50773 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
50776 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
50779 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
50781 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
50782 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
50784 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
50787 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
50790 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
50792 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
50794 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
50797 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
50800 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
50803 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
50806 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
50809 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
50812 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
50815 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
50818 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
50821 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
50824 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
50827 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
50830 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
50833 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
50836 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
50839 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
50842 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
50845 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
50848 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
50851 // Initialize threading, some globals and such
50855 // Although these are defined in __version__ they need to be here too so
50856 // that an assert can be done to ensure that the wxPython and the wxWindows
50858 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
50859 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
50860 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));