1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
1342 #define SWIGTYPE_p_wxRealPoint swig_types[1]
1343 #define SWIGTYPE_p_wxSizerItem swig_types[2]
1344 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
1345 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
1346 #define SWIGTYPE_p_wxEventLoop swig_types[5]
1347 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
1348 #define SWIGTYPE_p_wxSizer swig_types[7]
1349 #define SWIGTYPE_p_wxBoxSizer swig_types[8]
1350 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
1351 #define SWIGTYPE_p_wxGridBagSizer swig_types[10]
1352 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
1353 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
1354 #define SWIGTYPE_p_wxEvent swig_types[13]
1355 #define SWIGTYPE_p_wxMenu swig_types[14]
1356 #define SWIGTYPE_p_wxGridSizer swig_types[15]
1357 #define SWIGTYPE_p_wxFlexGridSizer swig_types[16]
1358 #define SWIGTYPE_p_wxInitDialogEvent swig_types[17]
1359 #define SWIGTYPE_p_wxItemContainer swig_types[18]
1360 #define SWIGTYPE_p_wxNcPaintEvent swig_types[19]
1361 #define SWIGTYPE_p_wxPaintEvent swig_types[20]
1362 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[21]
1363 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[22]
1364 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[23]
1365 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[24]
1366 #define SWIGTYPE_p_wxControl swig_types[25]
1367 #define SWIGTYPE_p_wxFont swig_types[26]
1368 #define SWIGTYPE_p_wxMenuBarBase swig_types[27]
1369 #define SWIGTYPE_p_wxSetCursorEvent swig_types[28]
1370 #define SWIGTYPE_p_wxFSFile swig_types[29]
1371 #define SWIGTYPE_p_wxCaret swig_types[30]
1372 #define SWIGTYPE_ptrdiff_t swig_types[31]
1373 #define SWIGTYPE_std__ptrdiff_t swig_types[32]
1374 #define SWIGTYPE_p_wxRegion swig_types[33]
1375 #define SWIGTYPE_p_wxPoint2D swig_types[34]
1376 #define SWIGTYPE_p_int swig_types[35]
1377 #define SWIGTYPE_p_wxSize swig_types[36]
1378 #define SWIGTYPE_p_wxDC swig_types[37]
1379 #define SWIGTYPE_p_wxPySizer swig_types[38]
1380 #define SWIGTYPE_p_wxVisualAttributes swig_types[39]
1381 #define SWIGTYPE_p_wxNotifyEvent swig_types[40]
1382 #define SWIGTYPE_p_wxPyEvent swig_types[41]
1383 #define SWIGTYPE_p_wxPropagationDisabler swig_types[42]
1384 #define SWIGTYPE_p_form_ops_t swig_types[43]
1385 #define SWIGTYPE_p_wxAppTraits swig_types[44]
1386 #define SWIGTYPE_p_wxArrayString swig_types[45]
1387 #define SWIGTYPE_p_wxShowEvent swig_types[46]
1388 #define SWIGTYPE_p_wxToolTip swig_types[47]
1389 #define SWIGTYPE_p_wxMoveEvent swig_types[48]
1390 #define SWIGTYPE_p_wxSizeEvent swig_types[49]
1391 #define SWIGTYPE_p_wxActivateEvent swig_types[50]
1392 #define SWIGTYPE_p_wxIconizeEvent swig_types[51]
1393 #define SWIGTYPE_p_wxMaximizeEvent swig_types[52]
1394 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[53]
1395 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[54]
1396 #define SWIGTYPE_p_wxIdleEvent swig_types[55]
1397 #define SWIGTYPE_p_wxDateEvent swig_types[56]
1398 #define SWIGTYPE_p_wxMenuItem swig_types[57]
1399 #define SWIGTYPE_p_wxStaticBox swig_types[58]
1400 #define SWIGTYPE_p_long swig_types[59]
1401 #define SWIGTYPE_p_wxDuplexMode swig_types[60]
1402 #define SWIGTYPE_p_wxTIFFHandler swig_types[61]
1403 #define SWIGTYPE_p_wxXPMHandler swig_types[62]
1404 #define SWIGTYPE_p_wxPNMHandler swig_types[63]
1405 #define SWIGTYPE_p_wxJPEGHandler swig_types[64]
1406 #define SWIGTYPE_p_wxPCXHandler swig_types[65]
1407 #define SWIGTYPE_p_wxGIFHandler swig_types[66]
1408 #define SWIGTYPE_p_wxPNGHandler swig_types[67]
1409 #define SWIGTYPE_p_wxANIHandler swig_types[68]
1410 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[69]
1411 #define SWIGTYPE_p_wxZipFSHandler swig_types[70]
1412 #define SWIGTYPE_p_wxInternetFSHandler swig_types[71]
1413 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[72]
1414 #define SWIGTYPE_p_wxEvtHandler swig_types[73]
1415 #define SWIGTYPE_p_wxCURHandler swig_types[74]
1416 #define SWIGTYPE_p_wxICOHandler swig_types[75]
1417 #define SWIGTYPE_p_wxBMPHandler swig_types[76]
1418 #define SWIGTYPE_p_wxImageHandler swig_types[77]
1419 #define SWIGTYPE_p_wxFileSystemHandler swig_types[78]
1420 #define SWIGTYPE_p_wxRect swig_types[79]
1421 #define SWIGTYPE_p_wxButton swig_types[80]
1422 #define SWIGTYPE_p_wxGBSpan swig_types[81]
1423 #define SWIGTYPE_p_wxPropagateOnce swig_types[82]
1424 #define SWIGTYPE_p_wxAcceleratorTable swig_types[83]
1425 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[84]
1426 #define SWIGTYPE_p_char swig_types[85]
1427 #define SWIGTYPE_p_wxGBPosition swig_types[86]
1428 #define SWIGTYPE_p_wxImage swig_types[87]
1429 #define SWIGTYPE_p_wxFrame swig_types[88]
1430 #define SWIGTYPE_p_wxScrollWinEvent swig_types[89]
1431 #define SWIGTYPE_p_wxPaperSize swig_types[90]
1432 #define SWIGTYPE_p_wxImageHistogram swig_types[91]
1433 #define SWIGTYPE_p_wxPoint swig_types[92]
1434 #define SWIGTYPE_p_wxCursor swig_types[93]
1435 #define SWIGTYPE_p_wxObject swig_types[94]
1436 #define SWIGTYPE_p_wxInputStream swig_types[95]
1437 #define SWIGTYPE_p_wxOutputStream swig_types[96]
1438 #define SWIGTYPE_p_wxPyInputStream swig_types[97]
1439 #define SWIGTYPE_p_wxDateTime swig_types[98]
1440 #define SWIGTYPE_p_wxKeyEvent swig_types[99]
1441 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[100]
1442 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[101]
1443 #define SWIGTYPE_p_unsigned_long swig_types[102]
1444 #define SWIGTYPE_p_wxWindow swig_types[103]
1445 #define SWIGTYPE_p_wxMenuBar swig_types[104]
1446 #define SWIGTYPE_p_wxFileSystem swig_types[105]
1447 #define SWIGTYPE_p_wxBitmap swig_types[106]
1448 #define SWIGTYPE_unsigned_int swig_types[107]
1449 #define SWIGTYPE_p_unsigned_int swig_types[108]
1450 #define SWIGTYPE_p_wxMenuEvent swig_types[109]
1451 #define SWIGTYPE_p_wxContextMenuEvent swig_types[110]
1452 #define SWIGTYPE_p_unsigned_char swig_types[111]
1453 #define SWIGTYPE_p_wxEraseEvent swig_types[112]
1454 #define SWIGTYPE_p_wxMouseEvent swig_types[113]
1455 #define SWIGTYPE_p_wxCloseEvent swig_types[114]
1456 #define SWIGTYPE_p_wxPyApp swig_types[115]
1457 #define SWIGTYPE_p_wxCommandEvent swig_types[116]
1458 #define SWIGTYPE_p_wxPyCommandEvent swig_types[117]
1459 #define SWIGTYPE_p_wxPyDropTarget swig_types[118]
1460 #define SWIGTYPE_p_wxQuantize swig_types[119]
1461 #define SWIGTYPE_p_wxChildFocusEvent swig_types[120]
1462 #define SWIGTYPE_p_wxFocusEvent swig_types[121]
1463 #define SWIGTYPE_p_wxDropFilesEvent swig_types[122]
1464 #define SWIGTYPE_p_wxControlWithItems swig_types[123]
1465 #define SWIGTYPE_p_wxColour swig_types[124]
1466 #define SWIGTYPE_p_wxValidator swig_types[125]
1467 #define SWIGTYPE_p_wxPyValidator swig_types[126]
1468 static swig_type_info
*swig_types
[128];
1470 /* -------- TYPES TABLE (END) -------- */
1473 /*-----------------------------------------------
1474 @(target):= _core_.so
1475 ------------------------------------------------*/
1476 #define SWIG_init init_core_
1478 #define SWIG_name "_core_"
1480 #include "wx/wxPython/wxPython_int.h"
1481 #include "wx/wxPython/pyclasses.h"
1484 #ifndef wxPyUSE_EXPORT
1485 // Helper functions for dealing with SWIG objects and such. These are
1486 // located here so they know about the SWIG types and functions declared
1487 // in the wrapper code.
1489 #include <wx/hashmap.h>
1490 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
1493 // Maintains a hashmap of className to swig_type_info pointers. Given the
1494 // name of a class either looks up the type info in the cache, or scans the
1495 // SWIG tables for it.
1496 extern PyObject
* wxPyPtrTypeMap
;
1498 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
1500 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
1502 if (typeInfoCache
== NULL
)
1503 typeInfoCache
= new wxPyTypeInfoHashMap
;
1505 wxString
name(className
);
1506 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
1509 // it wasn't in the cache, so look it up from SWIG
1510 name
.Append(wxT(" *"));
1511 swigType
= SWIG_TypeQuery(name
.mb_str());
1513 // if it still wasn't found, try looking for a mapped name
1518 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
1519 (char*)(const char*)name
.mbc_str())) != NULL
) {
1520 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
1521 name
.Append(wxT(" *"));
1522 swigType
= SWIG_TypeQuery(name
.mb_str());
1526 // and add it to the map if found
1527 (*typeInfoCache
)[className
] = swigType
;
1534 // Check if a class name is a type known to SWIG
1535 bool wxPyCheckSwigType(const wxChar
* className
) {
1537 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1538 return swigType
!= NULL
;
1542 // Given a pointer to a C++ object and a class name, construct a Python proxy
1544 PyObject
* wxPyConstructObject(void* ptr
,
1545 const wxChar
* className
,
1548 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1549 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
1551 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
1555 // Extract a pointer to the wrapped C++ object from a Python proxy object.
1556 // Ensures that the proxy object is of the specified (or derived) type. If
1557 // not able to perform the conversion then a Python exception is set and the
1558 // error should be handled properly in the caller. Returns True on success.
1559 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
1560 const wxChar
* className
) {
1562 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1563 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
1565 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
1569 // Make a SWIGified pointer object suitable for a .this attribute
1570 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
1572 PyObject
* robj
= NULL
;
1574 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1575 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
1577 #ifdef SWIG_COBJECT_TYPES
1578 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)swigType
->name
);
1582 robj
= SWIG_PackVoidPtr(result
, ptr
, swigType
->name
, sizeof(result
)) ?
1583 PyString_FromString(result
) : 0;
1593 // Export a C API in a struct. Other modules will be able to load this from
1594 // the wx._core_ module and will then have safe access to these functions,
1595 // even if they are located in another shared library.
1596 static wxPyCoreAPI API
= {
1599 wxPyConstructObject
,
1603 wxPyBeginAllowThreads
,
1604 wxPyEndAllowThreads
,
1605 wxPyBeginBlockThreads
,
1606 wxPyEndBlockThreads
,
1618 wxPoint_LIST_helper
,
1619 wxBitmap_LIST_helper
,
1620 wxString_LIST_helper
,
1621 wxAcceleratorEntry_LIST_helper
,
1630 wxPySimple_typecheck
,
1633 wxPyCBH_setCallbackInfo
,
1634 wxPyCBH_findCallback
,
1635 wxPyCBH_callCallback
,
1636 wxPyCBH_callCallbackObj
,
1642 wxPy2int_seq_helper
,
1643 wxPy4int_seq_helper
,
1644 wxArrayString2PyList_helper
,
1645 wxArrayInt2PyList_helper
,
1647 wxPyClientData_dtor
,
1649 wxPyOORClientData_dtor
,
1651 wxPyCBInputStream_create
,
1652 wxPyCBInputStream_copy
,
1655 wxPySwigInstance_Check
,
1664 #if !WXWIN_COMPATIBILITY_2_4
1665 #define wxHIDE_READONLY 0
1669 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1670 #define SWIG_From_int PyInt_FromLong
1675 enum wxHotkeyModifier
1683 #define wxEVT_HOTKEY 9999
1686 static const wxString
wxPyEmptyString(wxEmptyString
);
1687 static wxString
wxObject_GetClassName(wxObject
*self
){
1688 return self
->GetClassInfo()->GetClassName();
1690 static void wxObject_Destroy(wxObject
*self
){
1695 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1703 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1706 if (value
< min_value
) {
1708 PyErr_Format(PyExc_OverflowError
,
1709 "value %ld is less than '%s' minimum %ld",
1710 value
, errmsg
, min_value
);
1713 } else if (value
> max_value
) {
1715 PyErr_Format(PyExc_OverflowError
,
1716 "value %ld is greater than '%s' maximum %ld",
1717 value
, errmsg
, max_value
);
1726 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1728 if (PyNumber_Check(obj
)) {
1729 if (val
) *val
= PyInt_AsLong(obj
);
1733 SWIG_type_error("number", obj
);
1739 #if INT_MAX != LONG_MAX
1741 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1743 const char* errmsg
= val
? "int" : (char*)0;
1745 if (SWIG_AsVal_long(obj
, &v
)) {
1746 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1747 if (val
) *val
= (int)(v
);
1756 SWIG_type_error(errmsg
, obj
);
1762 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1764 return SWIG_AsVal_long(obj
,(long*)val
);
1770 SWIG_As_int(PyObject
* obj
)
1773 if (!SWIG_AsVal_int(obj
, &v
)) {
1775 this is needed to make valgrind/purify happier.
1777 memset((void*)&v
, 0, sizeof(int));
1784 SWIG_Check_int(PyObject
* obj
)
1786 return SWIG_AsVal_int(obj
, (int*)0);
1789 static PyObject
*wxSize_Get(wxSize
*self
){
1790 bool blocked
= wxPyBeginBlockThreads();
1791 PyObject
* tup
= PyTuple_New(2);
1792 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1793 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1794 wxPyEndBlockThreads(blocked
);
1799 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1801 if (PyNumber_Check(obj
)) {
1802 if (val
) *val
= PyFloat_AsDouble(obj
);
1806 SWIG_type_error("number", obj
);
1812 SWIGINTERNSHORT
double
1813 SWIG_As_double(PyObject
* obj
)
1816 if (!SWIG_AsVal_double(obj
, &v
)) {
1818 this is needed to make valgrind/purify happier.
1820 memset((void*)&v
, 0, sizeof(double));
1827 SWIG_Check_double(PyObject
* obj
)
1829 return SWIG_AsVal_double(obj
, (double*)0);
1833 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1834 #define SWIG_From_double PyFloat_FromDouble
1837 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
1841 static PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
1842 bool blocked
= wxPyBeginBlockThreads();
1843 PyObject
* tup
= PyTuple_New(2);
1844 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1845 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1846 wxPyEndBlockThreads(blocked
);
1850 SWIGINTERNSHORT
long
1851 SWIG_As_long(PyObject
* obj
)
1854 if (!SWIG_AsVal_long(obj
, &v
)) {
1856 this is needed to make valgrind/purify happier.
1858 memset((void*)&v
, 0, sizeof(long));
1865 SWIG_Check_long(PyObject
* obj
)
1867 return SWIG_AsVal_long(obj
, (long*)0);
1870 static void wxPoint_Set(wxPoint
*self
,long x
,long y
){
1874 static PyObject
*wxPoint_Get(wxPoint
*self
){
1875 bool blocked
= wxPyBeginBlockThreads();
1876 PyObject
* tup
= PyTuple_New(2);
1877 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1878 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1879 wxPyEndBlockThreads(blocked
);
1882 static void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
1885 self
->width
= width
;
1886 self
->height
= height
;
1888 static PyObject
*wxRect_Get(wxRect
*self
){
1889 bool blocked
= wxPyBeginBlockThreads();
1890 PyObject
* tup
= PyTuple_New(4);
1891 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1892 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1893 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
1894 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
1895 wxPyEndBlockThreads(blocked
);
1899 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
1902 wxRect
dest(0,0,0,0);
1905 reg1
.Intersect(reg2
);
1906 dest
= reg1
.GetBox();
1908 if (dest
!= wxRect(0,0,0,0)) {
1909 bool blocked
= wxPyBeginBlockThreads();
1910 wxRect
* newRect
= new wxRect(dest
);
1911 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
1912 wxPyEndBlockThreads(blocked
);
1920 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1926 } else if (target
== Py_None
) {
1930 if (!PyTuple_Check(target
)) {
1932 target
= PyTuple_New(1);
1933 PyTuple_SetItem(target
, 0, o2
);
1935 o3
= PyTuple_New(1);
1936 PyTuple_SetItem(o3
, 0, o
);
1939 target
= PySequence_Concat(o2
, o3
);
1947 static void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
1951 static PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
1952 bool blocked
= wxPyBeginBlockThreads();
1953 PyObject
* tup
= PyTuple_New(2);
1954 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
1955 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
1956 wxPyEndBlockThreads(blocked
);
1960 #include "wx/wxPython/pyistream.h"
1962 static wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
1963 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
1965 return new wxPyInputStream(wxis
);
1970 SWIGINTERNSHORT PyObject
*
1971 SWIG_From_char(char c
)
1973 return PyString_FromStringAndSize(&c
,1);
1977 SWIGINTERNSHORT PyObject
*
1978 SWIG_From_unsigned_SS_long(unsigned long value
)
1980 return (value
> LONG_MAX
) ?
1981 PyLong_FromUnsignedLong(value
)
1982 : PyInt_FromLong((long)(value
));
1986 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1988 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
1990 static swig_type_info
* pchar_info
= 0;
1992 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
1993 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
1994 if (cptr
) *cptr
= vptr
;
1995 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
1999 if (PyString_Check(obj
)) {
2001 *cptr
= PyString_AS_STRING(obj
);
2003 *psize
= PyString_GET_SIZE(obj
) + 1;
2010 SWIG_type_error("char *", obj
);
2017 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
2019 char* cptr
; size_t csize
;
2020 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
2023 char x[5] = "hello";
2025 ie, assing the array using an extra '0' char.
2027 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
2028 if (csize
<= size
) {
2030 if (csize
) memcpy(val
, cptr
, csize
);
2031 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
2037 PyErr_Format(PyExc_TypeError
,
2038 "a char array of maximum size %lu is expected",
2039 (unsigned long) size
);
2046 SWIG_AsVal_char(PyObject
*obj
, char *val
)
2048 const char* errmsg
= val
? "char" : (char*)0;
2050 if (SWIG_AsVal_long(obj
, &v
)) {
2051 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
2052 if (val
) *val
= (char)(v
);
2059 return SWIG_AsCharArray(obj
, val
, 1);
2064 SWIGINTERNSHORT
char
2065 SWIG_As_char(PyObject
* obj
)
2068 if (!SWIG_AsVal_char(obj
, &v
)) {
2070 this is needed to make valgrind/purify happier.
2072 memset((void*)&v
, 0, sizeof(char));
2079 SWIG_Check_char(PyObject
* obj
)
2081 return SWIG_AsVal_char(obj
, (char*)0);
2085 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2086 #define SWIG_From_long PyInt_FromLong
2089 static void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
2090 // We use only strings for the streams, not unicode
2091 PyObject
* str
= PyObject_Str(obj
);
2093 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
2096 self
->Write(PyString_AS_STRING(str
),
2097 PyString_GET_SIZE(str
));
2101 #include "wx/wxPython/pyistream.h"
2104 class wxPyFileSystemHandler
: public wxFileSystemHandler
2107 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2109 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
2110 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
2111 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
2112 DEC_PYCALLBACK_STRING__pure(FindNext
);
2114 wxString
GetProtocol(const wxString
& location
) {
2115 return wxFileSystemHandler::GetProtocol(location
);
2118 wxString
GetLeftLocation(const wxString
& location
) {
2119 return wxFileSystemHandler::GetLeftLocation(location
);
2122 wxString
GetAnchor(const wxString
& location
) {
2123 return wxFileSystemHandler::GetAnchor(location
);
2126 wxString
GetRightLocation(const wxString
& location
) {
2127 return wxFileSystemHandler::GetRightLocation(location
);
2130 wxString
GetMimeTypeFromExt(const wxString
& location
) {
2131 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
2138 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
2139 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
2140 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
2141 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
2145 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2147 if (obj
== Py_True
) {
2148 if (val
) *val
= true;
2151 if (obj
== Py_False
) {
2152 if (val
) *val
= false;
2156 if (SWIG_AsVal_int(obj
, &res
)) {
2157 if (val
) *val
= res
? true : false;
2163 SWIG_type_error("bool", obj
);
2169 SWIGINTERNSHORT
bool
2170 SWIG_As_bool(PyObject
* obj
)
2173 if (!SWIG_AsVal_bool(obj
, &v
)) {
2175 this is needed to make valgrind/purify happier.
2177 memset((void*)&v
, 0, sizeof(bool));
2184 SWIG_Check_bool(PyObject
* obj
)
2186 return SWIG_AsVal_bool(obj
, (bool*)0);
2189 static wxString
FileSystem_URLToFileName(wxString
const &url
){
2190 wxFileName fname
= wxFileSystem::URLToFileName(url
);
2191 return fname
.GetFullPath();
2194 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
2197 wxMemoryFSHandler::AddFile(filename
, image
, type
);
2200 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
2201 const wxBitmap
& bitmap
,
2203 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
2206 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
2208 if (! PyString_Check(data
)) {
2209 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2210 "Expected string object"));
2214 bool blocked
= wxPyBeginBlockThreads();
2215 void* ptr
= (void*)PyString_AsString(data
);
2216 size_t size
= PyString_Size(data
);
2217 wxPyEndBlockThreads(blocked
);
2219 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
2223 #include "wx/wxPython/pyistream.h"
2227 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2230 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2231 SWIG_type_error("unsigned number", obj
);
2234 *val
= (unsigned long)v
;
2240 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2241 unsigned long max_value
,
2244 if (value
> max_value
) {
2246 PyErr_Format(PyExc_OverflowError
,
2247 "value %lu is greater than '%s' minimum %lu",
2248 value
, errmsg
, max_value
);
2257 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
2259 const char* errmsg
= val
? "unsigned char" : (char*)0;
2261 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2262 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
2263 if (val
) *val
= (unsigned char)(v
);
2272 SWIG_type_error(errmsg
, obj
);
2278 SWIGINTERNSHORT
unsigned char
2279 SWIG_As_unsigned_SS_char(PyObject
* obj
)
2282 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
2284 this is needed to make valgrind/purify happier.
2286 memset((void*)&v
, 0, sizeof(unsigned char));
2293 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
2295 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
2299 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2300 #define SWIG_From_unsigned_SS_char PyInt_FromLong
2304 static wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
2305 if (width
> 0 && height
> 0)
2306 return new wxImage(width
, height
, clear
);
2310 static wxImage
*new_wxImage(wxBitmap
const &bitmap
){
2311 return new wxImage(bitmap
.ConvertToImage());
2313 static wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
2314 // Copy the source data so the wxImage can clean it up later
2315 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
2320 memcpy(copy
, data
, width
*height
*3);
2321 return new wxImage(width
, height
, copy
, false);
2323 static wxImage
*new_wxImage(int width
,int height
,unsigned char *data
,unsigned char *alpha
){
2324 // Copy the source data so the wxImage can clean it up later
2325 unsigned char* dcopy
= (unsigned char*)malloc(width
*height
*3);
2326 if (dcopy
== NULL
) {
2330 memcpy(dcopy
, data
, width
*height
*3);
2331 unsigned char* acopy
= (unsigned char*)malloc(width
*height
);
2332 if (acopy
== NULL
) {
2336 memcpy(acopy
, alpha
, width
*height
);
2338 return new wxImage(width
, height
, dcopy
, acopy
, false);
2340 static wxSize
wxImage_GetSize(wxImage
*self
){
2341 wxSize
size(self
->GetWidth(), self
->GetHeight());
2344 static PyObject
*wxImage_GetData(wxImage
*self
){
2345 unsigned char* data
= self
->GetData();
2346 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2348 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
2351 static void wxImage_SetData(wxImage
*self
,PyObject
*data
){
2352 unsigned char* dataPtr
;
2354 if (! PyString_Check(data
)) {
2355 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2356 "Expected string object"));
2360 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
2361 dataPtr
= (unsigned char*) malloc(len
);
2362 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
2363 self
->SetData(dataPtr
);
2364 // wxImage takes ownership of dataPtr...
2366 static PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
2367 unsigned char* data
= self
->GetData();
2368 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2370 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2373 static void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
2374 unsigned char* buffer
;
2377 bool blocked
= wxPyBeginBlockThreads();
2378 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2381 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
2382 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
2385 self
->SetData(buffer
);
2387 wxPyEndBlockThreads(blocked
);
2389 static PyObject
*wxImage_GetAlphaData(wxImage
*self
){
2390 unsigned char* data
= self
->GetAlpha();
2394 int len
= self
->GetWidth() * self
->GetHeight();
2396 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
2400 static void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
2401 unsigned char* dataPtr
;
2403 if (! PyString_Check(data
)) {
2404 PyErr_SetString(PyExc_TypeError
, "Expected string object");
2408 size_t len
= self
->GetWidth() * self
->GetHeight();
2409 dataPtr
= (unsigned char*) malloc(len
);
2410 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
2411 self
->SetAlpha(dataPtr
);
2412 // wxImage takes ownership of dataPtr...
2414 static PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
2415 unsigned char* data
= self
->GetAlpha();
2416 int len
= self
->GetWidth() * self
->GetHeight();
2418 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2421 static void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
2422 unsigned char* buffer
;
2425 bool blocked
= wxPyBeginBlockThreads();
2426 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2429 if (size
!= self
->GetWidth() * self
->GetHeight()) {
2430 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
2433 self
->SetAlpha(buffer
);
2435 wxPyEndBlockThreads(blocked
);
2438 SWIGINTERNSHORT
unsigned long
2439 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2442 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2444 this is needed to make valgrind/purify happier.
2446 memset((void*)&v
, 0, sizeof(unsigned long));
2453 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2455 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2458 static wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
2459 wxBitmap
bitmap(*self
, depth
);
2462 static wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
2463 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
2464 wxBitmap
bitmap( mono
, 1 );
2467 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
2468 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
2469 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
2470 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
2471 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
2472 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
2473 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
2474 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
2475 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
2476 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
2477 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
2478 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
2479 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
2480 static const wxString
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);
2481 static const wxString
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);
2483 #include <wx/quantize.h>
2485 static bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
2486 return wxQuantize::Quantize(src
, dest
,
2489 NULL
, // eightBitData
2492 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
2493 if (PyCallable_Check(func
)) {
2494 self
->Connect(id
, lastId
, eventType
,
2495 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
2496 new wxPyCallback(func
));
2498 else if (func
== Py_None
) {
2499 self
->Disconnect(id
, lastId
, eventType
,
2500 (wxObjectEventFunction
)
2501 &wxPyCallback::EventThunker
);
2505 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
2508 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
2509 return self
->Disconnect(id
, lastId
, eventType
,
2510 (wxObjectEventFunction
)
2511 &wxPyCallback::EventThunker
);
2513 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
2514 if (_self
&& _self
!= Py_None
) {
2515 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
2518 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
2520 self
->SetClientObject(NULL
); // This will delete it too
2525 static int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
2527 return self
->GetUnicodeKey();
2533 #if UINT_MAX < LONG_MAX
2534 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2535 #define SWIG_From_unsigned_SS_int SWIG_From_long
2538 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2539 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2544 #if UINT_MAX != ULONG_MAX
2546 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2548 const char* errmsg
= val
? "unsigned int" : (char*)0;
2550 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2551 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2552 if (val
) *val
= (unsigned int)(v
);
2559 SWIG_type_error(errmsg
, obj
);
2564 SWIGINTERNSHORT
unsigned int
2565 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2567 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2572 SWIGINTERNSHORT
unsigned int
2573 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2576 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2578 this is needed to make valgrind/purify happier.
2580 memset((void*)&v
, 0, sizeof(unsigned int));
2587 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2589 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2592 static void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
2593 self
->m_size
= size
;
2595 static PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
2596 int count
= self
->GetNumberOfFiles();
2597 wxString
* files
= self
->GetFiles();
2598 PyObject
* list
= PyList_New(count
);
2601 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2605 for (int i
=0; i
<count
; i
++) {
2606 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
2612 static wxPyApp
*new_wxPyApp(){
2613 wxPythonApp
= new wxPyApp();
2616 static int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
2618 void wxApp_CleanUp() {
2623 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2627 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2629 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2634 SWIG_type_error("char *", obj
);
2640 SWIGINTERN PyObject
*
2641 SWIG_FromCharPtr(const char* cptr
)
2644 size_t size
= strlen(cptr
);
2645 if (size
> INT_MAX
) {
2646 return SWIG_NewPointerObj((char*)(cptr
),
2647 SWIG_TypeQuery("char *"), 0);
2650 return PyString_FromStringAndSize(cptr
, size
);
2652 return PyString_FromString(cptr
);
2663 // A dummy class that raises an exception if used...
2667 wxEventLoop() { wxPyRaiseNotImplemented(); }
2668 int Run() { return 0; }
2669 void Exit(int rc
= 0) {}
2670 bool Pending() const { return false; }
2671 bool Dispatch() { return false; }
2672 bool IsRunning() const { return false; }
2673 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2674 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2679 #include <wx/evtloop.h>
2685 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2686 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2687 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2688 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2689 wxWindowList
& list
= self
->GetChildren();
2690 return wxPy_ConvertList(&list
);
2692 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2694 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2699 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2706 static long wxWindow_GetHandle(wxWindow
*self
){
2707 return wxPyGetWinHandle(self
);
2709 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2710 self
->AssociateHandle((WXWidget
)handle
);
2713 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2714 return wxWindow::FindWindowById(id
, parent
);
2717 wxWindow
* wxFindWindowByName( const wxString
& name
,
2718 const wxWindow
*parent
= NULL
) {
2719 return wxWindow::FindWindowByName(name
, parent
);
2722 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2723 const wxWindow
*parent
= NULL
) {
2724 return wxWindow::FindWindowByLabel(label
, parent
);
2729 #include <wx/msw/private.h> // to get wxGetWindowId
2733 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2735 WXHWND hWnd
= (WXHWND
)_hWnd
;
2736 long id
= wxGetWindowId(hWnd
);
2737 wxWindow
* win
= new wxWindow
;
2738 parent
->AddChild(win
);
2739 win
->SetEventHandler(win
);
2742 win
->SubclassWin(hWnd
);
2743 win
->AdoptAttributesFromHWND();
2744 win
->SetupColours();
2747 wxPyRaiseNotImplemented();
2753 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2754 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2755 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2757 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2759 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2760 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2761 wxMenuItemList
& list
= self
->GetMenuItems();
2762 return wxPy_ConvertList(&list
);
2764 static void wxMenuItem_SetFont(wxMenuItem
*self
,wxFont
const &font
){}
2765 static wxFont
wxMenuItem_GetFont(wxMenuItem
*self
){ return wxNullFont
; }
2766 static void wxMenuItem_SetTextColour(wxMenuItem
*self
,wxColour
const &colText
){}
2767 static wxColour
wxMenuItem_GetTextColour(wxMenuItem
*self
){ return wxNullColour
; }
2768 static void wxMenuItem_SetBackgroundColour(wxMenuItem
*self
,wxColour
const &colBack
){}
2769 static wxColour
wxMenuItem_GetBackgroundColour(wxMenuItem
*self
){ return wxNullColour
; }
2770 static void wxMenuItem_SetBitmaps(wxMenuItem
*self
,wxBitmap
const &bmpChecked
,wxBitmap
const &bmpUnchecked
=wxNullBitmap
){}
2771 static void wxMenuItem_SetDisabledBitmap(wxMenuItem
*self
,wxBitmap
const &bmpDisabled
){}
2772 static wxBitmap
const &wxMenuItem_GetDisabledBitmap(wxMenuItem
const *self
){ return wxNullBitmap
; }
2773 static void wxMenuItem_SetMarginWidth(wxMenuItem
*self
,int nWidth
){}
2774 static int wxMenuItem_GetMarginWidth(wxMenuItem
*self
){ return 0; }
2775 static int MenuItem_GetDefaultMarginWidth(){ return 0; }
2776 static bool wxMenuItem_IsOwnerDrawn(wxMenuItem
*self
){ return false; }
2777 static void wxMenuItem_SetOwnerDrawn(wxMenuItem
*self
,bool ownerDrawn
=true){}
2778 static void wxMenuItem_ResetOwnerDrawn(wxMenuItem
*self
){}
2779 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2780 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2782 wxPyClientData
* data
= new wxPyClientData(clientData
);
2783 return self
->Append(item
, data
);
2785 return self
->Append(item
);
2787 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2789 wxPyClientData
* data
= new wxPyClientData(clientData
);
2790 return self
->Insert(item
, pos
, data
);
2792 return self
->Insert(item
, pos
);
2794 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2795 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2797 Py_INCREF(data
->m_obj
);
2804 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2805 wxPyClientData
* data
= new wxPyClientData(clientData
);
2806 self
->SetClientObject(n
, data
);
2810 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2811 wxPyUserData
* data
= NULL
;
2813 bool blocked
= wxPyBeginBlockThreads();
2814 data
= new wxPyUserData(userData
);
2815 wxPyEndBlockThreads(blocked
);
2817 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2819 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2820 wxPyUserData
* data
= NULL
;
2822 bool blocked
= wxPyBeginBlockThreads();
2823 data
= new wxPyUserData(userData
);
2824 wxPyEndBlockThreads(blocked
);
2826 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2828 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2829 wxPyUserData
* data
= NULL
;
2831 bool blocked
= wxPyBeginBlockThreads();
2832 data
= new wxPyUserData(userData
);
2833 wxPyEndBlockThreads(blocked
);
2835 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2840 SWIG_CheckDoubleInRange(double value
, double min_value
,
2841 double max_value
, const char* errmsg
)
2843 if (value
< min_value
) {
2845 PyErr_Format(PyExc_OverflowError
,
2846 "value %g is less than %s minimum %g",
2847 value
, errmsg
, min_value
);
2850 } else if (value
> max_value
) {
2852 PyErr_Format(PyExc_OverflowError
,
2853 "value %g is greater than %s maximum %g",
2854 value
, errmsg
, max_value
);
2863 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2865 const char* errmsg
= val
? "float" : (char*)0;
2867 if (SWIG_AsVal_double(obj
, &v
)) {
2868 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2869 if (val
) *val
= (float)(v
);
2878 SWIG_type_error(errmsg
, obj
);
2884 SWIGINTERNSHORT
float
2885 SWIG_As_float(PyObject
* obj
)
2888 if (!SWIG_AsVal_float(obj
, &v
)) {
2890 this is needed to make valgrind/purify happier.
2892 memset((void*)&v
, 0, sizeof(float));
2899 SWIG_Check_float(PyObject
* obj
)
2901 return SWIG_AsVal_float(obj
, (float*)0);
2905 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2906 #define SWIG_From_float PyFloat_FromDouble
2909 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2910 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2912 Py_INCREF(data
->m_obj
);
2920 // Figure out the type of the sizer item
2922 struct wxPySizerItemInfo
{
2924 : window(NULL
), sizer(NULL
), gotSize(false),
2925 size(wxDefaultSize
), gotPos(false), pos(-1)
2936 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2938 wxPySizerItemInfo info
;
2940 wxSize
* sizePtr
= &size
;
2942 // Find out what the type of the item is
2944 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2949 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2953 // try wxSize or (w,h)
2954 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2955 info
.size
= *sizePtr
;
2956 info
.gotSize
= true;
2960 if (checkIdx
&& PyInt_Check(item
)) {
2961 info
.pos
= PyInt_AsLong(item
);
2967 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2968 // no expected type, figure out what kind of error message to generate
2969 if ( !checkSize
&& !checkIdx
)
2970 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2971 else if ( checkSize
&& !checkIdx
)
2972 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2973 else if ( !checkSize
&& checkIdx
)
2974 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
2976 // can this one happen?
2977 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
2983 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
2984 if (!self
->GetClientObject())
2985 self
->SetClientObject(new wxPyOORClientData(_self
));
2987 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2989 wxPyUserData
* data
= NULL
;
2990 bool blocked
= wxPyBeginBlockThreads();
2991 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2992 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2993 data
= new wxPyUserData(userData
);
2994 wxPyEndBlockThreads(blocked
);
2996 // Now call the real Add method if a valid item type was found
2998 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
2999 else if ( info
.sizer
)
3000 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
3001 else if (info
.gotSize
)
3002 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3003 proportion
, flag
, border
, data
);
3007 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3009 wxPyUserData
* data
= NULL
;
3010 bool blocked
= wxPyBeginBlockThreads();
3011 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3012 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3013 data
= new wxPyUserData(userData
);
3014 wxPyEndBlockThreads(blocked
);
3016 // Now call the real Insert method if a valid item type was found
3018 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
3019 else if ( info
.sizer
)
3020 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
3021 else if (info
.gotSize
)
3022 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
3023 proportion
, flag
, border
, data
);
3027 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3029 wxPyUserData
* data
= NULL
;
3030 bool blocked
= wxPyBeginBlockThreads();
3031 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3032 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3033 data
= new wxPyUserData(userData
);
3034 wxPyEndBlockThreads(blocked
);
3036 // Now call the real Prepend method if a valid item type was found
3038 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3039 else if ( info
.sizer
)
3040 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3041 else if (info
.gotSize
)
3042 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3043 proportion
, flag
, border
, data
);
3047 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3048 bool blocked
= wxPyBeginBlockThreads();
3049 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3050 wxPyEndBlockThreads(blocked
);
3052 return self
->Remove(info
.window
);
3053 else if ( info
.sizer
)
3054 return self
->Remove(info
.sizer
);
3055 else if ( info
.gotPos
)
3056 return self
->Remove(info
.pos
);
3060 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3061 bool blocked
= wxPyBeginBlockThreads();
3062 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3063 wxPyEndBlockThreads(blocked
);
3065 return self
->Detach(info
.window
);
3066 else if ( info
.sizer
)
3067 return self
->Detach(info
.sizer
);
3068 else if ( info
.gotPos
)
3069 return self
->Detach(info
.pos
);
3073 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3074 bool blocked
= wxPyBeginBlockThreads();
3075 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3076 wxPyEndBlockThreads(blocked
);
3078 return self
->GetItem(info
.window
);
3079 else if ( info
.sizer
)
3080 return self
->GetItem(info
.sizer
);
3081 else if ( info
.gotPos
)
3082 return self
->GetItem(info
.pos
);
3086 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3087 bool blocked
= wxPyBeginBlockThreads();
3088 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3089 wxPyEndBlockThreads(blocked
);
3091 self
->SetItemMinSize(info
.window
, size
);
3092 else if ( info
.sizer
)
3093 self
->SetItemMinSize(info
.sizer
, size
);
3094 else if ( info
.gotPos
)
3095 self
->SetItemMinSize(info
.pos
, size
);
3097 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3098 wxSizerItemList
& list
= self
->GetChildren();
3099 return wxPy_ConvertList(&list
);
3101 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3102 bool blocked
= wxPyBeginBlockThreads();
3103 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3104 wxPyEndBlockThreads(blocked
);
3106 return self
->Show(info
.window
, show
, recursive
);
3107 else if ( info
.sizer
)
3108 return self
->Show(info
.sizer
, show
, recursive
);
3109 else if ( info
.gotPos
)
3110 return self
->Show(info
.pos
, show
);
3114 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3115 bool blocked
= wxPyBeginBlockThreads();
3116 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3117 wxPyEndBlockThreads(blocked
);
3119 return self
->IsShown(info
.window
);
3120 else if ( info
.sizer
)
3121 return self
->IsShown(info
.sizer
);
3122 else if ( info
.gotPos
)
3123 return self
->IsShown(info
.pos
);
3129 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3130 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3131 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3136 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3138 if (source
== Py_None
) {
3139 **obj
= wxGBPosition(-1,-1);
3142 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3145 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3147 if (source
== Py_None
) {
3148 **obj
= wxGBSpan(-1,-1);
3151 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3155 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3159 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3160 bool blocked
= wxPyBeginBlockThreads();
3161 PyObject
* tup
= PyTuple_New(2);
3162 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3163 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3164 wxPyEndBlockThreads(blocked
);
3167 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3168 self
->SetRowspan(rowspan
);
3169 self
->SetColspan(colspan
);
3171 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3172 bool blocked
= wxPyBeginBlockThreads();
3173 PyObject
* tup
= PyTuple_New(2);
3174 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3175 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3176 wxPyEndBlockThreads(blocked
);
3179 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3180 wxPyUserData
* data
= NULL
;
3182 bool blocked
= wxPyBeginBlockThreads();
3183 data
= new wxPyUserData(userData
);
3184 wxPyEndBlockThreads(blocked
);
3186 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3188 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3189 wxPyUserData
* data
= NULL
;
3191 bool blocked
= wxPyBeginBlockThreads();
3192 data
= new wxPyUserData(userData
);
3193 wxPyEndBlockThreads(blocked
);
3195 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3197 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3198 wxPyUserData
* data
= NULL
;
3200 bool blocked
= wxPyBeginBlockThreads();
3201 data
= new wxPyUserData(userData
);
3202 wxPyEndBlockThreads(blocked
);
3204 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3206 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3208 self
->GetEndPos(row
, col
);
3209 return wxGBPosition(row
, col
);
3211 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3213 wxPyUserData
* data
= NULL
;
3214 bool blocked
= wxPyBeginBlockThreads();
3215 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3216 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3217 data
= new wxPyUserData(userData
);
3218 wxPyEndBlockThreads(blocked
);
3220 // Now call the real Add method if a valid item type was found
3222 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3223 else if ( info
.sizer
)
3224 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3225 else if (info
.gotSize
)
3226 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3227 pos
, span
, flag
, border
, data
);
3235 static int _wrap_EmptyString_set(PyObject
*) {
3236 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3241 static PyObject
*_wrap_EmptyString_get(void) {
3246 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3248 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3255 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3256 PyObject
*resultobj
;
3257 wxObject
*arg1
= (wxObject
*) 0 ;
3259 PyObject
* obj0
= 0 ;
3261 (char *) "self", NULL
3264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3266 if (SWIG_arg_fail(1)) SWIG_fail
;
3268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3269 result
= wxObject_GetClassName(arg1
);
3271 wxPyEndAllowThreads(__tstate
);
3272 if (PyErr_Occurred()) SWIG_fail
;
3276 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3278 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3287 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3288 PyObject
*resultobj
;
3289 wxObject
*arg1
= (wxObject
*) 0 ;
3290 PyObject
* obj0
= 0 ;
3292 (char *) "self", NULL
3295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3297 if (SWIG_arg_fail(1)) SWIG_fail
;
3299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3300 wxObject_Destroy(arg1
);
3302 wxPyEndAllowThreads(__tstate
);
3303 if (PyErr_Occurred()) SWIG_fail
;
3305 Py_INCREF(Py_None
); resultobj
= Py_None
;
3312 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3314 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3315 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3317 return Py_BuildValue((char *)"");
3319 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3320 PyObject
*resultobj
;
3321 wxSize
*arg1
= (wxSize
*) 0 ;
3323 PyObject
* obj0
= 0 ;
3324 PyObject
* obj1
= 0 ;
3326 (char *) "self",(char *) "x", NULL
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3331 if (SWIG_arg_fail(1)) SWIG_fail
;
3333 arg2
= (int)(SWIG_As_int(obj1
));
3334 if (SWIG_arg_fail(2)) SWIG_fail
;
3336 if (arg1
) (arg1
)->x
= arg2
;
3338 Py_INCREF(Py_None
); resultobj
= Py_None
;
3345 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3346 PyObject
*resultobj
;
3347 wxSize
*arg1
= (wxSize
*) 0 ;
3349 PyObject
* obj0
= 0 ;
3351 (char *) "self", NULL
3354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3356 if (SWIG_arg_fail(1)) SWIG_fail
;
3357 result
= (int) ((arg1
)->x
);
3360 resultobj
= SWIG_From_int((int)(result
));
3368 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
*resultobj
;
3370 wxSize
*arg1
= (wxSize
*) 0 ;
3372 PyObject
* obj0
= 0 ;
3373 PyObject
* obj1
= 0 ;
3375 (char *) "self",(char *) "y", NULL
3378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3380 if (SWIG_arg_fail(1)) SWIG_fail
;
3382 arg2
= (int)(SWIG_As_int(obj1
));
3383 if (SWIG_arg_fail(2)) SWIG_fail
;
3385 if (arg1
) (arg1
)->y
= arg2
;
3387 Py_INCREF(Py_None
); resultobj
= Py_None
;
3394 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3395 PyObject
*resultobj
;
3396 wxSize
*arg1
= (wxSize
*) 0 ;
3398 PyObject
* obj0
= 0 ;
3400 (char *) "self", NULL
3403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3405 if (SWIG_arg_fail(1)) SWIG_fail
;
3406 result
= (int) ((arg1
)->y
);
3409 resultobj
= SWIG_From_int((int)(result
));
3417 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3418 PyObject
*resultobj
;
3419 int arg1
= (int) 0 ;
3420 int arg2
= (int) 0 ;
3422 PyObject
* obj0
= 0 ;
3423 PyObject
* obj1
= 0 ;
3425 (char *) "w",(char *) "h", NULL
3428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3431 arg1
= (int)(SWIG_As_int(obj0
));
3432 if (SWIG_arg_fail(1)) SWIG_fail
;
3437 arg2
= (int)(SWIG_As_int(obj1
));
3438 if (SWIG_arg_fail(2)) SWIG_fail
;
3442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3443 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3445 wxPyEndAllowThreads(__tstate
);
3446 if (PyErr_Occurred()) SWIG_fail
;
3448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3455 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3456 PyObject
*resultobj
;
3457 wxSize
*arg1
= (wxSize
*) 0 ;
3458 PyObject
* obj0
= 0 ;
3460 (char *) "self", NULL
3463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3465 if (SWIG_arg_fail(1)) SWIG_fail
;
3467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3470 wxPyEndAllowThreads(__tstate
);
3471 if (PyErr_Occurred()) SWIG_fail
;
3473 Py_INCREF(Py_None
); resultobj
= Py_None
;
3480 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3481 PyObject
*resultobj
;
3482 wxSize
*arg1
= (wxSize
*) 0 ;
3486 PyObject
* obj0
= 0 ;
3487 PyObject
* obj1
= 0 ;
3489 (char *) "self",(char *) "sz", NULL
3492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3494 if (SWIG_arg_fail(1)) SWIG_fail
;
3497 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3501 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3503 wxPyEndAllowThreads(__tstate
);
3504 if (PyErr_Occurred()) SWIG_fail
;
3507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3515 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3516 PyObject
*resultobj
;
3517 wxSize
*arg1
= (wxSize
*) 0 ;
3521 PyObject
* obj0
= 0 ;
3522 PyObject
* obj1
= 0 ;
3524 (char *) "self",(char *) "sz", NULL
3527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3529 if (SWIG_arg_fail(1)) SWIG_fail
;
3532 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3536 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3538 wxPyEndAllowThreads(__tstate
);
3539 if (PyErr_Occurred()) SWIG_fail
;
3542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3550 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3551 PyObject
*resultobj
;
3552 wxSize
*arg1
= (wxSize
*) 0 ;
3556 PyObject
* obj0
= 0 ;
3557 PyObject
* obj1
= 0 ;
3559 (char *) "self",(char *) "sz", NULL
3562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3564 if (SWIG_arg_fail(1)) SWIG_fail
;
3567 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3571 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) SWIG_fail
;
3578 resultptr
= new wxSize((wxSize
&)(result
));
3579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3587 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
*resultobj
;
3589 wxSize
*arg1
= (wxSize
*) 0 ;
3593 PyObject
* obj0
= 0 ;
3594 PyObject
* obj1
= 0 ;
3596 (char *) "self",(char *) "sz", NULL
3599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3601 if (SWIG_arg_fail(1)) SWIG_fail
;
3604 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3608 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3610 wxPyEndAllowThreads(__tstate
);
3611 if (PyErr_Occurred()) SWIG_fail
;
3615 resultptr
= new wxSize((wxSize
&)(result
));
3616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3624 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3625 PyObject
*resultobj
;
3626 wxSize
*arg1
= (wxSize
*) 0 ;
3629 PyObject
* obj0
= 0 ;
3630 PyObject
* obj1
= 0 ;
3632 (char *) "self",(char *) "sz", NULL
3635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3637 if (SWIG_arg_fail(1)) SWIG_fail
;
3640 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3644 (arg1
)->IncTo((wxSize
const &)*arg2
);
3646 wxPyEndAllowThreads(__tstate
);
3647 if (PyErr_Occurred()) SWIG_fail
;
3649 Py_INCREF(Py_None
); resultobj
= Py_None
;
3656 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3657 PyObject
*resultobj
;
3658 wxSize
*arg1
= (wxSize
*) 0 ;
3661 PyObject
* obj0
= 0 ;
3662 PyObject
* obj1
= 0 ;
3664 (char *) "self",(char *) "sz", NULL
3667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3669 if (SWIG_arg_fail(1)) SWIG_fail
;
3672 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3676 (arg1
)->DecTo((wxSize
const &)*arg2
);
3678 wxPyEndAllowThreads(__tstate
);
3679 if (PyErr_Occurred()) SWIG_fail
;
3681 Py_INCREF(Py_None
); resultobj
= Py_None
;
3688 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3689 PyObject
*resultobj
;
3690 wxSize
*arg1
= (wxSize
*) 0 ;
3693 PyObject
* obj0
= 0 ;
3694 PyObject
* obj1
= 0 ;
3695 PyObject
* obj2
= 0 ;
3697 (char *) "self",(char *) "w",(char *) "h", NULL
3700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3702 if (SWIG_arg_fail(1)) SWIG_fail
;
3704 arg2
= (int)(SWIG_As_int(obj1
));
3705 if (SWIG_arg_fail(2)) SWIG_fail
;
3708 arg3
= (int)(SWIG_As_int(obj2
));
3709 if (SWIG_arg_fail(3)) SWIG_fail
;
3712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3713 (arg1
)->Set(arg2
,arg3
);
3715 wxPyEndAllowThreads(__tstate
);
3716 if (PyErr_Occurred()) SWIG_fail
;
3718 Py_INCREF(Py_None
); resultobj
= Py_None
;
3725 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3726 PyObject
*resultobj
;
3727 wxSize
*arg1
= (wxSize
*) 0 ;
3729 PyObject
* obj0
= 0 ;
3730 PyObject
* obj1
= 0 ;
3732 (char *) "self",(char *) "w", NULL
3735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3737 if (SWIG_arg_fail(1)) SWIG_fail
;
3739 arg2
= (int)(SWIG_As_int(obj1
));
3740 if (SWIG_arg_fail(2)) SWIG_fail
;
3743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3744 (arg1
)->SetWidth(arg2
);
3746 wxPyEndAllowThreads(__tstate
);
3747 if (PyErr_Occurred()) SWIG_fail
;
3749 Py_INCREF(Py_None
); resultobj
= Py_None
;
3756 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3757 PyObject
*resultobj
;
3758 wxSize
*arg1
= (wxSize
*) 0 ;
3760 PyObject
* obj0
= 0 ;
3761 PyObject
* obj1
= 0 ;
3763 (char *) "self",(char *) "h", NULL
3766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3775 (arg1
)->SetHeight(arg2
);
3777 wxPyEndAllowThreads(__tstate
);
3778 if (PyErr_Occurred()) SWIG_fail
;
3780 Py_INCREF(Py_None
); resultobj
= Py_None
;
3787 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3788 PyObject
*resultobj
;
3789 wxSize
*arg1
= (wxSize
*) 0 ;
3791 PyObject
* obj0
= 0 ;
3793 (char *) "self", NULL
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3798 if (SWIG_arg_fail(1)) SWIG_fail
;
3800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3801 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3807 resultobj
= SWIG_From_int((int)(result
));
3815 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3816 PyObject
*resultobj
;
3817 wxSize
*arg1
= (wxSize
*) 0 ;
3819 PyObject
* obj0
= 0 ;
3821 (char *) "self", NULL
3824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3826 if (SWIG_arg_fail(1)) SWIG_fail
;
3828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3829 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3831 wxPyEndAllowThreads(__tstate
);
3832 if (PyErr_Occurred()) SWIG_fail
;
3835 resultobj
= SWIG_From_int((int)(result
));
3843 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3844 PyObject
*resultobj
;
3845 wxSize
*arg1
= (wxSize
*) 0 ;
3847 PyObject
* obj0
= 0 ;
3849 (char *) "self", NULL
3852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3854 if (SWIG_arg_fail(1)) SWIG_fail
;
3856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3857 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3859 wxPyEndAllowThreads(__tstate
);
3860 if (PyErr_Occurred()) SWIG_fail
;
3863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3871 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
*resultobj
;
3873 wxSize
*arg1
= (wxSize
*) 0 ;
3876 PyObject
* obj0
= 0 ;
3877 PyObject
* obj1
= 0 ;
3879 (char *) "self",(char *) "size", NULL
3882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3884 if (SWIG_arg_fail(1)) SWIG_fail
;
3887 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3891 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3893 wxPyEndAllowThreads(__tstate
);
3894 if (PyErr_Occurred()) SWIG_fail
;
3896 Py_INCREF(Py_None
); resultobj
= Py_None
;
3903 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
*resultobj
;
3905 wxSize
*arg1
= (wxSize
*) 0 ;
3907 PyObject
* obj0
= 0 ;
3909 (char *) "self", NULL
3912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3914 if (SWIG_arg_fail(1)) SWIG_fail
;
3916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3917 result
= (PyObject
*)wxSize_Get(arg1
);
3919 wxPyEndAllowThreads(__tstate
);
3920 if (PyErr_Occurred()) SWIG_fail
;
3929 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3932 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3934 return Py_BuildValue((char *)"");
3936 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3937 PyObject
*resultobj
;
3938 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3940 PyObject
* obj0
= 0 ;
3941 PyObject
* obj1
= 0 ;
3943 (char *) "self",(char *) "x", NULL
3946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3948 if (SWIG_arg_fail(1)) SWIG_fail
;
3950 arg2
= (double)(SWIG_As_double(obj1
));
3951 if (SWIG_arg_fail(2)) SWIG_fail
;
3953 if (arg1
) (arg1
)->x
= arg2
;
3955 Py_INCREF(Py_None
); resultobj
= Py_None
;
3962 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3963 PyObject
*resultobj
;
3964 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3966 PyObject
* obj0
= 0 ;
3968 (char *) "self", NULL
3971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
3972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3973 if (SWIG_arg_fail(1)) SWIG_fail
;
3974 result
= (double) ((arg1
)->x
);
3977 resultobj
= SWIG_From_double((double)(result
));
3985 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3986 PyObject
*resultobj
;
3987 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3989 PyObject
* obj0
= 0 ;
3990 PyObject
* obj1
= 0 ;
3992 (char *) "self",(char *) "y", NULL
3995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3997 if (SWIG_arg_fail(1)) SWIG_fail
;
3999 arg2
= (double)(SWIG_As_double(obj1
));
4000 if (SWIG_arg_fail(2)) SWIG_fail
;
4002 if (arg1
) (arg1
)->y
= arg2
;
4004 Py_INCREF(Py_None
); resultobj
= Py_None
;
4011 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4012 PyObject
*resultobj
;
4013 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4015 PyObject
* obj0
= 0 ;
4017 (char *) "self", NULL
4020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
4021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4022 if (SWIG_arg_fail(1)) SWIG_fail
;
4023 result
= (double) ((arg1
)->y
);
4026 resultobj
= SWIG_From_double((double)(result
));
4034 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
*resultobj
;
4036 double arg1
= (double) 0.0 ;
4037 double arg2
= (double) 0.0 ;
4038 wxRealPoint
*result
;
4039 PyObject
* obj0
= 0 ;
4040 PyObject
* obj1
= 0 ;
4042 (char *) "x",(char *) "y", NULL
4045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4048 arg1
= (double)(SWIG_As_double(obj0
));
4049 if (SWIG_arg_fail(1)) SWIG_fail
;
4054 arg2
= (double)(SWIG_As_double(obj1
));
4055 if (SWIG_arg_fail(2)) SWIG_fail
;
4059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4060 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4062 wxPyEndAllowThreads(__tstate
);
4063 if (PyErr_Occurred()) SWIG_fail
;
4065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4072 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4073 PyObject
*resultobj
;
4074 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4075 PyObject
* obj0
= 0 ;
4077 (char *) "self", NULL
4080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4082 if (SWIG_arg_fail(1)) SWIG_fail
;
4084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4090 Py_INCREF(Py_None
); resultobj
= Py_None
;
4097 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4098 PyObject
*resultobj
;
4099 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4100 wxRealPoint
*arg2
= 0 ;
4103 PyObject
* obj0
= 0 ;
4104 PyObject
* obj1
= 0 ;
4106 (char *) "self",(char *) "pt", NULL
4109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4111 if (SWIG_arg_fail(1)) SWIG_fail
;
4114 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4118 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4120 wxPyEndAllowThreads(__tstate
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4132 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4133 PyObject
*resultobj
;
4134 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4135 wxRealPoint
*arg2
= 0 ;
4138 PyObject
* obj0
= 0 ;
4139 PyObject
* obj1
= 0 ;
4141 (char *) "self",(char *) "pt", NULL
4144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4146 if (SWIG_arg_fail(1)) SWIG_fail
;
4149 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4153 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4155 wxPyEndAllowThreads(__tstate
);
4156 if (PyErr_Occurred()) SWIG_fail
;
4159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4167 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
*resultobj
;
4169 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4170 wxRealPoint
*arg2
= 0 ;
4173 PyObject
* obj0
= 0 ;
4174 PyObject
* obj1
= 0 ;
4176 (char *) "self",(char *) "pt", NULL
4179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4181 if (SWIG_arg_fail(1)) SWIG_fail
;
4184 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4188 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4190 wxPyEndAllowThreads(__tstate
);
4191 if (PyErr_Occurred()) SWIG_fail
;
4194 wxRealPoint
* resultptr
;
4195 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4196 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4204 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4205 PyObject
*resultobj
;
4206 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4207 wxRealPoint
*arg2
= 0 ;
4210 PyObject
* obj0
= 0 ;
4211 PyObject
* obj1
= 0 ;
4213 (char *) "self",(char *) "pt", NULL
4216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4218 if (SWIG_arg_fail(1)) SWIG_fail
;
4221 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4225 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4227 wxPyEndAllowThreads(__tstate
);
4228 if (PyErr_Occurred()) SWIG_fail
;
4231 wxRealPoint
* resultptr
;
4232 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4233 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4241 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
*resultobj
;
4243 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4246 PyObject
* obj0
= 0 ;
4247 PyObject
* obj1
= 0 ;
4248 PyObject
* obj2
= 0 ;
4250 (char *) "self",(char *) "x",(char *) "y", NULL
4253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4255 if (SWIG_arg_fail(1)) SWIG_fail
;
4257 arg2
= (double)(SWIG_As_double(obj1
));
4258 if (SWIG_arg_fail(2)) SWIG_fail
;
4261 arg3
= (double)(SWIG_As_double(obj2
));
4262 if (SWIG_arg_fail(3)) SWIG_fail
;
4265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4266 wxRealPoint_Set(arg1
,arg2
,arg3
);
4268 wxPyEndAllowThreads(__tstate
);
4269 if (PyErr_Occurred()) SWIG_fail
;
4271 Py_INCREF(Py_None
); resultobj
= Py_None
;
4278 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4279 PyObject
*resultobj
;
4280 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4282 PyObject
* obj0
= 0 ;
4284 (char *) "self", NULL
4287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4289 if (SWIG_arg_fail(1)) SWIG_fail
;
4291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4292 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4304 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4306 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4307 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4309 return Py_BuildValue((char *)"");
4311 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4312 PyObject
*resultobj
;
4313 wxPoint
*arg1
= (wxPoint
*) 0 ;
4315 PyObject
* obj0
= 0 ;
4316 PyObject
* obj1
= 0 ;
4318 (char *) "self",(char *) "x", NULL
4321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4323 if (SWIG_arg_fail(1)) SWIG_fail
;
4325 arg2
= (int)(SWIG_As_int(obj1
));
4326 if (SWIG_arg_fail(2)) SWIG_fail
;
4328 if (arg1
) (arg1
)->x
= arg2
;
4330 Py_INCREF(Py_None
); resultobj
= Py_None
;
4337 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4338 PyObject
*resultobj
;
4339 wxPoint
*arg1
= (wxPoint
*) 0 ;
4341 PyObject
* obj0
= 0 ;
4343 (char *) "self", NULL
4346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4348 if (SWIG_arg_fail(1)) SWIG_fail
;
4349 result
= (int) ((arg1
)->x
);
4352 resultobj
= SWIG_From_int((int)(result
));
4360 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
*resultobj
;
4362 wxPoint
*arg1
= (wxPoint
*) 0 ;
4364 PyObject
* obj0
= 0 ;
4365 PyObject
* obj1
= 0 ;
4367 (char *) "self",(char *) "y", NULL
4370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4372 if (SWIG_arg_fail(1)) SWIG_fail
;
4374 arg2
= (int)(SWIG_As_int(obj1
));
4375 if (SWIG_arg_fail(2)) SWIG_fail
;
4377 if (arg1
) (arg1
)->y
= arg2
;
4379 Py_INCREF(Py_None
); resultobj
= Py_None
;
4386 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
*resultobj
;
4388 wxPoint
*arg1
= (wxPoint
*) 0 ;
4390 PyObject
* obj0
= 0 ;
4392 (char *) "self", NULL
4395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4397 if (SWIG_arg_fail(1)) SWIG_fail
;
4398 result
= (int) ((arg1
)->y
);
4401 resultobj
= SWIG_From_int((int)(result
));
4409 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4410 PyObject
*resultobj
;
4411 int arg1
= (int) 0 ;
4412 int arg2
= (int) 0 ;
4414 PyObject
* obj0
= 0 ;
4415 PyObject
* obj1
= 0 ;
4417 (char *) "x",(char *) "y", NULL
4420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4423 arg1
= (int)(SWIG_As_int(obj0
));
4424 if (SWIG_arg_fail(1)) SWIG_fail
;
4429 arg2
= (int)(SWIG_As_int(obj1
));
4430 if (SWIG_arg_fail(2)) SWIG_fail
;
4434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4435 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4437 wxPyEndAllowThreads(__tstate
);
4438 if (PyErr_Occurred()) SWIG_fail
;
4440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4447 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4448 PyObject
*resultobj
;
4449 wxPoint
*arg1
= (wxPoint
*) 0 ;
4450 PyObject
* obj0
= 0 ;
4452 (char *) "self", NULL
4455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4457 if (SWIG_arg_fail(1)) SWIG_fail
;
4459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4462 wxPyEndAllowThreads(__tstate
);
4463 if (PyErr_Occurred()) SWIG_fail
;
4465 Py_INCREF(Py_None
); resultobj
= Py_None
;
4472 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4473 PyObject
*resultobj
;
4474 wxPoint
*arg1
= (wxPoint
*) 0 ;
4478 PyObject
* obj0
= 0 ;
4479 PyObject
* obj1
= 0 ;
4481 (char *) "self",(char *) "pt", NULL
4484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4486 if (SWIG_arg_fail(1)) SWIG_fail
;
4489 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4493 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4495 wxPyEndAllowThreads(__tstate
);
4496 if (PyErr_Occurred()) SWIG_fail
;
4499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4507 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4508 PyObject
*resultobj
;
4509 wxPoint
*arg1
= (wxPoint
*) 0 ;
4513 PyObject
* obj0
= 0 ;
4514 PyObject
* obj1
= 0 ;
4516 (char *) "self",(char *) "pt", NULL
4519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4521 if (SWIG_arg_fail(1)) SWIG_fail
;
4524 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4528 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4530 wxPyEndAllowThreads(__tstate
);
4531 if (PyErr_Occurred()) SWIG_fail
;
4534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4542 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4543 PyObject
*resultobj
;
4544 wxPoint
*arg1
= (wxPoint
*) 0 ;
4548 PyObject
* obj0
= 0 ;
4549 PyObject
* obj1
= 0 ;
4551 (char *) "self",(char *) "pt", NULL
4554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4556 if (SWIG_arg_fail(1)) SWIG_fail
;
4559 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4563 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4565 wxPyEndAllowThreads(__tstate
);
4566 if (PyErr_Occurred()) SWIG_fail
;
4569 wxPoint
* resultptr
;
4570 resultptr
= new wxPoint((wxPoint
&)(result
));
4571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4579 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
*resultobj
;
4581 wxPoint
*arg1
= (wxPoint
*) 0 ;
4585 PyObject
* obj0
= 0 ;
4586 PyObject
* obj1
= 0 ;
4588 (char *) "self",(char *) "pt", NULL
4591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4593 if (SWIG_arg_fail(1)) SWIG_fail
;
4596 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4600 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4602 wxPyEndAllowThreads(__tstate
);
4603 if (PyErr_Occurred()) SWIG_fail
;
4606 wxPoint
* resultptr
;
4607 resultptr
= new wxPoint((wxPoint
&)(result
));
4608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4616 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4617 PyObject
*resultobj
;
4618 wxPoint
*arg1
= (wxPoint
*) 0 ;
4622 PyObject
* obj0
= 0 ;
4623 PyObject
* obj1
= 0 ;
4625 (char *) "self",(char *) "pt", NULL
4628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4630 if (SWIG_arg_fail(1)) SWIG_fail
;
4633 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4638 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4639 result
= (wxPoint
*) &_result_ref
;
4642 wxPyEndAllowThreads(__tstate
);
4643 if (PyErr_Occurred()) SWIG_fail
;
4645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4652 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4653 PyObject
*resultobj
;
4654 wxPoint
*arg1
= (wxPoint
*) 0 ;
4658 PyObject
* obj0
= 0 ;
4659 PyObject
* obj1
= 0 ;
4661 (char *) "self",(char *) "pt", NULL
4664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4666 if (SWIG_arg_fail(1)) SWIG_fail
;
4669 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4674 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4675 result
= (wxPoint
*) &_result_ref
;
4678 wxPyEndAllowThreads(__tstate
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4688 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4689 PyObject
*resultobj
;
4690 wxPoint
*arg1
= (wxPoint
*) 0 ;
4693 PyObject
* obj0
= 0 ;
4694 PyObject
* obj1
= 0 ;
4695 PyObject
* obj2
= 0 ;
4697 (char *) "self",(char *) "x",(char *) "y", NULL
4700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4702 if (SWIG_arg_fail(1)) SWIG_fail
;
4704 arg2
= (long)(SWIG_As_long(obj1
));
4705 if (SWIG_arg_fail(2)) SWIG_fail
;
4708 arg3
= (long)(SWIG_As_long(obj2
));
4709 if (SWIG_arg_fail(3)) SWIG_fail
;
4712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4713 wxPoint_Set(arg1
,arg2
,arg3
);
4715 wxPyEndAllowThreads(__tstate
);
4716 if (PyErr_Occurred()) SWIG_fail
;
4718 Py_INCREF(Py_None
); resultobj
= Py_None
;
4725 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4726 PyObject
*resultobj
;
4727 wxPoint
*arg1
= (wxPoint
*) 0 ;
4729 PyObject
* obj0
= 0 ;
4731 (char *) "self", NULL
4734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4736 if (SWIG_arg_fail(1)) SWIG_fail
;
4738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4739 result
= (PyObject
*)wxPoint_Get(arg1
);
4741 wxPyEndAllowThreads(__tstate
);
4742 if (PyErr_Occurred()) SWIG_fail
;
4751 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4754 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4756 return Py_BuildValue((char *)"");
4758 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4759 PyObject
*resultobj
;
4760 int arg1
= (int) 0 ;
4761 int arg2
= (int) 0 ;
4762 int arg3
= (int) 0 ;
4763 int arg4
= (int) 0 ;
4765 PyObject
* obj0
= 0 ;
4766 PyObject
* obj1
= 0 ;
4767 PyObject
* obj2
= 0 ;
4768 PyObject
* obj3
= 0 ;
4770 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4776 arg1
= (int)(SWIG_As_int(obj0
));
4777 if (SWIG_arg_fail(1)) SWIG_fail
;
4782 arg2
= (int)(SWIG_As_int(obj1
));
4783 if (SWIG_arg_fail(2)) SWIG_fail
;
4788 arg3
= (int)(SWIG_As_int(obj2
));
4789 if (SWIG_arg_fail(3)) SWIG_fail
;
4794 arg4
= (int)(SWIG_As_int(obj3
));
4795 if (SWIG_arg_fail(4)) SWIG_fail
;
4799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4800 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4802 wxPyEndAllowThreads(__tstate
);
4803 if (PyErr_Occurred()) SWIG_fail
;
4805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4812 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4813 PyObject
*resultobj
;
4819 PyObject
* obj0
= 0 ;
4820 PyObject
* obj1
= 0 ;
4822 (char *) "topLeft",(char *) "bottomRight", NULL
4825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4828 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4832 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4836 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4838 wxPyEndAllowThreads(__tstate
);
4839 if (PyErr_Occurred()) SWIG_fail
;
4841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4848 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4849 PyObject
*resultobj
;
4855 PyObject
* obj0
= 0 ;
4856 PyObject
* obj1
= 0 ;
4858 (char *) "pos",(char *) "size", NULL
4861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4864 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4868 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4872 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4874 wxPyEndAllowThreads(__tstate
);
4875 if (PyErr_Occurred()) SWIG_fail
;
4877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4884 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4885 PyObject
*resultobj
;
4889 PyObject
* obj0
= 0 ;
4891 (char *) "size", NULL
4894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4897 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4901 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4903 wxPyEndAllowThreads(__tstate
);
4904 if (PyErr_Occurred()) SWIG_fail
;
4906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4913 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4914 PyObject
*resultobj
;
4915 wxRect
*arg1
= (wxRect
*) 0 ;
4916 PyObject
* obj0
= 0 ;
4918 (char *) "self", NULL
4921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4923 if (SWIG_arg_fail(1)) SWIG_fail
;
4925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4928 wxPyEndAllowThreads(__tstate
);
4929 if (PyErr_Occurred()) SWIG_fail
;
4931 Py_INCREF(Py_None
); resultobj
= Py_None
;
4938 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4939 PyObject
*resultobj
;
4940 wxRect
*arg1
= (wxRect
*) 0 ;
4942 PyObject
* obj0
= 0 ;
4944 (char *) "self", NULL
4947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
4948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4949 if (SWIG_arg_fail(1)) SWIG_fail
;
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 result
= (int)((wxRect
const *)arg1
)->GetX();
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4958 resultobj
= SWIG_From_int((int)(result
));
4966 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4967 PyObject
*resultobj
;
4968 wxRect
*arg1
= (wxRect
*) 0 ;
4970 PyObject
* obj0
= 0 ;
4971 PyObject
* obj1
= 0 ;
4973 (char *) "self",(char *) "x", NULL
4976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
4977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4978 if (SWIG_arg_fail(1)) SWIG_fail
;
4980 arg2
= (int)(SWIG_As_int(obj1
));
4981 if (SWIG_arg_fail(2)) SWIG_fail
;
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4990 Py_INCREF(Py_None
); resultobj
= Py_None
;
4997 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4998 PyObject
*resultobj
;
4999 wxRect
*arg1
= (wxRect
*) 0 ;
5001 PyObject
* obj0
= 0 ;
5003 (char *) "self", NULL
5006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
5007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5008 if (SWIG_arg_fail(1)) SWIG_fail
;
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5011 result
= (int)(arg1
)->GetY();
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5017 resultobj
= SWIG_From_int((int)(result
));
5025 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
*resultobj
;
5027 wxRect
*arg1
= (wxRect
*) 0 ;
5029 PyObject
* obj0
= 0 ;
5030 PyObject
* obj1
= 0 ;
5032 (char *) "self",(char *) "y", NULL
5035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5037 if (SWIG_arg_fail(1)) SWIG_fail
;
5039 arg2
= (int)(SWIG_As_int(obj1
));
5040 if (SWIG_arg_fail(2)) SWIG_fail
;
5043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5046 wxPyEndAllowThreads(__tstate
);
5047 if (PyErr_Occurred()) SWIG_fail
;
5049 Py_INCREF(Py_None
); resultobj
= Py_None
;
5056 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5057 PyObject
*resultobj
;
5058 wxRect
*arg1
= (wxRect
*) 0 ;
5060 PyObject
* obj0
= 0 ;
5062 (char *) "self", NULL
5065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5067 if (SWIG_arg_fail(1)) SWIG_fail
;
5069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5070 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5072 wxPyEndAllowThreads(__tstate
);
5073 if (PyErr_Occurred()) SWIG_fail
;
5076 resultobj
= SWIG_From_int((int)(result
));
5084 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5085 PyObject
*resultobj
;
5086 wxRect
*arg1
= (wxRect
*) 0 ;
5088 PyObject
* obj0
= 0 ;
5089 PyObject
* obj1
= 0 ;
5091 (char *) "self",(char *) "w", NULL
5094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5096 if (SWIG_arg_fail(1)) SWIG_fail
;
5098 arg2
= (int)(SWIG_As_int(obj1
));
5099 if (SWIG_arg_fail(2)) SWIG_fail
;
5102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5103 (arg1
)->SetWidth(arg2
);
5105 wxPyEndAllowThreads(__tstate
);
5106 if (PyErr_Occurred()) SWIG_fail
;
5108 Py_INCREF(Py_None
); resultobj
= Py_None
;
5115 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5116 PyObject
*resultobj
;
5117 wxRect
*arg1
= (wxRect
*) 0 ;
5119 PyObject
* obj0
= 0 ;
5121 (char *) "self", NULL
5124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5126 if (SWIG_arg_fail(1)) SWIG_fail
;
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5129 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5131 wxPyEndAllowThreads(__tstate
);
5132 if (PyErr_Occurred()) SWIG_fail
;
5135 resultobj
= SWIG_From_int((int)(result
));
5143 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5144 PyObject
*resultobj
;
5145 wxRect
*arg1
= (wxRect
*) 0 ;
5147 PyObject
* obj0
= 0 ;
5148 PyObject
* obj1
= 0 ;
5150 (char *) "self",(char *) "h", NULL
5153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5155 if (SWIG_arg_fail(1)) SWIG_fail
;
5157 arg2
= (int)(SWIG_As_int(obj1
));
5158 if (SWIG_arg_fail(2)) SWIG_fail
;
5161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5162 (arg1
)->SetHeight(arg2
);
5164 wxPyEndAllowThreads(__tstate
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5167 Py_INCREF(Py_None
); resultobj
= Py_None
;
5174 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5175 PyObject
*resultobj
;
5176 wxRect
*arg1
= (wxRect
*) 0 ;
5178 PyObject
* obj0
= 0 ;
5180 (char *) "self", NULL
5183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5185 if (SWIG_arg_fail(1)) SWIG_fail
;
5187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5188 result
= ((wxRect
const *)arg1
)->GetPosition();
5190 wxPyEndAllowThreads(__tstate
);
5191 if (PyErr_Occurred()) SWIG_fail
;
5194 wxPoint
* resultptr
;
5195 resultptr
= new wxPoint((wxPoint
&)(result
));
5196 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5204 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
*resultobj
;
5206 wxRect
*arg1
= (wxRect
*) 0 ;
5209 PyObject
* obj0
= 0 ;
5210 PyObject
* obj1
= 0 ;
5212 (char *) "self",(char *) "p", NULL
5215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5217 if (SWIG_arg_fail(1)) SWIG_fail
;
5220 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5224 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5226 wxPyEndAllowThreads(__tstate
);
5227 if (PyErr_Occurred()) SWIG_fail
;
5229 Py_INCREF(Py_None
); resultobj
= Py_None
;
5236 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5237 PyObject
*resultobj
;
5238 wxRect
*arg1
= (wxRect
*) 0 ;
5240 PyObject
* obj0
= 0 ;
5242 (char *) "self", NULL
5245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5247 if (SWIG_arg_fail(1)) SWIG_fail
;
5249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5250 result
= ((wxRect
const *)arg1
)->GetSize();
5252 wxPyEndAllowThreads(__tstate
);
5253 if (PyErr_Occurred()) SWIG_fail
;
5257 resultptr
= new wxSize((wxSize
&)(result
));
5258 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5266 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5267 PyObject
*resultobj
;
5268 wxRect
*arg1
= (wxRect
*) 0 ;
5271 PyObject
* obj0
= 0 ;
5272 PyObject
* obj1
= 0 ;
5274 (char *) "self",(char *) "s", NULL
5277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5279 if (SWIG_arg_fail(1)) SWIG_fail
;
5282 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5286 (arg1
)->SetSize((wxSize
const &)*arg2
);
5288 wxPyEndAllowThreads(__tstate
);
5289 if (PyErr_Occurred()) SWIG_fail
;
5291 Py_INCREF(Py_None
); resultobj
= Py_None
;
5298 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5299 PyObject
*resultobj
;
5300 wxRect
*arg1
= (wxRect
*) 0 ;
5302 PyObject
* obj0
= 0 ;
5304 (char *) "self", NULL
5307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5309 if (SWIG_arg_fail(1)) SWIG_fail
;
5311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5312 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5314 wxPyEndAllowThreads(__tstate
);
5315 if (PyErr_Occurred()) SWIG_fail
;
5318 wxPoint
* resultptr
;
5319 resultptr
= new wxPoint((wxPoint
&)(result
));
5320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5328 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5329 PyObject
*resultobj
;
5330 wxRect
*arg1
= (wxRect
*) 0 ;
5333 PyObject
* obj0
= 0 ;
5334 PyObject
* obj1
= 0 ;
5336 (char *) "self",(char *) "p", NULL
5339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5341 if (SWIG_arg_fail(1)) SWIG_fail
;
5344 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5348 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5350 wxPyEndAllowThreads(__tstate
);
5351 if (PyErr_Occurred()) SWIG_fail
;
5353 Py_INCREF(Py_None
); resultobj
= Py_None
;
5360 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5361 PyObject
*resultobj
;
5362 wxRect
*arg1
= (wxRect
*) 0 ;
5364 PyObject
* obj0
= 0 ;
5366 (char *) "self", NULL
5369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5371 if (SWIG_arg_fail(1)) SWIG_fail
;
5373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5374 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5376 wxPyEndAllowThreads(__tstate
);
5377 if (PyErr_Occurred()) SWIG_fail
;
5380 wxPoint
* resultptr
;
5381 resultptr
= new wxPoint((wxPoint
&)(result
));
5382 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5390 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5391 PyObject
*resultobj
;
5392 wxRect
*arg1
= (wxRect
*) 0 ;
5395 PyObject
* obj0
= 0 ;
5396 PyObject
* obj1
= 0 ;
5398 (char *) "self",(char *) "p", NULL
5401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5403 if (SWIG_arg_fail(1)) SWIG_fail
;
5406 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5410 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5412 wxPyEndAllowThreads(__tstate
);
5413 if (PyErr_Occurred()) SWIG_fail
;
5415 Py_INCREF(Py_None
); resultobj
= Py_None
;
5422 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5423 PyObject
*resultobj
;
5424 wxRect
*arg1
= (wxRect
*) 0 ;
5426 PyObject
* obj0
= 0 ;
5428 (char *) "self", NULL
5431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5433 if (SWIG_arg_fail(1)) SWIG_fail
;
5435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5436 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5438 wxPyEndAllowThreads(__tstate
);
5439 if (PyErr_Occurred()) SWIG_fail
;
5442 resultobj
= SWIG_From_int((int)(result
));
5450 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5451 PyObject
*resultobj
;
5452 wxRect
*arg1
= (wxRect
*) 0 ;
5454 PyObject
* obj0
= 0 ;
5456 (char *) "self", NULL
5459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5461 if (SWIG_arg_fail(1)) SWIG_fail
;
5463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5464 result
= (int)((wxRect
const *)arg1
)->GetTop();
5466 wxPyEndAllowThreads(__tstate
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5470 resultobj
= SWIG_From_int((int)(result
));
5478 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5479 PyObject
*resultobj
;
5480 wxRect
*arg1
= (wxRect
*) 0 ;
5482 PyObject
* obj0
= 0 ;
5484 (char *) "self", NULL
5487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5489 if (SWIG_arg_fail(1)) SWIG_fail
;
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5498 resultobj
= SWIG_From_int((int)(result
));
5506 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5507 PyObject
*resultobj
;
5508 wxRect
*arg1
= (wxRect
*) 0 ;
5510 PyObject
* obj0
= 0 ;
5512 (char *) "self", NULL
5515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5517 if (SWIG_arg_fail(1)) SWIG_fail
;
5519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5520 result
= (int)((wxRect
const *)arg1
)->GetRight();
5522 wxPyEndAllowThreads(__tstate
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5526 resultobj
= SWIG_From_int((int)(result
));
5534 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5535 PyObject
*resultobj
;
5536 wxRect
*arg1
= (wxRect
*) 0 ;
5538 PyObject
* obj0
= 0 ;
5539 PyObject
* obj1
= 0 ;
5541 (char *) "self",(char *) "left", NULL
5544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5546 if (SWIG_arg_fail(1)) SWIG_fail
;
5548 arg2
= (int)(SWIG_As_int(obj1
));
5549 if (SWIG_arg_fail(2)) SWIG_fail
;
5552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5553 (arg1
)->SetLeft(arg2
);
5555 wxPyEndAllowThreads(__tstate
);
5556 if (PyErr_Occurred()) SWIG_fail
;
5558 Py_INCREF(Py_None
); resultobj
= Py_None
;
5565 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5566 PyObject
*resultobj
;
5567 wxRect
*arg1
= (wxRect
*) 0 ;
5569 PyObject
* obj0
= 0 ;
5570 PyObject
* obj1
= 0 ;
5572 (char *) "self",(char *) "right", NULL
5575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5577 if (SWIG_arg_fail(1)) SWIG_fail
;
5579 arg2
= (int)(SWIG_As_int(obj1
));
5580 if (SWIG_arg_fail(2)) SWIG_fail
;
5583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5584 (arg1
)->SetRight(arg2
);
5586 wxPyEndAllowThreads(__tstate
);
5587 if (PyErr_Occurred()) SWIG_fail
;
5589 Py_INCREF(Py_None
); resultobj
= Py_None
;
5596 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5597 PyObject
*resultobj
;
5598 wxRect
*arg1
= (wxRect
*) 0 ;
5600 PyObject
* obj0
= 0 ;
5601 PyObject
* obj1
= 0 ;
5603 (char *) "self",(char *) "top", NULL
5606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5608 if (SWIG_arg_fail(1)) SWIG_fail
;
5610 arg2
= (int)(SWIG_As_int(obj1
));
5611 if (SWIG_arg_fail(2)) SWIG_fail
;
5614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5615 (arg1
)->SetTop(arg2
);
5617 wxPyEndAllowThreads(__tstate
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5620 Py_INCREF(Py_None
); resultobj
= Py_None
;
5627 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5628 PyObject
*resultobj
;
5629 wxRect
*arg1
= (wxRect
*) 0 ;
5631 PyObject
* obj0
= 0 ;
5632 PyObject
* obj1
= 0 ;
5634 (char *) "self",(char *) "bottom", NULL
5637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5639 if (SWIG_arg_fail(1)) SWIG_fail
;
5641 arg2
= (int)(SWIG_As_int(obj1
));
5642 if (SWIG_arg_fail(2)) SWIG_fail
;
5645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5646 (arg1
)->SetBottom(arg2
);
5648 wxPyEndAllowThreads(__tstate
);
5649 if (PyErr_Occurred()) SWIG_fail
;
5651 Py_INCREF(Py_None
); resultobj
= Py_None
;
5658 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5659 PyObject
*resultobj
;
5660 wxRect
*arg1
= (wxRect
*) 0 ;
5664 PyObject
* obj0
= 0 ;
5665 PyObject
* obj1
= 0 ;
5666 PyObject
* obj2
= 0 ;
5668 (char *) "self",(char *) "dx",(char *) "dy", NULL
5671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5673 if (SWIG_arg_fail(1)) SWIG_fail
;
5675 arg2
= (int)(SWIG_As_int(obj1
));
5676 if (SWIG_arg_fail(2)) SWIG_fail
;
5679 arg3
= (int)(SWIG_As_int(obj2
));
5680 if (SWIG_arg_fail(3)) SWIG_fail
;
5683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5685 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5686 result
= (wxRect
*) &_result_ref
;
5689 wxPyEndAllowThreads(__tstate
);
5690 if (PyErr_Occurred()) SWIG_fail
;
5692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5699 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5700 PyObject
*resultobj
;
5701 wxRect
*arg1
= (wxRect
*) 0 ;
5705 PyObject
* obj0
= 0 ;
5706 PyObject
* obj1
= 0 ;
5707 PyObject
* obj2
= 0 ;
5709 (char *) "self",(char *) "dx",(char *) "dy", NULL
5712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5714 if (SWIG_arg_fail(1)) SWIG_fail
;
5716 arg2
= (int)(SWIG_As_int(obj1
));
5717 if (SWIG_arg_fail(2)) SWIG_fail
;
5720 arg3
= (int)(SWIG_As_int(obj2
));
5721 if (SWIG_arg_fail(3)) SWIG_fail
;
5724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5726 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5727 result
= (wxRect
*) &_result_ref
;
5730 wxPyEndAllowThreads(__tstate
);
5731 if (PyErr_Occurred()) SWIG_fail
;
5733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5740 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5741 PyObject
*resultobj
;
5742 wxRect
*arg1
= (wxRect
*) 0 ;
5745 PyObject
* obj0
= 0 ;
5746 PyObject
* obj1
= 0 ;
5747 PyObject
* obj2
= 0 ;
5749 (char *) "self",(char *) "dx",(char *) "dy", NULL
5752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5754 if (SWIG_arg_fail(1)) SWIG_fail
;
5756 arg2
= (int)(SWIG_As_int(obj1
));
5757 if (SWIG_arg_fail(2)) SWIG_fail
;
5760 arg3
= (int)(SWIG_As_int(obj2
));
5761 if (SWIG_arg_fail(3)) SWIG_fail
;
5764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5765 (arg1
)->Offset(arg2
,arg3
);
5767 wxPyEndAllowThreads(__tstate
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5770 Py_INCREF(Py_None
); resultobj
= Py_None
;
5777 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
*resultobj
;
5779 wxRect
*arg1
= (wxRect
*) 0 ;
5782 PyObject
* obj0
= 0 ;
5783 PyObject
* obj1
= 0 ;
5785 (char *) "self",(char *) "pt", NULL
5788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5790 if (SWIG_arg_fail(1)) SWIG_fail
;
5793 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5797 (arg1
)->Offset((wxPoint
const &)*arg2
);
5799 wxPyEndAllowThreads(__tstate
);
5800 if (PyErr_Occurred()) SWIG_fail
;
5802 Py_INCREF(Py_None
); resultobj
= Py_None
;
5809 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5810 PyObject
*resultobj
;
5811 wxRect
*arg1
= (wxRect
*) 0 ;
5815 PyObject
* obj0
= 0 ;
5816 PyObject
* obj1
= 0 ;
5818 (char *) "self",(char *) "rect", NULL
5821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5823 if (SWIG_arg_fail(1)) SWIG_fail
;
5826 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5830 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5832 wxPyEndAllowThreads(__tstate
);
5833 if (PyErr_Occurred()) SWIG_fail
;
5837 resultptr
= new wxRect((wxRect
&)(result
));
5838 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5846 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5847 PyObject
*resultobj
;
5848 wxRect
*arg1
= (wxRect
*) 0 ;
5852 PyObject
* obj0
= 0 ;
5853 PyObject
* obj1
= 0 ;
5855 (char *) "self",(char *) "rect", NULL
5858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5860 if (SWIG_arg_fail(1)) SWIG_fail
;
5863 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5867 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5869 wxPyEndAllowThreads(__tstate
);
5870 if (PyErr_Occurred()) SWIG_fail
;
5874 resultptr
= new wxRect((wxRect
&)(result
));
5875 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5883 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5884 PyObject
*resultobj
;
5885 wxRect
*arg1
= (wxRect
*) 0 ;
5889 PyObject
* obj0
= 0 ;
5890 PyObject
* obj1
= 0 ;
5892 (char *) "self",(char *) "rect", NULL
5895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5897 if (SWIG_arg_fail(1)) SWIG_fail
;
5900 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5904 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5906 wxPyEndAllowThreads(__tstate
);
5907 if (PyErr_Occurred()) SWIG_fail
;
5911 resultptr
= new wxRect((wxRect
&)(result
));
5912 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5920 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5921 PyObject
*resultobj
;
5922 wxRect
*arg1
= (wxRect
*) 0 ;
5926 PyObject
* obj0
= 0 ;
5927 PyObject
* obj1
= 0 ;
5929 (char *) "self",(char *) "rect", NULL
5932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5934 if (SWIG_arg_fail(1)) SWIG_fail
;
5937 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5942 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5943 result
= (wxRect
*) &_result_ref
;
5946 wxPyEndAllowThreads(__tstate
);
5947 if (PyErr_Occurred()) SWIG_fail
;
5949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
5956 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
*resultobj
;
5958 wxRect
*arg1
= (wxRect
*) 0 ;
5962 PyObject
* obj0
= 0 ;
5963 PyObject
* obj1
= 0 ;
5965 (char *) "self",(char *) "rect", NULL
5968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5970 if (SWIG_arg_fail(1)) SWIG_fail
;
5973 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5977 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
5979 wxPyEndAllowThreads(__tstate
);
5980 if (PyErr_Occurred()) SWIG_fail
;
5983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5991 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5992 PyObject
*resultobj
;
5993 wxRect
*arg1
= (wxRect
*) 0 ;
5997 PyObject
* obj0
= 0 ;
5998 PyObject
* obj1
= 0 ;
6000 (char *) "self",(char *) "rect", NULL
6003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
6004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6005 if (SWIG_arg_fail(1)) SWIG_fail
;
6008 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6012 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
6014 wxPyEndAllowThreads(__tstate
);
6015 if (PyErr_Occurred()) SWIG_fail
;
6018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6026 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6027 PyObject
*resultobj
;
6028 wxRect
*arg1
= (wxRect
*) 0 ;
6032 PyObject
* obj0
= 0 ;
6033 PyObject
* obj1
= 0 ;
6034 PyObject
* obj2
= 0 ;
6036 (char *) "self",(char *) "x",(char *) "y", NULL
6039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6041 if (SWIG_arg_fail(1)) SWIG_fail
;
6043 arg2
= (int)(SWIG_As_int(obj1
));
6044 if (SWIG_arg_fail(2)) SWIG_fail
;
6047 arg3
= (int)(SWIG_As_int(obj2
));
6048 if (SWIG_arg_fail(3)) SWIG_fail
;
6051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6052 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6054 wxPyEndAllowThreads(__tstate
);
6055 if (PyErr_Occurred()) SWIG_fail
;
6058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6066 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6067 PyObject
*resultobj
;
6068 wxRect
*arg1
= (wxRect
*) 0 ;
6072 PyObject
* obj0
= 0 ;
6073 PyObject
* obj1
= 0 ;
6075 (char *) "self",(char *) "pt", NULL
6078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6080 if (SWIG_arg_fail(1)) SWIG_fail
;
6083 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6087 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6089 wxPyEndAllowThreads(__tstate
);
6090 if (PyErr_Occurred()) SWIG_fail
;
6093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6101 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6102 PyObject
*resultobj
;
6103 wxRect
*arg1
= (wxRect
*) 0 ;
6107 PyObject
* obj0
= 0 ;
6108 PyObject
* obj1
= 0 ;
6110 (char *) "self",(char *) "rect", NULL
6113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6115 if (SWIG_arg_fail(1)) SWIG_fail
;
6118 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6122 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6124 wxPyEndAllowThreads(__tstate
);
6125 if (PyErr_Occurred()) SWIG_fail
;
6128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6136 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6137 PyObject
*resultobj
;
6138 wxRect
*arg1
= (wxRect
*) 0 ;
6140 PyObject
* obj0
= 0 ;
6141 PyObject
* obj1
= 0 ;
6143 (char *) "self",(char *) "x", NULL
6146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6148 if (SWIG_arg_fail(1)) SWIG_fail
;
6150 arg2
= (int)(SWIG_As_int(obj1
));
6151 if (SWIG_arg_fail(2)) SWIG_fail
;
6153 if (arg1
) (arg1
)->x
= arg2
;
6155 Py_INCREF(Py_None
); resultobj
= Py_None
;
6162 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6163 PyObject
*resultobj
;
6164 wxRect
*arg1
= (wxRect
*) 0 ;
6166 PyObject
* obj0
= 0 ;
6168 (char *) "self", NULL
6171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6173 if (SWIG_arg_fail(1)) SWIG_fail
;
6174 result
= (int) ((arg1
)->x
);
6177 resultobj
= SWIG_From_int((int)(result
));
6185 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6186 PyObject
*resultobj
;
6187 wxRect
*arg1
= (wxRect
*) 0 ;
6189 PyObject
* obj0
= 0 ;
6190 PyObject
* obj1
= 0 ;
6192 (char *) "self",(char *) "y", NULL
6195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6197 if (SWIG_arg_fail(1)) SWIG_fail
;
6199 arg2
= (int)(SWIG_As_int(obj1
));
6200 if (SWIG_arg_fail(2)) SWIG_fail
;
6202 if (arg1
) (arg1
)->y
= arg2
;
6204 Py_INCREF(Py_None
); resultobj
= Py_None
;
6211 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6212 PyObject
*resultobj
;
6213 wxRect
*arg1
= (wxRect
*) 0 ;
6215 PyObject
* obj0
= 0 ;
6217 (char *) "self", NULL
6220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6222 if (SWIG_arg_fail(1)) SWIG_fail
;
6223 result
= (int) ((arg1
)->y
);
6226 resultobj
= SWIG_From_int((int)(result
));
6234 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6235 PyObject
*resultobj
;
6236 wxRect
*arg1
= (wxRect
*) 0 ;
6238 PyObject
* obj0
= 0 ;
6239 PyObject
* obj1
= 0 ;
6241 (char *) "self",(char *) "width", NULL
6244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6246 if (SWIG_arg_fail(1)) SWIG_fail
;
6248 arg2
= (int)(SWIG_As_int(obj1
));
6249 if (SWIG_arg_fail(2)) SWIG_fail
;
6251 if (arg1
) (arg1
)->width
= arg2
;
6253 Py_INCREF(Py_None
); resultobj
= Py_None
;
6260 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
*resultobj
;
6262 wxRect
*arg1
= (wxRect
*) 0 ;
6264 PyObject
* obj0
= 0 ;
6266 (char *) "self", NULL
6269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6271 if (SWIG_arg_fail(1)) SWIG_fail
;
6272 result
= (int) ((arg1
)->width
);
6275 resultobj
= SWIG_From_int((int)(result
));
6283 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6284 PyObject
*resultobj
;
6285 wxRect
*arg1
= (wxRect
*) 0 ;
6287 PyObject
* obj0
= 0 ;
6288 PyObject
* obj1
= 0 ;
6290 (char *) "self",(char *) "height", NULL
6293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6295 if (SWIG_arg_fail(1)) SWIG_fail
;
6297 arg2
= (int)(SWIG_As_int(obj1
));
6298 if (SWIG_arg_fail(2)) SWIG_fail
;
6300 if (arg1
) (arg1
)->height
= arg2
;
6302 Py_INCREF(Py_None
); resultobj
= Py_None
;
6309 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6310 PyObject
*resultobj
;
6311 wxRect
*arg1
= (wxRect
*) 0 ;
6313 PyObject
* obj0
= 0 ;
6315 (char *) "self", NULL
6318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6320 if (SWIG_arg_fail(1)) SWIG_fail
;
6321 result
= (int) ((arg1
)->height
);
6324 resultobj
= SWIG_From_int((int)(result
));
6332 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6333 PyObject
*resultobj
;
6334 wxRect
*arg1
= (wxRect
*) 0 ;
6335 int arg2
= (int) 0 ;
6336 int arg3
= (int) 0 ;
6337 int arg4
= (int) 0 ;
6338 int arg5
= (int) 0 ;
6339 PyObject
* obj0
= 0 ;
6340 PyObject
* obj1
= 0 ;
6341 PyObject
* obj2
= 0 ;
6342 PyObject
* obj3
= 0 ;
6343 PyObject
* obj4
= 0 ;
6345 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6350 if (SWIG_arg_fail(1)) SWIG_fail
;
6353 arg2
= (int)(SWIG_As_int(obj1
));
6354 if (SWIG_arg_fail(2)) SWIG_fail
;
6359 arg3
= (int)(SWIG_As_int(obj2
));
6360 if (SWIG_arg_fail(3)) SWIG_fail
;
6365 arg4
= (int)(SWIG_As_int(obj3
));
6366 if (SWIG_arg_fail(4)) SWIG_fail
;
6371 arg5
= (int)(SWIG_As_int(obj4
));
6372 if (SWIG_arg_fail(5)) SWIG_fail
;
6376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6377 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6379 wxPyEndAllowThreads(__tstate
);
6380 if (PyErr_Occurred()) SWIG_fail
;
6382 Py_INCREF(Py_None
); resultobj
= Py_None
;
6389 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
*resultobj
;
6391 wxRect
*arg1
= (wxRect
*) 0 ;
6393 PyObject
* obj0
= 0 ;
6395 (char *) "self", NULL
6398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6400 if (SWIG_arg_fail(1)) SWIG_fail
;
6402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6403 result
= (PyObject
*)wxRect_Get(arg1
);
6405 wxPyEndAllowThreads(__tstate
);
6406 if (PyErr_Occurred()) SWIG_fail
;
6415 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6417 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6418 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6420 return Py_BuildValue((char *)"");
6422 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6423 PyObject
*resultobj
;
6424 wxRect
*arg1
= (wxRect
*) 0 ;
6425 wxRect
*arg2
= (wxRect
*) 0 ;
6427 PyObject
* obj0
= 0 ;
6428 PyObject
* obj1
= 0 ;
6430 (char *) "r1",(char *) "r2", NULL
6433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6435 if (SWIG_arg_fail(1)) SWIG_fail
;
6436 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6437 if (SWIG_arg_fail(2)) SWIG_fail
;
6439 if (!wxPyCheckForApp()) SWIG_fail
;
6440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6441 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6443 wxPyEndAllowThreads(__tstate
);
6444 if (PyErr_Occurred()) SWIG_fail
;
6453 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6454 PyObject
*resultobj
;
6455 double arg1
= (double) 0.0 ;
6456 double arg2
= (double) 0.0 ;
6458 PyObject
* obj0
= 0 ;
6459 PyObject
* obj1
= 0 ;
6461 (char *) "x",(char *) "y", NULL
6464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6467 arg1
= (double)(SWIG_As_double(obj0
));
6468 if (SWIG_arg_fail(1)) SWIG_fail
;
6473 arg2
= (double)(SWIG_As_double(obj1
));
6474 if (SWIG_arg_fail(2)) SWIG_fail
;
6478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6479 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6481 wxPyEndAllowThreads(__tstate
);
6482 if (PyErr_Occurred()) SWIG_fail
;
6484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6491 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6492 PyObject
*resultobj
;
6493 wxPoint2D
*arg1
= 0 ;
6496 PyObject
* obj0
= 0 ;
6501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6504 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6508 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6510 wxPyEndAllowThreads(__tstate
);
6511 if (PyErr_Occurred()) SWIG_fail
;
6513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6520 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6521 PyObject
*resultobj
;
6525 PyObject
* obj0
= 0 ;
6530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6533 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6537 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6539 wxPyEndAllowThreads(__tstate
);
6540 if (PyErr_Occurred()) SWIG_fail
;
6542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6549 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6550 PyObject
*resultobj
;
6551 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6552 int *arg2
= (int *) 0 ;
6553 int *arg3
= (int *) 0 ;
6558 PyObject
* obj0
= 0 ;
6560 (char *) "self", NULL
6563 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6564 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6567 if (SWIG_arg_fail(1)) SWIG_fail
;
6569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6570 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6572 wxPyEndAllowThreads(__tstate
);
6573 if (PyErr_Occurred()) SWIG_fail
;
6575 Py_INCREF(Py_None
); resultobj
= Py_None
;
6576 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6577 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6578 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6579 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6586 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6587 PyObject
*resultobj
;
6588 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6589 int *arg2
= (int *) 0 ;
6590 int *arg3
= (int *) 0 ;
6595 PyObject
* obj0
= 0 ;
6597 (char *) "self", NULL
6600 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6601 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6604 if (SWIG_arg_fail(1)) SWIG_fail
;
6606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6607 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6609 wxPyEndAllowThreads(__tstate
);
6610 if (PyErr_Occurred()) SWIG_fail
;
6612 Py_INCREF(Py_None
); resultobj
= Py_None
;
6613 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6614 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6615 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6616 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6623 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6624 PyObject
*resultobj
;
6625 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6627 PyObject
* obj0
= 0 ;
6629 (char *) "self", NULL
6632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6634 if (SWIG_arg_fail(1)) SWIG_fail
;
6636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6637 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6639 wxPyEndAllowThreads(__tstate
);
6640 if (PyErr_Occurred()) SWIG_fail
;
6643 resultobj
= SWIG_From_double((double)(result
));
6651 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6652 PyObject
*resultobj
;
6653 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6655 PyObject
* obj0
= 0 ;
6657 (char *) "self", NULL
6660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6662 if (SWIG_arg_fail(1)) SWIG_fail
;
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) SWIG_fail
;
6671 resultobj
= SWIG_From_double((double)(result
));
6679 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6680 PyObject
*resultobj
;
6681 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6683 PyObject
* obj0
= 0 ;
6684 PyObject
* obj1
= 0 ;
6686 (char *) "self",(char *) "length", NULL
6689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6691 if (SWIG_arg_fail(1)) SWIG_fail
;
6693 arg2
= (double)(SWIG_As_double(obj1
));
6694 if (SWIG_arg_fail(2)) SWIG_fail
;
6697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6698 (arg1
)->SetVectorLength(arg2
);
6700 wxPyEndAllowThreads(__tstate
);
6701 if (PyErr_Occurred()) SWIG_fail
;
6703 Py_INCREF(Py_None
); resultobj
= Py_None
;
6710 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6711 PyObject
*resultobj
;
6712 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6714 PyObject
* obj0
= 0 ;
6715 PyObject
* obj1
= 0 ;
6717 (char *) "self",(char *) "degrees", NULL
6720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6722 if (SWIG_arg_fail(1)) SWIG_fail
;
6724 arg2
= (double)(SWIG_As_double(obj1
));
6725 if (SWIG_arg_fail(2)) SWIG_fail
;
6728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6729 (arg1
)->SetVectorAngle(arg2
);
6731 wxPyEndAllowThreads(__tstate
);
6732 if (PyErr_Occurred()) SWIG_fail
;
6734 Py_INCREF(Py_None
); resultobj
= Py_None
;
6741 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6742 PyObject
*resultobj
;
6743 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6744 wxPoint2D
*arg2
= 0 ;
6747 PyObject
* obj0
= 0 ;
6748 PyObject
* obj1
= 0 ;
6750 (char *) "self",(char *) "pt", NULL
6753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6755 if (SWIG_arg_fail(1)) SWIG_fail
;
6758 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6762 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6764 wxPyEndAllowThreads(__tstate
);
6765 if (PyErr_Occurred()) SWIG_fail
;
6768 resultobj
= SWIG_From_double((double)(result
));
6776 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6777 PyObject
*resultobj
;
6778 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6779 wxPoint2D
*arg2
= 0 ;
6782 PyObject
* obj0
= 0 ;
6783 PyObject
* obj1
= 0 ;
6785 (char *) "self",(char *) "pt", NULL
6788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6790 if (SWIG_arg_fail(1)) SWIG_fail
;
6793 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6797 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6799 wxPyEndAllowThreads(__tstate
);
6800 if (PyErr_Occurred()) SWIG_fail
;
6803 resultobj
= SWIG_From_double((double)(result
));
6811 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6812 PyObject
*resultobj
;
6813 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6814 wxPoint2D
*arg2
= 0 ;
6817 PyObject
* obj0
= 0 ;
6818 PyObject
* obj1
= 0 ;
6820 (char *) "self",(char *) "vec", NULL
6823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6825 if (SWIG_arg_fail(1)) SWIG_fail
;
6828 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6832 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6834 wxPyEndAllowThreads(__tstate
);
6835 if (PyErr_Occurred()) SWIG_fail
;
6838 resultobj
= SWIG_From_double((double)(result
));
6846 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6847 PyObject
*resultobj
;
6848 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6849 wxPoint2D
*arg2
= 0 ;
6852 PyObject
* obj0
= 0 ;
6853 PyObject
* obj1
= 0 ;
6855 (char *) "self",(char *) "vec", NULL
6858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6860 if (SWIG_arg_fail(1)) SWIG_fail
;
6863 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6867 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6869 wxPyEndAllowThreads(__tstate
);
6870 if (PyErr_Occurred()) SWIG_fail
;
6873 resultobj
= SWIG_From_double((double)(result
));
6881 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6882 PyObject
*resultobj
;
6883 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6885 PyObject
* obj0
= 0 ;
6887 (char *) "self", NULL
6890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6892 if (SWIG_arg_fail(1)) SWIG_fail
;
6894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6895 result
= (arg1
)->operator -();
6897 wxPyEndAllowThreads(__tstate
);
6898 if (PyErr_Occurred()) SWIG_fail
;
6901 wxPoint2D
* resultptr
;
6902 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6903 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6911 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6912 PyObject
*resultobj
;
6913 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6914 wxPoint2D
*arg2
= 0 ;
6917 PyObject
* obj0
= 0 ;
6918 PyObject
* obj1
= 0 ;
6920 (char *) "self",(char *) "pt", NULL
6923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6925 if (SWIG_arg_fail(1)) SWIG_fail
;
6928 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6933 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6934 result
= (wxPoint2D
*) &_result_ref
;
6937 wxPyEndAllowThreads(__tstate
);
6938 if (PyErr_Occurred()) SWIG_fail
;
6940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6947 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6948 PyObject
*resultobj
;
6949 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6950 wxPoint2D
*arg2
= 0 ;
6953 PyObject
* obj0
= 0 ;
6954 PyObject
* obj1
= 0 ;
6956 (char *) "self",(char *) "pt", NULL
6959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
6960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6961 if (SWIG_arg_fail(1)) SWIG_fail
;
6964 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6969 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
6970 result
= (wxPoint2D
*) &_result_ref
;
6973 wxPyEndAllowThreads(__tstate
);
6974 if (PyErr_Occurred()) SWIG_fail
;
6976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6983 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6984 PyObject
*resultobj
;
6985 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6986 wxPoint2D
*arg2
= 0 ;
6989 PyObject
* obj0
= 0 ;
6990 PyObject
* obj1
= 0 ;
6992 (char *) "self",(char *) "pt", NULL
6995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
6996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6997 if (SWIG_arg_fail(1)) SWIG_fail
;
7000 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7005 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
7006 result
= (wxPoint2D
*) &_result_ref
;
7009 wxPyEndAllowThreads(__tstate
);
7010 if (PyErr_Occurred()) SWIG_fail
;
7012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7019 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7020 PyObject
*resultobj
;
7021 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7022 wxPoint2D
*arg2
= 0 ;
7025 PyObject
* obj0
= 0 ;
7026 PyObject
* obj1
= 0 ;
7028 (char *) "self",(char *) "pt", NULL
7031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7033 if (SWIG_arg_fail(1)) SWIG_fail
;
7036 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7041 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7042 result
= (wxPoint2D
*) &_result_ref
;
7045 wxPyEndAllowThreads(__tstate
);
7046 if (PyErr_Occurred()) SWIG_fail
;
7048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7055 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7056 PyObject
*resultobj
;
7057 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7058 wxPoint2D
*arg2
= 0 ;
7061 PyObject
* obj0
= 0 ;
7062 PyObject
* obj1
= 0 ;
7064 (char *) "self",(char *) "pt", NULL
7067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7069 if (SWIG_arg_fail(1)) SWIG_fail
;
7072 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7076 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7078 wxPyEndAllowThreads(__tstate
);
7079 if (PyErr_Occurred()) SWIG_fail
;
7082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7090 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7091 PyObject
*resultobj
;
7092 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7093 wxPoint2D
*arg2
= 0 ;
7096 PyObject
* obj0
= 0 ;
7097 PyObject
* obj1
= 0 ;
7099 (char *) "self",(char *) "pt", NULL
7102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7104 if (SWIG_arg_fail(1)) SWIG_fail
;
7107 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7111 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7113 wxPyEndAllowThreads(__tstate
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7125 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7126 PyObject
*resultobj
;
7127 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7129 PyObject
* obj0
= 0 ;
7130 PyObject
* obj1
= 0 ;
7132 (char *) "self",(char *) "m_x", NULL
7135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7137 if (SWIG_arg_fail(1)) SWIG_fail
;
7139 arg2
= (double)(SWIG_As_double(obj1
));
7140 if (SWIG_arg_fail(2)) SWIG_fail
;
7142 if (arg1
) (arg1
)->m_x
= arg2
;
7144 Py_INCREF(Py_None
); resultobj
= Py_None
;
7151 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7152 PyObject
*resultobj
;
7153 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7155 PyObject
* obj0
= 0 ;
7157 (char *) "self", NULL
7160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7162 if (SWIG_arg_fail(1)) SWIG_fail
;
7163 result
= (double) ((arg1
)->m_x
);
7166 resultobj
= SWIG_From_double((double)(result
));
7174 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7175 PyObject
*resultobj
;
7176 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7178 PyObject
* obj0
= 0 ;
7179 PyObject
* obj1
= 0 ;
7181 (char *) "self",(char *) "m_y", NULL
7184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7186 if (SWIG_arg_fail(1)) SWIG_fail
;
7188 arg2
= (double)(SWIG_As_double(obj1
));
7189 if (SWIG_arg_fail(2)) SWIG_fail
;
7191 if (arg1
) (arg1
)->m_y
= arg2
;
7193 Py_INCREF(Py_None
); resultobj
= Py_None
;
7200 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7201 PyObject
*resultobj
;
7202 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7204 PyObject
* obj0
= 0 ;
7206 (char *) "self", NULL
7209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7211 if (SWIG_arg_fail(1)) SWIG_fail
;
7212 result
= (double) ((arg1
)->m_y
);
7215 resultobj
= SWIG_From_double((double)(result
));
7223 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7224 PyObject
*resultobj
;
7225 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7226 double arg2
= (double) 0 ;
7227 double arg3
= (double) 0 ;
7228 PyObject
* obj0
= 0 ;
7229 PyObject
* obj1
= 0 ;
7230 PyObject
* obj2
= 0 ;
7232 (char *) "self",(char *) "x",(char *) "y", NULL
7235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7237 if (SWIG_arg_fail(1)) SWIG_fail
;
7240 arg2
= (double)(SWIG_As_double(obj1
));
7241 if (SWIG_arg_fail(2)) SWIG_fail
;
7246 arg3
= (double)(SWIG_As_double(obj2
));
7247 if (SWIG_arg_fail(3)) SWIG_fail
;
7251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7252 wxPoint2D_Set(arg1
,arg2
,arg3
);
7254 wxPyEndAllowThreads(__tstate
);
7255 if (PyErr_Occurred()) SWIG_fail
;
7257 Py_INCREF(Py_None
); resultobj
= Py_None
;
7264 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7265 PyObject
*resultobj
;
7266 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7268 PyObject
* obj0
= 0 ;
7270 (char *) "self", NULL
7273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7275 if (SWIG_arg_fail(1)) SWIG_fail
;
7277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7278 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7280 wxPyEndAllowThreads(__tstate
);
7281 if (PyErr_Occurred()) SWIG_fail
;
7290 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7292 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7293 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7295 return Py_BuildValue((char *)"");
7297 static int _wrap_DefaultPosition_set(PyObject
*) {
7298 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7303 static PyObject
*_wrap_DefaultPosition_get(void) {
7306 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7311 static int _wrap_DefaultSize_set(PyObject
*) {
7312 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7317 static PyObject
*_wrap_DefaultSize_get(void) {
7320 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7325 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7326 PyObject
*resultobj
;
7327 PyObject
*arg1
= (PyObject
*) 0 ;
7328 wxPyInputStream
*result
;
7329 PyObject
* obj0
= 0 ;
7334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7338 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7340 wxPyEndAllowThreads(__tstate
);
7341 if (PyErr_Occurred()) SWIG_fail
;
7343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7350 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7351 PyObject
*resultobj
;
7352 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7353 PyObject
* obj0
= 0 ;
7355 (char *) "self", NULL
7358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7360 if (SWIG_arg_fail(1)) SWIG_fail
;
7362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7365 wxPyEndAllowThreads(__tstate
);
7366 if (PyErr_Occurred()) SWIG_fail
;
7368 Py_INCREF(Py_None
); resultobj
= Py_None
;
7375 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7376 PyObject
*resultobj
;
7377 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7378 PyObject
* obj0
= 0 ;
7380 (char *) "self", NULL
7383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7385 if (SWIG_arg_fail(1)) SWIG_fail
;
7387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7390 wxPyEndAllowThreads(__tstate
);
7391 if (PyErr_Occurred()) SWIG_fail
;
7393 Py_INCREF(Py_None
); resultobj
= Py_None
;
7400 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7401 PyObject
*resultobj
;
7402 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7403 PyObject
* obj0
= 0 ;
7405 (char *) "self", NULL
7408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7410 if (SWIG_arg_fail(1)) SWIG_fail
;
7412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7415 wxPyEndAllowThreads(__tstate
);
7416 if (PyErr_Occurred()) SWIG_fail
;
7418 Py_INCREF(Py_None
); resultobj
= Py_None
;
7425 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7426 PyObject
*resultobj
;
7427 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7429 PyObject
* obj0
= 0 ;
7431 (char *) "self", NULL
7434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7436 if (SWIG_arg_fail(1)) SWIG_fail
;
7438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7439 result
= (bool)(arg1
)->eof();
7441 wxPyEndAllowThreads(__tstate
);
7442 if (PyErr_Occurred()) SWIG_fail
;
7445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7453 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
*resultobj
;
7455 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7456 int arg2
= (int) -1 ;
7458 PyObject
* obj0
= 0 ;
7459 PyObject
* obj1
= 0 ;
7461 (char *) "self",(char *) "size", NULL
7464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7466 if (SWIG_arg_fail(1)) SWIG_fail
;
7469 arg2
= (int)(SWIG_As_int(obj1
));
7470 if (SWIG_arg_fail(2)) SWIG_fail
;
7474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7475 result
= (PyObject
*)(arg1
)->read(arg2
);
7477 wxPyEndAllowThreads(__tstate
);
7478 if (PyErr_Occurred()) SWIG_fail
;
7487 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7488 PyObject
*resultobj
;
7489 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7490 int arg2
= (int) -1 ;
7492 PyObject
* obj0
= 0 ;
7493 PyObject
* obj1
= 0 ;
7495 (char *) "self",(char *) "size", NULL
7498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7500 if (SWIG_arg_fail(1)) SWIG_fail
;
7503 arg2
= (int)(SWIG_As_int(obj1
));
7504 if (SWIG_arg_fail(2)) SWIG_fail
;
7508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7509 result
= (PyObject
*)(arg1
)->readline(arg2
);
7511 wxPyEndAllowThreads(__tstate
);
7512 if (PyErr_Occurred()) SWIG_fail
;
7521 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7522 PyObject
*resultobj
;
7523 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7524 int arg2
= (int) -1 ;
7526 PyObject
* obj0
= 0 ;
7527 PyObject
* obj1
= 0 ;
7529 (char *) "self",(char *) "sizehint", NULL
7532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7534 if (SWIG_arg_fail(1)) SWIG_fail
;
7537 arg2
= (int)(SWIG_As_int(obj1
));
7538 if (SWIG_arg_fail(2)) SWIG_fail
;
7542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7543 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7545 wxPyEndAllowThreads(__tstate
);
7546 if (PyErr_Occurred()) SWIG_fail
;
7555 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7556 PyObject
*resultobj
;
7557 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7559 int arg3
= (int) 0 ;
7560 PyObject
* obj0
= 0 ;
7561 PyObject
* obj1
= 0 ;
7562 PyObject
* obj2
= 0 ;
7564 (char *) "self",(char *) "offset",(char *) "whence", NULL
7567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7569 if (SWIG_arg_fail(1)) SWIG_fail
;
7571 arg2
= (int)(SWIG_As_int(obj1
));
7572 if (SWIG_arg_fail(2)) SWIG_fail
;
7576 arg3
= (int)(SWIG_As_int(obj2
));
7577 if (SWIG_arg_fail(3)) SWIG_fail
;
7581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7582 (arg1
)->seek(arg2
,arg3
);
7584 wxPyEndAllowThreads(__tstate
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7587 Py_INCREF(Py_None
); resultobj
= Py_None
;
7594 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
*resultobj
;
7596 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7598 PyObject
* obj0
= 0 ;
7600 (char *) "self", NULL
7603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7605 if (SWIG_arg_fail(1)) SWIG_fail
;
7607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7608 result
= (int)(arg1
)->tell();
7610 wxPyEndAllowThreads(__tstate
);
7611 if (PyErr_Occurred()) SWIG_fail
;
7614 resultobj
= SWIG_From_int((int)(result
));
7622 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7623 PyObject
*resultobj
;
7624 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7626 PyObject
* obj0
= 0 ;
7628 (char *) "self", NULL
7631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7633 if (SWIG_arg_fail(1)) SWIG_fail
;
7635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7636 result
= (char)(arg1
)->Peek();
7638 wxPyEndAllowThreads(__tstate
);
7639 if (PyErr_Occurred()) SWIG_fail
;
7642 resultobj
= SWIG_From_char((char)(result
));
7650 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7651 PyObject
*resultobj
;
7652 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7654 PyObject
* obj0
= 0 ;
7656 (char *) "self", NULL
7659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7661 if (SWIG_arg_fail(1)) SWIG_fail
;
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 result
= (char)(arg1
)->GetC();
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7670 resultobj
= SWIG_From_char((char)(result
));
7678 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7679 PyObject
*resultobj
;
7680 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7682 PyObject
* obj0
= 0 ;
7684 (char *) "self", NULL
7687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7689 if (SWIG_arg_fail(1)) SWIG_fail
;
7691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7692 result
= (size_t)(arg1
)->LastRead();
7694 wxPyEndAllowThreads(__tstate
);
7695 if (PyErr_Occurred()) SWIG_fail
;
7698 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7706 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7707 PyObject
*resultobj
;
7708 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7710 PyObject
* obj0
= 0 ;
7712 (char *) "self", NULL
7715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7717 if (SWIG_arg_fail(1)) SWIG_fail
;
7719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7720 result
= (bool)(arg1
)->CanRead();
7722 wxPyEndAllowThreads(__tstate
);
7723 if (PyErr_Occurred()) SWIG_fail
;
7726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7734 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7735 PyObject
*resultobj
;
7736 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7738 PyObject
* obj0
= 0 ;
7740 (char *) "self", NULL
7743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7745 if (SWIG_arg_fail(1)) SWIG_fail
;
7747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7748 result
= (bool)(arg1
)->Eof();
7750 wxPyEndAllowThreads(__tstate
);
7751 if (PyErr_Occurred()) SWIG_fail
;
7754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7762 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7763 PyObject
*resultobj
;
7764 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7767 PyObject
* obj0
= 0 ;
7768 PyObject
* obj1
= 0 ;
7770 (char *) "self",(char *) "c", NULL
7773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7775 if (SWIG_arg_fail(1)) SWIG_fail
;
7777 arg2
= (char)(SWIG_As_char(obj1
));
7778 if (SWIG_arg_fail(2)) SWIG_fail
;
7781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7782 result
= (bool)(arg1
)->Ungetch(arg2
);
7784 wxPyEndAllowThreads(__tstate
);
7785 if (PyErr_Occurred()) SWIG_fail
;
7788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7796 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7797 PyObject
*resultobj
;
7798 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7800 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7802 PyObject
* obj0
= 0 ;
7803 PyObject
* obj1
= 0 ;
7804 PyObject
* obj2
= 0 ;
7806 (char *) "self",(char *) "pos",(char *) "mode", NULL
7809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= (long)(SWIG_As_long(obj1
));
7814 if (SWIG_arg_fail(2)) SWIG_fail
;
7818 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7819 if (SWIG_arg_fail(3)) SWIG_fail
;
7823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7824 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7826 wxPyEndAllowThreads(__tstate
);
7827 if (PyErr_Occurred()) SWIG_fail
;
7830 resultobj
= SWIG_From_long((long)(result
));
7838 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7839 PyObject
*resultobj
;
7840 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7842 PyObject
* obj0
= 0 ;
7844 (char *) "self", NULL
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7849 if (SWIG_arg_fail(1)) SWIG_fail
;
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 result
= (long)(arg1
)->TellI();
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7858 resultobj
= SWIG_From_long((long)(result
));
7866 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7869 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7871 return Py_BuildValue((char *)"");
7873 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7874 PyObject
*resultobj
;
7875 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7876 PyObject
*arg2
= (PyObject
*) 0 ;
7877 PyObject
* obj0
= 0 ;
7878 PyObject
* obj1
= 0 ;
7880 (char *) "self",(char *) "obj", NULL
7883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7885 if (SWIG_arg_fail(1)) SWIG_fail
;
7888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7889 wxOutputStream_write(arg1
,arg2
);
7891 wxPyEndAllowThreads(__tstate
);
7892 if (PyErr_Occurred()) SWIG_fail
;
7894 Py_INCREF(Py_None
); resultobj
= Py_None
;
7901 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7904 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7906 return Py_BuildValue((char *)"");
7908 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
*resultobj
;
7910 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7911 wxString
*arg2
= 0 ;
7912 wxString
*arg3
= 0 ;
7913 wxString
*arg4
= 0 ;
7916 wxPyInputStream
*temp1
;
7917 bool temp2
= false ;
7918 bool temp3
= false ;
7919 bool temp4
= false ;
7920 PyObject
* obj0
= 0 ;
7921 PyObject
* obj1
= 0 ;
7922 PyObject
* obj2
= 0 ;
7923 PyObject
* obj3
= 0 ;
7924 PyObject
* obj4
= 0 ;
7926 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7931 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7932 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
7934 PyErr_Clear(); // clear the failure of the wxPyConvert above
7935 arg1
= wxPyCBInputStream_create(obj0
, true);
7937 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
7943 arg2
= wxString_in_helper(obj1
);
7944 if (arg2
== NULL
) SWIG_fail
;
7948 arg3
= wxString_in_helper(obj2
);
7949 if (arg3
== NULL
) SWIG_fail
;
7953 arg4
= wxString_in_helper(obj3
);
7954 if (arg4
== NULL
) SWIG_fail
;
7959 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
7960 if (SWIG_arg_fail(5)) SWIG_fail
;
7962 SWIG_null_ref("wxDateTime");
7964 if (SWIG_arg_fail(5)) SWIG_fail
;
7968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7969 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
7971 wxPyEndAllowThreads(__tstate
);
7972 if (PyErr_Occurred()) SWIG_fail
;
7975 resultobj
= wxPyMake_wxObject(result
, 1);
8007 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8008 PyObject
*resultobj
;
8009 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8010 PyObject
* obj0
= 0 ;
8012 (char *) "self", NULL
8015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
8016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8017 if (SWIG_arg_fail(1)) SWIG_fail
;
8019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8022 wxPyEndAllowThreads(__tstate
);
8023 if (PyErr_Occurred()) SWIG_fail
;
8025 Py_INCREF(Py_None
); resultobj
= Py_None
;
8032 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8033 PyObject
*resultobj
;
8034 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8035 wxInputStream
*result
;
8036 PyObject
* obj0
= 0 ;
8038 (char *) "self", NULL
8041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8043 if (SWIG_arg_fail(1)) SWIG_fail
;
8045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8046 result
= (wxInputStream
*)(arg1
)->GetStream();
8048 wxPyEndAllowThreads(__tstate
);
8049 if (PyErr_Occurred()) SWIG_fail
;
8052 wxPyInputStream
* _ptr
= NULL
;
8055 _ptr
= new wxPyInputStream(result
);
8057 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8065 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8066 PyObject
*resultobj
;
8067 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8069 PyObject
* obj0
= 0 ;
8071 (char *) "self", NULL
8074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8076 if (SWIG_arg_fail(1)) SWIG_fail
;
8078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8080 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8081 result
= (wxString
*) &_result_ref
;
8084 wxPyEndAllowThreads(__tstate
);
8085 if (PyErr_Occurred()) SWIG_fail
;
8089 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8091 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8100 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8101 PyObject
*resultobj
;
8102 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8104 PyObject
* obj0
= 0 ;
8106 (char *) "self", NULL
8109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",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();
8115 wxString
const &_result_ref
= (arg1
)->GetLocation();
8116 result
= (wxString
*) &_result_ref
;
8119 wxPyEndAllowThreads(__tstate
);
8120 if (PyErr_Occurred()) SWIG_fail
;
8124 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8126 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8135 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8136 PyObject
*resultobj
;
8137 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8139 PyObject
* obj0
= 0 ;
8141 (char *) "self", NULL
8144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8146 if (SWIG_arg_fail(1)) SWIG_fail
;
8148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8150 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8151 result
= (wxString
*) &_result_ref
;
8154 wxPyEndAllowThreads(__tstate
);
8155 if (PyErr_Occurred()) SWIG_fail
;
8159 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8161 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8170 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8171 PyObject
*resultobj
;
8172 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8174 PyObject
* obj0
= 0 ;
8176 (char *) "self", NULL
8179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8181 if (SWIG_arg_fail(1)) SWIG_fail
;
8183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8184 result
= (arg1
)->GetModificationTime();
8186 wxPyEndAllowThreads(__tstate
);
8187 if (PyErr_Occurred()) SWIG_fail
;
8190 wxDateTime
* resultptr
;
8191 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8192 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8200 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8202 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8203 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8205 return Py_BuildValue((char *)"");
8207 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8209 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8210 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8212 return Py_BuildValue((char *)"");
8214 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8215 PyObject
*resultobj
;
8216 wxPyFileSystemHandler
*result
;
8221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8224 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8226 wxPyEndAllowThreads(__tstate
);
8227 if (PyErr_Occurred()) SWIG_fail
;
8229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8236 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8237 PyObject
*resultobj
;
8238 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8239 PyObject
*arg2
= (PyObject
*) 0 ;
8240 PyObject
*arg3
= (PyObject
*) 0 ;
8241 PyObject
* obj0
= 0 ;
8242 PyObject
* obj1
= 0 ;
8243 PyObject
* obj2
= 0 ;
8245 (char *) "self",(char *) "self",(char *) "_class", NULL
8248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8250 if (SWIG_arg_fail(1)) SWIG_fail
;
8254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8255 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8257 wxPyEndAllowThreads(__tstate
);
8258 if (PyErr_Occurred()) SWIG_fail
;
8260 Py_INCREF(Py_None
); resultobj
= Py_None
;
8267 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8268 PyObject
*resultobj
;
8269 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8270 wxString
*arg2
= 0 ;
8272 bool temp2
= false ;
8273 PyObject
* obj0
= 0 ;
8274 PyObject
* obj1
= 0 ;
8276 (char *) "self",(char *) "location", NULL
8279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8281 if (SWIG_arg_fail(1)) SWIG_fail
;
8283 arg2
= wxString_in_helper(obj1
);
8284 if (arg2
== NULL
) SWIG_fail
;
8288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8289 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8291 wxPyEndAllowThreads(__tstate
);
8292 if (PyErr_Occurred()) SWIG_fail
;
8295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8311 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8312 PyObject
*resultobj
;
8313 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8314 wxFileSystem
*arg2
= 0 ;
8315 wxString
*arg3
= 0 ;
8317 bool temp3
= false ;
8318 PyObject
* obj0
= 0 ;
8319 PyObject
* obj1
= 0 ;
8320 PyObject
* obj2
= 0 ;
8322 (char *) "self",(char *) "fs",(char *) "location", NULL
8325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8327 if (SWIG_arg_fail(1)) SWIG_fail
;
8329 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8330 if (SWIG_arg_fail(2)) SWIG_fail
;
8332 SWIG_null_ref("wxFileSystem");
8334 if (SWIG_arg_fail(2)) SWIG_fail
;
8337 arg3
= wxString_in_helper(obj2
);
8338 if (arg3
== NULL
) SWIG_fail
;
8342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8343 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8345 wxPyEndAllowThreads(__tstate
);
8346 if (PyErr_Occurred()) SWIG_fail
;
8349 resultobj
= wxPyMake_wxObject(result
, 1);
8365 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8366 PyObject
*resultobj
;
8367 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8368 wxString
*arg2
= 0 ;
8369 int arg3
= (int) 0 ;
8371 bool temp2
= false ;
8372 PyObject
* obj0
= 0 ;
8373 PyObject
* obj1
= 0 ;
8374 PyObject
* obj2
= 0 ;
8376 (char *) "self",(char *) "spec",(char *) "flags", NULL
8379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8381 if (SWIG_arg_fail(1)) SWIG_fail
;
8383 arg2
= wxString_in_helper(obj1
);
8384 if (arg2
== NULL
) SWIG_fail
;
8389 arg3
= (int)(SWIG_As_int(obj2
));
8390 if (SWIG_arg_fail(3)) SWIG_fail
;
8394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8395 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8397 wxPyEndAllowThreads(__tstate
);
8398 if (PyErr_Occurred()) SWIG_fail
;
8402 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8404 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8421 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8422 PyObject
*resultobj
;
8423 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8425 PyObject
* obj0
= 0 ;
8427 (char *) "self", NULL
8430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8432 if (SWIG_arg_fail(1)) SWIG_fail
;
8434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8435 result
= (arg1
)->FindNext();
8437 wxPyEndAllowThreads(__tstate
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8442 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8444 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8453 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8454 PyObject
*resultobj
;
8455 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8456 wxString
*arg2
= 0 ;
8458 bool temp2
= false ;
8459 PyObject
* obj0
= 0 ;
8460 PyObject
* obj1
= 0 ;
8462 (char *) "self",(char *) "location", NULL
8465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8467 if (SWIG_arg_fail(1)) SWIG_fail
;
8469 arg2
= wxString_in_helper(obj1
);
8470 if (arg2
== NULL
) SWIG_fail
;
8474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8475 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8477 wxPyEndAllowThreads(__tstate
);
8478 if (PyErr_Occurred()) SWIG_fail
;
8482 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8484 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8501 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8502 PyObject
*resultobj
;
8503 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8504 wxString
*arg2
= 0 ;
8506 bool temp2
= false ;
8507 PyObject
* obj0
= 0 ;
8508 PyObject
* obj1
= 0 ;
8510 (char *) "self",(char *) "location", NULL
8513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8515 if (SWIG_arg_fail(1)) SWIG_fail
;
8517 arg2
= wxString_in_helper(obj1
);
8518 if (arg2
== NULL
) SWIG_fail
;
8522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8523 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8525 wxPyEndAllowThreads(__tstate
);
8526 if (PyErr_Occurred()) SWIG_fail
;
8530 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8532 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8549 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8550 PyObject
*resultobj
;
8551 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8552 wxString
*arg2
= 0 ;
8554 bool temp2
= false ;
8555 PyObject
* obj0
= 0 ;
8556 PyObject
* obj1
= 0 ;
8558 (char *) "self",(char *) "location", NULL
8561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8563 if (SWIG_arg_fail(1)) SWIG_fail
;
8565 arg2
= wxString_in_helper(obj1
);
8566 if (arg2
== NULL
) SWIG_fail
;
8570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8571 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8573 wxPyEndAllowThreads(__tstate
);
8574 if (PyErr_Occurred()) SWIG_fail
;
8578 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8580 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8597 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8598 PyObject
*resultobj
;
8599 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8600 wxString
*arg2
= 0 ;
8602 bool temp2
= false ;
8603 PyObject
* obj0
= 0 ;
8604 PyObject
* obj1
= 0 ;
8606 (char *) "self",(char *) "location", NULL
8609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8611 if (SWIG_arg_fail(1)) SWIG_fail
;
8613 arg2
= wxString_in_helper(obj1
);
8614 if (arg2
== NULL
) SWIG_fail
;
8618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8619 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8621 wxPyEndAllowThreads(__tstate
);
8622 if (PyErr_Occurred()) SWIG_fail
;
8626 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8628 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8645 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8646 PyObject
*resultobj
;
8647 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8648 wxString
*arg2
= 0 ;
8650 bool temp2
= false ;
8651 PyObject
* obj0
= 0 ;
8652 PyObject
* obj1
= 0 ;
8654 (char *) "self",(char *) "location", NULL
8657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8659 if (SWIG_arg_fail(1)) SWIG_fail
;
8661 arg2
= wxString_in_helper(obj1
);
8662 if (arg2
== NULL
) SWIG_fail
;
8666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8667 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8669 wxPyEndAllowThreads(__tstate
);
8670 if (PyErr_Occurred()) SWIG_fail
;
8674 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8676 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8693 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8696 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8698 return Py_BuildValue((char *)"");
8700 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8701 PyObject
*resultobj
;
8702 wxFileSystem
*result
;
8707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8710 result
= (wxFileSystem
*)new wxFileSystem();
8712 wxPyEndAllowThreads(__tstate
);
8713 if (PyErr_Occurred()) SWIG_fail
;
8716 resultobj
= wxPyMake_wxObject(result
, 1);
8724 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8725 PyObject
*resultobj
;
8726 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8727 PyObject
* obj0
= 0 ;
8729 (char *) "self", NULL
8732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8734 if (SWIG_arg_fail(1)) SWIG_fail
;
8736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8739 wxPyEndAllowThreads(__tstate
);
8740 if (PyErr_Occurred()) SWIG_fail
;
8742 Py_INCREF(Py_None
); resultobj
= Py_None
;
8749 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8750 PyObject
*resultobj
;
8751 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8752 wxString
*arg2
= 0 ;
8753 bool arg3
= (bool) false ;
8754 bool temp2
= false ;
8755 PyObject
* obj0
= 0 ;
8756 PyObject
* obj1
= 0 ;
8757 PyObject
* obj2
= 0 ;
8759 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8764 if (SWIG_arg_fail(1)) SWIG_fail
;
8766 arg2
= wxString_in_helper(obj1
);
8767 if (arg2
== NULL
) SWIG_fail
;
8772 arg3
= (bool)(SWIG_As_bool(obj2
));
8773 if (SWIG_arg_fail(3)) SWIG_fail
;
8777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8778 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8780 wxPyEndAllowThreads(__tstate
);
8781 if (PyErr_Occurred()) SWIG_fail
;
8783 Py_INCREF(Py_None
); resultobj
= Py_None
;
8798 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
*resultobj
;
8800 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8802 PyObject
* obj0
= 0 ;
8804 (char *) "self", NULL
8807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8809 if (SWIG_arg_fail(1)) SWIG_fail
;
8811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8812 result
= (arg1
)->GetPath();
8814 wxPyEndAllowThreads(__tstate
);
8815 if (PyErr_Occurred()) SWIG_fail
;
8819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8830 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8831 PyObject
*resultobj
;
8832 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8833 wxString
*arg2
= 0 ;
8835 bool temp2
= false ;
8836 PyObject
* obj0
= 0 ;
8837 PyObject
* obj1
= 0 ;
8839 (char *) "self",(char *) "location", NULL
8842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8844 if (SWIG_arg_fail(1)) SWIG_fail
;
8846 arg2
= wxString_in_helper(obj1
);
8847 if (arg2
== NULL
) SWIG_fail
;
8851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8852 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8854 wxPyEndAllowThreads(__tstate
);
8855 if (PyErr_Occurred()) SWIG_fail
;
8858 resultobj
= wxPyMake_wxObject(result
, 1);
8874 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8875 PyObject
*resultobj
;
8876 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8877 wxString
*arg2
= 0 ;
8878 int arg3
= (int) 0 ;
8880 bool temp2
= false ;
8881 PyObject
* obj0
= 0 ;
8882 PyObject
* obj1
= 0 ;
8883 PyObject
* obj2
= 0 ;
8885 (char *) "self",(char *) "spec",(char *) "flags", NULL
8888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8890 if (SWIG_arg_fail(1)) SWIG_fail
;
8892 arg2
= wxString_in_helper(obj1
);
8893 if (arg2
== NULL
) SWIG_fail
;
8898 arg3
= (int)(SWIG_As_int(obj2
));
8899 if (SWIG_arg_fail(3)) SWIG_fail
;
8903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8904 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8906 wxPyEndAllowThreads(__tstate
);
8907 if (PyErr_Occurred()) SWIG_fail
;
8911 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8913 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8930 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8931 PyObject
*resultobj
;
8932 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8934 PyObject
* obj0
= 0 ;
8936 (char *) "self", NULL
8939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8941 if (SWIG_arg_fail(1)) SWIG_fail
;
8943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8944 result
= (arg1
)->FindNext();
8946 wxPyEndAllowThreads(__tstate
);
8947 if (PyErr_Occurred()) SWIG_fail
;
8951 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8953 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8962 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8963 PyObject
*resultobj
;
8964 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
8965 PyObject
* obj0
= 0 ;
8967 (char *) "handler", NULL
8970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
8971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8972 if (SWIG_arg_fail(1)) SWIG_fail
;
8974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8975 wxFileSystem::AddHandler(arg1
);
8977 wxPyEndAllowThreads(__tstate
);
8978 if (PyErr_Occurred()) SWIG_fail
;
8980 Py_INCREF(Py_None
); resultobj
= Py_None
;
8987 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8988 PyObject
*resultobj
;
8993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
8995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8996 wxFileSystem::CleanUpHandlers();
8998 wxPyEndAllowThreads(__tstate
);
8999 if (PyErr_Occurred()) SWIG_fail
;
9001 Py_INCREF(Py_None
); resultobj
= Py_None
;
9008 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9009 PyObject
*resultobj
;
9010 wxString
*arg1
= 0 ;
9012 bool temp1
= false ;
9013 PyObject
* obj0
= 0 ;
9015 (char *) "filename", NULL
9018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9020 arg1
= wxString_in_helper(obj0
);
9021 if (arg1
== NULL
) SWIG_fail
;
9025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9026 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9028 wxPyEndAllowThreads(__tstate
);
9029 if (PyErr_Occurred()) SWIG_fail
;
9033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9052 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9053 PyObject
*resultobj
;
9054 wxString
*arg1
= 0 ;
9056 bool temp1
= false ;
9057 PyObject
* obj0
= 0 ;
9059 (char *) "url", NULL
9062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9064 arg1
= wxString_in_helper(obj0
);
9065 if (arg1
== NULL
) SWIG_fail
;
9069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9070 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9072 wxPyEndAllowThreads(__tstate
);
9073 if (PyErr_Occurred()) SWIG_fail
;
9077 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9079 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9096 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9099 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9101 return Py_BuildValue((char *)"");
9103 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9104 PyObject
*resultobj
;
9105 wxInternetFSHandler
*result
;
9110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9113 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9115 wxPyEndAllowThreads(__tstate
);
9116 if (PyErr_Occurred()) SWIG_fail
;
9118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9125 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9126 PyObject
*resultobj
;
9127 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9128 wxString
*arg2
= 0 ;
9130 bool temp2
= false ;
9131 PyObject
* obj0
= 0 ;
9132 PyObject
* obj1
= 0 ;
9134 (char *) "self",(char *) "location", NULL
9137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9139 if (SWIG_arg_fail(1)) SWIG_fail
;
9141 arg2
= wxString_in_helper(obj1
);
9142 if (arg2
== NULL
) SWIG_fail
;
9146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9147 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9149 wxPyEndAllowThreads(__tstate
);
9150 if (PyErr_Occurred()) SWIG_fail
;
9153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9169 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9170 PyObject
*resultobj
;
9171 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9172 wxFileSystem
*arg2
= 0 ;
9173 wxString
*arg3
= 0 ;
9175 bool temp3
= false ;
9176 PyObject
* obj0
= 0 ;
9177 PyObject
* obj1
= 0 ;
9178 PyObject
* obj2
= 0 ;
9180 (char *) "self",(char *) "fs",(char *) "location", NULL
9183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9185 if (SWIG_arg_fail(1)) SWIG_fail
;
9187 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9188 if (SWIG_arg_fail(2)) SWIG_fail
;
9190 SWIG_null_ref("wxFileSystem");
9192 if (SWIG_arg_fail(2)) SWIG_fail
;
9195 arg3
= wxString_in_helper(obj2
);
9196 if (arg3
== NULL
) SWIG_fail
;
9200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9201 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9203 wxPyEndAllowThreads(__tstate
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9207 resultobj
= wxPyMake_wxObject(result
, 1);
9223 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9226 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9228 return Py_BuildValue((char *)"");
9230 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
*resultobj
;
9232 wxZipFSHandler
*result
;
9237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9240 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9242 wxPyEndAllowThreads(__tstate
);
9243 if (PyErr_Occurred()) SWIG_fail
;
9245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9252 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9253 PyObject
*resultobj
;
9254 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9255 wxString
*arg2
= 0 ;
9257 bool temp2
= false ;
9258 PyObject
* obj0
= 0 ;
9259 PyObject
* obj1
= 0 ;
9261 (char *) "self",(char *) "location", NULL
9264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9266 if (SWIG_arg_fail(1)) SWIG_fail
;
9268 arg2
= wxString_in_helper(obj1
);
9269 if (arg2
== NULL
) SWIG_fail
;
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9274 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9276 wxPyEndAllowThreads(__tstate
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9296 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9297 PyObject
*resultobj
;
9298 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9299 wxFileSystem
*arg2
= 0 ;
9300 wxString
*arg3
= 0 ;
9302 bool temp3
= false ;
9303 PyObject
* obj0
= 0 ;
9304 PyObject
* obj1
= 0 ;
9305 PyObject
* obj2
= 0 ;
9307 (char *) "self",(char *) "fs",(char *) "location", NULL
9310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9312 if (SWIG_arg_fail(1)) SWIG_fail
;
9314 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9315 if (SWIG_arg_fail(2)) SWIG_fail
;
9317 SWIG_null_ref("wxFileSystem");
9319 if (SWIG_arg_fail(2)) SWIG_fail
;
9322 arg3
= wxString_in_helper(obj2
);
9323 if (arg3
== NULL
) SWIG_fail
;
9327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9328 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9330 wxPyEndAllowThreads(__tstate
);
9331 if (PyErr_Occurred()) SWIG_fail
;
9334 resultobj
= wxPyMake_wxObject(result
, 1);
9350 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9351 PyObject
*resultobj
;
9352 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9353 wxString
*arg2
= 0 ;
9354 int arg3
= (int) 0 ;
9356 bool temp2
= false ;
9357 PyObject
* obj0
= 0 ;
9358 PyObject
* obj1
= 0 ;
9359 PyObject
* obj2
= 0 ;
9361 (char *) "self",(char *) "spec",(char *) "flags", NULL
9364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9366 if (SWIG_arg_fail(1)) SWIG_fail
;
9368 arg2
= wxString_in_helper(obj1
);
9369 if (arg2
== NULL
) SWIG_fail
;
9374 arg3
= (int)(SWIG_As_int(obj2
));
9375 if (SWIG_arg_fail(3)) SWIG_fail
;
9379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9380 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9382 wxPyEndAllowThreads(__tstate
);
9383 if (PyErr_Occurred()) SWIG_fail
;
9387 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9389 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9406 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9407 PyObject
*resultobj
;
9408 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9410 PyObject
* obj0
= 0 ;
9412 (char *) "self", NULL
9415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9417 if (SWIG_arg_fail(1)) SWIG_fail
;
9419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9420 result
= (arg1
)->FindNext();
9422 wxPyEndAllowThreads(__tstate
);
9423 if (PyErr_Occurred()) SWIG_fail
;
9427 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9429 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9438 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9441 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9443 return Py_BuildValue((char *)"");
9445 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9446 PyObject
*resultobj
;
9447 wxString
*arg1
= 0 ;
9450 bool temp1
= false ;
9451 PyObject
* obj0
= 0 ;
9452 PyObject
* obj1
= 0 ;
9453 PyObject
* obj2
= 0 ;
9455 (char *) "filename",(char *) "image",(char *) "type", NULL
9458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9460 arg1
= wxString_in_helper(obj0
);
9461 if (arg1
== NULL
) SWIG_fail
;
9465 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9466 if (SWIG_arg_fail(2)) SWIG_fail
;
9468 SWIG_null_ref("wxImage");
9470 if (SWIG_arg_fail(2)) SWIG_fail
;
9473 arg3
= (long)(SWIG_As_long(obj2
));
9474 if (SWIG_arg_fail(3)) SWIG_fail
;
9477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9478 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9480 wxPyEndAllowThreads(__tstate
);
9481 if (PyErr_Occurred()) SWIG_fail
;
9483 Py_INCREF(Py_None
); resultobj
= Py_None
;
9498 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9499 PyObject
*resultobj
;
9500 wxString
*arg1
= 0 ;
9501 wxBitmap
*arg2
= 0 ;
9503 bool temp1
= false ;
9504 PyObject
* obj0
= 0 ;
9505 PyObject
* obj1
= 0 ;
9506 PyObject
* obj2
= 0 ;
9508 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9513 arg1
= wxString_in_helper(obj0
);
9514 if (arg1
== NULL
) SWIG_fail
;
9518 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9519 if (SWIG_arg_fail(2)) SWIG_fail
;
9521 SWIG_null_ref("wxBitmap");
9523 if (SWIG_arg_fail(2)) SWIG_fail
;
9526 arg3
= (long)(SWIG_As_long(obj2
));
9527 if (SWIG_arg_fail(3)) SWIG_fail
;
9530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9531 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9533 wxPyEndAllowThreads(__tstate
);
9534 if (PyErr_Occurred()) SWIG_fail
;
9536 Py_INCREF(Py_None
); resultobj
= Py_None
;
9551 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9552 PyObject
*resultobj
;
9553 wxString
*arg1
= 0 ;
9554 PyObject
*arg2
= (PyObject
*) 0 ;
9555 bool temp1
= false ;
9556 PyObject
* obj0
= 0 ;
9557 PyObject
* obj1
= 0 ;
9559 (char *) "filename",(char *) "data", NULL
9562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9564 arg1
= wxString_in_helper(obj0
);
9565 if (arg1
== NULL
) SWIG_fail
;
9570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9571 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9573 wxPyEndAllowThreads(__tstate
);
9574 if (PyErr_Occurred()) SWIG_fail
;
9576 Py_INCREF(Py_None
); resultobj
= Py_None
;
9591 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
*resultobj
;
9593 wxMemoryFSHandler
*result
;
9598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9601 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9603 wxPyEndAllowThreads(__tstate
);
9604 if (PyErr_Occurred()) SWIG_fail
;
9606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9613 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9614 PyObject
*resultobj
;
9615 wxString
*arg1
= 0 ;
9616 bool temp1
= false ;
9617 PyObject
* obj0
= 0 ;
9619 (char *) "filename", NULL
9622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9624 arg1
= wxString_in_helper(obj0
);
9625 if (arg1
== NULL
) SWIG_fail
;
9629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9630 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9632 wxPyEndAllowThreads(__tstate
);
9633 if (PyErr_Occurred()) SWIG_fail
;
9635 Py_INCREF(Py_None
); resultobj
= Py_None
;
9650 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9651 PyObject
*resultobj
;
9652 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9653 wxString
*arg2
= 0 ;
9655 bool temp2
= false ;
9656 PyObject
* obj0
= 0 ;
9657 PyObject
* obj1
= 0 ;
9659 (char *) "self",(char *) "location", NULL
9662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9664 if (SWIG_arg_fail(1)) SWIG_fail
;
9666 arg2
= wxString_in_helper(obj1
);
9667 if (arg2
== NULL
) SWIG_fail
;
9671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9672 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9674 wxPyEndAllowThreads(__tstate
);
9675 if (PyErr_Occurred()) SWIG_fail
;
9678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9694 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9695 PyObject
*resultobj
;
9696 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9697 wxFileSystem
*arg2
= 0 ;
9698 wxString
*arg3
= 0 ;
9700 bool temp3
= false ;
9701 PyObject
* obj0
= 0 ;
9702 PyObject
* obj1
= 0 ;
9703 PyObject
* obj2
= 0 ;
9705 (char *) "self",(char *) "fs",(char *) "location", NULL
9708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9710 if (SWIG_arg_fail(1)) SWIG_fail
;
9712 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9713 if (SWIG_arg_fail(2)) SWIG_fail
;
9715 SWIG_null_ref("wxFileSystem");
9717 if (SWIG_arg_fail(2)) SWIG_fail
;
9720 arg3
= wxString_in_helper(obj2
);
9721 if (arg3
== NULL
) SWIG_fail
;
9725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9726 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9728 wxPyEndAllowThreads(__tstate
);
9729 if (PyErr_Occurred()) SWIG_fail
;
9732 resultobj
= wxPyMake_wxObject(result
, 1);
9748 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9749 PyObject
*resultobj
;
9750 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9751 wxString
*arg2
= 0 ;
9752 int arg3
= (int) 0 ;
9754 bool temp2
= false ;
9755 PyObject
* obj0
= 0 ;
9756 PyObject
* obj1
= 0 ;
9757 PyObject
* obj2
= 0 ;
9759 (char *) "self",(char *) "spec",(char *) "flags", NULL
9762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9764 if (SWIG_arg_fail(1)) SWIG_fail
;
9766 arg2
= wxString_in_helper(obj1
);
9767 if (arg2
== NULL
) SWIG_fail
;
9772 arg3
= (int)(SWIG_As_int(obj2
));
9773 if (SWIG_arg_fail(3)) SWIG_fail
;
9777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9778 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9780 wxPyEndAllowThreads(__tstate
);
9781 if (PyErr_Occurred()) SWIG_fail
;
9785 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9787 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9804 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9805 PyObject
*resultobj
;
9806 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9808 PyObject
* obj0
= 0 ;
9810 (char *) "self", NULL
9813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9815 if (SWIG_arg_fail(1)) SWIG_fail
;
9817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9818 result
= (arg1
)->FindNext();
9820 wxPyEndAllowThreads(__tstate
);
9821 if (PyErr_Occurred()) SWIG_fail
;
9825 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9827 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9836 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9839 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9841 return Py_BuildValue((char *)"");
9843 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9844 PyObject
*resultobj
;
9845 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9847 PyObject
* obj0
= 0 ;
9849 (char *) "self", NULL
9852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9854 if (SWIG_arg_fail(1)) SWIG_fail
;
9856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9857 result
= (arg1
)->GetName();
9859 wxPyEndAllowThreads(__tstate
);
9860 if (PyErr_Occurred()) SWIG_fail
;
9864 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9866 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9875 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9876 PyObject
*resultobj
;
9877 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9879 PyObject
* obj0
= 0 ;
9881 (char *) "self", NULL
9884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9886 if (SWIG_arg_fail(1)) SWIG_fail
;
9888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9889 result
= (arg1
)->GetExtension();
9891 wxPyEndAllowThreads(__tstate
);
9892 if (PyErr_Occurred()) SWIG_fail
;
9896 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9898 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9907 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9908 PyObject
*resultobj
;
9909 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9911 PyObject
* obj0
= 0 ;
9913 (char *) "self", NULL
9916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9918 if (SWIG_arg_fail(1)) SWIG_fail
;
9920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9921 result
= (long)(arg1
)->GetType();
9923 wxPyEndAllowThreads(__tstate
);
9924 if (PyErr_Occurred()) SWIG_fail
;
9927 resultobj
= SWIG_From_long((long)(result
));
9935 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9936 PyObject
*resultobj
;
9937 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9939 PyObject
* obj0
= 0 ;
9941 (char *) "self", NULL
9944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
9945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9946 if (SWIG_arg_fail(1)) SWIG_fail
;
9948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9949 result
= (arg1
)->GetMimeType();
9951 wxPyEndAllowThreads(__tstate
);
9952 if (PyErr_Occurred()) SWIG_fail
;
9956 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9958 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9967 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9968 PyObject
*resultobj
;
9969 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9970 wxString
*arg2
= 0 ;
9972 bool temp2
= false ;
9973 PyObject
* obj0
= 0 ;
9974 PyObject
* obj1
= 0 ;
9976 (char *) "self",(char *) "name", NULL
9979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
9980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9981 if (SWIG_arg_fail(1)) SWIG_fail
;
9983 arg2
= wxString_in_helper(obj1
);
9984 if (arg2
== NULL
) SWIG_fail
;
9988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9989 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
9991 wxPyEndAllowThreads(__tstate
);
9992 if (PyErr_Occurred()) SWIG_fail
;
9995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10011 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10012 PyObject
*resultobj
;
10013 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10014 wxString
*arg2
= 0 ;
10015 bool temp2
= false ;
10016 PyObject
* obj0
= 0 ;
10017 PyObject
* obj1
= 0 ;
10018 char *kwnames
[] = {
10019 (char *) "self",(char *) "name", NULL
10022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10024 if (SWIG_arg_fail(1)) SWIG_fail
;
10026 arg2
= wxString_in_helper(obj1
);
10027 if (arg2
== NULL
) SWIG_fail
;
10031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10032 (arg1
)->SetName((wxString
const &)*arg2
);
10034 wxPyEndAllowThreads(__tstate
);
10035 if (PyErr_Occurred()) SWIG_fail
;
10037 Py_INCREF(Py_None
); resultobj
= Py_None
;
10052 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10053 PyObject
*resultobj
;
10054 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10055 wxString
*arg2
= 0 ;
10056 bool temp2
= false ;
10057 PyObject
* obj0
= 0 ;
10058 PyObject
* obj1
= 0 ;
10059 char *kwnames
[] = {
10060 (char *) "self",(char *) "extension", NULL
10063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10065 if (SWIG_arg_fail(1)) SWIG_fail
;
10067 arg2
= wxString_in_helper(obj1
);
10068 if (arg2
== NULL
) SWIG_fail
;
10072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10073 (arg1
)->SetExtension((wxString
const &)*arg2
);
10075 wxPyEndAllowThreads(__tstate
);
10076 if (PyErr_Occurred()) SWIG_fail
;
10078 Py_INCREF(Py_None
); resultobj
= Py_None
;
10093 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10094 PyObject
*resultobj
;
10095 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10097 PyObject
* obj0
= 0 ;
10098 PyObject
* obj1
= 0 ;
10099 char *kwnames
[] = {
10100 (char *) "self",(char *) "type", NULL
10103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10105 if (SWIG_arg_fail(1)) SWIG_fail
;
10107 arg2
= (long)(SWIG_As_long(obj1
));
10108 if (SWIG_arg_fail(2)) SWIG_fail
;
10111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10112 (arg1
)->SetType(arg2
);
10114 wxPyEndAllowThreads(__tstate
);
10115 if (PyErr_Occurred()) SWIG_fail
;
10117 Py_INCREF(Py_None
); resultobj
= Py_None
;
10124 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10125 PyObject
*resultobj
;
10126 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10127 wxString
*arg2
= 0 ;
10128 bool temp2
= false ;
10129 PyObject
* obj0
= 0 ;
10130 PyObject
* obj1
= 0 ;
10131 char *kwnames
[] = {
10132 (char *) "self",(char *) "mimetype", NULL
10135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10137 if (SWIG_arg_fail(1)) SWIG_fail
;
10139 arg2
= wxString_in_helper(obj1
);
10140 if (arg2
== NULL
) SWIG_fail
;
10144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10145 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10147 wxPyEndAllowThreads(__tstate
);
10148 if (PyErr_Occurred()) SWIG_fail
;
10150 Py_INCREF(Py_None
); resultobj
= Py_None
;
10165 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10168 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10170 return Py_BuildValue((char *)"");
10172 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10173 PyObject
*resultobj
;
10174 wxImageHistogram
*result
;
10175 char *kwnames
[] = {
10179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10182 result
= (wxImageHistogram
*)new wxImageHistogram();
10184 wxPyEndAllowThreads(__tstate
);
10185 if (PyErr_Occurred()) SWIG_fail
;
10187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10194 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10195 PyObject
*resultobj
;
10196 unsigned char arg1
;
10197 unsigned char arg2
;
10198 unsigned char arg3
;
10199 unsigned long result
;
10200 PyObject
* obj0
= 0 ;
10201 PyObject
* obj1
= 0 ;
10202 PyObject
* obj2
= 0 ;
10203 char *kwnames
[] = {
10204 (char *) "r",(char *) "g",(char *) "b", NULL
10207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10209 arg1
= (unsigned char)(SWIG_As_unsigned_SS_char(obj0
));
10210 if (SWIG_arg_fail(1)) SWIG_fail
;
10213 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10214 if (SWIG_arg_fail(2)) SWIG_fail
;
10217 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10218 if (SWIG_arg_fail(3)) SWIG_fail
;
10221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10222 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10224 wxPyEndAllowThreads(__tstate
);
10225 if (PyErr_Occurred()) SWIG_fail
;
10228 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10236 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10237 PyObject
*resultobj
;
10238 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10239 unsigned char *arg2
= (unsigned char *) 0 ;
10240 unsigned char *arg3
= (unsigned char *) 0 ;
10241 unsigned char *arg4
= (unsigned char *) 0 ;
10242 unsigned char arg5
= (unsigned char) 1 ;
10243 unsigned char arg6
= (unsigned char) 0 ;
10244 unsigned char arg7
= (unsigned char) 0 ;
10246 unsigned char temp2
;
10248 unsigned char temp3
;
10250 unsigned char temp4
;
10252 PyObject
* obj0
= 0 ;
10253 PyObject
* obj1
= 0 ;
10254 PyObject
* obj2
= 0 ;
10255 PyObject
* obj3
= 0 ;
10256 char *kwnames
[] = {
10257 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10260 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10261 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10262 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10265 if (SWIG_arg_fail(1)) SWIG_fail
;
10268 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10269 if (SWIG_arg_fail(5)) SWIG_fail
;
10274 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10275 if (SWIG_arg_fail(6)) SWIG_fail
;
10280 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10281 if (SWIG_arg_fail(7)) SWIG_fail
;
10285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10286 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10288 wxPyEndAllowThreads(__tstate
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10294 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10295 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10296 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10297 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10298 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10299 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10306 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10308 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10309 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10311 return Py_BuildValue((char *)"");
10313 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10314 PyObject
*resultobj
;
10315 wxString
*arg1
= 0 ;
10316 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10317 int arg3
= (int) -1 ;
10319 bool temp1
= false ;
10320 PyObject
* obj0
= 0 ;
10321 PyObject
* obj1
= 0 ;
10322 PyObject
* obj2
= 0 ;
10323 char *kwnames
[] = {
10324 (char *) "name",(char *) "type",(char *) "index", NULL
10327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10329 arg1
= wxString_in_helper(obj0
);
10330 if (arg1
== NULL
) SWIG_fail
;
10335 arg2
= (long)(SWIG_As_long(obj1
));
10336 if (SWIG_arg_fail(2)) SWIG_fail
;
10341 arg3
= (int)(SWIG_As_int(obj2
));
10342 if (SWIG_arg_fail(3)) SWIG_fail
;
10346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10347 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10349 wxPyEndAllowThreads(__tstate
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10367 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10368 PyObject
*resultobj
;
10369 wxImage
*arg1
= (wxImage
*) 0 ;
10370 PyObject
* obj0
= 0 ;
10371 char *kwnames
[] = {
10372 (char *) "self", NULL
10375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
10376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10377 if (SWIG_arg_fail(1)) SWIG_fail
;
10379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10382 wxPyEndAllowThreads(__tstate
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10385 Py_INCREF(Py_None
); resultobj
= Py_None
;
10392 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10393 PyObject
*resultobj
;
10394 wxString
*arg1
= 0 ;
10395 wxString
*arg2
= 0 ;
10396 int arg3
= (int) -1 ;
10398 bool temp1
= false ;
10399 bool temp2
= false ;
10400 PyObject
* obj0
= 0 ;
10401 PyObject
* obj1
= 0 ;
10402 PyObject
* obj2
= 0 ;
10403 char *kwnames
[] = {
10404 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10409 arg1
= wxString_in_helper(obj0
);
10410 if (arg1
== NULL
) SWIG_fail
;
10414 arg2
= wxString_in_helper(obj1
);
10415 if (arg2
== NULL
) SWIG_fail
;
10420 arg3
= (int)(SWIG_As_int(obj2
));
10421 if (SWIG_arg_fail(3)) SWIG_fail
;
10425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10426 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10428 wxPyEndAllowThreads(__tstate
);
10429 if (PyErr_Occurred()) SWIG_fail
;
10431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10454 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10455 PyObject
*resultobj
;
10456 wxInputStream
*arg1
= 0 ;
10457 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10458 int arg3
= (int) -1 ;
10460 wxPyInputStream
*temp1
;
10462 PyObject
* obj0
= 0 ;
10463 PyObject
* obj1
= 0 ;
10464 PyObject
* obj2
= 0 ;
10465 char *kwnames
[] = {
10466 (char *) "stream",(char *) "type",(char *) "index", NULL
10469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10471 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10472 arg1
= temp1
->m_wxis
;
10475 PyErr_Clear(); // clear the failure of the wxPyConvert above
10476 arg1
= wxPyCBInputStream_create(obj0
, false);
10477 if (arg1
== NULL
) {
10478 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10486 arg2
= (long)(SWIG_As_long(obj1
));
10487 if (SWIG_arg_fail(2)) SWIG_fail
;
10492 arg3
= (int)(SWIG_As_int(obj2
));
10493 if (SWIG_arg_fail(3)) SWIG_fail
;
10497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10498 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
10500 wxPyEndAllowThreads(__tstate
);
10501 if (PyErr_Occurred()) SWIG_fail
;
10503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10505 if (created1
) delete arg1
;
10510 if (created1
) delete arg1
;
10516 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10517 PyObject
*resultobj
;
10518 wxInputStream
*arg1
= 0 ;
10519 wxString
*arg2
= 0 ;
10520 int arg3
= (int) -1 ;
10522 wxPyInputStream
*temp1
;
10524 bool temp2
= false ;
10525 PyObject
* obj0
= 0 ;
10526 PyObject
* obj1
= 0 ;
10527 PyObject
* obj2
= 0 ;
10528 char *kwnames
[] = {
10529 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10534 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10535 arg1
= temp1
->m_wxis
;
10538 PyErr_Clear(); // clear the failure of the wxPyConvert above
10539 arg1
= wxPyCBInputStream_create(obj0
, false);
10540 if (arg1
== NULL
) {
10541 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10548 arg2
= wxString_in_helper(obj1
);
10549 if (arg2
== NULL
) SWIG_fail
;
10554 arg3
= (int)(SWIG_As_int(obj2
));
10555 if (SWIG_arg_fail(3)) SWIG_fail
;
10559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10560 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
10562 wxPyEndAllowThreads(__tstate
);
10563 if (PyErr_Occurred()) SWIG_fail
;
10565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10567 if (created1
) delete arg1
;
10576 if (created1
) delete arg1
;
10586 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10587 PyObject
*resultobj
;
10588 int arg1
= (int) 0 ;
10589 int arg2
= (int) 0 ;
10590 bool arg3
= (bool) true ;
10592 PyObject
* obj0
= 0 ;
10593 PyObject
* obj1
= 0 ;
10594 PyObject
* obj2
= 0 ;
10595 char *kwnames
[] = {
10596 (char *) "width",(char *) "height",(char *) "clear", NULL
10599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10602 arg1
= (int)(SWIG_As_int(obj0
));
10603 if (SWIG_arg_fail(1)) SWIG_fail
;
10608 arg2
= (int)(SWIG_As_int(obj1
));
10609 if (SWIG_arg_fail(2)) SWIG_fail
;
10614 arg3
= (bool)(SWIG_As_bool(obj2
));
10615 if (SWIG_arg_fail(3)) SWIG_fail
;
10619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10620 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10622 wxPyEndAllowThreads(__tstate
);
10623 if (PyErr_Occurred()) SWIG_fail
;
10625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10632 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10633 PyObject
*resultobj
;
10634 wxBitmap
*arg1
= 0 ;
10636 PyObject
* obj0
= 0 ;
10637 char *kwnames
[] = {
10638 (char *) "bitmap", NULL
10641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
10643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
10644 if (SWIG_arg_fail(1)) SWIG_fail
;
10645 if (arg1
== NULL
) {
10646 SWIG_null_ref("wxBitmap");
10648 if (SWIG_arg_fail(1)) SWIG_fail
;
10651 if (!wxPyCheckForApp()) SWIG_fail
;
10652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10653 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
10655 wxPyEndAllowThreads(__tstate
);
10656 if (PyErr_Occurred()) SWIG_fail
;
10658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10665 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10666 PyObject
*resultobj
;
10669 unsigned char *arg3
= (unsigned char *) 0 ;
10671 PyObject
* obj0
= 0 ;
10672 PyObject
* obj1
= 0 ;
10673 PyObject
* obj2
= 0 ;
10674 char *kwnames
[] = {
10675 (char *) "width",(char *) "height",(char *) "data", NULL
10678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10680 arg1
= (int)(SWIG_As_int(obj0
));
10681 if (SWIG_arg_fail(1)) SWIG_fail
;
10684 arg2
= (int)(SWIG_As_int(obj1
));
10685 if (SWIG_arg_fail(2)) SWIG_fail
;
10687 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10688 if (SWIG_arg_fail(3)) SWIG_fail
;
10690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10691 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10693 wxPyEndAllowThreads(__tstate
);
10694 if (PyErr_Occurred()) SWIG_fail
;
10696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10703 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10704 PyObject
*resultobj
;
10707 unsigned char *arg3
= (unsigned char *) 0 ;
10708 unsigned char *arg4
= (unsigned char *) 0 ;
10710 PyObject
* obj0
= 0 ;
10711 PyObject
* obj1
= 0 ;
10712 PyObject
* obj2
= 0 ;
10713 PyObject
* obj3
= 0 ;
10714 char *kwnames
[] = {
10715 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10720 arg1
= (int)(SWIG_As_int(obj0
));
10721 if (SWIG_arg_fail(1)) SWIG_fail
;
10724 arg2
= (int)(SWIG_As_int(obj1
));
10725 if (SWIG_arg_fail(2)) SWIG_fail
;
10727 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10728 if (SWIG_arg_fail(3)) SWIG_fail
;
10729 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10730 if (SWIG_arg_fail(4)) SWIG_fail
;
10732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10733 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
10735 wxPyEndAllowThreads(__tstate
);
10736 if (PyErr_Occurred()) SWIG_fail
;
10738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10745 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10746 PyObject
*resultobj
;
10747 wxImage
*arg1
= (wxImage
*) 0 ;
10750 PyObject
* obj0
= 0 ;
10751 PyObject
* obj1
= 0 ;
10752 PyObject
* obj2
= 0 ;
10753 char *kwnames
[] = {
10754 (char *) "self",(char *) "width",(char *) "height", NULL
10757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10759 if (SWIG_arg_fail(1)) SWIG_fail
;
10761 arg2
= (int)(SWIG_As_int(obj1
));
10762 if (SWIG_arg_fail(2)) SWIG_fail
;
10765 arg3
= (int)(SWIG_As_int(obj2
));
10766 if (SWIG_arg_fail(3)) SWIG_fail
;
10769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10770 (arg1
)->Create(arg2
,arg3
);
10772 wxPyEndAllowThreads(__tstate
);
10773 if (PyErr_Occurred()) SWIG_fail
;
10775 Py_INCREF(Py_None
); resultobj
= Py_None
;
10782 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10783 PyObject
*resultobj
;
10784 wxImage
*arg1
= (wxImage
*) 0 ;
10785 PyObject
* obj0
= 0 ;
10786 char *kwnames
[] = {
10787 (char *) "self", NULL
10790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
10791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10792 if (SWIG_arg_fail(1)) SWIG_fail
;
10794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10797 wxPyEndAllowThreads(__tstate
);
10798 if (PyErr_Occurred()) SWIG_fail
;
10800 Py_INCREF(Py_None
); resultobj
= Py_None
;
10807 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10808 PyObject
*resultobj
;
10809 wxImage
*arg1
= (wxImage
*) 0 ;
10812 SwigValueWrapper
<wxImage
> result
;
10813 PyObject
* obj0
= 0 ;
10814 PyObject
* obj1
= 0 ;
10815 PyObject
* obj2
= 0 ;
10816 char *kwnames
[] = {
10817 (char *) "self",(char *) "width",(char *) "height", NULL
10820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10822 if (SWIG_arg_fail(1)) SWIG_fail
;
10824 arg2
= (int)(SWIG_As_int(obj1
));
10825 if (SWIG_arg_fail(2)) SWIG_fail
;
10828 arg3
= (int)(SWIG_As_int(obj2
));
10829 if (SWIG_arg_fail(3)) SWIG_fail
;
10832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10833 result
= (arg1
)->Scale(arg2
,arg3
);
10835 wxPyEndAllowThreads(__tstate
);
10836 if (PyErr_Occurred()) SWIG_fail
;
10839 wxImage
* resultptr
;
10840 resultptr
= new wxImage((wxImage
&)(result
));
10841 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10849 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10850 PyObject
*resultobj
;
10851 wxImage
*arg1
= (wxImage
*) 0 ;
10854 SwigValueWrapper
<wxImage
> result
;
10855 PyObject
* obj0
= 0 ;
10856 PyObject
* obj1
= 0 ;
10857 PyObject
* obj2
= 0 ;
10858 char *kwnames
[] = {
10859 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
10862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10864 if (SWIG_arg_fail(1)) SWIG_fail
;
10866 arg2
= (int)(SWIG_As_int(obj1
));
10867 if (SWIG_arg_fail(2)) SWIG_fail
;
10870 arg3
= (int)(SWIG_As_int(obj2
));
10871 if (SWIG_arg_fail(3)) SWIG_fail
;
10874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10875 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
10877 wxPyEndAllowThreads(__tstate
);
10878 if (PyErr_Occurred()) SWIG_fail
;
10881 wxImage
* resultptr
;
10882 resultptr
= new wxImage((wxImage
&)(result
));
10883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10891 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10892 PyObject
*resultobj
;
10893 wxImage
*arg1
= (wxImage
*) 0 ;
10897 PyObject
* obj0
= 0 ;
10898 PyObject
* obj1
= 0 ;
10899 PyObject
* obj2
= 0 ;
10900 char *kwnames
[] = {
10901 (char *) "self",(char *) "width",(char *) "height", NULL
10904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10906 if (SWIG_arg_fail(1)) SWIG_fail
;
10908 arg2
= (int)(SWIG_As_int(obj1
));
10909 if (SWIG_arg_fail(2)) SWIG_fail
;
10912 arg3
= (int)(SWIG_As_int(obj2
));
10913 if (SWIG_arg_fail(3)) SWIG_fail
;
10916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10918 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
10919 result
= (wxImage
*) &_result_ref
;
10922 wxPyEndAllowThreads(__tstate
);
10923 if (PyErr_Occurred()) SWIG_fail
;
10925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
10932 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10933 PyObject
*resultobj
;
10934 wxImage
*arg1
= (wxImage
*) 0 ;
10937 unsigned char arg4
;
10938 unsigned char arg5
;
10939 unsigned char arg6
;
10940 PyObject
* obj0
= 0 ;
10941 PyObject
* obj1
= 0 ;
10942 PyObject
* obj2
= 0 ;
10943 PyObject
* obj3
= 0 ;
10944 PyObject
* obj4
= 0 ;
10945 PyObject
* obj5
= 0 ;
10946 char *kwnames
[] = {
10947 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
10950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10952 if (SWIG_arg_fail(1)) SWIG_fail
;
10954 arg2
= (int)(SWIG_As_int(obj1
));
10955 if (SWIG_arg_fail(2)) SWIG_fail
;
10958 arg3
= (int)(SWIG_As_int(obj2
));
10959 if (SWIG_arg_fail(3)) SWIG_fail
;
10962 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10963 if (SWIG_arg_fail(4)) SWIG_fail
;
10966 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
10967 if (SWIG_arg_fail(5)) SWIG_fail
;
10970 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
10971 if (SWIG_arg_fail(6)) SWIG_fail
;
10974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10975 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
10977 wxPyEndAllowThreads(__tstate
);
10978 if (PyErr_Occurred()) SWIG_fail
;
10980 Py_INCREF(Py_None
); resultobj
= Py_None
;
10987 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10988 PyObject
*resultobj
;
10989 wxImage
*arg1
= (wxImage
*) 0 ;
10992 unsigned char result
;
10993 PyObject
* obj0
= 0 ;
10994 PyObject
* obj1
= 0 ;
10995 PyObject
* obj2
= 0 ;
10996 char *kwnames
[] = {
10997 (char *) "self",(char *) "x",(char *) "y", NULL
11000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11002 if (SWIG_arg_fail(1)) SWIG_fail
;
11004 arg2
= (int)(SWIG_As_int(obj1
));
11005 if (SWIG_arg_fail(2)) SWIG_fail
;
11008 arg3
= (int)(SWIG_As_int(obj2
));
11009 if (SWIG_arg_fail(3)) SWIG_fail
;
11012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11013 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
11015 wxPyEndAllowThreads(__tstate
);
11016 if (PyErr_Occurred()) SWIG_fail
;
11019 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11027 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11028 PyObject
*resultobj
;
11029 wxImage
*arg1
= (wxImage
*) 0 ;
11032 unsigned char result
;
11033 PyObject
* obj0
= 0 ;
11034 PyObject
* obj1
= 0 ;
11035 PyObject
* obj2
= 0 ;
11036 char *kwnames
[] = {
11037 (char *) "self",(char *) "x",(char *) "y", NULL
11040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11042 if (SWIG_arg_fail(1)) SWIG_fail
;
11044 arg2
= (int)(SWIG_As_int(obj1
));
11045 if (SWIG_arg_fail(2)) SWIG_fail
;
11048 arg3
= (int)(SWIG_As_int(obj2
));
11049 if (SWIG_arg_fail(3)) SWIG_fail
;
11052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11053 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
11055 wxPyEndAllowThreads(__tstate
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11059 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11067 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11068 PyObject
*resultobj
;
11069 wxImage
*arg1
= (wxImage
*) 0 ;
11072 unsigned char result
;
11073 PyObject
* obj0
= 0 ;
11074 PyObject
* obj1
= 0 ;
11075 PyObject
* obj2
= 0 ;
11076 char *kwnames
[] = {
11077 (char *) "self",(char *) "x",(char *) "y", NULL
11080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11082 if (SWIG_arg_fail(1)) SWIG_fail
;
11084 arg2
= (int)(SWIG_As_int(obj1
));
11085 if (SWIG_arg_fail(2)) SWIG_fail
;
11088 arg3
= (int)(SWIG_As_int(obj2
));
11089 if (SWIG_arg_fail(3)) SWIG_fail
;
11092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11093 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
11095 wxPyEndAllowThreads(__tstate
);
11096 if (PyErr_Occurred()) SWIG_fail
;
11099 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11107 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11108 PyObject
*resultobj
;
11109 wxImage
*arg1
= (wxImage
*) 0 ;
11112 unsigned char arg4
;
11113 PyObject
* obj0
= 0 ;
11114 PyObject
* obj1
= 0 ;
11115 PyObject
* obj2
= 0 ;
11116 PyObject
* obj3
= 0 ;
11117 char *kwnames
[] = {
11118 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11123 if (SWIG_arg_fail(1)) SWIG_fail
;
11125 arg2
= (int)(SWIG_As_int(obj1
));
11126 if (SWIG_arg_fail(2)) SWIG_fail
;
11129 arg3
= (int)(SWIG_As_int(obj2
));
11130 if (SWIG_arg_fail(3)) SWIG_fail
;
11133 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11134 if (SWIG_arg_fail(4)) SWIG_fail
;
11137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11138 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11140 wxPyEndAllowThreads(__tstate
);
11141 if (PyErr_Occurred()) SWIG_fail
;
11143 Py_INCREF(Py_None
); resultobj
= Py_None
;
11150 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11151 PyObject
*resultobj
;
11152 wxImage
*arg1
= (wxImage
*) 0 ;
11155 unsigned char result
;
11156 PyObject
* obj0
= 0 ;
11157 PyObject
* obj1
= 0 ;
11158 PyObject
* obj2
= 0 ;
11159 char *kwnames
[] = {
11160 (char *) "self",(char *) "x",(char *) "y", NULL
11163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11165 if (SWIG_arg_fail(1)) SWIG_fail
;
11167 arg2
= (int)(SWIG_As_int(obj1
));
11168 if (SWIG_arg_fail(2)) SWIG_fail
;
11171 arg3
= (int)(SWIG_As_int(obj2
));
11172 if (SWIG_arg_fail(3)) SWIG_fail
;
11175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11176 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
11178 wxPyEndAllowThreads(__tstate
);
11179 if (PyErr_Occurred()) SWIG_fail
;
11182 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11190 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11191 PyObject
*resultobj
;
11192 wxImage
*arg1
= (wxImage
*) 0 ;
11194 PyObject
* obj0
= 0 ;
11195 char *kwnames
[] = {
11196 (char *) "self", NULL
11199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11201 if (SWIG_arg_fail(1)) SWIG_fail
;
11203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11204 result
= (bool)(arg1
)->HasAlpha();
11206 wxPyEndAllowThreads(__tstate
);
11207 if (PyErr_Occurred()) SWIG_fail
;
11210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11218 static PyObject
*_wrap_Image_InitAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11219 PyObject
*resultobj
;
11220 wxImage
*arg1
= (wxImage
*) 0 ;
11221 PyObject
* obj0
= 0 ;
11222 char *kwnames
[] = {
11223 (char *) "self", NULL
11226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InitAlpha",kwnames
,&obj0
)) goto fail
;
11227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11228 if (SWIG_arg_fail(1)) SWIG_fail
;
11230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11231 (arg1
)->InitAlpha();
11233 wxPyEndAllowThreads(__tstate
);
11234 if (PyErr_Occurred()) SWIG_fail
;
11236 Py_INCREF(Py_None
); resultobj
= Py_None
;
11243 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11244 PyObject
*resultobj
;
11245 wxImage
*arg1
= (wxImage
*) 0 ;
11246 byte
*arg2
= (byte
*) 0 ;
11247 byte
*arg3
= (byte
*) 0 ;
11248 byte
*arg4
= (byte
*) 0 ;
11249 byte arg5
= (byte
) 0 ;
11250 byte arg6
= (byte
) 0 ;
11251 byte arg7
= (byte
) 0 ;
11259 PyObject
* obj0
= 0 ;
11260 PyObject
* obj1
= 0 ;
11261 PyObject
* obj2
= 0 ;
11262 PyObject
* obj3
= 0 ;
11263 char *kwnames
[] = {
11264 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11267 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11268 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11269 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11272 if (SWIG_arg_fail(1)) SWIG_fail
;
11275 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11276 if (SWIG_arg_fail(5)) SWIG_fail
;
11281 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11282 if (SWIG_arg_fail(6)) SWIG_fail
;
11287 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11288 if (SWIG_arg_fail(7)) SWIG_fail
;
11292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11293 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11295 wxPyEndAllowThreads(__tstate
);
11296 if (PyErr_Occurred()) SWIG_fail
;
11299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11301 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11302 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
11303 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11304 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
11305 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11306 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
11313 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11314 PyObject
*resultobj
;
11315 wxImage
*arg1
= (wxImage
*) 0 ;
11316 byte arg2
= (byte
) 128 ;
11318 PyObject
* obj0
= 0 ;
11319 PyObject
* obj1
= 0 ;
11320 char *kwnames
[] = {
11321 (char *) "self",(char *) "threshold", NULL
11324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11326 if (SWIG_arg_fail(1)) SWIG_fail
;
11329 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11330 if (SWIG_arg_fail(2)) SWIG_fail
;
11334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11335 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
11337 wxPyEndAllowThreads(__tstate
);
11338 if (PyErr_Occurred()) SWIG_fail
;
11341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11349 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11350 PyObject
*resultobj
;
11351 wxImage
*arg1
= (wxImage
*) 0 ;
11352 unsigned char arg2
;
11353 unsigned char arg3
;
11354 unsigned char arg4
;
11356 PyObject
* obj0
= 0 ;
11357 PyObject
* obj1
= 0 ;
11358 PyObject
* obj2
= 0 ;
11359 PyObject
* obj3
= 0 ;
11360 char *kwnames
[] = {
11361 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11366 if (SWIG_arg_fail(1)) SWIG_fail
;
11368 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
11369 if (SWIG_arg_fail(2)) SWIG_fail
;
11372 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11373 if (SWIG_arg_fail(3)) SWIG_fail
;
11376 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11377 if (SWIG_arg_fail(4)) SWIG_fail
;
11380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11381 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
11383 wxPyEndAllowThreads(__tstate
);
11384 if (PyErr_Occurred()) SWIG_fail
;
11387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11395 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11396 PyObject
*resultobj
;
11397 wxImage
*arg1
= (wxImage
*) 0 ;
11398 wxImage
*arg2
= 0 ;
11403 PyObject
* obj0
= 0 ;
11404 PyObject
* obj1
= 0 ;
11405 PyObject
* obj2
= 0 ;
11406 PyObject
* obj3
= 0 ;
11407 PyObject
* obj4
= 0 ;
11408 char *kwnames
[] = {
11409 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11414 if (SWIG_arg_fail(1)) SWIG_fail
;
11416 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11417 if (SWIG_arg_fail(2)) SWIG_fail
;
11418 if (arg2
== NULL
) {
11419 SWIG_null_ref("wxImage");
11421 if (SWIG_arg_fail(2)) SWIG_fail
;
11424 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11425 if (SWIG_arg_fail(3)) SWIG_fail
;
11428 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11429 if (SWIG_arg_fail(4)) SWIG_fail
;
11432 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11433 if (SWIG_arg_fail(5)) SWIG_fail
;
11436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11437 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
11439 wxPyEndAllowThreads(__tstate
);
11440 if (PyErr_Occurred()) SWIG_fail
;
11443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11451 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11452 PyObject
*resultobj
;
11453 wxString
*arg1
= 0 ;
11455 bool temp1
= false ;
11456 PyObject
* obj0
= 0 ;
11457 char *kwnames
[] = {
11458 (char *) "name", NULL
11461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
11463 arg1
= wxString_in_helper(obj0
);
11464 if (arg1
== NULL
) SWIG_fail
;
11468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11469 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
11471 wxPyEndAllowThreads(__tstate
);
11472 if (PyErr_Occurred()) SWIG_fail
;
11475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11491 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11492 PyObject
*resultobj
;
11493 wxString
*arg1
= 0 ;
11494 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11496 bool temp1
= false ;
11497 PyObject
* obj0
= 0 ;
11498 PyObject
* obj1
= 0 ;
11499 char *kwnames
[] = {
11500 (char *) "name",(char *) "type", NULL
11503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11505 arg1
= wxString_in_helper(obj0
);
11506 if (arg1
== NULL
) SWIG_fail
;
11511 arg2
= (long)(SWIG_As_long(obj1
));
11512 if (SWIG_arg_fail(2)) SWIG_fail
;
11516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11517 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
11519 wxPyEndAllowThreads(__tstate
);
11520 if (PyErr_Occurred()) SWIG_fail
;
11523 resultobj
= SWIG_From_int((int)(result
));
11539 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11540 PyObject
*resultobj
;
11541 wxImage
*arg1
= (wxImage
*) 0 ;
11542 wxString
*arg2
= 0 ;
11543 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11544 int arg4
= (int) -1 ;
11546 bool temp2
= false ;
11547 PyObject
* obj0
= 0 ;
11548 PyObject
* obj1
= 0 ;
11549 PyObject
* obj2
= 0 ;
11550 PyObject
* obj3
= 0 ;
11551 char *kwnames
[] = {
11552 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11557 if (SWIG_arg_fail(1)) SWIG_fail
;
11559 arg2
= wxString_in_helper(obj1
);
11560 if (arg2
== NULL
) SWIG_fail
;
11565 arg3
= (long)(SWIG_As_long(obj2
));
11566 if (SWIG_arg_fail(3)) SWIG_fail
;
11571 arg4
= (int)(SWIG_As_int(obj3
));
11572 if (SWIG_arg_fail(4)) SWIG_fail
;
11576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11577 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
11579 wxPyEndAllowThreads(__tstate
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11599 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11600 PyObject
*resultobj
;
11601 wxImage
*arg1
= (wxImage
*) 0 ;
11602 wxString
*arg2
= 0 ;
11603 wxString
*arg3
= 0 ;
11604 int arg4
= (int) -1 ;
11606 bool temp2
= false ;
11607 bool temp3
= false ;
11608 PyObject
* obj0
= 0 ;
11609 PyObject
* obj1
= 0 ;
11610 PyObject
* obj2
= 0 ;
11611 PyObject
* obj3
= 0 ;
11612 char *kwnames
[] = {
11613 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11618 if (SWIG_arg_fail(1)) SWIG_fail
;
11620 arg2
= wxString_in_helper(obj1
);
11621 if (arg2
== NULL
) SWIG_fail
;
11625 arg3
= wxString_in_helper(obj2
);
11626 if (arg3
== NULL
) SWIG_fail
;
11631 arg4
= (int)(SWIG_As_int(obj3
));
11632 if (SWIG_arg_fail(4)) SWIG_fail
;
11636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11637 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11639 wxPyEndAllowThreads(__tstate
);
11640 if (PyErr_Occurred()) SWIG_fail
;
11643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11667 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11668 PyObject
*resultobj
;
11669 wxImage
*arg1
= (wxImage
*) 0 ;
11670 wxString
*arg2
= 0 ;
11673 bool temp2
= false ;
11674 PyObject
* obj0
= 0 ;
11675 PyObject
* obj1
= 0 ;
11676 PyObject
* obj2
= 0 ;
11677 char *kwnames
[] = {
11678 (char *) "self",(char *) "name",(char *) "type", NULL
11681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11683 if (SWIG_arg_fail(1)) SWIG_fail
;
11685 arg2
= wxString_in_helper(obj1
);
11686 if (arg2
== NULL
) SWIG_fail
;
11690 arg3
= (int)(SWIG_As_int(obj2
));
11691 if (SWIG_arg_fail(3)) SWIG_fail
;
11694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11695 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
11697 wxPyEndAllowThreads(__tstate
);
11698 if (PyErr_Occurred()) SWIG_fail
;
11701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11717 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11718 PyObject
*resultobj
;
11719 wxImage
*arg1
= (wxImage
*) 0 ;
11720 wxString
*arg2
= 0 ;
11721 wxString
*arg3
= 0 ;
11723 bool temp2
= false ;
11724 bool temp3
= false ;
11725 PyObject
* obj0
= 0 ;
11726 PyObject
* obj1
= 0 ;
11727 PyObject
* obj2
= 0 ;
11728 char *kwnames
[] = {
11729 (char *) "self",(char *) "name",(char *) "mimetype", NULL
11732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11734 if (SWIG_arg_fail(1)) SWIG_fail
;
11736 arg2
= wxString_in_helper(obj1
);
11737 if (arg2
== NULL
) SWIG_fail
;
11741 arg3
= wxString_in_helper(obj2
);
11742 if (arg3
== NULL
) SWIG_fail
;
11746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11747 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11749 wxPyEndAllowThreads(__tstate
);
11750 if (PyErr_Occurred()) SWIG_fail
;
11753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11777 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11778 PyObject
*resultobj
;
11779 wxInputStream
*arg1
= 0 ;
11781 wxPyInputStream
*temp1
;
11783 PyObject
* obj0
= 0 ;
11784 char *kwnames
[] = {
11785 (char *) "stream", NULL
11788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
11790 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
11791 arg1
= temp1
->m_wxis
;
11794 PyErr_Clear(); // clear the failure of the wxPyConvert above
11795 arg1
= wxPyCBInputStream_create(obj0
, false);
11796 if (arg1
== NULL
) {
11797 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
11804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11805 result
= (bool)wxImage::CanRead(*arg1
);
11807 wxPyEndAllowThreads(__tstate
);
11808 if (PyErr_Occurred()) SWIG_fail
;
11811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11814 if (created1
) delete arg1
;
11819 if (created1
) delete arg1
;
11825 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11826 PyObject
*resultobj
;
11827 wxImage
*arg1
= (wxImage
*) 0 ;
11828 wxInputStream
*arg2
= 0 ;
11829 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11830 int arg4
= (int) -1 ;
11832 wxPyInputStream
*temp2
;
11834 PyObject
* obj0
= 0 ;
11835 PyObject
* obj1
= 0 ;
11836 PyObject
* obj2
= 0 ;
11837 PyObject
* obj3
= 0 ;
11838 char *kwnames
[] = {
11839 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
11842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11844 if (SWIG_arg_fail(1)) SWIG_fail
;
11846 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
11847 arg2
= temp2
->m_wxis
;
11850 PyErr_Clear(); // clear the failure of the wxPyConvert above
11851 arg2
= wxPyCBInputStream_create(obj1
, false);
11852 if (arg2
== NULL
) {
11853 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
11861 arg3
= (long)(SWIG_As_long(obj2
));
11862 if (SWIG_arg_fail(3)) SWIG_fail
;
11867 arg4
= (int)(SWIG_As_int(obj3
));
11868 if (SWIG_arg_fail(4)) SWIG_fail
;
11872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11873 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
11875 wxPyEndAllowThreads(__tstate
);
11876 if (PyErr_Occurred()) SWIG_fail
;
11879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11882 if (created2
) delete arg2
;
11887 if (created2
) delete arg2
;
11893 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11894 PyObject
*resultobj
;
11895 wxImage
*arg1
= (wxImage
*) 0 ;
11896 wxInputStream
*arg2
= 0 ;
11897 wxString
*arg3
= 0 ;
11898 int arg4
= (int) -1 ;
11900 wxPyInputStream
*temp2
;
11902 bool temp3
= false ;
11903 PyObject
* obj0
= 0 ;
11904 PyObject
* obj1
= 0 ;
11905 PyObject
* obj2
= 0 ;
11906 PyObject
* obj3
= 0 ;
11907 char *kwnames
[] = {
11908 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
11911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11913 if (SWIG_arg_fail(1)) SWIG_fail
;
11915 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
11916 arg2
= temp2
->m_wxis
;
11919 PyErr_Clear(); // clear the failure of the wxPyConvert above
11920 arg2
= wxPyCBInputStream_create(obj1
, false);
11921 if (arg2
== NULL
) {
11922 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
11929 arg3
= wxString_in_helper(obj2
);
11930 if (arg3
== NULL
) SWIG_fail
;
11935 arg4
= (int)(SWIG_As_int(obj3
));
11936 if (SWIG_arg_fail(4)) SWIG_fail
;
11940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11941 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
11943 wxPyEndAllowThreads(__tstate
);
11944 if (PyErr_Occurred()) SWIG_fail
;
11947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11950 if (created2
) delete arg2
;
11959 if (created2
) delete arg2
;
11969 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11970 PyObject
*resultobj
;
11971 wxImage
*arg1
= (wxImage
*) 0 ;
11973 PyObject
* obj0
= 0 ;
11974 char *kwnames
[] = {
11975 (char *) "self", NULL
11978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
11979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11980 if (SWIG_arg_fail(1)) SWIG_fail
;
11982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11983 result
= (bool)(arg1
)->Ok();
11985 wxPyEndAllowThreads(__tstate
);
11986 if (PyErr_Occurred()) SWIG_fail
;
11989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11997 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11998 PyObject
*resultobj
;
11999 wxImage
*arg1
= (wxImage
*) 0 ;
12001 PyObject
* obj0
= 0 ;
12002 char *kwnames
[] = {
12003 (char *) "self", NULL
12006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
12007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12008 if (SWIG_arg_fail(1)) SWIG_fail
;
12010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12011 result
= (int)(arg1
)->GetWidth();
12013 wxPyEndAllowThreads(__tstate
);
12014 if (PyErr_Occurred()) SWIG_fail
;
12017 resultobj
= SWIG_From_int((int)(result
));
12025 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12026 PyObject
*resultobj
;
12027 wxImage
*arg1
= (wxImage
*) 0 ;
12029 PyObject
* obj0
= 0 ;
12030 char *kwnames
[] = {
12031 (char *) "self", NULL
12034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12036 if (SWIG_arg_fail(1)) SWIG_fail
;
12038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12039 result
= (int)(arg1
)->GetHeight();
12041 wxPyEndAllowThreads(__tstate
);
12042 if (PyErr_Occurred()) SWIG_fail
;
12045 resultobj
= SWIG_From_int((int)(result
));
12053 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12054 PyObject
*resultobj
;
12055 wxImage
*arg1
= (wxImage
*) 0 ;
12057 PyObject
* obj0
= 0 ;
12058 char *kwnames
[] = {
12059 (char *) "self", NULL
12062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12064 if (SWIG_arg_fail(1)) SWIG_fail
;
12066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12067 result
= wxImage_GetSize(arg1
);
12069 wxPyEndAllowThreads(__tstate
);
12070 if (PyErr_Occurred()) SWIG_fail
;
12073 wxSize
* resultptr
;
12074 resultptr
= new wxSize((wxSize
&)(result
));
12075 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12083 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12084 PyObject
*resultobj
;
12085 wxImage
*arg1
= (wxImage
*) 0 ;
12087 SwigValueWrapper
<wxImage
> result
;
12089 PyObject
* obj0
= 0 ;
12090 PyObject
* obj1
= 0 ;
12091 char *kwnames
[] = {
12092 (char *) "self",(char *) "rect", NULL
12095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12097 if (SWIG_arg_fail(1)) SWIG_fail
;
12100 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12104 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12106 wxPyEndAllowThreads(__tstate
);
12107 if (PyErr_Occurred()) SWIG_fail
;
12110 wxImage
* resultptr
;
12111 resultptr
= new wxImage((wxImage
&)(result
));
12112 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12120 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12121 PyObject
*resultobj
;
12122 wxImage
*arg1
= (wxImage
*) 0 ;
12123 SwigValueWrapper
<wxImage
> result
;
12124 PyObject
* obj0
= 0 ;
12125 char *kwnames
[] = {
12126 (char *) "self", NULL
12129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
12130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12131 if (SWIG_arg_fail(1)) SWIG_fail
;
12133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12134 result
= (arg1
)->Copy();
12136 wxPyEndAllowThreads(__tstate
);
12137 if (PyErr_Occurred()) SWIG_fail
;
12140 wxImage
* resultptr
;
12141 resultptr
= new wxImage((wxImage
&)(result
));
12142 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12150 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12151 PyObject
*resultobj
;
12152 wxImage
*arg1
= (wxImage
*) 0 ;
12153 wxImage
*arg2
= 0 ;
12156 PyObject
* obj0
= 0 ;
12157 PyObject
* obj1
= 0 ;
12158 PyObject
* obj2
= 0 ;
12159 PyObject
* obj3
= 0 ;
12160 char *kwnames
[] = {
12161 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12166 if (SWIG_arg_fail(1)) SWIG_fail
;
12168 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12169 if (SWIG_arg_fail(2)) SWIG_fail
;
12170 if (arg2
== NULL
) {
12171 SWIG_null_ref("wxImage");
12173 if (SWIG_arg_fail(2)) SWIG_fail
;
12176 arg3
= (int)(SWIG_As_int(obj2
));
12177 if (SWIG_arg_fail(3)) SWIG_fail
;
12180 arg4
= (int)(SWIG_As_int(obj3
));
12181 if (SWIG_arg_fail(4)) SWIG_fail
;
12184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12185 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12187 wxPyEndAllowThreads(__tstate
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12190 Py_INCREF(Py_None
); resultobj
= Py_None
;
12197 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12198 PyObject
*resultobj
;
12199 wxImage
*arg1
= (wxImage
*) 0 ;
12201 PyObject
* obj0
= 0 ;
12202 char *kwnames
[] = {
12203 (char *) "self", NULL
12206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
12207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12208 if (SWIG_arg_fail(1)) SWIG_fail
;
12210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12211 result
= (PyObject
*)wxImage_GetData(arg1
);
12213 wxPyEndAllowThreads(__tstate
);
12214 if (PyErr_Occurred()) SWIG_fail
;
12216 resultobj
= result
;
12223 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12224 PyObject
*resultobj
;
12225 wxImage
*arg1
= (wxImage
*) 0 ;
12226 PyObject
*arg2
= (PyObject
*) 0 ;
12227 PyObject
* obj0
= 0 ;
12228 PyObject
* obj1
= 0 ;
12229 char *kwnames
[] = {
12230 (char *) "self",(char *) "data", NULL
12233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12235 if (SWIG_arg_fail(1)) SWIG_fail
;
12238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12239 wxImage_SetData(arg1
,arg2
);
12241 wxPyEndAllowThreads(__tstate
);
12242 if (PyErr_Occurred()) SWIG_fail
;
12244 Py_INCREF(Py_None
); resultobj
= Py_None
;
12251 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12252 PyObject
*resultobj
;
12253 wxImage
*arg1
= (wxImage
*) 0 ;
12255 PyObject
* obj0
= 0 ;
12256 char *kwnames
[] = {
12257 (char *) "self", NULL
12260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
12261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12262 if (SWIG_arg_fail(1)) SWIG_fail
;
12264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12265 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
12267 wxPyEndAllowThreads(__tstate
);
12268 if (PyErr_Occurred()) SWIG_fail
;
12270 resultobj
= result
;
12277 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12278 PyObject
*resultobj
;
12279 wxImage
*arg1
= (wxImage
*) 0 ;
12280 PyObject
*arg2
= (PyObject
*) 0 ;
12281 PyObject
* obj0
= 0 ;
12282 PyObject
* obj1
= 0 ;
12283 char *kwnames
[] = {
12284 (char *) "self",(char *) "data", NULL
12287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12289 if (SWIG_arg_fail(1)) SWIG_fail
;
12292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12293 wxImage_SetDataBuffer(arg1
,arg2
);
12295 wxPyEndAllowThreads(__tstate
);
12296 if (PyErr_Occurred()) SWIG_fail
;
12298 Py_INCREF(Py_None
); resultobj
= Py_None
;
12305 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12306 PyObject
*resultobj
;
12307 wxImage
*arg1
= (wxImage
*) 0 ;
12309 PyObject
* obj0
= 0 ;
12310 char *kwnames
[] = {
12311 (char *) "self", NULL
12314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
12315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12316 if (SWIG_arg_fail(1)) SWIG_fail
;
12318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12319 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
12321 wxPyEndAllowThreads(__tstate
);
12322 if (PyErr_Occurred()) SWIG_fail
;
12324 resultobj
= result
;
12331 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12332 PyObject
*resultobj
;
12333 wxImage
*arg1
= (wxImage
*) 0 ;
12334 PyObject
*arg2
= (PyObject
*) 0 ;
12335 PyObject
* obj0
= 0 ;
12336 PyObject
* obj1
= 0 ;
12337 char *kwnames
[] = {
12338 (char *) "self",(char *) "data", NULL
12341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
12342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12343 if (SWIG_arg_fail(1)) SWIG_fail
;
12346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12347 wxImage_SetAlphaData(arg1
,arg2
);
12349 wxPyEndAllowThreads(__tstate
);
12350 if (PyErr_Occurred()) SWIG_fail
;
12352 Py_INCREF(Py_None
); resultobj
= Py_None
;
12359 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12360 PyObject
*resultobj
;
12361 wxImage
*arg1
= (wxImage
*) 0 ;
12363 PyObject
* obj0
= 0 ;
12364 char *kwnames
[] = {
12365 (char *) "self", NULL
12368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
12369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12370 if (SWIG_arg_fail(1)) SWIG_fail
;
12372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12373 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
12375 wxPyEndAllowThreads(__tstate
);
12376 if (PyErr_Occurred()) SWIG_fail
;
12378 resultobj
= result
;
12385 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12386 PyObject
*resultobj
;
12387 wxImage
*arg1
= (wxImage
*) 0 ;
12388 PyObject
*arg2
= (PyObject
*) 0 ;
12389 PyObject
* obj0
= 0 ;
12390 PyObject
* obj1
= 0 ;
12391 char *kwnames
[] = {
12392 (char *) "self",(char *) "data", NULL
12395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12397 if (SWIG_arg_fail(1)) SWIG_fail
;
12400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12401 wxImage_SetAlphaBuffer(arg1
,arg2
);
12403 wxPyEndAllowThreads(__tstate
);
12404 if (PyErr_Occurred()) SWIG_fail
;
12406 Py_INCREF(Py_None
); resultobj
= Py_None
;
12413 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12414 PyObject
*resultobj
;
12415 wxImage
*arg1
= (wxImage
*) 0 ;
12416 unsigned char arg2
;
12417 unsigned char arg3
;
12418 unsigned char arg4
;
12419 PyObject
* obj0
= 0 ;
12420 PyObject
* obj1
= 0 ;
12421 PyObject
* obj2
= 0 ;
12422 PyObject
* obj3
= 0 ;
12423 char *kwnames
[] = {
12424 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12429 if (SWIG_arg_fail(1)) SWIG_fail
;
12431 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12432 if (SWIG_arg_fail(2)) SWIG_fail
;
12435 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12436 if (SWIG_arg_fail(3)) SWIG_fail
;
12439 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12440 if (SWIG_arg_fail(4)) SWIG_fail
;
12443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12444 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
12446 wxPyEndAllowThreads(__tstate
);
12447 if (PyErr_Occurred()) SWIG_fail
;
12449 Py_INCREF(Py_None
); resultobj
= Py_None
;
12456 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12457 PyObject
*resultobj
;
12458 wxImage
*arg1
= (wxImage
*) 0 ;
12459 unsigned char result
;
12460 PyObject
* obj0
= 0 ;
12461 char *kwnames
[] = {
12462 (char *) "self", NULL
12465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
12466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12467 if (SWIG_arg_fail(1)) SWIG_fail
;
12469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12470 result
= (unsigned char)(arg1
)->GetMaskRed();
12472 wxPyEndAllowThreads(__tstate
);
12473 if (PyErr_Occurred()) SWIG_fail
;
12476 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12484 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12485 PyObject
*resultobj
;
12486 wxImage
*arg1
= (wxImage
*) 0 ;
12487 unsigned char result
;
12488 PyObject
* obj0
= 0 ;
12489 char *kwnames
[] = {
12490 (char *) "self", NULL
12493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
12494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12495 if (SWIG_arg_fail(1)) SWIG_fail
;
12497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 result
= (unsigned char)(arg1
)->GetMaskGreen();
12500 wxPyEndAllowThreads(__tstate
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12504 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12512 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12513 PyObject
*resultobj
;
12514 wxImage
*arg1
= (wxImage
*) 0 ;
12515 unsigned char result
;
12516 PyObject
* obj0
= 0 ;
12517 char *kwnames
[] = {
12518 (char *) "self", NULL
12521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
12522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12523 if (SWIG_arg_fail(1)) SWIG_fail
;
12525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12526 result
= (unsigned char)(arg1
)->GetMaskBlue();
12528 wxPyEndAllowThreads(__tstate
);
12529 if (PyErr_Occurred()) SWIG_fail
;
12532 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12540 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12541 PyObject
*resultobj
;
12542 wxImage
*arg1
= (wxImage
*) 0 ;
12543 bool arg2
= (bool) true ;
12544 PyObject
* obj0
= 0 ;
12545 PyObject
* obj1
= 0 ;
12546 char *kwnames
[] = {
12547 (char *) "self",(char *) "mask", NULL
12550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
12551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12552 if (SWIG_arg_fail(1)) SWIG_fail
;
12555 arg2
= (bool)(SWIG_As_bool(obj1
));
12556 if (SWIG_arg_fail(2)) SWIG_fail
;
12560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12561 (arg1
)->SetMask(arg2
);
12563 wxPyEndAllowThreads(__tstate
);
12564 if (PyErr_Occurred()) SWIG_fail
;
12566 Py_INCREF(Py_None
); resultobj
= Py_None
;
12573 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12574 PyObject
*resultobj
;
12575 wxImage
*arg1
= (wxImage
*) 0 ;
12577 PyObject
* obj0
= 0 ;
12578 char *kwnames
[] = {
12579 (char *) "self", NULL
12582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
12583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12584 if (SWIG_arg_fail(1)) SWIG_fail
;
12586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12587 result
= (bool)(arg1
)->HasMask();
12589 wxPyEndAllowThreads(__tstate
);
12590 if (PyErr_Occurred()) SWIG_fail
;
12593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12601 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12602 PyObject
*resultobj
;
12603 wxImage
*arg1
= (wxImage
*) 0 ;
12605 wxPoint
*arg3
= 0 ;
12606 bool arg4
= (bool) true ;
12607 wxPoint
*arg5
= (wxPoint
*) NULL
;
12608 SwigValueWrapper
<wxImage
> result
;
12610 PyObject
* obj0
= 0 ;
12611 PyObject
* obj1
= 0 ;
12612 PyObject
* obj2
= 0 ;
12613 PyObject
* obj3
= 0 ;
12614 PyObject
* obj4
= 0 ;
12615 char *kwnames
[] = {
12616 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
12619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12621 if (SWIG_arg_fail(1)) SWIG_fail
;
12623 arg2
= (double)(SWIG_As_double(obj1
));
12624 if (SWIG_arg_fail(2)) SWIG_fail
;
12628 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12632 arg4
= (bool)(SWIG_As_bool(obj3
));
12633 if (SWIG_arg_fail(4)) SWIG_fail
;
12637 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
12638 if (SWIG_arg_fail(5)) SWIG_fail
;
12641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12642 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
12644 wxPyEndAllowThreads(__tstate
);
12645 if (PyErr_Occurred()) SWIG_fail
;
12648 wxImage
* resultptr
;
12649 resultptr
= new wxImage((wxImage
&)(result
));
12650 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12658 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12659 PyObject
*resultobj
;
12660 wxImage
*arg1
= (wxImage
*) 0 ;
12661 bool arg2
= (bool) true ;
12662 SwigValueWrapper
<wxImage
> result
;
12663 PyObject
* obj0
= 0 ;
12664 PyObject
* obj1
= 0 ;
12665 char *kwnames
[] = {
12666 (char *) "self",(char *) "clockwise", NULL
12669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
12670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12671 if (SWIG_arg_fail(1)) SWIG_fail
;
12674 arg2
= (bool)(SWIG_As_bool(obj1
));
12675 if (SWIG_arg_fail(2)) SWIG_fail
;
12679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12680 result
= (arg1
)->Rotate90(arg2
);
12682 wxPyEndAllowThreads(__tstate
);
12683 if (PyErr_Occurred()) SWIG_fail
;
12686 wxImage
* resultptr
;
12687 resultptr
= new wxImage((wxImage
&)(result
));
12688 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12696 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12697 PyObject
*resultobj
;
12698 wxImage
*arg1
= (wxImage
*) 0 ;
12699 bool arg2
= (bool) true ;
12700 SwigValueWrapper
<wxImage
> result
;
12701 PyObject
* obj0
= 0 ;
12702 PyObject
* obj1
= 0 ;
12703 char *kwnames
[] = {
12704 (char *) "self",(char *) "horizontally", NULL
12707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
12708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12709 if (SWIG_arg_fail(1)) SWIG_fail
;
12712 arg2
= (bool)(SWIG_As_bool(obj1
));
12713 if (SWIG_arg_fail(2)) SWIG_fail
;
12717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12718 result
= (arg1
)->Mirror(arg2
);
12720 wxPyEndAllowThreads(__tstate
);
12721 if (PyErr_Occurred()) SWIG_fail
;
12724 wxImage
* resultptr
;
12725 resultptr
= new wxImage((wxImage
&)(result
));
12726 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12734 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12735 PyObject
*resultobj
;
12736 wxImage
*arg1
= (wxImage
*) 0 ;
12737 unsigned char arg2
;
12738 unsigned char arg3
;
12739 unsigned char arg4
;
12740 unsigned char arg5
;
12741 unsigned char arg6
;
12742 unsigned char arg7
;
12743 PyObject
* obj0
= 0 ;
12744 PyObject
* obj1
= 0 ;
12745 PyObject
* obj2
= 0 ;
12746 PyObject
* obj3
= 0 ;
12747 PyObject
* obj4
= 0 ;
12748 PyObject
* obj5
= 0 ;
12749 PyObject
* obj6
= 0 ;
12750 char *kwnames
[] = {
12751 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
12754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12756 if (SWIG_arg_fail(1)) SWIG_fail
;
12758 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12759 if (SWIG_arg_fail(2)) SWIG_fail
;
12762 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12763 if (SWIG_arg_fail(3)) SWIG_fail
;
12766 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12767 if (SWIG_arg_fail(4)) SWIG_fail
;
12770 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
12771 if (SWIG_arg_fail(5)) SWIG_fail
;
12774 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
12775 if (SWIG_arg_fail(6)) SWIG_fail
;
12778 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj6
));
12779 if (SWIG_arg_fail(7)) SWIG_fail
;
12782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12783 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12785 wxPyEndAllowThreads(__tstate
);
12786 if (PyErr_Occurred()) SWIG_fail
;
12788 Py_INCREF(Py_None
); resultobj
= Py_None
;
12795 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12796 PyObject
*resultobj
;
12797 wxImage
*arg1
= (wxImage
*) 0 ;
12798 unsigned char arg2
;
12799 unsigned char arg3
;
12800 unsigned char arg4
;
12801 SwigValueWrapper
<wxImage
> result
;
12802 PyObject
* obj0
= 0 ;
12803 PyObject
* obj1
= 0 ;
12804 PyObject
* obj2
= 0 ;
12805 PyObject
* obj3
= 0 ;
12806 char *kwnames
[] = {
12807 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12812 if (SWIG_arg_fail(1)) SWIG_fail
;
12814 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12815 if (SWIG_arg_fail(2)) SWIG_fail
;
12818 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12819 if (SWIG_arg_fail(3)) SWIG_fail
;
12822 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12823 if (SWIG_arg_fail(4)) SWIG_fail
;
12826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12827 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
12829 wxPyEndAllowThreads(__tstate
);
12830 if (PyErr_Occurred()) SWIG_fail
;
12833 wxImage
* resultptr
;
12834 resultptr
= new wxImage((wxImage
&)(result
));
12835 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12843 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12844 PyObject
*resultobj
;
12845 wxImage
*arg1
= (wxImage
*) 0 ;
12846 wxString
*arg2
= 0 ;
12847 wxString
*arg3
= 0 ;
12848 bool temp2
= false ;
12849 bool temp3
= false ;
12850 PyObject
* obj0
= 0 ;
12851 PyObject
* obj1
= 0 ;
12852 PyObject
* obj2
= 0 ;
12853 char *kwnames
[] = {
12854 (char *) "self",(char *) "name",(char *) "value", NULL
12857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12859 if (SWIG_arg_fail(1)) SWIG_fail
;
12861 arg2
= wxString_in_helper(obj1
);
12862 if (arg2
== NULL
) SWIG_fail
;
12866 arg3
= wxString_in_helper(obj2
);
12867 if (arg3
== NULL
) SWIG_fail
;
12871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12872 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12874 wxPyEndAllowThreads(__tstate
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12877 Py_INCREF(Py_None
); resultobj
= Py_None
;
12900 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12901 PyObject
*resultobj
;
12902 wxImage
*arg1
= (wxImage
*) 0 ;
12903 wxString
*arg2
= 0 ;
12905 bool temp2
= false ;
12906 PyObject
* obj0
= 0 ;
12907 PyObject
* obj1
= 0 ;
12908 PyObject
* obj2
= 0 ;
12909 char *kwnames
[] = {
12910 (char *) "self",(char *) "name",(char *) "value", NULL
12913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12915 if (SWIG_arg_fail(1)) SWIG_fail
;
12917 arg2
= wxString_in_helper(obj1
);
12918 if (arg2
== NULL
) SWIG_fail
;
12922 arg3
= (int)(SWIG_As_int(obj2
));
12923 if (SWIG_arg_fail(3)) SWIG_fail
;
12926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12927 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
12929 wxPyEndAllowThreads(__tstate
);
12930 if (PyErr_Occurred()) SWIG_fail
;
12932 Py_INCREF(Py_None
); resultobj
= Py_None
;
12947 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12948 PyObject
*resultobj
;
12949 wxImage
*arg1
= (wxImage
*) 0 ;
12950 wxString
*arg2
= 0 ;
12952 bool temp2
= false ;
12953 PyObject
* obj0
= 0 ;
12954 PyObject
* obj1
= 0 ;
12955 char *kwnames
[] = {
12956 (char *) "self",(char *) "name", NULL
12959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
12960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12961 if (SWIG_arg_fail(1)) SWIG_fail
;
12963 arg2
= wxString_in_helper(obj1
);
12964 if (arg2
== NULL
) SWIG_fail
;
12968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12969 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
12971 wxPyEndAllowThreads(__tstate
);
12972 if (PyErr_Occurred()) SWIG_fail
;
12976 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12978 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12995 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12996 PyObject
*resultobj
;
12997 wxImage
*arg1
= (wxImage
*) 0 ;
12998 wxString
*arg2
= 0 ;
13000 bool temp2
= false ;
13001 PyObject
* obj0
= 0 ;
13002 PyObject
* obj1
= 0 ;
13003 char *kwnames
[] = {
13004 (char *) "self",(char *) "name", NULL
13007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13009 if (SWIG_arg_fail(1)) SWIG_fail
;
13011 arg2
= wxString_in_helper(obj1
);
13012 if (arg2
== NULL
) SWIG_fail
;
13016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13017 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
13019 wxPyEndAllowThreads(__tstate
);
13020 if (PyErr_Occurred()) SWIG_fail
;
13023 resultobj
= SWIG_From_int((int)(result
));
13039 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13040 PyObject
*resultobj
;
13041 wxImage
*arg1
= (wxImage
*) 0 ;
13042 wxString
*arg2
= 0 ;
13044 bool temp2
= false ;
13045 PyObject
* obj0
= 0 ;
13046 PyObject
* obj1
= 0 ;
13047 char *kwnames
[] = {
13048 (char *) "self",(char *) "name", NULL
13051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13053 if (SWIG_arg_fail(1)) SWIG_fail
;
13055 arg2
= wxString_in_helper(obj1
);
13056 if (arg2
== NULL
) SWIG_fail
;
13060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13061 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13063 wxPyEndAllowThreads(__tstate
);
13064 if (PyErr_Occurred()) SWIG_fail
;
13067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13083 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13084 PyObject
*resultobj
;
13085 wxImage
*arg1
= (wxImage
*) 0 ;
13086 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13087 unsigned long result
;
13088 PyObject
* obj0
= 0 ;
13089 PyObject
* obj1
= 0 ;
13090 char *kwnames
[] = {
13091 (char *) "self",(char *) "stopafter", NULL
13094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13096 if (SWIG_arg_fail(1)) SWIG_fail
;
13099 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13100 if (SWIG_arg_fail(2)) SWIG_fail
;
13104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13105 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13107 wxPyEndAllowThreads(__tstate
);
13108 if (PyErr_Occurred()) SWIG_fail
;
13111 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13119 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13120 PyObject
*resultobj
;
13121 wxImage
*arg1
= (wxImage
*) 0 ;
13122 wxImageHistogram
*arg2
= 0 ;
13123 unsigned long result
;
13124 PyObject
* obj0
= 0 ;
13125 PyObject
* obj1
= 0 ;
13126 char *kwnames
[] = {
13127 (char *) "self",(char *) "h", NULL
13130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13132 if (SWIG_arg_fail(1)) SWIG_fail
;
13134 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13135 if (SWIG_arg_fail(2)) SWIG_fail
;
13136 if (arg2
== NULL
) {
13137 SWIG_null_ref("wxImageHistogram");
13139 if (SWIG_arg_fail(2)) SWIG_fail
;
13142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13143 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
13145 wxPyEndAllowThreads(__tstate
);
13146 if (PyErr_Occurred()) SWIG_fail
;
13149 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13157 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13158 PyObject
*resultobj
;
13159 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13160 PyObject
* obj0
= 0 ;
13161 char *kwnames
[] = {
13162 (char *) "handler", NULL
13165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
13166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13167 if (SWIG_arg_fail(1)) SWIG_fail
;
13169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13170 wxImage::AddHandler(arg1
);
13172 wxPyEndAllowThreads(__tstate
);
13173 if (PyErr_Occurred()) SWIG_fail
;
13175 Py_INCREF(Py_None
); resultobj
= Py_None
;
13182 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13183 PyObject
*resultobj
;
13184 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13185 PyObject
* obj0
= 0 ;
13186 char *kwnames
[] = {
13187 (char *) "handler", NULL
13190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
13191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13192 if (SWIG_arg_fail(1)) SWIG_fail
;
13194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13195 wxImage::InsertHandler(arg1
);
13197 wxPyEndAllowThreads(__tstate
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13200 Py_INCREF(Py_None
); resultobj
= Py_None
;
13207 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13208 PyObject
*resultobj
;
13209 wxString
*arg1
= 0 ;
13211 bool temp1
= false ;
13212 PyObject
* obj0
= 0 ;
13213 char *kwnames
[] = {
13214 (char *) "name", NULL
13217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
13219 arg1
= wxString_in_helper(obj0
);
13220 if (arg1
== NULL
) SWIG_fail
;
13224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13225 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
13227 wxPyEndAllowThreads(__tstate
);
13228 if (PyErr_Occurred()) SWIG_fail
;
13231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13247 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13248 PyObject
*resultobj
;
13250 char *kwnames
[] = {
13254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
13256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13257 result
= wxImage::GetImageExtWildcard();
13259 wxPyEndAllowThreads(__tstate
);
13260 if (PyErr_Occurred()) SWIG_fail
;
13264 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13266 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13275 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13276 PyObject
*resultobj
;
13277 wxImage
*arg1
= (wxImage
*) 0 ;
13278 int arg2
= (int) -1 ;
13280 PyObject
* obj0
= 0 ;
13281 PyObject
* obj1
= 0 ;
13282 char *kwnames
[] = {
13283 (char *) "self",(char *) "depth", NULL
13286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13288 if (SWIG_arg_fail(1)) SWIG_fail
;
13291 arg2
= (int)(SWIG_As_int(obj1
));
13292 if (SWIG_arg_fail(2)) SWIG_fail
;
13296 if (!wxPyCheckForApp()) SWIG_fail
;
13297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13298 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
13300 wxPyEndAllowThreads(__tstate
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13304 wxBitmap
* resultptr
;
13305 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13306 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13314 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13315 PyObject
*resultobj
;
13316 wxImage
*arg1
= (wxImage
*) 0 ;
13317 unsigned char arg2
;
13318 unsigned char arg3
;
13319 unsigned char arg4
;
13321 PyObject
* obj0
= 0 ;
13322 PyObject
* obj1
= 0 ;
13323 PyObject
* obj2
= 0 ;
13324 PyObject
* obj3
= 0 ;
13325 char *kwnames
[] = {
13326 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13331 if (SWIG_arg_fail(1)) SWIG_fail
;
13333 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13334 if (SWIG_arg_fail(2)) SWIG_fail
;
13337 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13338 if (SWIG_arg_fail(3)) SWIG_fail
;
13341 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13342 if (SWIG_arg_fail(4)) SWIG_fail
;
13345 if (!wxPyCheckForApp()) SWIG_fail
;
13346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13347 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
13349 wxPyEndAllowThreads(__tstate
);
13350 if (PyErr_Occurred()) SWIG_fail
;
13353 wxBitmap
* resultptr
;
13354 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13355 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13363 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
13365 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13366 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
13368 return Py_BuildValue((char *)"");
13370 static int _wrap_NullImage_set(PyObject
*) {
13371 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
13376 static PyObject
*_wrap_NullImage_get(void) {
13379 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
13384 static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject
*) {
13385 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
13390 static PyObject
*_wrap_IMAGE_OPTION_FILENAME_get(void) {
13395 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13397 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13404 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
13405 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13410 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13415 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13417 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13424 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
13425 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13430 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13435 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13437 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13444 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
13445 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13450 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13455 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13457 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13464 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
13465 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13470 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13475 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13477 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13484 static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
13485 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
13490 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
13495 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13497 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13504 static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
13505 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
13510 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
13515 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13517 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13524 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
13525 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
13530 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
13535 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13537 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13544 static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject
*) {
13545 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
13550 static PyObject
*_wrap_IMAGE_OPTION_QUALITY_get(void) {
13555 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
13557 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
13564 static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
13565 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
13570 static PyObject
*_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
13575 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
13577 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
13584 static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
13585 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
13590 static PyObject
*_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
13595 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
13597 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
13604 static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
13605 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
13610 static PyObject
*_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
13615 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
13617 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
13624 static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
13625 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
13630 static PyObject
*_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
13635 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
13637 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
13644 static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
13645 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
13650 static PyObject
*_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) {
13655 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
13657 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
13664 static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
13665 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
13670 static PyObject
*_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) {
13675 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
13677 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
13684 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13685 PyObject
*resultobj
;
13686 wxBMPHandler
*result
;
13687 char *kwnames
[] = {
13691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
13693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13694 result
= (wxBMPHandler
*)new wxBMPHandler();
13696 wxPyEndAllowThreads(__tstate
);
13697 if (PyErr_Occurred()) SWIG_fail
;
13699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
13706 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
13708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13709 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
13711 return Py_BuildValue((char *)"");
13713 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13714 PyObject
*resultobj
;
13715 wxICOHandler
*result
;
13716 char *kwnames
[] = {
13720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
13722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13723 result
= (wxICOHandler
*)new wxICOHandler();
13725 wxPyEndAllowThreads(__tstate
);
13726 if (PyErr_Occurred()) SWIG_fail
;
13728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
13735 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
13737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13738 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
13740 return Py_BuildValue((char *)"");
13742 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13743 PyObject
*resultobj
;
13744 wxCURHandler
*result
;
13745 char *kwnames
[] = {
13749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
13751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13752 result
= (wxCURHandler
*)new wxCURHandler();
13754 wxPyEndAllowThreads(__tstate
);
13755 if (PyErr_Occurred()) SWIG_fail
;
13757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
13764 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
13766 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13767 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
13769 return Py_BuildValue((char *)"");
13771 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13772 PyObject
*resultobj
;
13773 wxANIHandler
*result
;
13774 char *kwnames
[] = {
13778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
13780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13781 result
= (wxANIHandler
*)new wxANIHandler();
13783 wxPyEndAllowThreads(__tstate
);
13784 if (PyErr_Occurred()) SWIG_fail
;
13786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
13793 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
13795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13796 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
13798 return Py_BuildValue((char *)"");
13800 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13801 PyObject
*resultobj
;
13802 wxPNGHandler
*result
;
13803 char *kwnames
[] = {
13807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
13809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13810 result
= (wxPNGHandler
*)new wxPNGHandler();
13812 wxPyEndAllowThreads(__tstate
);
13813 if (PyErr_Occurred()) SWIG_fail
;
13815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
13822 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
13824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13825 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
13827 return Py_BuildValue((char *)"");
13829 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13830 PyObject
*resultobj
;
13831 wxGIFHandler
*result
;
13832 char *kwnames
[] = {
13836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
13838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13839 result
= (wxGIFHandler
*)new wxGIFHandler();
13841 wxPyEndAllowThreads(__tstate
);
13842 if (PyErr_Occurred()) SWIG_fail
;
13844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
13851 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
13853 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13854 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
13856 return Py_BuildValue((char *)"");
13858 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13859 PyObject
*resultobj
;
13860 wxPCXHandler
*result
;
13861 char *kwnames
[] = {
13865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
13867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13868 result
= (wxPCXHandler
*)new wxPCXHandler();
13870 wxPyEndAllowThreads(__tstate
);
13871 if (PyErr_Occurred()) SWIG_fail
;
13873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
13880 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
13882 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13883 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
13885 return Py_BuildValue((char *)"");
13887 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13888 PyObject
*resultobj
;
13889 wxJPEGHandler
*result
;
13890 char *kwnames
[] = {
13894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
13896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13897 result
= (wxJPEGHandler
*)new wxJPEGHandler();
13899 wxPyEndAllowThreads(__tstate
);
13900 if (PyErr_Occurred()) SWIG_fail
;
13902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
13909 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
13911 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13912 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
13914 return Py_BuildValue((char *)"");
13916 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13917 PyObject
*resultobj
;
13918 wxPNMHandler
*result
;
13919 char *kwnames
[] = {
13923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
13925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13926 result
= (wxPNMHandler
*)new wxPNMHandler();
13928 wxPyEndAllowThreads(__tstate
);
13929 if (PyErr_Occurred()) SWIG_fail
;
13931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
13938 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
13940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13941 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
13943 return Py_BuildValue((char *)"");
13945 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13946 PyObject
*resultobj
;
13947 wxXPMHandler
*result
;
13948 char *kwnames
[] = {
13952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
13954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13955 result
= (wxXPMHandler
*)new wxXPMHandler();
13957 wxPyEndAllowThreads(__tstate
);
13958 if (PyErr_Occurred()) SWIG_fail
;
13960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
13967 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
13969 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13970 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
13972 return Py_BuildValue((char *)"");
13974 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13975 PyObject
*resultobj
;
13976 wxTIFFHandler
*result
;
13977 char *kwnames
[] = {
13981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
13983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13984 result
= (wxTIFFHandler
*)new wxTIFFHandler();
13986 wxPyEndAllowThreads(__tstate
);
13987 if (PyErr_Occurred()) SWIG_fail
;
13989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
13996 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
13998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13999 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
14001 return Py_BuildValue((char *)"");
14003 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14004 PyObject
*resultobj
;
14005 wxImage
*arg1
= 0 ;
14006 wxImage
*arg2
= 0 ;
14007 int arg3
= (int) 236 ;
14008 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
14010 PyObject
* obj0
= 0 ;
14011 PyObject
* obj1
= 0 ;
14012 PyObject
* obj2
= 0 ;
14013 PyObject
* obj3
= 0 ;
14014 char *kwnames
[] = {
14015 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
14018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14021 if (SWIG_arg_fail(1)) SWIG_fail
;
14022 if (arg1
== NULL
) {
14023 SWIG_null_ref("wxImage");
14025 if (SWIG_arg_fail(1)) SWIG_fail
;
14028 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14029 if (SWIG_arg_fail(2)) SWIG_fail
;
14030 if (arg2
== NULL
) {
14031 SWIG_null_ref("wxImage");
14033 if (SWIG_arg_fail(2)) SWIG_fail
;
14037 arg3
= (int)(SWIG_As_int(obj2
));
14038 if (SWIG_arg_fail(3)) SWIG_fail
;
14043 arg4
= (int)(SWIG_As_int(obj3
));
14044 if (SWIG_arg_fail(4)) SWIG_fail
;
14048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14049 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
14051 wxPyEndAllowThreads(__tstate
);
14052 if (PyErr_Occurred()) SWIG_fail
;
14055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14063 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
14065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14066 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
14068 return Py_BuildValue((char *)"");
14070 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14071 PyObject
*resultobj
;
14072 wxEvtHandler
*result
;
14073 char *kwnames
[] = {
14077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
14079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14080 result
= (wxEvtHandler
*)new wxEvtHandler();
14082 wxPyEndAllowThreads(__tstate
);
14083 if (PyErr_Occurred()) SWIG_fail
;
14085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
14092 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14093 PyObject
*resultobj
;
14094 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14095 wxEvtHandler
*result
;
14096 PyObject
* obj0
= 0 ;
14097 char *kwnames
[] = {
14098 (char *) "self", NULL
14101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
14102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14103 if (SWIG_arg_fail(1)) SWIG_fail
;
14105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14106 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
14108 wxPyEndAllowThreads(__tstate
);
14109 if (PyErr_Occurred()) SWIG_fail
;
14112 resultobj
= wxPyMake_wxObject(result
, 0);
14120 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14121 PyObject
*resultobj
;
14122 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14123 wxEvtHandler
*result
;
14124 PyObject
* obj0
= 0 ;
14125 char *kwnames
[] = {
14126 (char *) "self", NULL
14129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
14130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14131 if (SWIG_arg_fail(1)) SWIG_fail
;
14133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14134 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
14136 wxPyEndAllowThreads(__tstate
);
14137 if (PyErr_Occurred()) SWIG_fail
;
14140 resultobj
= wxPyMake_wxObject(result
, 0);
14148 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14149 PyObject
*resultobj
;
14150 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14151 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14152 PyObject
* obj0
= 0 ;
14153 PyObject
* obj1
= 0 ;
14154 char *kwnames
[] = {
14155 (char *) "self",(char *) "handler", NULL
14158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14160 if (SWIG_arg_fail(1)) SWIG_fail
;
14161 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14162 if (SWIG_arg_fail(2)) SWIG_fail
;
14164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14165 (arg1
)->SetNextHandler(arg2
);
14167 wxPyEndAllowThreads(__tstate
);
14168 if (PyErr_Occurred()) SWIG_fail
;
14170 Py_INCREF(Py_None
); resultobj
= Py_None
;
14177 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14178 PyObject
*resultobj
;
14179 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14180 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14181 PyObject
* obj0
= 0 ;
14182 PyObject
* obj1
= 0 ;
14183 char *kwnames
[] = {
14184 (char *) "self",(char *) "handler", NULL
14187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14189 if (SWIG_arg_fail(1)) SWIG_fail
;
14190 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14191 if (SWIG_arg_fail(2)) SWIG_fail
;
14193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14194 (arg1
)->SetPreviousHandler(arg2
);
14196 wxPyEndAllowThreads(__tstate
);
14197 if (PyErr_Occurred()) SWIG_fail
;
14199 Py_INCREF(Py_None
); resultobj
= Py_None
;
14206 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14207 PyObject
*resultobj
;
14208 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14210 PyObject
* obj0
= 0 ;
14211 char *kwnames
[] = {
14212 (char *) "self", NULL
14215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
14216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14217 if (SWIG_arg_fail(1)) SWIG_fail
;
14219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14220 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
14222 wxPyEndAllowThreads(__tstate
);
14223 if (PyErr_Occurred()) SWIG_fail
;
14226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14234 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14235 PyObject
*resultobj
;
14236 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14238 PyObject
* obj0
= 0 ;
14239 PyObject
* obj1
= 0 ;
14240 char *kwnames
[] = {
14241 (char *) "self",(char *) "enabled", NULL
14244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
14245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14246 if (SWIG_arg_fail(1)) SWIG_fail
;
14248 arg2
= (bool)(SWIG_As_bool(obj1
));
14249 if (SWIG_arg_fail(2)) SWIG_fail
;
14252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14253 (arg1
)->SetEvtHandlerEnabled(arg2
);
14255 wxPyEndAllowThreads(__tstate
);
14256 if (PyErr_Occurred()) SWIG_fail
;
14258 Py_INCREF(Py_None
); resultobj
= Py_None
;
14265 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14266 PyObject
*resultobj
;
14267 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14268 wxEvent
*arg2
= 0 ;
14270 PyObject
* obj0
= 0 ;
14271 PyObject
* obj1
= 0 ;
14272 char *kwnames
[] = {
14273 (char *) "self",(char *) "event", NULL
14276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14278 if (SWIG_arg_fail(1)) SWIG_fail
;
14280 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14281 if (SWIG_arg_fail(2)) SWIG_fail
;
14282 if (arg2
== NULL
) {
14283 SWIG_null_ref("wxEvent");
14285 if (SWIG_arg_fail(2)) SWIG_fail
;
14288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14289 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
14291 wxPyEndAllowThreads(__tstate
);
14292 if (PyErr_Occurred()) SWIG_fail
;
14295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14303 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14304 PyObject
*resultobj
;
14305 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14306 wxEvent
*arg2
= 0 ;
14307 PyObject
* obj0
= 0 ;
14308 PyObject
* obj1
= 0 ;
14309 char *kwnames
[] = {
14310 (char *) "self",(char *) "event", NULL
14313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14315 if (SWIG_arg_fail(1)) SWIG_fail
;
14317 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14318 if (SWIG_arg_fail(2)) SWIG_fail
;
14319 if (arg2
== NULL
) {
14320 SWIG_null_ref("wxEvent");
14322 if (SWIG_arg_fail(2)) SWIG_fail
;
14325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14326 (arg1
)->AddPendingEvent(*arg2
);
14328 wxPyEndAllowThreads(__tstate
);
14329 if (PyErr_Occurred()) SWIG_fail
;
14331 Py_INCREF(Py_None
); resultobj
= Py_None
;
14338 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14339 PyObject
*resultobj
;
14340 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14341 PyObject
* obj0
= 0 ;
14342 char *kwnames
[] = {
14343 (char *) "self", NULL
14346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
14347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14348 if (SWIG_arg_fail(1)) SWIG_fail
;
14350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14351 (arg1
)->ProcessPendingEvents();
14353 wxPyEndAllowThreads(__tstate
);
14354 if (PyErr_Occurred()) SWIG_fail
;
14356 Py_INCREF(Py_None
); resultobj
= Py_None
;
14363 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14364 PyObject
*resultobj
;
14365 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14369 PyObject
*arg5
= (PyObject
*) 0 ;
14370 PyObject
* obj0
= 0 ;
14371 PyObject
* obj1
= 0 ;
14372 PyObject
* obj2
= 0 ;
14373 PyObject
* obj3
= 0 ;
14374 PyObject
* obj4
= 0 ;
14375 char *kwnames
[] = {
14376 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14381 if (SWIG_arg_fail(1)) SWIG_fail
;
14383 arg2
= (int)(SWIG_As_int(obj1
));
14384 if (SWIG_arg_fail(2)) SWIG_fail
;
14387 arg3
= (int)(SWIG_As_int(obj2
));
14388 if (SWIG_arg_fail(3)) SWIG_fail
;
14391 arg4
= (int)(SWIG_As_int(obj3
));
14392 if (SWIG_arg_fail(4)) SWIG_fail
;
14396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14397 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
14399 wxPyEndAllowThreads(__tstate
);
14400 if (PyErr_Occurred()) SWIG_fail
;
14402 Py_INCREF(Py_None
); resultobj
= Py_None
;
14409 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14410 PyObject
*resultobj
;
14411 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14413 int arg3
= (int) -1 ;
14414 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
14416 PyObject
* obj0
= 0 ;
14417 PyObject
* obj1
= 0 ;
14418 PyObject
* obj2
= 0 ;
14419 PyObject
* obj3
= 0 ;
14420 char *kwnames
[] = {
14421 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14426 if (SWIG_arg_fail(1)) SWIG_fail
;
14428 arg2
= (int)(SWIG_As_int(obj1
));
14429 if (SWIG_arg_fail(2)) SWIG_fail
;
14433 arg3
= (int)(SWIG_As_int(obj2
));
14434 if (SWIG_arg_fail(3)) SWIG_fail
;
14439 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
14440 if (SWIG_arg_fail(4)) SWIG_fail
;
14444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14445 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
14447 wxPyEndAllowThreads(__tstate
);
14448 if (PyErr_Occurred()) SWIG_fail
;
14451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14459 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14460 PyObject
*resultobj
;
14461 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14462 PyObject
*arg2
= (PyObject
*) 0 ;
14463 bool arg3
= (bool) true ;
14464 PyObject
* obj0
= 0 ;
14465 PyObject
* obj1
= 0 ;
14466 PyObject
* obj2
= 0 ;
14467 char *kwnames
[] = {
14468 (char *) "self",(char *) "_self",(char *) "incref", NULL
14471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14473 if (SWIG_arg_fail(1)) SWIG_fail
;
14477 arg3
= (bool)(SWIG_As_bool(obj2
));
14478 if (SWIG_arg_fail(3)) SWIG_fail
;
14482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14483 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
14485 wxPyEndAllowThreads(__tstate
);
14486 if (PyErr_Occurred()) SWIG_fail
;
14488 Py_INCREF(Py_None
); resultobj
= Py_None
;
14495 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
14497 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14498 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
14500 return Py_BuildValue((char *)"");
14502 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14503 PyObject
*resultobj
;
14504 wxEventType result
;
14505 char *kwnames
[] = {
14509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
14511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14512 result
= (wxEventType
)wxNewEventType();
14514 wxPyEndAllowThreads(__tstate
);
14515 if (PyErr_Occurred()) SWIG_fail
;
14518 resultobj
= SWIG_From_int((int)(result
));
14526 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14527 PyObject
*resultobj
;
14528 wxEvent
*arg1
= (wxEvent
*) 0 ;
14529 PyObject
* obj0
= 0 ;
14530 char *kwnames
[] = {
14531 (char *) "self", NULL
14534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
14535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14536 if (SWIG_arg_fail(1)) SWIG_fail
;
14538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14541 wxPyEndAllowThreads(__tstate
);
14542 if (PyErr_Occurred()) SWIG_fail
;
14544 Py_INCREF(Py_None
); resultobj
= Py_None
;
14551 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14552 PyObject
*resultobj
;
14553 wxEvent
*arg1
= (wxEvent
*) 0 ;
14555 PyObject
* obj0
= 0 ;
14556 PyObject
* obj1
= 0 ;
14557 char *kwnames
[] = {
14558 (char *) "self",(char *) "typ", NULL
14561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
14562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14563 if (SWIG_arg_fail(1)) SWIG_fail
;
14565 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
14566 if (SWIG_arg_fail(2)) SWIG_fail
;
14569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14570 (arg1
)->SetEventType(arg2
);
14572 wxPyEndAllowThreads(__tstate
);
14573 if (PyErr_Occurred()) SWIG_fail
;
14575 Py_INCREF(Py_None
); resultobj
= Py_None
;
14582 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14583 PyObject
*resultobj
;
14584 wxEvent
*arg1
= (wxEvent
*) 0 ;
14585 wxEventType result
;
14586 PyObject
* obj0
= 0 ;
14587 char *kwnames
[] = {
14588 (char *) "self", NULL
14591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
14592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14593 if (SWIG_arg_fail(1)) SWIG_fail
;
14595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14596 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
14598 wxPyEndAllowThreads(__tstate
);
14599 if (PyErr_Occurred()) SWIG_fail
;
14602 resultobj
= SWIG_From_int((int)(result
));
14610 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14611 PyObject
*resultobj
;
14612 wxEvent
*arg1
= (wxEvent
*) 0 ;
14614 PyObject
* obj0
= 0 ;
14615 char *kwnames
[] = {
14616 (char *) "self", NULL
14619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
14620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14621 if (SWIG_arg_fail(1)) SWIG_fail
;
14623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14624 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
14626 wxPyEndAllowThreads(__tstate
);
14627 if (PyErr_Occurred()) SWIG_fail
;
14630 resultobj
= wxPyMake_wxObject(result
, 0);
14638 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14639 PyObject
*resultobj
;
14640 wxEvent
*arg1
= (wxEvent
*) 0 ;
14641 wxObject
*arg2
= (wxObject
*) 0 ;
14642 PyObject
* obj0
= 0 ;
14643 PyObject
* obj1
= 0 ;
14644 char *kwnames
[] = {
14645 (char *) "self",(char *) "obj", NULL
14648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
14649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14650 if (SWIG_arg_fail(1)) SWIG_fail
;
14651 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
14652 if (SWIG_arg_fail(2)) SWIG_fail
;
14654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14655 (arg1
)->SetEventObject(arg2
);
14657 wxPyEndAllowThreads(__tstate
);
14658 if (PyErr_Occurred()) SWIG_fail
;
14660 Py_INCREF(Py_None
); resultobj
= Py_None
;
14667 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14668 PyObject
*resultobj
;
14669 wxEvent
*arg1
= (wxEvent
*) 0 ;
14671 PyObject
* obj0
= 0 ;
14672 char *kwnames
[] = {
14673 (char *) "self", NULL
14676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
14677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14678 if (SWIG_arg_fail(1)) SWIG_fail
;
14680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14681 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
14683 wxPyEndAllowThreads(__tstate
);
14684 if (PyErr_Occurred()) SWIG_fail
;
14687 resultobj
= SWIG_From_long((long)(result
));
14695 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14696 PyObject
*resultobj
;
14697 wxEvent
*arg1
= (wxEvent
*) 0 ;
14698 long arg2
= (long) 0 ;
14699 PyObject
* obj0
= 0 ;
14700 PyObject
* obj1
= 0 ;
14701 char *kwnames
[] = {
14702 (char *) "self",(char *) "ts", NULL
14705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
14706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14707 if (SWIG_arg_fail(1)) SWIG_fail
;
14710 arg2
= (long)(SWIG_As_long(obj1
));
14711 if (SWIG_arg_fail(2)) SWIG_fail
;
14715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14716 (arg1
)->SetTimestamp(arg2
);
14718 wxPyEndAllowThreads(__tstate
);
14719 if (PyErr_Occurred()) SWIG_fail
;
14721 Py_INCREF(Py_None
); resultobj
= Py_None
;
14728 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14729 PyObject
*resultobj
;
14730 wxEvent
*arg1
= (wxEvent
*) 0 ;
14732 PyObject
* obj0
= 0 ;
14733 char *kwnames
[] = {
14734 (char *) "self", NULL
14737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
14738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14739 if (SWIG_arg_fail(1)) SWIG_fail
;
14741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14742 result
= (int)((wxEvent
const *)arg1
)->GetId();
14744 wxPyEndAllowThreads(__tstate
);
14745 if (PyErr_Occurred()) SWIG_fail
;
14748 resultobj
= SWIG_From_int((int)(result
));
14756 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14757 PyObject
*resultobj
;
14758 wxEvent
*arg1
= (wxEvent
*) 0 ;
14760 PyObject
* obj0
= 0 ;
14761 PyObject
* obj1
= 0 ;
14762 char *kwnames
[] = {
14763 (char *) "self",(char *) "Id", NULL
14766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
14767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14768 if (SWIG_arg_fail(1)) SWIG_fail
;
14770 arg2
= (int)(SWIG_As_int(obj1
));
14771 if (SWIG_arg_fail(2)) SWIG_fail
;
14774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14775 (arg1
)->SetId(arg2
);
14777 wxPyEndAllowThreads(__tstate
);
14778 if (PyErr_Occurred()) SWIG_fail
;
14780 Py_INCREF(Py_None
); resultobj
= Py_None
;
14787 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14788 PyObject
*resultobj
;
14789 wxEvent
*arg1
= (wxEvent
*) 0 ;
14791 PyObject
* obj0
= 0 ;
14792 char *kwnames
[] = {
14793 (char *) "self", NULL
14796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
14797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14798 if (SWIG_arg_fail(1)) SWIG_fail
;
14800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14801 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
14803 wxPyEndAllowThreads(__tstate
);
14804 if (PyErr_Occurred()) SWIG_fail
;
14807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14815 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14816 PyObject
*resultobj
;
14817 wxEvent
*arg1
= (wxEvent
*) 0 ;
14818 bool arg2
= (bool) true ;
14819 PyObject
* obj0
= 0 ;
14820 PyObject
* obj1
= 0 ;
14821 char *kwnames
[] = {
14822 (char *) "self",(char *) "skip", NULL
14825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
14826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14827 if (SWIG_arg_fail(1)) SWIG_fail
;
14830 arg2
= (bool)(SWIG_As_bool(obj1
));
14831 if (SWIG_arg_fail(2)) SWIG_fail
;
14835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14836 (arg1
)->Skip(arg2
);
14838 wxPyEndAllowThreads(__tstate
);
14839 if (PyErr_Occurred()) SWIG_fail
;
14841 Py_INCREF(Py_None
); resultobj
= Py_None
;
14848 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14849 PyObject
*resultobj
;
14850 wxEvent
*arg1
= (wxEvent
*) 0 ;
14852 PyObject
* obj0
= 0 ;
14853 char *kwnames
[] = {
14854 (char *) "self", NULL
14857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
14858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14859 if (SWIG_arg_fail(1)) SWIG_fail
;
14861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14862 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
14864 wxPyEndAllowThreads(__tstate
);
14865 if (PyErr_Occurred()) SWIG_fail
;
14868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14876 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14877 PyObject
*resultobj
;
14878 wxEvent
*arg1
= (wxEvent
*) 0 ;
14880 PyObject
* obj0
= 0 ;
14881 char *kwnames
[] = {
14882 (char *) "self", NULL
14885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
14886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14887 if (SWIG_arg_fail(1)) SWIG_fail
;
14889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14890 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
14892 wxPyEndAllowThreads(__tstate
);
14893 if (PyErr_Occurred()) SWIG_fail
;
14896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14904 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14905 PyObject
*resultobj
;
14906 wxEvent
*arg1
= (wxEvent
*) 0 ;
14908 PyObject
* obj0
= 0 ;
14909 char *kwnames
[] = {
14910 (char *) "self", NULL
14913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
14914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14915 if (SWIG_arg_fail(1)) SWIG_fail
;
14917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14918 result
= (int)(arg1
)->StopPropagation();
14920 wxPyEndAllowThreads(__tstate
);
14921 if (PyErr_Occurred()) SWIG_fail
;
14924 resultobj
= SWIG_From_int((int)(result
));
14932 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14933 PyObject
*resultobj
;
14934 wxEvent
*arg1
= (wxEvent
*) 0 ;
14936 PyObject
* obj0
= 0 ;
14937 PyObject
* obj1
= 0 ;
14938 char *kwnames
[] = {
14939 (char *) "self",(char *) "propagationLevel", NULL
14942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
14943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14944 if (SWIG_arg_fail(1)) SWIG_fail
;
14946 arg2
= (int)(SWIG_As_int(obj1
));
14947 if (SWIG_arg_fail(2)) SWIG_fail
;
14950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14951 (arg1
)->ResumePropagation(arg2
);
14953 wxPyEndAllowThreads(__tstate
);
14954 if (PyErr_Occurred()) SWIG_fail
;
14956 Py_INCREF(Py_None
); resultobj
= Py_None
;
14963 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14964 PyObject
*resultobj
;
14965 wxEvent
*arg1
= (wxEvent
*) 0 ;
14967 PyObject
* obj0
= 0 ;
14968 char *kwnames
[] = {
14969 (char *) "self", NULL
14972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
14973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14974 if (SWIG_arg_fail(1)) SWIG_fail
;
14976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14977 result
= (wxEvent
*)(arg1
)->Clone();
14979 wxPyEndAllowThreads(__tstate
);
14980 if (PyErr_Occurred()) SWIG_fail
;
14982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
14989 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
14991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14992 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
14994 return Py_BuildValue((char *)"");
14996 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14997 PyObject
*resultobj
;
14998 wxEvent
*arg1
= 0 ;
14999 wxPropagationDisabler
*result
;
15000 PyObject
* obj0
= 0 ;
15001 char *kwnames
[] = {
15002 (char *) "event", NULL
15005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15008 if (SWIG_arg_fail(1)) SWIG_fail
;
15009 if (arg1
== NULL
) {
15010 SWIG_null_ref("wxEvent");
15012 if (SWIG_arg_fail(1)) SWIG_fail
;
15015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15016 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
15018 wxPyEndAllowThreads(__tstate
);
15019 if (PyErr_Occurred()) SWIG_fail
;
15021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
15028 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15029 PyObject
*resultobj
;
15030 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
15031 PyObject
* obj0
= 0 ;
15032 char *kwnames
[] = {
15033 (char *) "self", NULL
15036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
15038 if (SWIG_arg_fail(1)) SWIG_fail
;
15040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15043 wxPyEndAllowThreads(__tstate
);
15044 if (PyErr_Occurred()) SWIG_fail
;
15046 Py_INCREF(Py_None
); resultobj
= Py_None
;
15053 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
15055 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15056 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
15058 return Py_BuildValue((char *)"");
15060 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15061 PyObject
*resultobj
;
15062 wxEvent
*arg1
= 0 ;
15063 wxPropagateOnce
*result
;
15064 PyObject
* obj0
= 0 ;
15065 char *kwnames
[] = {
15066 (char *) "event", NULL
15069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15072 if (SWIG_arg_fail(1)) SWIG_fail
;
15073 if (arg1
== NULL
) {
15074 SWIG_null_ref("wxEvent");
15076 if (SWIG_arg_fail(1)) SWIG_fail
;
15079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15080 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
15082 wxPyEndAllowThreads(__tstate
);
15083 if (PyErr_Occurred()) SWIG_fail
;
15085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
15092 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15093 PyObject
*resultobj
;
15094 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
15095 PyObject
* obj0
= 0 ;
15096 char *kwnames
[] = {
15097 (char *) "self", NULL
15100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
15102 if (SWIG_arg_fail(1)) SWIG_fail
;
15104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15107 wxPyEndAllowThreads(__tstate
);
15108 if (PyErr_Occurred()) SWIG_fail
;
15110 Py_INCREF(Py_None
); resultobj
= Py_None
;
15117 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
15119 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15120 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
15122 return Py_BuildValue((char *)"");
15124 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15125 PyObject
*resultobj
;
15126 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15127 int arg2
= (int) 0 ;
15128 wxCommandEvent
*result
;
15129 PyObject
* obj0
= 0 ;
15130 PyObject
* obj1
= 0 ;
15131 char *kwnames
[] = {
15132 (char *) "commandType",(char *) "winid", NULL
15135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15138 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15139 if (SWIG_arg_fail(1)) SWIG_fail
;
15144 arg2
= (int)(SWIG_As_int(obj1
));
15145 if (SWIG_arg_fail(2)) SWIG_fail
;
15149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15150 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
15152 wxPyEndAllowThreads(__tstate
);
15153 if (PyErr_Occurred()) SWIG_fail
;
15155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
15162 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15163 PyObject
*resultobj
;
15164 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15166 PyObject
* obj0
= 0 ;
15167 char *kwnames
[] = {
15168 (char *) "self", NULL
15171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15173 if (SWIG_arg_fail(1)) SWIG_fail
;
15175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15176 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
15178 wxPyEndAllowThreads(__tstate
);
15179 if (PyErr_Occurred()) SWIG_fail
;
15182 resultobj
= SWIG_From_int((int)(result
));
15190 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15191 PyObject
*resultobj
;
15192 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15193 wxString
*arg2
= 0 ;
15194 bool temp2
= false ;
15195 PyObject
* obj0
= 0 ;
15196 PyObject
* obj1
= 0 ;
15197 char *kwnames
[] = {
15198 (char *) "self",(char *) "s", NULL
15201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
15202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15203 if (SWIG_arg_fail(1)) SWIG_fail
;
15205 arg2
= wxString_in_helper(obj1
);
15206 if (arg2
== NULL
) SWIG_fail
;
15210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15211 (arg1
)->SetString((wxString
const &)*arg2
);
15213 wxPyEndAllowThreads(__tstate
);
15214 if (PyErr_Occurred()) SWIG_fail
;
15216 Py_INCREF(Py_None
); resultobj
= Py_None
;
15231 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15232 PyObject
*resultobj
;
15233 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15235 PyObject
* obj0
= 0 ;
15236 char *kwnames
[] = {
15237 (char *) "self", NULL
15240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
15241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15242 if (SWIG_arg_fail(1)) SWIG_fail
;
15244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15245 result
= ((wxCommandEvent
const *)arg1
)->GetString();
15247 wxPyEndAllowThreads(__tstate
);
15248 if (PyErr_Occurred()) SWIG_fail
;
15252 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15254 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15263 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15264 PyObject
*resultobj
;
15265 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15267 PyObject
* obj0
= 0 ;
15268 char *kwnames
[] = {
15269 (char *) "self", NULL
15272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
15273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15274 if (SWIG_arg_fail(1)) SWIG_fail
;
15276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15277 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
15279 wxPyEndAllowThreads(__tstate
);
15280 if (PyErr_Occurred()) SWIG_fail
;
15283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15291 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15292 PyObject
*resultobj
;
15293 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15295 PyObject
* obj0
= 0 ;
15296 char *kwnames
[] = {
15297 (char *) "self", NULL
15300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
15301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15302 if (SWIG_arg_fail(1)) SWIG_fail
;
15304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15305 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
15307 wxPyEndAllowThreads(__tstate
);
15308 if (PyErr_Occurred()) SWIG_fail
;
15311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15319 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15320 PyObject
*resultobj
;
15321 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15323 PyObject
* obj0
= 0 ;
15324 PyObject
* obj1
= 0 ;
15325 char *kwnames
[] = {
15326 (char *) "self",(char *) "extraLong", NULL
15329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
15330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15331 if (SWIG_arg_fail(1)) SWIG_fail
;
15333 arg2
= (long)(SWIG_As_long(obj1
));
15334 if (SWIG_arg_fail(2)) SWIG_fail
;
15337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15338 (arg1
)->SetExtraLong(arg2
);
15340 wxPyEndAllowThreads(__tstate
);
15341 if (PyErr_Occurred()) SWIG_fail
;
15343 Py_INCREF(Py_None
); resultobj
= Py_None
;
15350 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15351 PyObject
*resultobj
;
15352 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15354 PyObject
* obj0
= 0 ;
15355 char *kwnames
[] = {
15356 (char *) "self", NULL
15359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
15360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15361 if (SWIG_arg_fail(1)) SWIG_fail
;
15363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15364 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
15366 wxPyEndAllowThreads(__tstate
);
15367 if (PyErr_Occurred()) SWIG_fail
;
15370 resultobj
= SWIG_From_long((long)(result
));
15378 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15379 PyObject
*resultobj
;
15380 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15382 PyObject
* obj0
= 0 ;
15383 PyObject
* obj1
= 0 ;
15384 char *kwnames
[] = {
15385 (char *) "self",(char *) "i", NULL
15388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
15389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15390 if (SWIG_arg_fail(1)) SWIG_fail
;
15392 arg2
= (int)(SWIG_As_int(obj1
));
15393 if (SWIG_arg_fail(2)) SWIG_fail
;
15396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15397 (arg1
)->SetInt(arg2
);
15399 wxPyEndAllowThreads(__tstate
);
15400 if (PyErr_Occurred()) SWIG_fail
;
15402 Py_INCREF(Py_None
); resultobj
= Py_None
;
15409 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15410 PyObject
*resultobj
;
15411 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15413 PyObject
* obj0
= 0 ;
15414 char *kwnames
[] = {
15415 (char *) "self", NULL
15418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
15419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15420 if (SWIG_arg_fail(1)) SWIG_fail
;
15422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15423 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
15425 wxPyEndAllowThreads(__tstate
);
15426 if (PyErr_Occurred()) SWIG_fail
;
15429 resultobj
= SWIG_From_long((long)(result
));
15437 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15438 PyObject
*resultobj
;
15439 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15441 PyObject
* obj0
= 0 ;
15442 char *kwnames
[] = {
15443 (char *) "self", NULL
15446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
15447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15448 if (SWIG_arg_fail(1)) SWIG_fail
;
15450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15451 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
15453 wxPyEndAllowThreads(__tstate
);
15454 if (PyErr_Occurred()) SWIG_fail
;
15456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15463 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
15465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15466 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
15468 return Py_BuildValue((char *)"");
15470 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15471 PyObject
*resultobj
;
15472 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15473 int arg2
= (int) 0 ;
15474 wxNotifyEvent
*result
;
15475 PyObject
* obj0
= 0 ;
15476 PyObject
* obj1
= 0 ;
15477 char *kwnames
[] = {
15478 (char *) "commandType",(char *) "winid", NULL
15481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15484 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15485 if (SWIG_arg_fail(1)) SWIG_fail
;
15490 arg2
= (int)(SWIG_As_int(obj1
));
15491 if (SWIG_arg_fail(2)) SWIG_fail
;
15495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15496 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
15498 wxPyEndAllowThreads(__tstate
);
15499 if (PyErr_Occurred()) SWIG_fail
;
15501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
15508 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15509 PyObject
*resultobj
;
15510 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15511 PyObject
* obj0
= 0 ;
15512 char *kwnames
[] = {
15513 (char *) "self", NULL
15516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
15517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15518 if (SWIG_arg_fail(1)) SWIG_fail
;
15520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15523 wxPyEndAllowThreads(__tstate
);
15524 if (PyErr_Occurred()) SWIG_fail
;
15526 Py_INCREF(Py_None
); resultobj
= Py_None
;
15533 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15534 PyObject
*resultobj
;
15535 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15536 PyObject
* obj0
= 0 ;
15537 char *kwnames
[] = {
15538 (char *) "self", NULL
15541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
15542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15543 if (SWIG_arg_fail(1)) SWIG_fail
;
15545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15548 wxPyEndAllowThreads(__tstate
);
15549 if (PyErr_Occurred()) SWIG_fail
;
15551 Py_INCREF(Py_None
); resultobj
= Py_None
;
15558 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15559 PyObject
*resultobj
;
15560 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15562 PyObject
* obj0
= 0 ;
15563 char *kwnames
[] = {
15564 (char *) "self", NULL
15567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
15568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15569 if (SWIG_arg_fail(1)) SWIG_fail
;
15571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15572 result
= (bool)(arg1
)->IsAllowed();
15574 wxPyEndAllowThreads(__tstate
);
15575 if (PyErr_Occurred()) SWIG_fail
;
15578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15586 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
15588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15589 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
15591 return Py_BuildValue((char *)"");
15593 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15594 PyObject
*resultobj
;
15595 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15596 int arg2
= (int) 0 ;
15597 int arg3
= (int) 0 ;
15598 int arg4
= (int) 0 ;
15599 wxScrollEvent
*result
;
15600 PyObject
* obj0
= 0 ;
15601 PyObject
* obj1
= 0 ;
15602 PyObject
* obj2
= 0 ;
15603 PyObject
* obj3
= 0 ;
15604 char *kwnames
[] = {
15605 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
15608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15611 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15612 if (SWIG_arg_fail(1)) SWIG_fail
;
15617 arg2
= (int)(SWIG_As_int(obj1
));
15618 if (SWIG_arg_fail(2)) SWIG_fail
;
15623 arg3
= (int)(SWIG_As_int(obj2
));
15624 if (SWIG_arg_fail(3)) SWIG_fail
;
15629 arg4
= (int)(SWIG_As_int(obj3
));
15630 if (SWIG_arg_fail(4)) SWIG_fail
;
15634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15635 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
15637 wxPyEndAllowThreads(__tstate
);
15638 if (PyErr_Occurred()) SWIG_fail
;
15640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
15647 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15648 PyObject
*resultobj
;
15649 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15651 PyObject
* obj0
= 0 ;
15652 char *kwnames
[] = {
15653 (char *) "self", NULL
15656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
15657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15658 if (SWIG_arg_fail(1)) SWIG_fail
;
15660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15661 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
15663 wxPyEndAllowThreads(__tstate
);
15664 if (PyErr_Occurred()) SWIG_fail
;
15667 resultobj
= SWIG_From_int((int)(result
));
15675 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15676 PyObject
*resultobj
;
15677 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15679 PyObject
* obj0
= 0 ;
15680 char *kwnames
[] = {
15681 (char *) "self", NULL
15684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15686 if (SWIG_arg_fail(1)) SWIG_fail
;
15688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15689 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
15691 wxPyEndAllowThreads(__tstate
);
15692 if (PyErr_Occurred()) SWIG_fail
;
15695 resultobj
= SWIG_From_int((int)(result
));
15703 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15704 PyObject
*resultobj
;
15705 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15707 PyObject
* obj0
= 0 ;
15708 PyObject
* obj1
= 0 ;
15709 char *kwnames
[] = {
15710 (char *) "self",(char *) "orient", NULL
15713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15715 if (SWIG_arg_fail(1)) SWIG_fail
;
15717 arg2
= (int)(SWIG_As_int(obj1
));
15718 if (SWIG_arg_fail(2)) SWIG_fail
;
15721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15722 (arg1
)->SetOrientation(arg2
);
15724 wxPyEndAllowThreads(__tstate
);
15725 if (PyErr_Occurred()) SWIG_fail
;
15727 Py_INCREF(Py_None
); resultobj
= Py_None
;
15734 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15735 PyObject
*resultobj
;
15736 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15738 PyObject
* obj0
= 0 ;
15739 PyObject
* obj1
= 0 ;
15740 char *kwnames
[] = {
15741 (char *) "self",(char *) "pos", NULL
15744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15746 if (SWIG_arg_fail(1)) SWIG_fail
;
15748 arg2
= (int)(SWIG_As_int(obj1
));
15749 if (SWIG_arg_fail(2)) SWIG_fail
;
15752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15753 (arg1
)->SetPosition(arg2
);
15755 wxPyEndAllowThreads(__tstate
);
15756 if (PyErr_Occurred()) SWIG_fail
;
15758 Py_INCREF(Py_None
); resultobj
= Py_None
;
15765 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
15767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15768 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
15770 return Py_BuildValue((char *)"");
15772 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15773 PyObject
*resultobj
;
15774 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15775 int arg2
= (int) 0 ;
15776 int arg3
= (int) 0 ;
15777 wxScrollWinEvent
*result
;
15778 PyObject
* obj0
= 0 ;
15779 PyObject
* obj1
= 0 ;
15780 PyObject
* obj2
= 0 ;
15781 char *kwnames
[] = {
15782 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
15785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15788 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15789 if (SWIG_arg_fail(1)) SWIG_fail
;
15794 arg2
= (int)(SWIG_As_int(obj1
));
15795 if (SWIG_arg_fail(2)) SWIG_fail
;
15800 arg3
= (int)(SWIG_As_int(obj2
));
15801 if (SWIG_arg_fail(3)) SWIG_fail
;
15805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15806 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
15808 wxPyEndAllowThreads(__tstate
);
15809 if (PyErr_Occurred()) SWIG_fail
;
15811 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
15818 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15819 PyObject
*resultobj
;
15820 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15822 PyObject
* obj0
= 0 ;
15823 char *kwnames
[] = {
15824 (char *) "self", NULL
15827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
15828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15829 if (SWIG_arg_fail(1)) SWIG_fail
;
15831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15832 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
15834 wxPyEndAllowThreads(__tstate
);
15835 if (PyErr_Occurred()) SWIG_fail
;
15838 resultobj
= SWIG_From_int((int)(result
));
15846 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15847 PyObject
*resultobj
;
15848 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15850 PyObject
* obj0
= 0 ;
15851 char *kwnames
[] = {
15852 (char *) "self", NULL
15855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15857 if (SWIG_arg_fail(1)) SWIG_fail
;
15859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15860 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
15862 wxPyEndAllowThreads(__tstate
);
15863 if (PyErr_Occurred()) SWIG_fail
;
15866 resultobj
= SWIG_From_int((int)(result
));
15874 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15875 PyObject
*resultobj
;
15876 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15878 PyObject
* obj0
= 0 ;
15879 PyObject
* obj1
= 0 ;
15880 char *kwnames
[] = {
15881 (char *) "self",(char *) "orient", NULL
15884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15886 if (SWIG_arg_fail(1)) SWIG_fail
;
15888 arg2
= (int)(SWIG_As_int(obj1
));
15889 if (SWIG_arg_fail(2)) SWIG_fail
;
15892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15893 (arg1
)->SetOrientation(arg2
);
15895 wxPyEndAllowThreads(__tstate
);
15896 if (PyErr_Occurred()) SWIG_fail
;
15898 Py_INCREF(Py_None
); resultobj
= Py_None
;
15905 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15906 PyObject
*resultobj
;
15907 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15909 PyObject
* obj0
= 0 ;
15910 PyObject
* obj1
= 0 ;
15911 char *kwnames
[] = {
15912 (char *) "self",(char *) "pos", NULL
15915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15917 if (SWIG_arg_fail(1)) SWIG_fail
;
15919 arg2
= (int)(SWIG_As_int(obj1
));
15920 if (SWIG_arg_fail(2)) SWIG_fail
;
15923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15924 (arg1
)->SetPosition(arg2
);
15926 wxPyEndAllowThreads(__tstate
);
15927 if (PyErr_Occurred()) SWIG_fail
;
15929 Py_INCREF(Py_None
); resultobj
= Py_None
;
15936 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
15938 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15939 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
15941 return Py_BuildValue((char *)"");
15943 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15944 PyObject
*resultobj
;
15945 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15946 wxMouseEvent
*result
;
15947 PyObject
* obj0
= 0 ;
15948 char *kwnames
[] = {
15949 (char *) "mouseType", NULL
15952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
15955 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15956 if (SWIG_arg_fail(1)) SWIG_fail
;
15960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15961 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
15963 wxPyEndAllowThreads(__tstate
);
15964 if (PyErr_Occurred()) SWIG_fail
;
15967 resultobj
= wxPyMake_wxObject(result
, 1);
15975 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15976 PyObject
*resultobj
;
15977 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15979 PyObject
* obj0
= 0 ;
15980 char *kwnames
[] = {
15981 (char *) "self", NULL
15984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
15985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15986 if (SWIG_arg_fail(1)) SWIG_fail
;
15988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15989 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
15991 wxPyEndAllowThreads(__tstate
);
15992 if (PyErr_Occurred()) SWIG_fail
;
15995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16003 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16004 PyObject
*resultobj
;
16005 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16006 int arg2
= (int) wxMOUSE_BTN_ANY
;
16008 PyObject
* obj0
= 0 ;
16009 PyObject
* obj1
= 0 ;
16010 char *kwnames
[] = {
16011 (char *) "self",(char *) "but", NULL
16014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16016 if (SWIG_arg_fail(1)) SWIG_fail
;
16019 arg2
= (int)(SWIG_As_int(obj1
));
16020 if (SWIG_arg_fail(2)) SWIG_fail
;
16024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16025 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
16027 wxPyEndAllowThreads(__tstate
);
16028 if (PyErr_Occurred()) SWIG_fail
;
16031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16039 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16040 PyObject
*resultobj
;
16041 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16042 int arg2
= (int) wxMOUSE_BTN_ANY
;
16044 PyObject
* obj0
= 0 ;
16045 PyObject
* obj1
= 0 ;
16046 char *kwnames
[] = {
16047 (char *) "self",(char *) "but", NULL
16050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
16051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16052 if (SWIG_arg_fail(1)) SWIG_fail
;
16055 arg2
= (int)(SWIG_As_int(obj1
));
16056 if (SWIG_arg_fail(2)) SWIG_fail
;
16060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16061 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
16063 wxPyEndAllowThreads(__tstate
);
16064 if (PyErr_Occurred()) SWIG_fail
;
16067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16075 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16076 PyObject
*resultobj
;
16077 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16078 int arg2
= (int) wxMOUSE_BTN_ANY
;
16080 PyObject
* obj0
= 0 ;
16081 PyObject
* obj1
= 0 ;
16082 char *kwnames
[] = {
16083 (char *) "self",(char *) "but", NULL
16086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
16087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16088 if (SWIG_arg_fail(1)) SWIG_fail
;
16091 arg2
= (int)(SWIG_As_int(obj1
));
16092 if (SWIG_arg_fail(2)) SWIG_fail
;
16096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16097 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
16099 wxPyEndAllowThreads(__tstate
);
16100 if (PyErr_Occurred()) SWIG_fail
;
16103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16111 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16112 PyObject
*resultobj
;
16113 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16116 PyObject
* obj0
= 0 ;
16117 PyObject
* obj1
= 0 ;
16118 char *kwnames
[] = {
16119 (char *) "self",(char *) "but", NULL
16122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
16123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16124 if (SWIG_arg_fail(1)) SWIG_fail
;
16126 arg2
= (int)(SWIG_As_int(obj1
));
16127 if (SWIG_arg_fail(2)) SWIG_fail
;
16130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16131 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
16133 wxPyEndAllowThreads(__tstate
);
16134 if (PyErr_Occurred()) SWIG_fail
;
16137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16145 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16146 PyObject
*resultobj
;
16147 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16150 PyObject
* obj0
= 0 ;
16151 PyObject
* obj1
= 0 ;
16152 char *kwnames
[] = {
16153 (char *) "self",(char *) "but", NULL
16156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16158 if (SWIG_arg_fail(1)) SWIG_fail
;
16160 arg2
= (int)(SWIG_As_int(obj1
));
16161 if (SWIG_arg_fail(2)) SWIG_fail
;
16164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16165 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
16167 wxPyEndAllowThreads(__tstate
);
16168 if (PyErr_Occurred()) SWIG_fail
;
16171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16179 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16180 PyObject
*resultobj
;
16181 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16183 PyObject
* obj0
= 0 ;
16184 char *kwnames
[] = {
16185 (char *) "self", NULL
16188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
16189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16190 if (SWIG_arg_fail(1)) SWIG_fail
;
16192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16193 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
16195 wxPyEndAllowThreads(__tstate
);
16196 if (PyErr_Occurred()) SWIG_fail
;
16199 resultobj
= SWIG_From_int((int)(result
));
16207 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16208 PyObject
*resultobj
;
16209 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16211 PyObject
* obj0
= 0 ;
16212 char *kwnames
[] = {
16213 (char *) "self", NULL
16216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
16217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16218 if (SWIG_arg_fail(1)) SWIG_fail
;
16220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16221 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
16223 wxPyEndAllowThreads(__tstate
);
16224 if (PyErr_Occurred()) SWIG_fail
;
16227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16235 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16236 PyObject
*resultobj
;
16237 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16239 PyObject
* obj0
= 0 ;
16240 char *kwnames
[] = {
16241 (char *) "self", NULL
16244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16246 if (SWIG_arg_fail(1)) SWIG_fail
;
16248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16249 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
16251 wxPyEndAllowThreads(__tstate
);
16252 if (PyErr_Occurred()) SWIG_fail
;
16255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16263 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16264 PyObject
*resultobj
;
16265 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16267 PyObject
* obj0
= 0 ;
16268 char *kwnames
[] = {
16269 (char *) "self", NULL
16272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16274 if (SWIG_arg_fail(1)) SWIG_fail
;
16276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16277 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
16279 wxPyEndAllowThreads(__tstate
);
16280 if (PyErr_Occurred()) SWIG_fail
;
16283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16291 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16292 PyObject
*resultobj
;
16293 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16295 PyObject
* obj0
= 0 ;
16296 char *kwnames
[] = {
16297 (char *) "self", NULL
16300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16302 if (SWIG_arg_fail(1)) SWIG_fail
;
16304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16305 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
16307 wxPyEndAllowThreads(__tstate
);
16308 if (PyErr_Occurred()) SWIG_fail
;
16311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16319 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16320 PyObject
*resultobj
;
16321 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16323 PyObject
* obj0
= 0 ;
16324 char *kwnames
[] = {
16325 (char *) "self", NULL
16328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16330 if (SWIG_arg_fail(1)) SWIG_fail
;
16332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16333 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
16335 wxPyEndAllowThreads(__tstate
);
16336 if (PyErr_Occurred()) SWIG_fail
;
16339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16347 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16348 PyObject
*resultobj
;
16349 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16351 PyObject
* obj0
= 0 ;
16352 char *kwnames
[] = {
16353 (char *) "self", NULL
16356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
16357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16358 if (SWIG_arg_fail(1)) SWIG_fail
;
16360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16361 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
16363 wxPyEndAllowThreads(__tstate
);
16364 if (PyErr_Occurred()) SWIG_fail
;
16367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16375 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16376 PyObject
*resultobj
;
16377 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16379 PyObject
* obj0
= 0 ;
16380 char *kwnames
[] = {
16381 (char *) "self", NULL
16384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
16385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16386 if (SWIG_arg_fail(1)) SWIG_fail
;
16388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16389 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
16391 wxPyEndAllowThreads(__tstate
);
16392 if (PyErr_Occurred()) SWIG_fail
;
16395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16403 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16404 PyObject
*resultobj
;
16405 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16407 PyObject
* obj0
= 0 ;
16408 char *kwnames
[] = {
16409 (char *) "self", NULL
16412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
16413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16414 if (SWIG_arg_fail(1)) SWIG_fail
;
16416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16417 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
16419 wxPyEndAllowThreads(__tstate
);
16420 if (PyErr_Occurred()) SWIG_fail
;
16423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16431 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16432 PyObject
*resultobj
;
16433 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16435 PyObject
* obj0
= 0 ;
16436 char *kwnames
[] = {
16437 (char *) "self", NULL
16440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
16441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16442 if (SWIG_arg_fail(1)) SWIG_fail
;
16444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16445 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
16447 wxPyEndAllowThreads(__tstate
);
16448 if (PyErr_Occurred()) SWIG_fail
;
16451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16459 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16460 PyObject
*resultobj
;
16461 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16463 PyObject
* obj0
= 0 ;
16464 char *kwnames
[] = {
16465 (char *) "self", NULL
16468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
16469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16470 if (SWIG_arg_fail(1)) SWIG_fail
;
16472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16473 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
16475 wxPyEndAllowThreads(__tstate
);
16476 if (PyErr_Occurred()) SWIG_fail
;
16479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16487 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16488 PyObject
*resultobj
;
16489 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16491 PyObject
* obj0
= 0 ;
16492 char *kwnames
[] = {
16493 (char *) "self", NULL
16496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
16497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16498 if (SWIG_arg_fail(1)) SWIG_fail
;
16500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16501 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
16503 wxPyEndAllowThreads(__tstate
);
16504 if (PyErr_Occurred()) SWIG_fail
;
16507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16515 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16516 PyObject
*resultobj
;
16517 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16519 PyObject
* obj0
= 0 ;
16520 char *kwnames
[] = {
16521 (char *) "self", NULL
16524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
16525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16526 if (SWIG_arg_fail(1)) SWIG_fail
;
16528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16529 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
16531 wxPyEndAllowThreads(__tstate
);
16532 if (PyErr_Occurred()) SWIG_fail
;
16535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16543 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16544 PyObject
*resultobj
;
16545 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16547 PyObject
* obj0
= 0 ;
16548 char *kwnames
[] = {
16549 (char *) "self", NULL
16552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
16553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16554 if (SWIG_arg_fail(1)) SWIG_fail
;
16556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16557 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
16559 wxPyEndAllowThreads(__tstate
);
16560 if (PyErr_Occurred()) SWIG_fail
;
16563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16571 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16572 PyObject
*resultobj
;
16573 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16575 PyObject
* obj0
= 0 ;
16576 char *kwnames
[] = {
16577 (char *) "self", NULL
16580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
16581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16582 if (SWIG_arg_fail(1)) SWIG_fail
;
16584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16585 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
16587 wxPyEndAllowThreads(__tstate
);
16588 if (PyErr_Occurred()) SWIG_fail
;
16591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16599 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16600 PyObject
*resultobj
;
16601 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16603 PyObject
* obj0
= 0 ;
16604 char *kwnames
[] = {
16605 (char *) "self", NULL
16608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
16609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16610 if (SWIG_arg_fail(1)) SWIG_fail
;
16612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16613 result
= (bool)(arg1
)->LeftIsDown();
16615 wxPyEndAllowThreads(__tstate
);
16616 if (PyErr_Occurred()) SWIG_fail
;
16619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16627 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16628 PyObject
*resultobj
;
16629 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16631 PyObject
* obj0
= 0 ;
16632 char *kwnames
[] = {
16633 (char *) "self", NULL
16636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
16637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16638 if (SWIG_arg_fail(1)) SWIG_fail
;
16640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16641 result
= (bool)(arg1
)->MiddleIsDown();
16643 wxPyEndAllowThreads(__tstate
);
16644 if (PyErr_Occurred()) SWIG_fail
;
16647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16655 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16656 PyObject
*resultobj
;
16657 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16659 PyObject
* obj0
= 0 ;
16660 char *kwnames
[] = {
16661 (char *) "self", NULL
16664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
16665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16666 if (SWIG_arg_fail(1)) SWIG_fail
;
16668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16669 result
= (bool)(arg1
)->RightIsDown();
16671 wxPyEndAllowThreads(__tstate
);
16672 if (PyErr_Occurred()) SWIG_fail
;
16675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16683 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16684 PyObject
*resultobj
;
16685 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16687 PyObject
* obj0
= 0 ;
16688 char *kwnames
[] = {
16689 (char *) "self", NULL
16692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
16693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16694 if (SWIG_arg_fail(1)) SWIG_fail
;
16696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16697 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
16699 wxPyEndAllowThreads(__tstate
);
16700 if (PyErr_Occurred()) SWIG_fail
;
16703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16711 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16712 PyObject
*resultobj
;
16713 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16715 PyObject
* obj0
= 0 ;
16716 char *kwnames
[] = {
16717 (char *) "self", NULL
16720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
16721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16722 if (SWIG_arg_fail(1)) SWIG_fail
;
16724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16725 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
16727 wxPyEndAllowThreads(__tstate
);
16728 if (PyErr_Occurred()) SWIG_fail
;
16731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16739 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16740 PyObject
*resultobj
;
16741 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16743 PyObject
* obj0
= 0 ;
16744 char *kwnames
[] = {
16745 (char *) "self", NULL
16748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
16749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16750 if (SWIG_arg_fail(1)) SWIG_fail
;
16752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16753 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
16755 wxPyEndAllowThreads(__tstate
);
16756 if (PyErr_Occurred()) SWIG_fail
;
16759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16767 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16768 PyObject
*resultobj
;
16769 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16771 PyObject
* obj0
= 0 ;
16772 char *kwnames
[] = {
16773 (char *) "self", NULL
16776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
16777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16778 if (SWIG_arg_fail(1)) SWIG_fail
;
16780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16781 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
16783 wxPyEndAllowThreads(__tstate
);
16784 if (PyErr_Occurred()) SWIG_fail
;
16787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16795 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16796 PyObject
*resultobj
;
16797 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16799 PyObject
* obj0
= 0 ;
16800 char *kwnames
[] = {
16801 (char *) "self", NULL
16804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16806 if (SWIG_arg_fail(1)) SWIG_fail
;
16808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16809 result
= (arg1
)->GetPosition();
16811 wxPyEndAllowThreads(__tstate
);
16812 if (PyErr_Occurred()) SWIG_fail
;
16815 wxPoint
* resultptr
;
16816 resultptr
= new wxPoint((wxPoint
&)(result
));
16817 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16825 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16826 PyObject
*resultobj
;
16827 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16828 long *arg2
= (long *) 0 ;
16829 long *arg3
= (long *) 0 ;
16834 PyObject
* obj0
= 0 ;
16835 char *kwnames
[] = {
16836 (char *) "self", NULL
16839 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16840 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16843 if (SWIG_arg_fail(1)) SWIG_fail
;
16845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16846 (arg1
)->GetPosition(arg2
,arg3
);
16848 wxPyEndAllowThreads(__tstate
);
16849 if (PyErr_Occurred()) SWIG_fail
;
16851 Py_INCREF(Py_None
); resultobj
= Py_None
;
16852 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16853 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16854 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16855 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16862 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16863 PyObject
*resultobj
;
16864 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16867 PyObject
* obj0
= 0 ;
16868 PyObject
* obj1
= 0 ;
16869 char *kwnames
[] = {
16870 (char *) "self",(char *) "dc", NULL
16873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16875 if (SWIG_arg_fail(1)) SWIG_fail
;
16877 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16878 if (SWIG_arg_fail(2)) SWIG_fail
;
16879 if (arg2
== NULL
) {
16880 SWIG_null_ref("wxDC");
16882 if (SWIG_arg_fail(2)) SWIG_fail
;
16885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16886 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
16888 wxPyEndAllowThreads(__tstate
);
16889 if (PyErr_Occurred()) SWIG_fail
;
16892 wxPoint
* resultptr
;
16893 resultptr
= new wxPoint((wxPoint
&)(result
));
16894 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16902 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16903 PyObject
*resultobj
;
16904 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16906 PyObject
* obj0
= 0 ;
16907 char *kwnames
[] = {
16908 (char *) "self", NULL
16911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
16912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16913 if (SWIG_arg_fail(1)) SWIG_fail
;
16915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16916 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
16918 wxPyEndAllowThreads(__tstate
);
16919 if (PyErr_Occurred()) SWIG_fail
;
16922 resultobj
= SWIG_From_int((int)(result
));
16930 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16931 PyObject
*resultobj
;
16932 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16934 PyObject
* obj0
= 0 ;
16935 char *kwnames
[] = {
16936 (char *) "self", NULL
16939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
16940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16941 if (SWIG_arg_fail(1)) SWIG_fail
;
16943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16944 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
16946 wxPyEndAllowThreads(__tstate
);
16947 if (PyErr_Occurred()) SWIG_fail
;
16950 resultobj
= SWIG_From_int((int)(result
));
16958 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16959 PyObject
*resultobj
;
16960 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16962 PyObject
* obj0
= 0 ;
16963 char *kwnames
[] = {
16964 (char *) "self", NULL
16967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
16968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16969 if (SWIG_arg_fail(1)) SWIG_fail
;
16971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16972 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
16974 wxPyEndAllowThreads(__tstate
);
16975 if (PyErr_Occurred()) SWIG_fail
;
16978 resultobj
= SWIG_From_int((int)(result
));
16986 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16987 PyObject
*resultobj
;
16988 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16990 PyObject
* obj0
= 0 ;
16991 char *kwnames
[] = {
16992 (char *) "self", NULL
16995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
16996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16997 if (SWIG_arg_fail(1)) SWIG_fail
;
16999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17000 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
17002 wxPyEndAllowThreads(__tstate
);
17003 if (PyErr_Occurred()) SWIG_fail
;
17006 resultobj
= SWIG_From_int((int)(result
));
17014 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17015 PyObject
*resultobj
;
17016 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17018 PyObject
* obj0
= 0 ;
17019 char *kwnames
[] = {
17020 (char *) "self", NULL
17023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
17024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17025 if (SWIG_arg_fail(1)) SWIG_fail
;
17027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17028 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
17030 wxPyEndAllowThreads(__tstate
);
17031 if (PyErr_Occurred()) SWIG_fail
;
17034 resultobj
= SWIG_From_int((int)(result
));
17042 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17043 PyObject
*resultobj
;
17044 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17046 PyObject
* obj0
= 0 ;
17047 char *kwnames
[] = {
17048 (char *) "self", NULL
17051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
17052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17053 if (SWIG_arg_fail(1)) SWIG_fail
;
17055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17056 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
17058 wxPyEndAllowThreads(__tstate
);
17059 if (PyErr_Occurred()) SWIG_fail
;
17062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17070 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17071 PyObject
*resultobj
;
17072 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17074 PyObject
* obj0
= 0 ;
17075 PyObject
* obj1
= 0 ;
17076 char *kwnames
[] = {
17077 (char *) "self",(char *) "m_x", NULL
17080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17082 if (SWIG_arg_fail(1)) SWIG_fail
;
17084 arg2
= (int)(SWIG_As_int(obj1
));
17085 if (SWIG_arg_fail(2)) SWIG_fail
;
17087 if (arg1
) (arg1
)->m_x
= arg2
;
17089 Py_INCREF(Py_None
); resultobj
= Py_None
;
17096 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17097 PyObject
*resultobj
;
17098 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17100 PyObject
* obj0
= 0 ;
17101 char *kwnames
[] = {
17102 (char *) "self", NULL
17105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
17106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17107 if (SWIG_arg_fail(1)) SWIG_fail
;
17108 result
= (int) ((arg1
)->m_x
);
17111 resultobj
= SWIG_From_int((int)(result
));
17119 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17120 PyObject
*resultobj
;
17121 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17123 PyObject
* obj0
= 0 ;
17124 PyObject
* obj1
= 0 ;
17125 char *kwnames
[] = {
17126 (char *) "self",(char *) "m_y", NULL
17129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17131 if (SWIG_arg_fail(1)) SWIG_fail
;
17133 arg2
= (int)(SWIG_As_int(obj1
));
17134 if (SWIG_arg_fail(2)) SWIG_fail
;
17136 if (arg1
) (arg1
)->m_y
= arg2
;
17138 Py_INCREF(Py_None
); resultobj
= Py_None
;
17145 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17146 PyObject
*resultobj
;
17147 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17149 PyObject
* obj0
= 0 ;
17150 char *kwnames
[] = {
17151 (char *) "self", NULL
17154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
17155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17156 if (SWIG_arg_fail(1)) SWIG_fail
;
17157 result
= (int) ((arg1
)->m_y
);
17160 resultobj
= SWIG_From_int((int)(result
));
17168 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17169 PyObject
*resultobj
;
17170 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17172 PyObject
* obj0
= 0 ;
17173 PyObject
* obj1
= 0 ;
17174 char *kwnames
[] = {
17175 (char *) "self",(char *) "m_leftDown", NULL
17178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17180 if (SWIG_arg_fail(1)) SWIG_fail
;
17182 arg2
= (bool)(SWIG_As_bool(obj1
));
17183 if (SWIG_arg_fail(2)) SWIG_fail
;
17185 if (arg1
) (arg1
)->m_leftDown
= arg2
;
17187 Py_INCREF(Py_None
); resultobj
= Py_None
;
17194 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17195 PyObject
*resultobj
;
17196 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17198 PyObject
* obj0
= 0 ;
17199 char *kwnames
[] = {
17200 (char *) "self", NULL
17203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
17204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17205 if (SWIG_arg_fail(1)) SWIG_fail
;
17206 result
= (bool) ((arg1
)->m_leftDown
);
17209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17217 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17218 PyObject
*resultobj
;
17219 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17221 PyObject
* obj0
= 0 ;
17222 PyObject
* obj1
= 0 ;
17223 char *kwnames
[] = {
17224 (char *) "self",(char *) "m_middleDown", NULL
17227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17229 if (SWIG_arg_fail(1)) SWIG_fail
;
17231 arg2
= (bool)(SWIG_As_bool(obj1
));
17232 if (SWIG_arg_fail(2)) SWIG_fail
;
17234 if (arg1
) (arg1
)->m_middleDown
= arg2
;
17236 Py_INCREF(Py_None
); resultobj
= Py_None
;
17243 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17244 PyObject
*resultobj
;
17245 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17247 PyObject
* obj0
= 0 ;
17248 char *kwnames
[] = {
17249 (char *) "self", NULL
17252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
17253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17254 if (SWIG_arg_fail(1)) SWIG_fail
;
17255 result
= (bool) ((arg1
)->m_middleDown
);
17258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17266 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17267 PyObject
*resultobj
;
17268 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17270 PyObject
* obj0
= 0 ;
17271 PyObject
* obj1
= 0 ;
17272 char *kwnames
[] = {
17273 (char *) "self",(char *) "m_rightDown", NULL
17276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17278 if (SWIG_arg_fail(1)) SWIG_fail
;
17280 arg2
= (bool)(SWIG_As_bool(obj1
));
17281 if (SWIG_arg_fail(2)) SWIG_fail
;
17283 if (arg1
) (arg1
)->m_rightDown
= arg2
;
17285 Py_INCREF(Py_None
); resultobj
= Py_None
;
17292 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17293 PyObject
*resultobj
;
17294 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17296 PyObject
* obj0
= 0 ;
17297 char *kwnames
[] = {
17298 (char *) "self", NULL
17301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
17302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17303 if (SWIG_arg_fail(1)) SWIG_fail
;
17304 result
= (bool) ((arg1
)->m_rightDown
);
17307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17315 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17316 PyObject
*resultobj
;
17317 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17319 PyObject
* obj0
= 0 ;
17320 PyObject
* obj1
= 0 ;
17321 char *kwnames
[] = {
17322 (char *) "self",(char *) "m_controlDown", NULL
17325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17327 if (SWIG_arg_fail(1)) SWIG_fail
;
17329 arg2
= (bool)(SWIG_As_bool(obj1
));
17330 if (SWIG_arg_fail(2)) SWIG_fail
;
17332 if (arg1
) (arg1
)->m_controlDown
= arg2
;
17334 Py_INCREF(Py_None
); resultobj
= Py_None
;
17341 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17342 PyObject
*resultobj
;
17343 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17345 PyObject
* obj0
= 0 ;
17346 char *kwnames
[] = {
17347 (char *) "self", NULL
17350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
17351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17352 if (SWIG_arg_fail(1)) SWIG_fail
;
17353 result
= (bool) ((arg1
)->m_controlDown
);
17356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17364 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17365 PyObject
*resultobj
;
17366 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17368 PyObject
* obj0
= 0 ;
17369 PyObject
* obj1
= 0 ;
17370 char *kwnames
[] = {
17371 (char *) "self",(char *) "m_shiftDown", NULL
17374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17376 if (SWIG_arg_fail(1)) SWIG_fail
;
17378 arg2
= (bool)(SWIG_As_bool(obj1
));
17379 if (SWIG_arg_fail(2)) SWIG_fail
;
17381 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
17383 Py_INCREF(Py_None
); resultobj
= Py_None
;
17390 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17391 PyObject
*resultobj
;
17392 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17394 PyObject
* obj0
= 0 ;
17395 char *kwnames
[] = {
17396 (char *) "self", NULL
17399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
17400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17401 if (SWIG_arg_fail(1)) SWIG_fail
;
17402 result
= (bool) ((arg1
)->m_shiftDown
);
17405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17413 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17414 PyObject
*resultobj
;
17415 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17417 PyObject
* obj0
= 0 ;
17418 PyObject
* obj1
= 0 ;
17419 char *kwnames
[] = {
17420 (char *) "self",(char *) "m_altDown", NULL
17423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17425 if (SWIG_arg_fail(1)) SWIG_fail
;
17427 arg2
= (bool)(SWIG_As_bool(obj1
));
17428 if (SWIG_arg_fail(2)) SWIG_fail
;
17430 if (arg1
) (arg1
)->m_altDown
= arg2
;
17432 Py_INCREF(Py_None
); resultobj
= Py_None
;
17439 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17440 PyObject
*resultobj
;
17441 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17443 PyObject
* obj0
= 0 ;
17444 char *kwnames
[] = {
17445 (char *) "self", NULL
17448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
17449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17450 if (SWIG_arg_fail(1)) SWIG_fail
;
17451 result
= (bool) ((arg1
)->m_altDown
);
17454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17462 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17463 PyObject
*resultobj
;
17464 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17466 PyObject
* obj0
= 0 ;
17467 PyObject
* obj1
= 0 ;
17468 char *kwnames
[] = {
17469 (char *) "self",(char *) "m_metaDown", NULL
17472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17474 if (SWIG_arg_fail(1)) SWIG_fail
;
17476 arg2
= (bool)(SWIG_As_bool(obj1
));
17477 if (SWIG_arg_fail(2)) SWIG_fail
;
17479 if (arg1
) (arg1
)->m_metaDown
= arg2
;
17481 Py_INCREF(Py_None
); resultobj
= Py_None
;
17488 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17489 PyObject
*resultobj
;
17490 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17492 PyObject
* obj0
= 0 ;
17493 char *kwnames
[] = {
17494 (char *) "self", NULL
17497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
17498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17499 if (SWIG_arg_fail(1)) SWIG_fail
;
17500 result
= (bool) ((arg1
)->m_metaDown
);
17503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17511 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17512 PyObject
*resultobj
;
17513 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17515 PyObject
* obj0
= 0 ;
17516 PyObject
* obj1
= 0 ;
17517 char *kwnames
[] = {
17518 (char *) "self",(char *) "m_wheelRotation", NULL
17521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17523 if (SWIG_arg_fail(1)) SWIG_fail
;
17525 arg2
= (int)(SWIG_As_int(obj1
));
17526 if (SWIG_arg_fail(2)) SWIG_fail
;
17528 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
17530 Py_INCREF(Py_None
); resultobj
= Py_None
;
17537 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17538 PyObject
*resultobj
;
17539 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17541 PyObject
* obj0
= 0 ;
17542 char *kwnames
[] = {
17543 (char *) "self", NULL
17546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
17547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17548 if (SWIG_arg_fail(1)) SWIG_fail
;
17549 result
= (int) ((arg1
)->m_wheelRotation
);
17552 resultobj
= SWIG_From_int((int)(result
));
17560 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17561 PyObject
*resultobj
;
17562 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17564 PyObject
* obj0
= 0 ;
17565 PyObject
* obj1
= 0 ;
17566 char *kwnames
[] = {
17567 (char *) "self",(char *) "m_wheelDelta", NULL
17570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17572 if (SWIG_arg_fail(1)) SWIG_fail
;
17574 arg2
= (int)(SWIG_As_int(obj1
));
17575 if (SWIG_arg_fail(2)) SWIG_fail
;
17577 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
17579 Py_INCREF(Py_None
); resultobj
= Py_None
;
17586 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17587 PyObject
*resultobj
;
17588 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17590 PyObject
* obj0
= 0 ;
17591 char *kwnames
[] = {
17592 (char *) "self", NULL
17595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
17596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17597 if (SWIG_arg_fail(1)) SWIG_fail
;
17598 result
= (int) ((arg1
)->m_wheelDelta
);
17601 resultobj
= SWIG_From_int((int)(result
));
17609 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17610 PyObject
*resultobj
;
17611 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17613 PyObject
* obj0
= 0 ;
17614 PyObject
* obj1
= 0 ;
17615 char *kwnames
[] = {
17616 (char *) "self",(char *) "m_linesPerAction", NULL
17619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17621 if (SWIG_arg_fail(1)) SWIG_fail
;
17623 arg2
= (int)(SWIG_As_int(obj1
));
17624 if (SWIG_arg_fail(2)) SWIG_fail
;
17626 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
17628 Py_INCREF(Py_None
); resultobj
= Py_None
;
17635 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17636 PyObject
*resultobj
;
17637 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17639 PyObject
* obj0
= 0 ;
17640 char *kwnames
[] = {
17641 (char *) "self", NULL
17644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
17645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17646 if (SWIG_arg_fail(1)) SWIG_fail
;
17647 result
= (int) ((arg1
)->m_linesPerAction
);
17650 resultobj
= SWIG_From_int((int)(result
));
17658 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
17660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17661 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
17663 return Py_BuildValue((char *)"");
17665 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17666 PyObject
*resultobj
;
17667 int arg1
= (int) 0 ;
17668 int arg2
= (int) 0 ;
17669 wxSetCursorEvent
*result
;
17670 PyObject
* obj0
= 0 ;
17671 PyObject
* obj1
= 0 ;
17672 char *kwnames
[] = {
17673 (char *) "x",(char *) "y", NULL
17676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17679 arg1
= (int)(SWIG_As_int(obj0
));
17680 if (SWIG_arg_fail(1)) SWIG_fail
;
17685 arg2
= (int)(SWIG_As_int(obj1
));
17686 if (SWIG_arg_fail(2)) SWIG_fail
;
17690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17691 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
17693 wxPyEndAllowThreads(__tstate
);
17694 if (PyErr_Occurred()) SWIG_fail
;
17696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
17703 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17704 PyObject
*resultobj
;
17705 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17707 PyObject
* obj0
= 0 ;
17708 char *kwnames
[] = {
17709 (char *) "self", NULL
17712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
17713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17714 if (SWIG_arg_fail(1)) SWIG_fail
;
17716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17717 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
17719 wxPyEndAllowThreads(__tstate
);
17720 if (PyErr_Occurred()) SWIG_fail
;
17723 resultobj
= SWIG_From_int((int)(result
));
17731 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17732 PyObject
*resultobj
;
17733 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17735 PyObject
* obj0
= 0 ;
17736 char *kwnames
[] = {
17737 (char *) "self", NULL
17740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
17741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17742 if (SWIG_arg_fail(1)) SWIG_fail
;
17744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17745 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
17747 wxPyEndAllowThreads(__tstate
);
17748 if (PyErr_Occurred()) SWIG_fail
;
17751 resultobj
= SWIG_From_int((int)(result
));
17759 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17760 PyObject
*resultobj
;
17761 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17762 wxCursor
*arg2
= 0 ;
17763 PyObject
* obj0
= 0 ;
17764 PyObject
* obj1
= 0 ;
17765 char *kwnames
[] = {
17766 (char *) "self",(char *) "cursor", NULL
17769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
17770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17771 if (SWIG_arg_fail(1)) SWIG_fail
;
17773 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
17774 if (SWIG_arg_fail(2)) SWIG_fail
;
17775 if (arg2
== NULL
) {
17776 SWIG_null_ref("wxCursor");
17778 if (SWIG_arg_fail(2)) SWIG_fail
;
17781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17782 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
17784 wxPyEndAllowThreads(__tstate
);
17785 if (PyErr_Occurred()) SWIG_fail
;
17787 Py_INCREF(Py_None
); resultobj
= Py_None
;
17794 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17795 PyObject
*resultobj
;
17796 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17798 PyObject
* obj0
= 0 ;
17799 char *kwnames
[] = {
17800 (char *) "self", NULL
17803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
17804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17805 if (SWIG_arg_fail(1)) SWIG_fail
;
17807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17809 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
17810 result
= (wxCursor
*) &_result_ref
;
17813 wxPyEndAllowThreads(__tstate
);
17814 if (PyErr_Occurred()) SWIG_fail
;
17817 wxCursor
* resultptr
= new wxCursor(*result
);
17818 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
17826 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17827 PyObject
*resultobj
;
17828 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17830 PyObject
* obj0
= 0 ;
17831 char *kwnames
[] = {
17832 (char *) "self", NULL
17835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
17836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17837 if (SWIG_arg_fail(1)) SWIG_fail
;
17839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17840 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
17842 wxPyEndAllowThreads(__tstate
);
17843 if (PyErr_Occurred()) SWIG_fail
;
17846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17854 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
17856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17857 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
17859 return Py_BuildValue((char *)"");
17861 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17862 PyObject
*resultobj
;
17863 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17864 wxKeyEvent
*result
;
17865 PyObject
* obj0
= 0 ;
17866 char *kwnames
[] = {
17867 (char *) "keyType", NULL
17870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
17873 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17874 if (SWIG_arg_fail(1)) SWIG_fail
;
17878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17879 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
17881 wxPyEndAllowThreads(__tstate
);
17882 if (PyErr_Occurred()) SWIG_fail
;
17884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
17891 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17892 PyObject
*resultobj
;
17893 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17895 PyObject
* obj0
= 0 ;
17896 char *kwnames
[] = {
17897 (char *) "self", NULL
17900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
17901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17902 if (SWIG_arg_fail(1)) SWIG_fail
;
17904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17905 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
17907 wxPyEndAllowThreads(__tstate
);
17908 if (PyErr_Occurred()) SWIG_fail
;
17911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17919 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17920 PyObject
*resultobj
;
17921 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17923 PyObject
* obj0
= 0 ;
17924 char *kwnames
[] = {
17925 (char *) "self", NULL
17928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
17929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17930 if (SWIG_arg_fail(1)) SWIG_fail
;
17932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17933 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
17935 wxPyEndAllowThreads(__tstate
);
17936 if (PyErr_Occurred()) SWIG_fail
;
17939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17947 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17948 PyObject
*resultobj
;
17949 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17951 PyObject
* obj0
= 0 ;
17952 char *kwnames
[] = {
17953 (char *) "self", NULL
17956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
17957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17958 if (SWIG_arg_fail(1)) SWIG_fail
;
17960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17961 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
17963 wxPyEndAllowThreads(__tstate
);
17964 if (PyErr_Occurred()) SWIG_fail
;
17967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17975 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17976 PyObject
*resultobj
;
17977 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17979 PyObject
* obj0
= 0 ;
17980 char *kwnames
[] = {
17981 (char *) "self", NULL
17984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
17985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17986 if (SWIG_arg_fail(1)) SWIG_fail
;
17988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17989 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
17991 wxPyEndAllowThreads(__tstate
);
17992 if (PyErr_Occurred()) SWIG_fail
;
17995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18003 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18004 PyObject
*resultobj
;
18005 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18007 PyObject
* obj0
= 0 ;
18008 char *kwnames
[] = {
18009 (char *) "self", NULL
18012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
18013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18014 if (SWIG_arg_fail(1)) SWIG_fail
;
18016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18017 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
18019 wxPyEndAllowThreads(__tstate
);
18020 if (PyErr_Occurred()) SWIG_fail
;
18023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18031 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18032 PyObject
*resultobj
;
18033 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18035 PyObject
* obj0
= 0 ;
18036 char *kwnames
[] = {
18037 (char *) "self", NULL
18040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
18041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18042 if (SWIG_arg_fail(1)) SWIG_fail
;
18044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18045 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
18047 wxPyEndAllowThreads(__tstate
);
18048 if (PyErr_Occurred()) SWIG_fail
;
18051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18059 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18060 PyObject
*resultobj
;
18061 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18063 PyObject
* obj0
= 0 ;
18064 char *kwnames
[] = {
18065 (char *) "self", NULL
18068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
18069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18070 if (SWIG_arg_fail(1)) SWIG_fail
;
18072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18073 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
18075 wxPyEndAllowThreads(__tstate
);
18076 if (PyErr_Occurred()) SWIG_fail
;
18079 resultobj
= SWIG_From_int((int)(result
));
18087 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18088 PyObject
*resultobj
;
18089 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18091 PyObject
* obj0
= 0 ;
18092 char *kwnames
[] = {
18093 (char *) "self", NULL
18096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
18097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18098 if (SWIG_arg_fail(1)) SWIG_fail
;
18100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18101 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
18103 wxPyEndAllowThreads(__tstate
);
18104 if (PyErr_Occurred()) SWIG_fail
;
18107 resultobj
= SWIG_From_int((int)(result
));
18115 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18116 PyObject
*resultobj
;
18117 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18118 unsigned int result
;
18119 PyObject
* obj0
= 0 ;
18120 char *kwnames
[] = {
18121 (char *) "self", NULL
18124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
18125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18126 if (SWIG_arg_fail(1)) SWIG_fail
;
18128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18129 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
18131 wxPyEndAllowThreads(__tstate
);
18132 if (PyErr_Occurred()) SWIG_fail
;
18135 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18143 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18144 PyObject
*resultobj
;
18145 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18146 unsigned int result
;
18147 PyObject
* obj0
= 0 ;
18148 char *kwnames
[] = {
18149 (char *) "self", NULL
18152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
18153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18154 if (SWIG_arg_fail(1)) SWIG_fail
;
18156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18157 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
18159 wxPyEndAllowThreads(__tstate
);
18160 if (PyErr_Occurred()) SWIG_fail
;
18163 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18171 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18172 PyObject
*resultobj
;
18173 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18175 PyObject
* obj0
= 0 ;
18176 char *kwnames
[] = {
18177 (char *) "self", NULL
18180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18182 if (SWIG_arg_fail(1)) SWIG_fail
;
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18185 result
= (arg1
)->GetPosition();
18187 wxPyEndAllowThreads(__tstate
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18191 wxPoint
* resultptr
;
18192 resultptr
= new wxPoint((wxPoint
&)(result
));
18193 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18201 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18202 PyObject
*resultobj
;
18203 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18204 long *arg2
= (long *) 0 ;
18205 long *arg3
= (long *) 0 ;
18210 PyObject
* obj0
= 0 ;
18211 char *kwnames
[] = {
18212 (char *) "self", NULL
18215 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18216 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
18218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18219 if (SWIG_arg_fail(1)) SWIG_fail
;
18221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18222 (arg1
)->GetPosition(arg2
,arg3
);
18224 wxPyEndAllowThreads(__tstate
);
18225 if (PyErr_Occurred()) SWIG_fail
;
18227 Py_INCREF(Py_None
); resultobj
= Py_None
;
18228 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18229 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
18230 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18231 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
18238 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18239 PyObject
*resultobj
;
18240 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18242 PyObject
* obj0
= 0 ;
18243 char *kwnames
[] = {
18244 (char *) "self", NULL
18247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
18248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18249 if (SWIG_arg_fail(1)) SWIG_fail
;
18251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18252 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
18254 wxPyEndAllowThreads(__tstate
);
18255 if (PyErr_Occurred()) SWIG_fail
;
18258 resultobj
= SWIG_From_int((int)(result
));
18266 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18267 PyObject
*resultobj
;
18268 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18270 PyObject
* obj0
= 0 ;
18271 char *kwnames
[] = {
18272 (char *) "self", NULL
18275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
18276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18277 if (SWIG_arg_fail(1)) SWIG_fail
;
18279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18280 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
18282 wxPyEndAllowThreads(__tstate
);
18283 if (PyErr_Occurred()) SWIG_fail
;
18286 resultobj
= SWIG_From_int((int)(result
));
18294 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18295 PyObject
*resultobj
;
18296 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18298 PyObject
* obj0
= 0 ;
18299 PyObject
* obj1
= 0 ;
18300 char *kwnames
[] = {
18301 (char *) "self",(char *) "m_x", NULL
18304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18306 if (SWIG_arg_fail(1)) SWIG_fail
;
18308 arg2
= (int)(SWIG_As_int(obj1
));
18309 if (SWIG_arg_fail(2)) SWIG_fail
;
18311 if (arg1
) (arg1
)->m_x
= arg2
;
18313 Py_INCREF(Py_None
); resultobj
= Py_None
;
18320 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18321 PyObject
*resultobj
;
18322 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18324 PyObject
* obj0
= 0 ;
18325 char *kwnames
[] = {
18326 (char *) "self", NULL
18329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18331 if (SWIG_arg_fail(1)) SWIG_fail
;
18332 result
= (int) ((arg1
)->m_x
);
18335 resultobj
= SWIG_From_int((int)(result
));
18343 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18344 PyObject
*resultobj
;
18345 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18347 PyObject
* obj0
= 0 ;
18348 PyObject
* obj1
= 0 ;
18349 char *kwnames
[] = {
18350 (char *) "self",(char *) "m_y", NULL
18353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18355 if (SWIG_arg_fail(1)) SWIG_fail
;
18357 arg2
= (int)(SWIG_As_int(obj1
));
18358 if (SWIG_arg_fail(2)) SWIG_fail
;
18360 if (arg1
) (arg1
)->m_y
= arg2
;
18362 Py_INCREF(Py_None
); resultobj
= Py_None
;
18369 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18370 PyObject
*resultobj
;
18371 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18373 PyObject
* obj0
= 0 ;
18374 char *kwnames
[] = {
18375 (char *) "self", NULL
18378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18380 if (SWIG_arg_fail(1)) SWIG_fail
;
18381 result
= (int) ((arg1
)->m_y
);
18384 resultobj
= SWIG_From_int((int)(result
));
18392 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18393 PyObject
*resultobj
;
18394 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18396 PyObject
* obj0
= 0 ;
18397 PyObject
* obj1
= 0 ;
18398 char *kwnames
[] = {
18399 (char *) "self",(char *) "m_keyCode", NULL
18402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18404 if (SWIG_arg_fail(1)) SWIG_fail
;
18406 arg2
= (long)(SWIG_As_long(obj1
));
18407 if (SWIG_arg_fail(2)) SWIG_fail
;
18409 if (arg1
) (arg1
)->m_keyCode
= arg2
;
18411 Py_INCREF(Py_None
); resultobj
= Py_None
;
18418 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18419 PyObject
*resultobj
;
18420 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18422 PyObject
* obj0
= 0 ;
18423 char *kwnames
[] = {
18424 (char *) "self", NULL
18427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
18428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18429 if (SWIG_arg_fail(1)) SWIG_fail
;
18430 result
= (long) ((arg1
)->m_keyCode
);
18433 resultobj
= SWIG_From_long((long)(result
));
18441 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18442 PyObject
*resultobj
;
18443 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18445 PyObject
* obj0
= 0 ;
18446 PyObject
* obj1
= 0 ;
18447 char *kwnames
[] = {
18448 (char *) "self",(char *) "m_controlDown", NULL
18451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18453 if (SWIG_arg_fail(1)) SWIG_fail
;
18455 arg2
= (bool)(SWIG_As_bool(obj1
));
18456 if (SWIG_arg_fail(2)) SWIG_fail
;
18458 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18460 Py_INCREF(Py_None
); resultobj
= Py_None
;
18467 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18468 PyObject
*resultobj
;
18469 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18471 PyObject
* obj0
= 0 ;
18472 char *kwnames
[] = {
18473 (char *) "self", NULL
18476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18478 if (SWIG_arg_fail(1)) SWIG_fail
;
18479 result
= (bool) ((arg1
)->m_controlDown
);
18482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18490 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18491 PyObject
*resultobj
;
18492 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18494 PyObject
* obj0
= 0 ;
18495 PyObject
* obj1
= 0 ;
18496 char *kwnames
[] = {
18497 (char *) "self",(char *) "m_shiftDown", NULL
18500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18502 if (SWIG_arg_fail(1)) SWIG_fail
;
18504 arg2
= (bool)(SWIG_As_bool(obj1
));
18505 if (SWIG_arg_fail(2)) SWIG_fail
;
18507 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18509 Py_INCREF(Py_None
); resultobj
= Py_None
;
18516 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18517 PyObject
*resultobj
;
18518 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18520 PyObject
* obj0
= 0 ;
18521 char *kwnames
[] = {
18522 (char *) "self", NULL
18525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18527 if (SWIG_arg_fail(1)) SWIG_fail
;
18528 result
= (bool) ((arg1
)->m_shiftDown
);
18531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18539 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18540 PyObject
*resultobj
;
18541 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18543 PyObject
* obj0
= 0 ;
18544 PyObject
* obj1
= 0 ;
18545 char *kwnames
[] = {
18546 (char *) "self",(char *) "m_altDown", NULL
18549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18551 if (SWIG_arg_fail(1)) SWIG_fail
;
18553 arg2
= (bool)(SWIG_As_bool(obj1
));
18554 if (SWIG_arg_fail(2)) SWIG_fail
;
18556 if (arg1
) (arg1
)->m_altDown
= arg2
;
18558 Py_INCREF(Py_None
); resultobj
= Py_None
;
18565 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18566 PyObject
*resultobj
;
18567 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18569 PyObject
* obj0
= 0 ;
18570 char *kwnames
[] = {
18571 (char *) "self", NULL
18574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
18575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18576 if (SWIG_arg_fail(1)) SWIG_fail
;
18577 result
= (bool) ((arg1
)->m_altDown
);
18580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18588 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18589 PyObject
*resultobj
;
18590 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18592 PyObject
* obj0
= 0 ;
18593 PyObject
* obj1
= 0 ;
18594 char *kwnames
[] = {
18595 (char *) "self",(char *) "m_metaDown", NULL
18598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18600 if (SWIG_arg_fail(1)) SWIG_fail
;
18602 arg2
= (bool)(SWIG_As_bool(obj1
));
18603 if (SWIG_arg_fail(2)) SWIG_fail
;
18605 if (arg1
) (arg1
)->m_metaDown
= arg2
;
18607 Py_INCREF(Py_None
); resultobj
= Py_None
;
18614 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18615 PyObject
*resultobj
;
18616 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18618 PyObject
* obj0
= 0 ;
18619 char *kwnames
[] = {
18620 (char *) "self", NULL
18623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
18624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18625 if (SWIG_arg_fail(1)) SWIG_fail
;
18626 result
= (bool) ((arg1
)->m_metaDown
);
18629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18637 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18638 PyObject
*resultobj
;
18639 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18641 PyObject
* obj0
= 0 ;
18642 PyObject
* obj1
= 0 ;
18643 char *kwnames
[] = {
18644 (char *) "self",(char *) "m_scanCode", NULL
18647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18649 if (SWIG_arg_fail(1)) SWIG_fail
;
18651 arg2
= (bool)(SWIG_As_bool(obj1
));
18652 if (SWIG_arg_fail(2)) SWIG_fail
;
18654 if (arg1
) (arg1
)->m_scanCode
= arg2
;
18656 Py_INCREF(Py_None
); resultobj
= Py_None
;
18663 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18664 PyObject
*resultobj
;
18665 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18667 PyObject
* obj0
= 0 ;
18668 char *kwnames
[] = {
18669 (char *) "self", NULL
18672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
18673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18674 if (SWIG_arg_fail(1)) SWIG_fail
;
18675 result
= (bool) ((arg1
)->m_scanCode
);
18678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18686 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18687 PyObject
*resultobj
;
18688 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18689 unsigned int arg2
;
18690 PyObject
* obj0
= 0 ;
18691 PyObject
* obj1
= 0 ;
18692 char *kwnames
[] = {
18693 (char *) "self",(char *) "m_rawCode", NULL
18696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18698 if (SWIG_arg_fail(1)) SWIG_fail
;
18700 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
18701 if (SWIG_arg_fail(2)) SWIG_fail
;
18703 if (arg1
) (arg1
)->m_rawCode
= arg2
;
18705 Py_INCREF(Py_None
); resultobj
= Py_None
;
18712 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18713 PyObject
*resultobj
;
18714 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18715 unsigned int result
;
18716 PyObject
* obj0
= 0 ;
18717 char *kwnames
[] = {
18718 (char *) "self", NULL
18721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
18722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18723 if (SWIG_arg_fail(1)) SWIG_fail
;
18724 result
= (unsigned int) ((arg1
)->m_rawCode
);
18727 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18735 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18736 PyObject
*resultobj
;
18737 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18738 unsigned int arg2
;
18739 PyObject
* obj0
= 0 ;
18740 PyObject
* obj1
= 0 ;
18741 char *kwnames
[] = {
18742 (char *) "self",(char *) "m_rawFlags", NULL
18745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18747 if (SWIG_arg_fail(1)) SWIG_fail
;
18749 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
18750 if (SWIG_arg_fail(2)) SWIG_fail
;
18752 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
18754 Py_INCREF(Py_None
); resultobj
= Py_None
;
18761 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18762 PyObject
*resultobj
;
18763 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18764 unsigned int result
;
18765 PyObject
* obj0
= 0 ;
18766 char *kwnames
[] = {
18767 (char *) "self", NULL
18770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
18771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18772 if (SWIG_arg_fail(1)) SWIG_fail
;
18773 result
= (unsigned int) ((arg1
)->m_rawFlags
);
18776 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18784 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
18786 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18787 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
18789 return Py_BuildValue((char *)"");
18791 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18792 PyObject
*resultobj
;
18793 wxSize
const &arg1_defvalue
= wxDefaultSize
;
18794 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
18795 int arg2
= (int) 0 ;
18796 wxSizeEvent
*result
;
18798 PyObject
* obj0
= 0 ;
18799 PyObject
* obj1
= 0 ;
18800 char *kwnames
[] = {
18801 (char *) "sz",(char *) "winid", NULL
18804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18808 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
18813 arg2
= (int)(SWIG_As_int(obj1
));
18814 if (SWIG_arg_fail(2)) SWIG_fail
;
18818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18819 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
18821 wxPyEndAllowThreads(__tstate
);
18822 if (PyErr_Occurred()) SWIG_fail
;
18824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
18831 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18832 PyObject
*resultobj
;
18833 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18835 PyObject
* obj0
= 0 ;
18836 char *kwnames
[] = {
18837 (char *) "self", NULL
18840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
18841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18842 if (SWIG_arg_fail(1)) SWIG_fail
;
18844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18845 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
18847 wxPyEndAllowThreads(__tstate
);
18848 if (PyErr_Occurred()) SWIG_fail
;
18851 wxSize
* resultptr
;
18852 resultptr
= new wxSize((wxSize
&)(result
));
18853 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18861 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18862 PyObject
*resultobj
;
18863 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18865 PyObject
* obj0
= 0 ;
18866 char *kwnames
[] = {
18867 (char *) "self", NULL
18870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
18871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18872 if (SWIG_arg_fail(1)) SWIG_fail
;
18874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18875 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
18877 wxPyEndAllowThreads(__tstate
);
18878 if (PyErr_Occurred()) SWIG_fail
;
18881 wxRect
* resultptr
;
18882 resultptr
= new wxRect((wxRect
&)(result
));
18883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
18891 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18892 PyObject
*resultobj
;
18893 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18895 PyObject
* obj0
= 0 ;
18896 PyObject
* obj1
= 0 ;
18897 char *kwnames
[] = {
18898 (char *) "self",(char *) "rect", NULL
18901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
18902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18903 if (SWIG_arg_fail(1)) SWIG_fail
;
18906 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
18907 if (SWIG_arg_fail(2)) SWIG_fail
;
18908 if (argp
== NULL
) {
18909 SWIG_null_ref("wxRect");
18911 if (SWIG_arg_fail(2)) SWIG_fail
;
18915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18916 (arg1
)->SetRect(arg2
);
18918 wxPyEndAllowThreads(__tstate
);
18919 if (PyErr_Occurred()) SWIG_fail
;
18921 Py_INCREF(Py_None
); resultobj
= Py_None
;
18928 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18929 PyObject
*resultobj
;
18930 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18932 PyObject
* obj0
= 0 ;
18933 PyObject
* obj1
= 0 ;
18934 char *kwnames
[] = {
18935 (char *) "self",(char *) "size", NULL
18938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18940 if (SWIG_arg_fail(1)) SWIG_fail
;
18943 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
18944 if (SWIG_arg_fail(2)) SWIG_fail
;
18945 if (argp
== NULL
) {
18946 SWIG_null_ref("wxSize");
18948 if (SWIG_arg_fail(2)) SWIG_fail
;
18952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18953 wxSizeEvent_SetSize(arg1
,arg2
);
18955 wxPyEndAllowThreads(__tstate
);
18956 if (PyErr_Occurred()) SWIG_fail
;
18958 Py_INCREF(Py_None
); resultobj
= Py_None
;
18965 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18966 PyObject
*resultobj
;
18967 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18968 wxSize
*arg2
= (wxSize
*) 0 ;
18969 PyObject
* obj0
= 0 ;
18970 PyObject
* obj1
= 0 ;
18971 char *kwnames
[] = {
18972 (char *) "self",(char *) "m_size", NULL
18975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18977 if (SWIG_arg_fail(1)) SWIG_fail
;
18978 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
18979 if (SWIG_arg_fail(2)) SWIG_fail
;
18980 if (arg1
) (arg1
)->m_size
= *arg2
;
18982 Py_INCREF(Py_None
); resultobj
= Py_None
;
18989 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18990 PyObject
*resultobj
;
18991 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18993 PyObject
* obj0
= 0 ;
18994 char *kwnames
[] = {
18995 (char *) "self", NULL
18998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
18999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19000 if (SWIG_arg_fail(1)) SWIG_fail
;
19001 result
= (wxSize
*)& ((arg1
)->m_size
);
19003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
19010 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19011 PyObject
*resultobj
;
19012 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19013 wxRect
*arg2
= (wxRect
*) 0 ;
19014 PyObject
* obj0
= 0 ;
19015 PyObject
* obj1
= 0 ;
19016 char *kwnames
[] = {
19017 (char *) "self",(char *) "m_rect", NULL
19020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19022 if (SWIG_arg_fail(1)) SWIG_fail
;
19023 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
19024 if (SWIG_arg_fail(2)) SWIG_fail
;
19025 if (arg1
) (arg1
)->m_rect
= *arg2
;
19027 Py_INCREF(Py_None
); resultobj
= Py_None
;
19034 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19035 PyObject
*resultobj
;
19036 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19038 PyObject
* obj0
= 0 ;
19039 char *kwnames
[] = {
19040 (char *) "self", NULL
19043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
19044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19045 if (SWIG_arg_fail(1)) SWIG_fail
;
19046 result
= (wxRect
*)& ((arg1
)->m_rect
);
19048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
19055 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
19057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19058 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
19060 return Py_BuildValue((char *)"");
19062 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19063 PyObject
*resultobj
;
19064 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
19065 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
19066 int arg2
= (int) 0 ;
19067 wxMoveEvent
*result
;
19069 PyObject
* obj0
= 0 ;
19070 PyObject
* obj1
= 0 ;
19071 char *kwnames
[] = {
19072 (char *) "pos",(char *) "winid", NULL
19075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19079 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
19084 arg2
= (int)(SWIG_As_int(obj1
));
19085 if (SWIG_arg_fail(2)) SWIG_fail
;
19089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19090 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
19092 wxPyEndAllowThreads(__tstate
);
19093 if (PyErr_Occurred()) SWIG_fail
;
19095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
19102 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19103 PyObject
*resultobj
;
19104 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19106 PyObject
* obj0
= 0 ;
19107 char *kwnames
[] = {
19108 (char *) "self", NULL
19111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19113 if (SWIG_arg_fail(1)) SWIG_fail
;
19115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19116 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
19118 wxPyEndAllowThreads(__tstate
);
19119 if (PyErr_Occurred()) SWIG_fail
;
19122 wxPoint
* resultptr
;
19123 resultptr
= new wxPoint((wxPoint
&)(result
));
19124 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19132 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19133 PyObject
*resultobj
;
19134 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19136 PyObject
* obj0
= 0 ;
19137 char *kwnames
[] = {
19138 (char *) "self", NULL
19141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19143 if (SWIG_arg_fail(1)) SWIG_fail
;
19145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19146 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
19148 wxPyEndAllowThreads(__tstate
);
19149 if (PyErr_Occurred()) SWIG_fail
;
19152 wxRect
* resultptr
;
19153 resultptr
= new wxRect((wxRect
&)(result
));
19154 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19162 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19163 PyObject
*resultobj
;
19164 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19167 PyObject
* obj0
= 0 ;
19168 PyObject
* obj1
= 0 ;
19169 char *kwnames
[] = {
19170 (char *) "self",(char *) "rect", NULL
19173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19175 if (SWIG_arg_fail(1)) SWIG_fail
;
19178 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19182 (arg1
)->SetRect((wxRect
const &)*arg2
);
19184 wxPyEndAllowThreads(__tstate
);
19185 if (PyErr_Occurred()) SWIG_fail
;
19187 Py_INCREF(Py_None
); resultobj
= Py_None
;
19194 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19195 PyObject
*resultobj
;
19196 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19197 wxPoint
*arg2
= 0 ;
19199 PyObject
* obj0
= 0 ;
19200 PyObject
* obj1
= 0 ;
19201 char *kwnames
[] = {
19202 (char *) "self",(char *) "pos", NULL
19205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19207 if (SWIG_arg_fail(1)) SWIG_fail
;
19210 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19214 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19216 wxPyEndAllowThreads(__tstate
);
19217 if (PyErr_Occurred()) SWIG_fail
;
19219 Py_INCREF(Py_None
); resultobj
= Py_None
;
19226 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
19228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19229 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
19231 return Py_BuildValue((char *)"");
19233 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19234 PyObject
*resultobj
;
19235 int arg1
= (int) 0 ;
19236 wxPaintEvent
*result
;
19237 PyObject
* obj0
= 0 ;
19238 char *kwnames
[] = {
19239 (char *) "Id", NULL
19242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
19245 arg1
= (int)(SWIG_As_int(obj0
));
19246 if (SWIG_arg_fail(1)) SWIG_fail
;
19250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19251 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
19253 wxPyEndAllowThreads(__tstate
);
19254 if (PyErr_Occurred()) SWIG_fail
;
19256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
19263 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19266 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
19268 return Py_BuildValue((char *)"");
19270 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19271 PyObject
*resultobj
;
19272 int arg1
= (int) 0 ;
19273 wxNcPaintEvent
*result
;
19274 PyObject
* obj0
= 0 ;
19275 char *kwnames
[] = {
19276 (char *) "winid", NULL
19279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
19282 arg1
= (int)(SWIG_As_int(obj0
));
19283 if (SWIG_arg_fail(1)) SWIG_fail
;
19287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19288 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
19290 wxPyEndAllowThreads(__tstate
);
19291 if (PyErr_Occurred()) SWIG_fail
;
19293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
19300 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19302 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19303 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
19305 return Py_BuildValue((char *)"");
19307 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19308 PyObject
*resultobj
;
19309 int arg1
= (int) 0 ;
19310 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
19311 wxEraseEvent
*result
;
19312 PyObject
* obj0
= 0 ;
19313 PyObject
* obj1
= 0 ;
19314 char *kwnames
[] = {
19315 (char *) "Id",(char *) "dc", NULL
19318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19321 arg1
= (int)(SWIG_As_int(obj0
));
19322 if (SWIG_arg_fail(1)) SWIG_fail
;
19326 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19327 if (SWIG_arg_fail(2)) SWIG_fail
;
19330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19331 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
19333 wxPyEndAllowThreads(__tstate
);
19334 if (PyErr_Occurred()) SWIG_fail
;
19336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
19343 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19344 PyObject
*resultobj
;
19345 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
19347 PyObject
* obj0
= 0 ;
19348 char *kwnames
[] = {
19349 (char *) "self", NULL
19352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
19353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19354 if (SWIG_arg_fail(1)) SWIG_fail
;
19356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19357 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
19359 wxPyEndAllowThreads(__tstate
);
19360 if (PyErr_Occurred()) SWIG_fail
;
19363 resultobj
= wxPyMake_wxObject(result
, 0);
19371 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
19373 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19374 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
19376 return Py_BuildValue((char *)"");
19378 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19379 PyObject
*resultobj
;
19380 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19381 int arg2
= (int) 0 ;
19382 wxFocusEvent
*result
;
19383 PyObject
* obj0
= 0 ;
19384 PyObject
* obj1
= 0 ;
19385 char *kwnames
[] = {
19386 (char *) "type",(char *) "winid", NULL
19389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19392 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19393 if (SWIG_arg_fail(1)) SWIG_fail
;
19398 arg2
= (int)(SWIG_As_int(obj1
));
19399 if (SWIG_arg_fail(2)) SWIG_fail
;
19403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19404 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
19406 wxPyEndAllowThreads(__tstate
);
19407 if (PyErr_Occurred()) SWIG_fail
;
19409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
19416 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19417 PyObject
*resultobj
;
19418 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19420 PyObject
* obj0
= 0 ;
19421 char *kwnames
[] = {
19422 (char *) "self", NULL
19425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19427 if (SWIG_arg_fail(1)) SWIG_fail
;
19429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19430 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
19432 wxPyEndAllowThreads(__tstate
);
19433 if (PyErr_Occurred()) SWIG_fail
;
19436 resultobj
= wxPyMake_wxObject(result
, 0);
19444 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19445 PyObject
*resultobj
;
19446 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19447 wxWindow
*arg2
= (wxWindow
*) 0 ;
19448 PyObject
* obj0
= 0 ;
19449 PyObject
* obj1
= 0 ;
19450 char *kwnames
[] = {
19451 (char *) "self",(char *) "win", NULL
19454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19456 if (SWIG_arg_fail(1)) SWIG_fail
;
19457 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19458 if (SWIG_arg_fail(2)) SWIG_fail
;
19460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19461 (arg1
)->SetWindow(arg2
);
19463 wxPyEndAllowThreads(__tstate
);
19464 if (PyErr_Occurred()) SWIG_fail
;
19466 Py_INCREF(Py_None
); resultobj
= Py_None
;
19473 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19476 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
19478 return Py_BuildValue((char *)"");
19480 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19481 PyObject
*resultobj
;
19482 wxWindow
*arg1
= (wxWindow
*) NULL
;
19483 wxChildFocusEvent
*result
;
19484 PyObject
* obj0
= 0 ;
19485 char *kwnames
[] = {
19486 (char *) "win", NULL
19489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
19491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19492 if (SWIG_arg_fail(1)) SWIG_fail
;
19495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19496 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
19498 wxPyEndAllowThreads(__tstate
);
19499 if (PyErr_Occurred()) SWIG_fail
;
19501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
19508 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19509 PyObject
*resultobj
;
19510 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
19512 PyObject
* obj0
= 0 ;
19513 char *kwnames
[] = {
19514 (char *) "self", NULL
19517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19519 if (SWIG_arg_fail(1)) SWIG_fail
;
19521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19522 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
19524 wxPyEndAllowThreads(__tstate
);
19525 if (PyErr_Occurred()) SWIG_fail
;
19528 resultobj
= wxPyMake_wxObject(result
, 0);
19536 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19539 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
19541 return Py_BuildValue((char *)"");
19543 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19544 PyObject
*resultobj
;
19545 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19546 bool arg2
= (bool) true ;
19547 int arg3
= (int) 0 ;
19548 wxActivateEvent
*result
;
19549 PyObject
* obj0
= 0 ;
19550 PyObject
* obj1
= 0 ;
19551 PyObject
* obj2
= 0 ;
19552 char *kwnames
[] = {
19553 (char *) "type",(char *) "active",(char *) "Id", NULL
19556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19559 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19560 if (SWIG_arg_fail(1)) SWIG_fail
;
19565 arg2
= (bool)(SWIG_As_bool(obj1
));
19566 if (SWIG_arg_fail(2)) SWIG_fail
;
19571 arg3
= (int)(SWIG_As_int(obj2
));
19572 if (SWIG_arg_fail(3)) SWIG_fail
;
19576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19577 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
19579 wxPyEndAllowThreads(__tstate
);
19580 if (PyErr_Occurred()) SWIG_fail
;
19582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
19589 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19590 PyObject
*resultobj
;
19591 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
19593 PyObject
* obj0
= 0 ;
19594 char *kwnames
[] = {
19595 (char *) "self", NULL
19598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
19599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
19600 if (SWIG_arg_fail(1)) SWIG_fail
;
19602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19603 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
19605 wxPyEndAllowThreads(__tstate
);
19606 if (PyErr_Occurred()) SWIG_fail
;
19609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19617 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
19619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19620 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
19622 return Py_BuildValue((char *)"");
19624 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19625 PyObject
*resultobj
;
19626 int arg1
= (int) 0 ;
19627 wxInitDialogEvent
*result
;
19628 PyObject
* obj0
= 0 ;
19629 char *kwnames
[] = {
19630 (char *) "Id", NULL
19633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
19636 arg1
= (int)(SWIG_As_int(obj0
));
19637 if (SWIG_arg_fail(1)) SWIG_fail
;
19641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19642 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
19644 wxPyEndAllowThreads(__tstate
);
19645 if (PyErr_Occurred()) SWIG_fail
;
19647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
19654 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
19656 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19657 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
19659 return Py_BuildValue((char *)"");
19661 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19662 PyObject
*resultobj
;
19663 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19664 int arg2
= (int) 0 ;
19665 wxMenu
*arg3
= (wxMenu
*) NULL
;
19666 wxMenuEvent
*result
;
19667 PyObject
* obj0
= 0 ;
19668 PyObject
* obj1
= 0 ;
19669 PyObject
* obj2
= 0 ;
19670 char *kwnames
[] = {
19671 (char *) "type",(char *) "winid",(char *) "menu", NULL
19674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19677 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19678 if (SWIG_arg_fail(1)) SWIG_fail
;
19683 arg2
= (int)(SWIG_As_int(obj1
));
19684 if (SWIG_arg_fail(2)) SWIG_fail
;
19688 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
19689 if (SWIG_arg_fail(3)) SWIG_fail
;
19692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19693 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
19695 wxPyEndAllowThreads(__tstate
);
19696 if (PyErr_Occurred()) SWIG_fail
;
19698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
19705 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19706 PyObject
*resultobj
;
19707 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19709 PyObject
* obj0
= 0 ;
19710 char *kwnames
[] = {
19711 (char *) "self", NULL
19714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
19715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19716 if (SWIG_arg_fail(1)) SWIG_fail
;
19718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19719 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
19721 wxPyEndAllowThreads(__tstate
);
19722 if (PyErr_Occurred()) SWIG_fail
;
19725 resultobj
= SWIG_From_int((int)(result
));
19733 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19734 PyObject
*resultobj
;
19735 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19737 PyObject
* obj0
= 0 ;
19738 char *kwnames
[] = {
19739 (char *) "self", NULL
19742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
19743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19744 if (SWIG_arg_fail(1)) SWIG_fail
;
19746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19747 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
19749 wxPyEndAllowThreads(__tstate
);
19750 if (PyErr_Occurred()) SWIG_fail
;
19753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19761 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19762 PyObject
*resultobj
;
19763 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19765 PyObject
* obj0
= 0 ;
19766 char *kwnames
[] = {
19767 (char *) "self", NULL
19770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
19771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19772 if (SWIG_arg_fail(1)) SWIG_fail
;
19774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19775 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
19777 wxPyEndAllowThreads(__tstate
);
19778 if (PyErr_Occurred()) SWIG_fail
;
19781 resultobj
= wxPyMake_wxObject(result
, 0);
19789 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19791 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19792 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
19794 return Py_BuildValue((char *)"");
19796 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19797 PyObject
*resultobj
;
19798 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19799 int arg2
= (int) 0 ;
19800 wxCloseEvent
*result
;
19801 PyObject
* obj0
= 0 ;
19802 PyObject
* obj1
= 0 ;
19803 char *kwnames
[] = {
19804 (char *) "type",(char *) "winid", NULL
19807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19810 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19811 if (SWIG_arg_fail(1)) SWIG_fail
;
19816 arg2
= (int)(SWIG_As_int(obj1
));
19817 if (SWIG_arg_fail(2)) SWIG_fail
;
19821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19822 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
19824 wxPyEndAllowThreads(__tstate
);
19825 if (PyErr_Occurred()) SWIG_fail
;
19827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
19834 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19835 PyObject
*resultobj
;
19836 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19838 PyObject
* obj0
= 0 ;
19839 PyObject
* obj1
= 0 ;
19840 char *kwnames
[] = {
19841 (char *) "self",(char *) "logOff", NULL
19844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
19845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19846 if (SWIG_arg_fail(1)) SWIG_fail
;
19848 arg2
= (bool)(SWIG_As_bool(obj1
));
19849 if (SWIG_arg_fail(2)) SWIG_fail
;
19852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19853 (arg1
)->SetLoggingOff(arg2
);
19855 wxPyEndAllowThreads(__tstate
);
19856 if (PyErr_Occurred()) SWIG_fail
;
19858 Py_INCREF(Py_None
); resultobj
= Py_None
;
19865 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19866 PyObject
*resultobj
;
19867 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19869 PyObject
* obj0
= 0 ;
19870 char *kwnames
[] = {
19871 (char *) "self", NULL
19874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
19875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19876 if (SWIG_arg_fail(1)) SWIG_fail
;
19878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19879 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
19881 wxPyEndAllowThreads(__tstate
);
19882 if (PyErr_Occurred()) SWIG_fail
;
19885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19893 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19894 PyObject
*resultobj
;
19895 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19896 bool arg2
= (bool) true ;
19897 PyObject
* obj0
= 0 ;
19898 PyObject
* obj1
= 0 ;
19899 char *kwnames
[] = {
19900 (char *) "self",(char *) "veto", NULL
19903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
19904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19905 if (SWIG_arg_fail(1)) SWIG_fail
;
19908 arg2
= (bool)(SWIG_As_bool(obj1
));
19909 if (SWIG_arg_fail(2)) SWIG_fail
;
19913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19914 (arg1
)->Veto(arg2
);
19916 wxPyEndAllowThreads(__tstate
);
19917 if (PyErr_Occurred()) SWIG_fail
;
19919 Py_INCREF(Py_None
); resultobj
= Py_None
;
19926 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19927 PyObject
*resultobj
;
19928 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19930 PyObject
* obj0
= 0 ;
19931 PyObject
* obj1
= 0 ;
19932 char *kwnames
[] = {
19933 (char *) "self",(char *) "canVeto", NULL
19936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
19937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19938 if (SWIG_arg_fail(1)) SWIG_fail
;
19940 arg2
= (bool)(SWIG_As_bool(obj1
));
19941 if (SWIG_arg_fail(2)) SWIG_fail
;
19944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19945 (arg1
)->SetCanVeto(arg2
);
19947 wxPyEndAllowThreads(__tstate
);
19948 if (PyErr_Occurred()) SWIG_fail
;
19950 Py_INCREF(Py_None
); resultobj
= Py_None
;
19957 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19958 PyObject
*resultobj
;
19959 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19961 PyObject
* obj0
= 0 ;
19962 char *kwnames
[] = {
19963 (char *) "self", NULL
19966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
19967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19968 if (SWIG_arg_fail(1)) SWIG_fail
;
19970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19971 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
19973 wxPyEndAllowThreads(__tstate
);
19974 if (PyErr_Occurred()) SWIG_fail
;
19977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19985 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19986 PyObject
*resultobj
;
19987 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19989 PyObject
* obj0
= 0 ;
19990 char *kwnames
[] = {
19991 (char *) "self", NULL
19994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
19995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19996 if (SWIG_arg_fail(1)) SWIG_fail
;
19998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19999 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
20001 wxPyEndAllowThreads(__tstate
);
20002 if (PyErr_Occurred()) SWIG_fail
;
20005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20013 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
20015 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20016 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
20018 return Py_BuildValue((char *)"");
20020 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20021 PyObject
*resultobj
;
20022 int arg1
= (int) 0 ;
20023 bool arg2
= (bool) false ;
20024 wxShowEvent
*result
;
20025 PyObject
* obj0
= 0 ;
20026 PyObject
* obj1
= 0 ;
20027 char *kwnames
[] = {
20028 (char *) "winid",(char *) "show", NULL
20031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20034 arg1
= (int)(SWIG_As_int(obj0
));
20035 if (SWIG_arg_fail(1)) SWIG_fail
;
20040 arg2
= (bool)(SWIG_As_bool(obj1
));
20041 if (SWIG_arg_fail(2)) SWIG_fail
;
20045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20046 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
20048 wxPyEndAllowThreads(__tstate
);
20049 if (PyErr_Occurred()) SWIG_fail
;
20051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
20058 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20059 PyObject
*resultobj
;
20060 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20062 PyObject
* obj0
= 0 ;
20063 PyObject
* obj1
= 0 ;
20064 char *kwnames
[] = {
20065 (char *) "self",(char *) "show", NULL
20068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
20069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20070 if (SWIG_arg_fail(1)) SWIG_fail
;
20072 arg2
= (bool)(SWIG_As_bool(obj1
));
20073 if (SWIG_arg_fail(2)) SWIG_fail
;
20076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20077 (arg1
)->SetShow(arg2
);
20079 wxPyEndAllowThreads(__tstate
);
20080 if (PyErr_Occurred()) SWIG_fail
;
20082 Py_INCREF(Py_None
); resultobj
= Py_None
;
20089 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20090 PyObject
*resultobj
;
20091 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20093 PyObject
* obj0
= 0 ;
20094 char *kwnames
[] = {
20095 (char *) "self", NULL
20098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
20099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20100 if (SWIG_arg_fail(1)) SWIG_fail
;
20102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20103 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
20105 wxPyEndAllowThreads(__tstate
);
20106 if (PyErr_Occurred()) SWIG_fail
;
20109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20117 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
20119 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20120 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
20122 return Py_BuildValue((char *)"");
20124 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20125 PyObject
*resultobj
;
20126 int arg1
= (int) 0 ;
20127 bool arg2
= (bool) true ;
20128 wxIconizeEvent
*result
;
20129 PyObject
* obj0
= 0 ;
20130 PyObject
* obj1
= 0 ;
20131 char *kwnames
[] = {
20132 (char *) "id",(char *) "iconized", NULL
20135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20138 arg1
= (int)(SWIG_As_int(obj0
));
20139 if (SWIG_arg_fail(1)) SWIG_fail
;
20144 arg2
= (bool)(SWIG_As_bool(obj1
));
20145 if (SWIG_arg_fail(2)) SWIG_fail
;
20149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20150 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
20152 wxPyEndAllowThreads(__tstate
);
20153 if (PyErr_Occurred()) SWIG_fail
;
20155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
20162 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20163 PyObject
*resultobj
;
20164 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
20166 PyObject
* obj0
= 0 ;
20167 char *kwnames
[] = {
20168 (char *) "self", NULL
20171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
20172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20173 if (SWIG_arg_fail(1)) SWIG_fail
;
20175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20176 result
= (bool)(arg1
)->Iconized();
20178 wxPyEndAllowThreads(__tstate
);
20179 if (PyErr_Occurred()) SWIG_fail
;
20182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20190 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20193 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
20195 return Py_BuildValue((char *)"");
20197 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20198 PyObject
*resultobj
;
20199 int arg1
= (int) 0 ;
20200 wxMaximizeEvent
*result
;
20201 PyObject
* obj0
= 0 ;
20202 char *kwnames
[] = {
20203 (char *) "id", NULL
20206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
20209 arg1
= (int)(SWIG_As_int(obj0
));
20210 if (SWIG_arg_fail(1)) SWIG_fail
;
20214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20215 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
20217 wxPyEndAllowThreads(__tstate
);
20218 if (PyErr_Occurred()) SWIG_fail
;
20220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
20227 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20230 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
20232 return Py_BuildValue((char *)"");
20234 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20235 PyObject
*resultobj
;
20236 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20238 PyObject
* obj0
= 0 ;
20239 char *kwnames
[] = {
20240 (char *) "self", NULL
20243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20245 if (SWIG_arg_fail(1)) SWIG_fail
;
20247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20248 result
= (arg1
)->GetPosition();
20250 wxPyEndAllowThreads(__tstate
);
20251 if (PyErr_Occurred()) SWIG_fail
;
20254 wxPoint
* resultptr
;
20255 resultptr
= new wxPoint((wxPoint
&)(result
));
20256 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20264 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20265 PyObject
*resultobj
;
20266 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20268 PyObject
* obj0
= 0 ;
20269 char *kwnames
[] = {
20270 (char *) "self", NULL
20273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
20274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20275 if (SWIG_arg_fail(1)) SWIG_fail
;
20277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20278 result
= (int)(arg1
)->GetNumberOfFiles();
20280 wxPyEndAllowThreads(__tstate
);
20281 if (PyErr_Occurred()) SWIG_fail
;
20284 resultobj
= SWIG_From_int((int)(result
));
20292 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20293 PyObject
*resultobj
;
20294 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20296 PyObject
* obj0
= 0 ;
20297 char *kwnames
[] = {
20298 (char *) "self", NULL
20301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
20302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20303 if (SWIG_arg_fail(1)) SWIG_fail
;
20305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20306 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
20308 wxPyEndAllowThreads(__tstate
);
20309 if (PyErr_Occurred()) SWIG_fail
;
20311 resultobj
= result
;
20318 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
20320 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20321 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
20323 return Py_BuildValue((char *)"");
20325 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20326 PyObject
*resultobj
;
20327 int arg1
= (int) 0 ;
20328 wxUpdateUIEvent
*result
;
20329 PyObject
* obj0
= 0 ;
20330 char *kwnames
[] = {
20331 (char *) "commandId", NULL
20334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
20337 arg1
= (int)(SWIG_As_int(obj0
));
20338 if (SWIG_arg_fail(1)) SWIG_fail
;
20342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20343 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
20345 wxPyEndAllowThreads(__tstate
);
20346 if (PyErr_Occurred()) SWIG_fail
;
20348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
20355 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20356 PyObject
*resultobj
;
20357 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20359 PyObject
* obj0
= 0 ;
20360 char *kwnames
[] = {
20361 (char *) "self", NULL
20364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
20365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20366 if (SWIG_arg_fail(1)) SWIG_fail
;
20368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20369 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
20371 wxPyEndAllowThreads(__tstate
);
20372 if (PyErr_Occurred()) SWIG_fail
;
20375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20383 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20384 PyObject
*resultobj
;
20385 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20387 PyObject
* obj0
= 0 ;
20388 char *kwnames
[] = {
20389 (char *) "self", NULL
20392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
20393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20394 if (SWIG_arg_fail(1)) SWIG_fail
;
20396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20397 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
20399 wxPyEndAllowThreads(__tstate
);
20400 if (PyErr_Occurred()) SWIG_fail
;
20403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20411 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20412 PyObject
*resultobj
;
20413 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20415 PyObject
* obj0
= 0 ;
20416 char *kwnames
[] = {
20417 (char *) "self", NULL
20420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
20421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20422 if (SWIG_arg_fail(1)) SWIG_fail
;
20424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20425 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
20427 wxPyEndAllowThreads(__tstate
);
20428 if (PyErr_Occurred()) SWIG_fail
;
20432 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20434 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20443 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20444 PyObject
*resultobj
;
20445 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20447 PyObject
* obj0
= 0 ;
20448 char *kwnames
[] = {
20449 (char *) "self", NULL
20452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
20453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20454 if (SWIG_arg_fail(1)) SWIG_fail
;
20456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20457 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
20459 wxPyEndAllowThreads(__tstate
);
20460 if (PyErr_Occurred()) SWIG_fail
;
20463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20471 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20472 PyObject
*resultobj
;
20473 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20475 PyObject
* obj0
= 0 ;
20476 char *kwnames
[] = {
20477 (char *) "self", NULL
20480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
20481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20482 if (SWIG_arg_fail(1)) SWIG_fail
;
20484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20485 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
20487 wxPyEndAllowThreads(__tstate
);
20488 if (PyErr_Occurred()) SWIG_fail
;
20491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20499 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20500 PyObject
*resultobj
;
20501 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20503 PyObject
* obj0
= 0 ;
20504 char *kwnames
[] = {
20505 (char *) "self", NULL
20508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
20509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20510 if (SWIG_arg_fail(1)) SWIG_fail
;
20512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20513 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
20515 wxPyEndAllowThreads(__tstate
);
20516 if (PyErr_Occurred()) SWIG_fail
;
20519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20527 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20528 PyObject
*resultobj
;
20529 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20531 PyObject
* obj0
= 0 ;
20532 PyObject
* obj1
= 0 ;
20533 char *kwnames
[] = {
20534 (char *) "self",(char *) "check", NULL
20537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
20538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20539 if (SWIG_arg_fail(1)) SWIG_fail
;
20541 arg2
= (bool)(SWIG_As_bool(obj1
));
20542 if (SWIG_arg_fail(2)) SWIG_fail
;
20545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20546 (arg1
)->Check(arg2
);
20548 wxPyEndAllowThreads(__tstate
);
20549 if (PyErr_Occurred()) SWIG_fail
;
20551 Py_INCREF(Py_None
); resultobj
= Py_None
;
20558 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20559 PyObject
*resultobj
;
20560 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20562 PyObject
* obj0
= 0 ;
20563 PyObject
* obj1
= 0 ;
20564 char *kwnames
[] = {
20565 (char *) "self",(char *) "enable", NULL
20568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
20569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20570 if (SWIG_arg_fail(1)) SWIG_fail
;
20572 arg2
= (bool)(SWIG_As_bool(obj1
));
20573 if (SWIG_arg_fail(2)) SWIG_fail
;
20576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20577 (arg1
)->Enable(arg2
);
20579 wxPyEndAllowThreads(__tstate
);
20580 if (PyErr_Occurred()) SWIG_fail
;
20582 Py_INCREF(Py_None
); resultobj
= Py_None
;
20589 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20590 PyObject
*resultobj
;
20591 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20592 wxString
*arg2
= 0 ;
20593 bool temp2
= false ;
20594 PyObject
* obj0
= 0 ;
20595 PyObject
* obj1
= 0 ;
20596 char *kwnames
[] = {
20597 (char *) "self",(char *) "text", NULL
20600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
20601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20602 if (SWIG_arg_fail(1)) SWIG_fail
;
20604 arg2
= wxString_in_helper(obj1
);
20605 if (arg2
== NULL
) SWIG_fail
;
20609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20610 (arg1
)->SetText((wxString
const &)*arg2
);
20612 wxPyEndAllowThreads(__tstate
);
20613 if (PyErr_Occurred()) SWIG_fail
;
20615 Py_INCREF(Py_None
); resultobj
= Py_None
;
20630 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20631 PyObject
*resultobj
;
20633 PyObject
* obj0
= 0 ;
20634 char *kwnames
[] = {
20635 (char *) "updateInterval", NULL
20638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
20640 arg1
= (long)(SWIG_As_long(obj0
));
20641 if (SWIG_arg_fail(1)) SWIG_fail
;
20644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20645 wxUpdateUIEvent::SetUpdateInterval(arg1
);
20647 wxPyEndAllowThreads(__tstate
);
20648 if (PyErr_Occurred()) SWIG_fail
;
20650 Py_INCREF(Py_None
); resultobj
= Py_None
;
20657 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20658 PyObject
*resultobj
;
20660 char *kwnames
[] = {
20664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
20666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20667 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
20669 wxPyEndAllowThreads(__tstate
);
20670 if (PyErr_Occurred()) SWIG_fail
;
20673 resultobj
= SWIG_From_long((long)(result
));
20681 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20682 PyObject
*resultobj
;
20683 wxWindow
*arg1
= (wxWindow
*) 0 ;
20685 PyObject
* obj0
= 0 ;
20686 char *kwnames
[] = {
20687 (char *) "win", NULL
20690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
20691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20692 if (SWIG_arg_fail(1)) SWIG_fail
;
20694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20695 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
20697 wxPyEndAllowThreads(__tstate
);
20698 if (PyErr_Occurred()) SWIG_fail
;
20701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20709 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20710 PyObject
*resultobj
;
20711 char *kwnames
[] = {
20715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
20717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20718 wxUpdateUIEvent::ResetUpdateTime();
20720 wxPyEndAllowThreads(__tstate
);
20721 if (PyErr_Occurred()) SWIG_fail
;
20723 Py_INCREF(Py_None
); resultobj
= Py_None
;
20730 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20731 PyObject
*resultobj
;
20732 wxUpdateUIMode arg1
;
20733 PyObject
* obj0
= 0 ;
20734 char *kwnames
[] = {
20735 (char *) "mode", NULL
20738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
20740 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
20741 if (SWIG_arg_fail(1)) SWIG_fail
;
20744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20745 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
20747 wxPyEndAllowThreads(__tstate
);
20748 if (PyErr_Occurred()) SWIG_fail
;
20750 Py_INCREF(Py_None
); resultobj
= Py_None
;
20757 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20758 PyObject
*resultobj
;
20759 wxUpdateUIMode result
;
20760 char *kwnames
[] = {
20764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
20766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20767 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
20769 wxPyEndAllowThreads(__tstate
);
20770 if (PyErr_Occurred()) SWIG_fail
;
20772 resultobj
= SWIG_From_int((result
));
20779 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
20781 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20782 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
20784 return Py_BuildValue((char *)"");
20786 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20787 PyObject
*resultobj
;
20788 wxSysColourChangedEvent
*result
;
20789 char *kwnames
[] = {
20793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
20795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20796 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
20798 wxPyEndAllowThreads(__tstate
);
20799 if (PyErr_Occurred()) SWIG_fail
;
20801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
20808 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20811 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
20813 return Py_BuildValue((char *)"");
20815 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20816 PyObject
*resultobj
;
20817 int arg1
= (int) 0 ;
20818 wxWindow
*arg2
= (wxWindow
*) NULL
;
20819 wxMouseCaptureChangedEvent
*result
;
20820 PyObject
* obj0
= 0 ;
20821 PyObject
* obj1
= 0 ;
20822 char *kwnames
[] = {
20823 (char *) "winid",(char *) "gainedCapture", NULL
20826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20829 arg1
= (int)(SWIG_As_int(obj0
));
20830 if (SWIG_arg_fail(1)) SWIG_fail
;
20834 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20835 if (SWIG_arg_fail(2)) SWIG_fail
;
20838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20839 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
20841 wxPyEndAllowThreads(__tstate
);
20842 if (PyErr_Occurred()) SWIG_fail
;
20844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
20851 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20852 PyObject
*resultobj
;
20853 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
20855 PyObject
* obj0
= 0 ;
20856 char *kwnames
[] = {
20857 (char *) "self", NULL
20860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
20861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20862 if (SWIG_arg_fail(1)) SWIG_fail
;
20864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20865 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
20867 wxPyEndAllowThreads(__tstate
);
20868 if (PyErr_Occurred()) SWIG_fail
;
20871 resultobj
= wxPyMake_wxObject(result
, 0);
20879 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20882 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
20884 return Py_BuildValue((char *)"");
20886 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20887 PyObject
*resultobj
;
20888 wxDisplayChangedEvent
*result
;
20889 char *kwnames
[] = {
20893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
20895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20896 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
20898 wxPyEndAllowThreads(__tstate
);
20899 if (PyErr_Occurred()) SWIG_fail
;
20901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
20908 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20910 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20911 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
20913 return Py_BuildValue((char *)"");
20915 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20916 PyObject
*resultobj
;
20917 int arg1
= (int) 0 ;
20918 wxPaletteChangedEvent
*result
;
20919 PyObject
* obj0
= 0 ;
20920 char *kwnames
[] = {
20921 (char *) "id", NULL
20924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
20927 arg1
= (int)(SWIG_As_int(obj0
));
20928 if (SWIG_arg_fail(1)) SWIG_fail
;
20932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20933 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
20935 wxPyEndAllowThreads(__tstate
);
20936 if (PyErr_Occurred()) SWIG_fail
;
20938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
20945 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20946 PyObject
*resultobj
;
20947 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
20948 wxWindow
*arg2
= (wxWindow
*) 0 ;
20949 PyObject
* obj0
= 0 ;
20950 PyObject
* obj1
= 0 ;
20951 char *kwnames
[] = {
20952 (char *) "self",(char *) "win", NULL
20955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20957 if (SWIG_arg_fail(1)) SWIG_fail
;
20958 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20959 if (SWIG_arg_fail(2)) SWIG_fail
;
20961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20962 (arg1
)->SetChangedWindow(arg2
);
20964 wxPyEndAllowThreads(__tstate
);
20965 if (PyErr_Occurred()) SWIG_fail
;
20967 Py_INCREF(Py_None
); resultobj
= Py_None
;
20974 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20975 PyObject
*resultobj
;
20976 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
20978 PyObject
* obj0
= 0 ;
20979 char *kwnames
[] = {
20980 (char *) "self", NULL
20983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
20984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20985 if (SWIG_arg_fail(1)) SWIG_fail
;
20987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20988 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
20990 wxPyEndAllowThreads(__tstate
);
20991 if (PyErr_Occurred()) SWIG_fail
;
20994 resultobj
= wxPyMake_wxObject(result
, 0);
21002 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21004 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21005 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
21007 return Py_BuildValue((char *)"");
21009 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21010 PyObject
*resultobj
;
21011 int arg1
= (int) 0 ;
21012 wxQueryNewPaletteEvent
*result
;
21013 PyObject
* obj0
= 0 ;
21014 char *kwnames
[] = {
21015 (char *) "winid", NULL
21018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
21021 arg1
= (int)(SWIG_As_int(obj0
));
21022 if (SWIG_arg_fail(1)) SWIG_fail
;
21026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21027 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
21029 wxPyEndAllowThreads(__tstate
);
21030 if (PyErr_Occurred()) SWIG_fail
;
21032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
21039 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21040 PyObject
*resultobj
;
21041 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21043 PyObject
* obj0
= 0 ;
21044 PyObject
* obj1
= 0 ;
21045 char *kwnames
[] = {
21046 (char *) "self",(char *) "realized", NULL
21049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
21050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21051 if (SWIG_arg_fail(1)) SWIG_fail
;
21053 arg2
= (bool)(SWIG_As_bool(obj1
));
21054 if (SWIG_arg_fail(2)) SWIG_fail
;
21057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21058 (arg1
)->SetPaletteRealized(arg2
);
21060 wxPyEndAllowThreads(__tstate
);
21061 if (PyErr_Occurred()) SWIG_fail
;
21063 Py_INCREF(Py_None
); resultobj
= Py_None
;
21070 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21071 PyObject
*resultobj
;
21072 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21074 PyObject
* obj0
= 0 ;
21075 char *kwnames
[] = {
21076 (char *) "self", NULL
21079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
21080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21081 if (SWIG_arg_fail(1)) SWIG_fail
;
21083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21084 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
21086 wxPyEndAllowThreads(__tstate
);
21087 if (PyErr_Occurred()) SWIG_fail
;
21090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21098 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
21100 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21101 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
21103 return Py_BuildValue((char *)"");
21105 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21106 PyObject
*resultobj
;
21107 wxNavigationKeyEvent
*result
;
21108 char *kwnames
[] = {
21112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
21114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21115 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
21117 wxPyEndAllowThreads(__tstate
);
21118 if (PyErr_Occurred()) SWIG_fail
;
21120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
21127 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21128 PyObject
*resultobj
;
21129 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21131 PyObject
* obj0
= 0 ;
21132 char *kwnames
[] = {
21133 (char *) "self", NULL
21136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
21137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21138 if (SWIG_arg_fail(1)) SWIG_fail
;
21140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21141 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
21143 wxPyEndAllowThreads(__tstate
);
21144 if (PyErr_Occurred()) SWIG_fail
;
21147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21155 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21156 PyObject
*resultobj
;
21157 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21159 PyObject
* obj0
= 0 ;
21160 PyObject
* obj1
= 0 ;
21161 char *kwnames
[] = {
21162 (char *) "self",(char *) "forward", NULL
21165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
21166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21167 if (SWIG_arg_fail(1)) SWIG_fail
;
21169 arg2
= (bool)(SWIG_As_bool(obj1
));
21170 if (SWIG_arg_fail(2)) SWIG_fail
;
21173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21174 (arg1
)->SetDirection(arg2
);
21176 wxPyEndAllowThreads(__tstate
);
21177 if (PyErr_Occurred()) SWIG_fail
;
21179 Py_INCREF(Py_None
); resultobj
= Py_None
;
21186 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21187 PyObject
*resultobj
;
21188 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21190 PyObject
* obj0
= 0 ;
21191 char *kwnames
[] = {
21192 (char *) "self", NULL
21195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
21196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21197 if (SWIG_arg_fail(1)) SWIG_fail
;
21199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21200 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
21202 wxPyEndAllowThreads(__tstate
);
21203 if (PyErr_Occurred()) SWIG_fail
;
21206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21214 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21215 PyObject
*resultobj
;
21216 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21218 PyObject
* obj0
= 0 ;
21219 PyObject
* obj1
= 0 ;
21220 char *kwnames
[] = {
21221 (char *) "self",(char *) "ischange", NULL
21224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
21225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21226 if (SWIG_arg_fail(1)) SWIG_fail
;
21228 arg2
= (bool)(SWIG_As_bool(obj1
));
21229 if (SWIG_arg_fail(2)) SWIG_fail
;
21232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21233 (arg1
)->SetWindowChange(arg2
);
21235 wxPyEndAllowThreads(__tstate
);
21236 if (PyErr_Occurred()) SWIG_fail
;
21238 Py_INCREF(Py_None
); resultobj
= Py_None
;
21245 static PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21246 PyObject
*resultobj
;
21247 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21249 PyObject
* obj0
= 0 ;
21250 char *kwnames
[] = {
21251 (char *) "self", NULL
21254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames
,&obj0
)) goto fail
;
21255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21256 if (SWIG_arg_fail(1)) SWIG_fail
;
21258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21259 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
21261 wxPyEndAllowThreads(__tstate
);
21262 if (PyErr_Occurred()) SWIG_fail
;
21265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21273 static PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21274 PyObject
*resultobj
;
21275 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21277 PyObject
* obj0
= 0 ;
21278 PyObject
* obj1
= 0 ;
21279 char *kwnames
[] = {
21280 (char *) "self",(char *) "bIs", NULL
21283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) goto fail
;
21284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21285 if (SWIG_arg_fail(1)) SWIG_fail
;
21287 arg2
= (bool)(SWIG_As_bool(obj1
));
21288 if (SWIG_arg_fail(2)) SWIG_fail
;
21291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21292 (arg1
)->SetFromTab(arg2
);
21294 wxPyEndAllowThreads(__tstate
);
21295 if (PyErr_Occurred()) SWIG_fail
;
21297 Py_INCREF(Py_None
); resultobj
= Py_None
;
21304 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21305 PyObject
*resultobj
;
21306 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21308 PyObject
* obj0
= 0 ;
21309 PyObject
* obj1
= 0 ;
21310 char *kwnames
[] = {
21311 (char *) "self",(char *) "flags", NULL
21314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
21315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21316 if (SWIG_arg_fail(1)) SWIG_fail
;
21318 arg2
= (long)(SWIG_As_long(obj1
));
21319 if (SWIG_arg_fail(2)) SWIG_fail
;
21322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21323 (arg1
)->SetFlags(arg2
);
21325 wxPyEndAllowThreads(__tstate
);
21326 if (PyErr_Occurred()) SWIG_fail
;
21328 Py_INCREF(Py_None
); resultobj
= Py_None
;
21335 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21336 PyObject
*resultobj
;
21337 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21339 PyObject
* obj0
= 0 ;
21340 char *kwnames
[] = {
21341 (char *) "self", NULL
21344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
21345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21346 if (SWIG_arg_fail(1)) SWIG_fail
;
21348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21349 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
21351 wxPyEndAllowThreads(__tstate
);
21352 if (PyErr_Occurred()) SWIG_fail
;
21355 resultobj
= wxPyMake_wxObject(result
, 0);
21363 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21364 PyObject
*resultobj
;
21365 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21366 wxWindow
*arg2
= (wxWindow
*) 0 ;
21367 PyObject
* obj0
= 0 ;
21368 PyObject
* obj1
= 0 ;
21369 char *kwnames
[] = {
21370 (char *) "self",(char *) "win", NULL
21373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
21374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21375 if (SWIG_arg_fail(1)) SWIG_fail
;
21376 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21377 if (SWIG_arg_fail(2)) SWIG_fail
;
21379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21380 (arg1
)->SetCurrentFocus(arg2
);
21382 wxPyEndAllowThreads(__tstate
);
21383 if (PyErr_Occurred()) SWIG_fail
;
21385 Py_INCREF(Py_None
); resultobj
= Py_None
;
21392 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
21394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21395 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
21397 return Py_BuildValue((char *)"");
21399 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21400 PyObject
*resultobj
;
21401 wxWindow
*arg1
= (wxWindow
*) NULL
;
21402 wxWindowCreateEvent
*result
;
21403 PyObject
* obj0
= 0 ;
21404 char *kwnames
[] = {
21405 (char *) "win", NULL
21408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
21410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21411 if (SWIG_arg_fail(1)) SWIG_fail
;
21414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21415 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
21417 wxPyEndAllowThreads(__tstate
);
21418 if (PyErr_Occurred()) SWIG_fail
;
21420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
21427 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21428 PyObject
*resultobj
;
21429 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
21431 PyObject
* obj0
= 0 ;
21432 char *kwnames
[] = {
21433 (char *) "self", NULL
21436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21438 if (SWIG_arg_fail(1)) SWIG_fail
;
21440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21441 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
21443 wxPyEndAllowThreads(__tstate
);
21444 if (PyErr_Occurred()) SWIG_fail
;
21447 resultobj
= wxPyMake_wxObject(result
, 0);
21455 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
21457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21458 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
21460 return Py_BuildValue((char *)"");
21462 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21463 PyObject
*resultobj
;
21464 wxWindow
*arg1
= (wxWindow
*) NULL
;
21465 wxWindowDestroyEvent
*result
;
21466 PyObject
* obj0
= 0 ;
21467 char *kwnames
[] = {
21468 (char *) "win", NULL
21471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
21473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21474 if (SWIG_arg_fail(1)) SWIG_fail
;
21477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21478 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
21480 wxPyEndAllowThreads(__tstate
);
21481 if (PyErr_Occurred()) SWIG_fail
;
21483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
21490 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21491 PyObject
*resultobj
;
21492 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
21494 PyObject
* obj0
= 0 ;
21495 char *kwnames
[] = {
21496 (char *) "self", NULL
21499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21501 if (SWIG_arg_fail(1)) SWIG_fail
;
21503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21504 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
21506 wxPyEndAllowThreads(__tstate
);
21507 if (PyErr_Occurred()) SWIG_fail
;
21510 resultobj
= wxPyMake_wxObject(result
, 0);
21518 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
21520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21521 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
21523 return Py_BuildValue((char *)"");
21525 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21526 PyObject
*resultobj
;
21527 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21528 int arg2
= (int) 0 ;
21529 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21530 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21531 wxContextMenuEvent
*result
;
21533 PyObject
* obj0
= 0 ;
21534 PyObject
* obj1
= 0 ;
21535 PyObject
* obj2
= 0 ;
21536 char *kwnames
[] = {
21537 (char *) "type",(char *) "winid",(char *) "pt", NULL
21540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21543 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21544 if (SWIG_arg_fail(1)) SWIG_fail
;
21549 arg2
= (int)(SWIG_As_int(obj1
));
21550 if (SWIG_arg_fail(2)) SWIG_fail
;
21556 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21561 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
21563 wxPyEndAllowThreads(__tstate
);
21564 if (PyErr_Occurred()) SWIG_fail
;
21566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
21573 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21574 PyObject
*resultobj
;
21575 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21577 PyObject
* obj0
= 0 ;
21578 char *kwnames
[] = {
21579 (char *) "self", NULL
21582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
21583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21584 if (SWIG_arg_fail(1)) SWIG_fail
;
21586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21588 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
21589 result
= (wxPoint
*) &_result_ref
;
21592 wxPyEndAllowThreads(__tstate
);
21593 if (PyErr_Occurred()) SWIG_fail
;
21595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
21602 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21603 PyObject
*resultobj
;
21604 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21605 wxPoint
*arg2
= 0 ;
21607 PyObject
* obj0
= 0 ;
21608 PyObject
* obj1
= 0 ;
21609 char *kwnames
[] = {
21610 (char *) "self",(char *) "pos", NULL
21613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21615 if (SWIG_arg_fail(1)) SWIG_fail
;
21618 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21622 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
21624 wxPyEndAllowThreads(__tstate
);
21625 if (PyErr_Occurred()) SWIG_fail
;
21627 Py_INCREF(Py_None
); resultobj
= Py_None
;
21634 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
21636 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21637 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
21639 return Py_BuildValue((char *)"");
21641 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21642 PyObject
*resultobj
;
21643 wxIdleEvent
*result
;
21644 char *kwnames
[] = {
21648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
21650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21651 result
= (wxIdleEvent
*)new wxIdleEvent();
21653 wxPyEndAllowThreads(__tstate
);
21654 if (PyErr_Occurred()) SWIG_fail
;
21656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
21663 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21664 PyObject
*resultobj
;
21665 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21666 bool arg2
= (bool) true ;
21667 PyObject
* obj0
= 0 ;
21668 PyObject
* obj1
= 0 ;
21669 char *kwnames
[] = {
21670 (char *) "self",(char *) "needMore", NULL
21673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
21674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21675 if (SWIG_arg_fail(1)) SWIG_fail
;
21678 arg2
= (bool)(SWIG_As_bool(obj1
));
21679 if (SWIG_arg_fail(2)) SWIG_fail
;
21683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21684 (arg1
)->RequestMore(arg2
);
21686 wxPyEndAllowThreads(__tstate
);
21687 if (PyErr_Occurred()) SWIG_fail
;
21689 Py_INCREF(Py_None
); resultobj
= Py_None
;
21696 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21697 PyObject
*resultobj
;
21698 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21700 PyObject
* obj0
= 0 ;
21701 char *kwnames
[] = {
21702 (char *) "self", NULL
21705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
21706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21707 if (SWIG_arg_fail(1)) SWIG_fail
;
21709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21710 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
21712 wxPyEndAllowThreads(__tstate
);
21713 if (PyErr_Occurred()) SWIG_fail
;
21716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21724 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21725 PyObject
*resultobj
;
21727 PyObject
* obj0
= 0 ;
21728 char *kwnames
[] = {
21729 (char *) "mode", NULL
21732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21734 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
21735 if (SWIG_arg_fail(1)) SWIG_fail
;
21738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21739 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
21741 wxPyEndAllowThreads(__tstate
);
21742 if (PyErr_Occurred()) SWIG_fail
;
21744 Py_INCREF(Py_None
); resultobj
= Py_None
;
21751 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21752 PyObject
*resultobj
;
21754 char *kwnames
[] = {
21758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
21760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21761 result
= (wxIdleMode
)wxIdleEvent::GetMode();
21763 wxPyEndAllowThreads(__tstate
);
21764 if (PyErr_Occurred()) SWIG_fail
;
21766 resultobj
= SWIG_From_int((result
));
21773 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21774 PyObject
*resultobj
;
21775 wxWindow
*arg1
= (wxWindow
*) 0 ;
21777 PyObject
* obj0
= 0 ;
21778 char *kwnames
[] = {
21779 (char *) "win", NULL
21782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
21783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21784 if (SWIG_arg_fail(1)) SWIG_fail
;
21786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21787 result
= (bool)wxIdleEvent::CanSend(arg1
);
21789 wxPyEndAllowThreads(__tstate
);
21790 if (PyErr_Occurred()) SWIG_fail
;
21793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21801 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
21803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21804 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
21806 return Py_BuildValue((char *)"");
21808 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21809 PyObject
*resultobj
;
21810 int arg1
= (int) 0 ;
21811 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
21813 PyObject
* obj0
= 0 ;
21814 PyObject
* obj1
= 0 ;
21815 char *kwnames
[] = {
21816 (char *) "winid",(char *) "commandType", NULL
21819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21822 arg1
= (int)(SWIG_As_int(obj0
));
21823 if (SWIG_arg_fail(1)) SWIG_fail
;
21828 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
21829 if (SWIG_arg_fail(2)) SWIG_fail
;
21833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21834 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
21836 wxPyEndAllowThreads(__tstate
);
21837 if (PyErr_Occurred()) SWIG_fail
;
21839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
21846 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21847 PyObject
*resultobj
;
21848 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21849 PyObject
* obj0
= 0 ;
21850 char *kwnames
[] = {
21851 (char *) "self", NULL
21854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
21855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21856 if (SWIG_arg_fail(1)) SWIG_fail
;
21858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21861 wxPyEndAllowThreads(__tstate
);
21862 if (PyErr_Occurred()) SWIG_fail
;
21864 Py_INCREF(Py_None
); resultobj
= Py_None
;
21871 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21872 PyObject
*resultobj
;
21873 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21874 PyObject
*arg2
= (PyObject
*) 0 ;
21875 PyObject
* obj0
= 0 ;
21876 PyObject
* obj1
= 0 ;
21877 char *kwnames
[] = {
21878 (char *) "self",(char *) "self", NULL
21881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
21882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21883 if (SWIG_arg_fail(1)) SWIG_fail
;
21886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21887 (arg1
)->SetSelf(arg2
);
21889 wxPyEndAllowThreads(__tstate
);
21890 if (PyErr_Occurred()) SWIG_fail
;
21892 Py_INCREF(Py_None
); resultobj
= Py_None
;
21899 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21900 PyObject
*resultobj
;
21901 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21903 PyObject
* obj0
= 0 ;
21904 char *kwnames
[] = {
21905 (char *) "self", NULL
21908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
21909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21910 if (SWIG_arg_fail(1)) SWIG_fail
;
21912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21913 result
= (PyObject
*)(arg1
)->GetSelf();
21915 wxPyEndAllowThreads(__tstate
);
21916 if (PyErr_Occurred()) SWIG_fail
;
21918 resultobj
= result
;
21925 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
21927 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21928 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
21930 return Py_BuildValue((char *)"");
21932 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21933 PyObject
*resultobj
;
21934 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21935 int arg2
= (int) 0 ;
21936 wxPyCommandEvent
*result
;
21937 PyObject
* obj0
= 0 ;
21938 PyObject
* obj1
= 0 ;
21939 char *kwnames
[] = {
21940 (char *) "commandType",(char *) "id", NULL
21943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21946 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21947 if (SWIG_arg_fail(1)) SWIG_fail
;
21952 arg2
= (int)(SWIG_As_int(obj1
));
21953 if (SWIG_arg_fail(2)) SWIG_fail
;
21957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21958 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
21960 wxPyEndAllowThreads(__tstate
);
21961 if (PyErr_Occurred()) SWIG_fail
;
21963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
21970 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21971 PyObject
*resultobj
;
21972 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21973 PyObject
* obj0
= 0 ;
21974 char *kwnames
[] = {
21975 (char *) "self", NULL
21978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
21979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
21980 if (SWIG_arg_fail(1)) SWIG_fail
;
21982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21985 wxPyEndAllowThreads(__tstate
);
21986 if (PyErr_Occurred()) SWIG_fail
;
21988 Py_INCREF(Py_None
); resultobj
= Py_None
;
21995 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21996 PyObject
*resultobj
;
21997 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21998 PyObject
*arg2
= (PyObject
*) 0 ;
21999 PyObject
* obj0
= 0 ;
22000 PyObject
* obj1
= 0 ;
22001 char *kwnames
[] = {
22002 (char *) "self",(char *) "self", NULL
22005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22007 if (SWIG_arg_fail(1)) SWIG_fail
;
22010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22011 (arg1
)->SetSelf(arg2
);
22013 wxPyEndAllowThreads(__tstate
);
22014 if (PyErr_Occurred()) SWIG_fail
;
22016 Py_INCREF(Py_None
); resultobj
= Py_None
;
22023 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22024 PyObject
*resultobj
;
22025 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22027 PyObject
* obj0
= 0 ;
22028 char *kwnames
[] = {
22029 (char *) "self", NULL
22032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
22033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22034 if (SWIG_arg_fail(1)) SWIG_fail
;
22036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22037 result
= (PyObject
*)(arg1
)->GetSelf();
22039 wxPyEndAllowThreads(__tstate
);
22040 if (PyErr_Occurred()) SWIG_fail
;
22042 resultobj
= result
;
22049 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
22051 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22052 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
22054 return Py_BuildValue((char *)"");
22056 static PyObject
*_wrap_new_DateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22057 PyObject
*resultobj
;
22058 wxWindow
*arg1
= (wxWindow
*) 0 ;
22059 wxDateTime
*arg2
= 0 ;
22061 wxDateEvent
*result
;
22062 PyObject
* obj0
= 0 ;
22063 PyObject
* obj1
= 0 ;
22064 PyObject
* obj2
= 0 ;
22065 char *kwnames
[] = {
22066 (char *) "win",(char *) "dt",(char *) "type", NULL
22069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22071 if (SWIG_arg_fail(1)) SWIG_fail
;
22073 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22074 if (SWIG_arg_fail(2)) SWIG_fail
;
22075 if (arg2
== NULL
) {
22076 SWIG_null_ref("wxDateTime");
22078 if (SWIG_arg_fail(2)) SWIG_fail
;
22081 arg3
= (wxEventType
)(SWIG_As_int(obj2
));
22082 if (SWIG_arg_fail(3)) SWIG_fail
;
22085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22086 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
22088 wxPyEndAllowThreads(__tstate
);
22089 if (PyErr_Occurred()) SWIG_fail
;
22091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateEvent
, 1);
22098 static PyObject
*_wrap_DateEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22099 PyObject
*resultobj
;
22100 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22101 wxDateTime
*result
;
22102 PyObject
* obj0
= 0 ;
22103 char *kwnames
[] = {
22104 (char *) "self", NULL
22107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateEvent_GetDate",kwnames
,&obj0
)) goto fail
;
22108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22109 if (SWIG_arg_fail(1)) SWIG_fail
;
22111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22113 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
22114 result
= (wxDateTime
*) &_result_ref
;
22117 wxPyEndAllowThreads(__tstate
);
22118 if (PyErr_Occurred()) SWIG_fail
;
22120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22127 static PyObject
*_wrap_DateEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22128 PyObject
*resultobj
;
22129 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22130 wxDateTime
*arg2
= 0 ;
22131 PyObject
* obj0
= 0 ;
22132 PyObject
* obj1
= 0 ;
22133 char *kwnames
[] = {
22134 (char *) "self",(char *) "date", NULL
22137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22139 if (SWIG_arg_fail(1)) SWIG_fail
;
22141 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22142 if (SWIG_arg_fail(2)) SWIG_fail
;
22143 if (arg2
== NULL
) {
22144 SWIG_null_ref("wxDateTime");
22146 if (SWIG_arg_fail(2)) SWIG_fail
;
22149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22150 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
22152 wxPyEndAllowThreads(__tstate
);
22153 if (PyErr_Occurred()) SWIG_fail
;
22155 Py_INCREF(Py_None
); resultobj
= Py_None
;
22162 static PyObject
* DateEvent_swigregister(PyObject
*, PyObject
*args
) {
22164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22165 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent
, obj
);
22167 return Py_BuildValue((char *)"");
22169 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22170 PyObject
*resultobj
;
22172 char *kwnames
[] = {
22176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
22178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22179 result
= (wxPyApp
*)new_wxPyApp();
22181 wxPyEndAllowThreads(__tstate
);
22182 if (PyErr_Occurred()) SWIG_fail
;
22184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
22191 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22192 PyObject
*resultobj
;
22193 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22194 PyObject
* obj0
= 0 ;
22195 char *kwnames
[] = {
22196 (char *) "self", NULL
22199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
22200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22201 if (SWIG_arg_fail(1)) SWIG_fail
;
22203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22206 wxPyEndAllowThreads(__tstate
);
22207 if (PyErr_Occurred()) SWIG_fail
;
22209 Py_INCREF(Py_None
); resultobj
= Py_None
;
22216 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22217 PyObject
*resultobj
;
22218 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22219 PyObject
*arg2
= (PyObject
*) 0 ;
22220 PyObject
*arg3
= (PyObject
*) 0 ;
22221 PyObject
* obj0
= 0 ;
22222 PyObject
* obj1
= 0 ;
22223 PyObject
* obj2
= 0 ;
22224 char *kwnames
[] = {
22225 (char *) "self",(char *) "self",(char *) "_class", NULL
22228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22230 if (SWIG_arg_fail(1)) SWIG_fail
;
22234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22235 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22237 wxPyEndAllowThreads(__tstate
);
22238 if (PyErr_Occurred()) SWIG_fail
;
22240 Py_INCREF(Py_None
); resultobj
= Py_None
;
22247 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22248 PyObject
*resultobj
;
22249 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22251 PyObject
* obj0
= 0 ;
22252 char *kwnames
[] = {
22253 (char *) "self", NULL
22256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
22257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22258 if (SWIG_arg_fail(1)) SWIG_fail
;
22260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22261 result
= ((wxPyApp
const *)arg1
)->GetAppName();
22263 wxPyEndAllowThreads(__tstate
);
22264 if (PyErr_Occurred()) SWIG_fail
;
22268 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22270 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22279 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22280 PyObject
*resultobj
;
22281 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22282 wxString
*arg2
= 0 ;
22283 bool temp2
= false ;
22284 PyObject
* obj0
= 0 ;
22285 PyObject
* obj1
= 0 ;
22286 char *kwnames
[] = {
22287 (char *) "self",(char *) "name", NULL
22290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
22291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22292 if (SWIG_arg_fail(1)) SWIG_fail
;
22294 arg2
= wxString_in_helper(obj1
);
22295 if (arg2
== NULL
) SWIG_fail
;
22299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22300 (arg1
)->SetAppName((wxString
const &)*arg2
);
22302 wxPyEndAllowThreads(__tstate
);
22303 if (PyErr_Occurred()) SWIG_fail
;
22305 Py_INCREF(Py_None
); resultobj
= Py_None
;
22320 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22321 PyObject
*resultobj
;
22322 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22324 PyObject
* obj0
= 0 ;
22325 char *kwnames
[] = {
22326 (char *) "self", NULL
22329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
22330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22331 if (SWIG_arg_fail(1)) SWIG_fail
;
22333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22334 result
= ((wxPyApp
const *)arg1
)->GetClassName();
22336 wxPyEndAllowThreads(__tstate
);
22337 if (PyErr_Occurred()) SWIG_fail
;
22341 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22343 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22352 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22353 PyObject
*resultobj
;
22354 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22355 wxString
*arg2
= 0 ;
22356 bool temp2
= false ;
22357 PyObject
* obj0
= 0 ;
22358 PyObject
* obj1
= 0 ;
22359 char *kwnames
[] = {
22360 (char *) "self",(char *) "name", NULL
22363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
22364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22365 if (SWIG_arg_fail(1)) SWIG_fail
;
22367 arg2
= wxString_in_helper(obj1
);
22368 if (arg2
== NULL
) SWIG_fail
;
22372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22373 (arg1
)->SetClassName((wxString
const &)*arg2
);
22375 wxPyEndAllowThreads(__tstate
);
22376 if (PyErr_Occurred()) SWIG_fail
;
22378 Py_INCREF(Py_None
); resultobj
= Py_None
;
22393 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22394 PyObject
*resultobj
;
22395 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22397 PyObject
* obj0
= 0 ;
22398 char *kwnames
[] = {
22399 (char *) "self", NULL
22402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
22403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22404 if (SWIG_arg_fail(1)) SWIG_fail
;
22406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22408 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
22409 result
= (wxString
*) &_result_ref
;
22412 wxPyEndAllowThreads(__tstate
);
22413 if (PyErr_Occurred()) SWIG_fail
;
22417 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22419 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22428 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22429 PyObject
*resultobj
;
22430 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22431 wxString
*arg2
= 0 ;
22432 bool temp2
= false ;
22433 PyObject
* obj0
= 0 ;
22434 PyObject
* obj1
= 0 ;
22435 char *kwnames
[] = {
22436 (char *) "self",(char *) "name", NULL
22439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
22440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22441 if (SWIG_arg_fail(1)) SWIG_fail
;
22443 arg2
= wxString_in_helper(obj1
);
22444 if (arg2
== NULL
) SWIG_fail
;
22448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22449 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22451 wxPyEndAllowThreads(__tstate
);
22452 if (PyErr_Occurred()) SWIG_fail
;
22454 Py_INCREF(Py_None
); resultobj
= Py_None
;
22469 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22470 PyObject
*resultobj
;
22471 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22472 wxAppTraits
*result
;
22473 PyObject
* obj0
= 0 ;
22474 char *kwnames
[] = {
22475 (char *) "self", NULL
22478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
22479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22480 if (SWIG_arg_fail(1)) SWIG_fail
;
22482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22483 result
= (wxAppTraits
*)(arg1
)->GetTraits();
22485 wxPyEndAllowThreads(__tstate
);
22486 if (PyErr_Occurred()) SWIG_fail
;
22488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
22495 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22496 PyObject
*resultobj
;
22497 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22498 PyObject
* obj0
= 0 ;
22499 char *kwnames
[] = {
22500 (char *) "self", NULL
22503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
22504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22505 if (SWIG_arg_fail(1)) SWIG_fail
;
22507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22508 (arg1
)->ProcessPendingEvents();
22510 wxPyEndAllowThreads(__tstate
);
22511 if (PyErr_Occurred()) SWIG_fail
;
22513 Py_INCREF(Py_None
); resultobj
= Py_None
;
22520 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22521 PyObject
*resultobj
;
22522 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22523 bool arg2
= (bool) false ;
22525 PyObject
* obj0
= 0 ;
22526 PyObject
* obj1
= 0 ;
22527 char *kwnames
[] = {
22528 (char *) "self",(char *) "onlyIfNeeded", NULL
22531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
22532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22533 if (SWIG_arg_fail(1)) SWIG_fail
;
22536 arg2
= (bool)(SWIG_As_bool(obj1
));
22537 if (SWIG_arg_fail(2)) SWIG_fail
;
22541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22542 result
= (bool)(arg1
)->Yield(arg2
);
22544 wxPyEndAllowThreads(__tstate
);
22545 if (PyErr_Occurred()) SWIG_fail
;
22548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22556 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22557 PyObject
*resultobj
;
22558 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22559 PyObject
* obj0
= 0 ;
22560 char *kwnames
[] = {
22561 (char *) "self", NULL
22564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
22565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22566 if (SWIG_arg_fail(1)) SWIG_fail
;
22568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22569 (arg1
)->WakeUpIdle();
22571 wxPyEndAllowThreads(__tstate
);
22572 if (PyErr_Occurred()) SWIG_fail
;
22574 Py_INCREF(Py_None
); resultobj
= Py_None
;
22581 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22582 PyObject
*resultobj
;
22584 char *kwnames
[] = {
22588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
22590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22591 result
= (bool)wxPyApp::IsMainLoopRunning();
22593 wxPyEndAllowThreads(__tstate
);
22594 if (PyErr_Occurred()) SWIG_fail
;
22597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22605 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22606 PyObject
*resultobj
;
22607 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22609 PyObject
* obj0
= 0 ;
22610 char *kwnames
[] = {
22611 (char *) "self", NULL
22614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
22615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22616 if (SWIG_arg_fail(1)) SWIG_fail
;
22618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22619 result
= (int)(arg1
)->MainLoop();
22621 wxPyEndAllowThreads(__tstate
);
22622 if (PyErr_Occurred()) SWIG_fail
;
22625 resultobj
= SWIG_From_int((int)(result
));
22633 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22634 PyObject
*resultobj
;
22635 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22636 PyObject
* obj0
= 0 ;
22637 char *kwnames
[] = {
22638 (char *) "self", NULL
22641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
22642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22643 if (SWIG_arg_fail(1)) SWIG_fail
;
22645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22648 wxPyEndAllowThreads(__tstate
);
22649 if (PyErr_Occurred()) SWIG_fail
;
22651 Py_INCREF(Py_None
); resultobj
= Py_None
;
22658 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22659 PyObject
*resultobj
;
22660 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22661 PyObject
* obj0
= 0 ;
22662 char *kwnames
[] = {
22663 (char *) "self", NULL
22666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
22667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22668 if (SWIG_arg_fail(1)) SWIG_fail
;
22670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22671 (arg1
)->ExitMainLoop();
22673 wxPyEndAllowThreads(__tstate
);
22674 if (PyErr_Occurred()) SWIG_fail
;
22676 Py_INCREF(Py_None
); resultobj
= Py_None
;
22683 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22684 PyObject
*resultobj
;
22685 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22687 PyObject
* obj0
= 0 ;
22688 char *kwnames
[] = {
22689 (char *) "self", NULL
22692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
22693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22694 if (SWIG_arg_fail(1)) SWIG_fail
;
22696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22697 result
= (bool)(arg1
)->Pending();
22699 wxPyEndAllowThreads(__tstate
);
22700 if (PyErr_Occurred()) SWIG_fail
;
22703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22711 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22712 PyObject
*resultobj
;
22713 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22715 PyObject
* obj0
= 0 ;
22716 char *kwnames
[] = {
22717 (char *) "self", NULL
22720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
22721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22722 if (SWIG_arg_fail(1)) SWIG_fail
;
22724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22725 result
= (bool)(arg1
)->Dispatch();
22727 wxPyEndAllowThreads(__tstate
);
22728 if (PyErr_Occurred()) SWIG_fail
;
22731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22739 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22740 PyObject
*resultobj
;
22741 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22743 PyObject
* obj0
= 0 ;
22744 char *kwnames
[] = {
22745 (char *) "self", NULL
22748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
22749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22750 if (SWIG_arg_fail(1)) SWIG_fail
;
22752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22753 result
= (bool)(arg1
)->ProcessIdle();
22755 wxPyEndAllowThreads(__tstate
);
22756 if (PyErr_Occurred()) SWIG_fail
;
22759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22767 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22768 PyObject
*resultobj
;
22769 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22770 wxWindow
*arg2
= (wxWindow
*) 0 ;
22771 wxIdleEvent
*arg3
= 0 ;
22773 PyObject
* obj0
= 0 ;
22774 PyObject
* obj1
= 0 ;
22775 PyObject
* obj2
= 0 ;
22776 char *kwnames
[] = {
22777 (char *) "self",(char *) "win",(char *) "event", NULL
22780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22782 if (SWIG_arg_fail(1)) SWIG_fail
;
22783 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22784 if (SWIG_arg_fail(2)) SWIG_fail
;
22786 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22787 if (SWIG_arg_fail(3)) SWIG_fail
;
22788 if (arg3
== NULL
) {
22789 SWIG_null_ref("wxIdleEvent");
22791 if (SWIG_arg_fail(3)) SWIG_fail
;
22794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22795 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
22797 wxPyEndAllowThreads(__tstate
);
22798 if (PyErr_Occurred()) SWIG_fail
;
22801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22809 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22810 PyObject
*resultobj
;
22811 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22813 PyObject
* obj0
= 0 ;
22814 char *kwnames
[] = {
22815 (char *) "self", NULL
22818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
22819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22820 if (SWIG_arg_fail(1)) SWIG_fail
;
22822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22823 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
22825 wxPyEndAllowThreads(__tstate
);
22826 if (PyErr_Occurred()) SWIG_fail
;
22829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22837 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22838 PyObject
*resultobj
;
22839 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22840 wxWindow
*arg2
= (wxWindow
*) 0 ;
22841 PyObject
* obj0
= 0 ;
22842 PyObject
* obj1
= 0 ;
22843 char *kwnames
[] = {
22844 (char *) "self",(char *) "win", NULL
22847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
22848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22849 if (SWIG_arg_fail(1)) SWIG_fail
;
22850 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22851 if (SWIG_arg_fail(2)) SWIG_fail
;
22853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22854 (arg1
)->SetTopWindow(arg2
);
22856 wxPyEndAllowThreads(__tstate
);
22857 if (PyErr_Occurred()) SWIG_fail
;
22859 Py_INCREF(Py_None
); resultobj
= Py_None
;
22866 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22867 PyObject
*resultobj
;
22868 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22870 PyObject
* obj0
= 0 ;
22871 char *kwnames
[] = {
22872 (char *) "self", NULL
22875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
22876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22877 if (SWIG_arg_fail(1)) SWIG_fail
;
22879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22880 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
22882 wxPyEndAllowThreads(__tstate
);
22883 if (PyErr_Occurred()) SWIG_fail
;
22886 resultobj
= wxPyMake_wxObject(result
, 0);
22894 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22895 PyObject
*resultobj
;
22896 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22898 PyObject
* obj0
= 0 ;
22899 PyObject
* obj1
= 0 ;
22900 char *kwnames
[] = {
22901 (char *) "self",(char *) "flag", NULL
22904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
22905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22906 if (SWIG_arg_fail(1)) SWIG_fail
;
22908 arg2
= (bool)(SWIG_As_bool(obj1
));
22909 if (SWIG_arg_fail(2)) SWIG_fail
;
22912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22913 (arg1
)->SetExitOnFrameDelete(arg2
);
22915 wxPyEndAllowThreads(__tstate
);
22916 if (PyErr_Occurred()) SWIG_fail
;
22918 Py_INCREF(Py_None
); resultobj
= Py_None
;
22925 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22926 PyObject
*resultobj
;
22927 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22929 PyObject
* obj0
= 0 ;
22930 char *kwnames
[] = {
22931 (char *) "self", NULL
22934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
22935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22936 if (SWIG_arg_fail(1)) SWIG_fail
;
22938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22939 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
22941 wxPyEndAllowThreads(__tstate
);
22942 if (PyErr_Occurred()) SWIG_fail
;
22945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22953 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22954 PyObject
*resultobj
;
22955 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22957 PyObject
* obj0
= 0 ;
22958 PyObject
* obj1
= 0 ;
22959 char *kwnames
[] = {
22960 (char *) "self",(char *) "flag", NULL
22963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
22964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22965 if (SWIG_arg_fail(1)) SWIG_fail
;
22967 arg2
= (bool)(SWIG_As_bool(obj1
));
22968 if (SWIG_arg_fail(2)) SWIG_fail
;
22971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22972 (arg1
)->SetUseBestVisual(arg2
);
22974 wxPyEndAllowThreads(__tstate
);
22975 if (PyErr_Occurred()) SWIG_fail
;
22977 Py_INCREF(Py_None
); resultobj
= Py_None
;
22984 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22985 PyObject
*resultobj
;
22986 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22988 PyObject
* obj0
= 0 ;
22989 char *kwnames
[] = {
22990 (char *) "self", NULL
22993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
22994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22995 if (SWIG_arg_fail(1)) SWIG_fail
;
22997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22998 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
23000 wxPyEndAllowThreads(__tstate
);
23001 if (PyErr_Occurred()) SWIG_fail
;
23004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23012 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23013 PyObject
*resultobj
;
23014 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23016 PyObject
* obj0
= 0 ;
23017 PyObject
* obj1
= 0 ;
23018 char *kwnames
[] = {
23019 (char *) "self",(char *) "mode", NULL
23022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23024 if (SWIG_arg_fail(1)) SWIG_fail
;
23026 arg2
= (int)(SWIG_As_int(obj1
));
23027 if (SWIG_arg_fail(2)) SWIG_fail
;
23030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23031 (arg1
)->SetPrintMode(arg2
);
23033 wxPyEndAllowThreads(__tstate
);
23034 if (PyErr_Occurred()) SWIG_fail
;
23036 Py_INCREF(Py_None
); resultobj
= Py_None
;
23043 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23044 PyObject
*resultobj
;
23045 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23047 PyObject
* obj0
= 0 ;
23048 char *kwnames
[] = {
23049 (char *) "self", NULL
23052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
23053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23054 if (SWIG_arg_fail(1)) SWIG_fail
;
23056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23057 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
23059 wxPyEndAllowThreads(__tstate
);
23060 if (PyErr_Occurred()) SWIG_fail
;
23063 resultobj
= SWIG_From_int((int)(result
));
23071 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23072 PyObject
*resultobj
;
23073 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23075 PyObject
* obj0
= 0 ;
23076 PyObject
* obj1
= 0 ;
23077 char *kwnames
[] = {
23078 (char *) "self",(char *) "mode", NULL
23081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23083 if (SWIG_arg_fail(1)) SWIG_fail
;
23085 arg2
= (int)(SWIG_As_int(obj1
));
23086 if (SWIG_arg_fail(2)) SWIG_fail
;
23089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23090 (arg1
)->SetAssertMode(arg2
);
23092 wxPyEndAllowThreads(__tstate
);
23093 if (PyErr_Occurred()) SWIG_fail
;
23095 Py_INCREF(Py_None
); resultobj
= Py_None
;
23102 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23103 PyObject
*resultobj
;
23104 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23106 PyObject
* obj0
= 0 ;
23107 char *kwnames
[] = {
23108 (char *) "self", NULL
23111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
23112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23113 if (SWIG_arg_fail(1)) SWIG_fail
;
23115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23116 result
= (int)(arg1
)->GetAssertMode();
23118 wxPyEndAllowThreads(__tstate
);
23119 if (PyErr_Occurred()) SWIG_fail
;
23122 resultobj
= SWIG_From_int((int)(result
));
23130 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23131 PyObject
*resultobj
;
23133 char *kwnames
[] = {
23137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
23139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23140 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
23142 wxPyEndAllowThreads(__tstate
);
23143 if (PyErr_Occurred()) SWIG_fail
;
23146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23154 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23155 PyObject
*resultobj
;
23157 char *kwnames
[] = {
23161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
23163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23164 result
= (long)wxPyApp::GetMacAboutMenuItemId();
23166 wxPyEndAllowThreads(__tstate
);
23167 if (PyErr_Occurred()) SWIG_fail
;
23170 resultobj
= SWIG_From_long((long)(result
));
23178 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23179 PyObject
*resultobj
;
23181 char *kwnames
[] = {
23185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
23187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23188 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
23190 wxPyEndAllowThreads(__tstate
);
23191 if (PyErr_Occurred()) SWIG_fail
;
23194 resultobj
= SWIG_From_long((long)(result
));
23202 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23203 PyObject
*resultobj
;
23205 char *kwnames
[] = {
23209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
23211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23212 result
= (long)wxPyApp::GetMacExitMenuItemId();
23214 wxPyEndAllowThreads(__tstate
);
23215 if (PyErr_Occurred()) SWIG_fail
;
23218 resultobj
= SWIG_From_long((long)(result
));
23226 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23227 PyObject
*resultobj
;
23229 char *kwnames
[] = {
23233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
23235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23236 result
= wxPyApp::GetMacHelpMenuTitleName();
23238 wxPyEndAllowThreads(__tstate
);
23239 if (PyErr_Occurred()) SWIG_fail
;
23243 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23245 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23254 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23255 PyObject
*resultobj
;
23257 PyObject
* obj0
= 0 ;
23258 char *kwnames
[] = {
23259 (char *) "val", NULL
23262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
23264 arg1
= (bool)(SWIG_As_bool(obj0
));
23265 if (SWIG_arg_fail(1)) SWIG_fail
;
23268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23269 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
23271 wxPyEndAllowThreads(__tstate
);
23272 if (PyErr_Occurred()) SWIG_fail
;
23274 Py_INCREF(Py_None
); resultobj
= Py_None
;
23281 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23282 PyObject
*resultobj
;
23284 PyObject
* obj0
= 0 ;
23285 char *kwnames
[] = {
23286 (char *) "val", NULL
23289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
23291 arg1
= (long)(SWIG_As_long(obj0
));
23292 if (SWIG_arg_fail(1)) SWIG_fail
;
23295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23296 wxPyApp::SetMacAboutMenuItemId(arg1
);
23298 wxPyEndAllowThreads(__tstate
);
23299 if (PyErr_Occurred()) SWIG_fail
;
23301 Py_INCREF(Py_None
); resultobj
= Py_None
;
23308 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23309 PyObject
*resultobj
;
23311 PyObject
* obj0
= 0 ;
23312 char *kwnames
[] = {
23313 (char *) "val", NULL
23316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
23318 arg1
= (long)(SWIG_As_long(obj0
));
23319 if (SWIG_arg_fail(1)) SWIG_fail
;
23322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23323 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
23325 wxPyEndAllowThreads(__tstate
);
23326 if (PyErr_Occurred()) SWIG_fail
;
23328 Py_INCREF(Py_None
); resultobj
= Py_None
;
23335 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23336 PyObject
*resultobj
;
23338 PyObject
* obj0
= 0 ;
23339 char *kwnames
[] = {
23340 (char *) "val", NULL
23343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
23345 arg1
= (long)(SWIG_As_long(obj0
));
23346 if (SWIG_arg_fail(1)) SWIG_fail
;
23349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23350 wxPyApp::SetMacExitMenuItemId(arg1
);
23352 wxPyEndAllowThreads(__tstate
);
23353 if (PyErr_Occurred()) SWIG_fail
;
23355 Py_INCREF(Py_None
); resultobj
= Py_None
;
23362 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23363 PyObject
*resultobj
;
23364 wxString
*arg1
= 0 ;
23365 bool temp1
= false ;
23366 PyObject
* obj0
= 0 ;
23367 char *kwnames
[] = {
23368 (char *) "val", NULL
23371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
23373 arg1
= wxString_in_helper(obj0
);
23374 if (arg1
== NULL
) SWIG_fail
;
23378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23379 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
23381 wxPyEndAllowThreads(__tstate
);
23382 if (PyErr_Occurred()) SWIG_fail
;
23384 Py_INCREF(Py_None
); resultobj
= Py_None
;
23399 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23400 PyObject
*resultobj
;
23401 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23402 PyObject
* obj0
= 0 ;
23403 char *kwnames
[] = {
23404 (char *) "self", NULL
23407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
23408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23409 if (SWIG_arg_fail(1)) SWIG_fail
;
23411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23412 (arg1
)->_BootstrapApp();
23414 wxPyEndAllowThreads(__tstate
);
23415 if (PyErr_Occurred()) SWIG_fail
;
23417 Py_INCREF(Py_None
); resultobj
= Py_None
;
23424 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23425 PyObject
*resultobj
;
23427 char *kwnames
[] = {
23431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
23433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23434 result
= (int)PyApp_GetComCtl32Version();
23436 wxPyEndAllowThreads(__tstate
);
23437 if (PyErr_Occurred()) SWIG_fail
;
23440 resultobj
= SWIG_From_int((int)(result
));
23448 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
23450 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23451 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
23453 return Py_BuildValue((char *)"");
23455 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23456 PyObject
*resultobj
;
23457 char *kwnames
[] = {
23461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
23463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23466 wxPyEndAllowThreads(__tstate
);
23467 if (PyErr_Occurred()) SWIG_fail
;
23469 Py_INCREF(Py_None
); resultobj
= Py_None
;
23476 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23477 PyObject
*resultobj
;
23479 char *kwnames
[] = {
23483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
23485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23486 result
= (bool)wxYield();
23488 wxPyEndAllowThreads(__tstate
);
23489 if (PyErr_Occurred()) SWIG_fail
;
23492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23500 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23501 PyObject
*resultobj
;
23503 char *kwnames
[] = {
23507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
23509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23510 result
= (bool)wxYieldIfNeeded();
23512 wxPyEndAllowThreads(__tstate
);
23513 if (PyErr_Occurred()) SWIG_fail
;
23516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23524 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23525 PyObject
*resultobj
;
23526 wxWindow
*arg1
= (wxWindow
*) NULL
;
23527 bool arg2
= (bool) false ;
23529 PyObject
* obj0
= 0 ;
23530 PyObject
* obj1
= 0 ;
23531 char *kwnames
[] = {
23532 (char *) "win",(char *) "onlyIfNeeded", NULL
23535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
23537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23538 if (SWIG_arg_fail(1)) SWIG_fail
;
23542 arg2
= (bool)(SWIG_As_bool(obj1
));
23543 if (SWIG_arg_fail(2)) SWIG_fail
;
23547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23548 result
= (bool)wxSafeYield(arg1
,arg2
);
23550 wxPyEndAllowThreads(__tstate
);
23551 if (PyErr_Occurred()) SWIG_fail
;
23554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23562 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23563 PyObject
*resultobj
;
23564 char *kwnames
[] = {
23568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
23570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23573 wxPyEndAllowThreads(__tstate
);
23574 if (PyErr_Occurred()) SWIG_fail
;
23576 Py_INCREF(Py_None
); resultobj
= Py_None
;
23583 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23584 PyObject
*resultobj
;
23585 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
23586 wxEvent
*arg2
= 0 ;
23587 PyObject
* obj0
= 0 ;
23588 PyObject
* obj1
= 0 ;
23589 char *kwnames
[] = {
23590 (char *) "dest",(char *) "event", NULL
23593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
23595 if (SWIG_arg_fail(1)) SWIG_fail
;
23597 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
23598 if (SWIG_arg_fail(2)) SWIG_fail
;
23599 if (arg2
== NULL
) {
23600 SWIG_null_ref("wxEvent");
23602 if (SWIG_arg_fail(2)) SWIG_fail
;
23605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23606 wxPostEvent(arg1
,*arg2
);
23608 wxPyEndAllowThreads(__tstate
);
23609 if (PyErr_Occurred()) SWIG_fail
;
23611 Py_INCREF(Py_None
); resultobj
= Py_None
;
23618 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23619 PyObject
*resultobj
;
23620 char *kwnames
[] = {
23624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
23626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23629 wxPyEndAllowThreads(__tstate
);
23630 if (PyErr_Occurred()) SWIG_fail
;
23632 Py_INCREF(Py_None
); resultobj
= Py_None
;
23639 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23640 PyObject
*resultobj
;
23642 char *kwnames
[] = {
23646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
23648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23649 result
= (wxPyApp
*)wxPyGetApp();
23651 wxPyEndAllowThreads(__tstate
);
23652 if (PyErr_Occurred()) SWIG_fail
;
23655 resultobj
= wxPyMake_wxObject(result
, 0);
23663 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23664 PyObject
*resultobj
;
23665 char *arg1
= (char *) 0 ;
23666 PyObject
* obj0
= 0 ;
23667 char *kwnames
[] = {
23668 (char *) "encoding", NULL
23671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
23672 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
23673 SWIG_arg_fail(1);SWIG_fail
;
23676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23677 wxSetDefaultPyEncoding((char const *)arg1
);
23679 wxPyEndAllowThreads(__tstate
);
23680 if (PyErr_Occurred()) SWIG_fail
;
23682 Py_INCREF(Py_None
); resultobj
= Py_None
;
23689 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23690 PyObject
*resultobj
;
23692 char *kwnames
[] = {
23696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
23698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23699 result
= (char *)wxGetDefaultPyEncoding();
23701 wxPyEndAllowThreads(__tstate
);
23702 if (PyErr_Occurred()) SWIG_fail
;
23704 resultobj
= SWIG_FromCharPtr(result
);
23711 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23712 PyObject
*resultobj
;
23713 wxEventLoop
*result
;
23714 char *kwnames
[] = {
23718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
23720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23721 result
= (wxEventLoop
*)new wxEventLoop();
23723 wxPyEndAllowThreads(__tstate
);
23724 if (PyErr_Occurred()) SWIG_fail
;
23726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
23733 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23734 PyObject
*resultobj
;
23735 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23736 PyObject
* obj0
= 0 ;
23737 char *kwnames
[] = {
23738 (char *) "self", NULL
23741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
23742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23743 if (SWIG_arg_fail(1)) SWIG_fail
;
23745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23748 wxPyEndAllowThreads(__tstate
);
23749 if (PyErr_Occurred()) SWIG_fail
;
23751 Py_INCREF(Py_None
); resultobj
= Py_None
;
23758 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23759 PyObject
*resultobj
;
23760 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23762 PyObject
* obj0
= 0 ;
23763 char *kwnames
[] = {
23764 (char *) "self", NULL
23767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
23768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23769 if (SWIG_arg_fail(1)) SWIG_fail
;
23771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23772 result
= (int)(arg1
)->Run();
23774 wxPyEndAllowThreads(__tstate
);
23775 if (PyErr_Occurred()) SWIG_fail
;
23778 resultobj
= SWIG_From_int((int)(result
));
23786 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23787 PyObject
*resultobj
;
23788 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23789 int arg2
= (int) 0 ;
23790 PyObject
* obj0
= 0 ;
23791 PyObject
* obj1
= 0 ;
23792 char *kwnames
[] = {
23793 (char *) "self",(char *) "rc", NULL
23796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
23797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23798 if (SWIG_arg_fail(1)) SWIG_fail
;
23801 arg2
= (int)(SWIG_As_int(obj1
));
23802 if (SWIG_arg_fail(2)) SWIG_fail
;
23806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23807 (arg1
)->Exit(arg2
);
23809 wxPyEndAllowThreads(__tstate
);
23810 if (PyErr_Occurred()) SWIG_fail
;
23812 Py_INCREF(Py_None
); resultobj
= Py_None
;
23819 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23820 PyObject
*resultobj
;
23821 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23823 PyObject
* obj0
= 0 ;
23824 char *kwnames
[] = {
23825 (char *) "self", NULL
23828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
23829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23830 if (SWIG_arg_fail(1)) SWIG_fail
;
23832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23833 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
23835 wxPyEndAllowThreads(__tstate
);
23836 if (PyErr_Occurred()) SWIG_fail
;
23839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23847 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23848 PyObject
*resultobj
;
23849 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23851 PyObject
* obj0
= 0 ;
23852 char *kwnames
[] = {
23853 (char *) "self", NULL
23856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
23857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23858 if (SWIG_arg_fail(1)) SWIG_fail
;
23860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23861 result
= (bool)(arg1
)->Dispatch();
23863 wxPyEndAllowThreads(__tstate
);
23864 if (PyErr_Occurred()) SWIG_fail
;
23867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23875 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23876 PyObject
*resultobj
;
23877 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23879 PyObject
* obj0
= 0 ;
23880 char *kwnames
[] = {
23881 (char *) "self", NULL
23884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
23885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23886 if (SWIG_arg_fail(1)) SWIG_fail
;
23888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23889 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
23891 wxPyEndAllowThreads(__tstate
);
23892 if (PyErr_Occurred()) SWIG_fail
;
23895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23903 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23904 PyObject
*resultobj
;
23905 wxEventLoop
*result
;
23906 char *kwnames
[] = {
23910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
23912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23913 result
= (wxEventLoop
*)wxEventLoop::GetActive();
23915 wxPyEndAllowThreads(__tstate
);
23916 if (PyErr_Occurred()) SWIG_fail
;
23918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
23925 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23926 PyObject
*resultobj
;
23927 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23928 PyObject
* obj0
= 0 ;
23929 char *kwnames
[] = {
23930 (char *) "loop", NULL
23933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
23934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23935 if (SWIG_arg_fail(1)) SWIG_fail
;
23937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23938 wxEventLoop::SetActive(arg1
);
23940 wxPyEndAllowThreads(__tstate
);
23941 if (PyErr_Occurred()) SWIG_fail
;
23943 Py_INCREF(Py_None
); resultobj
= Py_None
;
23950 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
23952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23953 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
23955 return Py_BuildValue((char *)"");
23957 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23958 PyObject
*resultobj
;
23959 int arg1
= (int) 0 ;
23960 int arg2
= (int) 0 ;
23961 int arg3
= (int) 0 ;
23962 wxAcceleratorEntry
*result
;
23963 PyObject
* obj0
= 0 ;
23964 PyObject
* obj1
= 0 ;
23965 PyObject
* obj2
= 0 ;
23966 char *kwnames
[] = {
23967 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
23970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23973 arg1
= (int)(SWIG_As_int(obj0
));
23974 if (SWIG_arg_fail(1)) SWIG_fail
;
23979 arg2
= (int)(SWIG_As_int(obj1
));
23980 if (SWIG_arg_fail(2)) SWIG_fail
;
23985 arg3
= (int)(SWIG_As_int(obj2
));
23986 if (SWIG_arg_fail(3)) SWIG_fail
;
23990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23991 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
23993 wxPyEndAllowThreads(__tstate
);
23994 if (PyErr_Occurred()) SWIG_fail
;
23996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
24003 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24004 PyObject
*resultobj
;
24005 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24006 PyObject
* obj0
= 0 ;
24007 char *kwnames
[] = {
24008 (char *) "self", NULL
24011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
24012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24013 if (SWIG_arg_fail(1)) SWIG_fail
;
24015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24018 wxPyEndAllowThreads(__tstate
);
24019 if (PyErr_Occurred()) SWIG_fail
;
24021 Py_INCREF(Py_None
); resultobj
= Py_None
;
24028 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24029 PyObject
*resultobj
;
24030 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24034 PyObject
* obj0
= 0 ;
24035 PyObject
* obj1
= 0 ;
24036 PyObject
* obj2
= 0 ;
24037 PyObject
* obj3
= 0 ;
24038 char *kwnames
[] = {
24039 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
24042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24044 if (SWIG_arg_fail(1)) SWIG_fail
;
24046 arg2
= (int)(SWIG_As_int(obj1
));
24047 if (SWIG_arg_fail(2)) SWIG_fail
;
24050 arg3
= (int)(SWIG_As_int(obj2
));
24051 if (SWIG_arg_fail(3)) SWIG_fail
;
24054 arg4
= (int)(SWIG_As_int(obj3
));
24055 if (SWIG_arg_fail(4)) SWIG_fail
;
24058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24059 (arg1
)->Set(arg2
,arg3
,arg4
);
24061 wxPyEndAllowThreads(__tstate
);
24062 if (PyErr_Occurred()) SWIG_fail
;
24064 Py_INCREF(Py_None
); resultobj
= Py_None
;
24071 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24072 PyObject
*resultobj
;
24073 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24075 PyObject
* obj0
= 0 ;
24076 char *kwnames
[] = {
24077 (char *) "self", NULL
24080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
24081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24082 if (SWIG_arg_fail(1)) SWIG_fail
;
24084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24085 result
= (int)(arg1
)->GetFlags();
24087 wxPyEndAllowThreads(__tstate
);
24088 if (PyErr_Occurred()) SWIG_fail
;
24091 resultobj
= SWIG_From_int((int)(result
));
24099 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24100 PyObject
*resultobj
;
24101 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24103 PyObject
* obj0
= 0 ;
24104 char *kwnames
[] = {
24105 (char *) "self", NULL
24108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24110 if (SWIG_arg_fail(1)) SWIG_fail
;
24112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24113 result
= (int)(arg1
)->GetKeyCode();
24115 wxPyEndAllowThreads(__tstate
);
24116 if (PyErr_Occurred()) SWIG_fail
;
24119 resultobj
= SWIG_From_int((int)(result
));
24127 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24128 PyObject
*resultobj
;
24129 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24131 PyObject
* obj0
= 0 ;
24132 char *kwnames
[] = {
24133 (char *) "self", NULL
24136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
24137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24138 if (SWIG_arg_fail(1)) SWIG_fail
;
24140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24141 result
= (int)(arg1
)->GetCommand();
24143 wxPyEndAllowThreads(__tstate
);
24144 if (PyErr_Occurred()) SWIG_fail
;
24147 resultobj
= SWIG_From_int((int)(result
));
24155 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
24157 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24158 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
24160 return Py_BuildValue((char *)"");
24162 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24163 PyObject
*resultobj
;
24165 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
24166 wxAcceleratorTable
*result
;
24167 PyObject
* obj0
= 0 ;
24168 char *kwnames
[] = {
24172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24174 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
24175 if (arg2
) arg1
= PyList_Size(obj0
);
24179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24180 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
24182 wxPyEndAllowThreads(__tstate
);
24183 if (PyErr_Occurred()) SWIG_fail
;
24185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
24198 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24199 PyObject
*resultobj
;
24200 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24201 PyObject
* obj0
= 0 ;
24202 char *kwnames
[] = {
24203 (char *) "self", NULL
24206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24208 if (SWIG_arg_fail(1)) SWIG_fail
;
24210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24213 wxPyEndAllowThreads(__tstate
);
24214 if (PyErr_Occurred()) SWIG_fail
;
24216 Py_INCREF(Py_None
); resultobj
= Py_None
;
24223 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24224 PyObject
*resultobj
;
24225 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24227 PyObject
* obj0
= 0 ;
24228 char *kwnames
[] = {
24229 (char *) "self", NULL
24232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
24233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24234 if (SWIG_arg_fail(1)) SWIG_fail
;
24236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24237 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
24239 wxPyEndAllowThreads(__tstate
);
24240 if (PyErr_Occurred()) SWIG_fail
;
24243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24251 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
24253 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24254 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
24256 return Py_BuildValue((char *)"");
24258 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
24259 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
24264 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
24267 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24272 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24273 PyObject
*resultobj
;
24274 wxString
*arg1
= 0 ;
24275 wxAcceleratorEntry
*result
;
24276 bool temp1
= false ;
24277 PyObject
* obj0
= 0 ;
24278 char *kwnames
[] = {
24279 (char *) "label", NULL
24282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
24284 arg1
= wxString_in_helper(obj0
);
24285 if (arg1
== NULL
) SWIG_fail
;
24289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24290 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
24292 wxPyEndAllowThreads(__tstate
);
24293 if (PyErr_Occurred()) SWIG_fail
;
24295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
24310 static int _wrap_PanelNameStr_set(PyObject
*) {
24311 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
24316 static PyObject
*_wrap_PanelNameStr_get(void) {
24321 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24323 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24330 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24331 PyObject
*resultobj
;
24332 wxVisualAttributes
*result
;
24333 char *kwnames
[] = {
24337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
24339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24340 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
24342 wxPyEndAllowThreads(__tstate
);
24343 if (PyErr_Occurred()) SWIG_fail
;
24345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
24352 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24353 PyObject
*resultobj
;
24354 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24355 PyObject
* obj0
= 0 ;
24356 char *kwnames
[] = {
24357 (char *) "self", NULL
24360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
24361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24362 if (SWIG_arg_fail(1)) SWIG_fail
;
24364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24365 delete_wxVisualAttributes(arg1
);
24367 wxPyEndAllowThreads(__tstate
);
24368 if (PyErr_Occurred()) SWIG_fail
;
24370 Py_INCREF(Py_None
); resultobj
= Py_None
;
24377 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24378 PyObject
*resultobj
;
24379 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24380 wxFont
*arg2
= (wxFont
*) 0 ;
24381 PyObject
* obj0
= 0 ;
24382 PyObject
* obj1
= 0 ;
24383 char *kwnames
[] = {
24384 (char *) "self",(char *) "font", NULL
24387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24389 if (SWIG_arg_fail(1)) SWIG_fail
;
24390 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
24391 if (SWIG_arg_fail(2)) SWIG_fail
;
24392 if (arg1
) (arg1
)->font
= *arg2
;
24394 Py_INCREF(Py_None
); resultobj
= Py_None
;
24401 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24402 PyObject
*resultobj
;
24403 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24405 PyObject
* obj0
= 0 ;
24406 char *kwnames
[] = {
24407 (char *) "self", NULL
24410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
24411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24412 if (SWIG_arg_fail(1)) SWIG_fail
;
24413 result
= (wxFont
*)& ((arg1
)->font
);
24415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
24422 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24423 PyObject
*resultobj
;
24424 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24425 wxColour
*arg2
= (wxColour
*) 0 ;
24426 PyObject
* obj0
= 0 ;
24427 PyObject
* obj1
= 0 ;
24428 char *kwnames
[] = {
24429 (char *) "self",(char *) "colFg", NULL
24432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24434 if (SWIG_arg_fail(1)) SWIG_fail
;
24435 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24436 if (SWIG_arg_fail(2)) SWIG_fail
;
24437 if (arg1
) (arg1
)->colFg
= *arg2
;
24439 Py_INCREF(Py_None
); resultobj
= Py_None
;
24446 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24447 PyObject
*resultobj
;
24448 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24450 PyObject
* obj0
= 0 ;
24451 char *kwnames
[] = {
24452 (char *) "self", NULL
24455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
24456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24457 if (SWIG_arg_fail(1)) SWIG_fail
;
24458 result
= (wxColour
*)& ((arg1
)->colFg
);
24460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24467 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24468 PyObject
*resultobj
;
24469 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24470 wxColour
*arg2
= (wxColour
*) 0 ;
24471 PyObject
* obj0
= 0 ;
24472 PyObject
* obj1
= 0 ;
24473 char *kwnames
[] = {
24474 (char *) "self",(char *) "colBg", NULL
24477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24479 if (SWIG_arg_fail(1)) SWIG_fail
;
24480 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24481 if (SWIG_arg_fail(2)) SWIG_fail
;
24482 if (arg1
) (arg1
)->colBg
= *arg2
;
24484 Py_INCREF(Py_None
); resultobj
= Py_None
;
24491 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24492 PyObject
*resultobj
;
24493 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24495 PyObject
* obj0
= 0 ;
24496 char *kwnames
[] = {
24497 (char *) "self", NULL
24500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
24501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24502 if (SWIG_arg_fail(1)) SWIG_fail
;
24503 result
= (wxColour
*)& ((arg1
)->colBg
);
24505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24512 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
24514 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24515 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
24517 return Py_BuildValue((char *)"");
24519 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24520 PyObject
*resultobj
;
24521 wxWindow
*arg1
= (wxWindow
*) 0 ;
24522 int arg2
= (int) (int)-1 ;
24523 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24524 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24525 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24526 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24527 long arg5
= (long) 0 ;
24528 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24529 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24533 bool temp6
= false ;
24534 PyObject
* obj0
= 0 ;
24535 PyObject
* obj1
= 0 ;
24536 PyObject
* obj2
= 0 ;
24537 PyObject
* obj3
= 0 ;
24538 PyObject
* obj4
= 0 ;
24539 PyObject
* obj5
= 0 ;
24540 char *kwnames
[] = {
24541 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24546 if (SWIG_arg_fail(1)) SWIG_fail
;
24549 arg2
= (int const)(SWIG_As_int(obj1
));
24550 if (SWIG_arg_fail(2)) SWIG_fail
;
24556 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24562 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24567 arg5
= (long)(SWIG_As_long(obj4
));
24568 if (SWIG_arg_fail(5)) SWIG_fail
;
24573 arg6
= wxString_in_helper(obj5
);
24574 if (arg6
== NULL
) SWIG_fail
;
24579 if (!wxPyCheckForApp()) SWIG_fail
;
24580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24581 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
24583 wxPyEndAllowThreads(__tstate
);
24584 if (PyErr_Occurred()) SWIG_fail
;
24586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24601 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24602 PyObject
*resultobj
;
24604 char *kwnames
[] = {
24608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
24610 if (!wxPyCheckForApp()) SWIG_fail
;
24611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24612 result
= (wxWindow
*)new wxWindow();
24614 wxPyEndAllowThreads(__tstate
);
24615 if (PyErr_Occurred()) SWIG_fail
;
24617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24624 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24625 PyObject
*resultobj
;
24626 wxWindow
*arg1
= (wxWindow
*) 0 ;
24627 wxWindow
*arg2
= (wxWindow
*) 0 ;
24628 int arg3
= (int) (int)-1 ;
24629 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24630 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24631 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24632 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24633 long arg6
= (long) 0 ;
24634 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24635 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24639 bool temp7
= false ;
24640 PyObject
* obj0
= 0 ;
24641 PyObject
* obj1
= 0 ;
24642 PyObject
* obj2
= 0 ;
24643 PyObject
* obj3
= 0 ;
24644 PyObject
* obj4
= 0 ;
24645 PyObject
* obj5
= 0 ;
24646 PyObject
* obj6
= 0 ;
24647 char *kwnames
[] = {
24648 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24653 if (SWIG_arg_fail(1)) SWIG_fail
;
24654 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24655 if (SWIG_arg_fail(2)) SWIG_fail
;
24658 arg3
= (int const)(SWIG_As_int(obj2
));
24659 if (SWIG_arg_fail(3)) SWIG_fail
;
24665 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24671 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24676 arg6
= (long)(SWIG_As_long(obj5
));
24677 if (SWIG_arg_fail(6)) SWIG_fail
;
24682 arg7
= wxString_in_helper(obj6
);
24683 if (arg7
== NULL
) SWIG_fail
;
24688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24689 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24691 wxPyEndAllowThreads(__tstate
);
24692 if (PyErr_Occurred()) SWIG_fail
;
24695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24711 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24712 PyObject
*resultobj
;
24713 wxWindow
*arg1
= (wxWindow
*) 0 ;
24714 bool arg2
= (bool) false ;
24716 PyObject
* obj0
= 0 ;
24717 PyObject
* obj1
= 0 ;
24718 char *kwnames
[] = {
24719 (char *) "self",(char *) "force", NULL
24722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
24723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24724 if (SWIG_arg_fail(1)) SWIG_fail
;
24727 arg2
= (bool)(SWIG_As_bool(obj1
));
24728 if (SWIG_arg_fail(2)) SWIG_fail
;
24732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24733 result
= (bool)(arg1
)->Close(arg2
);
24735 wxPyEndAllowThreads(__tstate
);
24736 if (PyErr_Occurred()) SWIG_fail
;
24739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24747 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24748 PyObject
*resultobj
;
24749 wxWindow
*arg1
= (wxWindow
*) 0 ;
24751 PyObject
* obj0
= 0 ;
24752 char *kwnames
[] = {
24753 (char *) "self", NULL
24756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
24757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24758 if (SWIG_arg_fail(1)) SWIG_fail
;
24760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24761 result
= (bool)(arg1
)->Destroy();
24763 wxPyEndAllowThreads(__tstate
);
24764 if (PyErr_Occurred()) SWIG_fail
;
24767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24775 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24776 PyObject
*resultobj
;
24777 wxWindow
*arg1
= (wxWindow
*) 0 ;
24779 PyObject
* obj0
= 0 ;
24780 char *kwnames
[] = {
24781 (char *) "self", NULL
24784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
24785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24786 if (SWIG_arg_fail(1)) SWIG_fail
;
24788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24789 result
= (bool)(arg1
)->DestroyChildren();
24791 wxPyEndAllowThreads(__tstate
);
24792 if (PyErr_Occurred()) SWIG_fail
;
24795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24803 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24804 PyObject
*resultobj
;
24805 wxWindow
*arg1
= (wxWindow
*) 0 ;
24807 PyObject
* obj0
= 0 ;
24808 char *kwnames
[] = {
24809 (char *) "self", NULL
24812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
24813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24814 if (SWIG_arg_fail(1)) SWIG_fail
;
24816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24817 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
24819 wxPyEndAllowThreads(__tstate
);
24820 if (PyErr_Occurred()) SWIG_fail
;
24823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24831 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24832 PyObject
*resultobj
;
24833 wxWindow
*arg1
= (wxWindow
*) 0 ;
24834 wxString
*arg2
= 0 ;
24835 bool temp2
= false ;
24836 PyObject
* obj0
= 0 ;
24837 PyObject
* obj1
= 0 ;
24838 char *kwnames
[] = {
24839 (char *) "self",(char *) "title", NULL
24842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
24843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24844 if (SWIG_arg_fail(1)) SWIG_fail
;
24846 arg2
= wxString_in_helper(obj1
);
24847 if (arg2
== NULL
) SWIG_fail
;
24851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24852 (arg1
)->SetTitle((wxString
const &)*arg2
);
24854 wxPyEndAllowThreads(__tstate
);
24855 if (PyErr_Occurred()) SWIG_fail
;
24857 Py_INCREF(Py_None
); resultobj
= Py_None
;
24872 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24873 PyObject
*resultobj
;
24874 wxWindow
*arg1
= (wxWindow
*) 0 ;
24876 PyObject
* obj0
= 0 ;
24877 char *kwnames
[] = {
24878 (char *) "self", NULL
24881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
24882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24883 if (SWIG_arg_fail(1)) SWIG_fail
;
24885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24886 result
= ((wxWindow
const *)arg1
)->GetTitle();
24888 wxPyEndAllowThreads(__tstate
);
24889 if (PyErr_Occurred()) SWIG_fail
;
24893 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24895 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24904 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24905 PyObject
*resultobj
;
24906 wxWindow
*arg1
= (wxWindow
*) 0 ;
24907 wxString
*arg2
= 0 ;
24908 bool temp2
= false ;
24909 PyObject
* obj0
= 0 ;
24910 PyObject
* obj1
= 0 ;
24911 char *kwnames
[] = {
24912 (char *) "self",(char *) "label", NULL
24915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24917 if (SWIG_arg_fail(1)) SWIG_fail
;
24919 arg2
= wxString_in_helper(obj1
);
24920 if (arg2
== NULL
) SWIG_fail
;
24924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24925 (arg1
)->SetLabel((wxString
const &)*arg2
);
24927 wxPyEndAllowThreads(__tstate
);
24928 if (PyErr_Occurred()) SWIG_fail
;
24930 Py_INCREF(Py_None
); resultobj
= Py_None
;
24945 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24946 PyObject
*resultobj
;
24947 wxWindow
*arg1
= (wxWindow
*) 0 ;
24949 PyObject
* obj0
= 0 ;
24950 char *kwnames
[] = {
24951 (char *) "self", NULL
24954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
24955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24956 if (SWIG_arg_fail(1)) SWIG_fail
;
24958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24959 result
= ((wxWindow
const *)arg1
)->GetLabel();
24961 wxPyEndAllowThreads(__tstate
);
24962 if (PyErr_Occurred()) SWIG_fail
;
24966 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24968 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24977 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24978 PyObject
*resultobj
;
24979 wxWindow
*arg1
= (wxWindow
*) 0 ;
24980 wxString
*arg2
= 0 ;
24981 bool temp2
= false ;
24982 PyObject
* obj0
= 0 ;
24983 PyObject
* obj1
= 0 ;
24984 char *kwnames
[] = {
24985 (char *) "self",(char *) "name", NULL
24988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
24989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24990 if (SWIG_arg_fail(1)) SWIG_fail
;
24992 arg2
= wxString_in_helper(obj1
);
24993 if (arg2
== NULL
) SWIG_fail
;
24997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24998 (arg1
)->SetName((wxString
const &)*arg2
);
25000 wxPyEndAllowThreads(__tstate
);
25001 if (PyErr_Occurred()) SWIG_fail
;
25003 Py_INCREF(Py_None
); resultobj
= Py_None
;
25018 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25019 PyObject
*resultobj
;
25020 wxWindow
*arg1
= (wxWindow
*) 0 ;
25022 PyObject
* obj0
= 0 ;
25023 char *kwnames
[] = {
25024 (char *) "self", NULL
25027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
25028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25029 if (SWIG_arg_fail(1)) SWIG_fail
;
25031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25032 result
= ((wxWindow
const *)arg1
)->GetName();
25034 wxPyEndAllowThreads(__tstate
);
25035 if (PyErr_Occurred()) SWIG_fail
;
25039 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25041 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25050 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25051 PyObject
*resultobj
;
25052 wxWindow
*arg1
= (wxWindow
*) 0 ;
25053 wxWindowVariant arg2
;
25054 PyObject
* obj0
= 0 ;
25055 PyObject
* obj1
= 0 ;
25056 char *kwnames
[] = {
25057 (char *) "self",(char *) "variant", NULL
25060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
25061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25062 if (SWIG_arg_fail(1)) SWIG_fail
;
25064 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
25065 if (SWIG_arg_fail(2)) SWIG_fail
;
25068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25069 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
25071 wxPyEndAllowThreads(__tstate
);
25072 if (PyErr_Occurred()) SWIG_fail
;
25074 Py_INCREF(Py_None
); resultobj
= Py_None
;
25081 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25082 PyObject
*resultobj
;
25083 wxWindow
*arg1
= (wxWindow
*) 0 ;
25084 wxWindowVariant result
;
25085 PyObject
* obj0
= 0 ;
25086 char *kwnames
[] = {
25087 (char *) "self", NULL
25090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
25091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25092 if (SWIG_arg_fail(1)) SWIG_fail
;
25094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25095 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
25097 wxPyEndAllowThreads(__tstate
);
25098 if (PyErr_Occurred()) SWIG_fail
;
25100 resultobj
= SWIG_From_int((result
));
25107 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25108 PyObject
*resultobj
;
25109 wxWindow
*arg1
= (wxWindow
*) 0 ;
25111 PyObject
* obj0
= 0 ;
25112 PyObject
* obj1
= 0 ;
25113 char *kwnames
[] = {
25114 (char *) "self",(char *) "winid", NULL
25117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
25118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25119 if (SWIG_arg_fail(1)) SWIG_fail
;
25121 arg2
= (int)(SWIG_As_int(obj1
));
25122 if (SWIG_arg_fail(2)) SWIG_fail
;
25125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25126 (arg1
)->SetId(arg2
);
25128 wxPyEndAllowThreads(__tstate
);
25129 if (PyErr_Occurred()) SWIG_fail
;
25131 Py_INCREF(Py_None
); resultobj
= Py_None
;
25138 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25139 PyObject
*resultobj
;
25140 wxWindow
*arg1
= (wxWindow
*) 0 ;
25142 PyObject
* obj0
= 0 ;
25143 char *kwnames
[] = {
25144 (char *) "self", NULL
25147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
25148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25149 if (SWIG_arg_fail(1)) SWIG_fail
;
25151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25152 result
= (int)((wxWindow
const *)arg1
)->GetId();
25154 wxPyEndAllowThreads(__tstate
);
25155 if (PyErr_Occurred()) SWIG_fail
;
25158 resultobj
= SWIG_From_int((int)(result
));
25166 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25167 PyObject
*resultobj
;
25169 char *kwnames
[] = {
25173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
25175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25176 result
= (int)wxWindow::NewControlId();
25178 wxPyEndAllowThreads(__tstate
);
25179 if (PyErr_Occurred()) SWIG_fail
;
25182 resultobj
= SWIG_From_int((int)(result
));
25190 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25191 PyObject
*resultobj
;
25194 PyObject
* obj0
= 0 ;
25195 char *kwnames
[] = {
25196 (char *) "winid", NULL
25199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
25201 arg1
= (int)(SWIG_As_int(obj0
));
25202 if (SWIG_arg_fail(1)) SWIG_fail
;
25205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25206 result
= (int)wxWindow::NextControlId(arg1
);
25208 wxPyEndAllowThreads(__tstate
);
25209 if (PyErr_Occurred()) SWIG_fail
;
25212 resultobj
= SWIG_From_int((int)(result
));
25220 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25221 PyObject
*resultobj
;
25224 PyObject
* obj0
= 0 ;
25225 char *kwnames
[] = {
25226 (char *) "winid", NULL
25229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
25231 arg1
= (int)(SWIG_As_int(obj0
));
25232 if (SWIG_arg_fail(1)) SWIG_fail
;
25235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25236 result
= (int)wxWindow::PrevControlId(arg1
);
25238 wxPyEndAllowThreads(__tstate
);
25239 if (PyErr_Occurred()) SWIG_fail
;
25242 resultobj
= SWIG_From_int((int)(result
));
25250 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25251 PyObject
*resultobj
;
25252 wxWindow
*arg1
= (wxWindow
*) 0 ;
25255 PyObject
* obj0
= 0 ;
25256 PyObject
* obj1
= 0 ;
25257 char *kwnames
[] = {
25258 (char *) "self",(char *) "size", NULL
25261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25263 if (SWIG_arg_fail(1)) SWIG_fail
;
25266 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25270 (arg1
)->SetSize((wxSize
const &)*arg2
);
25272 wxPyEndAllowThreads(__tstate
);
25273 if (PyErr_Occurred()) SWIG_fail
;
25275 Py_INCREF(Py_None
); resultobj
= Py_None
;
25282 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25283 PyObject
*resultobj
;
25284 wxWindow
*arg1
= (wxWindow
*) 0 ;
25289 int arg6
= (int) wxSIZE_AUTO
;
25290 PyObject
* obj0
= 0 ;
25291 PyObject
* obj1
= 0 ;
25292 PyObject
* obj2
= 0 ;
25293 PyObject
* obj3
= 0 ;
25294 PyObject
* obj4
= 0 ;
25295 PyObject
* obj5
= 0 ;
25296 char *kwnames
[] = {
25297 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25302 if (SWIG_arg_fail(1)) SWIG_fail
;
25304 arg2
= (int)(SWIG_As_int(obj1
));
25305 if (SWIG_arg_fail(2)) SWIG_fail
;
25308 arg3
= (int)(SWIG_As_int(obj2
));
25309 if (SWIG_arg_fail(3)) SWIG_fail
;
25312 arg4
= (int)(SWIG_As_int(obj3
));
25313 if (SWIG_arg_fail(4)) SWIG_fail
;
25316 arg5
= (int)(SWIG_As_int(obj4
));
25317 if (SWIG_arg_fail(5)) SWIG_fail
;
25321 arg6
= (int)(SWIG_As_int(obj5
));
25322 if (SWIG_arg_fail(6)) SWIG_fail
;
25326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25327 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25329 wxPyEndAllowThreads(__tstate
);
25330 if (PyErr_Occurred()) SWIG_fail
;
25332 Py_INCREF(Py_None
); resultobj
= Py_None
;
25339 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25340 PyObject
*resultobj
;
25341 wxWindow
*arg1
= (wxWindow
*) 0 ;
25343 int arg3
= (int) wxSIZE_AUTO
;
25345 PyObject
* obj0
= 0 ;
25346 PyObject
* obj1
= 0 ;
25347 PyObject
* obj2
= 0 ;
25348 char *kwnames
[] = {
25349 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
25352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25354 if (SWIG_arg_fail(1)) SWIG_fail
;
25357 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25361 arg3
= (int)(SWIG_As_int(obj2
));
25362 if (SWIG_arg_fail(3)) SWIG_fail
;
25366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25367 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
25369 wxPyEndAllowThreads(__tstate
);
25370 if (PyErr_Occurred()) SWIG_fail
;
25372 Py_INCREF(Py_None
); resultobj
= Py_None
;
25379 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25380 PyObject
*resultobj
;
25381 wxWindow
*arg1
= (wxWindow
*) 0 ;
25384 PyObject
* obj0
= 0 ;
25385 PyObject
* obj1
= 0 ;
25386 PyObject
* obj2
= 0 ;
25387 char *kwnames
[] = {
25388 (char *) "self",(char *) "width",(char *) "height", NULL
25391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25393 if (SWIG_arg_fail(1)) SWIG_fail
;
25395 arg2
= (int)(SWIG_As_int(obj1
));
25396 if (SWIG_arg_fail(2)) SWIG_fail
;
25399 arg3
= (int)(SWIG_As_int(obj2
));
25400 if (SWIG_arg_fail(3)) SWIG_fail
;
25403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25404 (arg1
)->SetSize(arg2
,arg3
);
25406 wxPyEndAllowThreads(__tstate
);
25407 if (PyErr_Occurred()) SWIG_fail
;
25409 Py_INCREF(Py_None
); resultobj
= Py_None
;
25416 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25417 PyObject
*resultobj
;
25418 wxWindow
*arg1
= (wxWindow
*) 0 ;
25419 wxPoint
*arg2
= 0 ;
25420 int arg3
= (int) wxSIZE_USE_EXISTING
;
25422 PyObject
* obj0
= 0 ;
25423 PyObject
* obj1
= 0 ;
25424 PyObject
* obj2
= 0 ;
25425 char *kwnames
[] = {
25426 (char *) "self",(char *) "pt",(char *) "flags", NULL
25429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25431 if (SWIG_arg_fail(1)) SWIG_fail
;
25434 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25438 arg3
= (int)(SWIG_As_int(obj2
));
25439 if (SWIG_arg_fail(3)) SWIG_fail
;
25443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25444 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
25446 wxPyEndAllowThreads(__tstate
);
25447 if (PyErr_Occurred()) SWIG_fail
;
25449 Py_INCREF(Py_None
); resultobj
= Py_None
;
25456 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25457 PyObject
*resultobj
;
25458 wxWindow
*arg1
= (wxWindow
*) 0 ;
25461 int arg4
= (int) wxSIZE_USE_EXISTING
;
25462 PyObject
* obj0
= 0 ;
25463 PyObject
* obj1
= 0 ;
25464 PyObject
* obj2
= 0 ;
25465 PyObject
* obj3
= 0 ;
25466 char *kwnames
[] = {
25467 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25472 if (SWIG_arg_fail(1)) SWIG_fail
;
25474 arg2
= (int)(SWIG_As_int(obj1
));
25475 if (SWIG_arg_fail(2)) SWIG_fail
;
25478 arg3
= (int)(SWIG_As_int(obj2
));
25479 if (SWIG_arg_fail(3)) SWIG_fail
;
25483 arg4
= (int)(SWIG_As_int(obj3
));
25484 if (SWIG_arg_fail(4)) SWIG_fail
;
25488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25489 (arg1
)->Move(arg2
,arg3
,arg4
);
25491 wxPyEndAllowThreads(__tstate
);
25492 if (PyErr_Occurred()) SWIG_fail
;
25494 Py_INCREF(Py_None
); resultobj
= Py_None
;
25501 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25502 PyObject
*resultobj
;
25503 wxWindow
*arg1
= (wxWindow
*) 0 ;
25504 wxSize
const &arg2_defvalue
= wxDefaultSize
;
25505 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
25507 PyObject
* obj0
= 0 ;
25508 PyObject
* obj1
= 0 ;
25509 char *kwnames
[] = {
25510 (char *) "self",(char *) "size", NULL
25513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25515 if (SWIG_arg_fail(1)) SWIG_fail
;
25519 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25524 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
25526 wxPyEndAllowThreads(__tstate
);
25527 if (PyErr_Occurred()) SWIG_fail
;
25529 Py_INCREF(Py_None
); resultobj
= Py_None
;
25536 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25537 PyObject
*resultobj
;
25538 wxWindow
*arg1
= (wxWindow
*) 0 ;
25539 PyObject
* obj0
= 0 ;
25540 char *kwnames
[] = {
25541 (char *) "self", NULL
25544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
25545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25546 if (SWIG_arg_fail(1)) SWIG_fail
;
25548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25551 wxPyEndAllowThreads(__tstate
);
25552 if (PyErr_Occurred()) SWIG_fail
;
25554 Py_INCREF(Py_None
); resultobj
= Py_None
;
25561 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25562 PyObject
*resultobj
;
25563 wxWindow
*arg1
= (wxWindow
*) 0 ;
25564 PyObject
* obj0
= 0 ;
25565 char *kwnames
[] = {
25566 (char *) "self", NULL
25569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
25570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25571 if (SWIG_arg_fail(1)) SWIG_fail
;
25573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25576 wxPyEndAllowThreads(__tstate
);
25577 if (PyErr_Occurred()) SWIG_fail
;
25579 Py_INCREF(Py_None
); resultobj
= Py_None
;
25586 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25587 PyObject
*resultobj
;
25588 wxWindow
*arg1
= (wxWindow
*) 0 ;
25591 PyObject
* obj0
= 0 ;
25592 PyObject
* obj1
= 0 ;
25593 char *kwnames
[] = {
25594 (char *) "self",(char *) "size", NULL
25597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25599 if (SWIG_arg_fail(1)) SWIG_fail
;
25602 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25606 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
25608 wxPyEndAllowThreads(__tstate
);
25609 if (PyErr_Occurred()) SWIG_fail
;
25611 Py_INCREF(Py_None
); resultobj
= Py_None
;
25618 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25619 PyObject
*resultobj
;
25620 wxWindow
*arg1
= (wxWindow
*) 0 ;
25623 PyObject
* obj0
= 0 ;
25624 PyObject
* obj1
= 0 ;
25625 PyObject
* obj2
= 0 ;
25626 char *kwnames
[] = {
25627 (char *) "self",(char *) "width",(char *) "height", NULL
25630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25632 if (SWIG_arg_fail(1)) SWIG_fail
;
25634 arg2
= (int)(SWIG_As_int(obj1
));
25635 if (SWIG_arg_fail(2)) SWIG_fail
;
25638 arg3
= (int)(SWIG_As_int(obj2
));
25639 if (SWIG_arg_fail(3)) SWIG_fail
;
25642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25643 (arg1
)->SetClientSize(arg2
,arg3
);
25645 wxPyEndAllowThreads(__tstate
);
25646 if (PyErr_Occurred()) SWIG_fail
;
25648 Py_INCREF(Py_None
); resultobj
= Py_None
;
25655 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25656 PyObject
*resultobj
;
25657 wxWindow
*arg1
= (wxWindow
*) 0 ;
25660 PyObject
* obj0
= 0 ;
25661 PyObject
* obj1
= 0 ;
25662 char *kwnames
[] = {
25663 (char *) "self",(char *) "rect", NULL
25666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25668 if (SWIG_arg_fail(1)) SWIG_fail
;
25671 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25675 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
25677 wxPyEndAllowThreads(__tstate
);
25678 if (PyErr_Occurred()) SWIG_fail
;
25680 Py_INCREF(Py_None
); resultobj
= Py_None
;
25687 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25688 PyObject
*resultobj
;
25689 wxWindow
*arg1
= (wxWindow
*) 0 ;
25691 PyObject
* obj0
= 0 ;
25692 char *kwnames
[] = {
25693 (char *) "self", NULL
25696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
25697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25698 if (SWIG_arg_fail(1)) SWIG_fail
;
25700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25701 result
= (arg1
)->GetPosition();
25703 wxPyEndAllowThreads(__tstate
);
25704 if (PyErr_Occurred()) SWIG_fail
;
25707 wxPoint
* resultptr
;
25708 resultptr
= new wxPoint((wxPoint
&)(result
));
25709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25717 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25718 PyObject
*resultobj
;
25719 wxWindow
*arg1
= (wxWindow
*) 0 ;
25720 int *arg2
= (int *) 0 ;
25721 int *arg3
= (int *) 0 ;
25726 PyObject
* obj0
= 0 ;
25727 char *kwnames
[] = {
25728 (char *) "self", NULL
25731 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25732 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
25734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25735 if (SWIG_arg_fail(1)) SWIG_fail
;
25737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25738 (arg1
)->GetPosition(arg2
,arg3
);
25740 wxPyEndAllowThreads(__tstate
);
25741 if (PyErr_Occurred()) SWIG_fail
;
25743 Py_INCREF(Py_None
); resultobj
= Py_None
;
25744 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25745 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25746 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25747 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25754 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25755 PyObject
*resultobj
;
25756 wxWindow
*arg1
= (wxWindow
*) 0 ;
25758 PyObject
* obj0
= 0 ;
25759 char *kwnames
[] = {
25760 (char *) "self", NULL
25763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
25764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25765 if (SWIG_arg_fail(1)) SWIG_fail
;
25767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25768 result
= ((wxWindow
const *)arg1
)->GetSize();
25770 wxPyEndAllowThreads(__tstate
);
25771 if (PyErr_Occurred()) SWIG_fail
;
25774 wxSize
* resultptr
;
25775 resultptr
= new wxSize((wxSize
&)(result
));
25776 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25784 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25785 PyObject
*resultobj
;
25786 wxWindow
*arg1
= (wxWindow
*) 0 ;
25787 int *arg2
= (int *) 0 ;
25788 int *arg3
= (int *) 0 ;
25793 PyObject
* obj0
= 0 ;
25794 char *kwnames
[] = {
25795 (char *) "self", NULL
25798 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25799 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
25801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25802 if (SWIG_arg_fail(1)) SWIG_fail
;
25804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25805 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
25807 wxPyEndAllowThreads(__tstate
);
25808 if (PyErr_Occurred()) SWIG_fail
;
25810 Py_INCREF(Py_None
); resultobj
= Py_None
;
25811 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25812 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25813 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25814 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25821 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25822 PyObject
*resultobj
;
25823 wxWindow
*arg1
= (wxWindow
*) 0 ;
25825 PyObject
* obj0
= 0 ;
25826 char *kwnames
[] = {
25827 (char *) "self", NULL
25830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
25831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25832 if (SWIG_arg_fail(1)) SWIG_fail
;
25834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25835 result
= ((wxWindow
const *)arg1
)->GetRect();
25837 wxPyEndAllowThreads(__tstate
);
25838 if (PyErr_Occurred()) SWIG_fail
;
25841 wxRect
* resultptr
;
25842 resultptr
= new wxRect((wxRect
&)(result
));
25843 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25851 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25852 PyObject
*resultobj
;
25853 wxWindow
*arg1
= (wxWindow
*) 0 ;
25855 PyObject
* obj0
= 0 ;
25856 char *kwnames
[] = {
25857 (char *) "self", NULL
25860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
25861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25862 if (SWIG_arg_fail(1)) SWIG_fail
;
25864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25865 result
= ((wxWindow
const *)arg1
)->GetClientSize();
25867 wxPyEndAllowThreads(__tstate
);
25868 if (PyErr_Occurred()) SWIG_fail
;
25871 wxSize
* resultptr
;
25872 resultptr
= new wxSize((wxSize
&)(result
));
25873 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25881 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25882 PyObject
*resultobj
;
25883 wxWindow
*arg1
= (wxWindow
*) 0 ;
25884 int *arg2
= (int *) 0 ;
25885 int *arg3
= (int *) 0 ;
25890 PyObject
* obj0
= 0 ;
25891 char *kwnames
[] = {
25892 (char *) "self", NULL
25895 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25896 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
25898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25899 if (SWIG_arg_fail(1)) SWIG_fail
;
25901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25902 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
25904 wxPyEndAllowThreads(__tstate
);
25905 if (PyErr_Occurred()) SWIG_fail
;
25907 Py_INCREF(Py_None
); resultobj
= Py_None
;
25908 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25909 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25910 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25911 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25918 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25919 PyObject
*resultobj
;
25920 wxWindow
*arg1
= (wxWindow
*) 0 ;
25922 PyObject
* obj0
= 0 ;
25923 char *kwnames
[] = {
25924 (char *) "self", NULL
25927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
25928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25929 if (SWIG_arg_fail(1)) SWIG_fail
;
25931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25932 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
25934 wxPyEndAllowThreads(__tstate
);
25935 if (PyErr_Occurred()) SWIG_fail
;
25938 wxPoint
* resultptr
;
25939 resultptr
= new wxPoint((wxPoint
&)(result
));
25940 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25948 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25949 PyObject
*resultobj
;
25950 wxWindow
*arg1
= (wxWindow
*) 0 ;
25952 PyObject
* obj0
= 0 ;
25953 char *kwnames
[] = {
25954 (char *) "self", NULL
25957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
25958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25959 if (SWIG_arg_fail(1)) SWIG_fail
;
25961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25962 result
= ((wxWindow
const *)arg1
)->GetClientRect();
25964 wxPyEndAllowThreads(__tstate
);
25965 if (PyErr_Occurred()) SWIG_fail
;
25968 wxRect
* resultptr
;
25969 resultptr
= new wxRect((wxRect
&)(result
));
25970 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25978 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25979 PyObject
*resultobj
;
25980 wxWindow
*arg1
= (wxWindow
*) 0 ;
25982 PyObject
* obj0
= 0 ;
25983 char *kwnames
[] = {
25984 (char *) "self", NULL
25987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
25988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25989 if (SWIG_arg_fail(1)) SWIG_fail
;
25991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25992 result
= ((wxWindow
const *)arg1
)->GetBestSize();
25994 wxPyEndAllowThreads(__tstate
);
25995 if (PyErr_Occurred()) SWIG_fail
;
25998 wxSize
* resultptr
;
25999 resultptr
= new wxSize((wxSize
&)(result
));
26000 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26008 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26009 PyObject
*resultobj
;
26010 wxWindow
*arg1
= (wxWindow
*) 0 ;
26011 int *arg2
= (int *) 0 ;
26012 int *arg3
= (int *) 0 ;
26017 PyObject
* obj0
= 0 ;
26018 char *kwnames
[] = {
26019 (char *) "self", NULL
26022 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26023 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
26025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26026 if (SWIG_arg_fail(1)) SWIG_fail
;
26028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26029 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
26031 wxPyEndAllowThreads(__tstate
);
26032 if (PyErr_Occurred()) SWIG_fail
;
26034 Py_INCREF(Py_None
); resultobj
= Py_None
;
26035 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26036 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26037 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26038 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26045 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26046 PyObject
*resultobj
;
26047 wxWindow
*arg1
= (wxWindow
*) 0 ;
26048 PyObject
* obj0
= 0 ;
26049 char *kwnames
[] = {
26050 (char *) "self", NULL
26053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
26054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26055 if (SWIG_arg_fail(1)) SWIG_fail
;
26057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26058 (arg1
)->InvalidateBestSize();
26060 wxPyEndAllowThreads(__tstate
);
26061 if (PyErr_Occurred()) SWIG_fail
;
26063 Py_INCREF(Py_None
); resultobj
= Py_None
;
26070 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26071 PyObject
*resultobj
;
26072 wxWindow
*arg1
= (wxWindow
*) 0 ;
26074 PyObject
* obj0
= 0 ;
26075 char *kwnames
[] = {
26076 (char *) "self", NULL
26079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
26080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26081 if (SWIG_arg_fail(1)) SWIG_fail
;
26083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26084 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
26086 wxPyEndAllowThreads(__tstate
);
26087 if (PyErr_Occurred()) SWIG_fail
;
26090 wxSize
* resultptr
;
26091 resultptr
= new wxSize((wxSize
&)(result
));
26092 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26100 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26101 PyObject
*resultobj
;
26102 wxWindow
*arg1
= (wxWindow
*) 0 ;
26104 PyObject
* obj0
= 0 ;
26105 char *kwnames
[] = {
26106 (char *) "self", NULL
26109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
26110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26111 if (SWIG_arg_fail(1)) SWIG_fail
;
26113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26114 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
26116 wxPyEndAllowThreads(__tstate
);
26117 if (PyErr_Occurred()) SWIG_fail
;
26120 wxSize
* resultptr
;
26121 resultptr
= new wxSize((wxSize
&)(result
));
26122 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26130 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26131 PyObject
*resultobj
;
26132 wxWindow
*arg1
= (wxWindow
*) 0 ;
26133 int arg2
= (int) wxBOTH
;
26134 PyObject
* obj0
= 0 ;
26135 PyObject
* obj1
= 0 ;
26136 char *kwnames
[] = {
26137 (char *) "self",(char *) "direction", NULL
26140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
26141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26142 if (SWIG_arg_fail(1)) SWIG_fail
;
26145 arg2
= (int)(SWIG_As_int(obj1
));
26146 if (SWIG_arg_fail(2)) SWIG_fail
;
26150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26151 (arg1
)->Center(arg2
);
26153 wxPyEndAllowThreads(__tstate
);
26154 if (PyErr_Occurred()) SWIG_fail
;
26156 Py_INCREF(Py_None
); resultobj
= Py_None
;
26163 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26164 PyObject
*resultobj
;
26165 wxWindow
*arg1
= (wxWindow
*) 0 ;
26166 int arg2
= (int) wxBOTH
;
26167 PyObject
* obj0
= 0 ;
26168 PyObject
* obj1
= 0 ;
26169 char *kwnames
[] = {
26170 (char *) "self",(char *) "dir", NULL
26173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26175 if (SWIG_arg_fail(1)) SWIG_fail
;
26178 arg2
= (int)(SWIG_As_int(obj1
));
26179 if (SWIG_arg_fail(2)) SWIG_fail
;
26183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26184 (arg1
)->CenterOnScreen(arg2
);
26186 wxPyEndAllowThreads(__tstate
);
26187 if (PyErr_Occurred()) SWIG_fail
;
26189 Py_INCREF(Py_None
); resultobj
= Py_None
;
26196 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26197 PyObject
*resultobj
;
26198 wxWindow
*arg1
= (wxWindow
*) 0 ;
26199 int arg2
= (int) wxBOTH
;
26200 PyObject
* obj0
= 0 ;
26201 PyObject
* obj1
= 0 ;
26202 char *kwnames
[] = {
26203 (char *) "self",(char *) "dir", NULL
26206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26208 if (SWIG_arg_fail(1)) SWIG_fail
;
26211 arg2
= (int)(SWIG_As_int(obj1
));
26212 if (SWIG_arg_fail(2)) SWIG_fail
;
26216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26217 (arg1
)->CenterOnParent(arg2
);
26219 wxPyEndAllowThreads(__tstate
);
26220 if (PyErr_Occurred()) SWIG_fail
;
26222 Py_INCREF(Py_None
); resultobj
= Py_None
;
26229 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26230 PyObject
*resultobj
;
26231 wxWindow
*arg1
= (wxWindow
*) 0 ;
26232 PyObject
* obj0
= 0 ;
26233 char *kwnames
[] = {
26234 (char *) "self", NULL
26237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
26238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26239 if (SWIG_arg_fail(1)) SWIG_fail
;
26241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26244 wxPyEndAllowThreads(__tstate
);
26245 if (PyErr_Occurred()) SWIG_fail
;
26247 Py_INCREF(Py_None
); resultobj
= Py_None
;
26254 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26255 PyObject
*resultobj
;
26256 wxWindow
*arg1
= (wxWindow
*) 0 ;
26257 PyObject
* obj0
= 0 ;
26258 char *kwnames
[] = {
26259 (char *) "self", NULL
26262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
26263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26264 if (SWIG_arg_fail(1)) SWIG_fail
;
26266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26267 (arg1
)->FitInside();
26269 wxPyEndAllowThreads(__tstate
);
26270 if (PyErr_Occurred()) SWIG_fail
;
26272 Py_INCREF(Py_None
); resultobj
= Py_None
;
26279 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26280 PyObject
*resultobj
;
26281 wxWindow
*arg1
= (wxWindow
*) 0 ;
26284 int arg4
= (int) -1 ;
26285 int arg5
= (int) -1 ;
26286 int arg6
= (int) -1 ;
26287 int arg7
= (int) -1 ;
26288 PyObject
* obj0
= 0 ;
26289 PyObject
* obj1
= 0 ;
26290 PyObject
* obj2
= 0 ;
26291 PyObject
* obj3
= 0 ;
26292 PyObject
* obj4
= 0 ;
26293 PyObject
* obj5
= 0 ;
26294 PyObject
* obj6
= 0 ;
26295 char *kwnames
[] = {
26296 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
26299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26301 if (SWIG_arg_fail(1)) SWIG_fail
;
26303 arg2
= (int)(SWIG_As_int(obj1
));
26304 if (SWIG_arg_fail(2)) SWIG_fail
;
26307 arg3
= (int)(SWIG_As_int(obj2
));
26308 if (SWIG_arg_fail(3)) SWIG_fail
;
26312 arg4
= (int)(SWIG_As_int(obj3
));
26313 if (SWIG_arg_fail(4)) SWIG_fail
;
26318 arg5
= (int)(SWIG_As_int(obj4
));
26319 if (SWIG_arg_fail(5)) SWIG_fail
;
26324 arg6
= (int)(SWIG_As_int(obj5
));
26325 if (SWIG_arg_fail(6)) SWIG_fail
;
26330 arg7
= (int)(SWIG_As_int(obj6
));
26331 if (SWIG_arg_fail(7)) SWIG_fail
;
26335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26336 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26338 wxPyEndAllowThreads(__tstate
);
26339 if (PyErr_Occurred()) SWIG_fail
;
26341 Py_INCREF(Py_None
); resultobj
= Py_None
;
26348 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26349 PyObject
*resultobj
;
26350 wxWindow
*arg1
= (wxWindow
*) 0 ;
26352 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26353 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26354 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26355 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26359 PyObject
* obj0
= 0 ;
26360 PyObject
* obj1
= 0 ;
26361 PyObject
* obj2
= 0 ;
26362 PyObject
* obj3
= 0 ;
26363 char *kwnames
[] = {
26364 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
26367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26369 if (SWIG_arg_fail(1)) SWIG_fail
;
26372 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26377 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26383 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26388 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
26390 wxPyEndAllowThreads(__tstate
);
26391 if (PyErr_Occurred()) SWIG_fail
;
26393 Py_INCREF(Py_None
); resultobj
= Py_None
;
26400 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26401 PyObject
*resultobj
;
26402 wxWindow
*arg1
= (wxWindow
*) 0 ;
26405 int arg4
= (int) -1 ;
26406 int arg5
= (int) -1 ;
26407 PyObject
* obj0
= 0 ;
26408 PyObject
* obj1
= 0 ;
26409 PyObject
* obj2
= 0 ;
26410 PyObject
* obj3
= 0 ;
26411 PyObject
* obj4
= 0 ;
26412 char *kwnames
[] = {
26413 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26418 if (SWIG_arg_fail(1)) SWIG_fail
;
26420 arg2
= (int)(SWIG_As_int(obj1
));
26421 if (SWIG_arg_fail(2)) SWIG_fail
;
26424 arg3
= (int)(SWIG_As_int(obj2
));
26425 if (SWIG_arg_fail(3)) SWIG_fail
;
26429 arg4
= (int)(SWIG_As_int(obj3
));
26430 if (SWIG_arg_fail(4)) SWIG_fail
;
26435 arg5
= (int)(SWIG_As_int(obj4
));
26436 if (SWIG_arg_fail(5)) SWIG_fail
;
26440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26441 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
26443 wxPyEndAllowThreads(__tstate
);
26444 if (PyErr_Occurred()) SWIG_fail
;
26446 Py_INCREF(Py_None
); resultobj
= Py_None
;
26453 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26454 PyObject
*resultobj
;
26455 wxWindow
*arg1
= (wxWindow
*) 0 ;
26457 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26458 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26461 PyObject
* obj0
= 0 ;
26462 PyObject
* obj1
= 0 ;
26463 PyObject
* obj2
= 0 ;
26464 char *kwnames
[] = {
26465 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26470 if (SWIG_arg_fail(1)) SWIG_fail
;
26473 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26478 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26483 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
26485 wxPyEndAllowThreads(__tstate
);
26486 if (PyErr_Occurred()) SWIG_fail
;
26488 Py_INCREF(Py_None
); resultobj
= Py_None
;
26495 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26496 PyObject
*resultobj
;
26497 wxWindow
*arg1
= (wxWindow
*) 0 ;
26499 PyObject
* obj0
= 0 ;
26500 char *kwnames
[] = {
26501 (char *) "self", NULL
26504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
26505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26506 if (SWIG_arg_fail(1)) SWIG_fail
;
26508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26509 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
26511 wxPyEndAllowThreads(__tstate
);
26512 if (PyErr_Occurred()) SWIG_fail
;
26515 wxSize
* resultptr
;
26516 resultptr
= new wxSize((wxSize
&)(result
));
26517 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26525 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26526 PyObject
*resultobj
;
26527 wxWindow
*arg1
= (wxWindow
*) 0 ;
26529 PyObject
* obj0
= 0 ;
26530 char *kwnames
[] = {
26531 (char *) "self", NULL
26534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
26535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26536 if (SWIG_arg_fail(1)) SWIG_fail
;
26538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26539 result
= ((wxWindow
const *)arg1
)->GetMinSize();
26541 wxPyEndAllowThreads(__tstate
);
26542 if (PyErr_Occurred()) SWIG_fail
;
26545 wxSize
* resultptr
;
26546 resultptr
= new wxSize((wxSize
&)(result
));
26547 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26555 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26556 PyObject
*resultobj
;
26557 wxWindow
*arg1
= (wxWindow
*) 0 ;
26560 PyObject
* obj0
= 0 ;
26561 PyObject
* obj1
= 0 ;
26562 char *kwnames
[] = {
26563 (char *) "self",(char *) "minSize", NULL
26566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26568 if (SWIG_arg_fail(1)) SWIG_fail
;
26571 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26575 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
26577 wxPyEndAllowThreads(__tstate
);
26578 if (PyErr_Occurred()) SWIG_fail
;
26580 Py_INCREF(Py_None
); resultobj
= Py_None
;
26587 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26588 PyObject
*resultobj
;
26589 wxWindow
*arg1
= (wxWindow
*) 0 ;
26592 PyObject
* obj0
= 0 ;
26593 PyObject
* obj1
= 0 ;
26594 char *kwnames
[] = {
26595 (char *) "self",(char *) "maxSize", NULL
26598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26600 if (SWIG_arg_fail(1)) SWIG_fail
;
26603 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26607 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
26609 wxPyEndAllowThreads(__tstate
);
26610 if (PyErr_Occurred()) SWIG_fail
;
26612 Py_INCREF(Py_None
); resultobj
= Py_None
;
26619 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26620 PyObject
*resultobj
;
26621 wxWindow
*arg1
= (wxWindow
*) 0 ;
26623 PyObject
* obj0
= 0 ;
26624 char *kwnames
[] = {
26625 (char *) "self", NULL
26628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
26629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26630 if (SWIG_arg_fail(1)) SWIG_fail
;
26632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26633 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
26635 wxPyEndAllowThreads(__tstate
);
26636 if (PyErr_Occurred()) SWIG_fail
;
26639 resultobj
= SWIG_From_int((int)(result
));
26647 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26648 PyObject
*resultobj
;
26649 wxWindow
*arg1
= (wxWindow
*) 0 ;
26651 PyObject
* obj0
= 0 ;
26652 char *kwnames
[] = {
26653 (char *) "self", NULL
26656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
26657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26658 if (SWIG_arg_fail(1)) SWIG_fail
;
26660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26661 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
26663 wxPyEndAllowThreads(__tstate
);
26664 if (PyErr_Occurred()) SWIG_fail
;
26667 resultobj
= SWIG_From_int((int)(result
));
26675 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26676 PyObject
*resultobj
;
26677 wxWindow
*arg1
= (wxWindow
*) 0 ;
26679 PyObject
* obj0
= 0 ;
26680 char *kwnames
[] = {
26681 (char *) "self", NULL
26684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
26685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26686 if (SWIG_arg_fail(1)) SWIG_fail
;
26688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26689 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
26691 wxPyEndAllowThreads(__tstate
);
26692 if (PyErr_Occurred()) SWIG_fail
;
26695 resultobj
= SWIG_From_int((int)(result
));
26703 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26704 PyObject
*resultobj
;
26705 wxWindow
*arg1
= (wxWindow
*) 0 ;
26707 PyObject
* obj0
= 0 ;
26708 char *kwnames
[] = {
26709 (char *) "self", NULL
26712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
26713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26714 if (SWIG_arg_fail(1)) SWIG_fail
;
26716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26717 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
26719 wxPyEndAllowThreads(__tstate
);
26720 if (PyErr_Occurred()) SWIG_fail
;
26723 resultobj
= SWIG_From_int((int)(result
));
26731 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26732 PyObject
*resultobj
;
26733 wxWindow
*arg1
= (wxWindow
*) 0 ;
26736 PyObject
* obj0
= 0 ;
26737 PyObject
* obj1
= 0 ;
26738 char *kwnames
[] = {
26739 (char *) "self",(char *) "size", NULL
26742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26744 if (SWIG_arg_fail(1)) SWIG_fail
;
26747 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26751 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
26753 wxPyEndAllowThreads(__tstate
);
26754 if (PyErr_Occurred()) SWIG_fail
;
26756 Py_INCREF(Py_None
); resultobj
= Py_None
;
26763 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26764 PyObject
*resultobj
;
26765 wxWindow
*arg1
= (wxWindow
*) 0 ;
26768 PyObject
* obj0
= 0 ;
26769 PyObject
* obj1
= 0 ;
26770 PyObject
* obj2
= 0 ;
26771 char *kwnames
[] = {
26772 (char *) "self",(char *) "w",(char *) "h", NULL
26775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26777 if (SWIG_arg_fail(1)) SWIG_fail
;
26779 arg2
= (int)(SWIG_As_int(obj1
));
26780 if (SWIG_arg_fail(2)) SWIG_fail
;
26783 arg3
= (int)(SWIG_As_int(obj2
));
26784 if (SWIG_arg_fail(3)) SWIG_fail
;
26787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26788 (arg1
)->SetVirtualSize(arg2
,arg3
);
26790 wxPyEndAllowThreads(__tstate
);
26791 if (PyErr_Occurred()) SWIG_fail
;
26793 Py_INCREF(Py_None
); resultobj
= Py_None
;
26800 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26801 PyObject
*resultobj
;
26802 wxWindow
*arg1
= (wxWindow
*) 0 ;
26804 PyObject
* obj0
= 0 ;
26805 char *kwnames
[] = {
26806 (char *) "self", NULL
26809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
26810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26811 if (SWIG_arg_fail(1)) SWIG_fail
;
26813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26814 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
26816 wxPyEndAllowThreads(__tstate
);
26817 if (PyErr_Occurred()) SWIG_fail
;
26820 wxSize
* resultptr
;
26821 resultptr
= new wxSize((wxSize
&)(result
));
26822 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26830 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26831 PyObject
*resultobj
;
26832 wxWindow
*arg1
= (wxWindow
*) 0 ;
26833 int *arg2
= (int *) 0 ;
26834 int *arg3
= (int *) 0 ;
26839 PyObject
* obj0
= 0 ;
26840 char *kwnames
[] = {
26841 (char *) "self", NULL
26844 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26845 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
26847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26848 if (SWIG_arg_fail(1)) SWIG_fail
;
26850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26851 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
26853 wxPyEndAllowThreads(__tstate
);
26854 if (PyErr_Occurred()) SWIG_fail
;
26856 Py_INCREF(Py_None
); resultobj
= Py_None
;
26857 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26858 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26859 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26860 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26867 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26868 PyObject
*resultobj
;
26869 wxWindow
*arg1
= (wxWindow
*) 0 ;
26871 PyObject
* obj0
= 0 ;
26872 char *kwnames
[] = {
26873 (char *) "self", NULL
26876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
26877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26878 if (SWIG_arg_fail(1)) SWIG_fail
;
26880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26881 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
26883 wxPyEndAllowThreads(__tstate
);
26884 if (PyErr_Occurred()) SWIG_fail
;
26887 wxSize
* resultptr
;
26888 resultptr
= new wxSize((wxSize
&)(result
));
26889 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26897 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26898 PyObject
*resultobj
;
26899 wxWindow
*arg1
= (wxWindow
*) 0 ;
26900 bool arg2
= (bool) true ;
26902 PyObject
* obj0
= 0 ;
26903 PyObject
* obj1
= 0 ;
26904 char *kwnames
[] = {
26905 (char *) "self",(char *) "show", NULL
26908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
26909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26910 if (SWIG_arg_fail(1)) SWIG_fail
;
26913 arg2
= (bool)(SWIG_As_bool(obj1
));
26914 if (SWIG_arg_fail(2)) SWIG_fail
;
26918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26919 result
= (bool)(arg1
)->Show(arg2
);
26921 wxPyEndAllowThreads(__tstate
);
26922 if (PyErr_Occurred()) SWIG_fail
;
26925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26933 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26934 PyObject
*resultobj
;
26935 wxWindow
*arg1
= (wxWindow
*) 0 ;
26937 PyObject
* obj0
= 0 ;
26938 char *kwnames
[] = {
26939 (char *) "self", NULL
26942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
26943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26944 if (SWIG_arg_fail(1)) SWIG_fail
;
26946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26947 result
= (bool)(arg1
)->Hide();
26949 wxPyEndAllowThreads(__tstate
);
26950 if (PyErr_Occurred()) SWIG_fail
;
26953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26961 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26962 PyObject
*resultobj
;
26963 wxWindow
*arg1
= (wxWindow
*) 0 ;
26964 bool arg2
= (bool) true ;
26966 PyObject
* obj0
= 0 ;
26967 PyObject
* obj1
= 0 ;
26968 char *kwnames
[] = {
26969 (char *) "self",(char *) "enable", NULL
26972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
26973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26974 if (SWIG_arg_fail(1)) SWIG_fail
;
26977 arg2
= (bool)(SWIG_As_bool(obj1
));
26978 if (SWIG_arg_fail(2)) SWIG_fail
;
26982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26983 result
= (bool)(arg1
)->Enable(arg2
);
26985 wxPyEndAllowThreads(__tstate
);
26986 if (PyErr_Occurred()) SWIG_fail
;
26989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26997 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26998 PyObject
*resultobj
;
26999 wxWindow
*arg1
= (wxWindow
*) 0 ;
27001 PyObject
* obj0
= 0 ;
27002 char *kwnames
[] = {
27003 (char *) "self", NULL
27006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
27007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27008 if (SWIG_arg_fail(1)) SWIG_fail
;
27010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27011 result
= (bool)(arg1
)->Disable();
27013 wxPyEndAllowThreads(__tstate
);
27014 if (PyErr_Occurred()) SWIG_fail
;
27017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27025 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27026 PyObject
*resultobj
;
27027 wxWindow
*arg1
= (wxWindow
*) 0 ;
27029 PyObject
* obj0
= 0 ;
27030 char *kwnames
[] = {
27031 (char *) "self", NULL
27034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
27035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27036 if (SWIG_arg_fail(1)) SWIG_fail
;
27038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27039 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
27041 wxPyEndAllowThreads(__tstate
);
27042 if (PyErr_Occurred()) SWIG_fail
;
27045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27053 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27054 PyObject
*resultobj
;
27055 wxWindow
*arg1
= (wxWindow
*) 0 ;
27057 PyObject
* obj0
= 0 ;
27058 char *kwnames
[] = {
27059 (char *) "self", NULL
27062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
27063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27064 if (SWIG_arg_fail(1)) SWIG_fail
;
27066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27067 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
27069 wxPyEndAllowThreads(__tstate
);
27070 if (PyErr_Occurred()) SWIG_fail
;
27073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27081 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27082 PyObject
*resultobj
;
27083 wxWindow
*arg1
= (wxWindow
*) 0 ;
27085 PyObject
* obj0
= 0 ;
27086 PyObject
* obj1
= 0 ;
27087 char *kwnames
[] = {
27088 (char *) "self",(char *) "style", NULL
27091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27093 if (SWIG_arg_fail(1)) SWIG_fail
;
27095 arg2
= (long)(SWIG_As_long(obj1
));
27096 if (SWIG_arg_fail(2)) SWIG_fail
;
27099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27100 (arg1
)->SetWindowStyleFlag(arg2
);
27102 wxPyEndAllowThreads(__tstate
);
27103 if (PyErr_Occurred()) SWIG_fail
;
27105 Py_INCREF(Py_None
); resultobj
= Py_None
;
27112 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27113 PyObject
*resultobj
;
27114 wxWindow
*arg1
= (wxWindow
*) 0 ;
27116 PyObject
* obj0
= 0 ;
27117 char *kwnames
[] = {
27118 (char *) "self", NULL
27121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
27122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27123 if (SWIG_arg_fail(1)) SWIG_fail
;
27125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27126 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
27128 wxPyEndAllowThreads(__tstate
);
27129 if (PyErr_Occurred()) SWIG_fail
;
27132 resultobj
= SWIG_From_long((long)(result
));
27140 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27141 PyObject
*resultobj
;
27142 wxWindow
*arg1
= (wxWindow
*) 0 ;
27145 PyObject
* obj0
= 0 ;
27146 PyObject
* obj1
= 0 ;
27147 char *kwnames
[] = {
27148 (char *) "self",(char *) "flag", NULL
27151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27153 if (SWIG_arg_fail(1)) SWIG_fail
;
27155 arg2
= (int)(SWIG_As_int(obj1
));
27156 if (SWIG_arg_fail(2)) SWIG_fail
;
27159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27160 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
27162 wxPyEndAllowThreads(__tstate
);
27163 if (PyErr_Occurred()) SWIG_fail
;
27166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27174 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27175 PyObject
*resultobj
;
27176 wxWindow
*arg1
= (wxWindow
*) 0 ;
27178 PyObject
* obj0
= 0 ;
27179 char *kwnames
[] = {
27180 (char *) "self", NULL
27183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
27184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27185 if (SWIG_arg_fail(1)) SWIG_fail
;
27187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27188 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
27190 wxPyEndAllowThreads(__tstate
);
27191 if (PyErr_Occurred()) SWIG_fail
;
27194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27202 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27203 PyObject
*resultobj
;
27204 wxWindow
*arg1
= (wxWindow
*) 0 ;
27206 PyObject
* obj0
= 0 ;
27207 PyObject
* obj1
= 0 ;
27208 char *kwnames
[] = {
27209 (char *) "self",(char *) "exStyle", NULL
27212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
27213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27214 if (SWIG_arg_fail(1)) SWIG_fail
;
27216 arg2
= (long)(SWIG_As_long(obj1
));
27217 if (SWIG_arg_fail(2)) SWIG_fail
;
27220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27221 (arg1
)->SetExtraStyle(arg2
);
27223 wxPyEndAllowThreads(__tstate
);
27224 if (PyErr_Occurred()) SWIG_fail
;
27226 Py_INCREF(Py_None
); resultobj
= Py_None
;
27233 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27234 PyObject
*resultobj
;
27235 wxWindow
*arg1
= (wxWindow
*) 0 ;
27237 PyObject
* obj0
= 0 ;
27238 char *kwnames
[] = {
27239 (char *) "self", NULL
27242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
27243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27244 if (SWIG_arg_fail(1)) SWIG_fail
;
27246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27247 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
27249 wxPyEndAllowThreads(__tstate
);
27250 if (PyErr_Occurred()) SWIG_fail
;
27253 resultobj
= SWIG_From_long((long)(result
));
27261 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27262 PyObject
*resultobj
;
27263 wxWindow
*arg1
= (wxWindow
*) 0 ;
27264 bool arg2
= (bool) true ;
27265 PyObject
* obj0
= 0 ;
27266 PyObject
* obj1
= 0 ;
27267 char *kwnames
[] = {
27268 (char *) "self",(char *) "modal", NULL
27271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",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
= (bool)(SWIG_As_bool(obj1
));
27277 if (SWIG_arg_fail(2)) SWIG_fail
;
27281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27282 (arg1
)->MakeModal(arg2
);
27284 wxPyEndAllowThreads(__tstate
);
27285 if (PyErr_Occurred()) SWIG_fail
;
27287 Py_INCREF(Py_None
); resultobj
= Py_None
;
27294 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27295 PyObject
*resultobj
;
27296 wxWindow
*arg1
= (wxWindow
*) 0 ;
27298 PyObject
* obj0
= 0 ;
27299 PyObject
* obj1
= 0 ;
27300 char *kwnames
[] = {
27301 (char *) "self",(char *) "enableTheme", NULL
27304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",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
;
27308 arg2
= (bool)(SWIG_As_bool(obj1
));
27309 if (SWIG_arg_fail(2)) SWIG_fail
;
27312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27313 (arg1
)->SetThemeEnabled(arg2
);
27315 wxPyEndAllowThreads(__tstate
);
27316 if (PyErr_Occurred()) SWIG_fail
;
27318 Py_INCREF(Py_None
); resultobj
= Py_None
;
27325 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27326 PyObject
*resultobj
;
27327 wxWindow
*arg1
= (wxWindow
*) 0 ;
27329 PyObject
* obj0
= 0 ;
27330 char *kwnames
[] = {
27331 (char *) "self", NULL
27334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
27335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27336 if (SWIG_arg_fail(1)) SWIG_fail
;
27338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27339 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
27341 wxPyEndAllowThreads(__tstate
);
27342 if (PyErr_Occurred()) SWIG_fail
;
27345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27353 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27354 PyObject
*resultobj
;
27355 wxWindow
*arg1
= (wxWindow
*) 0 ;
27356 PyObject
* obj0
= 0 ;
27357 char *kwnames
[] = {
27358 (char *) "self", NULL
27361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
27362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27363 if (SWIG_arg_fail(1)) SWIG_fail
;
27365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27366 (arg1
)->SetFocus();
27368 wxPyEndAllowThreads(__tstate
);
27369 if (PyErr_Occurred()) SWIG_fail
;
27371 Py_INCREF(Py_None
); resultobj
= Py_None
;
27378 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27379 PyObject
*resultobj
;
27380 wxWindow
*arg1
= (wxWindow
*) 0 ;
27381 PyObject
* obj0
= 0 ;
27382 char *kwnames
[] = {
27383 (char *) "self", NULL
27386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
27387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27388 if (SWIG_arg_fail(1)) SWIG_fail
;
27390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27391 (arg1
)->SetFocusFromKbd();
27393 wxPyEndAllowThreads(__tstate
);
27394 if (PyErr_Occurred()) SWIG_fail
;
27396 Py_INCREF(Py_None
); resultobj
= Py_None
;
27403 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27404 PyObject
*resultobj
;
27406 char *kwnames
[] = {
27410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
27412 if (!wxPyCheckForApp()) SWIG_fail
;
27413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27414 result
= (wxWindow
*)wxWindow::FindFocus();
27416 wxPyEndAllowThreads(__tstate
);
27417 if (PyErr_Occurred()) SWIG_fail
;
27420 resultobj
= wxPyMake_wxObject(result
, 0);
27428 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27429 PyObject
*resultobj
;
27430 wxWindow
*arg1
= (wxWindow
*) 0 ;
27432 PyObject
* obj0
= 0 ;
27433 char *kwnames
[] = {
27434 (char *) "self", NULL
27437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27439 if (SWIG_arg_fail(1)) SWIG_fail
;
27441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27442 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
27444 wxPyEndAllowThreads(__tstate
);
27445 if (PyErr_Occurred()) SWIG_fail
;
27448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27456 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27457 PyObject
*resultobj
;
27458 wxWindow
*arg1
= (wxWindow
*) 0 ;
27460 PyObject
* obj0
= 0 ;
27461 char *kwnames
[] = {
27462 (char *) "self", NULL
27465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27467 if (SWIG_arg_fail(1)) SWIG_fail
;
27469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27470 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
27472 wxPyEndAllowThreads(__tstate
);
27473 if (PyErr_Occurred()) SWIG_fail
;
27476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27484 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27485 PyObject
*resultobj
;
27486 wxWindow
*arg1
= (wxWindow
*) 0 ;
27488 PyObject
* obj0
= 0 ;
27489 char *kwnames
[] = {
27490 (char *) "self", NULL
27493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
27494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27495 if (SWIG_arg_fail(1)) SWIG_fail
;
27497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27498 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
27500 wxPyEndAllowThreads(__tstate
);
27501 if (PyErr_Occurred()) SWIG_fail
;
27504 resultobj
= wxPyMake_wxObject(result
, 0);
27512 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27513 PyObject
*resultobj
;
27514 wxWindow
*arg1
= (wxWindow
*) 0 ;
27515 wxWindow
*arg2
= (wxWindow
*) 0 ;
27517 PyObject
* obj0
= 0 ;
27518 PyObject
* obj1
= 0 ;
27519 char *kwnames
[] = {
27520 (char *) "self",(char *) "child", NULL
27523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27525 if (SWIG_arg_fail(1)) SWIG_fail
;
27526 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27527 if (SWIG_arg_fail(2)) SWIG_fail
;
27529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27530 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
27532 wxPyEndAllowThreads(__tstate
);
27533 if (PyErr_Occurred()) SWIG_fail
;
27536 resultobj
= wxPyMake_wxObject(result
, 0);
27544 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27545 PyObject
*resultobj
;
27546 wxWindow
*arg1
= (wxWindow
*) 0 ;
27547 wxWindow
*arg2
= (wxWindow
*) 0 ;
27548 PyObject
* obj0
= 0 ;
27549 PyObject
* obj1
= 0 ;
27550 char *kwnames
[] = {
27551 (char *) "self",(char *) "win", NULL
27554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27556 if (SWIG_arg_fail(1)) SWIG_fail
;
27557 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27558 if (SWIG_arg_fail(2)) SWIG_fail
;
27560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27561 (arg1
)->SetTmpDefaultItem(arg2
);
27563 wxPyEndAllowThreads(__tstate
);
27564 if (PyErr_Occurred()) SWIG_fail
;
27566 Py_INCREF(Py_None
); resultobj
= Py_None
;
27573 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27574 PyObject
*resultobj
;
27575 wxWindow
*arg1
= (wxWindow
*) 0 ;
27576 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
27578 PyObject
* obj0
= 0 ;
27579 PyObject
* obj1
= 0 ;
27580 char *kwnames
[] = {
27581 (char *) "self",(char *) "flags", NULL
27584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
27585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27586 if (SWIG_arg_fail(1)) SWIG_fail
;
27589 arg2
= (int)(SWIG_As_int(obj1
));
27590 if (SWIG_arg_fail(2)) SWIG_fail
;
27594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27595 result
= (bool)(arg1
)->Navigate(arg2
);
27597 wxPyEndAllowThreads(__tstate
);
27598 if (PyErr_Occurred()) SWIG_fail
;
27601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27609 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27610 PyObject
*resultobj
;
27611 wxWindow
*arg1
= (wxWindow
*) 0 ;
27612 wxWindow
*arg2
= (wxWindow
*) 0 ;
27613 PyObject
* obj0
= 0 ;
27614 PyObject
* obj1
= 0 ;
27615 char *kwnames
[] = {
27616 (char *) "self",(char *) "win", NULL
27619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27621 if (SWIG_arg_fail(1)) SWIG_fail
;
27622 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27623 if (SWIG_arg_fail(2)) SWIG_fail
;
27625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27626 (arg1
)->MoveAfterInTabOrder(arg2
);
27628 wxPyEndAllowThreads(__tstate
);
27629 if (PyErr_Occurred()) SWIG_fail
;
27631 Py_INCREF(Py_None
); resultobj
= Py_None
;
27638 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27639 PyObject
*resultobj
;
27640 wxWindow
*arg1
= (wxWindow
*) 0 ;
27641 wxWindow
*arg2
= (wxWindow
*) 0 ;
27642 PyObject
* obj0
= 0 ;
27643 PyObject
* obj1
= 0 ;
27644 char *kwnames
[] = {
27645 (char *) "self",(char *) "win", NULL
27648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27650 if (SWIG_arg_fail(1)) SWIG_fail
;
27651 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27652 if (SWIG_arg_fail(2)) SWIG_fail
;
27654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27655 (arg1
)->MoveBeforeInTabOrder(arg2
);
27657 wxPyEndAllowThreads(__tstate
);
27658 if (PyErr_Occurred()) SWIG_fail
;
27660 Py_INCREF(Py_None
); resultobj
= Py_None
;
27667 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27668 PyObject
*resultobj
;
27669 wxWindow
*arg1
= (wxWindow
*) 0 ;
27671 PyObject
* obj0
= 0 ;
27672 char *kwnames
[] = {
27673 (char *) "self", NULL
27676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
27677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27678 if (SWIG_arg_fail(1)) SWIG_fail
;
27680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27681 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
27683 wxPyEndAllowThreads(__tstate
);
27684 if (PyErr_Occurred()) SWIG_fail
;
27686 resultobj
= result
;
27693 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27694 PyObject
*resultobj
;
27695 wxWindow
*arg1
= (wxWindow
*) 0 ;
27697 PyObject
* obj0
= 0 ;
27698 char *kwnames
[] = {
27699 (char *) "self", NULL
27702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
27703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27704 if (SWIG_arg_fail(1)) SWIG_fail
;
27706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27707 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
27709 wxPyEndAllowThreads(__tstate
);
27710 if (PyErr_Occurred()) SWIG_fail
;
27713 resultobj
= wxPyMake_wxObject(result
, 0);
27721 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27722 PyObject
*resultobj
;
27723 wxWindow
*arg1
= (wxWindow
*) 0 ;
27725 PyObject
* obj0
= 0 ;
27726 char *kwnames
[] = {
27727 (char *) "self", NULL
27730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
27731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27732 if (SWIG_arg_fail(1)) SWIG_fail
;
27734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27735 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
27737 wxPyEndAllowThreads(__tstate
);
27738 if (PyErr_Occurred()) SWIG_fail
;
27741 resultobj
= wxPyMake_wxObject(result
, 0);
27749 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27750 PyObject
*resultobj
;
27751 wxWindow
*arg1
= (wxWindow
*) 0 ;
27753 PyObject
* obj0
= 0 ;
27754 char *kwnames
[] = {
27755 (char *) "self", NULL
27758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
27759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27760 if (SWIG_arg_fail(1)) SWIG_fail
;
27762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27763 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
27765 wxPyEndAllowThreads(__tstate
);
27766 if (PyErr_Occurred()) SWIG_fail
;
27769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27777 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27778 PyObject
*resultobj
;
27779 wxWindow
*arg1
= (wxWindow
*) 0 ;
27780 wxWindow
*arg2
= (wxWindow
*) 0 ;
27782 PyObject
* obj0
= 0 ;
27783 PyObject
* obj1
= 0 ;
27784 char *kwnames
[] = {
27785 (char *) "self",(char *) "newParent", NULL
27788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
27789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27790 if (SWIG_arg_fail(1)) SWIG_fail
;
27791 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27792 if (SWIG_arg_fail(2)) SWIG_fail
;
27794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27795 result
= (bool)(arg1
)->Reparent(arg2
);
27797 wxPyEndAllowThreads(__tstate
);
27798 if (PyErr_Occurred()) SWIG_fail
;
27801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27809 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27810 PyObject
*resultobj
;
27811 wxWindow
*arg1
= (wxWindow
*) 0 ;
27812 wxWindow
*arg2
= (wxWindow
*) 0 ;
27813 PyObject
* obj0
= 0 ;
27814 PyObject
* obj1
= 0 ;
27815 char *kwnames
[] = {
27816 (char *) "self",(char *) "child", NULL
27819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27821 if (SWIG_arg_fail(1)) SWIG_fail
;
27822 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27823 if (SWIG_arg_fail(2)) SWIG_fail
;
27825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27826 (arg1
)->AddChild(arg2
);
27828 wxPyEndAllowThreads(__tstate
);
27829 if (PyErr_Occurred()) SWIG_fail
;
27831 Py_INCREF(Py_None
); resultobj
= Py_None
;
27838 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27839 PyObject
*resultobj
;
27840 wxWindow
*arg1
= (wxWindow
*) 0 ;
27841 wxWindow
*arg2
= (wxWindow
*) 0 ;
27842 PyObject
* obj0
= 0 ;
27843 PyObject
* obj1
= 0 ;
27844 char *kwnames
[] = {
27845 (char *) "self",(char *) "child", NULL
27848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27850 if (SWIG_arg_fail(1)) SWIG_fail
;
27851 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27852 if (SWIG_arg_fail(2)) SWIG_fail
;
27854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27855 (arg1
)->RemoveChild(arg2
);
27857 wxPyEndAllowThreads(__tstate
);
27858 if (PyErr_Occurred()) SWIG_fail
;
27860 Py_INCREF(Py_None
); resultobj
= Py_None
;
27867 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27868 PyObject
*resultobj
;
27869 wxWindow
*arg1
= (wxWindow
*) 0 ;
27872 PyObject
* obj0
= 0 ;
27873 PyObject
* obj1
= 0 ;
27874 char *kwnames
[] = {
27875 (char *) "self",(char *) "winid", NULL
27878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
27879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27880 if (SWIG_arg_fail(1)) SWIG_fail
;
27882 arg2
= (long)(SWIG_As_long(obj1
));
27883 if (SWIG_arg_fail(2)) SWIG_fail
;
27886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27887 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
27889 wxPyEndAllowThreads(__tstate
);
27890 if (PyErr_Occurred()) SWIG_fail
;
27893 resultobj
= wxPyMake_wxObject(result
, 0);
27901 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27902 PyObject
*resultobj
;
27903 wxWindow
*arg1
= (wxWindow
*) 0 ;
27904 wxString
*arg2
= 0 ;
27906 bool temp2
= false ;
27907 PyObject
* obj0
= 0 ;
27908 PyObject
* obj1
= 0 ;
27909 char *kwnames
[] = {
27910 (char *) "self",(char *) "name", NULL
27913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
27914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27915 if (SWIG_arg_fail(1)) SWIG_fail
;
27917 arg2
= wxString_in_helper(obj1
);
27918 if (arg2
== NULL
) SWIG_fail
;
27922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27923 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
27925 wxPyEndAllowThreads(__tstate
);
27926 if (PyErr_Occurred()) SWIG_fail
;
27929 resultobj
= wxPyMake_wxObject(result
, 0);
27945 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27946 PyObject
*resultobj
;
27947 wxWindow
*arg1
= (wxWindow
*) 0 ;
27948 wxEvtHandler
*result
;
27949 PyObject
* obj0
= 0 ;
27950 char *kwnames
[] = {
27951 (char *) "self", NULL
27954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
27955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27956 if (SWIG_arg_fail(1)) SWIG_fail
;
27958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27959 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
27961 wxPyEndAllowThreads(__tstate
);
27962 if (PyErr_Occurred()) SWIG_fail
;
27965 resultobj
= wxPyMake_wxObject(result
, 0);
27973 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27974 PyObject
*resultobj
;
27975 wxWindow
*arg1
= (wxWindow
*) 0 ;
27976 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
27977 PyObject
* obj0
= 0 ;
27978 PyObject
* obj1
= 0 ;
27979 char *kwnames
[] = {
27980 (char *) "self",(char *) "handler", NULL
27983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27985 if (SWIG_arg_fail(1)) SWIG_fail
;
27986 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
27987 if (SWIG_arg_fail(2)) SWIG_fail
;
27989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27990 (arg1
)->SetEventHandler(arg2
);
27992 wxPyEndAllowThreads(__tstate
);
27993 if (PyErr_Occurred()) SWIG_fail
;
27995 Py_INCREF(Py_None
); resultobj
= Py_None
;
28002 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28003 PyObject
*resultobj
;
28004 wxWindow
*arg1
= (wxWindow
*) 0 ;
28005 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28006 PyObject
* obj0
= 0 ;
28007 PyObject
* obj1
= 0 ;
28008 char *kwnames
[] = {
28009 (char *) "self",(char *) "handler", NULL
28012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28014 if (SWIG_arg_fail(1)) SWIG_fail
;
28015 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28016 if (SWIG_arg_fail(2)) SWIG_fail
;
28018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28019 (arg1
)->PushEventHandler(arg2
);
28021 wxPyEndAllowThreads(__tstate
);
28022 if (PyErr_Occurred()) SWIG_fail
;
28024 Py_INCREF(Py_None
); resultobj
= Py_None
;
28031 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28032 PyObject
*resultobj
;
28033 wxWindow
*arg1
= (wxWindow
*) 0 ;
28034 bool arg2
= (bool) false ;
28035 wxEvtHandler
*result
;
28036 PyObject
* obj0
= 0 ;
28037 PyObject
* obj1
= 0 ;
28038 char *kwnames
[] = {
28039 (char *) "self",(char *) "deleteHandler", NULL
28042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28044 if (SWIG_arg_fail(1)) SWIG_fail
;
28047 arg2
= (bool)(SWIG_As_bool(obj1
));
28048 if (SWIG_arg_fail(2)) SWIG_fail
;
28052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28053 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
28055 wxPyEndAllowThreads(__tstate
);
28056 if (PyErr_Occurred()) SWIG_fail
;
28059 resultobj
= wxPyMake_wxObject(result
, 0);
28067 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28068 PyObject
*resultobj
;
28069 wxWindow
*arg1
= (wxWindow
*) 0 ;
28070 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28072 PyObject
* obj0
= 0 ;
28073 PyObject
* obj1
= 0 ;
28074 char *kwnames
[] = {
28075 (char *) "self",(char *) "handler", NULL
28078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28080 if (SWIG_arg_fail(1)) SWIG_fail
;
28081 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28082 if (SWIG_arg_fail(2)) SWIG_fail
;
28084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28085 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
28087 wxPyEndAllowThreads(__tstate
);
28088 if (PyErr_Occurred()) SWIG_fail
;
28091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28099 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28100 PyObject
*resultobj
;
28101 wxWindow
*arg1
= (wxWindow
*) 0 ;
28102 wxValidator
*arg2
= 0 ;
28103 PyObject
* obj0
= 0 ;
28104 PyObject
* obj1
= 0 ;
28105 char *kwnames
[] = {
28106 (char *) "self",(char *) "validator", NULL
28109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
28110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28111 if (SWIG_arg_fail(1)) SWIG_fail
;
28113 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28114 if (SWIG_arg_fail(2)) SWIG_fail
;
28115 if (arg2
== NULL
) {
28116 SWIG_null_ref("wxValidator");
28118 if (SWIG_arg_fail(2)) SWIG_fail
;
28121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28122 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
28124 wxPyEndAllowThreads(__tstate
);
28125 if (PyErr_Occurred()) SWIG_fail
;
28127 Py_INCREF(Py_None
); resultobj
= Py_None
;
28134 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28135 PyObject
*resultobj
;
28136 wxWindow
*arg1
= (wxWindow
*) 0 ;
28137 wxValidator
*result
;
28138 PyObject
* obj0
= 0 ;
28139 char *kwnames
[] = {
28140 (char *) "self", NULL
28143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
28144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28145 if (SWIG_arg_fail(1)) SWIG_fail
;
28147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28148 result
= (wxValidator
*)(arg1
)->GetValidator();
28150 wxPyEndAllowThreads(__tstate
);
28151 if (PyErr_Occurred()) SWIG_fail
;
28154 resultobj
= wxPyMake_wxObject(result
, 0);
28162 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28163 PyObject
*resultobj
;
28164 wxWindow
*arg1
= (wxWindow
*) 0 ;
28166 PyObject
* obj0
= 0 ;
28167 char *kwnames
[] = {
28168 (char *) "self", NULL
28171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
28172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28173 if (SWIG_arg_fail(1)) SWIG_fail
;
28175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28176 result
= (bool)(arg1
)->Validate();
28178 wxPyEndAllowThreads(__tstate
);
28179 if (PyErr_Occurred()) SWIG_fail
;
28182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28190 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28191 PyObject
*resultobj
;
28192 wxWindow
*arg1
= (wxWindow
*) 0 ;
28194 PyObject
* obj0
= 0 ;
28195 char *kwnames
[] = {
28196 (char *) "self", NULL
28199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28201 if (SWIG_arg_fail(1)) SWIG_fail
;
28203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28204 result
= (bool)(arg1
)->TransferDataToWindow();
28206 wxPyEndAllowThreads(__tstate
);
28207 if (PyErr_Occurred()) SWIG_fail
;
28210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28218 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28219 PyObject
*resultobj
;
28220 wxWindow
*arg1
= (wxWindow
*) 0 ;
28222 PyObject
* obj0
= 0 ;
28223 char *kwnames
[] = {
28224 (char *) "self", NULL
28227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28229 if (SWIG_arg_fail(1)) SWIG_fail
;
28231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28232 result
= (bool)(arg1
)->TransferDataFromWindow();
28234 wxPyEndAllowThreads(__tstate
);
28235 if (PyErr_Occurred()) SWIG_fail
;
28238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28246 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28247 PyObject
*resultobj
;
28248 wxWindow
*arg1
= (wxWindow
*) 0 ;
28249 PyObject
* obj0
= 0 ;
28250 char *kwnames
[] = {
28251 (char *) "self", NULL
28254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
28255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28256 if (SWIG_arg_fail(1)) SWIG_fail
;
28258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28259 (arg1
)->InitDialog();
28261 wxPyEndAllowThreads(__tstate
);
28262 if (PyErr_Occurred()) SWIG_fail
;
28264 Py_INCREF(Py_None
); resultobj
= Py_None
;
28271 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28272 PyObject
*resultobj
;
28273 wxWindow
*arg1
= (wxWindow
*) 0 ;
28274 wxAcceleratorTable
*arg2
= 0 ;
28275 PyObject
* obj0
= 0 ;
28276 PyObject
* obj1
= 0 ;
28277 char *kwnames
[] = {
28278 (char *) "self",(char *) "accel", NULL
28281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) 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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
28286 if (SWIG_arg_fail(2)) SWIG_fail
;
28287 if (arg2
== NULL
) {
28288 SWIG_null_ref("wxAcceleratorTable");
28290 if (SWIG_arg_fail(2)) SWIG_fail
;
28293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28294 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
28296 wxPyEndAllowThreads(__tstate
);
28297 if (PyErr_Occurred()) SWIG_fail
;
28299 Py_INCREF(Py_None
); resultobj
= Py_None
;
28306 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28307 PyObject
*resultobj
;
28308 wxWindow
*arg1
= (wxWindow
*) 0 ;
28309 wxAcceleratorTable
*result
;
28310 PyObject
* obj0
= 0 ;
28311 char *kwnames
[] = {
28312 (char *) "self", NULL
28315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
28316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28317 if (SWIG_arg_fail(1)) SWIG_fail
;
28319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28320 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
28322 wxPyEndAllowThreads(__tstate
);
28323 if (PyErr_Occurred()) SWIG_fail
;
28325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
28332 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28333 PyObject
*resultobj
;
28334 wxWindow
*arg1
= (wxWindow
*) 0 ;
28339 PyObject
* obj0
= 0 ;
28340 PyObject
* obj1
= 0 ;
28341 PyObject
* obj2
= 0 ;
28342 PyObject
* obj3
= 0 ;
28343 char *kwnames
[] = {
28344 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
28347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28349 if (SWIG_arg_fail(1)) SWIG_fail
;
28351 arg2
= (int)(SWIG_As_int(obj1
));
28352 if (SWIG_arg_fail(2)) SWIG_fail
;
28355 arg3
= (int)(SWIG_As_int(obj2
));
28356 if (SWIG_arg_fail(3)) SWIG_fail
;
28359 arg4
= (int)(SWIG_As_int(obj3
));
28360 if (SWIG_arg_fail(4)) SWIG_fail
;
28363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28364 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
28366 wxPyEndAllowThreads(__tstate
);
28367 if (PyErr_Occurred()) SWIG_fail
;
28370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28378 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28379 PyObject
*resultobj
;
28380 wxWindow
*arg1
= (wxWindow
*) 0 ;
28383 PyObject
* obj0
= 0 ;
28384 PyObject
* obj1
= 0 ;
28385 char *kwnames
[] = {
28386 (char *) "self",(char *) "hotkeyId", NULL
28389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
28390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28391 if (SWIG_arg_fail(1)) SWIG_fail
;
28393 arg2
= (int)(SWIG_As_int(obj1
));
28394 if (SWIG_arg_fail(2)) SWIG_fail
;
28397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28398 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
28400 wxPyEndAllowThreads(__tstate
);
28401 if (PyErr_Occurred()) SWIG_fail
;
28404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28412 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28413 PyObject
*resultobj
;
28414 wxWindow
*arg1
= (wxWindow
*) 0 ;
28415 wxPoint
*arg2
= 0 ;
28418 PyObject
* obj0
= 0 ;
28419 PyObject
* obj1
= 0 ;
28420 char *kwnames
[] = {
28421 (char *) "self",(char *) "pt", NULL
28424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28426 if (SWIG_arg_fail(1)) SWIG_fail
;
28429 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28433 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28435 wxPyEndAllowThreads(__tstate
);
28436 if (PyErr_Occurred()) SWIG_fail
;
28439 wxPoint
* resultptr
;
28440 resultptr
= new wxPoint((wxPoint
&)(result
));
28441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28449 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28450 PyObject
*resultobj
;
28451 wxWindow
*arg1
= (wxWindow
*) 0 ;
28455 PyObject
* obj0
= 0 ;
28456 PyObject
* obj1
= 0 ;
28457 char *kwnames
[] = {
28458 (char *) "self",(char *) "sz", NULL
28461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28463 if (SWIG_arg_fail(1)) SWIG_fail
;
28466 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28470 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28472 wxPyEndAllowThreads(__tstate
);
28473 if (PyErr_Occurred()) SWIG_fail
;
28476 wxSize
* resultptr
;
28477 resultptr
= new wxSize((wxSize
&)(result
));
28478 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28486 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28487 PyObject
*resultobj
;
28488 wxWindow
*arg1
= (wxWindow
*) 0 ;
28489 wxPoint
*arg2
= 0 ;
28492 PyObject
* obj0
= 0 ;
28493 PyObject
* obj1
= 0 ;
28494 char *kwnames
[] = {
28495 (char *) "self",(char *) "pt", NULL
28498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
28499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28500 if (SWIG_arg_fail(1)) SWIG_fail
;
28503 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28507 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28509 wxPyEndAllowThreads(__tstate
);
28510 if (PyErr_Occurred()) SWIG_fail
;
28513 wxPoint
* resultptr
;
28514 resultptr
= new wxPoint((wxPoint
&)(result
));
28515 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28523 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28524 PyObject
*resultobj
;
28525 wxWindow
*arg1
= (wxWindow
*) 0 ;
28529 PyObject
* obj0
= 0 ;
28530 PyObject
* obj1
= 0 ;
28531 char *kwnames
[] = {
28532 (char *) "self",(char *) "sz", NULL
28535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
28536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28537 if (SWIG_arg_fail(1)) SWIG_fail
;
28540 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28544 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28546 wxPyEndAllowThreads(__tstate
);
28547 if (PyErr_Occurred()) SWIG_fail
;
28550 wxSize
* resultptr
;
28551 resultptr
= new wxSize((wxSize
&)(result
));
28552 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28560 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28561 PyObject
*resultobj
;
28562 wxWindow
*arg1
= (wxWindow
*) 0 ;
28563 wxPoint
*arg2
= 0 ;
28566 PyObject
* obj0
= 0 ;
28567 PyObject
* obj1
= 0 ;
28568 char *kwnames
[] = {
28569 (char *) "self",(char *) "pt", NULL
28572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28574 if (SWIG_arg_fail(1)) SWIG_fail
;
28577 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28581 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
28583 wxPyEndAllowThreads(__tstate
);
28584 if (PyErr_Occurred()) SWIG_fail
;
28587 wxPoint
* resultptr
;
28588 resultptr
= new wxPoint((wxPoint
&)(result
));
28589 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28597 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28598 PyObject
*resultobj
;
28599 wxWindow
*arg1
= (wxWindow
*) 0 ;
28603 PyObject
* obj0
= 0 ;
28604 PyObject
* obj1
= 0 ;
28605 char *kwnames
[] = {
28606 (char *) "self",(char *) "sz", NULL
28609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28611 if (SWIG_arg_fail(1)) SWIG_fail
;
28614 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28618 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
28620 wxPyEndAllowThreads(__tstate
);
28621 if (PyErr_Occurred()) SWIG_fail
;
28624 wxSize
* resultptr
;
28625 resultptr
= new wxSize((wxSize
&)(result
));
28626 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28634 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28635 PyObject
*resultobj
;
28636 wxWindow
*arg1
= (wxWindow
*) 0 ;
28639 PyObject
* obj0
= 0 ;
28640 PyObject
* obj1
= 0 ;
28641 PyObject
* obj2
= 0 ;
28642 char *kwnames
[] = {
28643 (char *) "self",(char *) "x",(char *) "y", NULL
28646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28648 if (SWIG_arg_fail(1)) SWIG_fail
;
28650 arg2
= (int)(SWIG_As_int(obj1
));
28651 if (SWIG_arg_fail(2)) SWIG_fail
;
28654 arg3
= (int)(SWIG_As_int(obj2
));
28655 if (SWIG_arg_fail(3)) SWIG_fail
;
28658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28659 (arg1
)->WarpPointer(arg2
,arg3
);
28661 wxPyEndAllowThreads(__tstate
);
28662 if (PyErr_Occurred()) SWIG_fail
;
28664 Py_INCREF(Py_None
); resultobj
= Py_None
;
28671 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28672 PyObject
*resultobj
;
28673 wxWindow
*arg1
= (wxWindow
*) 0 ;
28674 PyObject
* obj0
= 0 ;
28675 char *kwnames
[] = {
28676 (char *) "self", NULL
28679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
28680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28681 if (SWIG_arg_fail(1)) SWIG_fail
;
28683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28684 (arg1
)->CaptureMouse();
28686 wxPyEndAllowThreads(__tstate
);
28687 if (PyErr_Occurred()) SWIG_fail
;
28689 Py_INCREF(Py_None
); resultobj
= Py_None
;
28696 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28697 PyObject
*resultobj
;
28698 wxWindow
*arg1
= (wxWindow
*) 0 ;
28699 PyObject
* obj0
= 0 ;
28700 char *kwnames
[] = {
28701 (char *) "self", NULL
28704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
28705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28706 if (SWIG_arg_fail(1)) SWIG_fail
;
28708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28709 (arg1
)->ReleaseMouse();
28711 wxPyEndAllowThreads(__tstate
);
28712 if (PyErr_Occurred()) SWIG_fail
;
28714 Py_INCREF(Py_None
); resultobj
= Py_None
;
28721 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28722 PyObject
*resultobj
;
28724 char *kwnames
[] = {
28728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
28730 if (!wxPyCheckForApp()) SWIG_fail
;
28731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28732 result
= (wxWindow
*)wxWindow::GetCapture();
28734 wxPyEndAllowThreads(__tstate
);
28735 if (PyErr_Occurred()) SWIG_fail
;
28738 resultobj
= wxPyMake_wxObject(result
, 0);
28746 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28747 PyObject
*resultobj
;
28748 wxWindow
*arg1
= (wxWindow
*) 0 ;
28750 PyObject
* obj0
= 0 ;
28751 char *kwnames
[] = {
28752 (char *) "self", NULL
28755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
28756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28757 if (SWIG_arg_fail(1)) SWIG_fail
;
28759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28760 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
28762 wxPyEndAllowThreads(__tstate
);
28763 if (PyErr_Occurred()) SWIG_fail
;
28766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28774 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28775 PyObject
*resultobj
;
28776 wxWindow
*arg1
= (wxWindow
*) 0 ;
28777 bool arg2
= (bool) true ;
28778 wxRect
*arg3
= (wxRect
*) NULL
;
28779 PyObject
* obj0
= 0 ;
28780 PyObject
* obj1
= 0 ;
28781 PyObject
* obj2
= 0 ;
28782 char *kwnames
[] = {
28783 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
28786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28788 if (SWIG_arg_fail(1)) SWIG_fail
;
28791 arg2
= (bool)(SWIG_As_bool(obj1
));
28792 if (SWIG_arg_fail(2)) SWIG_fail
;
28796 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
28797 if (SWIG_arg_fail(3)) SWIG_fail
;
28800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28801 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
28803 wxPyEndAllowThreads(__tstate
);
28804 if (PyErr_Occurred()) SWIG_fail
;
28806 Py_INCREF(Py_None
); resultobj
= Py_None
;
28813 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28814 PyObject
*resultobj
;
28815 wxWindow
*arg1
= (wxWindow
*) 0 ;
28817 bool arg3
= (bool) true ;
28819 PyObject
* obj0
= 0 ;
28820 PyObject
* obj1
= 0 ;
28821 PyObject
* obj2
= 0 ;
28822 char *kwnames
[] = {
28823 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
28826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28828 if (SWIG_arg_fail(1)) SWIG_fail
;
28831 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28835 arg3
= (bool)(SWIG_As_bool(obj2
));
28836 if (SWIG_arg_fail(3)) SWIG_fail
;
28840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28841 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
28843 wxPyEndAllowThreads(__tstate
);
28844 if (PyErr_Occurred()) SWIG_fail
;
28846 Py_INCREF(Py_None
); resultobj
= Py_None
;
28853 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28854 PyObject
*resultobj
;
28855 wxWindow
*arg1
= (wxWindow
*) 0 ;
28856 PyObject
* obj0
= 0 ;
28857 char *kwnames
[] = {
28858 (char *) "self", NULL
28861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
28862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28863 if (SWIG_arg_fail(1)) SWIG_fail
;
28865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28868 wxPyEndAllowThreads(__tstate
);
28869 if (PyErr_Occurred()) SWIG_fail
;
28871 Py_INCREF(Py_None
); resultobj
= Py_None
;
28878 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28879 PyObject
*resultobj
;
28880 wxWindow
*arg1
= (wxWindow
*) 0 ;
28881 PyObject
* obj0
= 0 ;
28882 char *kwnames
[] = {
28883 (char *) "self", NULL
28886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
28887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28888 if (SWIG_arg_fail(1)) SWIG_fail
;
28890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28891 (arg1
)->ClearBackground();
28893 wxPyEndAllowThreads(__tstate
);
28894 if (PyErr_Occurred()) SWIG_fail
;
28896 Py_INCREF(Py_None
); resultobj
= Py_None
;
28903 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28904 PyObject
*resultobj
;
28905 wxWindow
*arg1
= (wxWindow
*) 0 ;
28906 PyObject
* obj0
= 0 ;
28907 char *kwnames
[] = {
28908 (char *) "self", NULL
28911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
28912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28913 if (SWIG_arg_fail(1)) SWIG_fail
;
28915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28918 wxPyEndAllowThreads(__tstate
);
28919 if (PyErr_Occurred()) SWIG_fail
;
28921 Py_INCREF(Py_None
); resultobj
= Py_None
;
28928 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28929 PyObject
*resultobj
;
28930 wxWindow
*arg1
= (wxWindow
*) 0 ;
28931 PyObject
* obj0
= 0 ;
28932 char *kwnames
[] = {
28933 (char *) "self", NULL
28936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
28937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28938 if (SWIG_arg_fail(1)) SWIG_fail
;
28940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28943 wxPyEndAllowThreads(__tstate
);
28944 if (PyErr_Occurred()) SWIG_fail
;
28946 Py_INCREF(Py_None
); resultobj
= Py_None
;
28953 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28954 PyObject
*resultobj
;
28955 wxWindow
*arg1
= (wxWindow
*) 0 ;
28957 PyObject
* obj0
= 0 ;
28958 PyObject
* obj1
= 0 ;
28959 char *kwnames
[] = {
28960 (char *) "self",(char *) "dc", NULL
28963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
28964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28965 if (SWIG_arg_fail(1)) SWIG_fail
;
28967 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
28968 if (SWIG_arg_fail(2)) SWIG_fail
;
28969 if (arg2
== NULL
) {
28970 SWIG_null_ref("wxDC");
28972 if (SWIG_arg_fail(2)) SWIG_fail
;
28975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28976 (arg1
)->PrepareDC(*arg2
);
28978 wxPyEndAllowThreads(__tstate
);
28979 if (PyErr_Occurred()) SWIG_fail
;
28981 Py_INCREF(Py_None
); resultobj
= Py_None
;
28988 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28989 PyObject
*resultobj
;
28990 wxWindow
*arg1
= (wxWindow
*) 0 ;
28992 PyObject
* obj0
= 0 ;
28993 char *kwnames
[] = {
28994 (char *) "self", NULL
28997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
28998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28999 if (SWIG_arg_fail(1)) SWIG_fail
;
29001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29003 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
29004 result
= (wxRegion
*) &_result_ref
;
29007 wxPyEndAllowThreads(__tstate
);
29008 if (PyErr_Occurred()) SWIG_fail
;
29010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
29017 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29018 PyObject
*resultobj
;
29019 wxWindow
*arg1
= (wxWindow
*) 0 ;
29021 PyObject
* obj0
= 0 ;
29022 char *kwnames
[] = {
29023 (char *) "self", NULL
29026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
29027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29028 if (SWIG_arg_fail(1)) SWIG_fail
;
29030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29031 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
29033 wxPyEndAllowThreads(__tstate
);
29034 if (PyErr_Occurred()) SWIG_fail
;
29037 wxRect
* resultptr
;
29038 resultptr
= new wxRect((wxRect
&)(result
));
29039 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29047 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29048 PyObject
*resultobj
;
29049 wxWindow
*arg1
= (wxWindow
*) 0 ;
29052 int arg4
= (int) 1 ;
29053 int arg5
= (int) 1 ;
29055 PyObject
* obj0
= 0 ;
29056 PyObject
* obj1
= 0 ;
29057 PyObject
* obj2
= 0 ;
29058 PyObject
* obj3
= 0 ;
29059 PyObject
* obj4
= 0 ;
29060 char *kwnames
[] = {
29061 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29066 if (SWIG_arg_fail(1)) SWIG_fail
;
29068 arg2
= (int)(SWIG_As_int(obj1
));
29069 if (SWIG_arg_fail(2)) SWIG_fail
;
29072 arg3
= (int)(SWIG_As_int(obj2
));
29073 if (SWIG_arg_fail(3)) SWIG_fail
;
29077 arg4
= (int)(SWIG_As_int(obj3
));
29078 if (SWIG_arg_fail(4)) SWIG_fail
;
29083 arg5
= (int)(SWIG_As_int(obj4
));
29084 if (SWIG_arg_fail(5)) SWIG_fail
;
29088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29089 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
29091 wxPyEndAllowThreads(__tstate
);
29092 if (PyErr_Occurred()) SWIG_fail
;
29095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29103 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29104 PyObject
*resultobj
;
29105 wxWindow
*arg1
= (wxWindow
*) 0 ;
29106 wxPoint
*arg2
= 0 ;
29109 PyObject
* obj0
= 0 ;
29110 PyObject
* obj1
= 0 ;
29111 char *kwnames
[] = {
29112 (char *) "self",(char *) "pt", NULL
29115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
29116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29117 if (SWIG_arg_fail(1)) SWIG_fail
;
29120 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29124 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
29126 wxPyEndAllowThreads(__tstate
);
29127 if (PyErr_Occurred()) SWIG_fail
;
29130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29138 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29139 PyObject
*resultobj
;
29140 wxWindow
*arg1
= (wxWindow
*) 0 ;
29144 PyObject
* obj0
= 0 ;
29145 PyObject
* obj1
= 0 ;
29146 char *kwnames
[] = {
29147 (char *) "self",(char *) "rect", NULL
29150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29152 if (SWIG_arg_fail(1)) SWIG_fail
;
29155 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29159 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
29161 wxPyEndAllowThreads(__tstate
);
29162 if (PyErr_Occurred()) SWIG_fail
;
29165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29173 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29174 PyObject
*resultobj
;
29175 wxWindow
*arg1
= (wxWindow
*) 0 ;
29176 wxVisualAttributes result
;
29177 PyObject
* obj0
= 0 ;
29178 char *kwnames
[] = {
29179 (char *) "self", NULL
29182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29184 if (SWIG_arg_fail(1)) SWIG_fail
;
29186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29187 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
29189 wxPyEndAllowThreads(__tstate
);
29190 if (PyErr_Occurred()) SWIG_fail
;
29193 wxVisualAttributes
* resultptr
;
29194 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29195 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29203 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29204 PyObject
*resultobj
;
29205 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
29206 wxVisualAttributes result
;
29207 PyObject
* obj0
= 0 ;
29208 char *kwnames
[] = {
29209 (char *) "variant", NULL
29212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29215 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
29216 if (SWIG_arg_fail(1)) SWIG_fail
;
29220 if (!wxPyCheckForApp()) SWIG_fail
;
29221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29222 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
29224 wxPyEndAllowThreads(__tstate
);
29225 if (PyErr_Occurred()) SWIG_fail
;
29228 wxVisualAttributes
* resultptr
;
29229 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29230 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29238 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29239 PyObject
*resultobj
;
29240 wxWindow
*arg1
= (wxWindow
*) 0 ;
29241 wxColour
*arg2
= 0 ;
29244 PyObject
* obj0
= 0 ;
29245 PyObject
* obj1
= 0 ;
29246 char *kwnames
[] = {
29247 (char *) "self",(char *) "colour", NULL
29250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29252 if (SWIG_arg_fail(1)) SWIG_fail
;
29255 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29259 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
29261 wxPyEndAllowThreads(__tstate
);
29262 if (PyErr_Occurred()) SWIG_fail
;
29265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29273 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29274 PyObject
*resultobj
;
29275 wxWindow
*arg1
= (wxWindow
*) 0 ;
29276 wxColour
*arg2
= 0 ;
29278 PyObject
* obj0
= 0 ;
29279 PyObject
* obj1
= 0 ;
29280 char *kwnames
[] = {
29281 (char *) "self",(char *) "colour", NULL
29284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29286 if (SWIG_arg_fail(1)) SWIG_fail
;
29289 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29293 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
29295 wxPyEndAllowThreads(__tstate
);
29296 if (PyErr_Occurred()) SWIG_fail
;
29298 Py_INCREF(Py_None
); resultobj
= Py_None
;
29305 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29306 PyObject
*resultobj
;
29307 wxWindow
*arg1
= (wxWindow
*) 0 ;
29308 wxColour
*arg2
= 0 ;
29311 PyObject
* obj0
= 0 ;
29312 PyObject
* obj1
= 0 ;
29313 char *kwnames
[] = {
29314 (char *) "self",(char *) "colour", NULL
29317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29319 if (SWIG_arg_fail(1)) SWIG_fail
;
29322 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29326 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
29328 wxPyEndAllowThreads(__tstate
);
29329 if (PyErr_Occurred()) SWIG_fail
;
29332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29340 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29341 PyObject
*resultobj
;
29342 wxWindow
*arg1
= (wxWindow
*) 0 ;
29343 wxColour
*arg2
= 0 ;
29345 PyObject
* obj0
= 0 ;
29346 PyObject
* obj1
= 0 ;
29347 char *kwnames
[] = {
29348 (char *) "self",(char *) "colour", NULL
29351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29353 if (SWIG_arg_fail(1)) SWIG_fail
;
29356 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29360 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
29362 wxPyEndAllowThreads(__tstate
);
29363 if (PyErr_Occurred()) SWIG_fail
;
29365 Py_INCREF(Py_None
); resultobj
= Py_None
;
29372 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29373 PyObject
*resultobj
;
29374 wxWindow
*arg1
= (wxWindow
*) 0 ;
29376 PyObject
* obj0
= 0 ;
29377 char *kwnames
[] = {
29378 (char *) "self", NULL
29381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
29382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29383 if (SWIG_arg_fail(1)) SWIG_fail
;
29385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29386 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
29388 wxPyEndAllowThreads(__tstate
);
29389 if (PyErr_Occurred()) SWIG_fail
;
29392 wxColour
* resultptr
;
29393 resultptr
= new wxColour((wxColour
&)(result
));
29394 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29402 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29403 PyObject
*resultobj
;
29404 wxWindow
*arg1
= (wxWindow
*) 0 ;
29406 PyObject
* obj0
= 0 ;
29407 char *kwnames
[] = {
29408 (char *) "self", NULL
29411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
29412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29413 if (SWIG_arg_fail(1)) SWIG_fail
;
29415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29416 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
29418 wxPyEndAllowThreads(__tstate
);
29419 if (PyErr_Occurred()) SWIG_fail
;
29422 wxColour
* resultptr
;
29423 resultptr
= new wxColour((wxColour
&)(result
));
29424 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29432 static PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29433 PyObject
*resultobj
;
29434 wxWindow
*arg1
= (wxWindow
*) 0 ;
29436 PyObject
* obj0
= 0 ;
29437 char *kwnames
[] = {
29438 (char *) "self", NULL
29441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritsBackgroundColour",kwnames
,&obj0
)) goto fail
;
29442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29443 if (SWIG_arg_fail(1)) SWIG_fail
;
29445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29446 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
29448 wxPyEndAllowThreads(__tstate
);
29449 if (PyErr_Occurred()) SWIG_fail
;
29452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29460 static PyObject
*_wrap_Window_UseBgCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29461 PyObject
*resultobj
;
29462 wxWindow
*arg1
= (wxWindow
*) 0 ;
29464 PyObject
* obj0
= 0 ;
29465 char *kwnames
[] = {
29466 (char *) "self", NULL
29469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_UseBgCol",kwnames
,&obj0
)) goto fail
;
29470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29471 if (SWIG_arg_fail(1)) SWIG_fail
;
29473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29474 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
29476 wxPyEndAllowThreads(__tstate
);
29477 if (PyErr_Occurred()) SWIG_fail
;
29480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29488 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29489 PyObject
*resultobj
;
29490 wxWindow
*arg1
= (wxWindow
*) 0 ;
29491 wxBackgroundStyle arg2
;
29493 PyObject
* obj0
= 0 ;
29494 PyObject
* obj1
= 0 ;
29495 char *kwnames
[] = {
29496 (char *) "self",(char *) "style", NULL
29499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
29500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29501 if (SWIG_arg_fail(1)) SWIG_fail
;
29503 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
29504 if (SWIG_arg_fail(2)) SWIG_fail
;
29507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29508 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
29510 wxPyEndAllowThreads(__tstate
);
29511 if (PyErr_Occurred()) SWIG_fail
;
29514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29522 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29523 PyObject
*resultobj
;
29524 wxWindow
*arg1
= (wxWindow
*) 0 ;
29525 wxBackgroundStyle result
;
29526 PyObject
* obj0
= 0 ;
29527 char *kwnames
[] = {
29528 (char *) "self", NULL
29531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
29532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29533 if (SWIG_arg_fail(1)) SWIG_fail
;
29535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29536 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
29538 wxPyEndAllowThreads(__tstate
);
29539 if (PyErr_Occurred()) SWIG_fail
;
29541 resultobj
= SWIG_From_int((result
));
29548 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29549 PyObject
*resultobj
;
29550 wxWindow
*arg1
= (wxWindow
*) 0 ;
29552 PyObject
* obj0
= 0 ;
29553 char *kwnames
[] = {
29554 (char *) "self", NULL
29557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
29558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29559 if (SWIG_arg_fail(1)) SWIG_fail
;
29561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29562 result
= (bool)(arg1
)->HasTransparentBackground();
29564 wxPyEndAllowThreads(__tstate
);
29565 if (PyErr_Occurred()) SWIG_fail
;
29568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29576 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29577 PyObject
*resultobj
;
29578 wxWindow
*arg1
= (wxWindow
*) 0 ;
29579 wxCursor
*arg2
= 0 ;
29581 PyObject
* obj0
= 0 ;
29582 PyObject
* obj1
= 0 ;
29583 char *kwnames
[] = {
29584 (char *) "self",(char *) "cursor", NULL
29587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
29588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29589 if (SWIG_arg_fail(1)) SWIG_fail
;
29591 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29592 if (SWIG_arg_fail(2)) SWIG_fail
;
29593 if (arg2
== NULL
) {
29594 SWIG_null_ref("wxCursor");
29596 if (SWIG_arg_fail(2)) SWIG_fail
;
29599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29600 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
29602 wxPyEndAllowThreads(__tstate
);
29603 if (PyErr_Occurred()) SWIG_fail
;
29606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29614 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29615 PyObject
*resultobj
;
29616 wxWindow
*arg1
= (wxWindow
*) 0 ;
29618 PyObject
* obj0
= 0 ;
29619 char *kwnames
[] = {
29620 (char *) "self", NULL
29623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
29624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29625 if (SWIG_arg_fail(1)) SWIG_fail
;
29627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29628 result
= (arg1
)->GetCursor();
29630 wxPyEndAllowThreads(__tstate
);
29631 if (PyErr_Occurred()) SWIG_fail
;
29634 wxCursor
* resultptr
;
29635 resultptr
= new wxCursor((wxCursor
&)(result
));
29636 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
29644 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29645 PyObject
*resultobj
;
29646 wxWindow
*arg1
= (wxWindow
*) 0 ;
29649 PyObject
* obj0
= 0 ;
29650 PyObject
* obj1
= 0 ;
29651 char *kwnames
[] = {
29652 (char *) "self",(char *) "font", NULL
29655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29657 if (SWIG_arg_fail(1)) SWIG_fail
;
29659 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29660 if (SWIG_arg_fail(2)) SWIG_fail
;
29661 if (arg2
== NULL
) {
29662 SWIG_null_ref("wxFont");
29664 if (SWIG_arg_fail(2)) SWIG_fail
;
29667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29668 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
29670 wxPyEndAllowThreads(__tstate
);
29671 if (PyErr_Occurred()) SWIG_fail
;
29674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29682 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29683 PyObject
*resultobj
;
29684 wxWindow
*arg1
= (wxWindow
*) 0 ;
29686 PyObject
* obj0
= 0 ;
29687 PyObject
* obj1
= 0 ;
29688 char *kwnames
[] = {
29689 (char *) "self",(char *) "font", NULL
29692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29694 if (SWIG_arg_fail(1)) SWIG_fail
;
29696 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29697 if (SWIG_arg_fail(2)) SWIG_fail
;
29698 if (arg2
== NULL
) {
29699 SWIG_null_ref("wxFont");
29701 if (SWIG_arg_fail(2)) SWIG_fail
;
29704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29705 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
29707 wxPyEndAllowThreads(__tstate
);
29708 if (PyErr_Occurred()) SWIG_fail
;
29710 Py_INCREF(Py_None
); resultobj
= Py_None
;
29717 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29718 PyObject
*resultobj
;
29719 wxWindow
*arg1
= (wxWindow
*) 0 ;
29721 PyObject
* obj0
= 0 ;
29722 char *kwnames
[] = {
29723 (char *) "self", NULL
29726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
29727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29728 if (SWIG_arg_fail(1)) SWIG_fail
;
29730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29731 result
= (arg1
)->GetFont();
29733 wxPyEndAllowThreads(__tstate
);
29734 if (PyErr_Occurred()) SWIG_fail
;
29737 wxFont
* resultptr
;
29738 resultptr
= new wxFont((wxFont
&)(result
));
29739 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
29747 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29748 PyObject
*resultobj
;
29749 wxWindow
*arg1
= (wxWindow
*) 0 ;
29750 wxCaret
*arg2
= (wxCaret
*) 0 ;
29751 PyObject
* obj0
= 0 ;
29752 PyObject
* obj1
= 0 ;
29753 char *kwnames
[] = {
29754 (char *) "self",(char *) "caret", NULL
29757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
29758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29759 if (SWIG_arg_fail(1)) SWIG_fail
;
29760 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
29761 if (SWIG_arg_fail(2)) SWIG_fail
;
29763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29764 (arg1
)->SetCaret(arg2
);
29766 wxPyEndAllowThreads(__tstate
);
29767 if (PyErr_Occurred()) SWIG_fail
;
29769 Py_INCREF(Py_None
); resultobj
= Py_None
;
29776 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29777 PyObject
*resultobj
;
29778 wxWindow
*arg1
= (wxWindow
*) 0 ;
29780 PyObject
* obj0
= 0 ;
29781 char *kwnames
[] = {
29782 (char *) "self", NULL
29785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
29786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29787 if (SWIG_arg_fail(1)) SWIG_fail
;
29789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29790 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
29792 wxPyEndAllowThreads(__tstate
);
29793 if (PyErr_Occurred()) SWIG_fail
;
29795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
29802 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29803 PyObject
*resultobj
;
29804 wxWindow
*arg1
= (wxWindow
*) 0 ;
29806 PyObject
* obj0
= 0 ;
29807 char *kwnames
[] = {
29808 (char *) "self", NULL
29811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
29812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29813 if (SWIG_arg_fail(1)) SWIG_fail
;
29815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29816 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
29818 wxPyEndAllowThreads(__tstate
);
29819 if (PyErr_Occurred()) SWIG_fail
;
29822 resultobj
= SWIG_From_int((int)(result
));
29830 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29831 PyObject
*resultobj
;
29832 wxWindow
*arg1
= (wxWindow
*) 0 ;
29834 PyObject
* obj0
= 0 ;
29835 char *kwnames
[] = {
29836 (char *) "self", NULL
29839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
29840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29841 if (SWIG_arg_fail(1)) SWIG_fail
;
29843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29844 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
29846 wxPyEndAllowThreads(__tstate
);
29847 if (PyErr_Occurred()) SWIG_fail
;
29850 resultobj
= SWIG_From_int((int)(result
));
29858 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29859 PyObject
*resultobj
;
29860 wxWindow
*arg1
= (wxWindow
*) 0 ;
29861 wxString
*arg2
= 0 ;
29862 int *arg3
= (int *) 0 ;
29863 int *arg4
= (int *) 0 ;
29864 bool temp2
= false ;
29869 PyObject
* obj0
= 0 ;
29870 PyObject
* obj1
= 0 ;
29871 char *kwnames
[] = {
29872 (char *) "self",(char *) "string", NULL
29875 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29876 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
29878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29879 if (SWIG_arg_fail(1)) SWIG_fail
;
29881 arg2
= wxString_in_helper(obj1
);
29882 if (arg2
== NULL
) SWIG_fail
;
29886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29887 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
29889 wxPyEndAllowThreads(__tstate
);
29890 if (PyErr_Occurred()) SWIG_fail
;
29892 Py_INCREF(Py_None
); resultobj
= Py_None
;
29893 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29894 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29895 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29896 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
29911 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29912 PyObject
*resultobj
;
29913 wxWindow
*arg1
= (wxWindow
*) 0 ;
29914 wxString
*arg2
= 0 ;
29915 int *arg3
= (int *) 0 ;
29916 int *arg4
= (int *) 0 ;
29917 int *arg5
= (int *) 0 ;
29918 int *arg6
= (int *) 0 ;
29919 wxFont
*arg7
= (wxFont
*) NULL
;
29920 bool temp2
= false ;
29929 PyObject
* obj0
= 0 ;
29930 PyObject
* obj1
= 0 ;
29931 PyObject
* obj2
= 0 ;
29932 char *kwnames
[] = {
29933 (char *) "self",(char *) "string",(char *) "font", NULL
29936 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29937 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29938 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
29939 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
29940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29942 if (SWIG_arg_fail(1)) SWIG_fail
;
29944 arg2
= wxString_in_helper(obj1
);
29945 if (arg2
== NULL
) SWIG_fail
;
29949 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29950 if (SWIG_arg_fail(7)) SWIG_fail
;
29953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29954 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
29956 wxPyEndAllowThreads(__tstate
);
29957 if (PyErr_Occurred()) SWIG_fail
;
29959 Py_INCREF(Py_None
); resultobj
= Py_None
;
29960 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29961 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29962 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29963 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
29964 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
29965 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
29966 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
29967 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
29982 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29983 PyObject
*resultobj
;
29984 wxWindow
*arg1
= (wxWindow
*) 0 ;
29985 int *arg2
= (int *) 0 ;
29986 int *arg3
= (int *) 0 ;
29991 PyObject
* obj0
= 0 ;
29992 PyObject
* obj1
= 0 ;
29993 PyObject
* obj2
= 0 ;
29994 char *kwnames
[] = {
29995 (char *) "self",(char *) "x",(char *) "y", NULL
29998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30000 if (SWIG_arg_fail(1)) SWIG_fail
;
30002 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30003 temp2
= SWIG_As_int(obj1
);
30004 if (SWIG_arg_fail(2)) SWIG_fail
;
30006 res2
= SWIG_NEWOBJ
;
30010 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30011 temp3
= SWIG_As_int(obj2
);
30012 if (SWIG_arg_fail(3)) SWIG_fail
;
30014 res3
= SWIG_NEWOBJ
;
30018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30019 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
30021 wxPyEndAllowThreads(__tstate
);
30022 if (PyErr_Occurred()) SWIG_fail
;
30024 Py_INCREF(Py_None
); resultobj
= Py_None
;
30025 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30026 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30027 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30028 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30035 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30036 PyObject
*resultobj
;
30037 wxWindow
*arg1
= (wxWindow
*) 0 ;
30038 int *arg2
= (int *) 0 ;
30039 int *arg3
= (int *) 0 ;
30044 PyObject
* obj0
= 0 ;
30045 PyObject
* obj1
= 0 ;
30046 PyObject
* obj2
= 0 ;
30047 char *kwnames
[] = {
30048 (char *) "self",(char *) "x",(char *) "y", NULL
30051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30053 if (SWIG_arg_fail(1)) SWIG_fail
;
30055 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30056 temp2
= SWIG_As_int(obj1
);
30057 if (SWIG_arg_fail(2)) SWIG_fail
;
30059 res2
= SWIG_NEWOBJ
;
30063 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30064 temp3
= SWIG_As_int(obj2
);
30065 if (SWIG_arg_fail(3)) SWIG_fail
;
30067 res3
= SWIG_NEWOBJ
;
30071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30072 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
30074 wxPyEndAllowThreads(__tstate
);
30075 if (PyErr_Occurred()) SWIG_fail
;
30077 Py_INCREF(Py_None
); resultobj
= Py_None
;
30078 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30079 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30080 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30081 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30088 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30089 PyObject
*resultobj
;
30090 wxWindow
*arg1
= (wxWindow
*) 0 ;
30091 wxPoint
*arg2
= 0 ;
30094 PyObject
* obj0
= 0 ;
30095 PyObject
* obj1
= 0 ;
30096 char *kwnames
[] = {
30097 (char *) "self",(char *) "pt", NULL
30100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
30101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30102 if (SWIG_arg_fail(1)) SWIG_fail
;
30105 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30109 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
30111 wxPyEndAllowThreads(__tstate
);
30112 if (PyErr_Occurred()) SWIG_fail
;
30115 wxPoint
* resultptr
;
30116 resultptr
= new wxPoint((wxPoint
&)(result
));
30117 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30125 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30126 PyObject
*resultobj
;
30127 wxWindow
*arg1
= (wxWindow
*) 0 ;
30128 wxPoint
*arg2
= 0 ;
30131 PyObject
* obj0
= 0 ;
30132 PyObject
* obj1
= 0 ;
30133 char *kwnames
[] = {
30134 (char *) "self",(char *) "pt", NULL
30137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
30138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30139 if (SWIG_arg_fail(1)) SWIG_fail
;
30142 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30146 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
30148 wxPyEndAllowThreads(__tstate
);
30149 if (PyErr_Occurred()) SWIG_fail
;
30152 wxPoint
* resultptr
;
30153 resultptr
= new wxPoint((wxPoint
&)(result
));
30154 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30162 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30163 PyObject
*resultobj
;
30164 wxWindow
*arg1
= (wxWindow
*) 0 ;
30168 PyObject
* obj0
= 0 ;
30169 PyObject
* obj1
= 0 ;
30170 PyObject
* obj2
= 0 ;
30171 char *kwnames
[] = {
30172 (char *) "self",(char *) "x",(char *) "y", NULL
30175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30177 if (SWIG_arg_fail(1)) SWIG_fail
;
30179 arg2
= (int)(SWIG_As_int(obj1
));
30180 if (SWIG_arg_fail(2)) SWIG_fail
;
30183 arg3
= (int)(SWIG_As_int(obj2
));
30184 if (SWIG_arg_fail(3)) SWIG_fail
;
30187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30188 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
30190 wxPyEndAllowThreads(__tstate
);
30191 if (PyErr_Occurred()) SWIG_fail
;
30193 resultobj
= SWIG_From_int((result
));
30200 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30201 PyObject
*resultobj
;
30202 wxWindow
*arg1
= (wxWindow
*) 0 ;
30203 wxPoint
*arg2
= 0 ;
30206 PyObject
* obj0
= 0 ;
30207 PyObject
* obj1
= 0 ;
30208 char *kwnames
[] = {
30209 (char *) "self",(char *) "pt", NULL
30212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30214 if (SWIG_arg_fail(1)) SWIG_fail
;
30217 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30221 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
30223 wxPyEndAllowThreads(__tstate
);
30224 if (PyErr_Occurred()) SWIG_fail
;
30226 resultobj
= SWIG_From_int((result
));
30233 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
30234 PyObject
*resultobj
;
30235 wxWindow
*arg1
= (wxWindow
*) 0 ;
30238 PyObject
* obj0
= 0 ;
30239 PyObject
* obj1
= 0 ;
30241 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
30242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30243 if (SWIG_arg_fail(1)) SWIG_fail
;
30245 arg2
= (long)(SWIG_As_long(obj1
));
30246 if (SWIG_arg_fail(2)) SWIG_fail
;
30249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30250 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
30252 wxPyEndAllowThreads(__tstate
);
30253 if (PyErr_Occurred()) SWIG_fail
;
30255 resultobj
= SWIG_From_int((result
));
30262 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
30263 PyObject
*resultobj
;
30264 wxWindow
*arg1
= (wxWindow
*) 0 ;
30266 PyObject
* obj0
= 0 ;
30268 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
30269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30270 if (SWIG_arg_fail(1)) SWIG_fail
;
30272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30273 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
30275 wxPyEndAllowThreads(__tstate
);
30276 if (PyErr_Occurred()) SWIG_fail
;
30278 resultobj
= SWIG_From_int((result
));
30285 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
30290 argc
= PyObject_Length(args
);
30291 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
30292 argv
[ii
] = PyTuple_GetItem(args
,ii
);
30298 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30306 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
30313 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30321 _v
= SWIG_Check_long(argv
[1]);
30323 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
30328 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
30333 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30334 PyObject
*resultobj
;
30335 wxWindow
*arg1
= (wxWindow
*) 0 ;
30336 long arg2
= (long) wxUPDATE_UI_NONE
;
30337 PyObject
* obj0
= 0 ;
30338 PyObject
* obj1
= 0 ;
30339 char *kwnames
[] = {
30340 (char *) "self",(char *) "flags", NULL
30343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30345 if (SWIG_arg_fail(1)) SWIG_fail
;
30348 arg2
= (long)(SWIG_As_long(obj1
));
30349 if (SWIG_arg_fail(2)) SWIG_fail
;
30353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30354 (arg1
)->UpdateWindowUI(arg2
);
30356 wxPyEndAllowThreads(__tstate
);
30357 if (PyErr_Occurred()) SWIG_fail
;
30359 Py_INCREF(Py_None
); resultobj
= Py_None
;
30366 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30367 PyObject
*resultobj
;
30368 wxWindow
*arg1
= (wxWindow
*) 0 ;
30369 wxMenu
*arg2
= (wxMenu
*) 0 ;
30370 int arg3
= (int) -1 ;
30371 int arg4
= (int) -1 ;
30373 PyObject
* obj0
= 0 ;
30374 PyObject
* obj1
= 0 ;
30375 PyObject
* obj2
= 0 ;
30376 PyObject
* obj3
= 0 ;
30377 char *kwnames
[] = {
30378 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
30381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30383 if (SWIG_arg_fail(1)) SWIG_fail
;
30384 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30385 if (SWIG_arg_fail(2)) SWIG_fail
;
30388 arg3
= (int)(SWIG_As_int(obj2
));
30389 if (SWIG_arg_fail(3)) SWIG_fail
;
30394 arg4
= (int)(SWIG_As_int(obj3
));
30395 if (SWIG_arg_fail(4)) SWIG_fail
;
30399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30400 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
30402 wxPyEndAllowThreads(__tstate
);
30403 if (PyErr_Occurred()) SWIG_fail
;
30406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30414 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30415 PyObject
*resultobj
;
30416 wxWindow
*arg1
= (wxWindow
*) 0 ;
30417 wxMenu
*arg2
= (wxMenu
*) 0 ;
30418 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30419 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30422 PyObject
* obj0
= 0 ;
30423 PyObject
* obj1
= 0 ;
30424 PyObject
* obj2
= 0 ;
30425 char *kwnames
[] = {
30426 (char *) "self",(char *) "menu",(char *) "pos", NULL
30429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30431 if (SWIG_arg_fail(1)) SWIG_fail
;
30432 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30433 if (SWIG_arg_fail(2)) SWIG_fail
;
30437 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30442 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
30444 wxPyEndAllowThreads(__tstate
);
30445 if (PyErr_Occurred()) SWIG_fail
;
30448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30456 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30457 PyObject
*resultobj
;
30458 wxWindow
*arg1
= (wxWindow
*) 0 ;
30460 PyObject
* obj0
= 0 ;
30461 char *kwnames
[] = {
30462 (char *) "self", NULL
30465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
30466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30467 if (SWIG_arg_fail(1)) SWIG_fail
;
30469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30470 result
= (long)wxWindow_GetHandle(arg1
);
30472 wxPyEndAllowThreads(__tstate
);
30473 if (PyErr_Occurred()) SWIG_fail
;
30476 resultobj
= SWIG_From_long((long)(result
));
30484 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30485 PyObject
*resultobj
;
30486 wxWindow
*arg1
= (wxWindow
*) 0 ;
30488 PyObject
* obj0
= 0 ;
30489 PyObject
* obj1
= 0 ;
30490 char *kwnames
[] = {
30491 (char *) "self",(char *) "handle", NULL
30494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
30495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30496 if (SWIG_arg_fail(1)) SWIG_fail
;
30498 arg2
= (long)(SWIG_As_long(obj1
));
30499 if (SWIG_arg_fail(2)) SWIG_fail
;
30502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30503 wxWindow_AssociateHandle(arg1
,arg2
);
30505 wxPyEndAllowThreads(__tstate
);
30506 if (PyErr_Occurred()) SWIG_fail
;
30508 Py_INCREF(Py_None
); resultobj
= Py_None
;
30515 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30516 PyObject
*resultobj
;
30517 wxWindow
*arg1
= (wxWindow
*) 0 ;
30518 PyObject
* obj0
= 0 ;
30519 char *kwnames
[] = {
30520 (char *) "self", NULL
30523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
30524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30525 if (SWIG_arg_fail(1)) SWIG_fail
;
30527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30528 (arg1
)->DissociateHandle();
30530 wxPyEndAllowThreads(__tstate
);
30531 if (PyErr_Occurred()) SWIG_fail
;
30533 Py_INCREF(Py_None
); resultobj
= Py_None
;
30540 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30541 PyObject
*resultobj
;
30542 wxWindow
*arg1
= (wxWindow
*) 0 ;
30545 PyObject
* obj0
= 0 ;
30546 PyObject
* obj1
= 0 ;
30547 char *kwnames
[] = {
30548 (char *) "self",(char *) "orient", NULL
30551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
30552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30553 if (SWIG_arg_fail(1)) SWIG_fail
;
30555 arg2
= (int)(SWIG_As_int(obj1
));
30556 if (SWIG_arg_fail(2)) SWIG_fail
;
30559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30560 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
30562 wxPyEndAllowThreads(__tstate
);
30563 if (PyErr_Occurred()) SWIG_fail
;
30566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30574 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30575 PyObject
*resultobj
;
30576 wxWindow
*arg1
= (wxWindow
*) 0 ;
30581 bool arg6
= (bool) true ;
30582 PyObject
* obj0
= 0 ;
30583 PyObject
* obj1
= 0 ;
30584 PyObject
* obj2
= 0 ;
30585 PyObject
* obj3
= 0 ;
30586 PyObject
* obj4
= 0 ;
30587 PyObject
* obj5
= 0 ;
30588 char *kwnames
[] = {
30589 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
30592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30594 if (SWIG_arg_fail(1)) SWIG_fail
;
30596 arg2
= (int)(SWIG_As_int(obj1
));
30597 if (SWIG_arg_fail(2)) SWIG_fail
;
30600 arg3
= (int)(SWIG_As_int(obj2
));
30601 if (SWIG_arg_fail(3)) SWIG_fail
;
30604 arg4
= (int)(SWIG_As_int(obj3
));
30605 if (SWIG_arg_fail(4)) SWIG_fail
;
30608 arg5
= (int)(SWIG_As_int(obj4
));
30609 if (SWIG_arg_fail(5)) SWIG_fail
;
30613 arg6
= (bool)(SWIG_As_bool(obj5
));
30614 if (SWIG_arg_fail(6)) SWIG_fail
;
30618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30619 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
30621 wxPyEndAllowThreads(__tstate
);
30622 if (PyErr_Occurred()) SWIG_fail
;
30624 Py_INCREF(Py_None
); resultobj
= Py_None
;
30631 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30632 PyObject
*resultobj
;
30633 wxWindow
*arg1
= (wxWindow
*) 0 ;
30636 bool arg4
= (bool) true ;
30637 PyObject
* obj0
= 0 ;
30638 PyObject
* obj1
= 0 ;
30639 PyObject
* obj2
= 0 ;
30640 PyObject
* obj3
= 0 ;
30641 char *kwnames
[] = {
30642 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
30645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30647 if (SWIG_arg_fail(1)) SWIG_fail
;
30649 arg2
= (int)(SWIG_As_int(obj1
));
30650 if (SWIG_arg_fail(2)) SWIG_fail
;
30653 arg3
= (int)(SWIG_As_int(obj2
));
30654 if (SWIG_arg_fail(3)) SWIG_fail
;
30658 arg4
= (bool)(SWIG_As_bool(obj3
));
30659 if (SWIG_arg_fail(4)) SWIG_fail
;
30663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30664 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
30666 wxPyEndAllowThreads(__tstate
);
30667 if (PyErr_Occurred()) SWIG_fail
;
30669 Py_INCREF(Py_None
); resultobj
= Py_None
;
30676 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30677 PyObject
*resultobj
;
30678 wxWindow
*arg1
= (wxWindow
*) 0 ;
30681 PyObject
* obj0
= 0 ;
30682 PyObject
* obj1
= 0 ;
30683 char *kwnames
[] = {
30684 (char *) "self",(char *) "orientation", NULL
30687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
30688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30689 if (SWIG_arg_fail(1)) SWIG_fail
;
30691 arg2
= (int)(SWIG_As_int(obj1
));
30692 if (SWIG_arg_fail(2)) SWIG_fail
;
30695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30696 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
30698 wxPyEndAllowThreads(__tstate
);
30699 if (PyErr_Occurred()) SWIG_fail
;
30702 resultobj
= SWIG_From_int((int)(result
));
30710 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30711 PyObject
*resultobj
;
30712 wxWindow
*arg1
= (wxWindow
*) 0 ;
30715 PyObject
* obj0
= 0 ;
30716 PyObject
* obj1
= 0 ;
30717 char *kwnames
[] = {
30718 (char *) "self",(char *) "orientation", NULL
30721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
30722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30723 if (SWIG_arg_fail(1)) SWIG_fail
;
30725 arg2
= (int)(SWIG_As_int(obj1
));
30726 if (SWIG_arg_fail(2)) SWIG_fail
;
30729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30730 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
30732 wxPyEndAllowThreads(__tstate
);
30733 if (PyErr_Occurred()) SWIG_fail
;
30736 resultobj
= SWIG_From_int((int)(result
));
30744 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30745 PyObject
*resultobj
;
30746 wxWindow
*arg1
= (wxWindow
*) 0 ;
30749 PyObject
* obj0
= 0 ;
30750 PyObject
* obj1
= 0 ;
30751 char *kwnames
[] = {
30752 (char *) "self",(char *) "orientation", NULL
30755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
30756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30757 if (SWIG_arg_fail(1)) SWIG_fail
;
30759 arg2
= (int)(SWIG_As_int(obj1
));
30760 if (SWIG_arg_fail(2)) SWIG_fail
;
30763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30764 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
30766 wxPyEndAllowThreads(__tstate
);
30767 if (PyErr_Occurred()) SWIG_fail
;
30770 resultobj
= SWIG_From_int((int)(result
));
30778 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30779 PyObject
*resultobj
;
30780 wxWindow
*arg1
= (wxWindow
*) 0 ;
30783 wxRect
*arg4
= (wxRect
*) NULL
;
30784 PyObject
* obj0
= 0 ;
30785 PyObject
* obj1
= 0 ;
30786 PyObject
* obj2
= 0 ;
30787 PyObject
* obj3
= 0 ;
30788 char *kwnames
[] = {
30789 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
30792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30794 if (SWIG_arg_fail(1)) SWIG_fail
;
30796 arg2
= (int)(SWIG_As_int(obj1
));
30797 if (SWIG_arg_fail(2)) SWIG_fail
;
30800 arg3
= (int)(SWIG_As_int(obj2
));
30801 if (SWIG_arg_fail(3)) SWIG_fail
;
30804 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
30805 if (SWIG_arg_fail(4)) SWIG_fail
;
30808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30809 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
30811 wxPyEndAllowThreads(__tstate
);
30812 if (PyErr_Occurred()) SWIG_fail
;
30814 Py_INCREF(Py_None
); resultobj
= Py_None
;
30821 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30822 PyObject
*resultobj
;
30823 wxWindow
*arg1
= (wxWindow
*) 0 ;
30826 PyObject
* obj0
= 0 ;
30827 PyObject
* obj1
= 0 ;
30828 char *kwnames
[] = {
30829 (char *) "self",(char *) "lines", NULL
30832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
30833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30834 if (SWIG_arg_fail(1)) SWIG_fail
;
30836 arg2
= (int)(SWIG_As_int(obj1
));
30837 if (SWIG_arg_fail(2)) SWIG_fail
;
30840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30841 result
= (bool)(arg1
)->ScrollLines(arg2
);
30843 wxPyEndAllowThreads(__tstate
);
30844 if (PyErr_Occurred()) SWIG_fail
;
30847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30855 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30856 PyObject
*resultobj
;
30857 wxWindow
*arg1
= (wxWindow
*) 0 ;
30860 PyObject
* obj0
= 0 ;
30861 PyObject
* obj1
= 0 ;
30862 char *kwnames
[] = {
30863 (char *) "self",(char *) "pages", NULL
30866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
30867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30868 if (SWIG_arg_fail(1)) SWIG_fail
;
30870 arg2
= (int)(SWIG_As_int(obj1
));
30871 if (SWIG_arg_fail(2)) SWIG_fail
;
30874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30875 result
= (bool)(arg1
)->ScrollPages(arg2
);
30877 wxPyEndAllowThreads(__tstate
);
30878 if (PyErr_Occurred()) SWIG_fail
;
30881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30889 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30890 PyObject
*resultobj
;
30891 wxWindow
*arg1
= (wxWindow
*) 0 ;
30893 PyObject
* obj0
= 0 ;
30894 char *kwnames
[] = {
30895 (char *) "self", NULL
30898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
30899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30900 if (SWIG_arg_fail(1)) SWIG_fail
;
30902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30903 result
= (bool)(arg1
)->LineUp();
30905 wxPyEndAllowThreads(__tstate
);
30906 if (PyErr_Occurred()) SWIG_fail
;
30909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30917 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30918 PyObject
*resultobj
;
30919 wxWindow
*arg1
= (wxWindow
*) 0 ;
30921 PyObject
* obj0
= 0 ;
30922 char *kwnames
[] = {
30923 (char *) "self", NULL
30926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
30927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30928 if (SWIG_arg_fail(1)) SWIG_fail
;
30930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30931 result
= (bool)(arg1
)->LineDown();
30933 wxPyEndAllowThreads(__tstate
);
30934 if (PyErr_Occurred()) SWIG_fail
;
30937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30945 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30946 PyObject
*resultobj
;
30947 wxWindow
*arg1
= (wxWindow
*) 0 ;
30949 PyObject
* obj0
= 0 ;
30950 char *kwnames
[] = {
30951 (char *) "self", NULL
30954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
30955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30956 if (SWIG_arg_fail(1)) SWIG_fail
;
30958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30959 result
= (bool)(arg1
)->PageUp();
30961 wxPyEndAllowThreads(__tstate
);
30962 if (PyErr_Occurred()) SWIG_fail
;
30965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30973 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30974 PyObject
*resultobj
;
30975 wxWindow
*arg1
= (wxWindow
*) 0 ;
30977 PyObject
* obj0
= 0 ;
30978 char *kwnames
[] = {
30979 (char *) "self", NULL
30982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
30983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30984 if (SWIG_arg_fail(1)) SWIG_fail
;
30986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30987 result
= (bool)(arg1
)->PageDown();
30989 wxPyEndAllowThreads(__tstate
);
30990 if (PyErr_Occurred()) SWIG_fail
;
30993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31001 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31002 PyObject
*resultobj
;
31003 wxWindow
*arg1
= (wxWindow
*) 0 ;
31004 wxString
*arg2
= 0 ;
31005 bool temp2
= false ;
31006 PyObject
* obj0
= 0 ;
31007 PyObject
* obj1
= 0 ;
31008 char *kwnames
[] = {
31009 (char *) "self",(char *) "text", NULL
31012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
31013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31014 if (SWIG_arg_fail(1)) SWIG_fail
;
31016 arg2
= wxString_in_helper(obj1
);
31017 if (arg2
== NULL
) SWIG_fail
;
31021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31022 (arg1
)->SetHelpText((wxString
const &)*arg2
);
31024 wxPyEndAllowThreads(__tstate
);
31025 if (PyErr_Occurred()) SWIG_fail
;
31027 Py_INCREF(Py_None
); resultobj
= Py_None
;
31042 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31043 PyObject
*resultobj
;
31044 wxWindow
*arg1
= (wxWindow
*) 0 ;
31045 wxString
*arg2
= 0 ;
31046 bool temp2
= false ;
31047 PyObject
* obj0
= 0 ;
31048 PyObject
* obj1
= 0 ;
31049 char *kwnames
[] = {
31050 (char *) "self",(char *) "text", NULL
31053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
31054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31055 if (SWIG_arg_fail(1)) SWIG_fail
;
31057 arg2
= wxString_in_helper(obj1
);
31058 if (arg2
== NULL
) SWIG_fail
;
31062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31063 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
31065 wxPyEndAllowThreads(__tstate
);
31066 if (PyErr_Occurred()) SWIG_fail
;
31068 Py_INCREF(Py_None
); resultobj
= Py_None
;
31083 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31084 PyObject
*resultobj
;
31085 wxWindow
*arg1
= (wxWindow
*) 0 ;
31087 PyObject
* obj0
= 0 ;
31088 char *kwnames
[] = {
31089 (char *) "self", NULL
31092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
31093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31094 if (SWIG_arg_fail(1)) SWIG_fail
;
31096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31097 result
= ((wxWindow
const *)arg1
)->GetHelpText();
31099 wxPyEndAllowThreads(__tstate
);
31100 if (PyErr_Occurred()) SWIG_fail
;
31104 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31106 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31115 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31116 PyObject
*resultobj
;
31117 wxWindow
*arg1
= (wxWindow
*) 0 ;
31118 wxString
*arg2
= 0 ;
31119 bool temp2
= false ;
31120 PyObject
* obj0
= 0 ;
31121 PyObject
* obj1
= 0 ;
31122 char *kwnames
[] = {
31123 (char *) "self",(char *) "tip", NULL
31126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
31127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31128 if (SWIG_arg_fail(1)) SWIG_fail
;
31130 arg2
= wxString_in_helper(obj1
);
31131 if (arg2
== NULL
) SWIG_fail
;
31135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31136 (arg1
)->SetToolTip((wxString
const &)*arg2
);
31138 wxPyEndAllowThreads(__tstate
);
31139 if (PyErr_Occurred()) SWIG_fail
;
31141 Py_INCREF(Py_None
); resultobj
= Py_None
;
31156 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31157 PyObject
*resultobj
;
31158 wxWindow
*arg1
= (wxWindow
*) 0 ;
31159 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
31160 PyObject
* obj0
= 0 ;
31161 PyObject
* obj1
= 0 ;
31162 char *kwnames
[] = {
31163 (char *) "self",(char *) "tip", NULL
31166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
31167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31168 if (SWIG_arg_fail(1)) SWIG_fail
;
31169 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
31170 if (SWIG_arg_fail(2)) SWIG_fail
;
31172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31173 (arg1
)->SetToolTip(arg2
);
31175 wxPyEndAllowThreads(__tstate
);
31176 if (PyErr_Occurred()) SWIG_fail
;
31178 Py_INCREF(Py_None
); resultobj
= Py_None
;
31185 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31186 PyObject
*resultobj
;
31187 wxWindow
*arg1
= (wxWindow
*) 0 ;
31189 PyObject
* obj0
= 0 ;
31190 char *kwnames
[] = {
31191 (char *) "self", NULL
31194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
31195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31196 if (SWIG_arg_fail(1)) SWIG_fail
;
31198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31199 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
31201 wxPyEndAllowThreads(__tstate
);
31202 if (PyErr_Occurred()) SWIG_fail
;
31205 resultobj
= wxPyMake_wxObject(result
, 0);
31213 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31214 PyObject
*resultobj
;
31215 wxWindow
*arg1
= (wxWindow
*) 0 ;
31216 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
31217 PyObject
* obj0
= 0 ;
31218 PyObject
* obj1
= 0 ;
31219 char *kwnames
[] = {
31220 (char *) "self",(char *) "dropTarget", NULL
31223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
31224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31225 if (SWIG_arg_fail(1)) SWIG_fail
;
31226 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31227 if (SWIG_arg_fail(2)) SWIG_fail
;
31229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31230 (arg1
)->SetDropTarget(arg2
);
31232 wxPyEndAllowThreads(__tstate
);
31233 if (PyErr_Occurred()) SWIG_fail
;
31235 Py_INCREF(Py_None
); resultobj
= Py_None
;
31242 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31243 PyObject
*resultobj
;
31244 wxWindow
*arg1
= (wxWindow
*) 0 ;
31245 wxPyDropTarget
*result
;
31246 PyObject
* obj0
= 0 ;
31247 char *kwnames
[] = {
31248 (char *) "self", NULL
31251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
31252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31253 if (SWIG_arg_fail(1)) SWIG_fail
;
31255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31256 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
31258 wxPyEndAllowThreads(__tstate
);
31259 if (PyErr_Occurred()) SWIG_fail
;
31261 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
31268 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31269 PyObject
*resultobj
;
31270 wxWindow
*arg1
= (wxWindow
*) 0 ;
31271 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
31272 PyObject
* obj0
= 0 ;
31273 PyObject
* obj1
= 0 ;
31274 char *kwnames
[] = {
31275 (char *) "self",(char *) "constraints", NULL
31278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
31279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31280 if (SWIG_arg_fail(1)) SWIG_fail
;
31281 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
31282 if (SWIG_arg_fail(2)) SWIG_fail
;
31284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31285 (arg1
)->SetConstraints(arg2
);
31287 wxPyEndAllowThreads(__tstate
);
31288 if (PyErr_Occurred()) SWIG_fail
;
31290 Py_INCREF(Py_None
); resultobj
= Py_None
;
31297 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31298 PyObject
*resultobj
;
31299 wxWindow
*arg1
= (wxWindow
*) 0 ;
31300 wxLayoutConstraints
*result
;
31301 PyObject
* obj0
= 0 ;
31302 char *kwnames
[] = {
31303 (char *) "self", NULL
31306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
31307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31308 if (SWIG_arg_fail(1)) SWIG_fail
;
31310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31311 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
31313 wxPyEndAllowThreads(__tstate
);
31314 if (PyErr_Occurred()) SWIG_fail
;
31316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
31323 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31324 PyObject
*resultobj
;
31325 wxWindow
*arg1
= (wxWindow
*) 0 ;
31327 PyObject
* obj0
= 0 ;
31328 PyObject
* obj1
= 0 ;
31329 char *kwnames
[] = {
31330 (char *) "self",(char *) "autoLayout", NULL
31333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
31334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31335 if (SWIG_arg_fail(1)) SWIG_fail
;
31337 arg2
= (bool)(SWIG_As_bool(obj1
));
31338 if (SWIG_arg_fail(2)) SWIG_fail
;
31341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31342 (arg1
)->SetAutoLayout(arg2
);
31344 wxPyEndAllowThreads(__tstate
);
31345 if (PyErr_Occurred()) SWIG_fail
;
31347 Py_INCREF(Py_None
); resultobj
= Py_None
;
31354 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31355 PyObject
*resultobj
;
31356 wxWindow
*arg1
= (wxWindow
*) 0 ;
31358 PyObject
* obj0
= 0 ;
31359 char *kwnames
[] = {
31360 (char *) "self", NULL
31363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
31364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31365 if (SWIG_arg_fail(1)) SWIG_fail
;
31367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31368 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
31370 wxPyEndAllowThreads(__tstate
);
31371 if (PyErr_Occurred()) SWIG_fail
;
31374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31382 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31383 PyObject
*resultobj
;
31384 wxWindow
*arg1
= (wxWindow
*) 0 ;
31386 PyObject
* obj0
= 0 ;
31387 char *kwnames
[] = {
31388 (char *) "self", NULL
31391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
31392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31393 if (SWIG_arg_fail(1)) SWIG_fail
;
31395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31396 result
= (bool)(arg1
)->Layout();
31398 wxPyEndAllowThreads(__tstate
);
31399 if (PyErr_Occurred()) SWIG_fail
;
31402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31410 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31411 PyObject
*resultobj
;
31412 wxWindow
*arg1
= (wxWindow
*) 0 ;
31413 wxSizer
*arg2
= (wxSizer
*) 0 ;
31414 bool arg3
= (bool) true ;
31415 PyObject
* obj0
= 0 ;
31416 PyObject
* obj1
= 0 ;
31417 PyObject
* obj2
= 0 ;
31418 char *kwnames
[] = {
31419 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31424 if (SWIG_arg_fail(1)) SWIG_fail
;
31425 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31426 if (SWIG_arg_fail(2)) SWIG_fail
;
31429 arg3
= (bool)(SWIG_As_bool(obj2
));
31430 if (SWIG_arg_fail(3)) SWIG_fail
;
31434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31435 (arg1
)->SetSizer(arg2
,arg3
);
31437 wxPyEndAllowThreads(__tstate
);
31438 if (PyErr_Occurred()) SWIG_fail
;
31440 Py_INCREF(Py_None
); resultobj
= Py_None
;
31447 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31448 PyObject
*resultobj
;
31449 wxWindow
*arg1
= (wxWindow
*) 0 ;
31450 wxSizer
*arg2
= (wxSizer
*) 0 ;
31451 bool arg3
= (bool) true ;
31452 PyObject
* obj0
= 0 ;
31453 PyObject
* obj1
= 0 ;
31454 PyObject
* obj2
= 0 ;
31455 char *kwnames
[] = {
31456 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31461 if (SWIG_arg_fail(1)) SWIG_fail
;
31462 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31463 if (SWIG_arg_fail(2)) SWIG_fail
;
31466 arg3
= (bool)(SWIG_As_bool(obj2
));
31467 if (SWIG_arg_fail(3)) SWIG_fail
;
31471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31472 (arg1
)->SetSizerAndFit(arg2
,arg3
);
31474 wxPyEndAllowThreads(__tstate
);
31475 if (PyErr_Occurred()) SWIG_fail
;
31477 Py_INCREF(Py_None
); resultobj
= Py_None
;
31484 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31485 PyObject
*resultobj
;
31486 wxWindow
*arg1
= (wxWindow
*) 0 ;
31488 PyObject
* obj0
= 0 ;
31489 char *kwnames
[] = {
31490 (char *) "self", NULL
31493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
31494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31495 if (SWIG_arg_fail(1)) SWIG_fail
;
31497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31498 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
31500 wxPyEndAllowThreads(__tstate
);
31501 if (PyErr_Occurred()) SWIG_fail
;
31504 resultobj
= wxPyMake_wxSizer(result
, 0);
31512 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31513 PyObject
*resultobj
;
31514 wxWindow
*arg1
= (wxWindow
*) 0 ;
31515 wxSizer
*arg2
= (wxSizer
*) 0 ;
31516 PyObject
* obj0
= 0 ;
31517 PyObject
* obj1
= 0 ;
31518 char *kwnames
[] = {
31519 (char *) "self",(char *) "sizer", NULL
31522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
31523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31524 if (SWIG_arg_fail(1)) SWIG_fail
;
31525 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31526 if (SWIG_arg_fail(2)) SWIG_fail
;
31528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31529 (arg1
)->SetContainingSizer(arg2
);
31531 wxPyEndAllowThreads(__tstate
);
31532 if (PyErr_Occurred()) SWIG_fail
;
31534 Py_INCREF(Py_None
); resultobj
= Py_None
;
31541 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31542 PyObject
*resultobj
;
31543 wxWindow
*arg1
= (wxWindow
*) 0 ;
31545 PyObject
* obj0
= 0 ;
31546 char *kwnames
[] = {
31547 (char *) "self", NULL
31550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
31551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31552 if (SWIG_arg_fail(1)) SWIG_fail
;
31554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31555 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
31557 wxPyEndAllowThreads(__tstate
);
31558 if (PyErr_Occurred()) SWIG_fail
;
31561 resultobj
= wxPyMake_wxSizer(result
, 0);
31569 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31570 PyObject
*resultobj
;
31571 wxWindow
*arg1
= (wxWindow
*) 0 ;
31572 PyObject
* obj0
= 0 ;
31573 char *kwnames
[] = {
31574 (char *) "self", NULL
31577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
31578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31579 if (SWIG_arg_fail(1)) SWIG_fail
;
31581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31582 (arg1
)->InheritAttributes();
31584 wxPyEndAllowThreads(__tstate
);
31585 if (PyErr_Occurred()) SWIG_fail
;
31587 Py_INCREF(Py_None
); resultobj
= Py_None
;
31594 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31595 PyObject
*resultobj
;
31596 wxWindow
*arg1
= (wxWindow
*) 0 ;
31598 PyObject
* obj0
= 0 ;
31599 char *kwnames
[] = {
31600 (char *) "self", NULL
31603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
31604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31605 if (SWIG_arg_fail(1)) SWIG_fail
;
31607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31608 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
31610 wxPyEndAllowThreads(__tstate
);
31611 if (PyErr_Occurred()) SWIG_fail
;
31614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31622 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
31624 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31625 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
31627 return Py_BuildValue((char *)"");
31629 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31630 PyObject
*resultobj
;
31632 wxWindow
*arg2
= (wxWindow
*) NULL
;
31634 PyObject
* obj0
= 0 ;
31635 PyObject
* obj1
= 0 ;
31636 char *kwnames
[] = {
31637 (char *) "id",(char *) "parent", NULL
31640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
31642 arg1
= (long)(SWIG_As_long(obj0
));
31643 if (SWIG_arg_fail(1)) SWIG_fail
;
31646 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31647 if (SWIG_arg_fail(2)) SWIG_fail
;
31650 if (!wxPyCheckForApp()) SWIG_fail
;
31651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31652 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
31654 wxPyEndAllowThreads(__tstate
);
31655 if (PyErr_Occurred()) SWIG_fail
;
31658 resultobj
= wxPyMake_wxObject(result
, 0);
31666 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31667 PyObject
*resultobj
;
31668 wxString
*arg1
= 0 ;
31669 wxWindow
*arg2
= (wxWindow
*) NULL
;
31671 bool temp1
= false ;
31672 PyObject
* obj0
= 0 ;
31673 PyObject
* obj1
= 0 ;
31674 char *kwnames
[] = {
31675 (char *) "name",(char *) "parent", NULL
31678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
31680 arg1
= wxString_in_helper(obj0
);
31681 if (arg1
== NULL
) SWIG_fail
;
31685 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31686 if (SWIG_arg_fail(2)) SWIG_fail
;
31689 if (!wxPyCheckForApp()) SWIG_fail
;
31690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31691 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31693 wxPyEndAllowThreads(__tstate
);
31694 if (PyErr_Occurred()) SWIG_fail
;
31697 resultobj
= wxPyMake_wxObject(result
, 0);
31713 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31714 PyObject
*resultobj
;
31715 wxString
*arg1
= 0 ;
31716 wxWindow
*arg2
= (wxWindow
*) NULL
;
31718 bool temp1
= false ;
31719 PyObject
* obj0
= 0 ;
31720 PyObject
* obj1
= 0 ;
31721 char *kwnames
[] = {
31722 (char *) "label",(char *) "parent", NULL
31725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31727 arg1
= wxString_in_helper(obj0
);
31728 if (arg1
== NULL
) SWIG_fail
;
31732 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31733 if (SWIG_arg_fail(2)) SWIG_fail
;
31736 if (!wxPyCheckForApp()) SWIG_fail
;
31737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31738 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31740 wxPyEndAllowThreads(__tstate
);
31741 if (PyErr_Occurred()) SWIG_fail
;
31744 resultobj
= wxPyMake_wxObject(result
, 0);
31760 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31761 PyObject
*resultobj
;
31762 wxWindow
*arg1
= (wxWindow
*) 0 ;
31763 unsigned long arg2
;
31765 PyObject
* obj0
= 0 ;
31766 PyObject
* obj1
= 0 ;
31767 char *kwnames
[] = {
31768 (char *) "parent",(char *) "_hWnd", NULL
31771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
31772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31773 if (SWIG_arg_fail(1)) SWIG_fail
;
31775 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
31776 if (SWIG_arg_fail(2)) SWIG_fail
;
31779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31780 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
31782 wxPyEndAllowThreads(__tstate
);
31783 if (PyErr_Occurred()) SWIG_fail
;
31786 resultobj
= wxPyMake_wxObject(result
, 0);
31794 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31795 PyObject
*resultobj
;
31796 wxValidator
*result
;
31797 char *kwnames
[] = {
31801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
31803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31804 result
= (wxValidator
*)new wxValidator();
31806 wxPyEndAllowThreads(__tstate
);
31807 if (PyErr_Occurred()) SWIG_fail
;
31809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
31816 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31817 PyObject
*resultobj
;
31818 wxValidator
*arg1
= (wxValidator
*) 0 ;
31819 wxValidator
*result
;
31820 PyObject
* obj0
= 0 ;
31821 char *kwnames
[] = {
31822 (char *) "self", NULL
31825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
31826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31827 if (SWIG_arg_fail(1)) SWIG_fail
;
31829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31830 result
= (wxValidator
*)(arg1
)->Clone();
31832 wxPyEndAllowThreads(__tstate
);
31833 if (PyErr_Occurred()) SWIG_fail
;
31836 resultobj
= wxPyMake_wxObject(result
, 0);
31844 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31845 PyObject
*resultobj
;
31846 wxValidator
*arg1
= (wxValidator
*) 0 ;
31847 wxWindow
*arg2
= (wxWindow
*) 0 ;
31849 PyObject
* obj0
= 0 ;
31850 PyObject
* obj1
= 0 ;
31851 char *kwnames
[] = {
31852 (char *) "self",(char *) "parent", NULL
31855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
31856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31857 if (SWIG_arg_fail(1)) SWIG_fail
;
31858 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31859 if (SWIG_arg_fail(2)) SWIG_fail
;
31861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31862 result
= (bool)(arg1
)->Validate(arg2
);
31864 wxPyEndAllowThreads(__tstate
);
31865 if (PyErr_Occurred()) SWIG_fail
;
31868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31876 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31877 PyObject
*resultobj
;
31878 wxValidator
*arg1
= (wxValidator
*) 0 ;
31880 PyObject
* obj0
= 0 ;
31881 char *kwnames
[] = {
31882 (char *) "self", NULL
31885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
31886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31887 if (SWIG_arg_fail(1)) SWIG_fail
;
31889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31890 result
= (bool)(arg1
)->TransferToWindow();
31892 wxPyEndAllowThreads(__tstate
);
31893 if (PyErr_Occurred()) SWIG_fail
;
31896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31904 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31905 PyObject
*resultobj
;
31906 wxValidator
*arg1
= (wxValidator
*) 0 ;
31908 PyObject
* obj0
= 0 ;
31909 char *kwnames
[] = {
31910 (char *) "self", NULL
31913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
31914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31915 if (SWIG_arg_fail(1)) SWIG_fail
;
31917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31918 result
= (bool)(arg1
)->TransferFromWindow();
31920 wxPyEndAllowThreads(__tstate
);
31921 if (PyErr_Occurred()) SWIG_fail
;
31924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31932 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31933 PyObject
*resultobj
;
31934 wxValidator
*arg1
= (wxValidator
*) 0 ;
31936 PyObject
* obj0
= 0 ;
31937 char *kwnames
[] = {
31938 (char *) "self", NULL
31941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
31942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31943 if (SWIG_arg_fail(1)) SWIG_fail
;
31945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31946 result
= (wxWindow
*)(arg1
)->GetWindow();
31948 wxPyEndAllowThreads(__tstate
);
31949 if (PyErr_Occurred()) SWIG_fail
;
31952 resultobj
= wxPyMake_wxObject(result
, 0);
31960 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31961 PyObject
*resultobj
;
31962 wxValidator
*arg1
= (wxValidator
*) 0 ;
31963 wxWindow
*arg2
= (wxWindow
*) 0 ;
31964 PyObject
* obj0
= 0 ;
31965 PyObject
* obj1
= 0 ;
31966 char *kwnames
[] = {
31967 (char *) "self",(char *) "window", NULL
31970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
31971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31972 if (SWIG_arg_fail(1)) SWIG_fail
;
31973 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31974 if (SWIG_arg_fail(2)) SWIG_fail
;
31976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31977 (arg1
)->SetWindow(arg2
);
31979 wxPyEndAllowThreads(__tstate
);
31980 if (PyErr_Occurred()) SWIG_fail
;
31982 Py_INCREF(Py_None
); resultobj
= Py_None
;
31989 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31990 PyObject
*resultobj
;
31992 char *kwnames
[] = {
31996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
31998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31999 result
= (bool)wxValidator::IsSilent();
32001 wxPyEndAllowThreads(__tstate
);
32002 if (PyErr_Occurred()) SWIG_fail
;
32005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32013 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32014 PyObject
*resultobj
;
32015 int arg1
= (int) true ;
32016 PyObject
* obj0
= 0 ;
32017 char *kwnames
[] = {
32018 (char *) "doIt", NULL
32021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
32024 arg1
= (int)(SWIG_As_int(obj0
));
32025 if (SWIG_arg_fail(1)) SWIG_fail
;
32029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32030 wxValidator::SetBellOnError(arg1
);
32032 wxPyEndAllowThreads(__tstate
);
32033 if (PyErr_Occurred()) SWIG_fail
;
32035 Py_INCREF(Py_None
); resultobj
= Py_None
;
32042 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
32044 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32045 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
32047 return Py_BuildValue((char *)"");
32049 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32050 PyObject
*resultobj
;
32051 wxPyValidator
*result
;
32052 char *kwnames
[] = {
32056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
32058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32059 result
= (wxPyValidator
*)new wxPyValidator();
32061 wxPyEndAllowThreads(__tstate
);
32062 if (PyErr_Occurred()) SWIG_fail
;
32064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
32071 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32072 PyObject
*resultobj
;
32073 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
32074 PyObject
*arg2
= (PyObject
*) 0 ;
32075 PyObject
*arg3
= (PyObject
*) 0 ;
32076 int arg4
= (int) true ;
32077 PyObject
* obj0
= 0 ;
32078 PyObject
* obj1
= 0 ;
32079 PyObject
* obj2
= 0 ;
32080 PyObject
* obj3
= 0 ;
32081 char *kwnames
[] = {
32082 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
32087 if (SWIG_arg_fail(1)) SWIG_fail
;
32092 arg4
= (int)(SWIG_As_int(obj3
));
32093 if (SWIG_arg_fail(4)) SWIG_fail
;
32097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32098 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32100 wxPyEndAllowThreads(__tstate
);
32101 if (PyErr_Occurred()) SWIG_fail
;
32103 Py_INCREF(Py_None
); resultobj
= Py_None
;
32110 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
32112 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32113 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
32115 return Py_BuildValue((char *)"");
32117 static int _wrap_DefaultValidator_set(PyObject
*) {
32118 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
32123 static PyObject
*_wrap_DefaultValidator_get(void) {
32126 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
32131 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32132 PyObject
*resultobj
;
32133 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32134 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32135 long arg2
= (long) 0 ;
32137 bool temp1
= false ;
32138 PyObject
* obj0
= 0 ;
32139 PyObject
* obj1
= 0 ;
32140 char *kwnames
[] = {
32141 (char *) "title",(char *) "style", NULL
32144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
32147 arg1
= wxString_in_helper(obj0
);
32148 if (arg1
== NULL
) SWIG_fail
;
32154 arg2
= (long)(SWIG_As_long(obj1
));
32155 if (SWIG_arg_fail(2)) SWIG_fail
;
32159 if (!wxPyCheckForApp()) SWIG_fail
;
32160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32161 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
32163 wxPyEndAllowThreads(__tstate
);
32164 if (PyErr_Occurred()) SWIG_fail
;
32166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
32181 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32182 PyObject
*resultobj
;
32183 wxMenu
*arg1
= (wxMenu
*) 0 ;
32185 wxString
*arg3
= 0 ;
32186 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32187 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32188 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32189 wxMenuItem
*result
;
32190 bool temp3
= false ;
32191 bool temp4
= false ;
32192 PyObject
* obj0
= 0 ;
32193 PyObject
* obj1
= 0 ;
32194 PyObject
* obj2
= 0 ;
32195 PyObject
* obj3
= 0 ;
32196 PyObject
* obj4
= 0 ;
32197 char *kwnames
[] = {
32198 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32203 if (SWIG_arg_fail(1)) SWIG_fail
;
32205 arg2
= (int)(SWIG_As_int(obj1
));
32206 if (SWIG_arg_fail(2)) SWIG_fail
;
32209 arg3
= wxString_in_helper(obj2
);
32210 if (arg3
== NULL
) SWIG_fail
;
32215 arg4
= wxString_in_helper(obj3
);
32216 if (arg4
== NULL
) SWIG_fail
;
32222 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32223 if (SWIG_arg_fail(5)) SWIG_fail
;
32227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32228 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32230 wxPyEndAllowThreads(__tstate
);
32231 if (PyErr_Occurred()) SWIG_fail
;
32234 resultobj
= wxPyMake_wxObject(result
, 0);
32258 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32259 PyObject
*resultobj
;
32260 wxMenu
*arg1
= (wxMenu
*) 0 ;
32261 wxMenuItem
*result
;
32262 PyObject
* obj0
= 0 ;
32263 char *kwnames
[] = {
32264 (char *) "self", NULL
32267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
32268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32269 if (SWIG_arg_fail(1)) SWIG_fail
;
32271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32272 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
32274 wxPyEndAllowThreads(__tstate
);
32275 if (PyErr_Occurred()) SWIG_fail
;
32278 resultobj
= wxPyMake_wxObject(result
, 0);
32286 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32287 PyObject
*resultobj
;
32288 wxMenu
*arg1
= (wxMenu
*) 0 ;
32290 wxString
*arg3
= 0 ;
32291 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32292 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32293 wxMenuItem
*result
;
32294 bool temp3
= false ;
32295 bool temp4
= false ;
32296 PyObject
* obj0
= 0 ;
32297 PyObject
* obj1
= 0 ;
32298 PyObject
* obj2
= 0 ;
32299 PyObject
* obj3
= 0 ;
32300 char *kwnames
[] = {
32301 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32306 if (SWIG_arg_fail(1)) SWIG_fail
;
32308 arg2
= (int)(SWIG_As_int(obj1
));
32309 if (SWIG_arg_fail(2)) SWIG_fail
;
32312 arg3
= wxString_in_helper(obj2
);
32313 if (arg3
== NULL
) SWIG_fail
;
32318 arg4
= wxString_in_helper(obj3
);
32319 if (arg4
== NULL
) SWIG_fail
;
32324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32325 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32327 wxPyEndAllowThreads(__tstate
);
32328 if (PyErr_Occurred()) SWIG_fail
;
32331 resultobj
= wxPyMake_wxObject(result
, 0);
32355 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32356 PyObject
*resultobj
;
32357 wxMenu
*arg1
= (wxMenu
*) 0 ;
32359 wxString
*arg3
= 0 ;
32360 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32361 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32362 wxMenuItem
*result
;
32363 bool temp3
= false ;
32364 bool temp4
= false ;
32365 PyObject
* obj0
= 0 ;
32366 PyObject
* obj1
= 0 ;
32367 PyObject
* obj2
= 0 ;
32368 PyObject
* obj3
= 0 ;
32369 char *kwnames
[] = {
32370 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32375 if (SWIG_arg_fail(1)) SWIG_fail
;
32377 arg2
= (int)(SWIG_As_int(obj1
));
32378 if (SWIG_arg_fail(2)) SWIG_fail
;
32381 arg3
= wxString_in_helper(obj2
);
32382 if (arg3
== NULL
) SWIG_fail
;
32387 arg4
= wxString_in_helper(obj3
);
32388 if (arg4
== NULL
) SWIG_fail
;
32393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32394 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32396 wxPyEndAllowThreads(__tstate
);
32397 if (PyErr_Occurred()) SWIG_fail
;
32400 resultobj
= wxPyMake_wxObject(result
, 0);
32424 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32425 PyObject
*resultobj
;
32426 wxMenu
*arg1
= (wxMenu
*) 0 ;
32428 wxString
*arg3
= 0 ;
32429 wxMenu
*arg4
= (wxMenu
*) 0 ;
32430 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32431 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32432 wxMenuItem
*result
;
32433 bool temp3
= false ;
32434 bool temp5
= false ;
32435 PyObject
* obj0
= 0 ;
32436 PyObject
* obj1
= 0 ;
32437 PyObject
* obj2
= 0 ;
32438 PyObject
* obj3
= 0 ;
32439 PyObject
* obj4
= 0 ;
32440 char *kwnames
[] = {
32441 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32446 if (SWIG_arg_fail(1)) SWIG_fail
;
32448 arg2
= (int)(SWIG_As_int(obj1
));
32449 if (SWIG_arg_fail(2)) SWIG_fail
;
32452 arg3
= wxString_in_helper(obj2
);
32453 if (arg3
== NULL
) SWIG_fail
;
32456 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32457 if (SWIG_arg_fail(4)) SWIG_fail
;
32460 arg5
= wxString_in_helper(obj4
);
32461 if (arg5
== NULL
) SWIG_fail
;
32466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32467 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
32469 wxPyEndAllowThreads(__tstate
);
32470 if (PyErr_Occurred()) SWIG_fail
;
32473 resultobj
= wxPyMake_wxObject(result
, 0);
32497 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32498 PyObject
*resultobj
;
32499 wxMenu
*arg1
= (wxMenu
*) 0 ;
32500 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32501 wxMenuItem
*result
;
32502 PyObject
* obj0
= 0 ;
32503 PyObject
* obj1
= 0 ;
32504 char *kwnames
[] = {
32505 (char *) "self",(char *) "item", NULL
32508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32510 if (SWIG_arg_fail(1)) SWIG_fail
;
32511 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32512 if (SWIG_arg_fail(2)) SWIG_fail
;
32514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32515 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
32517 wxPyEndAllowThreads(__tstate
);
32518 if (PyErr_Occurred()) SWIG_fail
;
32521 resultobj
= wxPyMake_wxObject(result
, 0);
32529 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32530 PyObject
*resultobj
;
32531 wxMenu
*arg1
= (wxMenu
*) 0 ;
32532 PyObject
* obj0
= 0 ;
32533 char *kwnames
[] = {
32534 (char *) "self", NULL
32537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
32538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32539 if (SWIG_arg_fail(1)) SWIG_fail
;
32541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32544 wxPyEndAllowThreads(__tstate
);
32545 if (PyErr_Occurred()) SWIG_fail
;
32547 Py_INCREF(Py_None
); resultobj
= Py_None
;
32554 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32555 PyObject
*resultobj
;
32556 wxMenu
*arg1
= (wxMenu
*) 0 ;
32558 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
32559 wxMenuItem
*result
;
32560 PyObject
* obj0
= 0 ;
32561 PyObject
* obj1
= 0 ;
32562 PyObject
* obj2
= 0 ;
32563 char *kwnames
[] = {
32564 (char *) "self",(char *) "pos",(char *) "item", NULL
32567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32569 if (SWIG_arg_fail(1)) SWIG_fail
;
32571 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32572 if (SWIG_arg_fail(2)) SWIG_fail
;
32574 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32575 if (SWIG_arg_fail(3)) SWIG_fail
;
32577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32578 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
32580 wxPyEndAllowThreads(__tstate
);
32581 if (PyErr_Occurred()) SWIG_fail
;
32584 resultobj
= wxPyMake_wxObject(result
, 0);
32592 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32593 PyObject
*resultobj
;
32594 wxMenu
*arg1
= (wxMenu
*) 0 ;
32597 wxString
*arg4
= 0 ;
32598 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32599 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32600 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
32601 wxMenuItem
*result
;
32602 bool temp4
= false ;
32603 bool temp5
= false ;
32604 PyObject
* obj0
= 0 ;
32605 PyObject
* obj1
= 0 ;
32606 PyObject
* obj2
= 0 ;
32607 PyObject
* obj3
= 0 ;
32608 PyObject
* obj4
= 0 ;
32609 PyObject
* obj5
= 0 ;
32610 char *kwnames
[] = {
32611 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32616 if (SWIG_arg_fail(1)) SWIG_fail
;
32618 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32619 if (SWIG_arg_fail(2)) SWIG_fail
;
32622 arg3
= (int)(SWIG_As_int(obj2
));
32623 if (SWIG_arg_fail(3)) SWIG_fail
;
32626 arg4
= wxString_in_helper(obj3
);
32627 if (arg4
== NULL
) SWIG_fail
;
32632 arg5
= wxString_in_helper(obj4
);
32633 if (arg5
== NULL
) SWIG_fail
;
32639 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
32640 if (SWIG_arg_fail(6)) SWIG_fail
;
32644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32645 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
32647 wxPyEndAllowThreads(__tstate
);
32648 if (PyErr_Occurred()) SWIG_fail
;
32651 resultobj
= wxPyMake_wxObject(result
, 0);
32675 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32676 PyObject
*resultobj
;
32677 wxMenu
*arg1
= (wxMenu
*) 0 ;
32679 wxMenuItem
*result
;
32680 PyObject
* obj0
= 0 ;
32681 PyObject
* obj1
= 0 ;
32682 char *kwnames
[] = {
32683 (char *) "self",(char *) "pos", NULL
32686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
32687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32688 if (SWIG_arg_fail(1)) SWIG_fail
;
32690 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32691 if (SWIG_arg_fail(2)) SWIG_fail
;
32694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32695 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
32697 wxPyEndAllowThreads(__tstate
);
32698 if (PyErr_Occurred()) SWIG_fail
;
32701 resultobj
= wxPyMake_wxObject(result
, 0);
32709 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32710 PyObject
*resultobj
;
32711 wxMenu
*arg1
= (wxMenu
*) 0 ;
32714 wxString
*arg4
= 0 ;
32715 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32716 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32717 wxMenuItem
*result
;
32718 bool temp4
= false ;
32719 bool temp5
= false ;
32720 PyObject
* obj0
= 0 ;
32721 PyObject
* obj1
= 0 ;
32722 PyObject
* obj2
= 0 ;
32723 PyObject
* obj3
= 0 ;
32724 PyObject
* obj4
= 0 ;
32725 char *kwnames
[] = {
32726 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
32729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32731 if (SWIG_arg_fail(1)) SWIG_fail
;
32733 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32734 if (SWIG_arg_fail(2)) SWIG_fail
;
32737 arg3
= (int)(SWIG_As_int(obj2
));
32738 if (SWIG_arg_fail(3)) SWIG_fail
;
32741 arg4
= wxString_in_helper(obj3
);
32742 if (arg4
== NULL
) SWIG_fail
;
32747 arg5
= wxString_in_helper(obj4
);
32748 if (arg5
== NULL
) SWIG_fail
;
32753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32754 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
32756 wxPyEndAllowThreads(__tstate
);
32757 if (PyErr_Occurred()) SWIG_fail
;
32760 resultobj
= wxPyMake_wxObject(result
, 0);
32784 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32785 PyObject
*resultobj
;
32786 wxMenu
*arg1
= (wxMenu
*) 0 ;
32789 wxString
*arg4
= 0 ;
32790 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32791 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32792 wxMenuItem
*result
;
32793 bool temp4
= false ;
32794 bool temp5
= false ;
32795 PyObject
* obj0
= 0 ;
32796 PyObject
* obj1
= 0 ;
32797 PyObject
* obj2
= 0 ;
32798 PyObject
* obj3
= 0 ;
32799 PyObject
* obj4
= 0 ;
32800 char *kwnames
[] = {
32801 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
32804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32806 if (SWIG_arg_fail(1)) SWIG_fail
;
32808 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32809 if (SWIG_arg_fail(2)) SWIG_fail
;
32812 arg3
= (int)(SWIG_As_int(obj2
));
32813 if (SWIG_arg_fail(3)) SWIG_fail
;
32816 arg4
= wxString_in_helper(obj3
);
32817 if (arg4
== NULL
) SWIG_fail
;
32822 arg5
= wxString_in_helper(obj4
);
32823 if (arg5
== NULL
) SWIG_fail
;
32828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32829 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
32831 wxPyEndAllowThreads(__tstate
);
32832 if (PyErr_Occurred()) SWIG_fail
;
32835 resultobj
= wxPyMake_wxObject(result
, 0);
32859 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32860 PyObject
*resultobj
;
32861 wxMenu
*arg1
= (wxMenu
*) 0 ;
32864 wxString
*arg4
= 0 ;
32865 wxMenu
*arg5
= (wxMenu
*) 0 ;
32866 wxString
const &arg6_defvalue
= wxPyEmptyString
;
32867 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
32868 wxMenuItem
*result
;
32869 bool temp4
= false ;
32870 bool temp6
= false ;
32871 PyObject
* obj0
= 0 ;
32872 PyObject
* obj1
= 0 ;
32873 PyObject
* obj2
= 0 ;
32874 PyObject
* obj3
= 0 ;
32875 PyObject
* obj4
= 0 ;
32876 PyObject
* obj5
= 0 ;
32877 char *kwnames
[] = {
32878 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32883 if (SWIG_arg_fail(1)) SWIG_fail
;
32885 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32886 if (SWIG_arg_fail(2)) SWIG_fail
;
32889 arg3
= (int)(SWIG_As_int(obj2
));
32890 if (SWIG_arg_fail(3)) SWIG_fail
;
32893 arg4
= wxString_in_helper(obj3
);
32894 if (arg4
== NULL
) SWIG_fail
;
32897 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32898 if (SWIG_arg_fail(5)) SWIG_fail
;
32901 arg6
= wxString_in_helper(obj5
);
32902 if (arg6
== NULL
) SWIG_fail
;
32907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32908 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
32910 wxPyEndAllowThreads(__tstate
);
32911 if (PyErr_Occurred()) SWIG_fail
;
32914 resultobj
= wxPyMake_wxObject(result
, 0);
32938 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32939 PyObject
*resultobj
;
32940 wxMenu
*arg1
= (wxMenu
*) 0 ;
32941 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32942 wxMenuItem
*result
;
32943 PyObject
* obj0
= 0 ;
32944 PyObject
* obj1
= 0 ;
32945 char *kwnames
[] = {
32946 (char *) "self",(char *) "item", NULL
32949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32951 if (SWIG_arg_fail(1)) SWIG_fail
;
32952 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32953 if (SWIG_arg_fail(2)) SWIG_fail
;
32955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32956 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
32958 wxPyEndAllowThreads(__tstate
);
32959 if (PyErr_Occurred()) SWIG_fail
;
32962 resultobj
= wxPyMake_wxObject(result
, 0);
32970 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32971 PyObject
*resultobj
;
32972 wxMenu
*arg1
= (wxMenu
*) 0 ;
32974 wxString
*arg3
= 0 ;
32975 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32976 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32977 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32978 wxMenuItem
*result
;
32979 bool temp3
= false ;
32980 bool temp4
= false ;
32981 PyObject
* obj0
= 0 ;
32982 PyObject
* obj1
= 0 ;
32983 PyObject
* obj2
= 0 ;
32984 PyObject
* obj3
= 0 ;
32985 PyObject
* obj4
= 0 ;
32986 char *kwnames
[] = {
32987 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32992 if (SWIG_arg_fail(1)) SWIG_fail
;
32994 arg2
= (int)(SWIG_As_int(obj1
));
32995 if (SWIG_arg_fail(2)) SWIG_fail
;
32998 arg3
= wxString_in_helper(obj2
);
32999 if (arg3
== NULL
) SWIG_fail
;
33004 arg4
= wxString_in_helper(obj3
);
33005 if (arg4
== NULL
) SWIG_fail
;
33011 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
33012 if (SWIG_arg_fail(5)) SWIG_fail
;
33016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33017 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
33019 wxPyEndAllowThreads(__tstate
);
33020 if (PyErr_Occurred()) SWIG_fail
;
33023 resultobj
= wxPyMake_wxObject(result
, 0);
33047 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33048 PyObject
*resultobj
;
33049 wxMenu
*arg1
= (wxMenu
*) 0 ;
33050 wxMenuItem
*result
;
33051 PyObject
* obj0
= 0 ;
33052 char *kwnames
[] = {
33053 (char *) "self", NULL
33056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
33057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33058 if (SWIG_arg_fail(1)) SWIG_fail
;
33060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33061 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
33063 wxPyEndAllowThreads(__tstate
);
33064 if (PyErr_Occurred()) SWIG_fail
;
33067 resultobj
= wxPyMake_wxObject(result
, 0);
33075 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33076 PyObject
*resultobj
;
33077 wxMenu
*arg1
= (wxMenu
*) 0 ;
33079 wxString
*arg3
= 0 ;
33080 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33081 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33082 wxMenuItem
*result
;
33083 bool temp3
= false ;
33084 bool temp4
= false ;
33085 PyObject
* obj0
= 0 ;
33086 PyObject
* obj1
= 0 ;
33087 PyObject
* obj2
= 0 ;
33088 PyObject
* obj3
= 0 ;
33089 char *kwnames
[] = {
33090 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33095 if (SWIG_arg_fail(1)) SWIG_fail
;
33097 arg2
= (int)(SWIG_As_int(obj1
));
33098 if (SWIG_arg_fail(2)) SWIG_fail
;
33101 arg3
= wxString_in_helper(obj2
);
33102 if (arg3
== NULL
) SWIG_fail
;
33107 arg4
= wxString_in_helper(obj3
);
33108 if (arg4
== NULL
) SWIG_fail
;
33113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33114 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33116 wxPyEndAllowThreads(__tstate
);
33117 if (PyErr_Occurred()) SWIG_fail
;
33120 resultobj
= wxPyMake_wxObject(result
, 0);
33144 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33145 PyObject
*resultobj
;
33146 wxMenu
*arg1
= (wxMenu
*) 0 ;
33148 wxString
*arg3
= 0 ;
33149 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33150 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33151 wxMenuItem
*result
;
33152 bool temp3
= false ;
33153 bool temp4
= false ;
33154 PyObject
* obj0
= 0 ;
33155 PyObject
* obj1
= 0 ;
33156 PyObject
* obj2
= 0 ;
33157 PyObject
* obj3
= 0 ;
33158 char *kwnames
[] = {
33159 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33164 if (SWIG_arg_fail(1)) SWIG_fail
;
33166 arg2
= (int)(SWIG_As_int(obj1
));
33167 if (SWIG_arg_fail(2)) SWIG_fail
;
33170 arg3
= wxString_in_helper(obj2
);
33171 if (arg3
== NULL
) SWIG_fail
;
33176 arg4
= wxString_in_helper(obj3
);
33177 if (arg4
== NULL
) SWIG_fail
;
33182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33183 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33185 wxPyEndAllowThreads(__tstate
);
33186 if (PyErr_Occurred()) SWIG_fail
;
33189 resultobj
= wxPyMake_wxObject(result
, 0);
33213 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33214 PyObject
*resultobj
;
33215 wxMenu
*arg1
= (wxMenu
*) 0 ;
33217 wxString
*arg3
= 0 ;
33218 wxMenu
*arg4
= (wxMenu
*) 0 ;
33219 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33220 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33221 wxMenuItem
*result
;
33222 bool temp3
= false ;
33223 bool temp5
= false ;
33224 PyObject
* obj0
= 0 ;
33225 PyObject
* obj1
= 0 ;
33226 PyObject
* obj2
= 0 ;
33227 PyObject
* obj3
= 0 ;
33228 PyObject
* obj4
= 0 ;
33229 char *kwnames
[] = {
33230 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33235 if (SWIG_arg_fail(1)) SWIG_fail
;
33237 arg2
= (int)(SWIG_As_int(obj1
));
33238 if (SWIG_arg_fail(2)) SWIG_fail
;
33241 arg3
= wxString_in_helper(obj2
);
33242 if (arg3
== NULL
) SWIG_fail
;
33245 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33246 if (SWIG_arg_fail(4)) SWIG_fail
;
33249 arg5
= wxString_in_helper(obj4
);
33250 if (arg5
== NULL
) SWIG_fail
;
33255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33256 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33258 wxPyEndAllowThreads(__tstate
);
33259 if (PyErr_Occurred()) SWIG_fail
;
33262 resultobj
= wxPyMake_wxObject(result
, 0);
33286 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33287 PyObject
*resultobj
;
33288 wxMenu
*arg1
= (wxMenu
*) 0 ;
33290 wxMenuItem
*result
;
33291 PyObject
* obj0
= 0 ;
33292 PyObject
* obj1
= 0 ;
33293 char *kwnames
[] = {
33294 (char *) "self",(char *) "id", NULL
33297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33299 if (SWIG_arg_fail(1)) SWIG_fail
;
33301 arg2
= (int)(SWIG_As_int(obj1
));
33302 if (SWIG_arg_fail(2)) SWIG_fail
;
33305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33306 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33308 wxPyEndAllowThreads(__tstate
);
33309 if (PyErr_Occurred()) SWIG_fail
;
33312 resultobj
= wxPyMake_wxObject(result
, 0);
33320 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33321 PyObject
*resultobj
;
33322 wxMenu
*arg1
= (wxMenu
*) 0 ;
33323 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33324 wxMenuItem
*result
;
33325 PyObject
* obj0
= 0 ;
33326 PyObject
* obj1
= 0 ;
33327 char *kwnames
[] = {
33328 (char *) "self",(char *) "item", NULL
33331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33333 if (SWIG_arg_fail(1)) SWIG_fail
;
33334 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33335 if (SWIG_arg_fail(2)) SWIG_fail
;
33337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33338 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33340 wxPyEndAllowThreads(__tstate
);
33341 if (PyErr_Occurred()) SWIG_fail
;
33344 resultobj
= wxPyMake_wxObject(result
, 0);
33352 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33353 PyObject
*resultobj
;
33354 wxMenu
*arg1
= (wxMenu
*) 0 ;
33357 PyObject
* obj0
= 0 ;
33358 PyObject
* obj1
= 0 ;
33359 char *kwnames
[] = {
33360 (char *) "self",(char *) "id", NULL
33363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33365 if (SWIG_arg_fail(1)) SWIG_fail
;
33367 arg2
= (int)(SWIG_As_int(obj1
));
33368 if (SWIG_arg_fail(2)) SWIG_fail
;
33371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33372 result
= (bool)(arg1
)->Delete(arg2
);
33374 wxPyEndAllowThreads(__tstate
);
33375 if (PyErr_Occurred()) SWIG_fail
;
33378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33386 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33387 PyObject
*resultobj
;
33388 wxMenu
*arg1
= (wxMenu
*) 0 ;
33389 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33391 PyObject
* obj0
= 0 ;
33392 PyObject
* obj1
= 0 ;
33393 char *kwnames
[] = {
33394 (char *) "self",(char *) "item", NULL
33397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33399 if (SWIG_arg_fail(1)) SWIG_fail
;
33400 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33401 if (SWIG_arg_fail(2)) SWIG_fail
;
33403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33404 result
= (bool)(arg1
)->Delete(arg2
);
33406 wxPyEndAllowThreads(__tstate
);
33407 if (PyErr_Occurred()) SWIG_fail
;
33410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33418 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33419 PyObject
*resultobj
;
33420 wxMenu
*arg1
= (wxMenu
*) 0 ;
33421 PyObject
* obj0
= 0 ;
33422 char *kwnames
[] = {
33423 (char *) "self", NULL
33426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
33427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33428 if (SWIG_arg_fail(1)) SWIG_fail
;
33430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33431 wxMenu_Destroy(arg1
);
33433 wxPyEndAllowThreads(__tstate
);
33434 if (PyErr_Occurred()) SWIG_fail
;
33436 Py_INCREF(Py_None
); resultobj
= Py_None
;
33443 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33444 PyObject
*resultobj
;
33445 wxMenu
*arg1
= (wxMenu
*) 0 ;
33448 PyObject
* obj0
= 0 ;
33449 PyObject
* obj1
= 0 ;
33450 char *kwnames
[] = {
33451 (char *) "self",(char *) "id", NULL
33454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
33455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33456 if (SWIG_arg_fail(1)) SWIG_fail
;
33458 arg2
= (int)(SWIG_As_int(obj1
));
33459 if (SWIG_arg_fail(2)) SWIG_fail
;
33462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33463 result
= (bool)(arg1
)->Destroy(arg2
);
33465 wxPyEndAllowThreads(__tstate
);
33466 if (PyErr_Occurred()) SWIG_fail
;
33469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33477 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33478 PyObject
*resultobj
;
33479 wxMenu
*arg1
= (wxMenu
*) 0 ;
33480 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33482 PyObject
* obj0
= 0 ;
33483 PyObject
* obj1
= 0 ;
33484 char *kwnames
[] = {
33485 (char *) "self",(char *) "item", NULL
33488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33490 if (SWIG_arg_fail(1)) SWIG_fail
;
33491 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33492 if (SWIG_arg_fail(2)) SWIG_fail
;
33494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33495 result
= (bool)(arg1
)->Destroy(arg2
);
33497 wxPyEndAllowThreads(__tstate
);
33498 if (PyErr_Occurred()) SWIG_fail
;
33501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33509 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33510 PyObject
*resultobj
;
33511 wxMenu
*arg1
= (wxMenu
*) 0 ;
33513 PyObject
* obj0
= 0 ;
33514 char *kwnames
[] = {
33515 (char *) "self", NULL
33518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
33519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33520 if (SWIG_arg_fail(1)) SWIG_fail
;
33522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33523 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
33525 wxPyEndAllowThreads(__tstate
);
33526 if (PyErr_Occurred()) SWIG_fail
;
33529 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
33537 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33538 PyObject
*resultobj
;
33539 wxMenu
*arg1
= (wxMenu
*) 0 ;
33541 PyObject
* obj0
= 0 ;
33542 char *kwnames
[] = {
33543 (char *) "self", NULL
33546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
33547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33548 if (SWIG_arg_fail(1)) SWIG_fail
;
33550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33551 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
33553 wxPyEndAllowThreads(__tstate
);
33554 if (PyErr_Occurred()) SWIG_fail
;
33556 resultobj
= result
;
33563 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33564 PyObject
*resultobj
;
33565 wxMenu
*arg1
= (wxMenu
*) 0 ;
33566 wxString
*arg2
= 0 ;
33568 bool temp2
= false ;
33569 PyObject
* obj0
= 0 ;
33570 PyObject
* obj1
= 0 ;
33571 char *kwnames
[] = {
33572 (char *) "self",(char *) "item", NULL
33575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33577 if (SWIG_arg_fail(1)) SWIG_fail
;
33579 arg2
= wxString_in_helper(obj1
);
33580 if (arg2
== NULL
) SWIG_fail
;
33584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33585 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
33587 wxPyEndAllowThreads(__tstate
);
33588 if (PyErr_Occurred()) SWIG_fail
;
33591 resultobj
= SWIG_From_int((int)(result
));
33607 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33608 PyObject
*resultobj
;
33609 wxMenu
*arg1
= (wxMenu
*) 0 ;
33611 wxMenuItem
*result
;
33612 PyObject
* obj0
= 0 ;
33613 PyObject
* obj1
= 0 ;
33614 char *kwnames
[] = {
33615 (char *) "self",(char *) "id", NULL
33618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
33619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33620 if (SWIG_arg_fail(1)) SWIG_fail
;
33622 arg2
= (int)(SWIG_As_int(obj1
));
33623 if (SWIG_arg_fail(2)) SWIG_fail
;
33626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33627 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
33629 wxPyEndAllowThreads(__tstate
);
33630 if (PyErr_Occurred()) SWIG_fail
;
33633 resultobj
= wxPyMake_wxObject(result
, 0);
33641 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33642 PyObject
*resultobj
;
33643 wxMenu
*arg1
= (wxMenu
*) 0 ;
33645 wxMenuItem
*result
;
33646 PyObject
* obj0
= 0 ;
33647 PyObject
* obj1
= 0 ;
33648 char *kwnames
[] = {
33649 (char *) "self",(char *) "position", NULL
33652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33654 if (SWIG_arg_fail(1)) SWIG_fail
;
33656 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33657 if (SWIG_arg_fail(2)) SWIG_fail
;
33660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33661 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
33663 wxPyEndAllowThreads(__tstate
);
33664 if (PyErr_Occurred()) SWIG_fail
;
33667 resultobj
= wxPyMake_wxObject(result
, 0);
33675 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33676 PyObject
*resultobj
;
33677 wxMenu
*arg1
= (wxMenu
*) 0 ;
33680 PyObject
* obj0
= 0 ;
33681 PyObject
* obj1
= 0 ;
33682 PyObject
* obj2
= 0 ;
33683 char *kwnames
[] = {
33684 (char *) "self",(char *) "id",(char *) "enable", NULL
33687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33689 if (SWIG_arg_fail(1)) SWIG_fail
;
33691 arg2
= (int)(SWIG_As_int(obj1
));
33692 if (SWIG_arg_fail(2)) SWIG_fail
;
33695 arg3
= (bool)(SWIG_As_bool(obj2
));
33696 if (SWIG_arg_fail(3)) SWIG_fail
;
33699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33700 (arg1
)->Enable(arg2
,arg3
);
33702 wxPyEndAllowThreads(__tstate
);
33703 if (PyErr_Occurred()) SWIG_fail
;
33705 Py_INCREF(Py_None
); resultobj
= Py_None
;
33712 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33713 PyObject
*resultobj
;
33714 wxMenu
*arg1
= (wxMenu
*) 0 ;
33717 PyObject
* obj0
= 0 ;
33718 PyObject
* obj1
= 0 ;
33719 char *kwnames
[] = {
33720 (char *) "self",(char *) "id", NULL
33723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
33724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33725 if (SWIG_arg_fail(1)) SWIG_fail
;
33727 arg2
= (int)(SWIG_As_int(obj1
));
33728 if (SWIG_arg_fail(2)) SWIG_fail
;
33731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33732 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
33734 wxPyEndAllowThreads(__tstate
);
33735 if (PyErr_Occurred()) SWIG_fail
;
33738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33746 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33747 PyObject
*resultobj
;
33748 wxMenu
*arg1
= (wxMenu
*) 0 ;
33751 PyObject
* obj0
= 0 ;
33752 PyObject
* obj1
= 0 ;
33753 PyObject
* obj2
= 0 ;
33754 char *kwnames
[] = {
33755 (char *) "self",(char *) "id",(char *) "check", NULL
33758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33760 if (SWIG_arg_fail(1)) SWIG_fail
;
33762 arg2
= (int)(SWIG_As_int(obj1
));
33763 if (SWIG_arg_fail(2)) SWIG_fail
;
33766 arg3
= (bool)(SWIG_As_bool(obj2
));
33767 if (SWIG_arg_fail(3)) SWIG_fail
;
33770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33771 (arg1
)->Check(arg2
,arg3
);
33773 wxPyEndAllowThreads(__tstate
);
33774 if (PyErr_Occurred()) SWIG_fail
;
33776 Py_INCREF(Py_None
); resultobj
= Py_None
;
33783 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33784 PyObject
*resultobj
;
33785 wxMenu
*arg1
= (wxMenu
*) 0 ;
33788 PyObject
* obj0
= 0 ;
33789 PyObject
* obj1
= 0 ;
33790 char *kwnames
[] = {
33791 (char *) "self",(char *) "id", NULL
33794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
33795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33796 if (SWIG_arg_fail(1)) SWIG_fail
;
33798 arg2
= (int)(SWIG_As_int(obj1
));
33799 if (SWIG_arg_fail(2)) SWIG_fail
;
33802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33803 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
33805 wxPyEndAllowThreads(__tstate
);
33806 if (PyErr_Occurred()) SWIG_fail
;
33809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33817 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33818 PyObject
*resultobj
;
33819 wxMenu
*arg1
= (wxMenu
*) 0 ;
33821 wxString
*arg3
= 0 ;
33822 bool temp3
= false ;
33823 PyObject
* obj0
= 0 ;
33824 PyObject
* obj1
= 0 ;
33825 PyObject
* obj2
= 0 ;
33826 char *kwnames
[] = {
33827 (char *) "self",(char *) "id",(char *) "label", NULL
33830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33832 if (SWIG_arg_fail(1)) SWIG_fail
;
33834 arg2
= (int)(SWIG_As_int(obj1
));
33835 if (SWIG_arg_fail(2)) SWIG_fail
;
33838 arg3
= wxString_in_helper(obj2
);
33839 if (arg3
== NULL
) SWIG_fail
;
33843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33844 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
33846 wxPyEndAllowThreads(__tstate
);
33847 if (PyErr_Occurred()) SWIG_fail
;
33849 Py_INCREF(Py_None
); resultobj
= Py_None
;
33864 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33865 PyObject
*resultobj
;
33866 wxMenu
*arg1
= (wxMenu
*) 0 ;
33869 PyObject
* obj0
= 0 ;
33870 PyObject
* obj1
= 0 ;
33871 char *kwnames
[] = {
33872 (char *) "self",(char *) "id", NULL
33875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33877 if (SWIG_arg_fail(1)) SWIG_fail
;
33879 arg2
= (int)(SWIG_As_int(obj1
));
33880 if (SWIG_arg_fail(2)) SWIG_fail
;
33883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33884 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
33886 wxPyEndAllowThreads(__tstate
);
33887 if (PyErr_Occurred()) SWIG_fail
;
33891 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33893 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33902 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33903 PyObject
*resultobj
;
33904 wxMenu
*arg1
= (wxMenu
*) 0 ;
33906 wxString
*arg3
= 0 ;
33907 bool temp3
= false ;
33908 PyObject
* obj0
= 0 ;
33909 PyObject
* obj1
= 0 ;
33910 PyObject
* obj2
= 0 ;
33911 char *kwnames
[] = {
33912 (char *) "self",(char *) "id",(char *) "helpString", NULL
33915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33917 if (SWIG_arg_fail(1)) SWIG_fail
;
33919 arg2
= (int)(SWIG_As_int(obj1
));
33920 if (SWIG_arg_fail(2)) SWIG_fail
;
33923 arg3
= wxString_in_helper(obj2
);
33924 if (arg3
== NULL
) SWIG_fail
;
33928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33929 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
33931 wxPyEndAllowThreads(__tstate
);
33932 if (PyErr_Occurred()) SWIG_fail
;
33934 Py_INCREF(Py_None
); resultobj
= Py_None
;
33949 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33950 PyObject
*resultobj
;
33951 wxMenu
*arg1
= (wxMenu
*) 0 ;
33954 PyObject
* obj0
= 0 ;
33955 PyObject
* obj1
= 0 ;
33956 char *kwnames
[] = {
33957 (char *) "self",(char *) "id", NULL
33960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
33961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33962 if (SWIG_arg_fail(1)) SWIG_fail
;
33964 arg2
= (int)(SWIG_As_int(obj1
));
33965 if (SWIG_arg_fail(2)) SWIG_fail
;
33968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33969 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
33971 wxPyEndAllowThreads(__tstate
);
33972 if (PyErr_Occurred()) SWIG_fail
;
33976 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33978 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33987 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33988 PyObject
*resultobj
;
33989 wxMenu
*arg1
= (wxMenu
*) 0 ;
33990 wxString
*arg2
= 0 ;
33991 bool temp2
= false ;
33992 PyObject
* obj0
= 0 ;
33993 PyObject
* obj1
= 0 ;
33994 char *kwnames
[] = {
33995 (char *) "self",(char *) "title", NULL
33998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
33999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34000 if (SWIG_arg_fail(1)) SWIG_fail
;
34002 arg2
= wxString_in_helper(obj1
);
34003 if (arg2
== NULL
) SWIG_fail
;
34007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34008 (arg1
)->SetTitle((wxString
const &)*arg2
);
34010 wxPyEndAllowThreads(__tstate
);
34011 if (PyErr_Occurred()) SWIG_fail
;
34013 Py_INCREF(Py_None
); resultobj
= Py_None
;
34028 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34029 PyObject
*resultobj
;
34030 wxMenu
*arg1
= (wxMenu
*) 0 ;
34032 PyObject
* obj0
= 0 ;
34033 char *kwnames
[] = {
34034 (char *) "self", NULL
34037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
34038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34039 if (SWIG_arg_fail(1)) SWIG_fail
;
34041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34042 result
= ((wxMenu
const *)arg1
)->GetTitle();
34044 wxPyEndAllowThreads(__tstate
);
34045 if (PyErr_Occurred()) SWIG_fail
;
34049 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34051 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34060 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34061 PyObject
*resultobj
;
34062 wxMenu
*arg1
= (wxMenu
*) 0 ;
34063 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
34064 PyObject
* obj0
= 0 ;
34065 PyObject
* obj1
= 0 ;
34066 char *kwnames
[] = {
34067 (char *) "self",(char *) "handler", NULL
34070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
34071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34072 if (SWIG_arg_fail(1)) SWIG_fail
;
34073 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34074 if (SWIG_arg_fail(2)) SWIG_fail
;
34076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34077 (arg1
)->SetEventHandler(arg2
);
34079 wxPyEndAllowThreads(__tstate
);
34080 if (PyErr_Occurred()) SWIG_fail
;
34082 Py_INCREF(Py_None
); resultobj
= Py_None
;
34089 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34090 PyObject
*resultobj
;
34091 wxMenu
*arg1
= (wxMenu
*) 0 ;
34092 wxEvtHandler
*result
;
34093 PyObject
* obj0
= 0 ;
34094 char *kwnames
[] = {
34095 (char *) "self", NULL
34098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
34099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34100 if (SWIG_arg_fail(1)) SWIG_fail
;
34102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34103 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
34105 wxPyEndAllowThreads(__tstate
);
34106 if (PyErr_Occurred()) SWIG_fail
;
34109 resultobj
= wxPyMake_wxObject(result
, 0);
34117 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34118 PyObject
*resultobj
;
34119 wxMenu
*arg1
= (wxMenu
*) 0 ;
34120 wxWindow
*arg2
= (wxWindow
*) 0 ;
34121 PyObject
* obj0
= 0 ;
34122 PyObject
* obj1
= 0 ;
34123 char *kwnames
[] = {
34124 (char *) "self",(char *) "win", NULL
34127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34129 if (SWIG_arg_fail(1)) SWIG_fail
;
34130 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34131 if (SWIG_arg_fail(2)) SWIG_fail
;
34133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34134 (arg1
)->SetInvokingWindow(arg2
);
34136 wxPyEndAllowThreads(__tstate
);
34137 if (PyErr_Occurred()) SWIG_fail
;
34139 Py_INCREF(Py_None
); resultobj
= Py_None
;
34146 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34147 PyObject
*resultobj
;
34148 wxMenu
*arg1
= (wxMenu
*) 0 ;
34150 PyObject
* obj0
= 0 ;
34151 char *kwnames
[] = {
34152 (char *) "self", NULL
34155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
34156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34157 if (SWIG_arg_fail(1)) SWIG_fail
;
34159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34160 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
34162 wxPyEndAllowThreads(__tstate
);
34163 if (PyErr_Occurred()) SWIG_fail
;
34166 resultobj
= wxPyMake_wxObject(result
, 0);
34174 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34175 PyObject
*resultobj
;
34176 wxMenu
*arg1
= (wxMenu
*) 0 ;
34178 PyObject
* obj0
= 0 ;
34179 char *kwnames
[] = {
34180 (char *) "self", NULL
34183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
34184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34185 if (SWIG_arg_fail(1)) SWIG_fail
;
34187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34188 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
34190 wxPyEndAllowThreads(__tstate
);
34191 if (PyErr_Occurred()) SWIG_fail
;
34194 resultobj
= SWIG_From_long((long)(result
));
34202 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34203 PyObject
*resultobj
;
34204 wxMenu
*arg1
= (wxMenu
*) 0 ;
34205 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
34206 PyObject
* obj0
= 0 ;
34207 PyObject
* obj1
= 0 ;
34208 char *kwnames
[] = {
34209 (char *) "self",(char *) "source", NULL
34212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
34213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34214 if (SWIG_arg_fail(1)) SWIG_fail
;
34216 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34217 if (SWIG_arg_fail(2)) SWIG_fail
;
34220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34221 (arg1
)->UpdateUI(arg2
);
34223 wxPyEndAllowThreads(__tstate
);
34224 if (PyErr_Occurred()) SWIG_fail
;
34226 Py_INCREF(Py_None
); resultobj
= Py_None
;
34233 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34234 PyObject
*resultobj
;
34235 wxMenu
*arg1
= (wxMenu
*) 0 ;
34237 PyObject
* obj0
= 0 ;
34238 char *kwnames
[] = {
34239 (char *) "self", NULL
34242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
34243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34244 if (SWIG_arg_fail(1)) SWIG_fail
;
34246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34247 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
34249 wxPyEndAllowThreads(__tstate
);
34250 if (PyErr_Occurred()) SWIG_fail
;
34253 resultobj
= wxPyMake_wxObject(result
, 0);
34261 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34262 PyObject
*resultobj
;
34263 wxMenu
*arg1
= (wxMenu
*) 0 ;
34264 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
34265 PyObject
* obj0
= 0 ;
34266 PyObject
* obj1
= 0 ;
34267 char *kwnames
[] = {
34268 (char *) "self",(char *) "menubar", NULL
34271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
34272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34273 if (SWIG_arg_fail(1)) SWIG_fail
;
34274 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
34275 if (SWIG_arg_fail(2)) SWIG_fail
;
34277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34278 (arg1
)->Attach(arg2
);
34280 wxPyEndAllowThreads(__tstate
);
34281 if (PyErr_Occurred()) SWIG_fail
;
34283 Py_INCREF(Py_None
); resultobj
= Py_None
;
34290 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34291 PyObject
*resultobj
;
34292 wxMenu
*arg1
= (wxMenu
*) 0 ;
34293 PyObject
* obj0
= 0 ;
34294 char *kwnames
[] = {
34295 (char *) "self", NULL
34298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
34299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34300 if (SWIG_arg_fail(1)) SWIG_fail
;
34302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34305 wxPyEndAllowThreads(__tstate
);
34306 if (PyErr_Occurred()) SWIG_fail
;
34308 Py_INCREF(Py_None
); resultobj
= Py_None
;
34315 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34316 PyObject
*resultobj
;
34317 wxMenu
*arg1
= (wxMenu
*) 0 ;
34319 PyObject
* obj0
= 0 ;
34320 char *kwnames
[] = {
34321 (char *) "self", NULL
34324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
34325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34326 if (SWIG_arg_fail(1)) SWIG_fail
;
34328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34329 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
34331 wxPyEndAllowThreads(__tstate
);
34332 if (PyErr_Occurred()) SWIG_fail
;
34335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34343 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34344 PyObject
*resultobj
;
34345 wxMenu
*arg1
= (wxMenu
*) 0 ;
34346 wxMenu
*arg2
= (wxMenu
*) 0 ;
34347 PyObject
* obj0
= 0 ;
34348 PyObject
* obj1
= 0 ;
34349 char *kwnames
[] = {
34350 (char *) "self",(char *) "parent", NULL
34353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
34354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34355 if (SWIG_arg_fail(1)) SWIG_fail
;
34356 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34357 if (SWIG_arg_fail(2)) SWIG_fail
;
34359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34360 (arg1
)->SetParent(arg2
);
34362 wxPyEndAllowThreads(__tstate
);
34363 if (PyErr_Occurred()) SWIG_fail
;
34365 Py_INCREF(Py_None
); resultobj
= Py_None
;
34372 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34373 PyObject
*resultobj
;
34374 wxMenu
*arg1
= (wxMenu
*) 0 ;
34376 PyObject
* obj0
= 0 ;
34377 char *kwnames
[] = {
34378 (char *) "self", NULL
34381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
34382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34383 if (SWIG_arg_fail(1)) SWIG_fail
;
34385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34386 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
34388 wxPyEndAllowThreads(__tstate
);
34389 if (PyErr_Occurred()) SWIG_fail
;
34392 resultobj
= wxPyMake_wxObject(result
, 0);
34400 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
34402 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34403 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
34405 return Py_BuildValue((char *)"");
34407 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34408 PyObject
*resultobj
;
34409 long arg1
= (long) 0 ;
34411 PyObject
* obj0
= 0 ;
34412 char *kwnames
[] = {
34413 (char *) "style", NULL
34416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
34419 arg1
= (long)(SWIG_As_long(obj0
));
34420 if (SWIG_arg_fail(1)) SWIG_fail
;
34424 if (!wxPyCheckForApp()) SWIG_fail
;
34425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34426 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
34428 wxPyEndAllowThreads(__tstate
);
34429 if (PyErr_Occurred()) SWIG_fail
;
34431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
34438 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34439 PyObject
*resultobj
;
34440 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34441 wxMenu
*arg2
= (wxMenu
*) 0 ;
34442 wxString
*arg3
= 0 ;
34444 bool temp3
= false ;
34445 PyObject
* obj0
= 0 ;
34446 PyObject
* obj1
= 0 ;
34447 PyObject
* obj2
= 0 ;
34448 char *kwnames
[] = {
34449 (char *) "self",(char *) "menu",(char *) "title", NULL
34452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34454 if (SWIG_arg_fail(1)) SWIG_fail
;
34455 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34456 if (SWIG_arg_fail(2)) SWIG_fail
;
34458 arg3
= wxString_in_helper(obj2
);
34459 if (arg3
== NULL
) SWIG_fail
;
34463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34464 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
34466 wxPyEndAllowThreads(__tstate
);
34467 if (PyErr_Occurred()) SWIG_fail
;
34470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34486 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34487 PyObject
*resultobj
;
34488 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34490 wxMenu
*arg3
= (wxMenu
*) 0 ;
34491 wxString
*arg4
= 0 ;
34493 bool temp4
= false ;
34494 PyObject
* obj0
= 0 ;
34495 PyObject
* obj1
= 0 ;
34496 PyObject
* obj2
= 0 ;
34497 PyObject
* obj3
= 0 ;
34498 char *kwnames
[] = {
34499 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34504 if (SWIG_arg_fail(1)) SWIG_fail
;
34506 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34507 if (SWIG_arg_fail(2)) SWIG_fail
;
34509 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34510 if (SWIG_arg_fail(3)) SWIG_fail
;
34512 arg4
= wxString_in_helper(obj3
);
34513 if (arg4
== NULL
) SWIG_fail
;
34517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34518 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
34520 wxPyEndAllowThreads(__tstate
);
34521 if (PyErr_Occurred()) SWIG_fail
;
34524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34540 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34541 PyObject
*resultobj
;
34542 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34544 PyObject
* obj0
= 0 ;
34545 char *kwnames
[] = {
34546 (char *) "self", NULL
34549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
34550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34551 if (SWIG_arg_fail(1)) SWIG_fail
;
34553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34554 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
34556 wxPyEndAllowThreads(__tstate
);
34557 if (PyErr_Occurred()) SWIG_fail
;
34560 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34568 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34569 PyObject
*resultobj
;
34570 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34573 PyObject
* obj0
= 0 ;
34574 PyObject
* obj1
= 0 ;
34575 char *kwnames
[] = {
34576 (char *) "self",(char *) "pos", NULL
34579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
34580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34581 if (SWIG_arg_fail(1)) SWIG_fail
;
34583 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34584 if (SWIG_arg_fail(2)) SWIG_fail
;
34587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34588 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
34590 wxPyEndAllowThreads(__tstate
);
34591 if (PyErr_Occurred()) SWIG_fail
;
34594 resultobj
= wxPyMake_wxObject(result
, 0);
34602 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34603 PyObject
*resultobj
;
34604 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34606 wxMenu
*arg3
= (wxMenu
*) 0 ;
34607 wxString
*arg4
= 0 ;
34609 bool temp4
= false ;
34610 PyObject
* obj0
= 0 ;
34611 PyObject
* obj1
= 0 ;
34612 PyObject
* obj2
= 0 ;
34613 PyObject
* obj3
= 0 ;
34614 char *kwnames
[] = {
34615 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34620 if (SWIG_arg_fail(1)) SWIG_fail
;
34622 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34623 if (SWIG_arg_fail(2)) SWIG_fail
;
34625 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34626 if (SWIG_arg_fail(3)) SWIG_fail
;
34628 arg4
= wxString_in_helper(obj3
);
34629 if (arg4
== NULL
) SWIG_fail
;
34633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34634 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
34636 wxPyEndAllowThreads(__tstate
);
34637 if (PyErr_Occurred()) SWIG_fail
;
34640 resultobj
= wxPyMake_wxObject(result
, 0);
34656 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34657 PyObject
*resultobj
;
34658 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34661 PyObject
* obj0
= 0 ;
34662 PyObject
* obj1
= 0 ;
34663 char *kwnames
[] = {
34664 (char *) "self",(char *) "pos", NULL
34667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
34668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34669 if (SWIG_arg_fail(1)) SWIG_fail
;
34671 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34672 if (SWIG_arg_fail(2)) SWIG_fail
;
34675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34676 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
34678 wxPyEndAllowThreads(__tstate
);
34679 if (PyErr_Occurred()) SWIG_fail
;
34682 resultobj
= wxPyMake_wxObject(result
, 0);
34690 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34691 PyObject
*resultobj
;
34692 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34695 PyObject
* obj0
= 0 ;
34696 PyObject
* obj1
= 0 ;
34697 PyObject
* obj2
= 0 ;
34698 char *kwnames
[] = {
34699 (char *) "self",(char *) "pos",(char *) "enable", NULL
34702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34704 if (SWIG_arg_fail(1)) SWIG_fail
;
34706 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34707 if (SWIG_arg_fail(2)) SWIG_fail
;
34710 arg3
= (bool)(SWIG_As_bool(obj2
));
34711 if (SWIG_arg_fail(3)) SWIG_fail
;
34714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34715 (arg1
)->EnableTop(arg2
,arg3
);
34717 wxPyEndAllowThreads(__tstate
);
34718 if (PyErr_Occurred()) SWIG_fail
;
34720 Py_INCREF(Py_None
); resultobj
= Py_None
;
34727 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34728 PyObject
*resultobj
;
34729 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34732 PyObject
* obj0
= 0 ;
34733 PyObject
* obj1
= 0 ;
34734 char *kwnames
[] = {
34735 (char *) "self",(char *) "pos", NULL
34738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
34739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34740 if (SWIG_arg_fail(1)) SWIG_fail
;
34742 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34743 if (SWIG_arg_fail(2)) SWIG_fail
;
34746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34747 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
34749 wxPyEndAllowThreads(__tstate
);
34750 if (PyErr_Occurred()) SWIG_fail
;
34753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34761 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34762 PyObject
*resultobj
;
34763 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34765 wxString
*arg3
= 0 ;
34766 bool temp3
= false ;
34767 PyObject
* obj0
= 0 ;
34768 PyObject
* obj1
= 0 ;
34769 PyObject
* obj2
= 0 ;
34770 char *kwnames
[] = {
34771 (char *) "self",(char *) "pos",(char *) "label", NULL
34774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34776 if (SWIG_arg_fail(1)) SWIG_fail
;
34778 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34779 if (SWIG_arg_fail(2)) SWIG_fail
;
34782 arg3
= wxString_in_helper(obj2
);
34783 if (arg3
== NULL
) SWIG_fail
;
34787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34788 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
34790 wxPyEndAllowThreads(__tstate
);
34791 if (PyErr_Occurred()) SWIG_fail
;
34793 Py_INCREF(Py_None
); resultobj
= Py_None
;
34808 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34809 PyObject
*resultobj
;
34810 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34813 PyObject
* obj0
= 0 ;
34814 PyObject
* obj1
= 0 ;
34815 char *kwnames
[] = {
34816 (char *) "self",(char *) "pos", NULL
34819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
34820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34821 if (SWIG_arg_fail(1)) SWIG_fail
;
34823 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34824 if (SWIG_arg_fail(2)) SWIG_fail
;
34827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34828 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
34830 wxPyEndAllowThreads(__tstate
);
34831 if (PyErr_Occurred()) SWIG_fail
;
34835 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34837 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34846 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34847 PyObject
*resultobj
;
34848 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34849 wxString
*arg2
= 0 ;
34850 wxString
*arg3
= 0 ;
34852 bool temp2
= false ;
34853 bool temp3
= false ;
34854 PyObject
* obj0
= 0 ;
34855 PyObject
* obj1
= 0 ;
34856 PyObject
* obj2
= 0 ;
34857 char *kwnames
[] = {
34858 (char *) "self",(char *) "menu",(char *) "item", NULL
34861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34863 if (SWIG_arg_fail(1)) SWIG_fail
;
34865 arg2
= wxString_in_helper(obj1
);
34866 if (arg2
== NULL
) SWIG_fail
;
34870 arg3
= wxString_in_helper(obj2
);
34871 if (arg3
== NULL
) SWIG_fail
;
34875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34876 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
34878 wxPyEndAllowThreads(__tstate
);
34879 if (PyErr_Occurred()) SWIG_fail
;
34882 resultobj
= SWIG_From_int((int)(result
));
34906 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34907 PyObject
*resultobj
;
34908 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34910 wxMenuItem
*result
;
34911 PyObject
* obj0
= 0 ;
34912 PyObject
* obj1
= 0 ;
34913 char *kwnames
[] = {
34914 (char *) "self",(char *) "id", NULL
34917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34919 if (SWIG_arg_fail(1)) SWIG_fail
;
34921 arg2
= (int)(SWIG_As_int(obj1
));
34922 if (SWIG_arg_fail(2)) SWIG_fail
;
34925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34926 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
34928 wxPyEndAllowThreads(__tstate
);
34929 if (PyErr_Occurred()) SWIG_fail
;
34932 resultobj
= wxPyMake_wxObject(result
, 0);
34940 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34941 PyObject
*resultobj
;
34942 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34943 wxString
*arg2
= 0 ;
34945 bool temp2
= false ;
34946 PyObject
* obj0
= 0 ;
34947 PyObject
* obj1
= 0 ;
34948 char *kwnames
[] = {
34949 (char *) "self",(char *) "title", NULL
34952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
34953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34954 if (SWIG_arg_fail(1)) SWIG_fail
;
34956 arg2
= wxString_in_helper(obj1
);
34957 if (arg2
== NULL
) SWIG_fail
;
34961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34962 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
34964 wxPyEndAllowThreads(__tstate
);
34965 if (PyErr_Occurred()) SWIG_fail
;
34968 resultobj
= SWIG_From_int((int)(result
));
34984 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34985 PyObject
*resultobj
;
34986 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34989 PyObject
* obj0
= 0 ;
34990 PyObject
* obj1
= 0 ;
34991 PyObject
* obj2
= 0 ;
34992 char *kwnames
[] = {
34993 (char *) "self",(char *) "id",(char *) "enable", NULL
34996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34998 if (SWIG_arg_fail(1)) SWIG_fail
;
35000 arg2
= (int)(SWIG_As_int(obj1
));
35001 if (SWIG_arg_fail(2)) SWIG_fail
;
35004 arg3
= (bool)(SWIG_As_bool(obj2
));
35005 if (SWIG_arg_fail(3)) SWIG_fail
;
35008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35009 (arg1
)->Enable(arg2
,arg3
);
35011 wxPyEndAllowThreads(__tstate
);
35012 if (PyErr_Occurred()) SWIG_fail
;
35014 Py_INCREF(Py_None
); resultobj
= Py_None
;
35021 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35022 PyObject
*resultobj
;
35023 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35026 PyObject
* obj0
= 0 ;
35027 PyObject
* obj1
= 0 ;
35028 PyObject
* obj2
= 0 ;
35029 char *kwnames
[] = {
35030 (char *) "self",(char *) "id",(char *) "check", NULL
35033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35035 if (SWIG_arg_fail(1)) SWIG_fail
;
35037 arg2
= (int)(SWIG_As_int(obj1
));
35038 if (SWIG_arg_fail(2)) SWIG_fail
;
35041 arg3
= (bool)(SWIG_As_bool(obj2
));
35042 if (SWIG_arg_fail(3)) SWIG_fail
;
35045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35046 (arg1
)->Check(arg2
,arg3
);
35048 wxPyEndAllowThreads(__tstate
);
35049 if (PyErr_Occurred()) SWIG_fail
;
35051 Py_INCREF(Py_None
); resultobj
= Py_None
;
35058 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35059 PyObject
*resultobj
;
35060 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35063 PyObject
* obj0
= 0 ;
35064 PyObject
* obj1
= 0 ;
35065 char *kwnames
[] = {
35066 (char *) "self",(char *) "id", NULL
35069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
35070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35071 if (SWIG_arg_fail(1)) SWIG_fail
;
35073 arg2
= (int)(SWIG_As_int(obj1
));
35074 if (SWIG_arg_fail(2)) SWIG_fail
;
35077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35078 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
35080 wxPyEndAllowThreads(__tstate
);
35081 if (PyErr_Occurred()) SWIG_fail
;
35084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35092 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35093 PyObject
*resultobj
;
35094 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35097 PyObject
* obj0
= 0 ;
35098 PyObject
* obj1
= 0 ;
35099 char *kwnames
[] = {
35100 (char *) "self",(char *) "id", NULL
35103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
35104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35105 if (SWIG_arg_fail(1)) SWIG_fail
;
35107 arg2
= (int)(SWIG_As_int(obj1
));
35108 if (SWIG_arg_fail(2)) SWIG_fail
;
35111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35112 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
35114 wxPyEndAllowThreads(__tstate
);
35115 if (PyErr_Occurred()) SWIG_fail
;
35118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35126 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35127 PyObject
*resultobj
;
35128 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35130 wxString
*arg3
= 0 ;
35131 bool temp3
= false ;
35132 PyObject
* obj0
= 0 ;
35133 PyObject
* obj1
= 0 ;
35134 PyObject
* obj2
= 0 ;
35135 char *kwnames
[] = {
35136 (char *) "self",(char *) "id",(char *) "label", NULL
35139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35141 if (SWIG_arg_fail(1)) SWIG_fail
;
35143 arg2
= (int)(SWIG_As_int(obj1
));
35144 if (SWIG_arg_fail(2)) SWIG_fail
;
35147 arg3
= wxString_in_helper(obj2
);
35148 if (arg3
== NULL
) SWIG_fail
;
35152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35153 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
35155 wxPyEndAllowThreads(__tstate
);
35156 if (PyErr_Occurred()) SWIG_fail
;
35158 Py_INCREF(Py_None
); resultobj
= Py_None
;
35173 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35174 PyObject
*resultobj
;
35175 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35178 PyObject
* obj0
= 0 ;
35179 PyObject
* obj1
= 0 ;
35180 char *kwnames
[] = {
35181 (char *) "self",(char *) "id", NULL
35184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
35185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35186 if (SWIG_arg_fail(1)) SWIG_fail
;
35188 arg2
= (int)(SWIG_As_int(obj1
));
35189 if (SWIG_arg_fail(2)) SWIG_fail
;
35192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35193 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
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_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35212 PyObject
*resultobj
;
35213 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35215 wxString
*arg3
= 0 ;
35216 bool temp3
= false ;
35217 PyObject
* obj0
= 0 ;
35218 PyObject
* obj1
= 0 ;
35219 PyObject
* obj2
= 0 ;
35220 char *kwnames
[] = {
35221 (char *) "self",(char *) "id",(char *) "helpString", NULL
35224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35226 if (SWIG_arg_fail(1)) SWIG_fail
;
35228 arg2
= (int)(SWIG_As_int(obj1
));
35229 if (SWIG_arg_fail(2)) SWIG_fail
;
35232 arg3
= wxString_in_helper(obj2
);
35233 if (arg3
== NULL
) SWIG_fail
;
35237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35238 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
35240 wxPyEndAllowThreads(__tstate
);
35241 if (PyErr_Occurred()) SWIG_fail
;
35243 Py_INCREF(Py_None
); resultobj
= Py_None
;
35258 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35259 PyObject
*resultobj
;
35260 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35263 PyObject
* obj0
= 0 ;
35264 PyObject
* obj1
= 0 ;
35265 char *kwnames
[] = {
35266 (char *) "self",(char *) "id", NULL
35269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
35270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35271 if (SWIG_arg_fail(1)) SWIG_fail
;
35273 arg2
= (int)(SWIG_As_int(obj1
));
35274 if (SWIG_arg_fail(2)) SWIG_fail
;
35277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35278 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
35280 wxPyEndAllowThreads(__tstate
);
35281 if (PyErr_Occurred()) SWIG_fail
;
35285 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35287 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35296 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35297 PyObject
*resultobj
;
35298 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35300 PyObject
* obj0
= 0 ;
35301 char *kwnames
[] = {
35302 (char *) "self", NULL
35305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
35306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35307 if (SWIG_arg_fail(1)) SWIG_fail
;
35309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35310 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
35312 wxPyEndAllowThreads(__tstate
);
35313 if (PyErr_Occurred()) SWIG_fail
;
35316 resultobj
= wxPyMake_wxObject(result
, 0);
35324 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35325 PyObject
*resultobj
;
35326 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35328 PyObject
* obj0
= 0 ;
35329 char *kwnames
[] = {
35330 (char *) "self", NULL
35333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
35334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35335 if (SWIG_arg_fail(1)) SWIG_fail
;
35337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35338 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
35340 wxPyEndAllowThreads(__tstate
);
35341 if (PyErr_Occurred()) SWIG_fail
;
35344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35352 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35353 PyObject
*resultobj
;
35354 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35355 wxFrame
*arg2
= (wxFrame
*) 0 ;
35356 PyObject
* obj0
= 0 ;
35357 PyObject
* obj1
= 0 ;
35358 char *kwnames
[] = {
35359 (char *) "self",(char *) "frame", NULL
35362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35364 if (SWIG_arg_fail(1)) SWIG_fail
;
35365 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
35366 if (SWIG_arg_fail(2)) SWIG_fail
;
35368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35369 (arg1
)->Attach(arg2
);
35371 wxPyEndAllowThreads(__tstate
);
35372 if (PyErr_Occurred()) SWIG_fail
;
35374 Py_INCREF(Py_None
); resultobj
= Py_None
;
35381 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35382 PyObject
*resultobj
;
35383 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35384 PyObject
* obj0
= 0 ;
35385 char *kwnames
[] = {
35386 (char *) "self", NULL
35389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
35390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35391 if (SWIG_arg_fail(1)) SWIG_fail
;
35393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35396 wxPyEndAllowThreads(__tstate
);
35397 if (PyErr_Occurred()) SWIG_fail
;
35399 Py_INCREF(Py_None
); resultobj
= Py_None
;
35406 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
35408 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35409 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
35411 return Py_BuildValue((char *)"");
35413 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35414 PyObject
*resultobj
;
35415 wxMenu
*arg1
= (wxMenu
*) NULL
;
35416 int arg2
= (int) wxID_ANY
;
35417 wxString
const &arg3_defvalue
= wxPyEmptyString
;
35418 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
35419 wxString
const &arg4_defvalue
= wxPyEmptyString
;
35420 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
35421 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
35422 wxMenu
*arg6
= (wxMenu
*) NULL
;
35423 wxMenuItem
*result
;
35424 bool temp3
= false ;
35425 bool temp4
= false ;
35426 PyObject
* obj0
= 0 ;
35427 PyObject
* obj1
= 0 ;
35428 PyObject
* obj2
= 0 ;
35429 PyObject
* obj3
= 0 ;
35430 PyObject
* obj4
= 0 ;
35431 PyObject
* obj5
= 0 ;
35432 char *kwnames
[] = {
35433 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
35436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35439 if (SWIG_arg_fail(1)) SWIG_fail
;
35443 arg2
= (int)(SWIG_As_int(obj1
));
35444 if (SWIG_arg_fail(2)) SWIG_fail
;
35449 arg3
= wxString_in_helper(obj2
);
35450 if (arg3
== NULL
) SWIG_fail
;
35456 arg4
= wxString_in_helper(obj3
);
35457 if (arg4
== NULL
) SWIG_fail
;
35463 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
35464 if (SWIG_arg_fail(5)) SWIG_fail
;
35468 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35469 if (SWIG_arg_fail(6)) SWIG_fail
;
35472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35473 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
35475 wxPyEndAllowThreads(__tstate
);
35476 if (PyErr_Occurred()) SWIG_fail
;
35479 resultobj
= wxPyMake_wxObject(result
, 1);
35503 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35504 PyObject
*resultobj
;
35505 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35507 PyObject
* obj0
= 0 ;
35508 char *kwnames
[] = {
35509 (char *) "self", NULL
35512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
35513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35514 if (SWIG_arg_fail(1)) SWIG_fail
;
35516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35517 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
35519 wxPyEndAllowThreads(__tstate
);
35520 if (PyErr_Occurred()) SWIG_fail
;
35523 resultobj
= wxPyMake_wxObject(result
, 0);
35531 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35532 PyObject
*resultobj
;
35533 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35534 wxMenu
*arg2
= (wxMenu
*) 0 ;
35535 PyObject
* obj0
= 0 ;
35536 PyObject
* obj1
= 0 ;
35537 char *kwnames
[] = {
35538 (char *) "self",(char *) "menu", NULL
35541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35543 if (SWIG_arg_fail(1)) SWIG_fail
;
35544 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35545 if (SWIG_arg_fail(2)) SWIG_fail
;
35547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35548 (arg1
)->SetMenu(arg2
);
35550 wxPyEndAllowThreads(__tstate
);
35551 if (PyErr_Occurred()) SWIG_fail
;
35553 Py_INCREF(Py_None
); resultobj
= Py_None
;
35560 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35561 PyObject
*resultobj
;
35562 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35564 PyObject
* obj0
= 0 ;
35565 PyObject
* obj1
= 0 ;
35566 char *kwnames
[] = {
35567 (char *) "self",(char *) "id", NULL
35570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
35571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35572 if (SWIG_arg_fail(1)) SWIG_fail
;
35574 arg2
= (int)(SWIG_As_int(obj1
));
35575 if (SWIG_arg_fail(2)) SWIG_fail
;
35578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35579 (arg1
)->SetId(arg2
);
35581 wxPyEndAllowThreads(__tstate
);
35582 if (PyErr_Occurred()) SWIG_fail
;
35584 Py_INCREF(Py_None
); resultobj
= Py_None
;
35591 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35592 PyObject
*resultobj
;
35593 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35595 PyObject
* obj0
= 0 ;
35596 char *kwnames
[] = {
35597 (char *) "self", NULL
35600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
35601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35602 if (SWIG_arg_fail(1)) SWIG_fail
;
35604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35605 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
35607 wxPyEndAllowThreads(__tstate
);
35608 if (PyErr_Occurred()) SWIG_fail
;
35611 resultobj
= SWIG_From_int((int)(result
));
35619 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35620 PyObject
*resultobj
;
35621 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35623 PyObject
* obj0
= 0 ;
35624 char *kwnames
[] = {
35625 (char *) "self", NULL
35628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
35629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35630 if (SWIG_arg_fail(1)) SWIG_fail
;
35632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35633 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
35635 wxPyEndAllowThreads(__tstate
);
35636 if (PyErr_Occurred()) SWIG_fail
;
35639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35647 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35648 PyObject
*resultobj
;
35649 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35650 wxString
*arg2
= 0 ;
35651 bool temp2
= false ;
35652 PyObject
* obj0
= 0 ;
35653 PyObject
* obj1
= 0 ;
35654 char *kwnames
[] = {
35655 (char *) "self",(char *) "str", NULL
35658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
35659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35660 if (SWIG_arg_fail(1)) SWIG_fail
;
35662 arg2
= wxString_in_helper(obj1
);
35663 if (arg2
== NULL
) SWIG_fail
;
35667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35668 (arg1
)->SetText((wxString
const &)*arg2
);
35670 wxPyEndAllowThreads(__tstate
);
35671 if (PyErr_Occurred()) SWIG_fail
;
35673 Py_INCREF(Py_None
); resultobj
= Py_None
;
35688 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35689 PyObject
*resultobj
;
35690 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35692 PyObject
* obj0
= 0 ;
35693 char *kwnames
[] = {
35694 (char *) "self", NULL
35697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
35698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35699 if (SWIG_arg_fail(1)) SWIG_fail
;
35701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35702 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
35704 wxPyEndAllowThreads(__tstate
);
35705 if (PyErr_Occurred()) SWIG_fail
;
35709 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35711 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35720 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35721 PyObject
*resultobj
;
35722 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35724 PyObject
* obj0
= 0 ;
35725 char *kwnames
[] = {
35726 (char *) "self", NULL
35729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
35730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35731 if (SWIG_arg_fail(1)) SWIG_fail
;
35733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35735 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
35736 result
= (wxString
*) &_result_ref
;
35739 wxPyEndAllowThreads(__tstate
);
35740 if (PyErr_Occurred()) SWIG_fail
;
35744 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
35746 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
35755 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35756 PyObject
*resultobj
;
35757 wxString
*arg1
= 0 ;
35759 bool temp1
= false ;
35760 PyObject
* obj0
= 0 ;
35761 char *kwnames
[] = {
35762 (char *) "text", NULL
35765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
35767 arg1
= wxString_in_helper(obj0
);
35768 if (arg1
== NULL
) SWIG_fail
;
35772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35773 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
35775 wxPyEndAllowThreads(__tstate
);
35776 if (PyErr_Occurred()) SWIG_fail
;
35780 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35782 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35799 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35800 PyObject
*resultobj
;
35801 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35803 PyObject
* obj0
= 0 ;
35804 char *kwnames
[] = {
35805 (char *) "self", NULL
35808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
35809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35810 if (SWIG_arg_fail(1)) SWIG_fail
;
35812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35813 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
35815 wxPyEndAllowThreads(__tstate
);
35816 if (PyErr_Occurred()) SWIG_fail
;
35818 resultobj
= SWIG_From_int((result
));
35825 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35826 PyObject
*resultobj
;
35827 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35829 PyObject
* obj0
= 0 ;
35830 PyObject
* obj1
= 0 ;
35831 char *kwnames
[] = {
35832 (char *) "self",(char *) "kind", NULL
35835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
35836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35837 if (SWIG_arg_fail(1)) SWIG_fail
;
35839 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
35840 if (SWIG_arg_fail(2)) SWIG_fail
;
35843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35844 (arg1
)->SetKind((wxItemKind
)arg2
);
35846 wxPyEndAllowThreads(__tstate
);
35847 if (PyErr_Occurred()) SWIG_fail
;
35849 Py_INCREF(Py_None
); resultobj
= Py_None
;
35856 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35857 PyObject
*resultobj
;
35858 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35860 PyObject
* obj0
= 0 ;
35861 PyObject
* obj1
= 0 ;
35862 char *kwnames
[] = {
35863 (char *) "self",(char *) "checkable", NULL
35866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
35867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35868 if (SWIG_arg_fail(1)) SWIG_fail
;
35870 arg2
= (bool)(SWIG_As_bool(obj1
));
35871 if (SWIG_arg_fail(2)) SWIG_fail
;
35874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35875 (arg1
)->SetCheckable(arg2
);
35877 wxPyEndAllowThreads(__tstate
);
35878 if (PyErr_Occurred()) SWIG_fail
;
35880 Py_INCREF(Py_None
); resultobj
= Py_None
;
35887 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35888 PyObject
*resultobj
;
35889 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35891 PyObject
* obj0
= 0 ;
35892 char *kwnames
[] = {
35893 (char *) "self", NULL
35896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
35897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35898 if (SWIG_arg_fail(1)) SWIG_fail
;
35900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35901 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
35903 wxPyEndAllowThreads(__tstate
);
35904 if (PyErr_Occurred()) SWIG_fail
;
35907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35915 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35916 PyObject
*resultobj
;
35917 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35919 PyObject
* obj0
= 0 ;
35920 char *kwnames
[] = {
35921 (char *) "self", NULL
35924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
35925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35926 if (SWIG_arg_fail(1)) SWIG_fail
;
35928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35929 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
35931 wxPyEndAllowThreads(__tstate
);
35932 if (PyErr_Occurred()) SWIG_fail
;
35935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35943 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35944 PyObject
*resultobj
;
35945 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35946 wxMenu
*arg2
= (wxMenu
*) 0 ;
35947 PyObject
* obj0
= 0 ;
35948 PyObject
* obj1
= 0 ;
35949 char *kwnames
[] = {
35950 (char *) "self",(char *) "menu", NULL
35953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35955 if (SWIG_arg_fail(1)) SWIG_fail
;
35956 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35957 if (SWIG_arg_fail(2)) SWIG_fail
;
35959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35960 (arg1
)->SetSubMenu(arg2
);
35962 wxPyEndAllowThreads(__tstate
);
35963 if (PyErr_Occurred()) SWIG_fail
;
35965 Py_INCREF(Py_None
); resultobj
= Py_None
;
35972 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35973 PyObject
*resultobj
;
35974 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35976 PyObject
* obj0
= 0 ;
35977 char *kwnames
[] = {
35978 (char *) "self", NULL
35981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
35982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35983 if (SWIG_arg_fail(1)) SWIG_fail
;
35985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35986 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
35988 wxPyEndAllowThreads(__tstate
);
35989 if (PyErr_Occurred()) SWIG_fail
;
35992 resultobj
= wxPyMake_wxObject(result
, 0);
36000 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36001 PyObject
*resultobj
;
36002 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36003 bool arg2
= (bool) true ;
36004 PyObject
* obj0
= 0 ;
36005 PyObject
* obj1
= 0 ;
36006 char *kwnames
[] = {
36007 (char *) "self",(char *) "enable", NULL
36010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
36011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36012 if (SWIG_arg_fail(1)) SWIG_fail
;
36015 arg2
= (bool)(SWIG_As_bool(obj1
));
36016 if (SWIG_arg_fail(2)) SWIG_fail
;
36020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36021 (arg1
)->Enable(arg2
);
36023 wxPyEndAllowThreads(__tstate
);
36024 if (PyErr_Occurred()) SWIG_fail
;
36026 Py_INCREF(Py_None
); resultobj
= Py_None
;
36033 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36034 PyObject
*resultobj
;
36035 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36037 PyObject
* obj0
= 0 ;
36038 char *kwnames
[] = {
36039 (char *) "self", NULL
36042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
36043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36044 if (SWIG_arg_fail(1)) SWIG_fail
;
36046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36047 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
36049 wxPyEndAllowThreads(__tstate
);
36050 if (PyErr_Occurred()) SWIG_fail
;
36053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36061 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36062 PyObject
*resultobj
;
36063 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36064 bool arg2
= (bool) true ;
36065 PyObject
* obj0
= 0 ;
36066 PyObject
* obj1
= 0 ;
36067 char *kwnames
[] = {
36068 (char *) "self",(char *) "check", NULL
36071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
36072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36073 if (SWIG_arg_fail(1)) SWIG_fail
;
36076 arg2
= (bool)(SWIG_As_bool(obj1
));
36077 if (SWIG_arg_fail(2)) SWIG_fail
;
36081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36082 (arg1
)->Check(arg2
);
36084 wxPyEndAllowThreads(__tstate
);
36085 if (PyErr_Occurred()) SWIG_fail
;
36087 Py_INCREF(Py_None
); resultobj
= Py_None
;
36094 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36095 PyObject
*resultobj
;
36096 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36098 PyObject
* obj0
= 0 ;
36099 char *kwnames
[] = {
36100 (char *) "self", NULL
36103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
36104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36105 if (SWIG_arg_fail(1)) SWIG_fail
;
36107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36108 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
36110 wxPyEndAllowThreads(__tstate
);
36111 if (PyErr_Occurred()) SWIG_fail
;
36114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36122 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36123 PyObject
*resultobj
;
36124 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36125 PyObject
* obj0
= 0 ;
36126 char *kwnames
[] = {
36127 (char *) "self", NULL
36130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
36131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36132 if (SWIG_arg_fail(1)) SWIG_fail
;
36134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36137 wxPyEndAllowThreads(__tstate
);
36138 if (PyErr_Occurred()) SWIG_fail
;
36140 Py_INCREF(Py_None
); resultobj
= Py_None
;
36147 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36148 PyObject
*resultobj
;
36149 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36150 wxString
*arg2
= 0 ;
36151 bool temp2
= false ;
36152 PyObject
* obj0
= 0 ;
36153 PyObject
* obj1
= 0 ;
36154 char *kwnames
[] = {
36155 (char *) "self",(char *) "str", NULL
36158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
36159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36160 if (SWIG_arg_fail(1)) SWIG_fail
;
36162 arg2
= wxString_in_helper(obj1
);
36163 if (arg2
== NULL
) SWIG_fail
;
36167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36168 (arg1
)->SetHelp((wxString
const &)*arg2
);
36170 wxPyEndAllowThreads(__tstate
);
36171 if (PyErr_Occurred()) SWIG_fail
;
36173 Py_INCREF(Py_None
); resultobj
= Py_None
;
36188 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36189 PyObject
*resultobj
;
36190 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36192 PyObject
* obj0
= 0 ;
36193 char *kwnames
[] = {
36194 (char *) "self", NULL
36197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
36198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36199 if (SWIG_arg_fail(1)) SWIG_fail
;
36201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36203 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
36204 result
= (wxString
*) &_result_ref
;
36207 wxPyEndAllowThreads(__tstate
);
36208 if (PyErr_Occurred()) SWIG_fail
;
36212 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36214 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36223 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36224 PyObject
*resultobj
;
36225 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36226 wxAcceleratorEntry
*result
;
36227 PyObject
* obj0
= 0 ;
36228 char *kwnames
[] = {
36229 (char *) "self", NULL
36232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
36233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36234 if (SWIG_arg_fail(1)) SWIG_fail
;
36236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36237 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
36239 wxPyEndAllowThreads(__tstate
);
36240 if (PyErr_Occurred()) SWIG_fail
;
36242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
36249 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36250 PyObject
*resultobj
;
36251 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36252 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
36253 PyObject
* obj0
= 0 ;
36254 PyObject
* obj1
= 0 ;
36255 char *kwnames
[] = {
36256 (char *) "self",(char *) "accel", NULL
36259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
36260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36261 if (SWIG_arg_fail(1)) SWIG_fail
;
36262 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
36263 if (SWIG_arg_fail(2)) SWIG_fail
;
36265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36266 (arg1
)->SetAccel(arg2
);
36268 wxPyEndAllowThreads(__tstate
);
36269 if (PyErr_Occurred()) SWIG_fail
;
36271 Py_INCREF(Py_None
); resultobj
= Py_None
;
36278 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36279 PyObject
*resultobj
;
36280 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36282 PyObject
* obj0
= 0 ;
36283 PyObject
* obj1
= 0 ;
36284 char *kwnames
[] = {
36285 (char *) "self",(char *) "font", NULL
36288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
36289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36290 if (SWIG_arg_fail(1)) SWIG_fail
;
36292 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
36293 if (SWIG_arg_fail(2)) SWIG_fail
;
36294 if (arg2
== NULL
) {
36295 SWIG_null_ref("wxFont");
36297 if (SWIG_arg_fail(2)) SWIG_fail
;
36300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36301 wxMenuItem_SetFont(arg1
,(wxFont
const &)*arg2
);
36303 wxPyEndAllowThreads(__tstate
);
36304 if (PyErr_Occurred()) SWIG_fail
;
36306 Py_INCREF(Py_None
); resultobj
= Py_None
;
36313 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36314 PyObject
*resultobj
;
36315 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36317 PyObject
* obj0
= 0 ;
36318 char *kwnames
[] = {
36319 (char *) "self", NULL
36322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
36323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36324 if (SWIG_arg_fail(1)) SWIG_fail
;
36326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36327 result
= wxMenuItem_GetFont(arg1
);
36329 wxPyEndAllowThreads(__tstate
);
36330 if (PyErr_Occurred()) SWIG_fail
;
36333 wxFont
* resultptr
;
36334 resultptr
= new wxFont((wxFont
&)(result
));
36335 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
36343 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36344 PyObject
*resultobj
;
36345 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36346 wxColour
*arg2
= 0 ;
36348 PyObject
* obj0
= 0 ;
36349 PyObject
* obj1
= 0 ;
36350 char *kwnames
[] = {
36351 (char *) "self",(char *) "colText", NULL
36354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36356 if (SWIG_arg_fail(1)) SWIG_fail
;
36359 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36363 wxMenuItem_SetTextColour(arg1
,(wxColour
const &)*arg2
);
36365 wxPyEndAllowThreads(__tstate
);
36366 if (PyErr_Occurred()) SWIG_fail
;
36368 Py_INCREF(Py_None
); resultobj
= Py_None
;
36375 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36376 PyObject
*resultobj
;
36377 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36379 PyObject
* obj0
= 0 ;
36380 char *kwnames
[] = {
36381 (char *) "self", NULL
36384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
36385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36386 if (SWIG_arg_fail(1)) SWIG_fail
;
36388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36389 result
= wxMenuItem_GetTextColour(arg1
);
36391 wxPyEndAllowThreads(__tstate
);
36392 if (PyErr_Occurred()) SWIG_fail
;
36395 wxColour
* resultptr
;
36396 resultptr
= new wxColour((wxColour
&)(result
));
36397 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36405 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36406 PyObject
*resultobj
;
36407 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36408 wxColour
*arg2
= 0 ;
36410 PyObject
* obj0
= 0 ;
36411 PyObject
* obj1
= 0 ;
36412 char *kwnames
[] = {
36413 (char *) "self",(char *) "colBack", NULL
36416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36418 if (SWIG_arg_fail(1)) SWIG_fail
;
36421 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36425 wxMenuItem_SetBackgroundColour(arg1
,(wxColour
const &)*arg2
);
36427 wxPyEndAllowThreads(__tstate
);
36428 if (PyErr_Occurred()) SWIG_fail
;
36430 Py_INCREF(Py_None
); resultobj
= Py_None
;
36437 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36438 PyObject
*resultobj
;
36439 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36441 PyObject
* obj0
= 0 ;
36442 char *kwnames
[] = {
36443 (char *) "self", NULL
36446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
36447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36448 if (SWIG_arg_fail(1)) SWIG_fail
;
36450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36451 result
= wxMenuItem_GetBackgroundColour(arg1
);
36453 wxPyEndAllowThreads(__tstate
);
36454 if (PyErr_Occurred()) SWIG_fail
;
36457 wxColour
* resultptr
;
36458 resultptr
= new wxColour((wxColour
&)(result
));
36459 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36467 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36468 PyObject
*resultobj
;
36469 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36470 wxBitmap
*arg2
= 0 ;
36471 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
36472 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
36473 PyObject
* obj0
= 0 ;
36474 PyObject
* obj1
= 0 ;
36475 PyObject
* obj2
= 0 ;
36476 char *kwnames
[] = {
36477 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
36480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36482 if (SWIG_arg_fail(1)) SWIG_fail
;
36484 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36485 if (SWIG_arg_fail(2)) SWIG_fail
;
36486 if (arg2
== NULL
) {
36487 SWIG_null_ref("wxBitmap");
36489 if (SWIG_arg_fail(2)) SWIG_fail
;
36493 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36494 if (SWIG_arg_fail(3)) SWIG_fail
;
36495 if (arg3
== NULL
) {
36496 SWIG_null_ref("wxBitmap");
36498 if (SWIG_arg_fail(3)) SWIG_fail
;
36502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36503 wxMenuItem_SetBitmaps(arg1
,(wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
36505 wxPyEndAllowThreads(__tstate
);
36506 if (PyErr_Occurred()) SWIG_fail
;
36508 Py_INCREF(Py_None
); resultobj
= Py_None
;
36515 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36516 PyObject
*resultobj
;
36517 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36518 wxBitmap
*arg2
= 0 ;
36519 PyObject
* obj0
= 0 ;
36520 PyObject
* obj1
= 0 ;
36521 char *kwnames
[] = {
36522 (char *) "self",(char *) "bmpDisabled", NULL
36525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
36526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36527 if (SWIG_arg_fail(1)) SWIG_fail
;
36529 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36530 if (SWIG_arg_fail(2)) SWIG_fail
;
36531 if (arg2
== NULL
) {
36532 SWIG_null_ref("wxBitmap");
36534 if (SWIG_arg_fail(2)) SWIG_fail
;
36537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36538 wxMenuItem_SetDisabledBitmap(arg1
,(wxBitmap
const &)*arg2
);
36540 wxPyEndAllowThreads(__tstate
);
36541 if (PyErr_Occurred()) SWIG_fail
;
36543 Py_INCREF(Py_None
); resultobj
= Py_None
;
36550 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36551 PyObject
*resultobj
;
36552 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36554 PyObject
* obj0
= 0 ;
36555 char *kwnames
[] = {
36556 (char *) "self", NULL
36559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
36560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36561 if (SWIG_arg_fail(1)) SWIG_fail
;
36563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36565 wxBitmap
const &_result_ref
= wxMenuItem_GetDisabledBitmap((wxMenuItem
const *)arg1
);
36566 result
= (wxBitmap
*) &_result_ref
;
36569 wxPyEndAllowThreads(__tstate
);
36570 if (PyErr_Occurred()) SWIG_fail
;
36573 wxBitmap
* resultptr
= new wxBitmap(*result
);
36574 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
36582 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36583 PyObject
*resultobj
;
36584 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36586 PyObject
* obj0
= 0 ;
36587 PyObject
* obj1
= 0 ;
36588 char *kwnames
[] = {
36589 (char *) "self",(char *) "nWidth", NULL
36592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
36593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36594 if (SWIG_arg_fail(1)) SWIG_fail
;
36596 arg2
= (int)(SWIG_As_int(obj1
));
36597 if (SWIG_arg_fail(2)) SWIG_fail
;
36600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36601 wxMenuItem_SetMarginWidth(arg1
,arg2
);
36603 wxPyEndAllowThreads(__tstate
);
36604 if (PyErr_Occurred()) SWIG_fail
;
36606 Py_INCREF(Py_None
); resultobj
= Py_None
;
36613 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36614 PyObject
*resultobj
;
36615 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36617 PyObject
* obj0
= 0 ;
36618 char *kwnames
[] = {
36619 (char *) "self", NULL
36622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
36623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36624 if (SWIG_arg_fail(1)) SWIG_fail
;
36626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36627 result
= (int)wxMenuItem_GetMarginWidth(arg1
);
36629 wxPyEndAllowThreads(__tstate
);
36630 if (PyErr_Occurred()) SWIG_fail
;
36633 resultobj
= SWIG_From_int((int)(result
));
36641 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36642 PyObject
*resultobj
;
36644 char *kwnames
[] = {
36648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
36650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36651 result
= (int)MenuItem_GetDefaultMarginWidth();
36653 wxPyEndAllowThreads(__tstate
);
36654 if (PyErr_Occurred()) SWIG_fail
;
36657 resultobj
= SWIG_From_int((int)(result
));
36665 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36666 PyObject
*resultobj
;
36667 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36669 PyObject
* obj0
= 0 ;
36670 char *kwnames
[] = {
36671 (char *) "self", NULL
36674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
36675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36676 if (SWIG_arg_fail(1)) SWIG_fail
;
36678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36679 result
= (bool)wxMenuItem_IsOwnerDrawn(arg1
);
36681 wxPyEndAllowThreads(__tstate
);
36682 if (PyErr_Occurred()) SWIG_fail
;
36685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36693 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36694 PyObject
*resultobj
;
36695 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36696 bool arg2
= (bool) true ;
36697 PyObject
* obj0
= 0 ;
36698 PyObject
* obj1
= 0 ;
36699 char *kwnames
[] = {
36700 (char *) "self",(char *) "ownerDrawn", NULL
36703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
36704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36705 if (SWIG_arg_fail(1)) SWIG_fail
;
36708 arg2
= (bool)(SWIG_As_bool(obj1
));
36709 if (SWIG_arg_fail(2)) SWIG_fail
;
36713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36714 wxMenuItem_SetOwnerDrawn(arg1
,arg2
);
36716 wxPyEndAllowThreads(__tstate
);
36717 if (PyErr_Occurred()) SWIG_fail
;
36719 Py_INCREF(Py_None
); resultobj
= Py_None
;
36726 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36727 PyObject
*resultobj
;
36728 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36729 PyObject
* obj0
= 0 ;
36730 char *kwnames
[] = {
36731 (char *) "self", NULL
36734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
36735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36736 if (SWIG_arg_fail(1)) SWIG_fail
;
36738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36739 wxMenuItem_ResetOwnerDrawn(arg1
);
36741 wxPyEndAllowThreads(__tstate
);
36742 if (PyErr_Occurred()) SWIG_fail
;
36744 Py_INCREF(Py_None
); resultobj
= Py_None
;
36751 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36752 PyObject
*resultobj
;
36753 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36754 wxBitmap
*arg2
= 0 ;
36755 PyObject
* obj0
= 0 ;
36756 PyObject
* obj1
= 0 ;
36757 char *kwnames
[] = {
36758 (char *) "self",(char *) "bitmap", NULL
36761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
36762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36763 if (SWIG_arg_fail(1)) SWIG_fail
;
36765 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36766 if (SWIG_arg_fail(2)) SWIG_fail
;
36767 if (arg2
== NULL
) {
36768 SWIG_null_ref("wxBitmap");
36770 if (SWIG_arg_fail(2)) SWIG_fail
;
36773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36774 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
36776 wxPyEndAllowThreads(__tstate
);
36777 if (PyErr_Occurred()) SWIG_fail
;
36779 Py_INCREF(Py_None
); resultobj
= Py_None
;
36786 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36787 PyObject
*resultobj
;
36788 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36790 PyObject
* obj0
= 0 ;
36791 char *kwnames
[] = {
36792 (char *) "self", NULL
36795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
36796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36797 if (SWIG_arg_fail(1)) SWIG_fail
;
36799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36801 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
36802 result
= (wxBitmap
*) &_result_ref
;
36805 wxPyEndAllowThreads(__tstate
);
36806 if (PyErr_Occurred()) SWIG_fail
;
36809 wxBitmap
* resultptr
= new wxBitmap(*result
);
36810 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
36818 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
36820 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36821 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
36823 return Py_BuildValue((char *)"");
36825 static int _wrap_ControlNameStr_set(PyObject
*) {
36826 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
36831 static PyObject
*_wrap_ControlNameStr_get(void) {
36836 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
36838 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
36845 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36846 PyObject
*resultobj
;
36847 wxWindow
*arg1
= (wxWindow
*) 0 ;
36848 int arg2
= (int) -1 ;
36849 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
36850 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
36851 wxSize
const &arg4_defvalue
= wxDefaultSize
;
36852 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
36853 long arg5
= (long) 0 ;
36854 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
36855 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
36856 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
36857 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
36861 bool temp7
= false ;
36862 PyObject
* obj0
= 0 ;
36863 PyObject
* obj1
= 0 ;
36864 PyObject
* obj2
= 0 ;
36865 PyObject
* obj3
= 0 ;
36866 PyObject
* obj4
= 0 ;
36867 PyObject
* obj5
= 0 ;
36868 PyObject
* obj6
= 0 ;
36869 char *kwnames
[] = {
36870 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
36875 if (SWIG_arg_fail(1)) SWIG_fail
;
36878 arg2
= (int)(SWIG_As_int(obj1
));
36879 if (SWIG_arg_fail(2)) SWIG_fail
;
36885 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36891 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
36896 arg5
= (long)(SWIG_As_long(obj4
));
36897 if (SWIG_arg_fail(5)) SWIG_fail
;
36902 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
36903 if (SWIG_arg_fail(6)) SWIG_fail
;
36904 if (arg6
== NULL
) {
36905 SWIG_null_ref("wxValidator");
36907 if (SWIG_arg_fail(6)) SWIG_fail
;
36912 arg7
= wxString_in_helper(obj6
);
36913 if (arg7
== NULL
) SWIG_fail
;
36918 if (!wxPyCheckForApp()) SWIG_fail
;
36919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36920 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
36922 wxPyEndAllowThreads(__tstate
);
36923 if (PyErr_Occurred()) SWIG_fail
;
36925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
36940 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36941 PyObject
*resultobj
;
36943 char *kwnames
[] = {
36947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
36949 if (!wxPyCheckForApp()) SWIG_fail
;
36950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36951 result
= (wxControl
*)new wxControl();
36953 wxPyEndAllowThreads(__tstate
);
36954 if (PyErr_Occurred()) SWIG_fail
;
36956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
36963 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36964 PyObject
*resultobj
;
36965 wxControl
*arg1
= (wxControl
*) 0 ;
36966 wxWindow
*arg2
= (wxWindow
*) 0 ;
36967 int arg3
= (int) -1 ;
36968 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
36969 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
36970 wxSize
const &arg5_defvalue
= wxDefaultSize
;
36971 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
36972 long arg6
= (long) 0 ;
36973 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
36974 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
36975 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
36976 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
36980 bool temp8
= false ;
36981 PyObject
* obj0
= 0 ;
36982 PyObject
* obj1
= 0 ;
36983 PyObject
* obj2
= 0 ;
36984 PyObject
* obj3
= 0 ;
36985 PyObject
* obj4
= 0 ;
36986 PyObject
* obj5
= 0 ;
36987 PyObject
* obj6
= 0 ;
36988 PyObject
* obj7
= 0 ;
36989 char *kwnames
[] = {
36990 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
36994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36995 if (SWIG_arg_fail(1)) SWIG_fail
;
36996 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
36997 if (SWIG_arg_fail(2)) SWIG_fail
;
37000 arg3
= (int)(SWIG_As_int(obj2
));
37001 if (SWIG_arg_fail(3)) SWIG_fail
;
37007 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37013 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37018 arg6
= (long)(SWIG_As_long(obj5
));
37019 if (SWIG_arg_fail(6)) SWIG_fail
;
37024 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37025 if (SWIG_arg_fail(7)) SWIG_fail
;
37026 if (arg7
== NULL
) {
37027 SWIG_null_ref("wxValidator");
37029 if (SWIG_arg_fail(7)) SWIG_fail
;
37034 arg8
= wxString_in_helper(obj7
);
37035 if (arg8
== NULL
) SWIG_fail
;
37040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37041 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
37043 wxPyEndAllowThreads(__tstate
);
37044 if (PyErr_Occurred()) SWIG_fail
;
37047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37063 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37064 PyObject
*resultobj
;
37065 wxControl
*arg1
= (wxControl
*) 0 ;
37066 wxCommandEvent
*arg2
= 0 ;
37067 PyObject
* obj0
= 0 ;
37068 PyObject
* obj1
= 0 ;
37069 char *kwnames
[] = {
37070 (char *) "self",(char *) "event", NULL
37073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
37074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37075 if (SWIG_arg_fail(1)) SWIG_fail
;
37077 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
37078 if (SWIG_arg_fail(2)) SWIG_fail
;
37079 if (arg2
== NULL
) {
37080 SWIG_null_ref("wxCommandEvent");
37082 if (SWIG_arg_fail(2)) SWIG_fail
;
37085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37086 (arg1
)->Command(*arg2
);
37088 wxPyEndAllowThreads(__tstate
);
37089 if (PyErr_Occurred()) SWIG_fail
;
37091 Py_INCREF(Py_None
); resultobj
= Py_None
;
37098 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37099 PyObject
*resultobj
;
37100 wxControl
*arg1
= (wxControl
*) 0 ;
37102 PyObject
* obj0
= 0 ;
37103 char *kwnames
[] = {
37104 (char *) "self", NULL
37107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
37108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37109 if (SWIG_arg_fail(1)) SWIG_fail
;
37111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37112 result
= (arg1
)->GetLabel();
37114 wxPyEndAllowThreads(__tstate
);
37115 if (PyErr_Occurred()) SWIG_fail
;
37119 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37121 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37130 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37131 PyObject
*resultobj
;
37132 wxControl
*arg1
= (wxControl
*) 0 ;
37133 wxString
*arg2
= 0 ;
37134 bool temp2
= false ;
37135 PyObject
* obj0
= 0 ;
37136 PyObject
* obj1
= 0 ;
37137 char *kwnames
[] = {
37138 (char *) "self",(char *) "label", NULL
37141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
37142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37143 if (SWIG_arg_fail(1)) SWIG_fail
;
37145 arg2
= wxString_in_helper(obj1
);
37146 if (arg2
== NULL
) SWIG_fail
;
37150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37151 (arg1
)->SetLabel((wxString
const &)*arg2
);
37153 wxPyEndAllowThreads(__tstate
);
37154 if (PyErr_Occurred()) SWIG_fail
;
37156 Py_INCREF(Py_None
); resultobj
= Py_None
;
37171 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37172 PyObject
*resultobj
;
37173 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37174 wxVisualAttributes result
;
37175 PyObject
* obj0
= 0 ;
37176 char *kwnames
[] = {
37177 (char *) "variant", NULL
37180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
37183 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
37184 if (SWIG_arg_fail(1)) SWIG_fail
;
37188 if (!wxPyCheckForApp()) SWIG_fail
;
37189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37190 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
37192 wxPyEndAllowThreads(__tstate
);
37193 if (PyErr_Occurred()) SWIG_fail
;
37196 wxVisualAttributes
* resultptr
;
37197 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
37198 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
37206 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
37208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37209 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
37211 return Py_BuildValue((char *)"");
37213 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37214 PyObject
*resultobj
;
37215 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37216 wxString
*arg2
= 0 ;
37217 PyObject
*arg3
= (PyObject
*) NULL
;
37219 bool temp2
= false ;
37220 PyObject
* obj0
= 0 ;
37221 PyObject
* obj1
= 0 ;
37222 PyObject
* obj2
= 0 ;
37223 char *kwnames
[] = {
37224 (char *) "self",(char *) "item",(char *) "clientData", NULL
37227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37229 if (SWIG_arg_fail(1)) SWIG_fail
;
37231 arg2
= wxString_in_helper(obj1
);
37232 if (arg2
== NULL
) SWIG_fail
;
37239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37240 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
37242 wxPyEndAllowThreads(__tstate
);
37243 if (PyErr_Occurred()) SWIG_fail
;
37246 resultobj
= SWIG_From_int((int)(result
));
37262 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37263 PyObject
*resultobj
;
37264 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37265 wxArrayString
*arg2
= 0 ;
37266 bool temp2
= false ;
37267 PyObject
* obj0
= 0 ;
37268 PyObject
* obj1
= 0 ;
37269 char *kwnames
[] = {
37270 (char *) "self",(char *) "strings", NULL
37273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
37274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37275 if (SWIG_arg_fail(1)) SWIG_fail
;
37277 if (! PySequence_Check(obj1
)) {
37278 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
37281 arg2
= new wxArrayString
;
37283 int i
, len
=PySequence_Length(obj1
);
37284 for (i
=0; i
<len
; i
++) {
37285 PyObject
* item
= PySequence_GetItem(obj1
, i
);
37287 PyObject
* str
= PyObject_Unicode(item
);
37289 PyObject
* str
= PyObject_Str(item
);
37291 if (PyErr_Occurred()) SWIG_fail
;
37292 arg2
->Add(Py2wxString(str
));
37298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37299 (arg1
)->Append((wxArrayString
const &)*arg2
);
37301 wxPyEndAllowThreads(__tstate
);
37302 if (PyErr_Occurred()) SWIG_fail
;
37304 Py_INCREF(Py_None
); resultobj
= Py_None
;
37306 if (temp2
) delete arg2
;
37311 if (temp2
) delete arg2
;
37317 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37318 PyObject
*resultobj
;
37319 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37320 wxString
*arg2
= 0 ;
37322 PyObject
*arg4
= (PyObject
*) NULL
;
37324 bool temp2
= false ;
37325 PyObject
* obj0
= 0 ;
37326 PyObject
* obj1
= 0 ;
37327 PyObject
* obj2
= 0 ;
37328 PyObject
* obj3
= 0 ;
37329 char *kwnames
[] = {
37330 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
37333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37335 if (SWIG_arg_fail(1)) SWIG_fail
;
37337 arg2
= wxString_in_helper(obj1
);
37338 if (arg2
== NULL
) SWIG_fail
;
37342 arg3
= (int)(SWIG_As_int(obj2
));
37343 if (SWIG_arg_fail(3)) SWIG_fail
;
37349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37350 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
37352 wxPyEndAllowThreads(__tstate
);
37353 if (PyErr_Occurred()) SWIG_fail
;
37356 resultobj
= SWIG_From_int((int)(result
));
37372 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37373 PyObject
*resultobj
;
37374 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37375 PyObject
* obj0
= 0 ;
37376 char *kwnames
[] = {
37377 (char *) "self", NULL
37380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
37381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37382 if (SWIG_arg_fail(1)) SWIG_fail
;
37384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37387 wxPyEndAllowThreads(__tstate
);
37388 if (PyErr_Occurred()) SWIG_fail
;
37390 Py_INCREF(Py_None
); resultobj
= Py_None
;
37397 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37398 PyObject
*resultobj
;
37399 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37401 PyObject
* obj0
= 0 ;
37402 PyObject
* obj1
= 0 ;
37403 char *kwnames
[] = {
37404 (char *) "self",(char *) "n", NULL
37407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
37408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37409 if (SWIG_arg_fail(1)) SWIG_fail
;
37411 arg2
= (int)(SWIG_As_int(obj1
));
37412 if (SWIG_arg_fail(2)) SWIG_fail
;
37415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37416 (arg1
)->Delete(arg2
);
37418 wxPyEndAllowThreads(__tstate
);
37419 if (PyErr_Occurred()) SWIG_fail
;
37421 Py_INCREF(Py_None
); resultobj
= Py_None
;
37428 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37429 PyObject
*resultobj
;
37430 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37433 PyObject
* obj0
= 0 ;
37434 PyObject
* obj1
= 0 ;
37435 char *kwnames
[] = {
37436 (char *) "self",(char *) "n", NULL
37439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
37440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37441 if (SWIG_arg_fail(1)) SWIG_fail
;
37443 arg2
= (int)(SWIG_As_int(obj1
));
37444 if (SWIG_arg_fail(2)) SWIG_fail
;
37447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37448 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
37450 wxPyEndAllowThreads(__tstate
);
37451 if (PyErr_Occurred()) SWIG_fail
;
37453 resultobj
= result
;
37460 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37461 PyObject
*resultobj
;
37462 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37464 PyObject
*arg3
= (PyObject
*) 0 ;
37465 PyObject
* obj0
= 0 ;
37466 PyObject
* obj1
= 0 ;
37467 PyObject
* obj2
= 0 ;
37468 char *kwnames
[] = {
37469 (char *) "self",(char *) "n",(char *) "clientData", NULL
37472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37474 if (SWIG_arg_fail(1)) SWIG_fail
;
37476 arg2
= (int)(SWIG_As_int(obj1
));
37477 if (SWIG_arg_fail(2)) SWIG_fail
;
37481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37482 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
37484 wxPyEndAllowThreads(__tstate
);
37485 if (PyErr_Occurred()) SWIG_fail
;
37487 Py_INCREF(Py_None
); resultobj
= Py_None
;
37494 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37495 PyObject
*resultobj
;
37496 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37498 PyObject
* obj0
= 0 ;
37499 char *kwnames
[] = {
37500 (char *) "self", NULL
37503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
37504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37505 if (SWIG_arg_fail(1)) SWIG_fail
;
37507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37508 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
37510 wxPyEndAllowThreads(__tstate
);
37511 if (PyErr_Occurred()) SWIG_fail
;
37514 resultobj
= SWIG_From_int((int)(result
));
37522 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37523 PyObject
*resultobj
;
37524 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37526 PyObject
* obj0
= 0 ;
37527 char *kwnames
[] = {
37528 (char *) "self", NULL
37531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
37532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37533 if (SWIG_arg_fail(1)) SWIG_fail
;
37535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37536 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
37538 wxPyEndAllowThreads(__tstate
);
37539 if (PyErr_Occurred()) SWIG_fail
;
37542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37550 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37551 PyObject
*resultobj
;
37552 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37555 PyObject
* obj0
= 0 ;
37556 PyObject
* obj1
= 0 ;
37557 char *kwnames
[] = {
37558 (char *) "self",(char *) "n", NULL
37561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
37562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37563 if (SWIG_arg_fail(1)) SWIG_fail
;
37565 arg2
= (int)(SWIG_As_int(obj1
));
37566 if (SWIG_arg_fail(2)) SWIG_fail
;
37569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37570 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
37572 wxPyEndAllowThreads(__tstate
);
37573 if (PyErr_Occurred()) SWIG_fail
;
37577 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37579 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37588 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37589 PyObject
*resultobj
;
37590 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37591 wxArrayString result
;
37592 PyObject
* obj0
= 0 ;
37593 char *kwnames
[] = {
37594 (char *) "self", NULL
37597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
37598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37599 if (SWIG_arg_fail(1)) SWIG_fail
;
37601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37602 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
37604 wxPyEndAllowThreads(__tstate
);
37605 if (PyErr_Occurred()) SWIG_fail
;
37608 resultobj
= wxArrayString2PyList_helper(result
);
37616 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37617 PyObject
*resultobj
;
37618 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37620 wxString
*arg3
= 0 ;
37621 bool temp3
= false ;
37622 PyObject
* obj0
= 0 ;
37623 PyObject
* obj1
= 0 ;
37624 PyObject
* obj2
= 0 ;
37625 char *kwnames
[] = {
37626 (char *) "self",(char *) "n",(char *) "s", NULL
37629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37631 if (SWIG_arg_fail(1)) SWIG_fail
;
37633 arg2
= (int)(SWIG_As_int(obj1
));
37634 if (SWIG_arg_fail(2)) SWIG_fail
;
37637 arg3
= wxString_in_helper(obj2
);
37638 if (arg3
== NULL
) SWIG_fail
;
37642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37643 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
37645 wxPyEndAllowThreads(__tstate
);
37646 if (PyErr_Occurred()) SWIG_fail
;
37648 Py_INCREF(Py_None
); resultobj
= Py_None
;
37663 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37664 PyObject
*resultobj
;
37665 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37666 wxString
*arg2
= 0 ;
37668 bool temp2
= false ;
37669 PyObject
* obj0
= 0 ;
37670 PyObject
* obj1
= 0 ;
37671 char *kwnames
[] = {
37672 (char *) "self",(char *) "s", NULL
37675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
37676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37677 if (SWIG_arg_fail(1)) SWIG_fail
;
37679 arg2
= wxString_in_helper(obj1
);
37680 if (arg2
== NULL
) SWIG_fail
;
37684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37685 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
37687 wxPyEndAllowThreads(__tstate
);
37688 if (PyErr_Occurred()) SWIG_fail
;
37691 resultobj
= SWIG_From_int((int)(result
));
37707 static PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37708 PyObject
*resultobj
;
37709 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37711 PyObject
* obj0
= 0 ;
37712 PyObject
* obj1
= 0 ;
37713 char *kwnames
[] = {
37714 (char *) "self",(char *) "n", NULL
37717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
37718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37719 if (SWIG_arg_fail(1)) SWIG_fail
;
37721 arg2
= (int)(SWIG_As_int(obj1
));
37722 if (SWIG_arg_fail(2)) SWIG_fail
;
37725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37726 (arg1
)->SetSelection(arg2
);
37728 wxPyEndAllowThreads(__tstate
);
37729 if (PyErr_Occurred()) SWIG_fail
;
37731 Py_INCREF(Py_None
); resultobj
= Py_None
;
37738 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37739 PyObject
*resultobj
;
37740 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37742 PyObject
* obj0
= 0 ;
37743 char *kwnames
[] = {
37744 (char *) "self", NULL
37747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
37748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37749 if (SWIG_arg_fail(1)) SWIG_fail
;
37751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37752 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
37754 wxPyEndAllowThreads(__tstate
);
37755 if (PyErr_Occurred()) SWIG_fail
;
37758 resultobj
= SWIG_From_int((int)(result
));
37766 static PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37767 PyObject
*resultobj
;
37768 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37769 wxString
*arg2
= 0 ;
37771 bool temp2
= false ;
37772 PyObject
* obj0
= 0 ;
37773 PyObject
* obj1
= 0 ;
37774 char *kwnames
[] = {
37775 (char *) "self",(char *) "s", NULL
37778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
37779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37780 if (SWIG_arg_fail(1)) SWIG_fail
;
37782 arg2
= wxString_in_helper(obj1
);
37783 if (arg2
== NULL
) SWIG_fail
;
37787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37788 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
37790 wxPyEndAllowThreads(__tstate
);
37791 if (PyErr_Occurred()) SWIG_fail
;
37794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37810 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37811 PyObject
*resultobj
;
37812 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37814 PyObject
* obj0
= 0 ;
37815 char *kwnames
[] = {
37816 (char *) "self", NULL
37819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
37820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37821 if (SWIG_arg_fail(1)) SWIG_fail
;
37823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37824 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
37826 wxPyEndAllowThreads(__tstate
);
37827 if (PyErr_Occurred()) SWIG_fail
;
37831 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37833 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37842 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37843 PyObject
*resultobj
;
37844 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37846 PyObject
* obj0
= 0 ;
37847 PyObject
* obj1
= 0 ;
37848 char *kwnames
[] = {
37849 (char *) "self",(char *) "n", NULL
37852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
37853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37854 if (SWIG_arg_fail(1)) SWIG_fail
;
37856 arg2
= (int)(SWIG_As_int(obj1
));
37857 if (SWIG_arg_fail(2)) SWIG_fail
;
37860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37861 (arg1
)->Select(arg2
);
37863 wxPyEndAllowThreads(__tstate
);
37864 if (PyErr_Occurred()) SWIG_fail
;
37866 Py_INCREF(Py_None
); resultobj
= Py_None
;
37873 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
37875 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37876 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
37878 return Py_BuildValue((char *)"");
37880 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
37882 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37883 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
37885 return Py_BuildValue((char *)"");
37887 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37888 PyObject
*resultobj
;
37889 wxSizerItem
*result
;
37890 char *kwnames
[] = {
37894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
37896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37897 result
= (wxSizerItem
*)new wxSizerItem();
37899 wxPyEndAllowThreads(__tstate
);
37900 if (PyErr_Occurred()) SWIG_fail
;
37902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37909 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37910 PyObject
*resultobj
;
37911 wxWindow
*arg1
= (wxWindow
*) 0 ;
37915 PyObject
*arg5
= (PyObject
*) NULL
;
37916 wxSizerItem
*result
;
37917 PyObject
* obj0
= 0 ;
37918 PyObject
* obj1
= 0 ;
37919 PyObject
* obj2
= 0 ;
37920 PyObject
* obj3
= 0 ;
37921 PyObject
* obj4
= 0 ;
37922 char *kwnames
[] = {
37923 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
37927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37928 if (SWIG_arg_fail(1)) SWIG_fail
;
37930 arg2
= (int)(SWIG_As_int(obj1
));
37931 if (SWIG_arg_fail(2)) SWIG_fail
;
37934 arg3
= (int)(SWIG_As_int(obj2
));
37935 if (SWIG_arg_fail(3)) SWIG_fail
;
37938 arg4
= (int)(SWIG_As_int(obj3
));
37939 if (SWIG_arg_fail(4)) SWIG_fail
;
37945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37946 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
37948 wxPyEndAllowThreads(__tstate
);
37949 if (PyErr_Occurred()) SWIG_fail
;
37951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37958 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37959 PyObject
*resultobj
;
37965 PyObject
*arg6
= (PyObject
*) NULL
;
37966 wxSizerItem
*result
;
37967 PyObject
* obj0
= 0 ;
37968 PyObject
* obj1
= 0 ;
37969 PyObject
* obj2
= 0 ;
37970 PyObject
* obj3
= 0 ;
37971 PyObject
* obj4
= 0 ;
37972 PyObject
* obj5
= 0 ;
37973 char *kwnames
[] = {
37974 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37979 arg1
= (int)(SWIG_As_int(obj0
));
37980 if (SWIG_arg_fail(1)) SWIG_fail
;
37983 arg2
= (int)(SWIG_As_int(obj1
));
37984 if (SWIG_arg_fail(2)) SWIG_fail
;
37987 arg3
= (int)(SWIG_As_int(obj2
));
37988 if (SWIG_arg_fail(3)) SWIG_fail
;
37991 arg4
= (int)(SWIG_As_int(obj3
));
37992 if (SWIG_arg_fail(4)) SWIG_fail
;
37995 arg5
= (int)(SWIG_As_int(obj4
));
37996 if (SWIG_arg_fail(5)) SWIG_fail
;
38002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38003 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38005 wxPyEndAllowThreads(__tstate
);
38006 if (PyErr_Occurred()) SWIG_fail
;
38008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38015 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38016 PyObject
*resultobj
;
38017 wxSizer
*arg1
= (wxSizer
*) 0 ;
38021 PyObject
*arg5
= (PyObject
*) NULL
;
38022 wxSizerItem
*result
;
38023 PyObject
* obj0
= 0 ;
38024 PyObject
* obj1
= 0 ;
38025 PyObject
* obj2
= 0 ;
38026 PyObject
* obj3
= 0 ;
38027 PyObject
* obj4
= 0 ;
38028 char *kwnames
[] = {
38029 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38034 if (SWIG_arg_fail(1)) SWIG_fail
;
38036 arg2
= (int)(SWIG_As_int(obj1
));
38037 if (SWIG_arg_fail(2)) SWIG_fail
;
38040 arg3
= (int)(SWIG_As_int(obj2
));
38041 if (SWIG_arg_fail(3)) SWIG_fail
;
38044 arg4
= (int)(SWIG_As_int(obj3
));
38045 if (SWIG_arg_fail(4)) SWIG_fail
;
38051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38052 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38054 wxPyEndAllowThreads(__tstate
);
38055 if (PyErr_Occurred()) SWIG_fail
;
38057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38064 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38065 PyObject
*resultobj
;
38066 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38067 PyObject
* obj0
= 0 ;
38068 char *kwnames
[] = {
38069 (char *) "self", NULL
38072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
38073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38074 if (SWIG_arg_fail(1)) SWIG_fail
;
38076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38077 (arg1
)->DeleteWindows();
38079 wxPyEndAllowThreads(__tstate
);
38080 if (PyErr_Occurred()) SWIG_fail
;
38082 Py_INCREF(Py_None
); resultobj
= Py_None
;
38089 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38090 PyObject
*resultobj
;
38091 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38092 PyObject
* obj0
= 0 ;
38093 char *kwnames
[] = {
38094 (char *) "self", NULL
38097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
38098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38099 if (SWIG_arg_fail(1)) SWIG_fail
;
38101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38102 (arg1
)->DetachSizer();
38104 wxPyEndAllowThreads(__tstate
);
38105 if (PyErr_Occurred()) SWIG_fail
;
38107 Py_INCREF(Py_None
); resultobj
= Py_None
;
38114 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38115 PyObject
*resultobj
;
38116 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38118 PyObject
* obj0
= 0 ;
38119 char *kwnames
[] = {
38120 (char *) "self", NULL
38123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
38124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38125 if (SWIG_arg_fail(1)) SWIG_fail
;
38127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38128 result
= (arg1
)->GetSize();
38130 wxPyEndAllowThreads(__tstate
);
38131 if (PyErr_Occurred()) SWIG_fail
;
38134 wxSize
* resultptr
;
38135 resultptr
= new wxSize((wxSize
&)(result
));
38136 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38144 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38145 PyObject
*resultobj
;
38146 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38148 PyObject
* obj0
= 0 ;
38149 char *kwnames
[] = {
38150 (char *) "self", NULL
38153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
38154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38155 if (SWIG_arg_fail(1)) SWIG_fail
;
38157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38158 result
= (arg1
)->CalcMin();
38160 wxPyEndAllowThreads(__tstate
);
38161 if (PyErr_Occurred()) SWIG_fail
;
38164 wxSize
* resultptr
;
38165 resultptr
= new wxSize((wxSize
&)(result
));
38166 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38174 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38175 PyObject
*resultobj
;
38176 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38179 PyObject
* obj0
= 0 ;
38180 PyObject
* obj1
= 0 ;
38181 PyObject
* obj2
= 0 ;
38182 char *kwnames
[] = {
38183 (char *) "self",(char *) "pos",(char *) "size", NULL
38186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38188 if (SWIG_arg_fail(1)) SWIG_fail
;
38191 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
38192 if (SWIG_arg_fail(2)) SWIG_fail
;
38193 if (argp
== NULL
) {
38194 SWIG_null_ref("wxPoint");
38196 if (SWIG_arg_fail(2)) SWIG_fail
;
38201 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38202 if (SWIG_arg_fail(3)) SWIG_fail
;
38203 if (argp
== NULL
) {
38204 SWIG_null_ref("wxSize");
38206 if (SWIG_arg_fail(3)) SWIG_fail
;
38210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38211 (arg1
)->SetDimension(arg2
,arg3
);
38213 wxPyEndAllowThreads(__tstate
);
38214 if (PyErr_Occurred()) SWIG_fail
;
38216 Py_INCREF(Py_None
); resultobj
= Py_None
;
38223 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38224 PyObject
*resultobj
;
38225 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38227 PyObject
* obj0
= 0 ;
38228 char *kwnames
[] = {
38229 (char *) "self", NULL
38232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
38233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38234 if (SWIG_arg_fail(1)) SWIG_fail
;
38236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38237 result
= (arg1
)->GetMinSize();
38239 wxPyEndAllowThreads(__tstate
);
38240 if (PyErr_Occurred()) SWIG_fail
;
38243 wxSize
* resultptr
;
38244 resultptr
= new wxSize((wxSize
&)(result
));
38245 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38253 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38254 PyObject
*resultobj
;
38255 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38257 PyObject
* obj0
= 0 ;
38258 char *kwnames
[] = {
38259 (char *) "self", NULL
38262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
38263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38264 if (SWIG_arg_fail(1)) SWIG_fail
;
38266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38267 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
38269 wxPyEndAllowThreads(__tstate
);
38270 if (PyErr_Occurred()) SWIG_fail
;
38273 wxSize
* resultptr
;
38274 resultptr
= new wxSize((wxSize
&)(result
));
38275 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38283 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38284 PyObject
*resultobj
;
38285 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38288 PyObject
* obj0
= 0 ;
38289 PyObject
* obj1
= 0 ;
38290 PyObject
* obj2
= 0 ;
38291 char *kwnames
[] = {
38292 (char *) "self",(char *) "x",(char *) "y", NULL
38295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38297 if (SWIG_arg_fail(1)) SWIG_fail
;
38299 arg2
= (int)(SWIG_As_int(obj1
));
38300 if (SWIG_arg_fail(2)) SWIG_fail
;
38303 arg3
= (int)(SWIG_As_int(obj2
));
38304 if (SWIG_arg_fail(3)) SWIG_fail
;
38307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38308 (arg1
)->SetInitSize(arg2
,arg3
);
38310 wxPyEndAllowThreads(__tstate
);
38311 if (PyErr_Occurred()) SWIG_fail
;
38313 Py_INCREF(Py_None
); resultobj
= Py_None
;
38320 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38321 PyObject
*resultobj
;
38322 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38325 PyObject
* obj0
= 0 ;
38326 PyObject
* obj1
= 0 ;
38327 PyObject
* obj2
= 0 ;
38328 char *kwnames
[] = {
38329 (char *) "self",(char *) "width",(char *) "height", NULL
38332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38334 if (SWIG_arg_fail(1)) SWIG_fail
;
38336 arg2
= (int)(SWIG_As_int(obj1
));
38337 if (SWIG_arg_fail(2)) SWIG_fail
;
38340 arg3
= (int)(SWIG_As_int(obj2
));
38341 if (SWIG_arg_fail(3)) SWIG_fail
;
38344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38345 (arg1
)->SetRatio(arg2
,arg3
);
38347 wxPyEndAllowThreads(__tstate
);
38348 if (PyErr_Occurred()) SWIG_fail
;
38350 Py_INCREF(Py_None
); resultobj
= Py_None
;
38357 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38358 PyObject
*resultobj
;
38359 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38361 PyObject
* obj0
= 0 ;
38362 PyObject
* obj1
= 0 ;
38363 char *kwnames
[] = {
38364 (char *) "self",(char *) "size", NULL
38367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38369 if (SWIG_arg_fail(1)) SWIG_fail
;
38372 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38373 if (SWIG_arg_fail(2)) SWIG_fail
;
38374 if (argp
== NULL
) {
38375 SWIG_null_ref("wxSize");
38377 if (SWIG_arg_fail(2)) SWIG_fail
;
38381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38382 (arg1
)->SetRatio(arg2
);
38384 wxPyEndAllowThreads(__tstate
);
38385 if (PyErr_Occurred()) SWIG_fail
;
38387 Py_INCREF(Py_None
); resultobj
= Py_None
;
38394 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38395 PyObject
*resultobj
;
38396 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38398 PyObject
* obj0
= 0 ;
38399 PyObject
* obj1
= 0 ;
38400 char *kwnames
[] = {
38401 (char *) "self",(char *) "ratio", NULL
38404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
38405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38406 if (SWIG_arg_fail(1)) SWIG_fail
;
38408 arg2
= (float)(SWIG_As_float(obj1
));
38409 if (SWIG_arg_fail(2)) SWIG_fail
;
38412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38413 (arg1
)->SetRatio(arg2
);
38415 wxPyEndAllowThreads(__tstate
);
38416 if (PyErr_Occurred()) SWIG_fail
;
38418 Py_INCREF(Py_None
); resultobj
= Py_None
;
38425 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38426 PyObject
*resultobj
;
38427 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38429 PyObject
* obj0
= 0 ;
38430 char *kwnames
[] = {
38431 (char *) "self", NULL
38434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
38435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38436 if (SWIG_arg_fail(1)) SWIG_fail
;
38438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38439 result
= (float)(arg1
)->GetRatio();
38441 wxPyEndAllowThreads(__tstate
);
38442 if (PyErr_Occurred()) SWIG_fail
;
38445 resultobj
= SWIG_From_float((float)(result
));
38453 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38454 PyObject
*resultobj
;
38455 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38457 PyObject
* obj0
= 0 ;
38458 char *kwnames
[] = {
38459 (char *) "self", NULL
38462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
38463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38464 if (SWIG_arg_fail(1)) SWIG_fail
;
38466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38467 result
= (arg1
)->GetRect();
38469 wxPyEndAllowThreads(__tstate
);
38470 if (PyErr_Occurred()) SWIG_fail
;
38473 wxRect
* resultptr
;
38474 resultptr
= new wxRect((wxRect
&)(result
));
38475 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
38483 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38484 PyObject
*resultobj
;
38485 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38487 PyObject
* obj0
= 0 ;
38488 char *kwnames
[] = {
38489 (char *) "self", NULL
38492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
38493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38494 if (SWIG_arg_fail(1)) SWIG_fail
;
38496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38497 result
= (bool)(arg1
)->IsWindow();
38499 wxPyEndAllowThreads(__tstate
);
38500 if (PyErr_Occurred()) SWIG_fail
;
38503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38511 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38512 PyObject
*resultobj
;
38513 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38515 PyObject
* obj0
= 0 ;
38516 char *kwnames
[] = {
38517 (char *) "self", NULL
38520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
38521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38522 if (SWIG_arg_fail(1)) SWIG_fail
;
38524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38525 result
= (bool)(arg1
)->IsSizer();
38527 wxPyEndAllowThreads(__tstate
);
38528 if (PyErr_Occurred()) SWIG_fail
;
38531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38539 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38540 PyObject
*resultobj
;
38541 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38543 PyObject
* obj0
= 0 ;
38544 char *kwnames
[] = {
38545 (char *) "self", NULL
38548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
38549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38550 if (SWIG_arg_fail(1)) SWIG_fail
;
38552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38553 result
= (bool)(arg1
)->IsSpacer();
38555 wxPyEndAllowThreads(__tstate
);
38556 if (PyErr_Occurred()) SWIG_fail
;
38559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38567 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38568 PyObject
*resultobj
;
38569 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38571 PyObject
* obj0
= 0 ;
38572 PyObject
* obj1
= 0 ;
38573 char *kwnames
[] = {
38574 (char *) "self",(char *) "proportion", NULL
38577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
38578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38579 if (SWIG_arg_fail(1)) SWIG_fail
;
38581 arg2
= (int)(SWIG_As_int(obj1
));
38582 if (SWIG_arg_fail(2)) SWIG_fail
;
38585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38586 (arg1
)->SetProportion(arg2
);
38588 wxPyEndAllowThreads(__tstate
);
38589 if (PyErr_Occurred()) SWIG_fail
;
38591 Py_INCREF(Py_None
); resultobj
= Py_None
;
38598 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38599 PyObject
*resultobj
;
38600 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38602 PyObject
* obj0
= 0 ;
38603 char *kwnames
[] = {
38604 (char *) "self", NULL
38607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
38608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38609 if (SWIG_arg_fail(1)) SWIG_fail
;
38611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38612 result
= (int)(arg1
)->GetProportion();
38614 wxPyEndAllowThreads(__tstate
);
38615 if (PyErr_Occurred()) SWIG_fail
;
38618 resultobj
= SWIG_From_int((int)(result
));
38626 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38627 PyObject
*resultobj
;
38628 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38630 PyObject
* obj0
= 0 ;
38631 PyObject
* obj1
= 0 ;
38632 char *kwnames
[] = {
38633 (char *) "self",(char *) "flag", NULL
38636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
38637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38638 if (SWIG_arg_fail(1)) SWIG_fail
;
38640 arg2
= (int)(SWIG_As_int(obj1
));
38641 if (SWIG_arg_fail(2)) SWIG_fail
;
38644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38645 (arg1
)->SetFlag(arg2
);
38647 wxPyEndAllowThreads(__tstate
);
38648 if (PyErr_Occurred()) SWIG_fail
;
38650 Py_INCREF(Py_None
); resultobj
= Py_None
;
38657 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38658 PyObject
*resultobj
;
38659 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38661 PyObject
* obj0
= 0 ;
38662 char *kwnames
[] = {
38663 (char *) "self", NULL
38666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
38667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38668 if (SWIG_arg_fail(1)) SWIG_fail
;
38670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38671 result
= (int)(arg1
)->GetFlag();
38673 wxPyEndAllowThreads(__tstate
);
38674 if (PyErr_Occurred()) SWIG_fail
;
38677 resultobj
= SWIG_From_int((int)(result
));
38685 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38686 PyObject
*resultobj
;
38687 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38689 PyObject
* obj0
= 0 ;
38690 PyObject
* obj1
= 0 ;
38691 char *kwnames
[] = {
38692 (char *) "self",(char *) "border", NULL
38695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
38696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38697 if (SWIG_arg_fail(1)) SWIG_fail
;
38699 arg2
= (int)(SWIG_As_int(obj1
));
38700 if (SWIG_arg_fail(2)) SWIG_fail
;
38703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38704 (arg1
)->SetBorder(arg2
);
38706 wxPyEndAllowThreads(__tstate
);
38707 if (PyErr_Occurred()) SWIG_fail
;
38709 Py_INCREF(Py_None
); resultobj
= Py_None
;
38716 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38717 PyObject
*resultobj
;
38718 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38720 PyObject
* obj0
= 0 ;
38721 char *kwnames
[] = {
38722 (char *) "self", NULL
38725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
38726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38727 if (SWIG_arg_fail(1)) SWIG_fail
;
38729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38730 result
= (int)(arg1
)->GetBorder();
38732 wxPyEndAllowThreads(__tstate
);
38733 if (PyErr_Occurred()) SWIG_fail
;
38736 resultobj
= SWIG_From_int((int)(result
));
38744 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38745 PyObject
*resultobj
;
38746 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38748 PyObject
* obj0
= 0 ;
38749 char *kwnames
[] = {
38750 (char *) "self", NULL
38753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
38754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38755 if (SWIG_arg_fail(1)) SWIG_fail
;
38757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38758 result
= (wxWindow
*)(arg1
)->GetWindow();
38760 wxPyEndAllowThreads(__tstate
);
38761 if (PyErr_Occurred()) SWIG_fail
;
38764 resultobj
= wxPyMake_wxObject(result
, 0);
38772 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38773 PyObject
*resultobj
;
38774 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38775 wxWindow
*arg2
= (wxWindow
*) 0 ;
38776 PyObject
* obj0
= 0 ;
38777 PyObject
* obj1
= 0 ;
38778 char *kwnames
[] = {
38779 (char *) "self",(char *) "window", NULL
38782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
38783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38784 if (SWIG_arg_fail(1)) SWIG_fail
;
38785 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38786 if (SWIG_arg_fail(2)) SWIG_fail
;
38788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38789 (arg1
)->SetWindow(arg2
);
38791 wxPyEndAllowThreads(__tstate
);
38792 if (PyErr_Occurred()) SWIG_fail
;
38794 Py_INCREF(Py_None
); resultobj
= Py_None
;
38801 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38802 PyObject
*resultobj
;
38803 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38805 PyObject
* obj0
= 0 ;
38806 char *kwnames
[] = {
38807 (char *) "self", NULL
38810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
38811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38812 if (SWIG_arg_fail(1)) SWIG_fail
;
38814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38815 result
= (wxSizer
*)(arg1
)->GetSizer();
38817 wxPyEndAllowThreads(__tstate
);
38818 if (PyErr_Occurred()) SWIG_fail
;
38821 resultobj
= wxPyMake_wxSizer(result
, 0);
38829 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38830 PyObject
*resultobj
;
38831 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38832 wxSizer
*arg2
= (wxSizer
*) 0 ;
38833 PyObject
* obj0
= 0 ;
38834 PyObject
* obj1
= 0 ;
38835 char *kwnames
[] = {
38836 (char *) "self",(char *) "sizer", NULL
38839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38841 if (SWIG_arg_fail(1)) SWIG_fail
;
38842 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38843 if (SWIG_arg_fail(2)) SWIG_fail
;
38845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38846 (arg1
)->SetSizer(arg2
);
38848 wxPyEndAllowThreads(__tstate
);
38849 if (PyErr_Occurred()) SWIG_fail
;
38851 Py_INCREF(Py_None
); resultobj
= Py_None
;
38858 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38859 PyObject
*resultobj
;
38860 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38862 PyObject
* obj0
= 0 ;
38863 char *kwnames
[] = {
38864 (char *) "self", NULL
38867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
38868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38869 if (SWIG_arg_fail(1)) SWIG_fail
;
38871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38873 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
38874 result
= (wxSize
*) &_result_ref
;
38877 wxPyEndAllowThreads(__tstate
);
38878 if (PyErr_Occurred()) SWIG_fail
;
38880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
38887 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38888 PyObject
*resultobj
;
38889 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38892 PyObject
* obj0
= 0 ;
38893 PyObject
* obj1
= 0 ;
38894 char *kwnames
[] = {
38895 (char *) "self",(char *) "size", NULL
38898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
38899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38900 if (SWIG_arg_fail(1)) SWIG_fail
;
38903 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38907 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
38909 wxPyEndAllowThreads(__tstate
);
38910 if (PyErr_Occurred()) SWIG_fail
;
38912 Py_INCREF(Py_None
); resultobj
= Py_None
;
38919 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38920 PyObject
*resultobj
;
38921 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38923 PyObject
* obj0
= 0 ;
38924 PyObject
* obj1
= 0 ;
38925 char *kwnames
[] = {
38926 (char *) "self",(char *) "show", NULL
38929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
38930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38931 if (SWIG_arg_fail(1)) SWIG_fail
;
38933 arg2
= (bool)(SWIG_As_bool(obj1
));
38934 if (SWIG_arg_fail(2)) SWIG_fail
;
38937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38938 (arg1
)->Show(arg2
);
38940 wxPyEndAllowThreads(__tstate
);
38941 if (PyErr_Occurred()) SWIG_fail
;
38943 Py_INCREF(Py_None
); resultobj
= Py_None
;
38950 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38951 PyObject
*resultobj
;
38952 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38954 PyObject
* obj0
= 0 ;
38955 char *kwnames
[] = {
38956 (char *) "self", NULL
38959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
38960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38961 if (SWIG_arg_fail(1)) SWIG_fail
;
38963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38964 result
= (bool)(arg1
)->IsShown();
38966 wxPyEndAllowThreads(__tstate
);
38967 if (PyErr_Occurred()) SWIG_fail
;
38970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38978 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38979 PyObject
*resultobj
;
38980 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38982 PyObject
* obj0
= 0 ;
38983 char *kwnames
[] = {
38984 (char *) "self", NULL
38987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
38988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38989 if (SWIG_arg_fail(1)) SWIG_fail
;
38991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38992 result
= (arg1
)->GetPosition();
38994 wxPyEndAllowThreads(__tstate
);
38995 if (PyErr_Occurred()) SWIG_fail
;
38998 wxPoint
* resultptr
;
38999 resultptr
= new wxPoint((wxPoint
&)(result
));
39000 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39008 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39009 PyObject
*resultobj
;
39010 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39012 PyObject
* obj0
= 0 ;
39013 char *kwnames
[] = {
39014 (char *) "self", NULL
39017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
39018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39019 if (SWIG_arg_fail(1)) SWIG_fail
;
39021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39022 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
39024 wxPyEndAllowThreads(__tstate
);
39025 if (PyErr_Occurred()) SWIG_fail
;
39027 resultobj
= result
;
39034 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
39036 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39037 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
39039 return Py_BuildValue((char *)"");
39041 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39042 PyObject
*resultobj
;
39043 wxSizer
*arg1
= (wxSizer
*) 0 ;
39044 PyObject
*arg2
= (PyObject
*) 0 ;
39045 PyObject
* obj0
= 0 ;
39046 PyObject
* obj1
= 0 ;
39047 char *kwnames
[] = {
39048 (char *) "self",(char *) "_self", NULL
39051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
39052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39053 if (SWIG_arg_fail(1)) SWIG_fail
;
39056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39057 wxSizer__setOORInfo(arg1
,arg2
);
39059 wxPyEndAllowThreads(__tstate
);
39060 if (PyErr_Occurred()) SWIG_fail
;
39062 Py_INCREF(Py_None
); resultobj
= Py_None
;
39069 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39070 PyObject
*resultobj
;
39071 wxSizer
*arg1
= (wxSizer
*) 0 ;
39072 PyObject
*arg2
= (PyObject
*) 0 ;
39073 int arg3
= (int) 0 ;
39074 int arg4
= (int) 0 ;
39075 int arg5
= (int) 0 ;
39076 PyObject
*arg6
= (PyObject
*) NULL
;
39077 wxSizerItem
*result
;
39078 PyObject
* obj0
= 0 ;
39079 PyObject
* obj1
= 0 ;
39080 PyObject
* obj2
= 0 ;
39081 PyObject
* obj3
= 0 ;
39082 PyObject
* obj4
= 0 ;
39083 PyObject
* obj5
= 0 ;
39084 char *kwnames
[] = {
39085 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39090 if (SWIG_arg_fail(1)) SWIG_fail
;
39094 arg3
= (int)(SWIG_As_int(obj2
));
39095 if (SWIG_arg_fail(3)) SWIG_fail
;
39100 arg4
= (int)(SWIG_As_int(obj3
));
39101 if (SWIG_arg_fail(4)) SWIG_fail
;
39106 arg5
= (int)(SWIG_As_int(obj4
));
39107 if (SWIG_arg_fail(5)) SWIG_fail
;
39114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39115 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39117 wxPyEndAllowThreads(__tstate
);
39118 if (PyErr_Occurred()) SWIG_fail
;
39120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39127 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39128 PyObject
*resultobj
;
39129 wxSizer
*arg1
= (wxSizer
*) 0 ;
39131 PyObject
*arg3
= (PyObject
*) 0 ;
39132 int arg4
= (int) 0 ;
39133 int arg5
= (int) 0 ;
39134 int arg6
= (int) 0 ;
39135 PyObject
*arg7
= (PyObject
*) NULL
;
39136 wxSizerItem
*result
;
39137 PyObject
* obj0
= 0 ;
39138 PyObject
* obj1
= 0 ;
39139 PyObject
* obj2
= 0 ;
39140 PyObject
* obj3
= 0 ;
39141 PyObject
* obj4
= 0 ;
39142 PyObject
* obj5
= 0 ;
39143 PyObject
* obj6
= 0 ;
39144 char *kwnames
[] = {
39145 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
39149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39150 if (SWIG_arg_fail(1)) SWIG_fail
;
39152 arg2
= (int)(SWIG_As_int(obj1
));
39153 if (SWIG_arg_fail(2)) SWIG_fail
;
39158 arg4
= (int)(SWIG_As_int(obj3
));
39159 if (SWIG_arg_fail(4)) SWIG_fail
;
39164 arg5
= (int)(SWIG_As_int(obj4
));
39165 if (SWIG_arg_fail(5)) SWIG_fail
;
39170 arg6
= (int)(SWIG_As_int(obj5
));
39171 if (SWIG_arg_fail(6)) SWIG_fail
;
39178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39179 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
39181 wxPyEndAllowThreads(__tstate
);
39182 if (PyErr_Occurred()) SWIG_fail
;
39184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39191 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39192 PyObject
*resultobj
;
39193 wxSizer
*arg1
= (wxSizer
*) 0 ;
39194 PyObject
*arg2
= (PyObject
*) 0 ;
39195 int arg3
= (int) 0 ;
39196 int arg4
= (int) 0 ;
39197 int arg5
= (int) 0 ;
39198 PyObject
*arg6
= (PyObject
*) NULL
;
39199 wxSizerItem
*result
;
39200 PyObject
* obj0
= 0 ;
39201 PyObject
* obj1
= 0 ;
39202 PyObject
* obj2
= 0 ;
39203 PyObject
* obj3
= 0 ;
39204 PyObject
* obj4
= 0 ;
39205 PyObject
* obj5
= 0 ;
39206 char *kwnames
[] = {
39207 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39212 if (SWIG_arg_fail(1)) SWIG_fail
;
39216 arg3
= (int)(SWIG_As_int(obj2
));
39217 if (SWIG_arg_fail(3)) SWIG_fail
;
39222 arg4
= (int)(SWIG_As_int(obj3
));
39223 if (SWIG_arg_fail(4)) SWIG_fail
;
39228 arg5
= (int)(SWIG_As_int(obj4
));
39229 if (SWIG_arg_fail(5)) SWIG_fail
;
39236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39237 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39239 wxPyEndAllowThreads(__tstate
);
39240 if (PyErr_Occurred()) SWIG_fail
;
39242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39249 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39250 PyObject
*resultobj
;
39251 wxSizer
*arg1
= (wxSizer
*) 0 ;
39252 PyObject
*arg2
= (PyObject
*) 0 ;
39254 PyObject
* obj0
= 0 ;
39255 PyObject
* obj1
= 0 ;
39256 char *kwnames
[] = {
39257 (char *) "self",(char *) "item", NULL
39260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
39261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39262 if (SWIG_arg_fail(1)) SWIG_fail
;
39265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39266 result
= (bool)wxSizer_Remove(arg1
,arg2
);
39268 wxPyEndAllowThreads(__tstate
);
39269 if (PyErr_Occurred()) SWIG_fail
;
39272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39280 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39281 PyObject
*resultobj
;
39282 wxSizer
*arg1
= (wxSizer
*) 0 ;
39283 PyObject
*arg2
= (PyObject
*) 0 ;
39285 PyObject
* obj0
= 0 ;
39286 PyObject
* obj1
= 0 ;
39287 char *kwnames
[] = {
39288 (char *) "self",(char *) "item", NULL
39291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
39292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39293 if (SWIG_arg_fail(1)) SWIG_fail
;
39296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39297 result
= (bool)wxSizer_Detach(arg1
,arg2
);
39299 wxPyEndAllowThreads(__tstate
);
39300 if (PyErr_Occurred()) SWIG_fail
;
39303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39311 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39312 PyObject
*resultobj
;
39313 wxSizer
*arg1
= (wxSizer
*) 0 ;
39314 PyObject
*arg2
= (PyObject
*) 0 ;
39315 wxSizerItem
*result
;
39316 PyObject
* obj0
= 0 ;
39317 PyObject
* obj1
= 0 ;
39318 char *kwnames
[] = {
39319 (char *) "self",(char *) "item", NULL
39322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39324 if (SWIG_arg_fail(1)) SWIG_fail
;
39327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39328 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
39330 wxPyEndAllowThreads(__tstate
);
39331 if (PyErr_Occurred()) SWIG_fail
;
39333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39340 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39341 PyObject
*resultobj
;
39342 wxSizer
*arg1
= (wxSizer
*) 0 ;
39343 PyObject
*arg2
= (PyObject
*) 0 ;
39346 PyObject
* obj0
= 0 ;
39347 PyObject
* obj1
= 0 ;
39348 PyObject
* obj2
= 0 ;
39349 char *kwnames
[] = {
39350 (char *) "self",(char *) "item",(char *) "size", NULL
39353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39355 if (SWIG_arg_fail(1)) SWIG_fail
;
39359 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
39362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39363 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
39365 wxPyEndAllowThreads(__tstate
);
39366 if (PyErr_Occurred()) SWIG_fail
;
39368 Py_INCREF(Py_None
); resultobj
= Py_None
;
39375 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39376 PyObject
*resultobj
;
39377 wxSizer
*arg1
= (wxSizer
*) 0 ;
39378 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39379 wxSizerItem
*result
;
39380 PyObject
* obj0
= 0 ;
39381 PyObject
* obj1
= 0 ;
39382 char *kwnames
[] = {
39383 (char *) "self",(char *) "item", NULL
39386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39388 if (SWIG_arg_fail(1)) SWIG_fail
;
39389 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39390 if (SWIG_arg_fail(2)) SWIG_fail
;
39392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39393 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
39395 wxPyEndAllowThreads(__tstate
);
39396 if (PyErr_Occurred()) SWIG_fail
;
39398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39405 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39406 PyObject
*resultobj
;
39407 wxSizer
*arg1
= (wxSizer
*) 0 ;
39409 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
39410 wxSizerItem
*result
;
39411 PyObject
* obj0
= 0 ;
39412 PyObject
* obj1
= 0 ;
39413 PyObject
* obj2
= 0 ;
39414 char *kwnames
[] = {
39415 (char *) "self",(char *) "index",(char *) "item", NULL
39418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39420 if (SWIG_arg_fail(1)) SWIG_fail
;
39422 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39423 if (SWIG_arg_fail(2)) SWIG_fail
;
39425 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39426 if (SWIG_arg_fail(3)) SWIG_fail
;
39428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39429 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
39431 wxPyEndAllowThreads(__tstate
);
39432 if (PyErr_Occurred()) SWIG_fail
;
39434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39441 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39442 PyObject
*resultobj
;
39443 wxSizer
*arg1
= (wxSizer
*) 0 ;
39444 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39445 wxSizerItem
*result
;
39446 PyObject
* obj0
= 0 ;
39447 PyObject
* obj1
= 0 ;
39448 char *kwnames
[] = {
39449 (char *) "self",(char *) "item", NULL
39452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39454 if (SWIG_arg_fail(1)) SWIG_fail
;
39455 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39456 if (SWIG_arg_fail(2)) SWIG_fail
;
39458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39459 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
39461 wxPyEndAllowThreads(__tstate
);
39462 if (PyErr_Occurred()) SWIG_fail
;
39464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39471 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39472 PyObject
*resultobj
;
39473 wxSizer
*arg1
= (wxSizer
*) 0 ;
39478 PyObject
* obj0
= 0 ;
39479 PyObject
* obj1
= 0 ;
39480 PyObject
* obj2
= 0 ;
39481 PyObject
* obj3
= 0 ;
39482 PyObject
* obj4
= 0 ;
39483 char *kwnames
[] = {
39484 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
39488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39489 if (SWIG_arg_fail(1)) SWIG_fail
;
39491 arg2
= (int)(SWIG_As_int(obj1
));
39492 if (SWIG_arg_fail(2)) SWIG_fail
;
39495 arg3
= (int)(SWIG_As_int(obj2
));
39496 if (SWIG_arg_fail(3)) SWIG_fail
;
39499 arg4
= (int)(SWIG_As_int(obj3
));
39500 if (SWIG_arg_fail(4)) SWIG_fail
;
39503 arg5
= (int)(SWIG_As_int(obj4
));
39504 if (SWIG_arg_fail(5)) SWIG_fail
;
39507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39508 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
39510 wxPyEndAllowThreads(__tstate
);
39511 if (PyErr_Occurred()) SWIG_fail
;
39513 Py_INCREF(Py_None
); resultobj
= Py_None
;
39520 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39521 PyObject
*resultobj
;
39522 wxSizer
*arg1
= (wxSizer
*) 0 ;
39525 PyObject
* obj0
= 0 ;
39526 PyObject
* obj1
= 0 ;
39527 char *kwnames
[] = {
39528 (char *) "self",(char *) "size", NULL
39531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
39532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39533 if (SWIG_arg_fail(1)) SWIG_fail
;
39536 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39540 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
39542 wxPyEndAllowThreads(__tstate
);
39543 if (PyErr_Occurred()) SWIG_fail
;
39545 Py_INCREF(Py_None
); resultobj
= Py_None
;
39552 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39553 PyObject
*resultobj
;
39554 wxSizer
*arg1
= (wxSizer
*) 0 ;
39556 PyObject
* obj0
= 0 ;
39557 char *kwnames
[] = {
39558 (char *) "self", NULL
39561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
39562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39563 if (SWIG_arg_fail(1)) SWIG_fail
;
39565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39566 result
= (arg1
)->GetSize();
39568 wxPyEndAllowThreads(__tstate
);
39569 if (PyErr_Occurred()) SWIG_fail
;
39572 wxSize
* resultptr
;
39573 resultptr
= new wxSize((wxSize
&)(result
));
39574 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39582 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39583 PyObject
*resultobj
;
39584 wxSizer
*arg1
= (wxSizer
*) 0 ;
39586 PyObject
* obj0
= 0 ;
39587 char *kwnames
[] = {
39588 (char *) "self", NULL
39591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
39592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39593 if (SWIG_arg_fail(1)) SWIG_fail
;
39595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39596 result
= (arg1
)->GetPosition();
39598 wxPyEndAllowThreads(__tstate
);
39599 if (PyErr_Occurred()) SWIG_fail
;
39602 wxPoint
* resultptr
;
39603 resultptr
= new wxPoint((wxPoint
&)(result
));
39604 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39612 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39613 PyObject
*resultobj
;
39614 wxSizer
*arg1
= (wxSizer
*) 0 ;
39616 PyObject
* obj0
= 0 ;
39617 char *kwnames
[] = {
39618 (char *) "self", NULL
39621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
39622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39623 if (SWIG_arg_fail(1)) SWIG_fail
;
39625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39626 result
= (arg1
)->GetMinSize();
39628 wxPyEndAllowThreads(__tstate
);
39629 if (PyErr_Occurred()) SWIG_fail
;
39632 wxSize
* resultptr
;
39633 resultptr
= new wxSize((wxSize
&)(result
));
39634 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39642 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39643 PyObject
*resultobj
;
39644 wxSizer
*arg1
= (wxSizer
*) 0 ;
39645 PyObject
* obj0
= 0 ;
39646 char *kwnames
[] = {
39647 (char *) "self", NULL
39650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
39651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39652 if (SWIG_arg_fail(1)) SWIG_fail
;
39654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39655 (arg1
)->RecalcSizes();
39657 wxPyEndAllowThreads(__tstate
);
39658 if (PyErr_Occurred()) SWIG_fail
;
39660 Py_INCREF(Py_None
); resultobj
= Py_None
;
39667 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39668 PyObject
*resultobj
;
39669 wxSizer
*arg1
= (wxSizer
*) 0 ;
39671 PyObject
* obj0
= 0 ;
39672 char *kwnames
[] = {
39673 (char *) "self", NULL
39676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
39677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39678 if (SWIG_arg_fail(1)) SWIG_fail
;
39680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39681 result
= (arg1
)->CalcMin();
39683 wxPyEndAllowThreads(__tstate
);
39684 if (PyErr_Occurred()) SWIG_fail
;
39687 wxSize
* resultptr
;
39688 resultptr
= new wxSize((wxSize
&)(result
));
39689 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39697 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39698 PyObject
*resultobj
;
39699 wxSizer
*arg1
= (wxSizer
*) 0 ;
39700 PyObject
* obj0
= 0 ;
39701 char *kwnames
[] = {
39702 (char *) "self", NULL
39705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
39706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39707 if (SWIG_arg_fail(1)) SWIG_fail
;
39709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39712 wxPyEndAllowThreads(__tstate
);
39713 if (PyErr_Occurred()) SWIG_fail
;
39715 Py_INCREF(Py_None
); resultobj
= Py_None
;
39722 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39723 PyObject
*resultobj
;
39724 wxSizer
*arg1
= (wxSizer
*) 0 ;
39725 wxWindow
*arg2
= (wxWindow
*) 0 ;
39727 PyObject
* obj0
= 0 ;
39728 PyObject
* obj1
= 0 ;
39729 char *kwnames
[] = {
39730 (char *) "self",(char *) "window", NULL
39733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
39734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39735 if (SWIG_arg_fail(1)) SWIG_fail
;
39736 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39737 if (SWIG_arg_fail(2)) SWIG_fail
;
39739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39740 result
= (arg1
)->Fit(arg2
);
39742 wxPyEndAllowThreads(__tstate
);
39743 if (PyErr_Occurred()) SWIG_fail
;
39746 wxSize
* resultptr
;
39747 resultptr
= new wxSize((wxSize
&)(result
));
39748 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39756 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39757 PyObject
*resultobj
;
39758 wxSizer
*arg1
= (wxSizer
*) 0 ;
39759 wxWindow
*arg2
= (wxWindow
*) 0 ;
39760 PyObject
* obj0
= 0 ;
39761 PyObject
* obj1
= 0 ;
39762 char *kwnames
[] = {
39763 (char *) "self",(char *) "window", NULL
39766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
39767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39768 if (SWIG_arg_fail(1)) SWIG_fail
;
39769 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39770 if (SWIG_arg_fail(2)) SWIG_fail
;
39772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39773 (arg1
)->FitInside(arg2
);
39775 wxPyEndAllowThreads(__tstate
);
39776 if (PyErr_Occurred()) SWIG_fail
;
39778 Py_INCREF(Py_None
); resultobj
= Py_None
;
39785 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39786 PyObject
*resultobj
;
39787 wxSizer
*arg1
= (wxSizer
*) 0 ;
39788 wxWindow
*arg2
= (wxWindow
*) 0 ;
39789 PyObject
* obj0
= 0 ;
39790 PyObject
* obj1
= 0 ;
39791 char *kwnames
[] = {
39792 (char *) "self",(char *) "window", NULL
39795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
39796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39797 if (SWIG_arg_fail(1)) SWIG_fail
;
39798 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39799 if (SWIG_arg_fail(2)) SWIG_fail
;
39801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39802 (arg1
)->SetSizeHints(arg2
);
39804 wxPyEndAllowThreads(__tstate
);
39805 if (PyErr_Occurred()) SWIG_fail
;
39807 Py_INCREF(Py_None
); resultobj
= Py_None
;
39814 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39815 PyObject
*resultobj
;
39816 wxSizer
*arg1
= (wxSizer
*) 0 ;
39817 wxWindow
*arg2
= (wxWindow
*) 0 ;
39818 PyObject
* obj0
= 0 ;
39819 PyObject
* obj1
= 0 ;
39820 char *kwnames
[] = {
39821 (char *) "self",(char *) "window", NULL
39824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
39825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39826 if (SWIG_arg_fail(1)) SWIG_fail
;
39827 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39828 if (SWIG_arg_fail(2)) SWIG_fail
;
39830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39831 (arg1
)->SetVirtualSizeHints(arg2
);
39833 wxPyEndAllowThreads(__tstate
);
39834 if (PyErr_Occurred()) SWIG_fail
;
39836 Py_INCREF(Py_None
); resultobj
= Py_None
;
39843 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39844 PyObject
*resultobj
;
39845 wxSizer
*arg1
= (wxSizer
*) 0 ;
39846 bool arg2
= (bool) false ;
39847 PyObject
* obj0
= 0 ;
39848 PyObject
* obj1
= 0 ;
39849 char *kwnames
[] = {
39850 (char *) "self",(char *) "deleteWindows", NULL
39853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
39854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39855 if (SWIG_arg_fail(1)) SWIG_fail
;
39858 arg2
= (bool)(SWIG_As_bool(obj1
));
39859 if (SWIG_arg_fail(2)) SWIG_fail
;
39863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39864 (arg1
)->Clear(arg2
);
39866 wxPyEndAllowThreads(__tstate
);
39867 if (PyErr_Occurred()) SWIG_fail
;
39869 Py_INCREF(Py_None
); resultobj
= Py_None
;
39876 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39877 PyObject
*resultobj
;
39878 wxSizer
*arg1
= (wxSizer
*) 0 ;
39879 PyObject
* obj0
= 0 ;
39880 char *kwnames
[] = {
39881 (char *) "self", NULL
39884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
39885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39886 if (SWIG_arg_fail(1)) SWIG_fail
;
39888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39889 (arg1
)->DeleteWindows();
39891 wxPyEndAllowThreads(__tstate
);
39892 if (PyErr_Occurred()) SWIG_fail
;
39894 Py_INCREF(Py_None
); resultobj
= Py_None
;
39901 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39902 PyObject
*resultobj
;
39903 wxSizer
*arg1
= (wxSizer
*) 0 ;
39905 PyObject
* obj0
= 0 ;
39906 char *kwnames
[] = {
39907 (char *) "self", NULL
39910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
39911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39912 if (SWIG_arg_fail(1)) SWIG_fail
;
39914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39915 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
39917 wxPyEndAllowThreads(__tstate
);
39918 if (PyErr_Occurred()) SWIG_fail
;
39920 resultobj
= result
;
39927 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39928 PyObject
*resultobj
;
39929 wxSizer
*arg1
= (wxSizer
*) 0 ;
39930 PyObject
*arg2
= (PyObject
*) 0 ;
39931 bool arg3
= (bool) true ;
39932 bool arg4
= (bool) false ;
39934 PyObject
* obj0
= 0 ;
39935 PyObject
* obj1
= 0 ;
39936 PyObject
* obj2
= 0 ;
39937 PyObject
* obj3
= 0 ;
39938 char *kwnames
[] = {
39939 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
39942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39944 if (SWIG_arg_fail(1)) SWIG_fail
;
39948 arg3
= (bool)(SWIG_As_bool(obj2
));
39949 if (SWIG_arg_fail(3)) SWIG_fail
;
39954 arg4
= (bool)(SWIG_As_bool(obj3
));
39955 if (SWIG_arg_fail(4)) SWIG_fail
;
39959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39960 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
39962 wxPyEndAllowThreads(__tstate
);
39963 if (PyErr_Occurred()) SWIG_fail
;
39966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39974 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39975 PyObject
*resultobj
;
39976 wxSizer
*arg1
= (wxSizer
*) 0 ;
39977 PyObject
*arg2
= (PyObject
*) 0 ;
39979 PyObject
* obj0
= 0 ;
39980 PyObject
* obj1
= 0 ;
39981 char *kwnames
[] = {
39982 (char *) "self",(char *) "item", NULL
39985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
39986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39987 if (SWIG_arg_fail(1)) SWIG_fail
;
39990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39991 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
39993 wxPyEndAllowThreads(__tstate
);
39994 if (PyErr_Occurred()) SWIG_fail
;
39997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40005 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40006 PyObject
*resultobj
;
40007 wxSizer
*arg1
= (wxSizer
*) 0 ;
40009 PyObject
* obj0
= 0 ;
40010 PyObject
* obj1
= 0 ;
40011 char *kwnames
[] = {
40012 (char *) "self",(char *) "show", NULL
40015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
40016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40017 if (SWIG_arg_fail(1)) SWIG_fail
;
40019 arg2
= (bool)(SWIG_As_bool(obj1
));
40020 if (SWIG_arg_fail(2)) SWIG_fail
;
40023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40024 (arg1
)->ShowItems(arg2
);
40026 wxPyEndAllowThreads(__tstate
);
40027 if (PyErr_Occurred()) SWIG_fail
;
40029 Py_INCREF(Py_None
); resultobj
= Py_None
;
40036 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
40038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40039 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
40041 return Py_BuildValue((char *)"");
40043 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40044 PyObject
*resultobj
;
40046 char *kwnames
[] = {
40050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
40052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40053 result
= (wxPySizer
*)new wxPySizer();
40055 wxPyEndAllowThreads(__tstate
);
40056 if (PyErr_Occurred()) SWIG_fail
;
40058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
40065 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40066 PyObject
*resultobj
;
40067 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
40068 PyObject
*arg2
= (PyObject
*) 0 ;
40069 PyObject
*arg3
= (PyObject
*) 0 ;
40070 PyObject
* obj0
= 0 ;
40071 PyObject
* obj1
= 0 ;
40072 PyObject
* obj2
= 0 ;
40073 char *kwnames
[] = {
40074 (char *) "self",(char *) "self",(char *) "_class", NULL
40077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
40079 if (SWIG_arg_fail(1)) SWIG_fail
;
40083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40084 (arg1
)->_setCallbackInfo(arg2
,arg3
);
40086 wxPyEndAllowThreads(__tstate
);
40087 if (PyErr_Occurred()) SWIG_fail
;
40089 Py_INCREF(Py_None
); resultobj
= Py_None
;
40096 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
40098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40099 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
40101 return Py_BuildValue((char *)"");
40103 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40104 PyObject
*resultobj
;
40105 int arg1
= (int) wxHORIZONTAL
;
40106 wxBoxSizer
*result
;
40107 PyObject
* obj0
= 0 ;
40108 char *kwnames
[] = {
40109 (char *) "orient", NULL
40112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
40115 arg1
= (int)(SWIG_As_int(obj0
));
40116 if (SWIG_arg_fail(1)) SWIG_fail
;
40120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40121 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
40123 wxPyEndAllowThreads(__tstate
);
40124 if (PyErr_Occurred()) SWIG_fail
;
40126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
40133 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40134 PyObject
*resultobj
;
40135 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40137 PyObject
* obj0
= 0 ;
40138 char *kwnames
[] = {
40139 (char *) "self", NULL
40142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
40143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40144 if (SWIG_arg_fail(1)) SWIG_fail
;
40146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40147 result
= (int)(arg1
)->GetOrientation();
40149 wxPyEndAllowThreads(__tstate
);
40150 if (PyErr_Occurred()) SWIG_fail
;
40153 resultobj
= SWIG_From_int((int)(result
));
40161 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40162 PyObject
*resultobj
;
40163 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40165 PyObject
* obj0
= 0 ;
40166 PyObject
* obj1
= 0 ;
40167 char *kwnames
[] = {
40168 (char *) "self",(char *) "orient", NULL
40171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
40172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40173 if (SWIG_arg_fail(1)) SWIG_fail
;
40175 arg2
= (int)(SWIG_As_int(obj1
));
40176 if (SWIG_arg_fail(2)) SWIG_fail
;
40179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40180 (arg1
)->SetOrientation(arg2
);
40182 wxPyEndAllowThreads(__tstate
);
40183 if (PyErr_Occurred()) SWIG_fail
;
40185 Py_INCREF(Py_None
); resultobj
= Py_None
;
40192 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40194 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40195 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
40197 return Py_BuildValue((char *)"");
40199 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40200 PyObject
*resultobj
;
40201 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
40202 int arg2
= (int) wxHORIZONTAL
;
40203 wxStaticBoxSizer
*result
;
40204 PyObject
* obj0
= 0 ;
40205 PyObject
* obj1
= 0 ;
40206 char *kwnames
[] = {
40207 (char *) "box",(char *) "orient", NULL
40210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
40211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
40212 if (SWIG_arg_fail(1)) SWIG_fail
;
40215 arg2
= (int)(SWIG_As_int(obj1
));
40216 if (SWIG_arg_fail(2)) SWIG_fail
;
40220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40221 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
40223 wxPyEndAllowThreads(__tstate
);
40224 if (PyErr_Occurred()) SWIG_fail
;
40226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
40233 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40234 PyObject
*resultobj
;
40235 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
40236 wxStaticBox
*result
;
40237 PyObject
* obj0
= 0 ;
40238 char *kwnames
[] = {
40239 (char *) "self", NULL
40242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
40243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40244 if (SWIG_arg_fail(1)) SWIG_fail
;
40246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40247 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
40249 wxPyEndAllowThreads(__tstate
);
40250 if (PyErr_Occurred()) SWIG_fail
;
40253 resultobj
= wxPyMake_wxObject(result
, 0);
40261 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40263 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40264 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
40266 return Py_BuildValue((char *)"");
40268 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40269 PyObject
*resultobj
;
40270 int arg1
= (int) 1 ;
40271 int arg2
= (int) 0 ;
40272 int arg3
= (int) 0 ;
40273 int arg4
= (int) 0 ;
40274 wxGridSizer
*result
;
40275 PyObject
* obj0
= 0 ;
40276 PyObject
* obj1
= 0 ;
40277 PyObject
* obj2
= 0 ;
40278 PyObject
* obj3
= 0 ;
40279 char *kwnames
[] = {
40280 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40286 arg1
= (int)(SWIG_As_int(obj0
));
40287 if (SWIG_arg_fail(1)) SWIG_fail
;
40292 arg2
= (int)(SWIG_As_int(obj1
));
40293 if (SWIG_arg_fail(2)) SWIG_fail
;
40298 arg3
= (int)(SWIG_As_int(obj2
));
40299 if (SWIG_arg_fail(3)) SWIG_fail
;
40304 arg4
= (int)(SWIG_As_int(obj3
));
40305 if (SWIG_arg_fail(4)) SWIG_fail
;
40309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40310 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
40312 wxPyEndAllowThreads(__tstate
);
40313 if (PyErr_Occurred()) SWIG_fail
;
40315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
40322 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40323 PyObject
*resultobj
;
40324 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40326 PyObject
* obj0
= 0 ;
40327 PyObject
* obj1
= 0 ;
40328 char *kwnames
[] = {
40329 (char *) "self",(char *) "cols", NULL
40332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
40333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40334 if (SWIG_arg_fail(1)) SWIG_fail
;
40336 arg2
= (int)(SWIG_As_int(obj1
));
40337 if (SWIG_arg_fail(2)) SWIG_fail
;
40340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40341 (arg1
)->SetCols(arg2
);
40343 wxPyEndAllowThreads(__tstate
);
40344 if (PyErr_Occurred()) SWIG_fail
;
40346 Py_INCREF(Py_None
); resultobj
= Py_None
;
40353 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40354 PyObject
*resultobj
;
40355 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40357 PyObject
* obj0
= 0 ;
40358 PyObject
* obj1
= 0 ;
40359 char *kwnames
[] = {
40360 (char *) "self",(char *) "rows", NULL
40363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
40364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40365 if (SWIG_arg_fail(1)) SWIG_fail
;
40367 arg2
= (int)(SWIG_As_int(obj1
));
40368 if (SWIG_arg_fail(2)) SWIG_fail
;
40371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40372 (arg1
)->SetRows(arg2
);
40374 wxPyEndAllowThreads(__tstate
);
40375 if (PyErr_Occurred()) SWIG_fail
;
40377 Py_INCREF(Py_None
); resultobj
= Py_None
;
40384 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40385 PyObject
*resultobj
;
40386 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40388 PyObject
* obj0
= 0 ;
40389 PyObject
* obj1
= 0 ;
40390 char *kwnames
[] = {
40391 (char *) "self",(char *) "gap", NULL
40394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40396 if (SWIG_arg_fail(1)) SWIG_fail
;
40398 arg2
= (int)(SWIG_As_int(obj1
));
40399 if (SWIG_arg_fail(2)) SWIG_fail
;
40402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40403 (arg1
)->SetVGap(arg2
);
40405 wxPyEndAllowThreads(__tstate
);
40406 if (PyErr_Occurred()) SWIG_fail
;
40408 Py_INCREF(Py_None
); resultobj
= Py_None
;
40415 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40416 PyObject
*resultobj
;
40417 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40419 PyObject
* obj0
= 0 ;
40420 PyObject
* obj1
= 0 ;
40421 char *kwnames
[] = {
40422 (char *) "self",(char *) "gap", NULL
40425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40427 if (SWIG_arg_fail(1)) SWIG_fail
;
40429 arg2
= (int)(SWIG_As_int(obj1
));
40430 if (SWIG_arg_fail(2)) SWIG_fail
;
40433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40434 (arg1
)->SetHGap(arg2
);
40436 wxPyEndAllowThreads(__tstate
);
40437 if (PyErr_Occurred()) SWIG_fail
;
40439 Py_INCREF(Py_None
); resultobj
= Py_None
;
40446 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40447 PyObject
*resultobj
;
40448 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40450 PyObject
* obj0
= 0 ;
40451 char *kwnames
[] = {
40452 (char *) "self", NULL
40455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
40456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40457 if (SWIG_arg_fail(1)) SWIG_fail
;
40459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40460 result
= (int)(arg1
)->GetCols();
40462 wxPyEndAllowThreads(__tstate
);
40463 if (PyErr_Occurred()) SWIG_fail
;
40466 resultobj
= SWIG_From_int((int)(result
));
40474 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40475 PyObject
*resultobj
;
40476 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40478 PyObject
* obj0
= 0 ;
40479 char *kwnames
[] = {
40480 (char *) "self", NULL
40483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
40484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40485 if (SWIG_arg_fail(1)) SWIG_fail
;
40487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40488 result
= (int)(arg1
)->GetRows();
40490 wxPyEndAllowThreads(__tstate
);
40491 if (PyErr_Occurred()) SWIG_fail
;
40494 resultobj
= SWIG_From_int((int)(result
));
40502 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40503 PyObject
*resultobj
;
40504 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40506 PyObject
* obj0
= 0 ;
40507 char *kwnames
[] = {
40508 (char *) "self", NULL
40511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
40512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40513 if (SWIG_arg_fail(1)) SWIG_fail
;
40515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40516 result
= (int)(arg1
)->GetVGap();
40518 wxPyEndAllowThreads(__tstate
);
40519 if (PyErr_Occurred()) SWIG_fail
;
40522 resultobj
= SWIG_From_int((int)(result
));
40530 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40531 PyObject
*resultobj
;
40532 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40534 PyObject
* obj0
= 0 ;
40535 char *kwnames
[] = {
40536 (char *) "self", NULL
40539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
40540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40541 if (SWIG_arg_fail(1)) SWIG_fail
;
40543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40544 result
= (int)(arg1
)->GetHGap();
40546 wxPyEndAllowThreads(__tstate
);
40547 if (PyErr_Occurred()) SWIG_fail
;
40550 resultobj
= SWIG_From_int((int)(result
));
40558 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
40560 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40561 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
40563 return Py_BuildValue((char *)"");
40565 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40566 PyObject
*resultobj
;
40567 int arg1
= (int) 1 ;
40568 int arg2
= (int) 0 ;
40569 int arg3
= (int) 0 ;
40570 int arg4
= (int) 0 ;
40571 wxFlexGridSizer
*result
;
40572 PyObject
* obj0
= 0 ;
40573 PyObject
* obj1
= 0 ;
40574 PyObject
* obj2
= 0 ;
40575 PyObject
* obj3
= 0 ;
40576 char *kwnames
[] = {
40577 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40583 arg1
= (int)(SWIG_As_int(obj0
));
40584 if (SWIG_arg_fail(1)) SWIG_fail
;
40589 arg2
= (int)(SWIG_As_int(obj1
));
40590 if (SWIG_arg_fail(2)) SWIG_fail
;
40595 arg3
= (int)(SWIG_As_int(obj2
));
40596 if (SWIG_arg_fail(3)) SWIG_fail
;
40601 arg4
= (int)(SWIG_As_int(obj3
));
40602 if (SWIG_arg_fail(4)) SWIG_fail
;
40606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40607 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
40609 wxPyEndAllowThreads(__tstate
);
40610 if (PyErr_Occurred()) SWIG_fail
;
40612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
40619 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40620 PyObject
*resultobj
;
40621 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40623 int arg3
= (int) 0 ;
40624 PyObject
* obj0
= 0 ;
40625 PyObject
* obj1
= 0 ;
40626 PyObject
* obj2
= 0 ;
40627 char *kwnames
[] = {
40628 (char *) "self",(char *) "idx",(char *) "proportion", NULL
40631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40633 if (SWIG_arg_fail(1)) SWIG_fail
;
40635 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40636 if (SWIG_arg_fail(2)) SWIG_fail
;
40640 arg3
= (int)(SWIG_As_int(obj2
));
40641 if (SWIG_arg_fail(3)) SWIG_fail
;
40645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40646 (arg1
)->AddGrowableRow(arg2
,arg3
);
40648 wxPyEndAllowThreads(__tstate
);
40649 if (PyErr_Occurred()) SWIG_fail
;
40651 Py_INCREF(Py_None
); resultobj
= Py_None
;
40658 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40659 PyObject
*resultobj
;
40660 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40662 PyObject
* obj0
= 0 ;
40663 PyObject
* obj1
= 0 ;
40664 char *kwnames
[] = {
40665 (char *) "self",(char *) "idx", NULL
40668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
40669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40670 if (SWIG_arg_fail(1)) SWIG_fail
;
40672 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40673 if (SWIG_arg_fail(2)) SWIG_fail
;
40676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40677 (arg1
)->RemoveGrowableRow(arg2
);
40679 wxPyEndAllowThreads(__tstate
);
40680 if (PyErr_Occurred()) SWIG_fail
;
40682 Py_INCREF(Py_None
); resultobj
= Py_None
;
40689 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40690 PyObject
*resultobj
;
40691 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40693 int arg3
= (int) 0 ;
40694 PyObject
* obj0
= 0 ;
40695 PyObject
* obj1
= 0 ;
40696 PyObject
* obj2
= 0 ;
40697 char *kwnames
[] = {
40698 (char *) "self",(char *) "idx",(char *) "proportion", NULL
40701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40703 if (SWIG_arg_fail(1)) SWIG_fail
;
40705 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40706 if (SWIG_arg_fail(2)) SWIG_fail
;
40710 arg3
= (int)(SWIG_As_int(obj2
));
40711 if (SWIG_arg_fail(3)) SWIG_fail
;
40715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40716 (arg1
)->AddGrowableCol(arg2
,arg3
);
40718 wxPyEndAllowThreads(__tstate
);
40719 if (PyErr_Occurred()) SWIG_fail
;
40721 Py_INCREF(Py_None
); resultobj
= Py_None
;
40728 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40729 PyObject
*resultobj
;
40730 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40732 PyObject
* obj0
= 0 ;
40733 PyObject
* obj1
= 0 ;
40734 char *kwnames
[] = {
40735 (char *) "self",(char *) "idx", NULL
40738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
40739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40740 if (SWIG_arg_fail(1)) SWIG_fail
;
40742 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40743 if (SWIG_arg_fail(2)) SWIG_fail
;
40746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40747 (arg1
)->RemoveGrowableCol(arg2
);
40749 wxPyEndAllowThreads(__tstate
);
40750 if (PyErr_Occurred()) SWIG_fail
;
40752 Py_INCREF(Py_None
); resultobj
= Py_None
;
40759 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40760 PyObject
*resultobj
;
40761 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40763 PyObject
* obj0
= 0 ;
40764 PyObject
* obj1
= 0 ;
40765 char *kwnames
[] = {
40766 (char *) "self",(char *) "direction", NULL
40769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
40770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40771 if (SWIG_arg_fail(1)) SWIG_fail
;
40773 arg2
= (int)(SWIG_As_int(obj1
));
40774 if (SWIG_arg_fail(2)) SWIG_fail
;
40777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40778 (arg1
)->SetFlexibleDirection(arg2
);
40780 wxPyEndAllowThreads(__tstate
);
40781 if (PyErr_Occurred()) SWIG_fail
;
40783 Py_INCREF(Py_None
); resultobj
= Py_None
;
40790 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40791 PyObject
*resultobj
;
40792 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40794 PyObject
* obj0
= 0 ;
40795 char *kwnames
[] = {
40796 (char *) "self", NULL
40799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
40800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40801 if (SWIG_arg_fail(1)) SWIG_fail
;
40803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40804 result
= (int)(arg1
)->GetFlexibleDirection();
40806 wxPyEndAllowThreads(__tstate
);
40807 if (PyErr_Occurred()) SWIG_fail
;
40810 resultobj
= SWIG_From_int((int)(result
));
40818 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40819 PyObject
*resultobj
;
40820 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40821 wxFlexSizerGrowMode arg2
;
40822 PyObject
* obj0
= 0 ;
40823 PyObject
* obj1
= 0 ;
40824 char *kwnames
[] = {
40825 (char *) "self",(char *) "mode", NULL
40828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
40829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40830 if (SWIG_arg_fail(1)) SWIG_fail
;
40832 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
40833 if (SWIG_arg_fail(2)) SWIG_fail
;
40836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40837 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
40839 wxPyEndAllowThreads(__tstate
);
40840 if (PyErr_Occurred()) SWIG_fail
;
40842 Py_INCREF(Py_None
); resultobj
= Py_None
;
40849 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40850 PyObject
*resultobj
;
40851 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40852 wxFlexSizerGrowMode result
;
40853 PyObject
* obj0
= 0 ;
40854 char *kwnames
[] = {
40855 (char *) "self", NULL
40858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
40859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40860 if (SWIG_arg_fail(1)) SWIG_fail
;
40862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40863 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
40865 wxPyEndAllowThreads(__tstate
);
40866 if (PyErr_Occurred()) SWIG_fail
;
40868 resultobj
= SWIG_From_int((result
));
40875 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40876 PyObject
*resultobj
;
40877 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40878 wxArrayInt
*result
;
40879 PyObject
* obj0
= 0 ;
40880 char *kwnames
[] = {
40881 (char *) "self", NULL
40884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
40885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40886 if (SWIG_arg_fail(1)) SWIG_fail
;
40888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40890 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
40891 result
= (wxArrayInt
*) &_result_ref
;
40894 wxPyEndAllowThreads(__tstate
);
40895 if (PyErr_Occurred()) SWIG_fail
;
40898 resultobj
= PyList_New(0);
40900 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
40901 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
40902 PyList_Append(resultobj
, val
);
40912 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40913 PyObject
*resultobj
;
40914 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40915 wxArrayInt
*result
;
40916 PyObject
* obj0
= 0 ;
40917 char *kwnames
[] = {
40918 (char *) "self", NULL
40921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
40922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40923 if (SWIG_arg_fail(1)) SWIG_fail
;
40925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40927 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
40928 result
= (wxArrayInt
*) &_result_ref
;
40931 wxPyEndAllowThreads(__tstate
);
40932 if (PyErr_Occurred()) SWIG_fail
;
40935 resultobj
= PyList_New(0);
40937 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
40938 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
40939 PyList_Append(resultobj
, val
);
40949 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
40951 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40952 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
40954 return Py_BuildValue((char *)"");
40956 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40957 PyObject
*resultobj
;
40958 wxStdDialogButtonSizer
*result
;
40959 char *kwnames
[] = {
40963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
40965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40966 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
40968 wxPyEndAllowThreads(__tstate
);
40969 if (PyErr_Occurred()) SWIG_fail
;
40971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
40978 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40979 PyObject
*resultobj
;
40980 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40981 wxButton
*arg2
= (wxButton
*) 0 ;
40982 PyObject
* obj0
= 0 ;
40983 PyObject
* obj1
= 0 ;
40984 char *kwnames
[] = {
40985 (char *) "self",(char *) "button", NULL
40988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
40989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40990 if (SWIG_arg_fail(1)) SWIG_fail
;
40991 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
40992 if (SWIG_arg_fail(2)) SWIG_fail
;
40994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40995 (arg1
)->AddButton(arg2
);
40997 wxPyEndAllowThreads(__tstate
);
40998 if (PyErr_Occurred()) SWIG_fail
;
41000 Py_INCREF(Py_None
); resultobj
= Py_None
;
41007 static PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41008 PyObject
*resultobj
;
41009 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41010 PyObject
* obj0
= 0 ;
41011 char *kwnames
[] = {
41012 (char *) "self", NULL
41015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Realize",kwnames
,&obj0
)) goto fail
;
41016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41017 if (SWIG_arg_fail(1)) SWIG_fail
;
41019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41022 wxPyEndAllowThreads(__tstate
);
41023 if (PyErr_Occurred()) SWIG_fail
;
41025 Py_INCREF(Py_None
); resultobj
= Py_None
;
41032 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41033 PyObject
*resultobj
;
41034 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41035 wxButton
*arg2
= (wxButton
*) 0 ;
41036 PyObject
* obj0
= 0 ;
41037 PyObject
* obj1
= 0 ;
41038 char *kwnames
[] = {
41039 (char *) "self",(char *) "button", NULL
41042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41044 if (SWIG_arg_fail(1)) SWIG_fail
;
41045 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41046 if (SWIG_arg_fail(2)) SWIG_fail
;
41048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41049 (arg1
)->SetAffirmativeButton(arg2
);
41051 wxPyEndAllowThreads(__tstate
);
41052 if (PyErr_Occurred()) SWIG_fail
;
41054 Py_INCREF(Py_None
); resultobj
= Py_None
;
41061 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41062 PyObject
*resultobj
;
41063 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41064 wxButton
*arg2
= (wxButton
*) 0 ;
41065 PyObject
* obj0
= 0 ;
41066 PyObject
* obj1
= 0 ;
41067 char *kwnames
[] = {
41068 (char *) "self",(char *) "button", NULL
41071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41073 if (SWIG_arg_fail(1)) SWIG_fail
;
41074 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41075 if (SWIG_arg_fail(2)) SWIG_fail
;
41077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41078 (arg1
)->SetNegativeButton(arg2
);
41080 wxPyEndAllowThreads(__tstate
);
41081 if (PyErr_Occurred()) SWIG_fail
;
41083 Py_INCREF(Py_None
); resultobj
= Py_None
;
41090 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41091 PyObject
*resultobj
;
41092 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41093 wxButton
*arg2
= (wxButton
*) 0 ;
41094 PyObject
* obj0
= 0 ;
41095 PyObject
* obj1
= 0 ;
41096 char *kwnames
[] = {
41097 (char *) "self",(char *) "button", NULL
41100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41102 if (SWIG_arg_fail(1)) SWIG_fail
;
41103 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41104 if (SWIG_arg_fail(2)) SWIG_fail
;
41106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41107 (arg1
)->SetCancelButton(arg2
);
41109 wxPyEndAllowThreads(__tstate
);
41110 if (PyErr_Occurred()) SWIG_fail
;
41112 Py_INCREF(Py_None
); resultobj
= Py_None
;
41119 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41120 PyObject
*resultobj
;
41121 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41123 PyObject
* obj0
= 0 ;
41124 char *kwnames
[] = {
41125 (char *) "self", NULL
41128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
41129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41130 if (SWIG_arg_fail(1)) SWIG_fail
;
41132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41133 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
41135 wxPyEndAllowThreads(__tstate
);
41136 if (PyErr_Occurred()) SWIG_fail
;
41139 resultobj
= wxPyMake_wxObject(result
, 0);
41147 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41148 PyObject
*resultobj
;
41149 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41151 PyObject
* obj0
= 0 ;
41152 char *kwnames
[] = {
41153 (char *) "self", NULL
41156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
41157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41158 if (SWIG_arg_fail(1)) SWIG_fail
;
41160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41161 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
41163 wxPyEndAllowThreads(__tstate
);
41164 if (PyErr_Occurred()) SWIG_fail
;
41167 resultobj
= wxPyMake_wxObject(result
, 0);
41175 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41176 PyObject
*resultobj
;
41177 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41179 PyObject
* obj0
= 0 ;
41180 char *kwnames
[] = {
41181 (char *) "self", NULL
41184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
41185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41186 if (SWIG_arg_fail(1)) SWIG_fail
;
41188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41189 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
41191 wxPyEndAllowThreads(__tstate
);
41192 if (PyErr_Occurred()) SWIG_fail
;
41195 resultobj
= wxPyMake_wxObject(result
, 0);
41203 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41204 PyObject
*resultobj
;
41205 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41207 PyObject
* obj0
= 0 ;
41208 char *kwnames
[] = {
41209 (char *) "self", NULL
41212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
41213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41214 if (SWIG_arg_fail(1)) SWIG_fail
;
41216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41217 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
41219 wxPyEndAllowThreads(__tstate
);
41220 if (PyErr_Occurred()) SWIG_fail
;
41223 resultobj
= wxPyMake_wxObject(result
, 0);
41231 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41232 PyObject
*resultobj
;
41233 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41235 PyObject
* obj0
= 0 ;
41236 char *kwnames
[] = {
41237 (char *) "self", NULL
41240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
41241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41242 if (SWIG_arg_fail(1)) SWIG_fail
;
41244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41245 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
41247 wxPyEndAllowThreads(__tstate
);
41248 if (PyErr_Occurred()) SWIG_fail
;
41251 resultobj
= wxPyMake_wxObject(result
, 0);
41259 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
41261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41262 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
41264 return Py_BuildValue((char *)"");
41266 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41267 PyObject
*resultobj
;
41268 int arg1
= (int) 0 ;
41269 int arg2
= (int) 0 ;
41270 wxGBPosition
*result
;
41271 PyObject
* obj0
= 0 ;
41272 PyObject
* obj1
= 0 ;
41273 char *kwnames
[] = {
41274 (char *) "row",(char *) "col", NULL
41277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
41280 arg1
= (int)(SWIG_As_int(obj0
));
41281 if (SWIG_arg_fail(1)) SWIG_fail
;
41286 arg2
= (int)(SWIG_As_int(obj1
));
41287 if (SWIG_arg_fail(2)) SWIG_fail
;
41291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41292 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
41294 wxPyEndAllowThreads(__tstate
);
41295 if (PyErr_Occurred()) SWIG_fail
;
41297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
41304 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41305 PyObject
*resultobj
;
41306 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41308 PyObject
* obj0
= 0 ;
41309 char *kwnames
[] = {
41310 (char *) "self", NULL
41313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
41314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41315 if (SWIG_arg_fail(1)) SWIG_fail
;
41317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41318 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
41320 wxPyEndAllowThreads(__tstate
);
41321 if (PyErr_Occurred()) SWIG_fail
;
41324 resultobj
= SWIG_From_int((int)(result
));
41332 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41333 PyObject
*resultobj
;
41334 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41336 PyObject
* obj0
= 0 ;
41337 char *kwnames
[] = {
41338 (char *) "self", NULL
41341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
41342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41343 if (SWIG_arg_fail(1)) SWIG_fail
;
41345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41346 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
41348 wxPyEndAllowThreads(__tstate
);
41349 if (PyErr_Occurred()) SWIG_fail
;
41352 resultobj
= SWIG_From_int((int)(result
));
41360 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41361 PyObject
*resultobj
;
41362 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41364 PyObject
* obj0
= 0 ;
41365 PyObject
* obj1
= 0 ;
41366 char *kwnames
[] = {
41367 (char *) "self",(char *) "row", NULL
41370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41372 if (SWIG_arg_fail(1)) SWIG_fail
;
41374 arg2
= (int)(SWIG_As_int(obj1
));
41375 if (SWIG_arg_fail(2)) SWIG_fail
;
41378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41379 (arg1
)->SetRow(arg2
);
41381 wxPyEndAllowThreads(__tstate
);
41382 if (PyErr_Occurred()) SWIG_fail
;
41384 Py_INCREF(Py_None
); resultobj
= Py_None
;
41391 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41392 PyObject
*resultobj
;
41393 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41395 PyObject
* obj0
= 0 ;
41396 PyObject
* obj1
= 0 ;
41397 char *kwnames
[] = {
41398 (char *) "self",(char *) "col", NULL
41401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41403 if (SWIG_arg_fail(1)) SWIG_fail
;
41405 arg2
= (int)(SWIG_As_int(obj1
));
41406 if (SWIG_arg_fail(2)) SWIG_fail
;
41409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41410 (arg1
)->SetCol(arg2
);
41412 wxPyEndAllowThreads(__tstate
);
41413 if (PyErr_Occurred()) SWIG_fail
;
41415 Py_INCREF(Py_None
); resultobj
= Py_None
;
41422 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41423 PyObject
*resultobj
;
41424 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41425 wxGBPosition
*arg2
= 0 ;
41427 wxGBPosition temp2
;
41428 PyObject
* obj0
= 0 ;
41429 PyObject
* obj1
= 0 ;
41430 char *kwnames
[] = {
41431 (char *) "self",(char *) "other", NULL
41434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41436 if (SWIG_arg_fail(1)) SWIG_fail
;
41439 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41443 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
41445 wxPyEndAllowThreads(__tstate
);
41446 if (PyErr_Occurred()) SWIG_fail
;
41449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41457 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41458 PyObject
*resultobj
;
41459 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41460 wxGBPosition
*arg2
= 0 ;
41462 wxGBPosition temp2
;
41463 PyObject
* obj0
= 0 ;
41464 PyObject
* obj1
= 0 ;
41465 char *kwnames
[] = {
41466 (char *) "self",(char *) "other", NULL
41469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41471 if (SWIG_arg_fail(1)) SWIG_fail
;
41474 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41478 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
41480 wxPyEndAllowThreads(__tstate
);
41481 if (PyErr_Occurred()) SWIG_fail
;
41484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41492 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41493 PyObject
*resultobj
;
41494 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41495 int arg2
= (int) 0 ;
41496 int arg3
= (int) 0 ;
41497 PyObject
* obj0
= 0 ;
41498 PyObject
* obj1
= 0 ;
41499 PyObject
* obj2
= 0 ;
41500 char *kwnames
[] = {
41501 (char *) "self",(char *) "row",(char *) "col", NULL
41504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41506 if (SWIG_arg_fail(1)) SWIG_fail
;
41509 arg2
= (int)(SWIG_As_int(obj1
));
41510 if (SWIG_arg_fail(2)) SWIG_fail
;
41515 arg3
= (int)(SWIG_As_int(obj2
));
41516 if (SWIG_arg_fail(3)) SWIG_fail
;
41520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41521 wxGBPosition_Set(arg1
,arg2
,arg3
);
41523 wxPyEndAllowThreads(__tstate
);
41524 if (PyErr_Occurred()) SWIG_fail
;
41526 Py_INCREF(Py_None
); resultobj
= Py_None
;
41533 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41534 PyObject
*resultobj
;
41535 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41537 PyObject
* obj0
= 0 ;
41538 char *kwnames
[] = {
41539 (char *) "self", NULL
41542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
41543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41544 if (SWIG_arg_fail(1)) SWIG_fail
;
41546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41547 result
= (PyObject
*)wxGBPosition_Get(arg1
);
41549 wxPyEndAllowThreads(__tstate
);
41550 if (PyErr_Occurred()) SWIG_fail
;
41552 resultobj
= result
;
41559 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
41561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41562 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
41564 return Py_BuildValue((char *)"");
41566 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41567 PyObject
*resultobj
;
41568 int arg1
= (int) 1 ;
41569 int arg2
= (int) 1 ;
41571 PyObject
* obj0
= 0 ;
41572 PyObject
* obj1
= 0 ;
41573 char *kwnames
[] = {
41574 (char *) "rowspan",(char *) "colspan", NULL
41577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
41580 arg1
= (int)(SWIG_As_int(obj0
));
41581 if (SWIG_arg_fail(1)) SWIG_fail
;
41586 arg2
= (int)(SWIG_As_int(obj1
));
41587 if (SWIG_arg_fail(2)) SWIG_fail
;
41591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41592 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
41594 wxPyEndAllowThreads(__tstate
);
41595 if (PyErr_Occurred()) SWIG_fail
;
41597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
41604 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41605 PyObject
*resultobj
;
41606 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41608 PyObject
* obj0
= 0 ;
41609 char *kwnames
[] = {
41610 (char *) "self", NULL
41613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
41614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41615 if (SWIG_arg_fail(1)) SWIG_fail
;
41617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41618 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
41620 wxPyEndAllowThreads(__tstate
);
41621 if (PyErr_Occurred()) SWIG_fail
;
41624 resultobj
= SWIG_From_int((int)(result
));
41632 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41633 PyObject
*resultobj
;
41634 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41636 PyObject
* obj0
= 0 ;
41637 char *kwnames
[] = {
41638 (char *) "self", NULL
41641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
41642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41643 if (SWIG_arg_fail(1)) SWIG_fail
;
41645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41646 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
41648 wxPyEndAllowThreads(__tstate
);
41649 if (PyErr_Occurred()) SWIG_fail
;
41652 resultobj
= SWIG_From_int((int)(result
));
41660 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41661 PyObject
*resultobj
;
41662 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41664 PyObject
* obj0
= 0 ;
41665 PyObject
* obj1
= 0 ;
41666 char *kwnames
[] = {
41667 (char *) "self",(char *) "rowspan", NULL
41670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
41671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41672 if (SWIG_arg_fail(1)) SWIG_fail
;
41674 arg2
= (int)(SWIG_As_int(obj1
));
41675 if (SWIG_arg_fail(2)) SWIG_fail
;
41678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41679 (arg1
)->SetRowspan(arg2
);
41681 wxPyEndAllowThreads(__tstate
);
41682 if (PyErr_Occurred()) SWIG_fail
;
41684 Py_INCREF(Py_None
); resultobj
= Py_None
;
41691 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41692 PyObject
*resultobj
;
41693 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41695 PyObject
* obj0
= 0 ;
41696 PyObject
* obj1
= 0 ;
41697 char *kwnames
[] = {
41698 (char *) "self",(char *) "colspan", NULL
41701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
41702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41703 if (SWIG_arg_fail(1)) SWIG_fail
;
41705 arg2
= (int)(SWIG_As_int(obj1
));
41706 if (SWIG_arg_fail(2)) SWIG_fail
;
41709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41710 (arg1
)->SetColspan(arg2
);
41712 wxPyEndAllowThreads(__tstate
);
41713 if (PyErr_Occurred()) SWIG_fail
;
41715 Py_INCREF(Py_None
); resultobj
= Py_None
;
41722 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41723 PyObject
*resultobj
;
41724 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41725 wxGBSpan
*arg2
= 0 ;
41728 PyObject
* obj0
= 0 ;
41729 PyObject
* obj1
= 0 ;
41730 char *kwnames
[] = {
41731 (char *) "self",(char *) "other", NULL
41734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41736 if (SWIG_arg_fail(1)) SWIG_fail
;
41739 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41743 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
41745 wxPyEndAllowThreads(__tstate
);
41746 if (PyErr_Occurred()) SWIG_fail
;
41749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41757 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41758 PyObject
*resultobj
;
41759 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41760 wxGBSpan
*arg2
= 0 ;
41763 PyObject
* obj0
= 0 ;
41764 PyObject
* obj1
= 0 ;
41765 char *kwnames
[] = {
41766 (char *) "self",(char *) "other", NULL
41769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41771 if (SWIG_arg_fail(1)) SWIG_fail
;
41774 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41778 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
41780 wxPyEndAllowThreads(__tstate
);
41781 if (PyErr_Occurred()) SWIG_fail
;
41784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41792 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41793 PyObject
*resultobj
;
41794 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41795 int arg2
= (int) 1 ;
41796 int arg3
= (int) 1 ;
41797 PyObject
* obj0
= 0 ;
41798 PyObject
* obj1
= 0 ;
41799 PyObject
* obj2
= 0 ;
41800 char *kwnames
[] = {
41801 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
41804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41806 if (SWIG_arg_fail(1)) SWIG_fail
;
41809 arg2
= (int)(SWIG_As_int(obj1
));
41810 if (SWIG_arg_fail(2)) SWIG_fail
;
41815 arg3
= (int)(SWIG_As_int(obj2
));
41816 if (SWIG_arg_fail(3)) SWIG_fail
;
41820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41821 wxGBSpan_Set(arg1
,arg2
,arg3
);
41823 wxPyEndAllowThreads(__tstate
);
41824 if (PyErr_Occurred()) SWIG_fail
;
41826 Py_INCREF(Py_None
); resultobj
= Py_None
;
41833 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41834 PyObject
*resultobj
;
41835 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41837 PyObject
* obj0
= 0 ;
41838 char *kwnames
[] = {
41839 (char *) "self", NULL
41842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
41843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41844 if (SWIG_arg_fail(1)) SWIG_fail
;
41846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41847 result
= (PyObject
*)wxGBSpan_Get(arg1
);
41849 wxPyEndAllowThreads(__tstate
);
41850 if (PyErr_Occurred()) SWIG_fail
;
41852 resultobj
= result
;
41859 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
41861 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41862 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
41864 return Py_BuildValue((char *)"");
41866 static int _wrap_DefaultSpan_set(PyObject
*) {
41867 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
41872 static PyObject
*_wrap_DefaultSpan_get(void) {
41875 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
41880 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41881 PyObject
*resultobj
;
41882 wxGBSizerItem
*result
;
41883 char *kwnames
[] = {
41887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
41889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41890 result
= (wxGBSizerItem
*)new wxGBSizerItem();
41892 wxPyEndAllowThreads(__tstate
);
41893 if (PyErr_Occurred()) SWIG_fail
;
41895 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41902 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41903 PyObject
*resultobj
;
41904 wxWindow
*arg1
= (wxWindow
*) 0 ;
41905 wxGBPosition
*arg2
= 0 ;
41906 wxGBSpan
*arg3
= 0 ;
41909 PyObject
*arg6
= (PyObject
*) NULL
;
41910 wxGBSizerItem
*result
;
41911 wxGBPosition temp2
;
41913 PyObject
* obj0
= 0 ;
41914 PyObject
* obj1
= 0 ;
41915 PyObject
* obj2
= 0 ;
41916 PyObject
* obj3
= 0 ;
41917 PyObject
* obj4
= 0 ;
41918 PyObject
* obj5
= 0 ;
41919 char *kwnames
[] = {
41920 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
41924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
41925 if (SWIG_arg_fail(1)) SWIG_fail
;
41928 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41932 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
41935 arg4
= (int)(SWIG_As_int(obj3
));
41936 if (SWIG_arg_fail(4)) SWIG_fail
;
41939 arg5
= (int)(SWIG_As_int(obj4
));
41940 if (SWIG_arg_fail(5)) SWIG_fail
;
41946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41947 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
41949 wxPyEndAllowThreads(__tstate
);
41950 if (PyErr_Occurred()) SWIG_fail
;
41952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41959 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41960 PyObject
*resultobj
;
41961 wxSizer
*arg1
= (wxSizer
*) 0 ;
41962 wxGBPosition
*arg2
= 0 ;
41963 wxGBSpan
*arg3
= 0 ;
41966 PyObject
*arg6
= (PyObject
*) NULL
;
41967 wxGBSizerItem
*result
;
41968 wxGBPosition temp2
;
41970 PyObject
* obj0
= 0 ;
41971 PyObject
* obj1
= 0 ;
41972 PyObject
* obj2
= 0 ;
41973 PyObject
* obj3
= 0 ;
41974 PyObject
* obj4
= 0 ;
41975 PyObject
* obj5
= 0 ;
41976 char *kwnames
[] = {
41977 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
41981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41982 if (SWIG_arg_fail(1)) SWIG_fail
;
41985 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41989 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
41992 arg4
= (int)(SWIG_As_int(obj3
));
41993 if (SWIG_arg_fail(4)) SWIG_fail
;
41996 arg5
= (int)(SWIG_As_int(obj4
));
41997 if (SWIG_arg_fail(5)) SWIG_fail
;
42003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42004 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42006 wxPyEndAllowThreads(__tstate
);
42007 if (PyErr_Occurred()) SWIG_fail
;
42009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42016 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42017 PyObject
*resultobj
;
42020 wxGBPosition
*arg3
= 0 ;
42021 wxGBSpan
*arg4
= 0 ;
42024 PyObject
*arg7
= (PyObject
*) NULL
;
42025 wxGBSizerItem
*result
;
42026 wxGBPosition temp3
;
42028 PyObject
* obj0
= 0 ;
42029 PyObject
* obj1
= 0 ;
42030 PyObject
* obj2
= 0 ;
42031 PyObject
* obj3
= 0 ;
42032 PyObject
* obj4
= 0 ;
42033 PyObject
* obj5
= 0 ;
42034 PyObject
* obj6
= 0 ;
42035 char *kwnames
[] = {
42036 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42041 arg1
= (int)(SWIG_As_int(obj0
));
42042 if (SWIG_arg_fail(1)) SWIG_fail
;
42045 arg2
= (int)(SWIG_As_int(obj1
));
42046 if (SWIG_arg_fail(2)) SWIG_fail
;
42050 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42054 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42057 arg5
= (int)(SWIG_As_int(obj4
));
42058 if (SWIG_arg_fail(5)) SWIG_fail
;
42061 arg6
= (int)(SWIG_As_int(obj5
));
42062 if (SWIG_arg_fail(6)) SWIG_fail
;
42068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42069 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42071 wxPyEndAllowThreads(__tstate
);
42072 if (PyErr_Occurred()) SWIG_fail
;
42074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42081 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42082 PyObject
*resultobj
;
42083 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42084 wxGBPosition result
;
42085 PyObject
* obj0
= 0 ;
42086 char *kwnames
[] = {
42087 (char *) "self", NULL
42090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
42091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42092 if (SWIG_arg_fail(1)) SWIG_fail
;
42094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42095 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
42097 wxPyEndAllowThreads(__tstate
);
42098 if (PyErr_Occurred()) SWIG_fail
;
42101 wxGBPosition
* resultptr
;
42102 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42103 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42111 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42112 PyObject
*resultobj
;
42113 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42115 PyObject
* obj0
= 0 ;
42116 char *kwnames
[] = {
42117 (char *) "self", NULL
42120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
42121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42122 if (SWIG_arg_fail(1)) SWIG_fail
;
42124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42125 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
42127 wxPyEndAllowThreads(__tstate
);
42128 if (PyErr_Occurred()) SWIG_fail
;
42131 wxGBSpan
* resultptr
;
42132 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42133 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42141 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42142 PyObject
*resultobj
;
42143 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42144 wxGBPosition
*arg2
= 0 ;
42146 wxGBPosition temp2
;
42147 PyObject
* obj0
= 0 ;
42148 PyObject
* obj1
= 0 ;
42149 char *kwnames
[] = {
42150 (char *) "self",(char *) "pos", NULL
42153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
42154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42155 if (SWIG_arg_fail(1)) SWIG_fail
;
42158 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42162 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
42164 wxPyEndAllowThreads(__tstate
);
42165 if (PyErr_Occurred()) SWIG_fail
;
42168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42176 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42177 PyObject
*resultobj
;
42178 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42179 wxGBSpan
*arg2
= 0 ;
42182 PyObject
* obj0
= 0 ;
42183 PyObject
* obj1
= 0 ;
42184 char *kwnames
[] = {
42185 (char *) "self",(char *) "span", NULL
42188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42190 if (SWIG_arg_fail(1)) SWIG_fail
;
42193 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42197 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
42199 wxPyEndAllowThreads(__tstate
);
42200 if (PyErr_Occurred()) SWIG_fail
;
42203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42211 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42212 PyObject
*resultobj
;
42213 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42214 wxGBSizerItem
*arg2
= 0 ;
42216 PyObject
* obj0
= 0 ;
42217 PyObject
* obj1
= 0 ;
42218 char *kwnames
[] = {
42219 (char *) "self",(char *) "other", NULL
42222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
42223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42224 if (SWIG_arg_fail(1)) SWIG_fail
;
42226 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42227 if (SWIG_arg_fail(2)) SWIG_fail
;
42228 if (arg2
== NULL
) {
42229 SWIG_null_ref("wxGBSizerItem");
42231 if (SWIG_arg_fail(2)) SWIG_fail
;
42234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42235 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
42237 wxPyEndAllowThreads(__tstate
);
42238 if (PyErr_Occurred()) SWIG_fail
;
42241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42249 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42250 PyObject
*resultobj
;
42251 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42252 wxGBPosition
*arg2
= 0 ;
42253 wxGBSpan
*arg3
= 0 ;
42255 wxGBPosition temp2
;
42257 PyObject
* obj0
= 0 ;
42258 PyObject
* obj1
= 0 ;
42259 PyObject
* obj2
= 0 ;
42260 char *kwnames
[] = {
42261 (char *) "self",(char *) "pos",(char *) "span", NULL
42264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42266 if (SWIG_arg_fail(1)) SWIG_fail
;
42269 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42273 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42277 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
42279 wxPyEndAllowThreads(__tstate
);
42280 if (PyErr_Occurred()) SWIG_fail
;
42283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42291 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42292 PyObject
*resultobj
;
42293 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42294 wxGBPosition result
;
42295 PyObject
* obj0
= 0 ;
42296 char *kwnames
[] = {
42297 (char *) "self", NULL
42300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
42301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42302 if (SWIG_arg_fail(1)) SWIG_fail
;
42304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42305 result
= wxGBSizerItem_GetEndPos(arg1
);
42307 wxPyEndAllowThreads(__tstate
);
42308 if (PyErr_Occurred()) SWIG_fail
;
42311 wxGBPosition
* resultptr
;
42312 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42313 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42321 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42322 PyObject
*resultobj
;
42323 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42324 wxGridBagSizer
*result
;
42325 PyObject
* obj0
= 0 ;
42326 char *kwnames
[] = {
42327 (char *) "self", NULL
42330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
42331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42332 if (SWIG_arg_fail(1)) SWIG_fail
;
42334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42335 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
42337 wxPyEndAllowThreads(__tstate
);
42338 if (PyErr_Occurred()) SWIG_fail
;
42340 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
42347 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42348 PyObject
*resultobj
;
42349 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42350 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
42351 PyObject
* obj0
= 0 ;
42352 PyObject
* obj1
= 0 ;
42353 char *kwnames
[] = {
42354 (char *) "self",(char *) "sizer", NULL
42357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42359 if (SWIG_arg_fail(1)) SWIG_fail
;
42360 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42361 if (SWIG_arg_fail(2)) SWIG_fail
;
42363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42364 (arg1
)->SetGBSizer(arg2
);
42366 wxPyEndAllowThreads(__tstate
);
42367 if (PyErr_Occurred()) SWIG_fail
;
42369 Py_INCREF(Py_None
); resultobj
= Py_None
;
42376 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
42378 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42379 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
42381 return Py_BuildValue((char *)"");
42383 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42384 PyObject
*resultobj
;
42385 int arg1
= (int) 0 ;
42386 int arg2
= (int) 0 ;
42387 wxGridBagSizer
*result
;
42388 PyObject
* obj0
= 0 ;
42389 PyObject
* obj1
= 0 ;
42390 char *kwnames
[] = {
42391 (char *) "vgap",(char *) "hgap", NULL
42394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42397 arg1
= (int)(SWIG_As_int(obj0
));
42398 if (SWIG_arg_fail(1)) SWIG_fail
;
42403 arg2
= (int)(SWIG_As_int(obj1
));
42404 if (SWIG_arg_fail(2)) SWIG_fail
;
42408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42409 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
42411 wxPyEndAllowThreads(__tstate
);
42412 if (PyErr_Occurred()) SWIG_fail
;
42414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
42421 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42422 PyObject
*resultobj
;
42423 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42424 PyObject
*arg2
= (PyObject
*) 0 ;
42425 wxGBPosition
*arg3
= 0 ;
42426 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
42427 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
42428 int arg5
= (int) 0 ;
42429 int arg6
= (int) 0 ;
42430 PyObject
*arg7
= (PyObject
*) NULL
;
42431 wxGBSizerItem
*result
;
42432 wxGBPosition temp3
;
42434 PyObject
* obj0
= 0 ;
42435 PyObject
* obj1
= 0 ;
42436 PyObject
* obj2
= 0 ;
42437 PyObject
* obj3
= 0 ;
42438 PyObject
* obj4
= 0 ;
42439 PyObject
* obj5
= 0 ;
42440 PyObject
* obj6
= 0 ;
42441 char *kwnames
[] = {
42442 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42447 if (SWIG_arg_fail(1)) SWIG_fail
;
42451 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42456 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42461 arg5
= (int)(SWIG_As_int(obj4
));
42462 if (SWIG_arg_fail(5)) SWIG_fail
;
42467 arg6
= (int)(SWIG_As_int(obj5
));
42468 if (SWIG_arg_fail(6)) SWIG_fail
;
42475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42476 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42478 wxPyEndAllowThreads(__tstate
);
42479 if (PyErr_Occurred()) SWIG_fail
;
42481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42488 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42489 PyObject
*resultobj
;
42490 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42491 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
42492 wxGBSizerItem
*result
;
42493 PyObject
* obj0
= 0 ;
42494 PyObject
* obj1
= 0 ;
42495 char *kwnames
[] = {
42496 (char *) "self",(char *) "item", NULL
42499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
42500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42501 if (SWIG_arg_fail(1)) SWIG_fail
;
42502 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42503 if (SWIG_arg_fail(2)) SWIG_fail
;
42505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42506 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
42508 wxPyEndAllowThreads(__tstate
);
42509 if (PyErr_Occurred()) SWIG_fail
;
42511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42518 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42519 PyObject
*resultobj
;
42520 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42524 PyObject
* obj0
= 0 ;
42525 PyObject
* obj1
= 0 ;
42526 PyObject
* obj2
= 0 ;
42527 char *kwnames
[] = {
42528 (char *) "self",(char *) "row",(char *) "col", NULL
42531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42533 if (SWIG_arg_fail(1)) SWIG_fail
;
42535 arg2
= (int)(SWIG_As_int(obj1
));
42536 if (SWIG_arg_fail(2)) SWIG_fail
;
42539 arg3
= (int)(SWIG_As_int(obj2
));
42540 if (SWIG_arg_fail(3)) SWIG_fail
;
42543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42544 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
42546 wxPyEndAllowThreads(__tstate
);
42547 if (PyErr_Occurred()) SWIG_fail
;
42550 wxSize
* resultptr
;
42551 resultptr
= new wxSize((wxSize
&)(result
));
42552 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
42560 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42561 PyObject
*resultobj
;
42562 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42564 PyObject
* obj0
= 0 ;
42565 char *kwnames
[] = {
42566 (char *) "self", NULL
42569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
42570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42571 if (SWIG_arg_fail(1)) SWIG_fail
;
42573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42574 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
42576 wxPyEndAllowThreads(__tstate
);
42577 if (PyErr_Occurred()) SWIG_fail
;
42580 wxSize
* resultptr
;
42581 resultptr
= new wxSize((wxSize
&)(result
));
42582 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
42590 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42591 PyObject
*resultobj
;
42592 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42595 PyObject
* obj0
= 0 ;
42596 PyObject
* obj1
= 0 ;
42597 char *kwnames
[] = {
42598 (char *) "self",(char *) "sz", NULL
42601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
42602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42603 if (SWIG_arg_fail(1)) SWIG_fail
;
42606 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
42609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42610 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
42612 wxPyEndAllowThreads(__tstate
);
42613 if (PyErr_Occurred()) SWIG_fail
;
42615 Py_INCREF(Py_None
); resultobj
= Py_None
;
42622 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
42623 PyObject
*resultobj
;
42624 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42625 wxWindow
*arg2
= (wxWindow
*) 0 ;
42626 wxGBPosition result
;
42627 PyObject
* obj0
= 0 ;
42628 PyObject
* obj1
= 0 ;
42630 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42632 if (SWIG_arg_fail(1)) SWIG_fail
;
42633 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42634 if (SWIG_arg_fail(2)) SWIG_fail
;
42636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42637 result
= (arg1
)->GetItemPosition(arg2
);
42639 wxPyEndAllowThreads(__tstate
);
42640 if (PyErr_Occurred()) SWIG_fail
;
42643 wxGBPosition
* resultptr
;
42644 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42645 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42653 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
42654 PyObject
*resultobj
;
42655 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42656 wxSizer
*arg2
= (wxSizer
*) 0 ;
42657 wxGBPosition result
;
42658 PyObject
* obj0
= 0 ;
42659 PyObject
* obj1
= 0 ;
42661 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42663 if (SWIG_arg_fail(1)) SWIG_fail
;
42664 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42665 if (SWIG_arg_fail(2)) SWIG_fail
;
42667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42668 result
= (arg1
)->GetItemPosition(arg2
);
42670 wxPyEndAllowThreads(__tstate
);
42671 if (PyErr_Occurred()) SWIG_fail
;
42674 wxGBPosition
* resultptr
;
42675 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42676 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42684 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
42685 PyObject
*resultobj
;
42686 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42688 wxGBPosition result
;
42689 PyObject
* obj0
= 0 ;
42690 PyObject
* obj1
= 0 ;
42692 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42694 if (SWIG_arg_fail(1)) SWIG_fail
;
42696 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42697 if (SWIG_arg_fail(2)) SWIG_fail
;
42700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42701 result
= (arg1
)->GetItemPosition(arg2
);
42703 wxPyEndAllowThreads(__tstate
);
42704 if (PyErr_Occurred()) SWIG_fail
;
42707 wxGBPosition
* resultptr
;
42708 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42717 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
42722 argc
= PyObject_Length(args
);
42723 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
42724 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42730 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42740 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42748 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
42756 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42766 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42774 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
42782 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42790 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42792 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
42797 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
42802 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
42803 PyObject
*resultobj
;
42804 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42805 wxWindow
*arg2
= (wxWindow
*) 0 ;
42806 wxGBPosition
*arg3
= 0 ;
42808 wxGBPosition temp3
;
42809 PyObject
* obj0
= 0 ;
42810 PyObject
* obj1
= 0 ;
42811 PyObject
* obj2
= 0 ;
42813 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42815 if (SWIG_arg_fail(1)) SWIG_fail
;
42816 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42817 if (SWIG_arg_fail(2)) SWIG_fail
;
42820 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42824 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42826 wxPyEndAllowThreads(__tstate
);
42827 if (PyErr_Occurred()) SWIG_fail
;
42830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42838 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
42839 PyObject
*resultobj
;
42840 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42841 wxSizer
*arg2
= (wxSizer
*) 0 ;
42842 wxGBPosition
*arg3
= 0 ;
42844 wxGBPosition temp3
;
42845 PyObject
* obj0
= 0 ;
42846 PyObject
* obj1
= 0 ;
42847 PyObject
* obj2
= 0 ;
42849 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42851 if (SWIG_arg_fail(1)) SWIG_fail
;
42852 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42853 if (SWIG_arg_fail(2)) SWIG_fail
;
42856 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42860 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42862 wxPyEndAllowThreads(__tstate
);
42863 if (PyErr_Occurred()) SWIG_fail
;
42866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42874 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
42875 PyObject
*resultobj
;
42876 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42878 wxGBPosition
*arg3
= 0 ;
42880 wxGBPosition temp3
;
42881 PyObject
* obj0
= 0 ;
42882 PyObject
* obj1
= 0 ;
42883 PyObject
* obj2
= 0 ;
42885 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42887 if (SWIG_arg_fail(1)) SWIG_fail
;
42889 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42890 if (SWIG_arg_fail(2)) SWIG_fail
;
42894 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42898 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42900 wxPyEndAllowThreads(__tstate
);
42901 if (PyErr_Occurred()) SWIG_fail
;
42904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42912 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
42917 argc
= PyObject_Length(args
);
42918 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
42919 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42925 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42935 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42944 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42947 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
42956 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42966 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42975 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42978 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
42987 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42995 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42998 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43001 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
43007 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
43012 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43013 PyObject
*resultobj
;
43014 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43015 wxWindow
*arg2
= (wxWindow
*) 0 ;
43017 PyObject
* obj0
= 0 ;
43018 PyObject
* obj1
= 0 ;
43020 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43022 if (SWIG_arg_fail(1)) SWIG_fail
;
43023 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43024 if (SWIG_arg_fail(2)) SWIG_fail
;
43026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43027 result
= (arg1
)->GetItemSpan(arg2
);
43029 wxPyEndAllowThreads(__tstate
);
43030 if (PyErr_Occurred()) SWIG_fail
;
43033 wxGBSpan
* resultptr
;
43034 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43035 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43043 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43044 PyObject
*resultobj
;
43045 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43046 wxSizer
*arg2
= (wxSizer
*) 0 ;
43048 PyObject
* obj0
= 0 ;
43049 PyObject
* obj1
= 0 ;
43051 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43053 if (SWIG_arg_fail(1)) SWIG_fail
;
43054 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43055 if (SWIG_arg_fail(2)) SWIG_fail
;
43057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43058 result
= (arg1
)->GetItemSpan(arg2
);
43060 wxPyEndAllowThreads(__tstate
);
43061 if (PyErr_Occurred()) SWIG_fail
;
43064 wxGBSpan
* resultptr
;
43065 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43066 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43074 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43075 PyObject
*resultobj
;
43076 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43079 PyObject
* obj0
= 0 ;
43080 PyObject
* obj1
= 0 ;
43082 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43084 if (SWIG_arg_fail(1)) SWIG_fail
;
43086 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43087 if (SWIG_arg_fail(2)) SWIG_fail
;
43090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43091 result
= (arg1
)->GetItemSpan(arg2
);
43093 wxPyEndAllowThreads(__tstate
);
43094 if (PyErr_Occurred()) SWIG_fail
;
43097 wxGBSpan
* resultptr
;
43098 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43099 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43107 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
43112 argc
= PyObject_Length(args
);
43113 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43114 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43120 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43130 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43138 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
43146 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43156 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43164 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
43172 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43180 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43182 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
43187 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
43192 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43193 PyObject
*resultobj
;
43194 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43195 wxWindow
*arg2
= (wxWindow
*) 0 ;
43196 wxGBSpan
*arg3
= 0 ;
43199 PyObject
* obj0
= 0 ;
43200 PyObject
* obj1
= 0 ;
43201 PyObject
* obj2
= 0 ;
43203 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43205 if (SWIG_arg_fail(1)) SWIG_fail
;
43206 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43207 if (SWIG_arg_fail(2)) SWIG_fail
;
43210 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43214 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43216 wxPyEndAllowThreads(__tstate
);
43217 if (PyErr_Occurred()) SWIG_fail
;
43220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43228 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43229 PyObject
*resultobj
;
43230 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43231 wxSizer
*arg2
= (wxSizer
*) 0 ;
43232 wxGBSpan
*arg3
= 0 ;
43235 PyObject
* obj0
= 0 ;
43236 PyObject
* obj1
= 0 ;
43237 PyObject
* obj2
= 0 ;
43239 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43241 if (SWIG_arg_fail(1)) SWIG_fail
;
43242 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43243 if (SWIG_arg_fail(2)) SWIG_fail
;
43246 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43250 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43252 wxPyEndAllowThreads(__tstate
);
43253 if (PyErr_Occurred()) SWIG_fail
;
43256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43264 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43265 PyObject
*resultobj
;
43266 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43268 wxGBSpan
*arg3
= 0 ;
43271 PyObject
* obj0
= 0 ;
43272 PyObject
* obj1
= 0 ;
43273 PyObject
* obj2
= 0 ;
43275 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43277 if (SWIG_arg_fail(1)) SWIG_fail
;
43279 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43280 if (SWIG_arg_fail(2)) SWIG_fail
;
43284 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43288 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43290 wxPyEndAllowThreads(__tstate
);
43291 if (PyErr_Occurred()) SWIG_fail
;
43294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43302 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
43307 argc
= PyObject_Length(args
);
43308 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43309 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43315 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43325 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43334 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43337 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
43346 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43356 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43365 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43368 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
43377 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43385 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43388 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43391 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
43397 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
43402 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
43403 PyObject
*resultobj
;
43404 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43405 wxWindow
*arg2
= (wxWindow
*) 0 ;
43406 wxGBSizerItem
*result
;
43407 PyObject
* obj0
= 0 ;
43408 PyObject
* obj1
= 0 ;
43410 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43412 if (SWIG_arg_fail(1)) SWIG_fail
;
43413 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43414 if (SWIG_arg_fail(2)) SWIG_fail
;
43416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43417 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43419 wxPyEndAllowThreads(__tstate
);
43420 if (PyErr_Occurred()) SWIG_fail
;
43422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43429 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
43430 PyObject
*resultobj
;
43431 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43432 wxSizer
*arg2
= (wxSizer
*) 0 ;
43433 wxGBSizerItem
*result
;
43434 PyObject
* obj0
= 0 ;
43435 PyObject
* obj1
= 0 ;
43437 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43439 if (SWIG_arg_fail(1)) SWIG_fail
;
43440 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43441 if (SWIG_arg_fail(2)) SWIG_fail
;
43443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43444 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43446 wxPyEndAllowThreads(__tstate
);
43447 if (PyErr_Occurred()) SWIG_fail
;
43449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43456 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
43461 argc
= PyObject_Length(args
);
43462 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43463 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43469 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43479 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43487 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
43495 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43505 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43513 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
43518 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
43523 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43524 PyObject
*resultobj
;
43525 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43526 wxGBPosition
*arg2
= 0 ;
43527 wxGBSizerItem
*result
;
43528 wxGBPosition temp2
;
43529 PyObject
* obj0
= 0 ;
43530 PyObject
* obj1
= 0 ;
43531 char *kwnames
[] = {
43532 (char *) "self",(char *) "pos", NULL
43535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
43536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43537 if (SWIG_arg_fail(1)) SWIG_fail
;
43540 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43544 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
43546 wxPyEndAllowThreads(__tstate
);
43547 if (PyErr_Occurred()) SWIG_fail
;
43549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43556 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43557 PyObject
*resultobj
;
43558 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43559 wxPoint
*arg2
= 0 ;
43560 wxGBSizerItem
*result
;
43562 PyObject
* obj0
= 0 ;
43563 PyObject
* obj1
= 0 ;
43564 char *kwnames
[] = {
43565 (char *) "self",(char *) "pt", NULL
43568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
43569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43570 if (SWIG_arg_fail(1)) SWIG_fail
;
43573 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
43576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43577 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
43579 wxPyEndAllowThreads(__tstate
);
43580 if (PyErr_Occurred()) SWIG_fail
;
43582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43589 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43590 PyObject
*resultobj
;
43591 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43592 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
43593 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
43595 PyObject
* obj0
= 0 ;
43596 PyObject
* obj1
= 0 ;
43597 PyObject
* obj2
= 0 ;
43598 char *kwnames
[] = {
43599 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
43602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43604 if (SWIG_arg_fail(1)) SWIG_fail
;
43605 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43606 if (SWIG_arg_fail(2)) SWIG_fail
;
43608 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43609 if (SWIG_arg_fail(3)) SWIG_fail
;
43612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43613 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
43615 wxPyEndAllowThreads(__tstate
);
43616 if (PyErr_Occurred()) SWIG_fail
;
43619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43627 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43628 PyObject
*resultobj
;
43629 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43630 wxGBPosition
*arg2
= 0 ;
43631 wxGBSpan
*arg3
= 0 ;
43632 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
43634 wxGBPosition temp2
;
43636 PyObject
* obj0
= 0 ;
43637 PyObject
* obj1
= 0 ;
43638 PyObject
* obj2
= 0 ;
43639 PyObject
* obj3
= 0 ;
43640 char *kwnames
[] = {
43641 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
43644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43646 if (SWIG_arg_fail(1)) SWIG_fail
;
43649 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43653 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43656 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43657 if (SWIG_arg_fail(4)) SWIG_fail
;
43660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43661 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
43663 wxPyEndAllowThreads(__tstate
);
43664 if (PyErr_Occurred()) SWIG_fail
;
43667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43675 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
43677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
43678 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
43680 return Py_BuildValue((char *)"");
43682 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43683 PyObject
*resultobj
;
43684 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43685 wxRelationship arg2
;
43686 wxWindow
*arg3
= (wxWindow
*) 0 ;
43688 int arg5
= (int) 0 ;
43689 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
43690 PyObject
* obj0
= 0 ;
43691 PyObject
* obj1
= 0 ;
43692 PyObject
* obj2
= 0 ;
43693 PyObject
* obj3
= 0 ;
43694 PyObject
* obj4
= 0 ;
43695 PyObject
* obj5
= 0 ;
43696 char *kwnames
[] = {
43697 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
43700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
43701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43702 if (SWIG_arg_fail(1)) SWIG_fail
;
43704 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
43705 if (SWIG_arg_fail(2)) SWIG_fail
;
43707 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43708 if (SWIG_arg_fail(3)) SWIG_fail
;
43710 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
43711 if (SWIG_arg_fail(4)) SWIG_fail
;
43715 arg5
= (int)(SWIG_As_int(obj4
));
43716 if (SWIG_arg_fail(5)) SWIG_fail
;
43721 arg6
= (int)(SWIG_As_int(obj5
));
43722 if (SWIG_arg_fail(6)) SWIG_fail
;
43726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43727 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
43729 wxPyEndAllowThreads(__tstate
);
43730 if (PyErr_Occurred()) SWIG_fail
;
43732 Py_INCREF(Py_None
); resultobj
= Py_None
;
43739 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43740 PyObject
*resultobj
;
43741 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43742 wxWindow
*arg2
= (wxWindow
*) 0 ;
43743 int arg3
= (int) 0 ;
43744 PyObject
* obj0
= 0 ;
43745 PyObject
* obj1
= 0 ;
43746 PyObject
* obj2
= 0 ;
43747 char *kwnames
[] = {
43748 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43753 if (SWIG_arg_fail(1)) SWIG_fail
;
43754 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43755 if (SWIG_arg_fail(2)) SWIG_fail
;
43758 arg3
= (int)(SWIG_As_int(obj2
));
43759 if (SWIG_arg_fail(3)) SWIG_fail
;
43763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43764 (arg1
)->LeftOf(arg2
,arg3
);
43766 wxPyEndAllowThreads(__tstate
);
43767 if (PyErr_Occurred()) SWIG_fail
;
43769 Py_INCREF(Py_None
); resultobj
= Py_None
;
43776 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43777 PyObject
*resultobj
;
43778 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43779 wxWindow
*arg2
= (wxWindow
*) 0 ;
43780 int arg3
= (int) 0 ;
43781 PyObject
* obj0
= 0 ;
43782 PyObject
* obj1
= 0 ;
43783 PyObject
* obj2
= 0 ;
43784 char *kwnames
[] = {
43785 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43790 if (SWIG_arg_fail(1)) SWIG_fail
;
43791 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43792 if (SWIG_arg_fail(2)) SWIG_fail
;
43795 arg3
= (int)(SWIG_As_int(obj2
));
43796 if (SWIG_arg_fail(3)) SWIG_fail
;
43800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43801 (arg1
)->RightOf(arg2
,arg3
);
43803 wxPyEndAllowThreads(__tstate
);
43804 if (PyErr_Occurred()) SWIG_fail
;
43806 Py_INCREF(Py_None
); resultobj
= Py_None
;
43813 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43814 PyObject
*resultobj
;
43815 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43816 wxWindow
*arg2
= (wxWindow
*) 0 ;
43817 int arg3
= (int) 0 ;
43818 PyObject
* obj0
= 0 ;
43819 PyObject
* obj1
= 0 ;
43820 PyObject
* obj2
= 0 ;
43821 char *kwnames
[] = {
43822 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43827 if (SWIG_arg_fail(1)) SWIG_fail
;
43828 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43829 if (SWIG_arg_fail(2)) SWIG_fail
;
43832 arg3
= (int)(SWIG_As_int(obj2
));
43833 if (SWIG_arg_fail(3)) SWIG_fail
;
43837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43838 (arg1
)->Above(arg2
,arg3
);
43840 wxPyEndAllowThreads(__tstate
);
43841 if (PyErr_Occurred()) SWIG_fail
;
43843 Py_INCREF(Py_None
); resultobj
= Py_None
;
43850 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43851 PyObject
*resultobj
;
43852 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43853 wxWindow
*arg2
= (wxWindow
*) 0 ;
43854 int arg3
= (int) 0 ;
43855 PyObject
* obj0
= 0 ;
43856 PyObject
* obj1
= 0 ;
43857 PyObject
* obj2
= 0 ;
43858 char *kwnames
[] = {
43859 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43864 if (SWIG_arg_fail(1)) SWIG_fail
;
43865 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43866 if (SWIG_arg_fail(2)) SWIG_fail
;
43869 arg3
= (int)(SWIG_As_int(obj2
));
43870 if (SWIG_arg_fail(3)) SWIG_fail
;
43874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43875 (arg1
)->Below(arg2
,arg3
);
43877 wxPyEndAllowThreads(__tstate
);
43878 if (PyErr_Occurred()) SWIG_fail
;
43880 Py_INCREF(Py_None
); resultobj
= Py_None
;
43887 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43888 PyObject
*resultobj
;
43889 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43890 wxWindow
*arg2
= (wxWindow
*) 0 ;
43892 int arg4
= (int) 0 ;
43893 PyObject
* obj0
= 0 ;
43894 PyObject
* obj1
= 0 ;
43895 PyObject
* obj2
= 0 ;
43896 PyObject
* obj3
= 0 ;
43897 char *kwnames
[] = {
43898 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
43901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43903 if (SWIG_arg_fail(1)) SWIG_fail
;
43904 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43905 if (SWIG_arg_fail(2)) SWIG_fail
;
43907 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
43908 if (SWIG_arg_fail(3)) SWIG_fail
;
43912 arg4
= (int)(SWIG_As_int(obj3
));
43913 if (SWIG_arg_fail(4)) SWIG_fail
;
43917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43918 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
43920 wxPyEndAllowThreads(__tstate
);
43921 if (PyErr_Occurred()) SWIG_fail
;
43923 Py_INCREF(Py_None
); resultobj
= Py_None
;
43930 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43931 PyObject
*resultobj
;
43932 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43933 wxWindow
*arg2
= (wxWindow
*) 0 ;
43936 PyObject
* obj0
= 0 ;
43937 PyObject
* obj1
= 0 ;
43938 PyObject
* obj2
= 0 ;
43939 PyObject
* obj3
= 0 ;
43940 char *kwnames
[] = {
43941 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
43944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43946 if (SWIG_arg_fail(1)) SWIG_fail
;
43947 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43948 if (SWIG_arg_fail(2)) SWIG_fail
;
43950 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
43951 if (SWIG_arg_fail(3)) SWIG_fail
;
43954 arg4
= (int)(SWIG_As_int(obj3
));
43955 if (SWIG_arg_fail(4)) SWIG_fail
;
43958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43959 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
43961 wxPyEndAllowThreads(__tstate
);
43962 if (PyErr_Occurred()) SWIG_fail
;
43964 Py_INCREF(Py_None
); resultobj
= Py_None
;
43971 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43972 PyObject
*resultobj
;
43973 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43975 PyObject
* obj0
= 0 ;
43976 PyObject
* obj1
= 0 ;
43977 char *kwnames
[] = {
43978 (char *) "self",(char *) "val", NULL
43981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
43982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43983 if (SWIG_arg_fail(1)) SWIG_fail
;
43985 arg2
= (int)(SWIG_As_int(obj1
));
43986 if (SWIG_arg_fail(2)) SWIG_fail
;
43989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43990 (arg1
)->Absolute(arg2
);
43992 wxPyEndAllowThreads(__tstate
);
43993 if (PyErr_Occurred()) SWIG_fail
;
43995 Py_INCREF(Py_None
); resultobj
= Py_None
;
44002 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44003 PyObject
*resultobj
;
44004 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44005 PyObject
* obj0
= 0 ;
44006 char *kwnames
[] = {
44007 (char *) "self", NULL
44010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
44011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44012 if (SWIG_arg_fail(1)) SWIG_fail
;
44014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44015 (arg1
)->Unconstrained();
44017 wxPyEndAllowThreads(__tstate
);
44018 if (PyErr_Occurred()) SWIG_fail
;
44020 Py_INCREF(Py_None
); resultobj
= Py_None
;
44027 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44028 PyObject
*resultobj
;
44029 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44030 PyObject
* obj0
= 0 ;
44031 char *kwnames
[] = {
44032 (char *) "self", NULL
44035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
44036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44037 if (SWIG_arg_fail(1)) SWIG_fail
;
44039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44042 wxPyEndAllowThreads(__tstate
);
44043 if (PyErr_Occurred()) SWIG_fail
;
44045 Py_INCREF(Py_None
); resultobj
= Py_None
;
44052 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44053 PyObject
*resultobj
;
44054 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44056 PyObject
* obj0
= 0 ;
44057 char *kwnames
[] = {
44058 (char *) "self", NULL
44061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
44062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44063 if (SWIG_arg_fail(1)) SWIG_fail
;
44065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44066 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
44068 wxPyEndAllowThreads(__tstate
);
44069 if (PyErr_Occurred()) SWIG_fail
;
44072 resultobj
= wxPyMake_wxObject(result
, 0);
44080 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44081 PyObject
*resultobj
;
44082 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44084 PyObject
* obj0
= 0 ;
44085 char *kwnames
[] = {
44086 (char *) "self", NULL
44089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
44090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44091 if (SWIG_arg_fail(1)) SWIG_fail
;
44093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44094 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
44096 wxPyEndAllowThreads(__tstate
);
44097 if (PyErr_Occurred()) SWIG_fail
;
44099 resultobj
= SWIG_From_int((result
));
44106 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44107 PyObject
*resultobj
;
44108 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44110 PyObject
* obj0
= 0 ;
44111 PyObject
* obj1
= 0 ;
44112 char *kwnames
[] = {
44113 (char *) "self",(char *) "which", NULL
44116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
44117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44118 if (SWIG_arg_fail(1)) SWIG_fail
;
44120 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44121 if (SWIG_arg_fail(2)) SWIG_fail
;
44124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44125 (arg1
)->SetEdge((wxEdge
)arg2
);
44127 wxPyEndAllowThreads(__tstate
);
44128 if (PyErr_Occurred()) SWIG_fail
;
44130 Py_INCREF(Py_None
); resultobj
= Py_None
;
44137 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44138 PyObject
*resultobj
;
44139 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44141 PyObject
* obj0
= 0 ;
44142 PyObject
* obj1
= 0 ;
44143 char *kwnames
[] = {
44144 (char *) "self",(char *) "v", NULL
44147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
44148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44149 if (SWIG_arg_fail(1)) SWIG_fail
;
44151 arg2
= (int)(SWIG_As_int(obj1
));
44152 if (SWIG_arg_fail(2)) SWIG_fail
;
44155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44156 (arg1
)->SetValue(arg2
);
44158 wxPyEndAllowThreads(__tstate
);
44159 if (PyErr_Occurred()) SWIG_fail
;
44161 Py_INCREF(Py_None
); resultobj
= Py_None
;
44168 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44169 PyObject
*resultobj
;
44170 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44172 PyObject
* obj0
= 0 ;
44173 char *kwnames
[] = {
44174 (char *) "self", NULL
44177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
44178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44179 if (SWIG_arg_fail(1)) SWIG_fail
;
44181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44182 result
= (int)(arg1
)->GetMargin();
44184 wxPyEndAllowThreads(__tstate
);
44185 if (PyErr_Occurred()) SWIG_fail
;
44188 resultobj
= SWIG_From_int((int)(result
));
44196 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44197 PyObject
*resultobj
;
44198 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44200 PyObject
* obj0
= 0 ;
44201 PyObject
* obj1
= 0 ;
44202 char *kwnames
[] = {
44203 (char *) "self",(char *) "m", NULL
44206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
44207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44208 if (SWIG_arg_fail(1)) SWIG_fail
;
44210 arg2
= (int)(SWIG_As_int(obj1
));
44211 if (SWIG_arg_fail(2)) SWIG_fail
;
44214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44215 (arg1
)->SetMargin(arg2
);
44217 wxPyEndAllowThreads(__tstate
);
44218 if (PyErr_Occurred()) SWIG_fail
;
44220 Py_INCREF(Py_None
); resultobj
= Py_None
;
44227 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44228 PyObject
*resultobj
;
44229 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44231 PyObject
* obj0
= 0 ;
44232 char *kwnames
[] = {
44233 (char *) "self", NULL
44236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
44237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44238 if (SWIG_arg_fail(1)) SWIG_fail
;
44240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44241 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
44243 wxPyEndAllowThreads(__tstate
);
44244 if (PyErr_Occurred()) SWIG_fail
;
44247 resultobj
= SWIG_From_int((int)(result
));
44255 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44256 PyObject
*resultobj
;
44257 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44259 PyObject
* obj0
= 0 ;
44260 char *kwnames
[] = {
44261 (char *) "self", NULL
44264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
44265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44266 if (SWIG_arg_fail(1)) SWIG_fail
;
44268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44269 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
44271 wxPyEndAllowThreads(__tstate
);
44272 if (PyErr_Occurred()) SWIG_fail
;
44275 resultobj
= SWIG_From_int((int)(result
));
44283 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44284 PyObject
*resultobj
;
44285 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44287 PyObject
* obj0
= 0 ;
44288 char *kwnames
[] = {
44289 (char *) "self", NULL
44292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
44293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44294 if (SWIG_arg_fail(1)) SWIG_fail
;
44296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44297 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
44299 wxPyEndAllowThreads(__tstate
);
44300 if (PyErr_Occurred()) SWIG_fail
;
44303 resultobj
= SWIG_From_int((int)(result
));
44311 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44312 PyObject
*resultobj
;
44313 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44315 PyObject
* obj0
= 0 ;
44316 char *kwnames
[] = {
44317 (char *) "self", NULL
44320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
44321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44322 if (SWIG_arg_fail(1)) SWIG_fail
;
44324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44325 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
44327 wxPyEndAllowThreads(__tstate
);
44328 if (PyErr_Occurred()) SWIG_fail
;
44331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44339 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44340 PyObject
*resultobj
;
44341 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44343 PyObject
* obj0
= 0 ;
44344 PyObject
* obj1
= 0 ;
44345 char *kwnames
[] = {
44346 (char *) "self",(char *) "d", NULL
44349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
44350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44351 if (SWIG_arg_fail(1)) SWIG_fail
;
44353 arg2
= (bool)(SWIG_As_bool(obj1
));
44354 if (SWIG_arg_fail(2)) SWIG_fail
;
44357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44358 (arg1
)->SetDone(arg2
);
44360 wxPyEndAllowThreads(__tstate
);
44361 if (PyErr_Occurred()) SWIG_fail
;
44363 Py_INCREF(Py_None
); resultobj
= Py_None
;
44370 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44371 PyObject
*resultobj
;
44372 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44373 wxRelationship result
;
44374 PyObject
* obj0
= 0 ;
44375 char *kwnames
[] = {
44376 (char *) "self", NULL
44379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
44380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44381 if (SWIG_arg_fail(1)) SWIG_fail
;
44383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44384 result
= (wxRelationship
)(arg1
)->GetRelationship();
44386 wxPyEndAllowThreads(__tstate
);
44387 if (PyErr_Occurred()) SWIG_fail
;
44389 resultobj
= SWIG_From_int((result
));
44396 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44397 PyObject
*resultobj
;
44398 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44399 wxRelationship arg2
;
44400 PyObject
* obj0
= 0 ;
44401 PyObject
* obj1
= 0 ;
44402 char *kwnames
[] = {
44403 (char *) "self",(char *) "r", NULL
44406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
44407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44408 if (SWIG_arg_fail(1)) SWIG_fail
;
44410 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44411 if (SWIG_arg_fail(2)) SWIG_fail
;
44414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44415 (arg1
)->SetRelationship((wxRelationship
)arg2
);
44417 wxPyEndAllowThreads(__tstate
);
44418 if (PyErr_Occurred()) SWIG_fail
;
44420 Py_INCREF(Py_None
); resultobj
= Py_None
;
44427 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44428 PyObject
*resultobj
;
44429 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44430 wxWindow
*arg2
= (wxWindow
*) 0 ;
44432 PyObject
* obj0
= 0 ;
44433 PyObject
* obj1
= 0 ;
44434 char *kwnames
[] = {
44435 (char *) "self",(char *) "otherW", NULL
44438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
44439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44440 if (SWIG_arg_fail(1)) SWIG_fail
;
44441 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44442 if (SWIG_arg_fail(2)) SWIG_fail
;
44444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44445 result
= (bool)(arg1
)->ResetIfWin(arg2
);
44447 wxPyEndAllowThreads(__tstate
);
44448 if (PyErr_Occurred()) SWIG_fail
;
44451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44459 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44460 PyObject
*resultobj
;
44461 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44462 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
44463 wxWindow
*arg3
= (wxWindow
*) 0 ;
44465 PyObject
* obj0
= 0 ;
44466 PyObject
* obj1
= 0 ;
44467 PyObject
* obj2
= 0 ;
44468 char *kwnames
[] = {
44469 (char *) "self",(char *) "constraints",(char *) "win", NULL
44472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44474 if (SWIG_arg_fail(1)) SWIG_fail
;
44475 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44476 if (SWIG_arg_fail(2)) SWIG_fail
;
44477 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44478 if (SWIG_arg_fail(3)) SWIG_fail
;
44480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44481 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
44483 wxPyEndAllowThreads(__tstate
);
44484 if (PyErr_Occurred()) SWIG_fail
;
44487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44495 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44496 PyObject
*resultobj
;
44497 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44499 wxWindow
*arg3
= (wxWindow
*) 0 ;
44500 wxWindow
*arg4
= (wxWindow
*) 0 ;
44502 PyObject
* obj0
= 0 ;
44503 PyObject
* obj1
= 0 ;
44504 PyObject
* obj2
= 0 ;
44505 PyObject
* obj3
= 0 ;
44506 char *kwnames
[] = {
44507 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
44510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44512 if (SWIG_arg_fail(1)) SWIG_fail
;
44514 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44515 if (SWIG_arg_fail(2)) SWIG_fail
;
44517 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44518 if (SWIG_arg_fail(3)) SWIG_fail
;
44519 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44520 if (SWIG_arg_fail(4)) SWIG_fail
;
44522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44523 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
44525 wxPyEndAllowThreads(__tstate
);
44526 if (PyErr_Occurred()) SWIG_fail
;
44529 resultobj
= SWIG_From_int((int)(result
));
44537 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
44539 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44540 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
44542 return Py_BuildValue((char *)"");
44544 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44545 PyObject
*resultobj
;
44546 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44547 wxIndividualLayoutConstraint
*result
;
44548 PyObject
* obj0
= 0 ;
44549 char *kwnames
[] = {
44550 (char *) "self", NULL
44553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
44554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44555 if (SWIG_arg_fail(1)) SWIG_fail
;
44556 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
44558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44565 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44566 PyObject
*resultobj
;
44567 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44568 wxIndividualLayoutConstraint
*result
;
44569 PyObject
* obj0
= 0 ;
44570 char *kwnames
[] = {
44571 (char *) "self", NULL
44574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
44575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44576 if (SWIG_arg_fail(1)) SWIG_fail
;
44577 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
44579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44586 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44587 PyObject
*resultobj
;
44588 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44589 wxIndividualLayoutConstraint
*result
;
44590 PyObject
* obj0
= 0 ;
44591 char *kwnames
[] = {
44592 (char *) "self", NULL
44595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
44596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44597 if (SWIG_arg_fail(1)) SWIG_fail
;
44598 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
44600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44607 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44608 PyObject
*resultobj
;
44609 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44610 wxIndividualLayoutConstraint
*result
;
44611 PyObject
* obj0
= 0 ;
44612 char *kwnames
[] = {
44613 (char *) "self", NULL
44616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
44617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44618 if (SWIG_arg_fail(1)) SWIG_fail
;
44619 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
44621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44628 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44629 PyObject
*resultobj
;
44630 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44631 wxIndividualLayoutConstraint
*result
;
44632 PyObject
* obj0
= 0 ;
44633 char *kwnames
[] = {
44634 (char *) "self", NULL
44637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
44638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44639 if (SWIG_arg_fail(1)) SWIG_fail
;
44640 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
44642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44649 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44650 PyObject
*resultobj
;
44651 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44652 wxIndividualLayoutConstraint
*result
;
44653 PyObject
* obj0
= 0 ;
44654 char *kwnames
[] = {
44655 (char *) "self", NULL
44658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
44659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44660 if (SWIG_arg_fail(1)) SWIG_fail
;
44661 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
44663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44670 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44671 PyObject
*resultobj
;
44672 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44673 wxIndividualLayoutConstraint
*result
;
44674 PyObject
* obj0
= 0 ;
44675 char *kwnames
[] = {
44676 (char *) "self", NULL
44679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
44680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44681 if (SWIG_arg_fail(1)) SWIG_fail
;
44682 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
44684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44691 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44692 PyObject
*resultobj
;
44693 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44694 wxIndividualLayoutConstraint
*result
;
44695 PyObject
* obj0
= 0 ;
44696 char *kwnames
[] = {
44697 (char *) "self", NULL
44700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
44701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44702 if (SWIG_arg_fail(1)) SWIG_fail
;
44703 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
44705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44712 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44713 PyObject
*resultobj
;
44714 wxLayoutConstraints
*result
;
44715 char *kwnames
[] = {
44719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
44721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44722 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
44724 wxPyEndAllowThreads(__tstate
);
44725 if (PyErr_Occurred()) SWIG_fail
;
44727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
44734 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44735 PyObject
*resultobj
;
44736 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44737 wxWindow
*arg2
= (wxWindow
*) 0 ;
44738 int *arg3
= (int *) 0 ;
44742 PyObject
* obj0
= 0 ;
44743 PyObject
* obj1
= 0 ;
44744 char *kwnames
[] = {
44745 (char *) "self",(char *) "win", NULL
44748 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
44749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
44750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44751 if (SWIG_arg_fail(1)) SWIG_fail
;
44752 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44753 if (SWIG_arg_fail(2)) SWIG_fail
;
44755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44756 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
44758 wxPyEndAllowThreads(__tstate
);
44759 if (PyErr_Occurred()) SWIG_fail
;
44762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44764 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
44765 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
44772 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44773 PyObject
*resultobj
;
44774 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44776 PyObject
* obj0
= 0 ;
44777 char *kwnames
[] = {
44778 (char *) "self", NULL
44781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
44782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44783 if (SWIG_arg_fail(1)) SWIG_fail
;
44785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44786 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
44788 wxPyEndAllowThreads(__tstate
);
44789 if (PyErr_Occurred()) SWIG_fail
;
44792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44800 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
44802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44803 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
44805 return Py_BuildValue((char *)"");
44807 static PyMethodDef SwigMethods
[] = {
44808 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
44809 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
44810 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44811 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44812 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
44813 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44814 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44815 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44816 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44817 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44818 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44819 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44820 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44821 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44822 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44823 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44824 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44825 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44826 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44827 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44828 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44829 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44830 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44831 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44832 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44833 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
44834 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44835 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44836 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44837 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44838 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44839 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44840 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44841 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44842 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44843 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44844 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44845 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44846 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
44847 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44848 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44849 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44850 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44851 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44852 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44853 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44854 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44855 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44856 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44857 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44858 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44859 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44860 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44861 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
44862 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44863 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44864 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44865 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44866 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44867 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44868 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44869 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44870 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44871 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44872 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44873 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44874 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44875 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44876 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44877 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44878 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44879 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44880 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44881 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44882 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44883 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44884 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44885 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44886 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44887 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44888 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44889 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44890 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44891 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44892 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44893 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44894 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44895 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44896 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44897 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44898 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44899 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44900 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44901 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44902 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44903 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44904 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44905 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44906 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44907 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44908 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44909 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44910 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44911 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44912 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44913 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44914 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
44915 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44916 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44917 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44918 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44919 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44920 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44921 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44922 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44923 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44924 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44925 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44926 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44927 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44928 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44929 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44930 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44931 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44932 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44933 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44934 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44935 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44936 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44937 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44938 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44939 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44940 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44941 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44942 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
44943 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44944 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44945 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44946 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44947 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44948 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44949 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44950 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44951 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44952 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44953 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44954 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44955 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44956 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44957 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44958 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44959 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44960 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44961 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
44962 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44963 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
44964 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44965 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44966 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44967 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44968 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44969 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44970 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44971 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
44972 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
44973 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44974 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44975 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44976 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44977 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44978 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44979 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44980 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44981 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44982 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44983 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44984 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
44985 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44986 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44987 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44988 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44989 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44990 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44991 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44992 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44993 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44994 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44995 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44996 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
44997 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44998 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44999 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45000 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
45001 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45002 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45003 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45004 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45005 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45006 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
45007 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45008 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45009 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45010 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45011 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45012 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45013 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45014 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45015 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45016 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
45017 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45018 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45019 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45020 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45021 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45022 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45023 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45024 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45025 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45026 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
45027 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45028 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45029 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45030 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
45031 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45032 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45033 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45034 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45035 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45036 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45037 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45038 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45039 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45040 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45041 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45042 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45043 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45044 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45045 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45046 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45047 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45048 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45049 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45050 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45051 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45052 { (char *)"Image_InitAlpha", (PyCFunction
) _wrap_Image_InitAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45053 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45054 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45055 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45056 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45057 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45058 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45059 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45060 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45061 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45062 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45063 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45064 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45065 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45066 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45067 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45068 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45069 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45070 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45071 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45072 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45073 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45074 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45075 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45076 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45077 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45078 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45079 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45080 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45081 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45082 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45083 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45084 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45085 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45086 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45087 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45088 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45089 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45090 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45091 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45092 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45093 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45094 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45095 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45096 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45097 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45098 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45099 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45100 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45101 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45102 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45103 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45104 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45105 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
45106 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45107 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
45108 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45109 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
45110 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45111 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
45112 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45113 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
45114 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45115 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
45116 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45117 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
45118 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45119 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
45120 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45121 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
45122 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45123 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
45124 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45125 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
45126 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45127 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
45128 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45129 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
45130 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45131 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45132 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45133 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45134 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45135 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45136 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45137 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45138 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45139 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45140 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45141 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45142 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45143 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
45144 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45145 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45146 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45147 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45148 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45149 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45150 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45151 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45152 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45153 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45154 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45155 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45156 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45157 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45158 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45159 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45160 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45161 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
45162 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45163 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45164 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
45165 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45166 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45167 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
45168 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45169 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45170 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45171 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45172 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45173 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45174 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45175 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45176 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45177 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45178 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45179 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
45180 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45181 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45182 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45183 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45184 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
45185 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45186 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45187 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45188 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45189 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45190 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
45191 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45192 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45193 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45194 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45195 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45196 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
45197 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45198 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45199 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45200 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45201 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45202 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45203 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45204 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45205 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45206 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45207 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45208 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45209 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45210 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45211 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45212 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45213 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45214 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45215 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45216 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45217 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45218 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45219 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45220 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45221 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45222 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45223 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45224 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45225 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45226 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45227 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45228 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45229 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45230 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45231 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45232 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45233 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45234 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45235 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45236 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45237 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45238 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45239 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45240 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45241 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45242 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45243 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45244 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45245 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45246 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45247 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45248 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45249 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45250 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45251 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45252 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45253 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45254 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45255 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45256 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45257 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45258 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45259 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
45260 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45261 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45262 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45263 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45264 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45265 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45266 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
45267 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45268 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45269 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45270 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45271 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45272 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45273 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45274 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45275 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45276 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45277 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45278 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45279 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45280 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45281 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45282 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45283 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45284 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45285 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45286 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45287 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45288 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45289 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45290 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45291 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45292 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45293 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45294 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45295 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45296 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45297 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45298 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45299 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45300 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45301 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45302 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
45303 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45304 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45305 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45306 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45307 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45308 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45309 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45310 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45311 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45312 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
45313 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45314 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45315 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45316 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45317 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45318 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
45319 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45320 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
45321 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45322 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
45323 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45324 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45325 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
45326 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45327 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45328 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45329 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
45330 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45331 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45332 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
45333 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45334 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45335 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
45336 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45337 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
45338 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45339 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45340 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45341 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
45343 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45344 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45345 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45346 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45347 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45348 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45349 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45350 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
45351 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45352 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45353 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
45355 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45356 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
45358 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45359 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
45360 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45363 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
45364 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45369 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45371 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45373 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45374 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45378 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45380 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
45381 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45383 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45385 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45386 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45387 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45388 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45389 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45392 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
45396 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45400 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_IsFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45402 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45404 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45406 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
45407 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
45410 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45411 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
45413 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
45417 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45419 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
45424 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45427 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45428 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
45429 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
45434 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"DateEvent_GetDate", (PyCFunction
) _wrap_DateEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45437 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
45438 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45446 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45455 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
45483 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45484 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45494 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45496 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
45503 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
45510 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
45514 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
45524 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45551 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45560 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45565 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45566 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45567 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45568 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45573 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45574 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45601 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45604 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45608 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45610 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45612 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45613 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45614 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45615 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45616 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45618 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45619 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45621 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45623 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45624 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45625 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45629 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45630 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45633 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45634 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45640 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45641 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45642 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45644 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45646 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45647 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45648 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45649 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45650 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45651 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45652 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45654 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45657 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45658 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45659 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45662 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45664 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45668 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45669 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45672 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
) _wrap_Window_InheritsBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"Window_UseBgCol", (PyCFunction
) _wrap_Window_UseBgCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45675 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45678 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45690 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45692 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45693 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45695 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
45696 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45697 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45698 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45699 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45700 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45702 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45706 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45707 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45711 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45721 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45727 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45729 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45734 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
45736 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45745 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
45750 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
45753 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45761 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45764 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45767 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45769 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45770 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45771 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45774 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45777 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45778 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45780 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45791 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45801 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
45808 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45825 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45827 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45828 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45829 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45833 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45834 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
45835 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45837 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45842 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45843 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45846 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45851 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45853 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45859 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45860 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45861 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45863 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45864 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45866 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45867 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45868 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45870 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45873 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45874 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45875 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45878 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
45879 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45880 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45881 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45883 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45885 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45886 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
45887 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45891 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45892 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45893 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45895 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45899 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45901 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
45906 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
45907 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45909 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45911 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45913 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45914 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45916 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45918 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45920 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45922 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45923 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45925 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45926 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45927 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45931 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45936 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45941 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
45944 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45948 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45958 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
45974 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
45977 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45979 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
45981 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
45984 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45986 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45988 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45990 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
45994 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46003 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
46006 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
) _wrap_StdDialogButtonSizer_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
46018 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
46028 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46029 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
46038 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46040 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
46052 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
46059 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
46060 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
46061 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
46062 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
46063 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
46068 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46087 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46090 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
46095 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
46107 { NULL
, NULL
, 0, NULL
}
46111 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46113 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
46114 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
46116 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
46117 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
46119 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
46120 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46122 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
46123 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46125 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
46126 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46128 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
46129 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
46131 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
46132 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46134 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
46135 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
46137 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
46138 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46140 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
46141 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46143 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46144 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46146 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46147 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46149 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46150 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46152 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46153 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46155 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46156 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46158 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46159 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46161 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46162 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46164 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46165 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46167 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46168 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46170 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46171 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46173 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46174 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46176 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46177 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46179 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46180 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46182 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46183 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46185 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46186 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46188 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46189 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46191 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46192 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46194 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46195 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46197 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46198 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46200 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46201 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46203 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46204 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46206 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46207 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46209 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46210 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46212 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46213 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46215 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46216 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46218 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46219 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46221 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46222 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46224 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46225 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46227 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46228 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46230 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46231 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46233 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46234 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46236 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46237 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46239 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46240 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46242 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46243 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46245 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46246 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46248 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46249 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46251 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
46252 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46254 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
46255 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46257 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
46258 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46260 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46261 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46263 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46264 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46266 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46267 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46269 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46270 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46272 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46273 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46275 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46276 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46278 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46279 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46281 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46282 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46284 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46285 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46287 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46288 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46290 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
46291 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
46293 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
46294 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
46296 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
46297 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
46299 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
46300 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
46302 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
46303 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
46305 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
46306 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46308 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
46309 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
46311 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
46312 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
46314 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
46315 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46317 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
46318 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46320 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
46321 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
46323 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
46324 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
46326 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
46327 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
46329 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
46330 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
46332 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
46333 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
46335 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
46336 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
46338 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
46339 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
46341 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
46342 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
46344 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46345 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
46347 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46348 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
46350 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46351 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
46353 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46354 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46356 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46357 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46359 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46360 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46362 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46363 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46365 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46366 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46368 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46369 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46371 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46372 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46374 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46375 return (void *)((wxObject
*) ((wxSizer
*) x
));
46377 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46378 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46380 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46381 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46383 static void *_p_wxEventTo_p_wxObject(void *x
) {
46384 return (void *)((wxObject
*) ((wxEvent
*) x
));
46386 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46387 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46389 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46390 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46392 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46393 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46395 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46396 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46398 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46399 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46401 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46402 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46404 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46405 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46407 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46408 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46410 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46411 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46413 static void *_p_wxControlTo_p_wxObject(void *x
) {
46414 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46416 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46417 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46419 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46420 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46422 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46423 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46425 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46426 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46428 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46429 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46431 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46432 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46434 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46435 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46437 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46438 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46440 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46441 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46443 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46444 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46446 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46447 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46449 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46450 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46452 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46453 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46455 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
46456 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
46458 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
46459 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
46461 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
46462 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
46464 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
46465 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
46467 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
46468 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
46470 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
46471 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
46473 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
46474 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
46476 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
46477 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
46479 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
46480 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
46482 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
46483 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46485 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
46486 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46488 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
46489 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
46491 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
46492 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
46494 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
46495 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
46497 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
46498 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
46500 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
46501 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
46503 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
46504 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46506 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
46507 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
46509 static void *_p_wxImageTo_p_wxObject(void *x
) {
46510 return (void *)((wxObject
*) ((wxImage
*) x
));
46512 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
46513 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
46515 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
46516 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46518 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
46519 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46521 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
46522 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
46524 static void *_p_wxWindowTo_p_wxObject(void *x
) {
46525 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
46527 static void *_p_wxMenuTo_p_wxObject(void *x
) {
46528 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
46530 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
46531 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
46533 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
46534 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
46536 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
46537 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46539 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
46540 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
46542 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
46543 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
46545 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
46546 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
46548 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
46549 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
46551 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
46552 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
46554 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
46555 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46557 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
46558 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
46560 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
46561 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
46563 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
46564 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
46566 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
46567 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46569 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
46570 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46572 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
46573 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
46575 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
46576 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
46578 static void *_p_wxControlTo_p_wxWindow(void *x
) {
46579 return (void *)((wxWindow
*) ((wxControl
*) x
));
46581 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
46582 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
46584 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
46585 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
46587 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
46588 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46590 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
46591 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
46593 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
46594 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46596 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
46597 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
46599 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
46600 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46602 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
46603 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46605 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
46606 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46608 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
46609 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46611 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
46612 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46614 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
46615 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
46617 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}};
46618 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}};
46619 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}};
46620 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}};
46621 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}};
46622 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}};
46623 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}};
46624 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}};
46625 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}};
46626 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}};
46627 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}};
46628 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}};
46629 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}};
46630 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}};
46631 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}};
46632 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}};
46633 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}};
46634 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}};
46635 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}};
46636 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}};
46637 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}};
46638 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}};
46639 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}};
46640 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}};
46641 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}};
46642 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}};
46643 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}};
46644 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}};
46645 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}};
46646 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}};
46647 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}};
46648 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}};
46649 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}};
46650 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}};
46651 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}};
46652 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}};
46653 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}};
46654 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}};
46655 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}};
46656 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}};
46657 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}};
46658 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}};
46659 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}};
46660 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}};
46661 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}};
46662 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}};
46663 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}};
46664 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}};
46665 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}};
46666 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}};
46667 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}};
46668 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}};
46669 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}};
46670 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}};
46671 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}};
46672 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}};
46673 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}};
46674 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}};
46675 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}};
46676 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}};
46677 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}};
46678 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}};
46679 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}};
46680 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}};
46681 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}};
46682 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}};
46683 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}};
46684 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}};
46685 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}};
46686 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}};
46687 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}};
46688 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}};
46689 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}};
46690 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}};
46691 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}};
46692 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}};
46693 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}};
46694 static swig_type_info _swigt__p_wxImageHandler
[] = {{"_p_wxImageHandler", 0, "wxImageHandler *", 0, 0, 0, 0},{"_p_wxImageHandler", 0, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
46695 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}};
46696 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}};
46697 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}};
46698 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}};
46699 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}};
46700 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}};
46701 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}};
46702 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}};
46703 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}};
46704 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}};
46705 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}};
46706 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}};
46707 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}};
46708 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}};
46709 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}};
46710 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}};
46711 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
46712 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}};
46713 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}};
46714 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}};
46715 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}};
46716 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}};
46717 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}};
46718 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}};
46719 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}};
46720 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}};
46721 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}};
46722 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}};
46723 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}};
46724 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}};
46725 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}};
46726 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}};
46727 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}};
46728 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}};
46729 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}};
46730 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}};
46731 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}};
46732 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}};
46733 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}};
46734 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}};
46735 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}};
46736 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}};
46737 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}};
46738 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}};
46739 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}};
46740 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}};
46741 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}};
46742 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}};
46743 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}};
46745 static swig_type_info
*swig_types_initial
[] = {
46746 _swigt__p_wxLayoutConstraints
,
46747 _swigt__p_wxRealPoint
,
46748 _swigt__p_wxSizerItem
,
46749 _swigt__p_wxGBSizerItem
,
46750 _swigt__p_wxScrollEvent
,
46751 _swigt__p_wxEventLoop
,
46752 _swigt__p_wxIndividualLayoutConstraint
,
46754 _swigt__p_wxBoxSizer
,
46755 _swigt__p_wxStaticBoxSizer
,
46756 _swigt__p_wxGridBagSizer
,
46757 _swigt__p_wxAcceleratorEntry
,
46758 _swigt__p_wxUpdateUIEvent
,
46761 _swigt__p_wxGridSizer
,
46762 _swigt__p_wxFlexGridSizer
,
46763 _swigt__p_wxInitDialogEvent
,
46764 _swigt__p_wxItemContainer
,
46765 _swigt__p_wxNcPaintEvent
,
46766 _swigt__p_wxPaintEvent
,
46767 _swigt__p_wxSysColourChangedEvent
,
46768 _swigt__p_wxMouseCaptureChangedEvent
,
46769 _swigt__p_wxDisplayChangedEvent
,
46770 _swigt__p_wxPaletteChangedEvent
,
46771 _swigt__p_wxControl
,
46773 _swigt__p_wxMenuBarBase
,
46774 _swigt__p_wxSetCursorEvent
,
46775 _swigt__p_wxFSFile
,
46778 _swigt__std__ptrdiff_t
,
46779 _swigt__p_wxRegion
,
46780 _swigt__p_wxPoint2D
,
46784 _swigt__p_wxPySizer
,
46785 _swigt__p_wxVisualAttributes
,
46786 _swigt__p_wxNotifyEvent
,
46787 _swigt__p_wxPyEvent
,
46788 _swigt__p_wxPropagationDisabler
,
46789 _swigt__p_form_ops_t
,
46790 _swigt__p_wxAppTraits
,
46791 _swigt__p_wxArrayString
,
46792 _swigt__p_wxShowEvent
,
46793 _swigt__p_wxToolTip
,
46794 _swigt__p_wxMoveEvent
,
46795 _swigt__p_wxSizeEvent
,
46796 _swigt__p_wxActivateEvent
,
46797 _swigt__p_wxIconizeEvent
,
46798 _swigt__p_wxMaximizeEvent
,
46799 _swigt__p_wxQueryNewPaletteEvent
,
46800 _swigt__p_wxWindowCreateEvent
,
46801 _swigt__p_wxIdleEvent
,
46802 _swigt__p_wxDateEvent
,
46803 _swigt__p_wxMenuItem
,
46804 _swigt__p_wxStaticBox
,
46806 _swigt__p_wxDuplexMode
,
46807 _swigt__p_wxTIFFHandler
,
46808 _swigt__p_wxXPMHandler
,
46809 _swigt__p_wxPNMHandler
,
46810 _swigt__p_wxJPEGHandler
,
46811 _swigt__p_wxPCXHandler
,
46812 _swigt__p_wxGIFHandler
,
46813 _swigt__p_wxPNGHandler
,
46814 _swigt__p_wxANIHandler
,
46815 _swigt__p_wxMemoryFSHandler
,
46816 _swigt__p_wxZipFSHandler
,
46817 _swigt__p_wxInternetFSHandler
,
46818 _swigt__p_wxPyFileSystemHandler
,
46819 _swigt__p_wxEvtHandler
,
46820 _swigt__p_wxCURHandler
,
46821 _swigt__p_wxICOHandler
,
46822 _swigt__p_wxBMPHandler
,
46823 _swigt__p_wxImageHandler
,
46824 _swigt__p_wxFileSystemHandler
,
46826 _swigt__p_wxButton
,
46827 _swigt__p_wxGBSpan
,
46828 _swigt__p_wxPropagateOnce
,
46829 _swigt__p_wxAcceleratorTable
,
46830 _swigt__p_wxStdDialogButtonSizer
,
46832 _swigt__p_wxGBPosition
,
46835 _swigt__p_wxScrollWinEvent
,
46836 _swigt__p_wxPaperSize
,
46837 _swigt__p_wxImageHistogram
,
46839 _swigt__p_wxCursor
,
46840 _swigt__p_wxObject
,
46841 _swigt__p_wxInputStream
,
46842 _swigt__p_wxOutputStream
,
46843 _swigt__p_wxPyInputStream
,
46844 _swigt__p_wxDateTime
,
46845 _swigt__p_wxKeyEvent
,
46846 _swigt__p_wxNavigationKeyEvent
,
46847 _swigt__p_wxWindowDestroyEvent
,
46848 _swigt__p_unsigned_long
,
46849 _swigt__p_wxWindow
,
46850 _swigt__p_wxMenuBar
,
46851 _swigt__p_wxFileSystem
,
46852 _swigt__p_wxBitmap
,
46853 _swigt__unsigned_int
,
46854 _swigt__p_unsigned_int
,
46855 _swigt__p_wxMenuEvent
,
46856 _swigt__p_wxContextMenuEvent
,
46857 _swigt__p_unsigned_char
,
46858 _swigt__p_wxEraseEvent
,
46859 _swigt__p_wxMouseEvent
,
46860 _swigt__p_wxCloseEvent
,
46862 _swigt__p_wxCommandEvent
,
46863 _swigt__p_wxPyCommandEvent
,
46864 _swigt__p_wxPyDropTarget
,
46865 _swigt__p_wxQuantize
,
46866 _swigt__p_wxChildFocusEvent
,
46867 _swigt__p_wxFocusEvent
,
46868 _swigt__p_wxDropFilesEvent
,
46869 _swigt__p_wxControlWithItems
,
46870 _swigt__p_wxColour
,
46871 _swigt__p_wxValidator
,
46872 _swigt__p_wxPyValidator
,
46877 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
46879 static swig_const_info swig_const_table
[] = {
46880 {0, 0, 0, 0.0, 0, 0}};
46891 /* Python-specific SWIG API */
46892 #define SWIG_newvarlink() SWIG_Python_newvarlink()
46893 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
46894 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
46896 /* -----------------------------------------------------------------------------
46897 * global variable support code.
46898 * ----------------------------------------------------------------------------- */
46900 typedef struct swig_globalvar
{
46901 char *name
; /* Name of global variable */
46902 PyObject
*(*get_attr
)(); /* Return the current value */
46903 int (*set_attr
)(PyObject
*); /* Set the value */
46904 struct swig_globalvar
*next
;
46907 typedef struct swig_varlinkobject
{
46909 swig_globalvar
*vars
;
46910 } swig_varlinkobject
;
46913 swig_varlink_repr(swig_varlinkobject
*v
) {
46915 return PyString_FromString("<Swig global variables>");
46919 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
46920 swig_globalvar
*var
;
46922 fprintf(fp
,"Swig global variables { ");
46923 for (var
= v
->vars
; var
; var
=var
->next
) {
46924 fprintf(fp
,"%s", var
->name
);
46925 if (var
->next
) fprintf(fp
,", ");
46927 fprintf(fp
," }\n");
46932 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
46933 swig_globalvar
*var
= v
->vars
;
46935 if (strcmp(var
->name
,n
) == 0) {
46936 return (*var
->get_attr
)();
46940 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
46945 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
46946 swig_globalvar
*var
= v
->vars
;
46948 if (strcmp(var
->name
,n
) == 0) {
46949 return (*var
->set_attr
)(p
);
46953 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
46957 static PyTypeObject varlinktype
= {
46958 PyObject_HEAD_INIT(0)
46959 0, /* Number of items in variable part (ob_size) */
46960 (char *)"swigvarlink", /* Type name (tp_name) */
46961 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
46962 0, /* Itemsize (tp_itemsize) */
46963 0, /* Deallocator (tp_dealloc) */
46964 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
46965 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
46966 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
46967 0, /* tp_compare */
46968 (reprfunc
) swig_varlink_repr
, /* tp_repr */
46969 0, /* tp_as_number */
46970 0, /* tp_as_sequence */
46971 0, /* tp_as_mapping */
46975 0, /* tp_getattro */
46976 0, /* tp_setattro */
46977 0, /* tp_as_buffer */
46980 #if PY_VERSION_HEX >= 0x02000000
46981 0, /* tp_traverse */
46984 #if PY_VERSION_HEX >= 0x02010000
46985 0, /* tp_richcompare */
46986 0, /* tp_weaklistoffset */
46988 #if PY_VERSION_HEX >= 0x02020000
46989 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
46991 #if PY_VERSION_HEX >= 0x02030000
46994 #ifdef COUNT_ALLOCS
46995 0,0,0,0 /* tp_alloc -> tp_next */
46999 /* Create a variable linking object for use later */
47001 SWIG_Python_newvarlink(void) {
47002 swig_varlinkobject
*result
= 0;
47003 result
= PyMem_NEW(swig_varlinkobject
,1);
47004 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
47005 result
->ob_type
= &varlinktype
;
47007 result
->ob_refcnt
= 0;
47008 Py_XINCREF((PyObject
*) result
);
47009 return ((PyObject
*) result
);
47013 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
47014 swig_varlinkobject
*v
;
47015 swig_globalvar
*gv
;
47016 v
= (swig_varlinkobject
*) p
;
47017 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
47018 gv
->name
= (char *) malloc(strlen(name
)+1);
47019 strcpy(gv
->name
,name
);
47020 gv
->get_attr
= get_attr
;
47021 gv
->set_attr
= set_attr
;
47022 gv
->next
= v
->vars
;
47026 /* -----------------------------------------------------------------------------
47027 * constants/methods manipulation
47028 * ----------------------------------------------------------------------------- */
47030 /* Install Constants */
47032 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
47035 for (i
= 0; constants
[i
].type
; i
++) {
47036 switch(constants
[i
].type
) {
47038 obj
= PyInt_FromLong(constants
[i
].lvalue
);
47040 case SWIG_PY_FLOAT
:
47041 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
47043 case SWIG_PY_STRING
:
47044 if (constants
[i
].pvalue
) {
47045 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
47047 Py_INCREF(Py_None
);
47051 case SWIG_PY_POINTER
:
47052 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
47054 case SWIG_PY_BINARY
:
47055 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
47062 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
47068 /* -----------------------------------------------------------------------------*/
47069 /* Fix SwigMethods to carry the callback ptrs when needed */
47070 /* -----------------------------------------------------------------------------*/
47073 SWIG_Python_FixMethods(PyMethodDef
*methods
,
47074 swig_const_info
*const_table
,
47075 swig_type_info
**types
,
47076 swig_type_info
**types_initial
) {
47078 for (i
= 0; methods
[i
].ml_name
; ++i
) {
47079 char *c
= methods
[i
].ml_doc
;
47080 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
47082 swig_const_info
*ci
= 0;
47083 char *name
= c
+ 10;
47084 for (j
= 0; const_table
[j
].type
; j
++) {
47085 if (strncmp(const_table
[j
].name
, name
,
47086 strlen(const_table
[j
].name
)) == 0) {
47087 ci
= &(const_table
[j
]);
47092 size_t shift
= (ci
->ptype
) - types
;
47093 swig_type_info
*ty
= types_initial
[shift
];
47094 size_t ldoc
= (c
- methods
[i
].ml_doc
);
47095 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
47096 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
47098 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
47099 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
47101 strncpy(buff
, "swig_ptr: ", 10);
47103 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
47104 methods
[i
].ml_doc
= ndoc
;
47110 /* -----------------------------------------------------------------------------*
47111 * Initialize type list
47112 * -----------------------------------------------------------------------------*/
47114 #if PY_MAJOR_VERSION < 2
47115 /* PyModule_AddObject function was introduced in Python 2.0. The following function
47116 is copied out of Python/modsupport.c in python version 2.3.4 */
47118 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
47121 if (!PyModule_Check(m
)) {
47122 PyErr_SetString(PyExc_TypeError
,
47123 "PyModule_AddObject() needs module as first arg");
47127 PyErr_SetString(PyExc_TypeError
,
47128 "PyModule_AddObject() needs non-NULL value");
47132 dict
= PyModule_GetDict(m
);
47133 if (dict
== NULL
) {
47134 /* Internal error -- modules must have a dict! */
47135 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
47136 PyModule_GetName(m
));
47139 if (PyDict_SetItemString(dict
, name
, o
))
47146 static swig_type_info
**
47147 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
47148 static PyMethodDef swig_empty_runtime_method_table
[] = {
47150 NULL
, NULL
, 0, NULL
47154 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
47155 swig_empty_runtime_method_table
);
47156 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
47157 if (pointer
&& module) {
47158 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
47160 return type_list_handle
;
47163 static swig_type_info
**
47164 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
47165 swig_type_info
**type_pointer
;
47167 /* first check if module already created */
47168 type_pointer
= SWIG_Python_GetTypeListHandle();
47169 if (type_pointer
) {
47170 return type_pointer
;
47172 /* create a new module and variable */
47173 return SWIG_Python_SetTypeListHandle(type_list_handle
);
47181 /* -----------------------------------------------------------------------------*
47182 * Partial Init method
47183 * -----------------------------------------------------------------------------*/
47185 #ifdef SWIG_LINK_RUNTIME
47189 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
47195 SWIGEXPORT(void) SWIG_init(void) {
47196 static PyObject
*SWIG_globals
= 0;
47197 static int typeinit
= 0;
47200 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
47202 /* Fix SwigMethods to carry the callback ptrs when needed */
47203 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
47205 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
47206 d
= PyModule_GetDict(m
);
47209 #ifdef SWIG_LINK_RUNTIME
47210 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
47212 # ifndef SWIG_STATIC_RUNTIME
47213 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
47216 for (i
= 0; swig_types_initial
[i
]; i
++) {
47217 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
47221 SWIG_InstallConstants(d
,swig_const_table
);
47224 #ifndef wxPyUSE_EXPORT
47225 // Make our API structure a CObject so other modules can import it
47226 // from this module.
47227 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
47228 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
47233 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
47236 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
47239 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
47242 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
47245 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
47248 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
47251 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
47254 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
47257 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
47260 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
47263 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
47266 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
47269 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
47272 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
47275 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
47278 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
47281 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
47284 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
47287 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)(wxED_CLIENT_MARGIN
)));
47290 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)(wxED_BUTTONS_BOTTOM
)));
47293 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)(wxED_BUTTONS_RIGHT
)));
47296 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)(wxED_STATIC_LINE
)));
47299 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)(wxEXT_DIALOG_STYLE
)));
47302 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
47305 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
47308 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
47311 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
47314 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
47317 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
47320 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
47323 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
47326 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
47329 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
47332 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
47335 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
47338 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
47341 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
47344 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
47347 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
47350 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
47353 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
47356 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
47359 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
47362 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
47365 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
47368 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
47371 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
47374 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
47377 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
47380 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
47383 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
47386 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
47389 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
47392 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
47395 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
47398 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
47401 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
47404 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
47407 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
47410 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
47413 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
47416 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
47419 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
47422 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
47425 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
47428 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
47431 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
47434 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
47437 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
47440 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
47443 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
47446 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
47449 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
47452 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
47455 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
47458 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
47461 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
47464 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
47467 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
47470 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
47473 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
47476 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
47479 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
47482 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
47485 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
47488 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
47491 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
47494 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
47497 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
47500 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
47503 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
47506 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
47509 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
47512 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
47515 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
47518 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
47521 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
47524 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
47527 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
47530 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
47533 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
47536 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
47539 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
47542 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
47545 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
47548 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
47551 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
47554 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
47557 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
47560 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
47563 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
47566 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
47569 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
47572 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
47575 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
47578 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
47581 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
47584 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
47587 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
47590 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
47593 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
47596 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
47599 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
47602 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
47605 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
47608 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
47611 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
47614 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
47617 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
47620 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
47623 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
47626 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
47629 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
47632 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
47635 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
47638 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
47641 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
47644 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
47647 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
47650 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
47653 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
47656 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
47659 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
47662 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
47665 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
47668 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
47671 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
47674 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
47677 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
47680 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
47683 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
47686 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
47689 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
47692 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
47695 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
47698 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
47701 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
47704 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
47707 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
47710 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
47713 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
47716 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
47719 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
47722 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
47725 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
47728 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
47731 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
47734 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
47737 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
47740 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
47743 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
47746 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
47749 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
47752 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
47755 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
47758 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
47761 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
47764 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
47767 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
47770 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
47773 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
47776 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
47779 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
47782 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
47785 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
47788 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
47791 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
47794 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
47797 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
47800 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
47803 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
47806 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
47809 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
47812 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
47815 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
47818 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
47821 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
47824 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
47827 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
47830 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
47833 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
47836 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
47839 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
47842 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
47845 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
47848 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
47851 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
47854 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
47857 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
47860 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
47863 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
47866 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
47869 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
47872 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
47875 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
47878 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
47881 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
47884 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
47887 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
47890 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
47893 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
47896 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
47899 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
47902 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
47905 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
47908 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
47911 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
47914 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
47917 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
47920 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
47923 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
47926 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
47929 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
47932 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
47935 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
47938 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
47941 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
47944 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
47947 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
47950 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
47953 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
47956 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
47959 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
47962 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
47965 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
47968 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
47971 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
47974 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
47977 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
47980 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
47983 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
47986 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
47989 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
47992 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
47995 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
47998 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
48001 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
48004 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
48007 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
48010 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
48013 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
48016 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
48019 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
48022 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
48025 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
48028 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
48031 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
48034 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
48037 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
48040 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
48043 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
48046 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
48049 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
48052 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
48055 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
48058 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
48061 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
48064 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
48067 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
48070 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
48073 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
48076 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
48079 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
48082 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
48085 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
48088 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
48091 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
48094 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
48097 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
48100 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
48103 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
48106 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
48109 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
48112 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
48115 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
48118 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
48121 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
48124 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
48127 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
48130 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
48133 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
48136 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
48139 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
48142 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
48145 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
48148 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
48151 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
48154 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
48157 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
48160 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
48163 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
48166 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
48169 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
48172 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
48175 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
48178 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
48181 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
48184 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
48187 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
48190 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
48193 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
48196 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
48199 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
48202 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
48205 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
48208 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
48211 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
48214 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
48217 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
48220 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
48223 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
48226 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
48229 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
48232 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
48235 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
48238 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
48241 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
48244 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
48247 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
48250 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
48253 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
48256 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
48259 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
48262 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
48265 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
48268 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
48271 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
48274 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
48277 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
48280 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
48283 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
48286 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
48289 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
48292 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
48295 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
48298 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
48301 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
48304 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
48307 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
48310 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
48313 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
48316 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
48319 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
48322 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
48325 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
48328 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
48331 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
48334 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
48337 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
48340 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
48343 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
48346 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
48349 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
48352 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
48355 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
48358 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
48361 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
48364 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
48367 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
48370 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
48373 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
48376 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
48379 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
48382 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
48385 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
48388 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
48391 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
48394 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
48397 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
48400 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
48403 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
48406 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
48409 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
48412 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
48415 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
48418 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
48421 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
48424 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
48427 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
48430 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
48433 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
48436 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
48439 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
48442 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
48445 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
48448 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
48451 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
48454 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
48457 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
48460 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
48463 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
48466 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
48469 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
48472 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
48475 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
48478 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
48481 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
48484 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
48487 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
48490 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
48493 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
48496 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
48499 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
48502 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
48505 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
48508 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
48511 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
48514 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
48517 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
48520 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
48523 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
48526 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
48529 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
48532 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
48535 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
48538 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
48541 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
48544 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
48547 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
48550 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
48553 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
48556 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
48559 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
48562 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
48565 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
48568 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
48571 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
48574 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
48577 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
48580 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
48583 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
48586 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
48589 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
48592 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
48595 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
48598 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
48601 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
48604 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
48607 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
48610 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
48613 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
48616 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
48619 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
48622 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
48625 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
48628 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
48631 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
48634 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
48637 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
48640 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
48643 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
48646 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
48649 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
48652 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
48655 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
48658 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
48661 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
48664 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
48667 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
48670 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
48673 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
48676 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
48679 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
48682 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
48685 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
48688 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
48691 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
48694 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
48697 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
48700 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
48703 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
48706 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
48709 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
48712 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
48715 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
48718 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
48721 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
48724 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
48727 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
48730 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
48733 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
48736 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
48739 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
48742 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
48745 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
48748 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
48751 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
48754 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
48757 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
48760 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
48763 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
48766 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
48769 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
48772 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
48775 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
48778 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
48781 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
48784 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
48787 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
48790 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
48793 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
48796 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
48799 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
48802 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
48805 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
48808 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
48811 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
48814 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
48817 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
48820 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
48823 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
48826 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
48829 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
48832 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
48835 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
48837 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
48838 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
48840 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
48843 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
48846 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
48849 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
48852 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
48855 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
48858 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
48861 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
48864 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
48867 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
48870 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
48873 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
48876 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
48879 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
48882 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
48885 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
48888 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
48891 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
48894 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
48897 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
48900 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
48903 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
48906 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
48909 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
48912 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
48915 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
48918 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
48921 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
48924 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
48927 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
48930 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
48933 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
48936 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
48939 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
48942 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
48945 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
48948 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
48951 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
48954 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
48957 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
48960 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
48963 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
48966 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
48969 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
48972 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
48975 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
48978 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
48981 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
48984 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
48987 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
48990 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
48992 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
48993 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
48995 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
48998 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
49001 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
49004 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
49007 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
49009 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
49010 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get
, _wrap_IMAGE_OPTION_FILENAME_set
);
49011 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
49012 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
49013 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
49014 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
49015 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get
, _wrap_IMAGE_OPTION_RESOLUTIONX_set
);
49016 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get
, _wrap_IMAGE_OPTION_RESOLUTIONY_set
);
49017 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
49018 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get
, _wrap_IMAGE_OPTION_QUALITY_set
);
49020 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
49023 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
49025 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get
, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set
);
49026 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get
, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set
);
49027 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get
, _wrap_IMAGE_OPTION_COMPRESSION_set
);
49028 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get
, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
49029 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get
, _wrap_IMAGE_OPTION_PNG_FORMAT_set
);
49030 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get
, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set
);
49032 PyDict_SetItemString(d
,"PNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR
)));
49035 PyDict_SetItemString(d
,"PNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY
)));
49038 PyDict_SetItemString(d
,"PNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED
)));
49041 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
49044 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
49047 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
49050 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
49053 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
49056 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
49059 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
49062 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
49065 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
49068 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
49071 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
49074 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
49077 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
49079 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
49080 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
49081 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
49082 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
49083 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
49084 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
49085 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
49086 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
49087 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
49088 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
49089 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
49090 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
49091 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
49092 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
49093 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
49094 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
49095 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
49096 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
49097 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
49098 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
49099 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
49100 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
49101 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
49102 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
49103 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
49104 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
49105 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
49106 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
49107 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
49108 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
49109 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
49110 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
49111 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
49112 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
49113 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
49114 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
49115 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
49116 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
49117 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
49118 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
49119 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
49120 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
49121 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
49122 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
49123 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
49124 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
49125 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
49126 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
49127 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
49128 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
49129 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
49130 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
49131 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
49132 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
49133 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
49134 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
49135 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
49136 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
49137 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
49138 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
49139 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
49140 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
49141 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
49142 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
49143 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
49144 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
49145 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
49146 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
49147 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
49148 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
49149 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
49150 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
49151 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
49152 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
49153 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
49154 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
49155 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
49156 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
49157 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
49158 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
49159 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
49160 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
49161 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
49162 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
49163 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
49164 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
49165 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
49166 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
49167 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
49168 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
49169 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
49170 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
49171 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
49172 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
49173 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
49174 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
49175 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
49176 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
49177 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
49178 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
49179 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
49180 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
49181 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
49182 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
49183 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
49184 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
49185 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
49186 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
49187 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
49188 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
49189 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
49190 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
49191 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
49192 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
49194 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
49197 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
49200 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
49203 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
49206 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
49209 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
49212 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
49215 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
49218 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
49221 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
49224 PyDict_SetItemString(d
,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab
)));
49227 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
49230 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
49232 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
49234 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
49237 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
49240 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
49243 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
49246 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
49249 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
49251 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
49252 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
49254 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
49257 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
49260 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
49263 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
49266 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
49268 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
49269 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
49271 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
49274 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
49277 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
49279 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
49281 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
49284 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
49287 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
49290 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
49293 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
49296 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
49299 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
49302 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
49305 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
49308 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
49311 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
49314 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
49317 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
49320 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
49323 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
49326 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
49329 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
49332 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
49335 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
49338 // Initialize threading, some globals and such
49342 // Although these are defined in __version__ they need to be here too so
49343 // that an assert can be done to ensure that the wxPython and the wxWindows
49345 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
49346 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
49347 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));