1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
1342 #define SWIGTYPE_p_wxRealPoint swig_types[1]
1343 #define SWIGTYPE_p_wxSizerItem swig_types[2]
1344 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
1345 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
1346 #define SWIGTYPE_p_wxEventLoop swig_types[5]
1347 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
1348 #define SWIGTYPE_p_wxSizer swig_types[7]
1349 #define SWIGTYPE_p_wxBoxSizer swig_types[8]
1350 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
1351 #define SWIGTYPE_p_wxGridBagSizer swig_types[10]
1352 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
1353 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
1354 #define SWIGTYPE_p_wxEvent swig_types[13]
1355 #define SWIGTYPE_p_wxMenu swig_types[14]
1356 #define SWIGTYPE_p_wxGridSizer swig_types[15]
1357 #define SWIGTYPE_p_wxFlexGridSizer swig_types[16]
1358 #define SWIGTYPE_p_wxInitDialogEvent swig_types[17]
1359 #define SWIGTYPE_p_wxItemContainer swig_types[18]
1360 #define SWIGTYPE_p_wxNcPaintEvent swig_types[19]
1361 #define SWIGTYPE_p_wxPaintEvent swig_types[20]
1362 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[21]
1363 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[22]
1364 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[23]
1365 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[24]
1366 #define SWIGTYPE_p_wxControl swig_types[25]
1367 #define SWIGTYPE_p_wxFont swig_types[26]
1368 #define SWIGTYPE_p_wxMenuBarBase swig_types[27]
1369 #define SWIGTYPE_p_wxSetCursorEvent swig_types[28]
1370 #define SWIGTYPE_p_wxFSFile swig_types[29]
1371 #define SWIGTYPE_p_wxCaret swig_types[30]
1372 #define SWIGTYPE_ptrdiff_t swig_types[31]
1373 #define SWIGTYPE_std__ptrdiff_t swig_types[32]
1374 #define SWIGTYPE_p_wxRegion swig_types[33]
1375 #define SWIGTYPE_p_wxPoint2D swig_types[34]
1376 #define SWIGTYPE_p_int swig_types[35]
1377 #define SWIGTYPE_p_wxSize swig_types[36]
1378 #define SWIGTYPE_p_wxDC swig_types[37]
1379 #define SWIGTYPE_p_wxPySizer swig_types[38]
1380 #define SWIGTYPE_p_wxVisualAttributes swig_types[39]
1381 #define SWIGTYPE_p_wxNotifyEvent swig_types[40]
1382 #define SWIGTYPE_p_wxPyEvent swig_types[41]
1383 #define SWIGTYPE_p_wxPropagationDisabler swig_types[42]
1384 #define SWIGTYPE_p_form_ops_t swig_types[43]
1385 #define SWIGTYPE_p_wxAppTraits swig_types[44]
1386 #define SWIGTYPE_p_wxArrayString swig_types[45]
1387 #define SWIGTYPE_p_wxShowEvent swig_types[46]
1388 #define SWIGTYPE_p_wxToolTip swig_types[47]
1389 #define SWIGTYPE_p_wxMoveEvent swig_types[48]
1390 #define SWIGTYPE_p_wxSizeEvent swig_types[49]
1391 #define SWIGTYPE_p_wxActivateEvent swig_types[50]
1392 #define SWIGTYPE_p_wxIconizeEvent swig_types[51]
1393 #define SWIGTYPE_p_wxMaximizeEvent swig_types[52]
1394 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[53]
1395 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[54]
1396 #define SWIGTYPE_p_wxIdleEvent swig_types[55]
1397 #define SWIGTYPE_p_wxDateEvent swig_types[56]
1398 #define SWIGTYPE_p_wxMenuItem swig_types[57]
1399 #define SWIGTYPE_p_wxStaticBox swig_types[58]
1400 #define SWIGTYPE_p_long swig_types[59]
1401 #define SWIGTYPE_p_wxDuplexMode swig_types[60]
1402 #define SWIGTYPE_p_wxTIFFHandler swig_types[61]
1403 #define SWIGTYPE_p_wxXPMHandler swig_types[62]
1404 #define SWIGTYPE_p_wxPNMHandler swig_types[63]
1405 #define SWIGTYPE_p_wxJPEGHandler swig_types[64]
1406 #define SWIGTYPE_p_wxPCXHandler swig_types[65]
1407 #define SWIGTYPE_p_wxGIFHandler swig_types[66]
1408 #define SWIGTYPE_p_wxPNGHandler swig_types[67]
1409 #define SWIGTYPE_p_wxANIHandler swig_types[68]
1410 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[69]
1411 #define SWIGTYPE_p_wxZipFSHandler swig_types[70]
1412 #define SWIGTYPE_p_wxInternetFSHandler swig_types[71]
1413 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[72]
1414 #define SWIGTYPE_p_wxEvtHandler swig_types[73]
1415 #define SWIGTYPE_p_wxCURHandler swig_types[74]
1416 #define SWIGTYPE_p_wxICOHandler swig_types[75]
1417 #define SWIGTYPE_p_wxBMPHandler swig_types[76]
1418 #define SWIGTYPE_p_wxImageHandler swig_types[77]
1419 #define SWIGTYPE_p_wxFileSystemHandler swig_types[78]
1420 #define SWIGTYPE_p_wxRect swig_types[79]
1421 #define SWIGTYPE_p_wxButton swig_types[80]
1422 #define SWIGTYPE_p_wxGBSpan swig_types[81]
1423 #define SWIGTYPE_p_wxPropagateOnce swig_types[82]
1424 #define SWIGTYPE_p_wxAcceleratorTable swig_types[83]
1425 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[84]
1426 #define SWIGTYPE_p_char swig_types[85]
1427 #define SWIGTYPE_p_wxGBPosition swig_types[86]
1428 #define SWIGTYPE_p_wxImage swig_types[87]
1429 #define SWIGTYPE_p_wxFrame swig_types[88]
1430 #define SWIGTYPE_p_wxScrollWinEvent swig_types[89]
1431 #define SWIGTYPE_p_wxPaperSize swig_types[90]
1432 #define SWIGTYPE_p_wxImageHistogram swig_types[91]
1433 #define SWIGTYPE_p_wxPoint swig_types[92]
1434 #define SWIGTYPE_p_wxCursor swig_types[93]
1435 #define SWIGTYPE_p_wxObject swig_types[94]
1436 #define SWIGTYPE_p_wxInputStream swig_types[95]
1437 #define SWIGTYPE_p_wxOutputStream swig_types[96]
1438 #define SWIGTYPE_p_wxPyInputStream swig_types[97]
1439 #define SWIGTYPE_p_wxDateTime swig_types[98]
1440 #define SWIGTYPE_p_wxKeyEvent swig_types[99]
1441 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[100]
1442 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[101]
1443 #define SWIGTYPE_p_unsigned_long swig_types[102]
1444 #define SWIGTYPE_p_wxWindow swig_types[103]
1445 #define SWIGTYPE_p_wxMenuBar swig_types[104]
1446 #define SWIGTYPE_p_wxFileSystem swig_types[105]
1447 #define SWIGTYPE_p_wxBitmap swig_types[106]
1448 #define SWIGTYPE_unsigned_int swig_types[107]
1449 #define SWIGTYPE_p_unsigned_int swig_types[108]
1450 #define SWIGTYPE_p_wxMenuEvent swig_types[109]
1451 #define SWIGTYPE_p_wxContextMenuEvent swig_types[110]
1452 #define SWIGTYPE_p_unsigned_char swig_types[111]
1453 #define SWIGTYPE_p_wxEraseEvent swig_types[112]
1454 #define SWIGTYPE_p_wxMouseEvent swig_types[113]
1455 #define SWIGTYPE_p_wxCloseEvent swig_types[114]
1456 #define SWIGTYPE_p_wxPyApp swig_types[115]
1457 #define SWIGTYPE_p_wxCommandEvent swig_types[116]
1458 #define SWIGTYPE_p_wxPyCommandEvent swig_types[117]
1459 #define SWIGTYPE_p_wxPyDropTarget swig_types[118]
1460 #define SWIGTYPE_p_wxQuantize swig_types[119]
1461 #define SWIGTYPE_p_wxChildFocusEvent swig_types[120]
1462 #define SWIGTYPE_p_wxFocusEvent swig_types[121]
1463 #define SWIGTYPE_p_wxDropFilesEvent swig_types[122]
1464 #define SWIGTYPE_p_wxControlWithItems swig_types[123]
1465 #define SWIGTYPE_p_wxColour swig_types[124]
1466 #define SWIGTYPE_p_wxValidator swig_types[125]
1467 #define SWIGTYPE_p_wxPyValidator swig_types[126]
1468 static swig_type_info
*swig_types
[128];
1470 /* -------- TYPES TABLE (END) -------- */
1473 /*-----------------------------------------------
1474 @(target):= _core_.so
1475 ------------------------------------------------*/
1476 #define SWIG_init init_core_
1478 #define SWIG_name "_core_"
1480 #include "wx/wxPython/wxPython_int.h"
1481 #include "wx/wxPython/pyclasses.h"
1484 #ifndef wxPyUSE_EXPORT
1485 // Helper functions for dealing with SWIG objects and such. These are
1486 // located here so they know about the SWIG types and functions declared
1487 // in the wrapper code.
1489 #include <wx/hashmap.h>
1490 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
1493 // Maintains a hashmap of className to swig_type_info pointers. Given the
1494 // name of a class either looks up the type info in the cache, or scans the
1495 // SWIG tables for it.
1496 extern PyObject
* wxPyPtrTypeMap
;
1498 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
1500 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
1502 if (typeInfoCache
== NULL
)
1503 typeInfoCache
= new wxPyTypeInfoHashMap
;
1505 wxString
name(className
);
1506 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
1509 // it wasn't in the cache, so look it up from SWIG
1510 name
.Append(wxT(" *"));
1511 swigType
= SWIG_TypeQuery(name
.mb_str());
1513 // if it still wasn't found, try looking for a mapped name
1518 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
1519 (char*)(const char*)name
.mbc_str())) != NULL
) {
1520 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
1521 name
.Append(wxT(" *"));
1522 swigType
= SWIG_TypeQuery(name
.mb_str());
1526 // and add it to the map if found
1527 (*typeInfoCache
)[className
] = swigType
;
1534 // Check if a class name is a type known to SWIG
1535 bool wxPyCheckSwigType(const wxChar
* className
) {
1537 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1538 return swigType
!= NULL
;
1542 // Given a pointer to a C++ object and a class name, construct a Python proxy
1544 PyObject
* wxPyConstructObject(void* ptr
,
1545 const wxChar
* className
,
1548 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1549 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
1551 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
1555 // Extract a pointer to the wrapped C++ object from a Python proxy object.
1556 // Ensures that the proxy object is of the specified (or derived) type. If
1557 // not able to perform the conversion then a Python exception is set and the
1558 // error should be handled properly in the caller. Returns True on success.
1559 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
1560 const wxChar
* className
) {
1562 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1563 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
1565 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
1569 // Make a SWIGified pointer object suitable for a .this attribute
1570 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
1572 PyObject
* robj
= NULL
;
1574 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1575 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
1577 #ifdef SWIG_COBJECT_TYPES
1578 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)swigType
->name
);
1582 robj
= SWIG_PackVoidPtr(result
, ptr
, swigType
->name
, sizeof(result
)) ?
1583 PyString_FromString(result
) : 0;
1593 // Export a C API in a struct. Other modules will be able to load this from
1594 // the wx._core_ module and will then have safe access to these functions,
1595 // even if they are located in another shared library.
1596 static wxPyCoreAPI API
= {
1599 wxPyConstructObject
,
1603 wxPyBeginAllowThreads
,
1604 wxPyEndAllowThreads
,
1605 wxPyBeginBlockThreads
,
1606 wxPyEndBlockThreads
,
1618 wxPoint_LIST_helper
,
1619 wxBitmap_LIST_helper
,
1620 wxString_LIST_helper
,
1621 wxAcceleratorEntry_LIST_helper
,
1630 wxPySimple_typecheck
,
1633 wxPyCBH_setCallbackInfo
,
1634 wxPyCBH_findCallback
,
1635 wxPyCBH_callCallback
,
1636 wxPyCBH_callCallbackObj
,
1642 wxPy2int_seq_helper
,
1643 wxPy4int_seq_helper
,
1644 wxArrayString2PyList_helper
,
1645 wxArrayInt2PyList_helper
,
1647 wxPyClientData_dtor
,
1649 wxPyOORClientData_dtor
,
1651 wxPyCBInputStream_create
,
1654 wxPySwigInstance_Check
,
1663 #if !WXWIN_COMPATIBILITY_2_4
1664 #define wxHIDE_READONLY 0
1668 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1669 #define SWIG_From_int PyInt_FromLong
1674 enum wxHotkeyModifier
1682 #define wxEVT_HOTKEY 9999
1685 static const wxString
wxPyEmptyString(wxEmptyString
);
1686 static wxString
wxObject_GetClassName(wxObject
*self
){
1687 return self
->GetClassInfo()->GetClassName();
1689 static void wxObject_Destroy(wxObject
*self
){
1694 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1702 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1705 if (value
< min_value
) {
1707 PyErr_Format(PyExc_OverflowError
,
1708 "value %ld is less than '%s' minimum %ld",
1709 value
, errmsg
, min_value
);
1712 } else if (value
> max_value
) {
1714 PyErr_Format(PyExc_OverflowError
,
1715 "value %ld is greater than '%s' maximum %ld",
1716 value
, errmsg
, max_value
);
1725 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1727 if (PyNumber_Check(obj
)) {
1728 if (val
) *val
= PyInt_AsLong(obj
);
1732 SWIG_type_error("number", obj
);
1738 #if INT_MAX != LONG_MAX
1740 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1742 const char* errmsg
= val
? "int" : (char*)0;
1744 if (SWIG_AsVal_long(obj
, &v
)) {
1745 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1746 if (val
) *val
= (int)(v
);
1755 SWIG_type_error(errmsg
, obj
);
1761 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1763 return SWIG_AsVal_long(obj
,(long*)val
);
1769 SWIG_As_int(PyObject
* obj
)
1772 if (!SWIG_AsVal_int(obj
, &v
)) {
1774 this is needed to make valgrind/purify happier.
1776 memset((void*)&v
, 0, sizeof(int));
1783 SWIG_Check_int(PyObject
* obj
)
1785 return SWIG_AsVal_int(obj
, (int*)0);
1788 static PyObject
*wxSize_Get(wxSize
*self
){
1789 bool blocked
= wxPyBeginBlockThreads();
1790 PyObject
* tup
= PyTuple_New(2);
1791 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1792 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1793 wxPyEndBlockThreads(blocked
);
1798 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1800 if (PyNumber_Check(obj
)) {
1801 if (val
) *val
= PyFloat_AsDouble(obj
);
1805 SWIG_type_error("number", obj
);
1811 SWIGINTERNSHORT
double
1812 SWIG_As_double(PyObject
* obj
)
1815 if (!SWIG_AsVal_double(obj
, &v
)) {
1817 this is needed to make valgrind/purify happier.
1819 memset((void*)&v
, 0, sizeof(double));
1826 SWIG_Check_double(PyObject
* obj
)
1828 return SWIG_AsVal_double(obj
, (double*)0);
1832 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1833 #define SWIG_From_double PyFloat_FromDouble
1836 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
1840 static PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
1841 bool blocked
= wxPyBeginBlockThreads();
1842 PyObject
* tup
= PyTuple_New(2);
1843 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1844 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1845 wxPyEndBlockThreads(blocked
);
1849 SWIGINTERNSHORT
long
1850 SWIG_As_long(PyObject
* obj
)
1853 if (!SWIG_AsVal_long(obj
, &v
)) {
1855 this is needed to make valgrind/purify happier.
1857 memset((void*)&v
, 0, sizeof(long));
1864 SWIG_Check_long(PyObject
* obj
)
1866 return SWIG_AsVal_long(obj
, (long*)0);
1869 static void wxPoint_Set(wxPoint
*self
,long x
,long y
){
1873 static PyObject
*wxPoint_Get(wxPoint
*self
){
1874 bool blocked
= wxPyBeginBlockThreads();
1875 PyObject
* tup
= PyTuple_New(2);
1876 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1877 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1878 wxPyEndBlockThreads(blocked
);
1881 static void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
1884 self
->width
= width
;
1885 self
->height
= height
;
1887 static PyObject
*wxRect_Get(wxRect
*self
){
1888 bool blocked
= wxPyBeginBlockThreads();
1889 PyObject
* tup
= PyTuple_New(4);
1890 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1891 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1892 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
1893 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
1894 wxPyEndBlockThreads(blocked
);
1898 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
1901 wxRect
dest(0,0,0,0);
1904 reg1
.Intersect(reg2
);
1905 dest
= reg1
.GetBox();
1907 if (dest
!= wxRect(0,0,0,0)) {
1908 bool blocked
= wxPyBeginBlockThreads();
1909 wxRect
* newRect
= new wxRect(dest
);
1910 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
1911 wxPyEndBlockThreads(blocked
);
1919 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1925 } else if (target
== Py_None
) {
1929 if (!PyTuple_Check(target
)) {
1931 target
= PyTuple_New(1);
1932 PyTuple_SetItem(target
, 0, o2
);
1934 o3
= PyTuple_New(1);
1935 PyTuple_SetItem(o3
, 0, o
);
1938 target
= PySequence_Concat(o2
, o3
);
1946 static void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
1950 static PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
1951 bool blocked
= wxPyBeginBlockThreads();
1952 PyObject
* tup
= PyTuple_New(2);
1953 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
1954 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
1955 wxPyEndBlockThreads(blocked
);
1959 #include "wx/wxPython/pyistream.h"
1961 static wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
1962 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
1964 return new wxPyInputStream(wxis
);
1969 SWIGINTERNSHORT PyObject
*
1970 SWIG_From_char(char c
)
1972 return PyString_FromStringAndSize(&c
,1);
1976 SWIGINTERNSHORT PyObject
*
1977 SWIG_From_unsigned_SS_long(unsigned long value
)
1979 return (value
> LONG_MAX
) ?
1980 PyLong_FromUnsignedLong(value
)
1981 : PyInt_FromLong((long)(value
));
1985 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1987 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
1989 static swig_type_info
* pchar_info
= 0;
1991 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
1992 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
1993 if (cptr
) *cptr
= vptr
;
1994 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
1998 if (PyString_Check(obj
)) {
2000 *cptr
= PyString_AS_STRING(obj
);
2002 *psize
= PyString_GET_SIZE(obj
) + 1;
2009 SWIG_type_error("char *", obj
);
2016 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
2018 char* cptr
; size_t csize
;
2019 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
2022 char x[5] = "hello";
2024 ie, assing the array using an extra '0' char.
2026 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
2027 if (csize
<= size
) {
2029 if (csize
) memcpy(val
, cptr
, csize
);
2030 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
2036 PyErr_Format(PyExc_TypeError
,
2037 "a char array of maximum size %lu is expected",
2038 (unsigned long) size
);
2045 SWIG_AsVal_char(PyObject
*obj
, char *val
)
2047 const char* errmsg
= val
? "char" : (char*)0;
2049 if (SWIG_AsVal_long(obj
, &v
)) {
2050 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
2051 if (val
) *val
= (char)(v
);
2058 return SWIG_AsCharArray(obj
, val
, 1);
2063 SWIGINTERNSHORT
char
2064 SWIG_As_char(PyObject
* obj
)
2067 if (!SWIG_AsVal_char(obj
, &v
)) {
2069 this is needed to make valgrind/purify happier.
2071 memset((void*)&v
, 0, sizeof(char));
2078 SWIG_Check_char(PyObject
* obj
)
2080 return SWIG_AsVal_char(obj
, (char*)0);
2084 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2085 #define SWIG_From_long PyInt_FromLong
2088 static void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
2089 // We use only strings for the streams, not unicode
2090 PyObject
* str
= PyObject_Str(obj
);
2092 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
2095 self
->Write(PyString_AS_STRING(str
),
2096 PyString_GET_SIZE(str
));
2100 #include "wx/wxPython/pyistream.h"
2103 class wxPyFileSystemHandler
: public wxFileSystemHandler
2106 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2108 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
2109 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
2110 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
2111 DEC_PYCALLBACK_STRING__pure(FindNext
);
2113 wxString
GetProtocol(const wxString
& location
) {
2114 return wxFileSystemHandler::GetProtocol(location
);
2117 wxString
GetLeftLocation(const wxString
& location
) {
2118 return wxFileSystemHandler::GetLeftLocation(location
);
2121 wxString
GetAnchor(const wxString
& location
) {
2122 return wxFileSystemHandler::GetAnchor(location
);
2125 wxString
GetRightLocation(const wxString
& location
) {
2126 return wxFileSystemHandler::GetRightLocation(location
);
2129 wxString
GetMimeTypeFromExt(const wxString
& location
) {
2130 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
2137 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
2138 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
2139 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
2140 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
2144 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2146 if (obj
== Py_True
) {
2147 if (val
) *val
= true;
2150 if (obj
== Py_False
) {
2151 if (val
) *val
= false;
2155 if (SWIG_AsVal_int(obj
, &res
)) {
2156 if (val
) *val
= res
? true : false;
2162 SWIG_type_error("bool", obj
);
2168 SWIGINTERNSHORT
bool
2169 SWIG_As_bool(PyObject
* obj
)
2172 if (!SWIG_AsVal_bool(obj
, &v
)) {
2174 this is needed to make valgrind/purify happier.
2176 memset((void*)&v
, 0, sizeof(bool));
2183 SWIG_Check_bool(PyObject
* obj
)
2185 return SWIG_AsVal_bool(obj
, (bool*)0);
2188 static wxString
FileSystem_URLToFileName(wxString
const &url
){
2189 wxFileName fname
= wxFileSystem::URLToFileName(url
);
2190 return fname
.GetFullPath();
2193 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
2196 wxMemoryFSHandler::AddFile(filename
, image
, type
);
2199 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
2200 const wxBitmap
& bitmap
,
2202 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
2205 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
2207 if (! PyString_Check(data
)) {
2208 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2209 "Expected string object"));
2213 bool blocked
= wxPyBeginBlockThreads();
2214 void* ptr
= (void*)PyString_AsString(data
);
2215 size_t size
= PyString_Size(data
);
2216 wxPyEndBlockThreads(blocked
);
2218 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
2222 #include "wx/wxPython/pyistream.h"
2226 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2229 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2230 SWIG_type_error("unsigned number", obj
);
2233 *val
= (unsigned long)v
;
2239 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2240 unsigned long max_value
,
2243 if (value
> max_value
) {
2245 PyErr_Format(PyExc_OverflowError
,
2246 "value %lu is greater than '%s' minimum %lu",
2247 value
, errmsg
, max_value
);
2256 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
2258 const char* errmsg
= val
? "unsigned char" : (char*)0;
2260 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2261 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
2262 if (val
) *val
= (unsigned char)(v
);
2271 SWIG_type_error(errmsg
, obj
);
2277 SWIGINTERNSHORT
unsigned char
2278 SWIG_As_unsigned_SS_char(PyObject
* obj
)
2281 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
2283 this is needed to make valgrind/purify happier.
2285 memset((void*)&v
, 0, sizeof(unsigned char));
2292 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
2294 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
2298 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2299 #define SWIG_From_unsigned_SS_char PyInt_FromLong
2303 static wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
2304 if (width
> 0 && height
> 0)
2305 return new wxImage(width
, height
, clear
);
2309 static wxImage
*new_wxImage(wxBitmap
const &bitmap
){
2310 return new wxImage(bitmap
.ConvertToImage());
2312 static wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
2313 // Copy the source data so the wxImage can clean it up later
2314 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
2319 memcpy(copy
, data
, width
*height
*3);
2320 return new wxImage(width
, height
, copy
, false);
2322 static wxImage
*new_wxImage(int width
,int height
,unsigned char *data
,unsigned char *alpha
){
2323 // Copy the source data so the wxImage can clean it up later
2324 unsigned char* dcopy
= (unsigned char*)malloc(width
*height
*3);
2325 if (dcopy
== NULL
) {
2329 memcpy(dcopy
, data
, width
*height
*3);
2330 unsigned char* acopy
= (unsigned char*)malloc(width
*height
);
2331 if (acopy
== NULL
) {
2335 memcpy(acopy
, alpha
, width
*height
);
2337 return new wxImage(width
, height
, dcopy
, acopy
, false);
2339 static wxSize
wxImage_GetSize(wxImage
*self
){
2340 wxSize
size(self
->GetWidth(), self
->GetHeight());
2343 static PyObject
*wxImage_GetData(wxImage
*self
){
2344 unsigned char* data
= self
->GetData();
2345 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2347 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
2350 static void wxImage_SetData(wxImage
*self
,PyObject
*data
){
2351 unsigned char* dataPtr
;
2353 if (! PyString_Check(data
)) {
2354 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2355 "Expected string object"));
2359 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
2360 dataPtr
= (unsigned char*) malloc(len
);
2361 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
2362 self
->SetData(dataPtr
);
2363 // wxImage takes ownership of dataPtr...
2365 static PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
2366 unsigned char* data
= self
->GetData();
2367 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2369 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2372 static void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
2373 unsigned char* buffer
;
2376 bool blocked
= wxPyBeginBlockThreads();
2377 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2380 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
2381 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
2384 self
->SetData(buffer
);
2386 wxPyEndBlockThreads(blocked
);
2388 static PyObject
*wxImage_GetAlphaData(wxImage
*self
){
2389 unsigned char* data
= self
->GetAlpha();
2393 int len
= self
->GetWidth() * self
->GetHeight();
2395 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
2399 static void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
2400 unsigned char* dataPtr
;
2402 if (! PyString_Check(data
)) {
2403 PyErr_SetString(PyExc_TypeError
, "Expected string object");
2407 size_t len
= self
->GetWidth() * self
->GetHeight();
2408 dataPtr
= (unsigned char*) malloc(len
);
2409 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
2410 self
->SetAlpha(dataPtr
);
2411 // wxImage takes ownership of dataPtr...
2413 static PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
2414 unsigned char* data
= self
->GetAlpha();
2415 int len
= self
->GetWidth() * self
->GetHeight();
2417 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2420 static void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
2421 unsigned char* buffer
;
2424 bool blocked
= wxPyBeginBlockThreads();
2425 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2428 if (size
!= self
->GetWidth() * self
->GetHeight()) {
2429 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
2432 self
->SetAlpha(buffer
);
2434 wxPyEndBlockThreads(blocked
);
2437 SWIGINTERNSHORT
unsigned long
2438 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2441 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2443 this is needed to make valgrind/purify happier.
2445 memset((void*)&v
, 0, sizeof(unsigned long));
2452 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2454 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2457 static wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
2458 wxBitmap
bitmap(*self
, depth
);
2461 static wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
2462 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
2463 wxBitmap
bitmap( mono
, 1 );
2466 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
2467 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
2468 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
2469 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
2470 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
2471 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
2472 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
2473 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
2474 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
2475 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
2476 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
2477 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
2478 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
2479 static const wxString
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);
2480 static const wxString
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);
2482 #include <wx/quantize.h>
2484 static bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
2485 return wxQuantize::Quantize(src
, dest
,
2488 NULL
, // eightBitData
2491 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
2492 if (PyCallable_Check(func
)) {
2493 self
->Connect(id
, lastId
, eventType
,
2494 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
2495 new wxPyCallback(func
));
2497 else if (func
== Py_None
) {
2498 self
->Disconnect(id
, lastId
, eventType
,
2499 (wxObjectEventFunction
)
2500 &wxPyCallback::EventThunker
);
2504 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
2507 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
2508 return self
->Disconnect(id
, lastId
, eventType
,
2509 (wxObjectEventFunction
)
2510 &wxPyCallback::EventThunker
);
2512 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
2513 if (_self
&& _self
!= Py_None
) {
2514 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
2517 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
2519 self
->SetClientObject(NULL
); // This will delete it too
2524 static int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
2526 return self
->GetUnicodeKey();
2532 #if UINT_MAX < LONG_MAX
2533 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2534 #define SWIG_From_unsigned_SS_int SWIG_From_long
2537 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2538 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2543 #if UINT_MAX != ULONG_MAX
2545 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2547 const char* errmsg
= val
? "unsigned int" : (char*)0;
2549 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2550 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2551 if (val
) *val
= (unsigned int)(v
);
2558 SWIG_type_error(errmsg
, obj
);
2563 SWIGINTERNSHORT
unsigned int
2564 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2566 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2571 SWIGINTERNSHORT
unsigned int
2572 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2575 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2577 this is needed to make valgrind/purify happier.
2579 memset((void*)&v
, 0, sizeof(unsigned int));
2586 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2588 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2591 static void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
2592 self
->m_size
= size
;
2594 static PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
2595 int count
= self
->GetNumberOfFiles();
2596 wxString
* files
= self
->GetFiles();
2597 PyObject
* list
= PyList_New(count
);
2600 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2604 for (int i
=0; i
<count
; i
++) {
2605 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
2611 static wxPyApp
*new_wxPyApp(){
2612 wxPythonApp
= new wxPyApp();
2616 void wxApp_CleanUp() {
2621 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2625 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2627 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2632 SWIG_type_error("char *", obj
);
2638 SWIGINTERN PyObject
*
2639 SWIG_FromCharPtr(const char* cptr
)
2642 size_t size
= strlen(cptr
);
2643 if (size
> INT_MAX
) {
2644 return SWIG_NewPointerObj((char*)(cptr
),
2645 SWIG_TypeQuery("char *"), 0);
2648 return PyString_FromStringAndSize(cptr
, size
);
2650 return PyString_FromString(cptr
);
2661 // A dummy class that raises an exception if used...
2665 wxEventLoop() { wxPyRaiseNotImplemented(); }
2666 int Run() { return 0; }
2667 void Exit(int rc
= 0) {}
2668 bool Pending() const { return false; }
2669 bool Dispatch() { return false; }
2670 bool IsRunning() const { return false; }
2671 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2672 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2677 #include <wx/evtloop.h>
2683 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2684 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2685 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2686 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2687 wxWindowList
& list
= self
->GetChildren();
2688 return wxPy_ConvertList(&list
);
2690 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2692 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2697 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2704 static long wxWindow_GetHandle(wxWindow
*self
){
2705 return wxPyGetWinHandle(self
);
2707 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2708 self
->AssociateHandle((WXWidget
)handle
);
2711 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2712 return wxWindow::FindWindowById(id
, parent
);
2715 wxWindow
* wxFindWindowByName( const wxString
& name
,
2716 const wxWindow
*parent
= NULL
) {
2717 return wxWindow::FindWindowByName(name
, parent
);
2720 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2721 const wxWindow
*parent
= NULL
) {
2722 return wxWindow::FindWindowByLabel(label
, parent
);
2727 #include <wx/msw/private.h> // to get wxGetWindowId
2731 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2733 WXHWND hWnd
= (WXHWND
)_hWnd
;
2734 long id
= wxGetWindowId(hWnd
);
2735 wxWindow
* win
= new wxWindow
;
2736 parent
->AddChild(win
);
2737 win
->SetEventHandler(win
);
2740 win
->SubclassWin(hWnd
);
2741 win
->AdoptAttributesFromHWND();
2742 win
->SetupColours();
2745 wxPyRaiseNotImplemented();
2751 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2752 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2753 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2755 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2757 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2758 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2759 wxMenuItemList
& list
= self
->GetMenuItems();
2760 return wxPy_ConvertList(&list
);
2762 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2763 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2765 wxPyClientData
* data
= new wxPyClientData(clientData
);
2766 return self
->Append(item
, data
);
2768 return self
->Append(item
);
2770 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2772 wxPyClientData
* data
= new wxPyClientData(clientData
);
2773 return self
->Insert(item
, pos
, data
);
2775 return self
->Insert(item
, pos
);
2777 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2778 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2780 Py_INCREF(data
->m_obj
);
2787 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2788 wxPyClientData
* data
= new wxPyClientData(clientData
);
2789 self
->SetClientObject(n
, data
);
2793 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2794 wxPyUserData
* data
= NULL
;
2796 bool blocked
= wxPyBeginBlockThreads();
2797 data
= new wxPyUserData(userData
);
2798 wxPyEndBlockThreads(blocked
);
2800 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2802 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2803 wxPyUserData
* data
= NULL
;
2805 bool blocked
= wxPyBeginBlockThreads();
2806 data
= new wxPyUserData(userData
);
2807 wxPyEndBlockThreads(blocked
);
2809 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2811 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2812 wxPyUserData
* data
= NULL
;
2814 bool blocked
= wxPyBeginBlockThreads();
2815 data
= new wxPyUserData(userData
);
2816 wxPyEndBlockThreads(blocked
);
2818 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2823 SWIG_CheckDoubleInRange(double value
, double min_value
,
2824 double max_value
, const char* errmsg
)
2826 if (value
< min_value
) {
2828 PyErr_Format(PyExc_OverflowError
,
2829 "value %g is less than %s minimum %g",
2830 value
, errmsg
, min_value
);
2833 } else if (value
> max_value
) {
2835 PyErr_Format(PyExc_OverflowError
,
2836 "value %g is greater than %s maximum %g",
2837 value
, errmsg
, max_value
);
2846 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2848 const char* errmsg
= val
? "float" : (char*)0;
2850 if (SWIG_AsVal_double(obj
, &v
)) {
2851 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2852 if (val
) *val
= (float)(v
);
2861 SWIG_type_error(errmsg
, obj
);
2867 SWIGINTERNSHORT
float
2868 SWIG_As_float(PyObject
* obj
)
2871 if (!SWIG_AsVal_float(obj
, &v
)) {
2873 this is needed to make valgrind/purify happier.
2875 memset((void*)&v
, 0, sizeof(float));
2882 SWIG_Check_float(PyObject
* obj
)
2884 return SWIG_AsVal_float(obj
, (float*)0);
2888 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2889 #define SWIG_From_float PyFloat_FromDouble
2892 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2893 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2895 Py_INCREF(data
->m_obj
);
2903 // Figure out the type of the sizer item
2905 struct wxPySizerItemInfo
{
2907 : window(NULL
), sizer(NULL
), gotSize(false),
2908 size(wxDefaultSize
), gotPos(false), pos(-1)
2919 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2921 wxPySizerItemInfo info
;
2923 wxSize
* sizePtr
= &size
;
2925 // Find out what the type of the item is
2927 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2932 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2936 // try wxSize or (w,h)
2937 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2938 info
.size
= *sizePtr
;
2939 info
.gotSize
= true;
2943 if (checkIdx
&& PyInt_Check(item
)) {
2944 info
.pos
= PyInt_AsLong(item
);
2950 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2951 // no expected type, figure out what kind of error message to generate
2952 if ( !checkSize
&& !checkIdx
)
2953 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2954 else if ( checkSize
&& !checkIdx
)
2955 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2956 else if ( !checkSize
&& checkIdx
)
2957 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
2959 // can this one happen?
2960 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
2966 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
2967 if (!self
->GetClientObject())
2968 self
->SetClientObject(new wxPyOORClientData(_self
));
2970 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2972 wxPyUserData
* data
= NULL
;
2973 bool blocked
= wxPyBeginBlockThreads();
2974 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2975 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2976 data
= new wxPyUserData(userData
);
2977 wxPyEndBlockThreads(blocked
);
2979 // Now call the real Add method if a valid item type was found
2981 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
2982 else if ( info
.sizer
)
2983 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
2984 else if (info
.gotSize
)
2985 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
2986 proportion
, flag
, border
, data
);
2990 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2992 wxPyUserData
* data
= NULL
;
2993 bool blocked
= wxPyBeginBlockThreads();
2994 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2995 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2996 data
= new wxPyUserData(userData
);
2997 wxPyEndBlockThreads(blocked
);
2999 // Now call the real Insert method if a valid item type was found
3001 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
3002 else if ( info
.sizer
)
3003 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
3004 else if (info
.gotSize
)
3005 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
3006 proportion
, flag
, border
, data
);
3010 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3012 wxPyUserData
* data
= NULL
;
3013 bool blocked
= wxPyBeginBlockThreads();
3014 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3015 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3016 data
= new wxPyUserData(userData
);
3017 wxPyEndBlockThreads(blocked
);
3019 // Now call the real Prepend method if a valid item type was found
3021 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3022 else if ( info
.sizer
)
3023 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3024 else if (info
.gotSize
)
3025 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3026 proportion
, flag
, border
, data
);
3030 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3031 bool blocked
= wxPyBeginBlockThreads();
3032 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3033 wxPyEndBlockThreads(blocked
);
3035 return self
->Remove(info
.window
);
3036 else if ( info
.sizer
)
3037 return self
->Remove(info
.sizer
);
3038 else if ( info
.gotPos
)
3039 return self
->Remove(info
.pos
);
3043 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3044 bool blocked
= wxPyBeginBlockThreads();
3045 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3046 wxPyEndBlockThreads(blocked
);
3048 return self
->Detach(info
.window
);
3049 else if ( info
.sizer
)
3050 return self
->Detach(info
.sizer
);
3051 else if ( info
.gotPos
)
3052 return self
->Detach(info
.pos
);
3056 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3057 bool blocked
= wxPyBeginBlockThreads();
3058 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3059 wxPyEndBlockThreads(blocked
);
3061 return self
->GetItem(info
.window
);
3062 else if ( info
.sizer
)
3063 return self
->GetItem(info
.sizer
);
3064 else if ( info
.gotPos
)
3065 return self
->GetItem(info
.pos
);
3069 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3070 bool blocked
= wxPyBeginBlockThreads();
3071 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3072 wxPyEndBlockThreads(blocked
);
3074 self
->SetItemMinSize(info
.window
, size
);
3075 else if ( info
.sizer
)
3076 self
->SetItemMinSize(info
.sizer
, size
);
3077 else if ( info
.gotPos
)
3078 self
->SetItemMinSize(info
.pos
, size
);
3080 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3081 wxSizerItemList
& list
= self
->GetChildren();
3082 return wxPy_ConvertList(&list
);
3084 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3085 bool blocked
= wxPyBeginBlockThreads();
3086 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3087 wxPyEndBlockThreads(blocked
);
3089 return self
->Show(info
.window
, show
, recursive
);
3090 else if ( info
.sizer
)
3091 return self
->Show(info
.sizer
, show
, recursive
);
3092 else if ( info
.gotPos
)
3093 return self
->Show(info
.pos
, show
);
3097 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3098 bool blocked
= wxPyBeginBlockThreads();
3099 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3100 wxPyEndBlockThreads(blocked
);
3102 return self
->IsShown(info
.window
);
3103 else if ( info
.sizer
)
3104 return self
->IsShown(info
.sizer
);
3105 else if ( info
.gotPos
)
3106 return self
->IsShown(info
.pos
);
3112 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3113 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3114 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3119 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3121 if (source
== Py_None
) {
3122 **obj
= wxGBPosition(-1,-1);
3125 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3128 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3130 if (source
== Py_None
) {
3131 **obj
= wxGBSpan(-1,-1);
3134 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3138 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3142 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3143 bool blocked
= wxPyBeginBlockThreads();
3144 PyObject
* tup
= PyTuple_New(2);
3145 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3146 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3147 wxPyEndBlockThreads(blocked
);
3150 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3151 self
->SetRowspan(rowspan
);
3152 self
->SetColspan(colspan
);
3154 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3155 bool blocked
= wxPyBeginBlockThreads();
3156 PyObject
* tup
= PyTuple_New(2);
3157 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3158 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3159 wxPyEndBlockThreads(blocked
);
3162 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3163 wxPyUserData
* data
= NULL
;
3165 bool blocked
= wxPyBeginBlockThreads();
3166 data
= new wxPyUserData(userData
);
3167 wxPyEndBlockThreads(blocked
);
3169 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3171 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3172 wxPyUserData
* data
= NULL
;
3174 bool blocked
= wxPyBeginBlockThreads();
3175 data
= new wxPyUserData(userData
);
3176 wxPyEndBlockThreads(blocked
);
3178 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3180 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3181 wxPyUserData
* data
= NULL
;
3183 bool blocked
= wxPyBeginBlockThreads();
3184 data
= new wxPyUserData(userData
);
3185 wxPyEndBlockThreads(blocked
);
3187 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3189 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3191 self
->GetEndPos(row
, col
);
3192 return wxGBPosition(row
, col
);
3194 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3196 wxPyUserData
* data
= NULL
;
3197 bool blocked
= wxPyBeginBlockThreads();
3198 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3199 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3200 data
= new wxPyUserData(userData
);
3201 wxPyEndBlockThreads(blocked
);
3203 // Now call the real Add method if a valid item type was found
3205 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3206 else if ( info
.sizer
)
3207 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3208 else if (info
.gotSize
)
3209 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3210 pos
, span
, flag
, border
, data
);
3218 static int _wrap_EmptyString_set(PyObject
*) {
3219 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3224 static PyObject
*_wrap_EmptyString_get(void) {
3229 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3231 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3238 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3239 PyObject
*resultobj
;
3240 wxObject
*arg1
= (wxObject
*) 0 ;
3242 PyObject
* obj0
= 0 ;
3244 (char *) "self", NULL
3247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3249 if (SWIG_arg_fail(1)) SWIG_fail
;
3251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3252 result
= wxObject_GetClassName(arg1
);
3254 wxPyEndAllowThreads(__tstate
);
3255 if (PyErr_Occurred()) SWIG_fail
;
3259 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3261 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3270 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3271 PyObject
*resultobj
;
3272 wxObject
*arg1
= (wxObject
*) 0 ;
3273 PyObject
* obj0
= 0 ;
3275 (char *) "self", NULL
3278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3280 if (SWIG_arg_fail(1)) SWIG_fail
;
3282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3283 wxObject_Destroy(arg1
);
3285 wxPyEndAllowThreads(__tstate
);
3286 if (PyErr_Occurred()) SWIG_fail
;
3288 Py_INCREF(Py_None
); resultobj
= Py_None
;
3295 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3298 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3300 return Py_BuildValue((char *)"");
3302 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3303 PyObject
*resultobj
;
3304 wxSize
*arg1
= (wxSize
*) 0 ;
3306 PyObject
* obj0
= 0 ;
3307 PyObject
* obj1
= 0 ;
3309 (char *) "self",(char *) "x", NULL
3312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3314 if (SWIG_arg_fail(1)) SWIG_fail
;
3316 arg2
= (int)(SWIG_As_int(obj1
));
3317 if (SWIG_arg_fail(2)) SWIG_fail
;
3319 if (arg1
) (arg1
)->x
= arg2
;
3321 Py_INCREF(Py_None
); resultobj
= Py_None
;
3328 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3329 PyObject
*resultobj
;
3330 wxSize
*arg1
= (wxSize
*) 0 ;
3332 PyObject
* obj0
= 0 ;
3334 (char *) "self", NULL
3337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3339 if (SWIG_arg_fail(1)) SWIG_fail
;
3340 result
= (int) ((arg1
)->x
);
3343 resultobj
= SWIG_From_int((int)(result
));
3351 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3352 PyObject
*resultobj
;
3353 wxSize
*arg1
= (wxSize
*) 0 ;
3355 PyObject
* obj0
= 0 ;
3356 PyObject
* obj1
= 0 ;
3358 (char *) "self",(char *) "y", NULL
3361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3363 if (SWIG_arg_fail(1)) SWIG_fail
;
3365 arg2
= (int)(SWIG_As_int(obj1
));
3366 if (SWIG_arg_fail(2)) SWIG_fail
;
3368 if (arg1
) (arg1
)->y
= arg2
;
3370 Py_INCREF(Py_None
); resultobj
= Py_None
;
3377 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3378 PyObject
*resultobj
;
3379 wxSize
*arg1
= (wxSize
*) 0 ;
3381 PyObject
* obj0
= 0 ;
3383 (char *) "self", NULL
3386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3388 if (SWIG_arg_fail(1)) SWIG_fail
;
3389 result
= (int) ((arg1
)->y
);
3392 resultobj
= SWIG_From_int((int)(result
));
3400 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3401 PyObject
*resultobj
;
3402 int arg1
= (int) 0 ;
3403 int arg2
= (int) 0 ;
3405 PyObject
* obj0
= 0 ;
3406 PyObject
* obj1
= 0 ;
3408 (char *) "w",(char *) "h", NULL
3411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3414 arg1
= (int)(SWIG_As_int(obj0
));
3415 if (SWIG_arg_fail(1)) SWIG_fail
;
3420 arg2
= (int)(SWIG_As_int(obj1
));
3421 if (SWIG_arg_fail(2)) SWIG_fail
;
3425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3426 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3428 wxPyEndAllowThreads(__tstate
);
3429 if (PyErr_Occurred()) SWIG_fail
;
3431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3438 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3439 PyObject
*resultobj
;
3440 wxSize
*arg1
= (wxSize
*) 0 ;
3441 PyObject
* obj0
= 0 ;
3443 (char *) "self", NULL
3446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3448 if (SWIG_arg_fail(1)) SWIG_fail
;
3450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3453 wxPyEndAllowThreads(__tstate
);
3454 if (PyErr_Occurred()) SWIG_fail
;
3456 Py_INCREF(Py_None
); resultobj
= Py_None
;
3463 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3464 PyObject
*resultobj
;
3465 wxSize
*arg1
= (wxSize
*) 0 ;
3469 PyObject
* obj0
= 0 ;
3470 PyObject
* obj1
= 0 ;
3472 (char *) "self",(char *) "sz", NULL
3475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3477 if (SWIG_arg_fail(1)) SWIG_fail
;
3480 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3484 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3486 wxPyEndAllowThreads(__tstate
);
3487 if (PyErr_Occurred()) SWIG_fail
;
3490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3498 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3499 PyObject
*resultobj
;
3500 wxSize
*arg1
= (wxSize
*) 0 ;
3504 PyObject
* obj0
= 0 ;
3505 PyObject
* obj1
= 0 ;
3507 (char *) "self",(char *) "sz", NULL
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3512 if (SWIG_arg_fail(1)) SWIG_fail
;
3515 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3519 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3521 wxPyEndAllowThreads(__tstate
);
3522 if (PyErr_Occurred()) SWIG_fail
;
3525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3533 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3534 PyObject
*resultobj
;
3535 wxSize
*arg1
= (wxSize
*) 0 ;
3539 PyObject
* obj0
= 0 ;
3540 PyObject
* obj1
= 0 ;
3542 (char *) "self",(char *) "sz", NULL
3545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3547 if (SWIG_arg_fail(1)) SWIG_fail
;
3550 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3554 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3556 wxPyEndAllowThreads(__tstate
);
3557 if (PyErr_Occurred()) SWIG_fail
;
3561 resultptr
= new wxSize((wxSize
&)(result
));
3562 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3570 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3571 PyObject
*resultobj
;
3572 wxSize
*arg1
= (wxSize
*) 0 ;
3576 PyObject
* obj0
= 0 ;
3577 PyObject
* obj1
= 0 ;
3579 (char *) "self",(char *) "sz", NULL
3582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3584 if (SWIG_arg_fail(1)) SWIG_fail
;
3587 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3591 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3593 wxPyEndAllowThreads(__tstate
);
3594 if (PyErr_Occurred()) SWIG_fail
;
3598 resultptr
= new wxSize((wxSize
&)(result
));
3599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3607 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3608 PyObject
*resultobj
;
3609 wxSize
*arg1
= (wxSize
*) 0 ;
3612 PyObject
* obj0
= 0 ;
3613 PyObject
* obj1
= 0 ;
3615 (char *) "self",(char *) "sz", NULL
3618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3620 if (SWIG_arg_fail(1)) SWIG_fail
;
3623 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3627 (arg1
)->IncTo((wxSize
const &)*arg2
);
3629 wxPyEndAllowThreads(__tstate
);
3630 if (PyErr_Occurred()) SWIG_fail
;
3632 Py_INCREF(Py_None
); resultobj
= Py_None
;
3639 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3640 PyObject
*resultobj
;
3641 wxSize
*arg1
= (wxSize
*) 0 ;
3644 PyObject
* obj0
= 0 ;
3645 PyObject
* obj1
= 0 ;
3647 (char *) "self",(char *) "sz", NULL
3650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3652 if (SWIG_arg_fail(1)) SWIG_fail
;
3655 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3659 (arg1
)->DecTo((wxSize
const &)*arg2
);
3661 wxPyEndAllowThreads(__tstate
);
3662 if (PyErr_Occurred()) SWIG_fail
;
3664 Py_INCREF(Py_None
); resultobj
= Py_None
;
3671 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3672 PyObject
*resultobj
;
3673 wxSize
*arg1
= (wxSize
*) 0 ;
3676 PyObject
* obj0
= 0 ;
3677 PyObject
* obj1
= 0 ;
3678 PyObject
* obj2
= 0 ;
3680 (char *) "self",(char *) "w",(char *) "h", NULL
3683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3685 if (SWIG_arg_fail(1)) SWIG_fail
;
3687 arg2
= (int)(SWIG_As_int(obj1
));
3688 if (SWIG_arg_fail(2)) SWIG_fail
;
3691 arg3
= (int)(SWIG_As_int(obj2
));
3692 if (SWIG_arg_fail(3)) SWIG_fail
;
3695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3696 (arg1
)->Set(arg2
,arg3
);
3698 wxPyEndAllowThreads(__tstate
);
3699 if (PyErr_Occurred()) SWIG_fail
;
3701 Py_INCREF(Py_None
); resultobj
= Py_None
;
3708 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3709 PyObject
*resultobj
;
3710 wxSize
*arg1
= (wxSize
*) 0 ;
3712 PyObject
* obj0
= 0 ;
3713 PyObject
* obj1
= 0 ;
3715 (char *) "self",(char *) "w", NULL
3718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3720 if (SWIG_arg_fail(1)) SWIG_fail
;
3722 arg2
= (int)(SWIG_As_int(obj1
));
3723 if (SWIG_arg_fail(2)) SWIG_fail
;
3726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3727 (arg1
)->SetWidth(arg2
);
3729 wxPyEndAllowThreads(__tstate
);
3730 if (PyErr_Occurred()) SWIG_fail
;
3732 Py_INCREF(Py_None
); resultobj
= Py_None
;
3739 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3740 PyObject
*resultobj
;
3741 wxSize
*arg1
= (wxSize
*) 0 ;
3743 PyObject
* obj0
= 0 ;
3744 PyObject
* obj1
= 0 ;
3746 (char *) "self",(char *) "h", NULL
3749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3751 if (SWIG_arg_fail(1)) SWIG_fail
;
3753 arg2
= (int)(SWIG_As_int(obj1
));
3754 if (SWIG_arg_fail(2)) SWIG_fail
;
3757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3758 (arg1
)->SetHeight(arg2
);
3760 wxPyEndAllowThreads(__tstate
);
3761 if (PyErr_Occurred()) SWIG_fail
;
3763 Py_INCREF(Py_None
); resultobj
= Py_None
;
3770 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3771 PyObject
*resultobj
;
3772 wxSize
*arg1
= (wxSize
*) 0 ;
3774 PyObject
* obj0
= 0 ;
3776 (char *) "self", NULL
3779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3781 if (SWIG_arg_fail(1)) SWIG_fail
;
3783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3784 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3786 wxPyEndAllowThreads(__tstate
);
3787 if (PyErr_Occurred()) SWIG_fail
;
3790 resultobj
= SWIG_From_int((int)(result
));
3798 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3799 PyObject
*resultobj
;
3800 wxSize
*arg1
= (wxSize
*) 0 ;
3802 PyObject
* obj0
= 0 ;
3804 (char *) "self", NULL
3807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3809 if (SWIG_arg_fail(1)) SWIG_fail
;
3811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3812 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3814 wxPyEndAllowThreads(__tstate
);
3815 if (PyErr_Occurred()) SWIG_fail
;
3818 resultobj
= SWIG_From_int((int)(result
));
3826 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3827 PyObject
*resultobj
;
3828 wxSize
*arg1
= (wxSize
*) 0 ;
3830 PyObject
* obj0
= 0 ;
3832 (char *) "self", NULL
3835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3837 if (SWIG_arg_fail(1)) SWIG_fail
;
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3840 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3842 wxPyEndAllowThreads(__tstate
);
3843 if (PyErr_Occurred()) SWIG_fail
;
3846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3854 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3855 PyObject
*resultobj
;
3856 wxSize
*arg1
= (wxSize
*) 0 ;
3859 PyObject
* obj0
= 0 ;
3860 PyObject
* obj1
= 0 ;
3862 (char *) "self",(char *) "size", NULL
3865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3867 if (SWIG_arg_fail(1)) SWIG_fail
;
3870 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3874 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3876 wxPyEndAllowThreads(__tstate
);
3877 if (PyErr_Occurred()) SWIG_fail
;
3879 Py_INCREF(Py_None
); resultobj
= Py_None
;
3886 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3887 PyObject
*resultobj
;
3888 wxSize
*arg1
= (wxSize
*) 0 ;
3890 PyObject
* obj0
= 0 ;
3892 (char *) "self", NULL
3895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3897 if (SWIG_arg_fail(1)) SWIG_fail
;
3899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3900 result
= (PyObject
*)wxSize_Get(arg1
);
3902 wxPyEndAllowThreads(__tstate
);
3903 if (PyErr_Occurred()) SWIG_fail
;
3912 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3915 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3917 return Py_BuildValue((char *)"");
3919 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3920 PyObject
*resultobj
;
3921 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3923 PyObject
* obj0
= 0 ;
3924 PyObject
* obj1
= 0 ;
3926 (char *) "self",(char *) "x", NULL
3929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3931 if (SWIG_arg_fail(1)) SWIG_fail
;
3933 arg2
= (double)(SWIG_As_double(obj1
));
3934 if (SWIG_arg_fail(2)) SWIG_fail
;
3936 if (arg1
) (arg1
)->x
= arg2
;
3938 Py_INCREF(Py_None
); resultobj
= Py_None
;
3945 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3946 PyObject
*resultobj
;
3947 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3949 PyObject
* obj0
= 0 ;
3951 (char *) "self", NULL
3954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
3955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3956 if (SWIG_arg_fail(1)) SWIG_fail
;
3957 result
= (double) ((arg1
)->x
);
3960 resultobj
= SWIG_From_double((double)(result
));
3968 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3969 PyObject
*resultobj
;
3970 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3972 PyObject
* obj0
= 0 ;
3973 PyObject
* obj1
= 0 ;
3975 (char *) "self",(char *) "y", NULL
3978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3980 if (SWIG_arg_fail(1)) SWIG_fail
;
3982 arg2
= (double)(SWIG_As_double(obj1
));
3983 if (SWIG_arg_fail(2)) SWIG_fail
;
3985 if (arg1
) (arg1
)->y
= arg2
;
3987 Py_INCREF(Py_None
); resultobj
= Py_None
;
3994 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3995 PyObject
*resultobj
;
3996 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3998 PyObject
* obj0
= 0 ;
4000 (char *) "self", NULL
4003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
4004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4005 if (SWIG_arg_fail(1)) SWIG_fail
;
4006 result
= (double) ((arg1
)->y
);
4009 resultobj
= SWIG_From_double((double)(result
));
4017 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4018 PyObject
*resultobj
;
4019 double arg1
= (double) 0.0 ;
4020 double arg2
= (double) 0.0 ;
4021 wxRealPoint
*result
;
4022 PyObject
* obj0
= 0 ;
4023 PyObject
* obj1
= 0 ;
4025 (char *) "x",(char *) "y", NULL
4028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4031 arg1
= (double)(SWIG_As_double(obj0
));
4032 if (SWIG_arg_fail(1)) SWIG_fail
;
4037 arg2
= (double)(SWIG_As_double(obj1
));
4038 if (SWIG_arg_fail(2)) SWIG_fail
;
4042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4043 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4045 wxPyEndAllowThreads(__tstate
);
4046 if (PyErr_Occurred()) SWIG_fail
;
4048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4055 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4056 PyObject
*resultobj
;
4057 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4058 PyObject
* obj0
= 0 ;
4060 (char *) "self", NULL
4063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4065 if (SWIG_arg_fail(1)) SWIG_fail
;
4067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4070 wxPyEndAllowThreads(__tstate
);
4071 if (PyErr_Occurred()) SWIG_fail
;
4073 Py_INCREF(Py_None
); resultobj
= Py_None
;
4080 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4081 PyObject
*resultobj
;
4082 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4083 wxRealPoint
*arg2
= 0 ;
4086 PyObject
* obj0
= 0 ;
4087 PyObject
* obj1
= 0 ;
4089 (char *) "self",(char *) "pt", NULL
4092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4094 if (SWIG_arg_fail(1)) SWIG_fail
;
4097 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4101 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4103 wxPyEndAllowThreads(__tstate
);
4104 if (PyErr_Occurred()) SWIG_fail
;
4107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4115 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4116 PyObject
*resultobj
;
4117 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4118 wxRealPoint
*arg2
= 0 ;
4121 PyObject
* obj0
= 0 ;
4122 PyObject
* obj1
= 0 ;
4124 (char *) "self",(char *) "pt", NULL
4127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4129 if (SWIG_arg_fail(1)) SWIG_fail
;
4132 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4136 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4138 wxPyEndAllowThreads(__tstate
);
4139 if (PyErr_Occurred()) SWIG_fail
;
4142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4150 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4151 PyObject
*resultobj
;
4152 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4153 wxRealPoint
*arg2
= 0 ;
4156 PyObject
* obj0
= 0 ;
4157 PyObject
* obj1
= 0 ;
4159 (char *) "self",(char *) "pt", NULL
4162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4164 if (SWIG_arg_fail(1)) SWIG_fail
;
4167 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4171 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4173 wxPyEndAllowThreads(__tstate
);
4174 if (PyErr_Occurred()) SWIG_fail
;
4177 wxRealPoint
* resultptr
;
4178 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4179 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4187 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4188 PyObject
*resultobj
;
4189 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4190 wxRealPoint
*arg2
= 0 ;
4193 PyObject
* obj0
= 0 ;
4194 PyObject
* obj1
= 0 ;
4196 (char *) "self",(char *) "pt", NULL
4199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4201 if (SWIG_arg_fail(1)) SWIG_fail
;
4204 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4208 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4210 wxPyEndAllowThreads(__tstate
);
4211 if (PyErr_Occurred()) SWIG_fail
;
4214 wxRealPoint
* resultptr
;
4215 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4216 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4224 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4225 PyObject
*resultobj
;
4226 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4229 PyObject
* obj0
= 0 ;
4230 PyObject
* obj1
= 0 ;
4231 PyObject
* obj2
= 0 ;
4233 (char *) "self",(char *) "x",(char *) "y", NULL
4236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4238 if (SWIG_arg_fail(1)) SWIG_fail
;
4240 arg2
= (double)(SWIG_As_double(obj1
));
4241 if (SWIG_arg_fail(2)) SWIG_fail
;
4244 arg3
= (double)(SWIG_As_double(obj2
));
4245 if (SWIG_arg_fail(3)) SWIG_fail
;
4248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4249 wxRealPoint_Set(arg1
,arg2
,arg3
);
4251 wxPyEndAllowThreads(__tstate
);
4252 if (PyErr_Occurred()) SWIG_fail
;
4254 Py_INCREF(Py_None
); resultobj
= Py_None
;
4261 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4262 PyObject
*resultobj
;
4263 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4265 PyObject
* obj0
= 0 ;
4267 (char *) "self", NULL
4270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4272 if (SWIG_arg_fail(1)) SWIG_fail
;
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4287 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4289 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4290 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4292 return Py_BuildValue((char *)"");
4294 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
*resultobj
;
4296 wxPoint
*arg1
= (wxPoint
*) 0 ;
4298 PyObject
* obj0
= 0 ;
4299 PyObject
* obj1
= 0 ;
4301 (char *) "self",(char *) "x", NULL
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4306 if (SWIG_arg_fail(1)) SWIG_fail
;
4308 arg2
= (int)(SWIG_As_int(obj1
));
4309 if (SWIG_arg_fail(2)) SWIG_fail
;
4311 if (arg1
) (arg1
)->x
= arg2
;
4313 Py_INCREF(Py_None
); resultobj
= Py_None
;
4320 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4321 PyObject
*resultobj
;
4322 wxPoint
*arg1
= (wxPoint
*) 0 ;
4324 PyObject
* obj0
= 0 ;
4326 (char *) "self", NULL
4329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4331 if (SWIG_arg_fail(1)) SWIG_fail
;
4332 result
= (int) ((arg1
)->x
);
4335 resultobj
= SWIG_From_int((int)(result
));
4343 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4344 PyObject
*resultobj
;
4345 wxPoint
*arg1
= (wxPoint
*) 0 ;
4347 PyObject
* obj0
= 0 ;
4348 PyObject
* obj1
= 0 ;
4350 (char *) "self",(char *) "y", NULL
4353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4355 if (SWIG_arg_fail(1)) SWIG_fail
;
4357 arg2
= (int)(SWIG_As_int(obj1
));
4358 if (SWIG_arg_fail(2)) SWIG_fail
;
4360 if (arg1
) (arg1
)->y
= arg2
;
4362 Py_INCREF(Py_None
); resultobj
= Py_None
;
4369 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4370 PyObject
*resultobj
;
4371 wxPoint
*arg1
= (wxPoint
*) 0 ;
4373 PyObject
* obj0
= 0 ;
4375 (char *) "self", NULL
4378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4380 if (SWIG_arg_fail(1)) SWIG_fail
;
4381 result
= (int) ((arg1
)->y
);
4384 resultobj
= SWIG_From_int((int)(result
));
4392 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4393 PyObject
*resultobj
;
4394 int arg1
= (int) 0 ;
4395 int arg2
= (int) 0 ;
4397 PyObject
* obj0
= 0 ;
4398 PyObject
* obj1
= 0 ;
4400 (char *) "x",(char *) "y", NULL
4403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4406 arg1
= (int)(SWIG_As_int(obj0
));
4407 if (SWIG_arg_fail(1)) SWIG_fail
;
4412 arg2
= (int)(SWIG_As_int(obj1
));
4413 if (SWIG_arg_fail(2)) SWIG_fail
;
4417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4418 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4420 wxPyEndAllowThreads(__tstate
);
4421 if (PyErr_Occurred()) SWIG_fail
;
4423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4430 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4431 PyObject
*resultobj
;
4432 wxPoint
*arg1
= (wxPoint
*) 0 ;
4433 PyObject
* obj0
= 0 ;
4435 (char *) "self", NULL
4438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4440 if (SWIG_arg_fail(1)) SWIG_fail
;
4442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4445 wxPyEndAllowThreads(__tstate
);
4446 if (PyErr_Occurred()) SWIG_fail
;
4448 Py_INCREF(Py_None
); resultobj
= Py_None
;
4455 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4456 PyObject
*resultobj
;
4457 wxPoint
*arg1
= (wxPoint
*) 0 ;
4461 PyObject
* obj0
= 0 ;
4462 PyObject
* obj1
= 0 ;
4464 (char *) "self",(char *) "pt", NULL
4467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4469 if (SWIG_arg_fail(1)) SWIG_fail
;
4472 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4476 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4478 wxPyEndAllowThreads(__tstate
);
4479 if (PyErr_Occurred()) SWIG_fail
;
4482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4490 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4491 PyObject
*resultobj
;
4492 wxPoint
*arg1
= (wxPoint
*) 0 ;
4496 PyObject
* obj0
= 0 ;
4497 PyObject
* obj1
= 0 ;
4499 (char *) "self",(char *) "pt", NULL
4502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4504 if (SWIG_arg_fail(1)) SWIG_fail
;
4507 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4511 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4513 wxPyEndAllowThreads(__tstate
);
4514 if (PyErr_Occurred()) SWIG_fail
;
4517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4525 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
*resultobj
;
4527 wxPoint
*arg1
= (wxPoint
*) 0 ;
4531 PyObject
* obj0
= 0 ;
4532 PyObject
* obj1
= 0 ;
4534 (char *) "self",(char *) "pt", NULL
4537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4539 if (SWIG_arg_fail(1)) SWIG_fail
;
4542 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4546 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4548 wxPyEndAllowThreads(__tstate
);
4549 if (PyErr_Occurred()) SWIG_fail
;
4552 wxPoint
* resultptr
;
4553 resultptr
= new wxPoint((wxPoint
&)(result
));
4554 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4562 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4563 PyObject
*resultobj
;
4564 wxPoint
*arg1
= (wxPoint
*) 0 ;
4568 PyObject
* obj0
= 0 ;
4569 PyObject
* obj1
= 0 ;
4571 (char *) "self",(char *) "pt", NULL
4574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4576 if (SWIG_arg_fail(1)) SWIG_fail
;
4579 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4583 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4585 wxPyEndAllowThreads(__tstate
);
4586 if (PyErr_Occurred()) SWIG_fail
;
4589 wxPoint
* resultptr
;
4590 resultptr
= new wxPoint((wxPoint
&)(result
));
4591 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4599 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4600 PyObject
*resultobj
;
4601 wxPoint
*arg1
= (wxPoint
*) 0 ;
4605 PyObject
* obj0
= 0 ;
4606 PyObject
* obj1
= 0 ;
4608 (char *) "self",(char *) "pt", NULL
4611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4613 if (SWIG_arg_fail(1)) SWIG_fail
;
4616 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4621 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4622 result
= (wxPoint
*) &_result_ref
;
4625 wxPyEndAllowThreads(__tstate
);
4626 if (PyErr_Occurred()) SWIG_fail
;
4628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4635 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4636 PyObject
*resultobj
;
4637 wxPoint
*arg1
= (wxPoint
*) 0 ;
4641 PyObject
* obj0
= 0 ;
4642 PyObject
* obj1
= 0 ;
4644 (char *) "self",(char *) "pt", NULL
4647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4649 if (SWIG_arg_fail(1)) SWIG_fail
;
4652 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4657 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4658 result
= (wxPoint
*) &_result_ref
;
4661 wxPyEndAllowThreads(__tstate
);
4662 if (PyErr_Occurred()) SWIG_fail
;
4664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4671 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4672 PyObject
*resultobj
;
4673 wxPoint
*arg1
= (wxPoint
*) 0 ;
4676 PyObject
* obj0
= 0 ;
4677 PyObject
* obj1
= 0 ;
4678 PyObject
* obj2
= 0 ;
4680 (char *) "self",(char *) "x",(char *) "y", NULL
4683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4685 if (SWIG_arg_fail(1)) SWIG_fail
;
4687 arg2
= (long)(SWIG_As_long(obj1
));
4688 if (SWIG_arg_fail(2)) SWIG_fail
;
4691 arg3
= (long)(SWIG_As_long(obj2
));
4692 if (SWIG_arg_fail(3)) SWIG_fail
;
4695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4696 wxPoint_Set(arg1
,arg2
,arg3
);
4698 wxPyEndAllowThreads(__tstate
);
4699 if (PyErr_Occurred()) SWIG_fail
;
4701 Py_INCREF(Py_None
); resultobj
= Py_None
;
4708 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4709 PyObject
*resultobj
;
4710 wxPoint
*arg1
= (wxPoint
*) 0 ;
4712 PyObject
* obj0
= 0 ;
4714 (char *) "self", NULL
4717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4719 if (SWIG_arg_fail(1)) SWIG_fail
;
4721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4722 result
= (PyObject
*)wxPoint_Get(arg1
);
4724 wxPyEndAllowThreads(__tstate
);
4725 if (PyErr_Occurred()) SWIG_fail
;
4734 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4737 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4739 return Py_BuildValue((char *)"");
4741 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4742 PyObject
*resultobj
;
4743 int arg1
= (int) 0 ;
4744 int arg2
= (int) 0 ;
4745 int arg3
= (int) 0 ;
4746 int arg4
= (int) 0 ;
4748 PyObject
* obj0
= 0 ;
4749 PyObject
* obj1
= 0 ;
4750 PyObject
* obj2
= 0 ;
4751 PyObject
* obj3
= 0 ;
4753 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4759 arg1
= (int)(SWIG_As_int(obj0
));
4760 if (SWIG_arg_fail(1)) SWIG_fail
;
4765 arg2
= (int)(SWIG_As_int(obj1
));
4766 if (SWIG_arg_fail(2)) SWIG_fail
;
4771 arg3
= (int)(SWIG_As_int(obj2
));
4772 if (SWIG_arg_fail(3)) SWIG_fail
;
4777 arg4
= (int)(SWIG_As_int(obj3
));
4778 if (SWIG_arg_fail(4)) SWIG_fail
;
4782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4783 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4785 wxPyEndAllowThreads(__tstate
);
4786 if (PyErr_Occurred()) SWIG_fail
;
4788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4795 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4796 PyObject
*resultobj
;
4802 PyObject
* obj0
= 0 ;
4803 PyObject
* obj1
= 0 ;
4805 (char *) "topLeft",(char *) "bottomRight", NULL
4808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4811 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4815 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4819 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4821 wxPyEndAllowThreads(__tstate
);
4822 if (PyErr_Occurred()) SWIG_fail
;
4824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4831 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4832 PyObject
*resultobj
;
4838 PyObject
* obj0
= 0 ;
4839 PyObject
* obj1
= 0 ;
4841 (char *) "pos",(char *) "size", NULL
4844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4847 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4851 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4855 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4857 wxPyEndAllowThreads(__tstate
);
4858 if (PyErr_Occurred()) SWIG_fail
;
4860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4867 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4868 PyObject
*resultobj
;
4872 PyObject
* obj0
= 0 ;
4874 (char *) "size", NULL
4877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4880 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4884 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4886 wxPyEndAllowThreads(__tstate
);
4887 if (PyErr_Occurred()) SWIG_fail
;
4889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4896 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4897 PyObject
*resultobj
;
4898 wxRect
*arg1
= (wxRect
*) 0 ;
4899 PyObject
* obj0
= 0 ;
4901 (char *) "self", NULL
4904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4906 if (SWIG_arg_fail(1)) SWIG_fail
;
4908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4911 wxPyEndAllowThreads(__tstate
);
4912 if (PyErr_Occurred()) SWIG_fail
;
4914 Py_INCREF(Py_None
); resultobj
= Py_None
;
4921 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4922 PyObject
*resultobj
;
4923 wxRect
*arg1
= (wxRect
*) 0 ;
4925 PyObject
* obj0
= 0 ;
4927 (char *) "self", NULL
4930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
4931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4932 if (SWIG_arg_fail(1)) SWIG_fail
;
4934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4935 result
= (int)((wxRect
const *)arg1
)->GetX();
4937 wxPyEndAllowThreads(__tstate
);
4938 if (PyErr_Occurred()) SWIG_fail
;
4941 resultobj
= SWIG_From_int((int)(result
));
4949 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4950 PyObject
*resultobj
;
4951 wxRect
*arg1
= (wxRect
*) 0 ;
4953 PyObject
* obj0
= 0 ;
4954 PyObject
* obj1
= 0 ;
4956 (char *) "self",(char *) "x", NULL
4959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
4960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4961 if (SWIG_arg_fail(1)) SWIG_fail
;
4963 arg2
= (int)(SWIG_As_int(obj1
));
4964 if (SWIG_arg_fail(2)) SWIG_fail
;
4967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4970 wxPyEndAllowThreads(__tstate
);
4971 if (PyErr_Occurred()) SWIG_fail
;
4973 Py_INCREF(Py_None
); resultobj
= Py_None
;
4980 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4981 PyObject
*resultobj
;
4982 wxRect
*arg1
= (wxRect
*) 0 ;
4984 PyObject
* obj0
= 0 ;
4986 (char *) "self", NULL
4989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
4990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4991 if (SWIG_arg_fail(1)) SWIG_fail
;
4993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4994 result
= (int)(arg1
)->GetY();
4996 wxPyEndAllowThreads(__tstate
);
4997 if (PyErr_Occurred()) SWIG_fail
;
5000 resultobj
= SWIG_From_int((int)(result
));
5008 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5009 PyObject
*resultobj
;
5010 wxRect
*arg1
= (wxRect
*) 0 ;
5012 PyObject
* obj0
= 0 ;
5013 PyObject
* obj1
= 0 ;
5015 (char *) "self",(char *) "y", NULL
5018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5020 if (SWIG_arg_fail(1)) SWIG_fail
;
5022 arg2
= (int)(SWIG_As_int(obj1
));
5023 if (SWIG_arg_fail(2)) SWIG_fail
;
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5029 wxPyEndAllowThreads(__tstate
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5032 Py_INCREF(Py_None
); resultobj
= Py_None
;
5039 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5040 PyObject
*resultobj
;
5041 wxRect
*arg1
= (wxRect
*) 0 ;
5043 PyObject
* obj0
= 0 ;
5045 (char *) "self", NULL
5048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5050 if (SWIG_arg_fail(1)) SWIG_fail
;
5052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5053 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5055 wxPyEndAllowThreads(__tstate
);
5056 if (PyErr_Occurred()) SWIG_fail
;
5059 resultobj
= SWIG_From_int((int)(result
));
5067 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5068 PyObject
*resultobj
;
5069 wxRect
*arg1
= (wxRect
*) 0 ;
5071 PyObject
* obj0
= 0 ;
5072 PyObject
* obj1
= 0 ;
5074 (char *) "self",(char *) "w", NULL
5077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5079 if (SWIG_arg_fail(1)) SWIG_fail
;
5081 arg2
= (int)(SWIG_As_int(obj1
));
5082 if (SWIG_arg_fail(2)) SWIG_fail
;
5085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5086 (arg1
)->SetWidth(arg2
);
5088 wxPyEndAllowThreads(__tstate
);
5089 if (PyErr_Occurred()) SWIG_fail
;
5091 Py_INCREF(Py_None
); resultobj
= Py_None
;
5098 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5099 PyObject
*resultobj
;
5100 wxRect
*arg1
= (wxRect
*) 0 ;
5102 PyObject
* obj0
= 0 ;
5104 (char *) "self", NULL
5107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5109 if (SWIG_arg_fail(1)) SWIG_fail
;
5111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5112 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5114 wxPyEndAllowThreads(__tstate
);
5115 if (PyErr_Occurred()) SWIG_fail
;
5118 resultobj
= SWIG_From_int((int)(result
));
5126 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5127 PyObject
*resultobj
;
5128 wxRect
*arg1
= (wxRect
*) 0 ;
5130 PyObject
* obj0
= 0 ;
5131 PyObject
* obj1
= 0 ;
5133 (char *) "self",(char *) "h", NULL
5136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5138 if (SWIG_arg_fail(1)) SWIG_fail
;
5140 arg2
= (int)(SWIG_As_int(obj1
));
5141 if (SWIG_arg_fail(2)) SWIG_fail
;
5144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5145 (arg1
)->SetHeight(arg2
);
5147 wxPyEndAllowThreads(__tstate
);
5148 if (PyErr_Occurred()) SWIG_fail
;
5150 Py_INCREF(Py_None
); resultobj
= Py_None
;
5157 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5158 PyObject
*resultobj
;
5159 wxRect
*arg1
= (wxRect
*) 0 ;
5161 PyObject
* obj0
= 0 ;
5163 (char *) "self", NULL
5166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5168 if (SWIG_arg_fail(1)) SWIG_fail
;
5170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5171 result
= ((wxRect
const *)arg1
)->GetPosition();
5173 wxPyEndAllowThreads(__tstate
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5177 wxPoint
* resultptr
;
5178 resultptr
= new wxPoint((wxPoint
&)(result
));
5179 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5187 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5188 PyObject
*resultobj
;
5189 wxRect
*arg1
= (wxRect
*) 0 ;
5192 PyObject
* obj0
= 0 ;
5193 PyObject
* obj1
= 0 ;
5195 (char *) "self",(char *) "p", NULL
5198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5200 if (SWIG_arg_fail(1)) SWIG_fail
;
5203 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5207 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5209 wxPyEndAllowThreads(__tstate
);
5210 if (PyErr_Occurred()) SWIG_fail
;
5212 Py_INCREF(Py_None
); resultobj
= Py_None
;
5219 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5220 PyObject
*resultobj
;
5221 wxRect
*arg1
= (wxRect
*) 0 ;
5223 PyObject
* obj0
= 0 ;
5225 (char *) "self", NULL
5228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5230 if (SWIG_arg_fail(1)) SWIG_fail
;
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 result
= ((wxRect
const *)arg1
)->GetSize();
5235 wxPyEndAllowThreads(__tstate
);
5236 if (PyErr_Occurred()) SWIG_fail
;
5240 resultptr
= new wxSize((wxSize
&)(result
));
5241 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5249 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5250 PyObject
*resultobj
;
5251 wxRect
*arg1
= (wxRect
*) 0 ;
5254 PyObject
* obj0
= 0 ;
5255 PyObject
* obj1
= 0 ;
5257 (char *) "self",(char *) "s", NULL
5260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5262 if (SWIG_arg_fail(1)) SWIG_fail
;
5265 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5269 (arg1
)->SetSize((wxSize
const &)*arg2
);
5271 wxPyEndAllowThreads(__tstate
);
5272 if (PyErr_Occurred()) SWIG_fail
;
5274 Py_INCREF(Py_None
); resultobj
= Py_None
;
5281 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5282 PyObject
*resultobj
;
5283 wxRect
*arg1
= (wxRect
*) 0 ;
5285 PyObject
* obj0
= 0 ;
5287 (char *) "self", NULL
5290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5292 if (SWIG_arg_fail(1)) SWIG_fail
;
5294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5295 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5297 wxPyEndAllowThreads(__tstate
);
5298 if (PyErr_Occurred()) SWIG_fail
;
5301 wxPoint
* resultptr
;
5302 resultptr
= new wxPoint((wxPoint
&)(result
));
5303 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5311 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
*resultobj
;
5313 wxRect
*arg1
= (wxRect
*) 0 ;
5316 PyObject
* obj0
= 0 ;
5317 PyObject
* obj1
= 0 ;
5319 (char *) "self",(char *) "p", NULL
5322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5324 if (SWIG_arg_fail(1)) SWIG_fail
;
5327 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5331 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5333 wxPyEndAllowThreads(__tstate
);
5334 if (PyErr_Occurred()) SWIG_fail
;
5336 Py_INCREF(Py_None
); resultobj
= Py_None
;
5343 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5344 PyObject
*resultobj
;
5345 wxRect
*arg1
= (wxRect
*) 0 ;
5347 PyObject
* obj0
= 0 ;
5349 (char *) "self", NULL
5352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5354 if (SWIG_arg_fail(1)) SWIG_fail
;
5356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5357 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5359 wxPyEndAllowThreads(__tstate
);
5360 if (PyErr_Occurred()) SWIG_fail
;
5363 wxPoint
* resultptr
;
5364 resultptr
= new wxPoint((wxPoint
&)(result
));
5365 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5373 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5374 PyObject
*resultobj
;
5375 wxRect
*arg1
= (wxRect
*) 0 ;
5378 PyObject
* obj0
= 0 ;
5379 PyObject
* obj1
= 0 ;
5381 (char *) "self",(char *) "p", NULL
5384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5386 if (SWIG_arg_fail(1)) SWIG_fail
;
5389 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5393 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5395 wxPyEndAllowThreads(__tstate
);
5396 if (PyErr_Occurred()) SWIG_fail
;
5398 Py_INCREF(Py_None
); resultobj
= Py_None
;
5405 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5406 PyObject
*resultobj
;
5407 wxRect
*arg1
= (wxRect
*) 0 ;
5409 PyObject
* obj0
= 0 ;
5411 (char *) "self", NULL
5414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5416 if (SWIG_arg_fail(1)) SWIG_fail
;
5418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5419 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5421 wxPyEndAllowThreads(__tstate
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5425 resultobj
= SWIG_From_int((int)(result
));
5433 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5434 PyObject
*resultobj
;
5435 wxRect
*arg1
= (wxRect
*) 0 ;
5437 PyObject
* obj0
= 0 ;
5439 (char *) "self", NULL
5442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5444 if (SWIG_arg_fail(1)) SWIG_fail
;
5446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5447 result
= (int)((wxRect
const *)arg1
)->GetTop();
5449 wxPyEndAllowThreads(__tstate
);
5450 if (PyErr_Occurred()) SWIG_fail
;
5453 resultobj
= SWIG_From_int((int)(result
));
5461 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5462 PyObject
*resultobj
;
5463 wxRect
*arg1
= (wxRect
*) 0 ;
5465 PyObject
* obj0
= 0 ;
5467 (char *) "self", NULL
5470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5472 if (SWIG_arg_fail(1)) SWIG_fail
;
5474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5475 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5477 wxPyEndAllowThreads(__tstate
);
5478 if (PyErr_Occurred()) SWIG_fail
;
5481 resultobj
= SWIG_From_int((int)(result
));
5489 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5490 PyObject
*resultobj
;
5491 wxRect
*arg1
= (wxRect
*) 0 ;
5493 PyObject
* obj0
= 0 ;
5495 (char *) "self", NULL
5498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5500 if (SWIG_arg_fail(1)) SWIG_fail
;
5502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5503 result
= (int)((wxRect
const *)arg1
)->GetRight();
5505 wxPyEndAllowThreads(__tstate
);
5506 if (PyErr_Occurred()) SWIG_fail
;
5509 resultobj
= SWIG_From_int((int)(result
));
5517 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5518 PyObject
*resultobj
;
5519 wxRect
*arg1
= (wxRect
*) 0 ;
5521 PyObject
* obj0
= 0 ;
5522 PyObject
* obj1
= 0 ;
5524 (char *) "self",(char *) "left", NULL
5527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5529 if (SWIG_arg_fail(1)) SWIG_fail
;
5531 arg2
= (int)(SWIG_As_int(obj1
));
5532 if (SWIG_arg_fail(2)) SWIG_fail
;
5535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5536 (arg1
)->SetLeft(arg2
);
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5541 Py_INCREF(Py_None
); resultobj
= Py_None
;
5548 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5549 PyObject
*resultobj
;
5550 wxRect
*arg1
= (wxRect
*) 0 ;
5552 PyObject
* obj0
= 0 ;
5553 PyObject
* obj1
= 0 ;
5555 (char *) "self",(char *) "right", NULL
5558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5560 if (SWIG_arg_fail(1)) SWIG_fail
;
5562 arg2
= (int)(SWIG_As_int(obj1
));
5563 if (SWIG_arg_fail(2)) SWIG_fail
;
5566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5567 (arg1
)->SetRight(arg2
);
5569 wxPyEndAllowThreads(__tstate
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5572 Py_INCREF(Py_None
); resultobj
= Py_None
;
5579 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5580 PyObject
*resultobj
;
5581 wxRect
*arg1
= (wxRect
*) 0 ;
5583 PyObject
* obj0
= 0 ;
5584 PyObject
* obj1
= 0 ;
5586 (char *) "self",(char *) "top", NULL
5589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5591 if (SWIG_arg_fail(1)) SWIG_fail
;
5593 arg2
= (int)(SWIG_As_int(obj1
));
5594 if (SWIG_arg_fail(2)) SWIG_fail
;
5597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5598 (arg1
)->SetTop(arg2
);
5600 wxPyEndAllowThreads(__tstate
);
5601 if (PyErr_Occurred()) SWIG_fail
;
5603 Py_INCREF(Py_None
); resultobj
= Py_None
;
5610 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5611 PyObject
*resultobj
;
5612 wxRect
*arg1
= (wxRect
*) 0 ;
5614 PyObject
* obj0
= 0 ;
5615 PyObject
* obj1
= 0 ;
5617 (char *) "self",(char *) "bottom", NULL
5620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5622 if (SWIG_arg_fail(1)) SWIG_fail
;
5624 arg2
= (int)(SWIG_As_int(obj1
));
5625 if (SWIG_arg_fail(2)) SWIG_fail
;
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5629 (arg1
)->SetBottom(arg2
);
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5634 Py_INCREF(Py_None
); resultobj
= Py_None
;
5641 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5642 PyObject
*resultobj
;
5643 wxRect
*arg1
= (wxRect
*) 0 ;
5647 PyObject
* obj0
= 0 ;
5648 PyObject
* obj1
= 0 ;
5649 PyObject
* obj2
= 0 ;
5651 (char *) "self",(char *) "dx",(char *) "dy", NULL
5654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5656 if (SWIG_arg_fail(1)) SWIG_fail
;
5658 arg2
= (int)(SWIG_As_int(obj1
));
5659 if (SWIG_arg_fail(2)) SWIG_fail
;
5662 arg3
= (int)(SWIG_As_int(obj2
));
5663 if (SWIG_arg_fail(3)) SWIG_fail
;
5666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5668 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5669 result
= (wxRect
*) &_result_ref
;
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) SWIG_fail
;
5675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5682 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5683 PyObject
*resultobj
;
5684 wxRect
*arg1
= (wxRect
*) 0 ;
5688 PyObject
* obj0
= 0 ;
5689 PyObject
* obj1
= 0 ;
5690 PyObject
* obj2
= 0 ;
5692 (char *) "self",(char *) "dx",(char *) "dy", NULL
5695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5697 if (SWIG_arg_fail(1)) SWIG_fail
;
5699 arg2
= (int)(SWIG_As_int(obj1
));
5700 if (SWIG_arg_fail(2)) SWIG_fail
;
5703 arg3
= (int)(SWIG_As_int(obj2
));
5704 if (SWIG_arg_fail(3)) SWIG_fail
;
5707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5709 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5710 result
= (wxRect
*) &_result_ref
;
5713 wxPyEndAllowThreads(__tstate
);
5714 if (PyErr_Occurred()) SWIG_fail
;
5716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5723 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5724 PyObject
*resultobj
;
5725 wxRect
*arg1
= (wxRect
*) 0 ;
5728 PyObject
* obj0
= 0 ;
5729 PyObject
* obj1
= 0 ;
5730 PyObject
* obj2
= 0 ;
5732 (char *) "self",(char *) "dx",(char *) "dy", NULL
5735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5737 if (SWIG_arg_fail(1)) SWIG_fail
;
5739 arg2
= (int)(SWIG_As_int(obj1
));
5740 if (SWIG_arg_fail(2)) SWIG_fail
;
5743 arg3
= (int)(SWIG_As_int(obj2
));
5744 if (SWIG_arg_fail(3)) SWIG_fail
;
5747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5748 (arg1
)->Offset(arg2
,arg3
);
5750 wxPyEndAllowThreads(__tstate
);
5751 if (PyErr_Occurred()) SWIG_fail
;
5753 Py_INCREF(Py_None
); resultobj
= Py_None
;
5760 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5761 PyObject
*resultobj
;
5762 wxRect
*arg1
= (wxRect
*) 0 ;
5765 PyObject
* obj0
= 0 ;
5766 PyObject
* obj1
= 0 ;
5768 (char *) "self",(char *) "pt", NULL
5771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5773 if (SWIG_arg_fail(1)) SWIG_fail
;
5776 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5780 (arg1
)->Offset((wxPoint
const &)*arg2
);
5782 wxPyEndAllowThreads(__tstate
);
5783 if (PyErr_Occurred()) SWIG_fail
;
5785 Py_INCREF(Py_None
); resultobj
= Py_None
;
5792 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5793 PyObject
*resultobj
;
5794 wxRect
*arg1
= (wxRect
*) 0 ;
5798 PyObject
* obj0
= 0 ;
5799 PyObject
* obj1
= 0 ;
5801 (char *) "self",(char *) "rect", NULL
5804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5806 if (SWIG_arg_fail(1)) SWIG_fail
;
5809 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5813 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5815 wxPyEndAllowThreads(__tstate
);
5816 if (PyErr_Occurred()) SWIG_fail
;
5820 resultptr
= new wxRect((wxRect
&)(result
));
5821 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5829 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5830 PyObject
*resultobj
;
5831 wxRect
*arg1
= (wxRect
*) 0 ;
5835 PyObject
* obj0
= 0 ;
5836 PyObject
* obj1
= 0 ;
5838 (char *) "self",(char *) "rect", NULL
5841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5843 if (SWIG_arg_fail(1)) SWIG_fail
;
5846 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5850 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5852 wxPyEndAllowThreads(__tstate
);
5853 if (PyErr_Occurred()) SWIG_fail
;
5857 resultptr
= new wxRect((wxRect
&)(result
));
5858 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5866 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5867 PyObject
*resultobj
;
5868 wxRect
*arg1
= (wxRect
*) 0 ;
5872 PyObject
* obj0
= 0 ;
5873 PyObject
* obj1
= 0 ;
5875 (char *) "self",(char *) "rect", NULL
5878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5880 if (SWIG_arg_fail(1)) SWIG_fail
;
5883 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5887 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5889 wxPyEndAllowThreads(__tstate
);
5890 if (PyErr_Occurred()) SWIG_fail
;
5894 resultptr
= new wxRect((wxRect
&)(result
));
5895 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5903 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5904 PyObject
*resultobj
;
5905 wxRect
*arg1
= (wxRect
*) 0 ;
5909 PyObject
* obj0
= 0 ;
5910 PyObject
* obj1
= 0 ;
5912 (char *) "self",(char *) "rect", NULL
5915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5917 if (SWIG_arg_fail(1)) SWIG_fail
;
5920 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5925 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5926 result
= (wxRect
*) &_result_ref
;
5929 wxPyEndAllowThreads(__tstate
);
5930 if (PyErr_Occurred()) SWIG_fail
;
5932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
5939 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5940 PyObject
*resultobj
;
5941 wxRect
*arg1
= (wxRect
*) 0 ;
5945 PyObject
* obj0
= 0 ;
5946 PyObject
* obj1
= 0 ;
5948 (char *) "self",(char *) "rect", NULL
5951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5953 if (SWIG_arg_fail(1)) SWIG_fail
;
5956 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5960 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
5962 wxPyEndAllowThreads(__tstate
);
5963 if (PyErr_Occurred()) SWIG_fail
;
5966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5974 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5975 PyObject
*resultobj
;
5976 wxRect
*arg1
= (wxRect
*) 0 ;
5980 PyObject
* obj0
= 0 ;
5981 PyObject
* obj1
= 0 ;
5983 (char *) "self",(char *) "rect", NULL
5986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5988 if (SWIG_arg_fail(1)) SWIG_fail
;
5991 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5995 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
5997 wxPyEndAllowThreads(__tstate
);
5998 if (PyErr_Occurred()) SWIG_fail
;
6001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6009 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6010 PyObject
*resultobj
;
6011 wxRect
*arg1
= (wxRect
*) 0 ;
6015 PyObject
* obj0
= 0 ;
6016 PyObject
* obj1
= 0 ;
6017 PyObject
* obj2
= 0 ;
6019 (char *) "self",(char *) "x",(char *) "y", NULL
6022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6024 if (SWIG_arg_fail(1)) SWIG_fail
;
6026 arg2
= (int)(SWIG_As_int(obj1
));
6027 if (SWIG_arg_fail(2)) SWIG_fail
;
6030 arg3
= (int)(SWIG_As_int(obj2
));
6031 if (SWIG_arg_fail(3)) SWIG_fail
;
6034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6035 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6037 wxPyEndAllowThreads(__tstate
);
6038 if (PyErr_Occurred()) SWIG_fail
;
6041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6049 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6050 PyObject
*resultobj
;
6051 wxRect
*arg1
= (wxRect
*) 0 ;
6055 PyObject
* obj0
= 0 ;
6056 PyObject
* obj1
= 0 ;
6058 (char *) "self",(char *) "pt", NULL
6061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6063 if (SWIG_arg_fail(1)) SWIG_fail
;
6066 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6070 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6072 wxPyEndAllowThreads(__tstate
);
6073 if (PyErr_Occurred()) SWIG_fail
;
6076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6084 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6085 PyObject
*resultobj
;
6086 wxRect
*arg1
= (wxRect
*) 0 ;
6090 PyObject
* obj0
= 0 ;
6091 PyObject
* obj1
= 0 ;
6093 (char *) "self",(char *) "rect", NULL
6096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6098 if (SWIG_arg_fail(1)) SWIG_fail
;
6101 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6105 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6107 wxPyEndAllowThreads(__tstate
);
6108 if (PyErr_Occurred()) SWIG_fail
;
6111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6119 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6120 PyObject
*resultobj
;
6121 wxRect
*arg1
= (wxRect
*) 0 ;
6123 PyObject
* obj0
= 0 ;
6124 PyObject
* obj1
= 0 ;
6126 (char *) "self",(char *) "x", NULL
6129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6131 if (SWIG_arg_fail(1)) SWIG_fail
;
6133 arg2
= (int)(SWIG_As_int(obj1
));
6134 if (SWIG_arg_fail(2)) SWIG_fail
;
6136 if (arg1
) (arg1
)->x
= arg2
;
6138 Py_INCREF(Py_None
); resultobj
= Py_None
;
6145 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
*resultobj
;
6147 wxRect
*arg1
= (wxRect
*) 0 ;
6149 PyObject
* obj0
= 0 ;
6151 (char *) "self", NULL
6154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6156 if (SWIG_arg_fail(1)) SWIG_fail
;
6157 result
= (int) ((arg1
)->x
);
6160 resultobj
= SWIG_From_int((int)(result
));
6168 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6169 PyObject
*resultobj
;
6170 wxRect
*arg1
= (wxRect
*) 0 ;
6172 PyObject
* obj0
= 0 ;
6173 PyObject
* obj1
= 0 ;
6175 (char *) "self",(char *) "y", NULL
6178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6180 if (SWIG_arg_fail(1)) SWIG_fail
;
6182 arg2
= (int)(SWIG_As_int(obj1
));
6183 if (SWIG_arg_fail(2)) SWIG_fail
;
6185 if (arg1
) (arg1
)->y
= arg2
;
6187 Py_INCREF(Py_None
); resultobj
= Py_None
;
6194 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6195 PyObject
*resultobj
;
6196 wxRect
*arg1
= (wxRect
*) 0 ;
6198 PyObject
* obj0
= 0 ;
6200 (char *) "self", NULL
6203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6205 if (SWIG_arg_fail(1)) SWIG_fail
;
6206 result
= (int) ((arg1
)->y
);
6209 resultobj
= SWIG_From_int((int)(result
));
6217 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6218 PyObject
*resultobj
;
6219 wxRect
*arg1
= (wxRect
*) 0 ;
6221 PyObject
* obj0
= 0 ;
6222 PyObject
* obj1
= 0 ;
6224 (char *) "self",(char *) "width", NULL
6227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6229 if (SWIG_arg_fail(1)) SWIG_fail
;
6231 arg2
= (int)(SWIG_As_int(obj1
));
6232 if (SWIG_arg_fail(2)) SWIG_fail
;
6234 if (arg1
) (arg1
)->width
= arg2
;
6236 Py_INCREF(Py_None
); resultobj
= Py_None
;
6243 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6244 PyObject
*resultobj
;
6245 wxRect
*arg1
= (wxRect
*) 0 ;
6247 PyObject
* obj0
= 0 ;
6249 (char *) "self", NULL
6252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6254 if (SWIG_arg_fail(1)) SWIG_fail
;
6255 result
= (int) ((arg1
)->width
);
6258 resultobj
= SWIG_From_int((int)(result
));
6266 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6267 PyObject
*resultobj
;
6268 wxRect
*arg1
= (wxRect
*) 0 ;
6270 PyObject
* obj0
= 0 ;
6271 PyObject
* obj1
= 0 ;
6273 (char *) "self",(char *) "height", NULL
6276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6278 if (SWIG_arg_fail(1)) SWIG_fail
;
6280 arg2
= (int)(SWIG_As_int(obj1
));
6281 if (SWIG_arg_fail(2)) SWIG_fail
;
6283 if (arg1
) (arg1
)->height
= arg2
;
6285 Py_INCREF(Py_None
); resultobj
= Py_None
;
6292 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6293 PyObject
*resultobj
;
6294 wxRect
*arg1
= (wxRect
*) 0 ;
6296 PyObject
* obj0
= 0 ;
6298 (char *) "self", NULL
6301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6303 if (SWIG_arg_fail(1)) SWIG_fail
;
6304 result
= (int) ((arg1
)->height
);
6307 resultobj
= SWIG_From_int((int)(result
));
6315 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
*resultobj
;
6317 wxRect
*arg1
= (wxRect
*) 0 ;
6318 int arg2
= (int) 0 ;
6319 int arg3
= (int) 0 ;
6320 int arg4
= (int) 0 ;
6321 int arg5
= (int) 0 ;
6322 PyObject
* obj0
= 0 ;
6323 PyObject
* obj1
= 0 ;
6324 PyObject
* obj2
= 0 ;
6325 PyObject
* obj3
= 0 ;
6326 PyObject
* obj4
= 0 ;
6328 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6333 if (SWIG_arg_fail(1)) SWIG_fail
;
6336 arg2
= (int)(SWIG_As_int(obj1
));
6337 if (SWIG_arg_fail(2)) SWIG_fail
;
6342 arg3
= (int)(SWIG_As_int(obj2
));
6343 if (SWIG_arg_fail(3)) SWIG_fail
;
6348 arg4
= (int)(SWIG_As_int(obj3
));
6349 if (SWIG_arg_fail(4)) SWIG_fail
;
6354 arg5
= (int)(SWIG_As_int(obj4
));
6355 if (SWIG_arg_fail(5)) SWIG_fail
;
6359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6360 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6362 wxPyEndAllowThreads(__tstate
);
6363 if (PyErr_Occurred()) SWIG_fail
;
6365 Py_INCREF(Py_None
); resultobj
= Py_None
;
6372 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6373 PyObject
*resultobj
;
6374 wxRect
*arg1
= (wxRect
*) 0 ;
6376 PyObject
* obj0
= 0 ;
6378 (char *) "self", NULL
6381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6383 if (SWIG_arg_fail(1)) SWIG_fail
;
6385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6386 result
= (PyObject
*)wxRect_Get(arg1
);
6388 wxPyEndAllowThreads(__tstate
);
6389 if (PyErr_Occurred()) SWIG_fail
;
6398 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6400 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6401 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6403 return Py_BuildValue((char *)"");
6405 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6406 PyObject
*resultobj
;
6407 wxRect
*arg1
= (wxRect
*) 0 ;
6408 wxRect
*arg2
= (wxRect
*) 0 ;
6410 PyObject
* obj0
= 0 ;
6411 PyObject
* obj1
= 0 ;
6413 (char *) "r1",(char *) "r2", NULL
6416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6418 if (SWIG_arg_fail(1)) SWIG_fail
;
6419 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6420 if (SWIG_arg_fail(2)) SWIG_fail
;
6422 if (!wxPyCheckForApp()) SWIG_fail
;
6423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6424 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6426 wxPyEndAllowThreads(__tstate
);
6427 if (PyErr_Occurred()) SWIG_fail
;
6436 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6437 PyObject
*resultobj
;
6438 double arg1
= (double) 0.0 ;
6439 double arg2
= (double) 0.0 ;
6441 PyObject
* obj0
= 0 ;
6442 PyObject
* obj1
= 0 ;
6444 (char *) "x",(char *) "y", NULL
6447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6450 arg1
= (double)(SWIG_As_double(obj0
));
6451 if (SWIG_arg_fail(1)) SWIG_fail
;
6456 arg2
= (double)(SWIG_As_double(obj1
));
6457 if (SWIG_arg_fail(2)) SWIG_fail
;
6461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6462 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6464 wxPyEndAllowThreads(__tstate
);
6465 if (PyErr_Occurred()) SWIG_fail
;
6467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6474 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6475 PyObject
*resultobj
;
6476 wxPoint2D
*arg1
= 0 ;
6479 PyObject
* obj0
= 0 ;
6484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6487 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6491 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6493 wxPyEndAllowThreads(__tstate
);
6494 if (PyErr_Occurred()) SWIG_fail
;
6496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6503 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6504 PyObject
*resultobj
;
6508 PyObject
* obj0
= 0 ;
6513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6516 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6520 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6522 wxPyEndAllowThreads(__tstate
);
6523 if (PyErr_Occurred()) SWIG_fail
;
6525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6532 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6533 PyObject
*resultobj
;
6534 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6535 int *arg2
= (int *) 0 ;
6536 int *arg3
= (int *) 0 ;
6541 PyObject
* obj0
= 0 ;
6543 (char *) "self", NULL
6546 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6547 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6550 if (SWIG_arg_fail(1)) SWIG_fail
;
6552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6553 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) SWIG_fail
;
6558 Py_INCREF(Py_None
); resultobj
= Py_None
;
6559 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6560 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6561 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6562 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6569 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6570 PyObject
*resultobj
;
6571 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6572 int *arg2
= (int *) 0 ;
6573 int *arg3
= (int *) 0 ;
6578 PyObject
* obj0
= 0 ;
6580 (char *) "self", NULL
6583 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6584 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6587 if (SWIG_arg_fail(1)) SWIG_fail
;
6589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6590 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6592 wxPyEndAllowThreads(__tstate
);
6593 if (PyErr_Occurred()) SWIG_fail
;
6595 Py_INCREF(Py_None
); resultobj
= Py_None
;
6596 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6597 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6598 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6599 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6606 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6607 PyObject
*resultobj
;
6608 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6610 PyObject
* obj0
= 0 ;
6612 (char *) "self", NULL
6615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6617 if (SWIG_arg_fail(1)) SWIG_fail
;
6619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6620 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6622 wxPyEndAllowThreads(__tstate
);
6623 if (PyErr_Occurred()) SWIG_fail
;
6626 resultobj
= SWIG_From_double((double)(result
));
6634 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6635 PyObject
*resultobj
;
6636 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6638 PyObject
* obj0
= 0 ;
6640 (char *) "self", NULL
6643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6645 if (SWIG_arg_fail(1)) SWIG_fail
;
6647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6648 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6650 wxPyEndAllowThreads(__tstate
);
6651 if (PyErr_Occurred()) SWIG_fail
;
6654 resultobj
= SWIG_From_double((double)(result
));
6662 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6663 PyObject
*resultobj
;
6664 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6666 PyObject
* obj0
= 0 ;
6667 PyObject
* obj1
= 0 ;
6669 (char *) "self",(char *) "length", NULL
6672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6674 if (SWIG_arg_fail(1)) SWIG_fail
;
6676 arg2
= (double)(SWIG_As_double(obj1
));
6677 if (SWIG_arg_fail(2)) SWIG_fail
;
6680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6681 (arg1
)->SetVectorLength(arg2
);
6683 wxPyEndAllowThreads(__tstate
);
6684 if (PyErr_Occurred()) SWIG_fail
;
6686 Py_INCREF(Py_None
); resultobj
= Py_None
;
6693 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6694 PyObject
*resultobj
;
6695 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6697 PyObject
* obj0
= 0 ;
6698 PyObject
* obj1
= 0 ;
6700 (char *) "self",(char *) "degrees", NULL
6703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6705 if (SWIG_arg_fail(1)) SWIG_fail
;
6707 arg2
= (double)(SWIG_As_double(obj1
));
6708 if (SWIG_arg_fail(2)) SWIG_fail
;
6711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6712 (arg1
)->SetVectorAngle(arg2
);
6714 wxPyEndAllowThreads(__tstate
);
6715 if (PyErr_Occurred()) SWIG_fail
;
6717 Py_INCREF(Py_None
); resultobj
= Py_None
;
6724 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6725 PyObject
*resultobj
;
6726 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6727 wxPoint2D
*arg2
= 0 ;
6730 PyObject
* obj0
= 0 ;
6731 PyObject
* obj1
= 0 ;
6733 (char *) "self",(char *) "pt", NULL
6736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6738 if (SWIG_arg_fail(1)) SWIG_fail
;
6741 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6745 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6747 wxPyEndAllowThreads(__tstate
);
6748 if (PyErr_Occurred()) SWIG_fail
;
6751 resultobj
= SWIG_From_double((double)(result
));
6759 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6760 PyObject
*resultobj
;
6761 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6762 wxPoint2D
*arg2
= 0 ;
6765 PyObject
* obj0
= 0 ;
6766 PyObject
* obj1
= 0 ;
6768 (char *) "self",(char *) "pt", NULL
6771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6773 if (SWIG_arg_fail(1)) SWIG_fail
;
6776 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6780 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6782 wxPyEndAllowThreads(__tstate
);
6783 if (PyErr_Occurred()) SWIG_fail
;
6786 resultobj
= SWIG_From_double((double)(result
));
6794 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6795 PyObject
*resultobj
;
6796 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6797 wxPoint2D
*arg2
= 0 ;
6800 PyObject
* obj0
= 0 ;
6801 PyObject
* obj1
= 0 ;
6803 (char *) "self",(char *) "vec", NULL
6806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6808 if (SWIG_arg_fail(1)) SWIG_fail
;
6811 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6815 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6817 wxPyEndAllowThreads(__tstate
);
6818 if (PyErr_Occurred()) SWIG_fail
;
6821 resultobj
= SWIG_From_double((double)(result
));
6829 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6830 PyObject
*resultobj
;
6831 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6832 wxPoint2D
*arg2
= 0 ;
6835 PyObject
* obj0
= 0 ;
6836 PyObject
* obj1
= 0 ;
6838 (char *) "self",(char *) "vec", NULL
6841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6843 if (SWIG_arg_fail(1)) SWIG_fail
;
6846 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6850 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6852 wxPyEndAllowThreads(__tstate
);
6853 if (PyErr_Occurred()) SWIG_fail
;
6856 resultobj
= SWIG_From_double((double)(result
));
6864 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6865 PyObject
*resultobj
;
6866 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6868 PyObject
* obj0
= 0 ;
6870 (char *) "self", NULL
6873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6875 if (SWIG_arg_fail(1)) SWIG_fail
;
6877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6878 result
= (arg1
)->operator -();
6880 wxPyEndAllowThreads(__tstate
);
6881 if (PyErr_Occurred()) SWIG_fail
;
6884 wxPoint2D
* resultptr
;
6885 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6886 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6894 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6895 PyObject
*resultobj
;
6896 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6897 wxPoint2D
*arg2
= 0 ;
6900 PyObject
* obj0
= 0 ;
6901 PyObject
* obj1
= 0 ;
6903 (char *) "self",(char *) "pt", NULL
6906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6908 if (SWIG_arg_fail(1)) SWIG_fail
;
6911 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6916 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6917 result
= (wxPoint2D
*) &_result_ref
;
6920 wxPyEndAllowThreads(__tstate
);
6921 if (PyErr_Occurred()) SWIG_fail
;
6923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6930 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6931 PyObject
*resultobj
;
6932 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6933 wxPoint2D
*arg2
= 0 ;
6936 PyObject
* obj0
= 0 ;
6937 PyObject
* obj1
= 0 ;
6939 (char *) "self",(char *) "pt", NULL
6942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
6943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6944 if (SWIG_arg_fail(1)) SWIG_fail
;
6947 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6952 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
6953 result
= (wxPoint2D
*) &_result_ref
;
6956 wxPyEndAllowThreads(__tstate
);
6957 if (PyErr_Occurred()) SWIG_fail
;
6959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6966 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6967 PyObject
*resultobj
;
6968 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6969 wxPoint2D
*arg2
= 0 ;
6972 PyObject
* obj0
= 0 ;
6973 PyObject
* obj1
= 0 ;
6975 (char *) "self",(char *) "pt", NULL
6978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
6979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6980 if (SWIG_arg_fail(1)) SWIG_fail
;
6983 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6988 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
6989 result
= (wxPoint2D
*) &_result_ref
;
6992 wxPyEndAllowThreads(__tstate
);
6993 if (PyErr_Occurred()) SWIG_fail
;
6995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7002 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7003 PyObject
*resultobj
;
7004 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7005 wxPoint2D
*arg2
= 0 ;
7008 PyObject
* obj0
= 0 ;
7009 PyObject
* obj1
= 0 ;
7011 (char *) "self",(char *) "pt", NULL
7014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7016 if (SWIG_arg_fail(1)) SWIG_fail
;
7019 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7024 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7025 result
= (wxPoint2D
*) &_result_ref
;
7028 wxPyEndAllowThreads(__tstate
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7038 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
*resultobj
;
7040 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7041 wxPoint2D
*arg2
= 0 ;
7044 PyObject
* obj0
= 0 ;
7045 PyObject
* obj1
= 0 ;
7047 (char *) "self",(char *) "pt", NULL
7050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7052 if (SWIG_arg_fail(1)) SWIG_fail
;
7055 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7059 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7061 wxPyEndAllowThreads(__tstate
);
7062 if (PyErr_Occurred()) SWIG_fail
;
7065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7073 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
*resultobj
;
7075 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7076 wxPoint2D
*arg2
= 0 ;
7079 PyObject
* obj0
= 0 ;
7080 PyObject
* obj1
= 0 ;
7082 (char *) "self",(char *) "pt", NULL
7085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7087 if (SWIG_arg_fail(1)) SWIG_fail
;
7090 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7094 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7096 wxPyEndAllowThreads(__tstate
);
7097 if (PyErr_Occurred()) SWIG_fail
;
7100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7108 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7109 PyObject
*resultobj
;
7110 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7112 PyObject
* obj0
= 0 ;
7113 PyObject
* obj1
= 0 ;
7115 (char *) "self",(char *) "m_x", NULL
7118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7120 if (SWIG_arg_fail(1)) SWIG_fail
;
7122 arg2
= (double)(SWIG_As_double(obj1
));
7123 if (SWIG_arg_fail(2)) SWIG_fail
;
7125 if (arg1
) (arg1
)->m_x
= arg2
;
7127 Py_INCREF(Py_None
); resultobj
= Py_None
;
7134 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7135 PyObject
*resultobj
;
7136 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7138 PyObject
* obj0
= 0 ;
7140 (char *) "self", NULL
7143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7145 if (SWIG_arg_fail(1)) SWIG_fail
;
7146 result
= (double) ((arg1
)->m_x
);
7149 resultobj
= SWIG_From_double((double)(result
));
7157 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7158 PyObject
*resultobj
;
7159 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7161 PyObject
* obj0
= 0 ;
7162 PyObject
* obj1
= 0 ;
7164 (char *) "self",(char *) "m_y", NULL
7167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7169 if (SWIG_arg_fail(1)) SWIG_fail
;
7171 arg2
= (double)(SWIG_As_double(obj1
));
7172 if (SWIG_arg_fail(2)) SWIG_fail
;
7174 if (arg1
) (arg1
)->m_y
= arg2
;
7176 Py_INCREF(Py_None
); resultobj
= Py_None
;
7183 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7184 PyObject
*resultobj
;
7185 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7187 PyObject
* obj0
= 0 ;
7189 (char *) "self", NULL
7192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7194 if (SWIG_arg_fail(1)) SWIG_fail
;
7195 result
= (double) ((arg1
)->m_y
);
7198 resultobj
= SWIG_From_double((double)(result
));
7206 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7207 PyObject
*resultobj
;
7208 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7209 double arg2
= (double) 0 ;
7210 double arg3
= (double) 0 ;
7211 PyObject
* obj0
= 0 ;
7212 PyObject
* obj1
= 0 ;
7213 PyObject
* obj2
= 0 ;
7215 (char *) "self",(char *) "x",(char *) "y", NULL
7218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7220 if (SWIG_arg_fail(1)) SWIG_fail
;
7223 arg2
= (double)(SWIG_As_double(obj1
));
7224 if (SWIG_arg_fail(2)) SWIG_fail
;
7229 arg3
= (double)(SWIG_As_double(obj2
));
7230 if (SWIG_arg_fail(3)) SWIG_fail
;
7234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7235 wxPoint2D_Set(arg1
,arg2
,arg3
);
7237 wxPyEndAllowThreads(__tstate
);
7238 if (PyErr_Occurred()) SWIG_fail
;
7240 Py_INCREF(Py_None
); resultobj
= Py_None
;
7247 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7248 PyObject
*resultobj
;
7249 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7251 PyObject
* obj0
= 0 ;
7253 (char *) "self", NULL
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7258 if (SWIG_arg_fail(1)) SWIG_fail
;
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7273 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7275 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7276 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7278 return Py_BuildValue((char *)"");
7280 static int _wrap_DefaultPosition_set(PyObject
*) {
7281 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7286 static PyObject
*_wrap_DefaultPosition_get(void) {
7289 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7294 static int _wrap_DefaultSize_set(PyObject
*) {
7295 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7300 static PyObject
*_wrap_DefaultSize_get(void) {
7303 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7308 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7309 PyObject
*resultobj
;
7310 PyObject
*arg1
= (PyObject
*) 0 ;
7311 wxPyInputStream
*result
;
7312 PyObject
* obj0
= 0 ;
7317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7321 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7323 wxPyEndAllowThreads(__tstate
);
7324 if (PyErr_Occurred()) SWIG_fail
;
7326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7333 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7334 PyObject
*resultobj
;
7335 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7336 PyObject
* obj0
= 0 ;
7338 (char *) "self", NULL
7341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7343 if (SWIG_arg_fail(1)) SWIG_fail
;
7345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7348 wxPyEndAllowThreads(__tstate
);
7349 if (PyErr_Occurred()) SWIG_fail
;
7351 Py_INCREF(Py_None
); resultobj
= Py_None
;
7358 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7359 PyObject
*resultobj
;
7360 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7361 PyObject
* obj0
= 0 ;
7363 (char *) "self", NULL
7366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7368 if (SWIG_arg_fail(1)) SWIG_fail
;
7370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7373 wxPyEndAllowThreads(__tstate
);
7374 if (PyErr_Occurred()) SWIG_fail
;
7376 Py_INCREF(Py_None
); resultobj
= Py_None
;
7383 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7384 PyObject
*resultobj
;
7385 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7386 PyObject
* obj0
= 0 ;
7388 (char *) "self", NULL
7391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7393 if (SWIG_arg_fail(1)) SWIG_fail
;
7395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7398 wxPyEndAllowThreads(__tstate
);
7399 if (PyErr_Occurred()) SWIG_fail
;
7401 Py_INCREF(Py_None
); resultobj
= Py_None
;
7408 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7409 PyObject
*resultobj
;
7410 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7412 PyObject
* obj0
= 0 ;
7414 (char *) "self", NULL
7417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7419 if (SWIG_arg_fail(1)) SWIG_fail
;
7421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7422 result
= (bool)(arg1
)->eof();
7424 wxPyEndAllowThreads(__tstate
);
7425 if (PyErr_Occurred()) SWIG_fail
;
7428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7436 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7437 PyObject
*resultobj
;
7438 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7439 int arg2
= (int) -1 ;
7441 PyObject
* obj0
= 0 ;
7442 PyObject
* obj1
= 0 ;
7444 (char *) "self",(char *) "size", NULL
7447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7449 if (SWIG_arg_fail(1)) SWIG_fail
;
7452 arg2
= (int)(SWIG_As_int(obj1
));
7453 if (SWIG_arg_fail(2)) SWIG_fail
;
7457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7458 result
= (PyObject
*)(arg1
)->read(arg2
);
7460 wxPyEndAllowThreads(__tstate
);
7461 if (PyErr_Occurred()) SWIG_fail
;
7470 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7471 PyObject
*resultobj
;
7472 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7473 int arg2
= (int) -1 ;
7475 PyObject
* obj0
= 0 ;
7476 PyObject
* obj1
= 0 ;
7478 (char *) "self",(char *) "size", NULL
7481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7483 if (SWIG_arg_fail(1)) SWIG_fail
;
7486 arg2
= (int)(SWIG_As_int(obj1
));
7487 if (SWIG_arg_fail(2)) SWIG_fail
;
7491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7492 result
= (PyObject
*)(arg1
)->readline(arg2
);
7494 wxPyEndAllowThreads(__tstate
);
7495 if (PyErr_Occurred()) SWIG_fail
;
7504 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7505 PyObject
*resultobj
;
7506 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7507 int arg2
= (int) -1 ;
7509 PyObject
* obj0
= 0 ;
7510 PyObject
* obj1
= 0 ;
7512 (char *) "self",(char *) "sizehint", NULL
7515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7517 if (SWIG_arg_fail(1)) SWIG_fail
;
7520 arg2
= (int)(SWIG_As_int(obj1
));
7521 if (SWIG_arg_fail(2)) SWIG_fail
;
7525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7526 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7528 wxPyEndAllowThreads(__tstate
);
7529 if (PyErr_Occurred()) SWIG_fail
;
7538 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7539 PyObject
*resultobj
;
7540 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7542 int arg3
= (int) 0 ;
7543 PyObject
* obj0
= 0 ;
7544 PyObject
* obj1
= 0 ;
7545 PyObject
* obj2
= 0 ;
7547 (char *) "self",(char *) "offset",(char *) "whence", NULL
7550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7552 if (SWIG_arg_fail(1)) SWIG_fail
;
7554 arg2
= (int)(SWIG_As_int(obj1
));
7555 if (SWIG_arg_fail(2)) SWIG_fail
;
7559 arg3
= (int)(SWIG_As_int(obj2
));
7560 if (SWIG_arg_fail(3)) SWIG_fail
;
7564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7565 (arg1
)->seek(arg2
,arg3
);
7567 wxPyEndAllowThreads(__tstate
);
7568 if (PyErr_Occurred()) SWIG_fail
;
7570 Py_INCREF(Py_None
); resultobj
= Py_None
;
7577 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7578 PyObject
*resultobj
;
7579 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7581 PyObject
* obj0
= 0 ;
7583 (char *) "self", NULL
7586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7588 if (SWIG_arg_fail(1)) SWIG_fail
;
7590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7591 result
= (int)(arg1
)->tell();
7593 wxPyEndAllowThreads(__tstate
);
7594 if (PyErr_Occurred()) SWIG_fail
;
7597 resultobj
= SWIG_From_int((int)(result
));
7605 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7606 PyObject
*resultobj
;
7607 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7609 PyObject
* obj0
= 0 ;
7611 (char *) "self", NULL
7614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7616 if (SWIG_arg_fail(1)) SWIG_fail
;
7618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7619 result
= (char)(arg1
)->Peek();
7621 wxPyEndAllowThreads(__tstate
);
7622 if (PyErr_Occurred()) SWIG_fail
;
7625 resultobj
= SWIG_From_char((char)(result
));
7633 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7634 PyObject
*resultobj
;
7635 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7637 PyObject
* obj0
= 0 ;
7639 (char *) "self", NULL
7642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7644 if (SWIG_arg_fail(1)) SWIG_fail
;
7646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7647 result
= (char)(arg1
)->GetC();
7649 wxPyEndAllowThreads(__tstate
);
7650 if (PyErr_Occurred()) SWIG_fail
;
7653 resultobj
= SWIG_From_char((char)(result
));
7661 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7662 PyObject
*resultobj
;
7663 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7665 PyObject
* obj0
= 0 ;
7667 (char *) "self", NULL
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7672 if (SWIG_arg_fail(1)) SWIG_fail
;
7674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7675 result
= (size_t)(arg1
)->LastRead();
7677 wxPyEndAllowThreads(__tstate
);
7678 if (PyErr_Occurred()) SWIG_fail
;
7681 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7689 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7690 PyObject
*resultobj
;
7691 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7693 PyObject
* obj0
= 0 ;
7695 (char *) "self", NULL
7698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7700 if (SWIG_arg_fail(1)) SWIG_fail
;
7702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7703 result
= (bool)(arg1
)->CanRead();
7705 wxPyEndAllowThreads(__tstate
);
7706 if (PyErr_Occurred()) SWIG_fail
;
7709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7717 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7718 PyObject
*resultobj
;
7719 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7721 PyObject
* obj0
= 0 ;
7723 (char *) "self", NULL
7726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7728 if (SWIG_arg_fail(1)) SWIG_fail
;
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 result
= (bool)(arg1
)->Eof();
7733 wxPyEndAllowThreads(__tstate
);
7734 if (PyErr_Occurred()) SWIG_fail
;
7737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7745 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7746 PyObject
*resultobj
;
7747 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7750 PyObject
* obj0
= 0 ;
7751 PyObject
* obj1
= 0 ;
7753 (char *) "self",(char *) "c", NULL
7756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7758 if (SWIG_arg_fail(1)) SWIG_fail
;
7760 arg2
= (char)(SWIG_As_char(obj1
));
7761 if (SWIG_arg_fail(2)) SWIG_fail
;
7764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7765 result
= (bool)(arg1
)->Ungetch(arg2
);
7767 wxPyEndAllowThreads(__tstate
);
7768 if (PyErr_Occurred()) SWIG_fail
;
7771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7779 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7780 PyObject
*resultobj
;
7781 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7783 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7785 PyObject
* obj0
= 0 ;
7786 PyObject
* obj1
= 0 ;
7787 PyObject
* obj2
= 0 ;
7789 (char *) "self",(char *) "pos",(char *) "mode", NULL
7792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7794 if (SWIG_arg_fail(1)) SWIG_fail
;
7796 arg2
= (long)(SWIG_As_long(obj1
));
7797 if (SWIG_arg_fail(2)) SWIG_fail
;
7801 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7802 if (SWIG_arg_fail(3)) SWIG_fail
;
7806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7807 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7809 wxPyEndAllowThreads(__tstate
);
7810 if (PyErr_Occurred()) SWIG_fail
;
7813 resultobj
= SWIG_From_long((long)(result
));
7821 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7822 PyObject
*resultobj
;
7823 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7825 PyObject
* obj0
= 0 ;
7827 (char *) "self", NULL
7830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7832 if (SWIG_arg_fail(1)) SWIG_fail
;
7834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7835 result
= (long)(arg1
)->TellI();
7837 wxPyEndAllowThreads(__tstate
);
7838 if (PyErr_Occurred()) SWIG_fail
;
7841 resultobj
= SWIG_From_long((long)(result
));
7849 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7851 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7852 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7854 return Py_BuildValue((char *)"");
7856 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7857 PyObject
*resultobj
;
7858 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7859 PyObject
*arg2
= (PyObject
*) 0 ;
7860 PyObject
* obj0
= 0 ;
7861 PyObject
* obj1
= 0 ;
7863 (char *) "self",(char *) "obj", NULL
7866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7868 if (SWIG_arg_fail(1)) SWIG_fail
;
7871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7872 wxOutputStream_write(arg1
,arg2
);
7874 wxPyEndAllowThreads(__tstate
);
7875 if (PyErr_Occurred()) SWIG_fail
;
7877 Py_INCREF(Py_None
); resultobj
= Py_None
;
7884 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7886 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7887 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7889 return Py_BuildValue((char *)"");
7891 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7892 PyObject
*resultobj
;
7893 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7894 wxString
*arg2
= 0 ;
7895 wxString
*arg3
= 0 ;
7896 wxString
*arg4
= 0 ;
7899 wxPyInputStream
*temp1
;
7901 bool temp2
= false ;
7902 bool temp3
= false ;
7903 bool temp4
= false ;
7904 PyObject
* obj0
= 0 ;
7905 PyObject
* obj1
= 0 ;
7906 PyObject
* obj2
= 0 ;
7907 PyObject
* obj3
= 0 ;
7908 PyObject
* obj4
= 0 ;
7910 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7915 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7916 arg1
= temp1
->m_wxis
;
7919 PyErr_Clear(); // clear the failure of the wxPyConvert above
7920 arg1
= wxPyCBInputStream_create(obj0
, false);
7922 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
7929 arg2
= wxString_in_helper(obj1
);
7930 if (arg2
== NULL
) SWIG_fail
;
7934 arg3
= wxString_in_helper(obj2
);
7935 if (arg3
== NULL
) SWIG_fail
;
7939 arg4
= wxString_in_helper(obj3
);
7940 if (arg4
== NULL
) SWIG_fail
;
7945 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
7946 if (SWIG_arg_fail(5)) SWIG_fail
;
7948 SWIG_null_ref("wxDateTime");
7950 if (SWIG_arg_fail(5)) SWIG_fail
;
7954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7955 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
7957 wxPyEndAllowThreads(__tstate
);
7958 if (PyErr_Occurred()) SWIG_fail
;
7961 resultobj
= wxPyMake_wxObject(result
, 1);
8001 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8002 PyObject
*resultobj
;
8003 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8004 PyObject
* obj0
= 0 ;
8006 (char *) "self", NULL
8009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
8010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8011 if (SWIG_arg_fail(1)) SWIG_fail
;
8013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8016 wxPyEndAllowThreads(__tstate
);
8017 if (PyErr_Occurred()) SWIG_fail
;
8019 Py_INCREF(Py_None
); resultobj
= Py_None
;
8026 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8027 PyObject
*resultobj
;
8028 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8029 wxInputStream
*result
;
8030 PyObject
* obj0
= 0 ;
8032 (char *) "self", NULL
8035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8037 if (SWIG_arg_fail(1)) SWIG_fail
;
8039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8040 result
= (wxInputStream
*)(arg1
)->GetStream();
8042 wxPyEndAllowThreads(__tstate
);
8043 if (PyErr_Occurred()) SWIG_fail
;
8046 wxPyInputStream
* _ptr
= NULL
;
8049 _ptr
= new wxPyInputStream(result
);
8051 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8059 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8060 PyObject
*resultobj
;
8061 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8063 PyObject
* obj0
= 0 ;
8065 (char *) "self", NULL
8068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8070 if (SWIG_arg_fail(1)) SWIG_fail
;
8072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8074 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8075 result
= (wxString
*) &_result_ref
;
8078 wxPyEndAllowThreads(__tstate
);
8079 if (PyErr_Occurred()) SWIG_fail
;
8083 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8085 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8094 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8095 PyObject
*resultobj
;
8096 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8098 PyObject
* obj0
= 0 ;
8100 (char *) "self", NULL
8103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8105 if (SWIG_arg_fail(1)) SWIG_fail
;
8107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8109 wxString
const &_result_ref
= (arg1
)->GetLocation();
8110 result
= (wxString
*) &_result_ref
;
8113 wxPyEndAllowThreads(__tstate
);
8114 if (PyErr_Occurred()) SWIG_fail
;
8118 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8120 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8129 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8130 PyObject
*resultobj
;
8131 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8133 PyObject
* obj0
= 0 ;
8135 (char *) "self", NULL
8138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8140 if (SWIG_arg_fail(1)) SWIG_fail
;
8142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8144 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8145 result
= (wxString
*) &_result_ref
;
8148 wxPyEndAllowThreads(__tstate
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8153 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8155 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8164 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8165 PyObject
*resultobj
;
8166 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8168 PyObject
* obj0
= 0 ;
8170 (char *) "self", NULL
8173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8175 if (SWIG_arg_fail(1)) SWIG_fail
;
8177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8178 result
= (arg1
)->GetModificationTime();
8180 wxPyEndAllowThreads(__tstate
);
8181 if (PyErr_Occurred()) SWIG_fail
;
8184 wxDateTime
* resultptr
;
8185 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8194 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8197 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8199 return Py_BuildValue((char *)"");
8201 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8203 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8204 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8206 return Py_BuildValue((char *)"");
8208 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8209 PyObject
*resultobj
;
8210 wxPyFileSystemHandler
*result
;
8215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8218 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8220 wxPyEndAllowThreads(__tstate
);
8221 if (PyErr_Occurred()) SWIG_fail
;
8223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8230 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8231 PyObject
*resultobj
;
8232 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8233 PyObject
*arg2
= (PyObject
*) 0 ;
8234 PyObject
*arg3
= (PyObject
*) 0 ;
8235 PyObject
* obj0
= 0 ;
8236 PyObject
* obj1
= 0 ;
8237 PyObject
* obj2
= 0 ;
8239 (char *) "self",(char *) "self",(char *) "_class", NULL
8242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8244 if (SWIG_arg_fail(1)) SWIG_fail
;
8248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8249 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8251 wxPyEndAllowThreads(__tstate
);
8252 if (PyErr_Occurred()) SWIG_fail
;
8254 Py_INCREF(Py_None
); resultobj
= Py_None
;
8261 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8262 PyObject
*resultobj
;
8263 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8264 wxString
*arg2
= 0 ;
8266 bool temp2
= false ;
8267 PyObject
* obj0
= 0 ;
8268 PyObject
* obj1
= 0 ;
8270 (char *) "self",(char *) "location", NULL
8273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8275 if (SWIG_arg_fail(1)) SWIG_fail
;
8277 arg2
= wxString_in_helper(obj1
);
8278 if (arg2
== NULL
) SWIG_fail
;
8282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8283 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8285 wxPyEndAllowThreads(__tstate
);
8286 if (PyErr_Occurred()) SWIG_fail
;
8289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8305 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8306 PyObject
*resultobj
;
8307 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8308 wxFileSystem
*arg2
= 0 ;
8309 wxString
*arg3
= 0 ;
8311 bool temp3
= false ;
8312 PyObject
* obj0
= 0 ;
8313 PyObject
* obj1
= 0 ;
8314 PyObject
* obj2
= 0 ;
8316 (char *) "self",(char *) "fs",(char *) "location", NULL
8319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8321 if (SWIG_arg_fail(1)) SWIG_fail
;
8323 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8324 if (SWIG_arg_fail(2)) SWIG_fail
;
8326 SWIG_null_ref("wxFileSystem");
8328 if (SWIG_arg_fail(2)) SWIG_fail
;
8331 arg3
= wxString_in_helper(obj2
);
8332 if (arg3
== NULL
) SWIG_fail
;
8336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8339 wxPyEndAllowThreads(__tstate
);
8340 if (PyErr_Occurred()) SWIG_fail
;
8343 resultobj
= wxPyMake_wxObject(result
, 1);
8359 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8360 PyObject
*resultobj
;
8361 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8362 wxString
*arg2
= 0 ;
8363 int arg3
= (int) 0 ;
8365 bool temp2
= false ;
8366 PyObject
* obj0
= 0 ;
8367 PyObject
* obj1
= 0 ;
8368 PyObject
* obj2
= 0 ;
8370 (char *) "self",(char *) "spec",(char *) "flags", NULL
8373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8375 if (SWIG_arg_fail(1)) SWIG_fail
;
8377 arg2
= wxString_in_helper(obj1
);
8378 if (arg2
== NULL
) SWIG_fail
;
8383 arg3
= (int)(SWIG_As_int(obj2
));
8384 if (SWIG_arg_fail(3)) SWIG_fail
;
8388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8389 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8391 wxPyEndAllowThreads(__tstate
);
8392 if (PyErr_Occurred()) SWIG_fail
;
8396 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8398 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8415 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8416 PyObject
*resultobj
;
8417 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8419 PyObject
* obj0
= 0 ;
8421 (char *) "self", NULL
8424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8426 if (SWIG_arg_fail(1)) SWIG_fail
;
8428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8429 result
= (arg1
)->FindNext();
8431 wxPyEndAllowThreads(__tstate
);
8432 if (PyErr_Occurred()) SWIG_fail
;
8436 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8438 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8447 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8448 PyObject
*resultobj
;
8449 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8450 wxString
*arg2
= 0 ;
8452 bool temp2
= false ;
8453 PyObject
* obj0
= 0 ;
8454 PyObject
* obj1
= 0 ;
8456 (char *) "self",(char *) "location", NULL
8459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8461 if (SWIG_arg_fail(1)) SWIG_fail
;
8463 arg2
= wxString_in_helper(obj1
);
8464 if (arg2
== NULL
) SWIG_fail
;
8468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8469 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8471 wxPyEndAllowThreads(__tstate
);
8472 if (PyErr_Occurred()) SWIG_fail
;
8476 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8478 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8495 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8496 PyObject
*resultobj
;
8497 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8498 wxString
*arg2
= 0 ;
8500 bool temp2
= false ;
8501 PyObject
* obj0
= 0 ;
8502 PyObject
* obj1
= 0 ;
8504 (char *) "self",(char *) "location", NULL
8507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8509 if (SWIG_arg_fail(1)) SWIG_fail
;
8511 arg2
= wxString_in_helper(obj1
);
8512 if (arg2
== NULL
) SWIG_fail
;
8516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8517 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8519 wxPyEndAllowThreads(__tstate
);
8520 if (PyErr_Occurred()) SWIG_fail
;
8524 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8526 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8543 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8544 PyObject
*resultobj
;
8545 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8546 wxString
*arg2
= 0 ;
8548 bool temp2
= false ;
8549 PyObject
* obj0
= 0 ;
8550 PyObject
* obj1
= 0 ;
8552 (char *) "self",(char *) "location", NULL
8555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8557 if (SWIG_arg_fail(1)) SWIG_fail
;
8559 arg2
= wxString_in_helper(obj1
);
8560 if (arg2
== NULL
) SWIG_fail
;
8564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8565 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8567 wxPyEndAllowThreads(__tstate
);
8568 if (PyErr_Occurred()) SWIG_fail
;
8572 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8574 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8591 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8592 PyObject
*resultobj
;
8593 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8594 wxString
*arg2
= 0 ;
8596 bool temp2
= false ;
8597 PyObject
* obj0
= 0 ;
8598 PyObject
* obj1
= 0 ;
8600 (char *) "self",(char *) "location", NULL
8603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8605 if (SWIG_arg_fail(1)) SWIG_fail
;
8607 arg2
= wxString_in_helper(obj1
);
8608 if (arg2
== NULL
) SWIG_fail
;
8612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8613 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8615 wxPyEndAllowThreads(__tstate
);
8616 if (PyErr_Occurred()) SWIG_fail
;
8620 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8622 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8639 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8640 PyObject
*resultobj
;
8641 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8642 wxString
*arg2
= 0 ;
8644 bool temp2
= false ;
8645 PyObject
* obj0
= 0 ;
8646 PyObject
* obj1
= 0 ;
8648 (char *) "self",(char *) "location", NULL
8651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8653 if (SWIG_arg_fail(1)) SWIG_fail
;
8655 arg2
= wxString_in_helper(obj1
);
8656 if (arg2
== NULL
) SWIG_fail
;
8660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8661 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8663 wxPyEndAllowThreads(__tstate
);
8664 if (PyErr_Occurred()) SWIG_fail
;
8668 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8670 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8687 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8689 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8690 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8692 return Py_BuildValue((char *)"");
8694 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8695 PyObject
*resultobj
;
8696 wxFileSystem
*result
;
8701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8704 result
= (wxFileSystem
*)new wxFileSystem();
8706 wxPyEndAllowThreads(__tstate
);
8707 if (PyErr_Occurred()) SWIG_fail
;
8710 resultobj
= wxPyMake_wxObject(result
, 1);
8718 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8719 PyObject
*resultobj
;
8720 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8721 PyObject
* obj0
= 0 ;
8723 (char *) "self", NULL
8726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8728 if (SWIG_arg_fail(1)) SWIG_fail
;
8730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8733 wxPyEndAllowThreads(__tstate
);
8734 if (PyErr_Occurred()) SWIG_fail
;
8736 Py_INCREF(Py_None
); resultobj
= Py_None
;
8743 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8744 PyObject
*resultobj
;
8745 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8746 wxString
*arg2
= 0 ;
8747 bool arg3
= (bool) false ;
8748 bool temp2
= false ;
8749 PyObject
* obj0
= 0 ;
8750 PyObject
* obj1
= 0 ;
8751 PyObject
* obj2
= 0 ;
8753 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8758 if (SWIG_arg_fail(1)) SWIG_fail
;
8760 arg2
= wxString_in_helper(obj1
);
8761 if (arg2
== NULL
) SWIG_fail
;
8766 arg3
= (bool)(SWIG_As_bool(obj2
));
8767 if (SWIG_arg_fail(3)) SWIG_fail
;
8771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8772 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8774 wxPyEndAllowThreads(__tstate
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8777 Py_INCREF(Py_None
); resultobj
= Py_None
;
8792 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8793 PyObject
*resultobj
;
8794 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8796 PyObject
* obj0
= 0 ;
8798 (char *) "self", NULL
8801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8803 if (SWIG_arg_fail(1)) SWIG_fail
;
8805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8806 result
= (arg1
)->GetPath();
8808 wxPyEndAllowThreads(__tstate
);
8809 if (PyErr_Occurred()) SWIG_fail
;
8813 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8815 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8824 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8825 PyObject
*resultobj
;
8826 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8827 wxString
*arg2
= 0 ;
8829 bool temp2
= false ;
8830 PyObject
* obj0
= 0 ;
8831 PyObject
* obj1
= 0 ;
8833 (char *) "self",(char *) "location", NULL
8836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8838 if (SWIG_arg_fail(1)) SWIG_fail
;
8840 arg2
= wxString_in_helper(obj1
);
8841 if (arg2
== NULL
) SWIG_fail
;
8845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8846 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8848 wxPyEndAllowThreads(__tstate
);
8849 if (PyErr_Occurred()) SWIG_fail
;
8852 resultobj
= wxPyMake_wxObject(result
, 1);
8868 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8869 PyObject
*resultobj
;
8870 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8871 wxString
*arg2
= 0 ;
8872 int arg3
= (int) 0 ;
8874 bool temp2
= false ;
8875 PyObject
* obj0
= 0 ;
8876 PyObject
* obj1
= 0 ;
8877 PyObject
* obj2
= 0 ;
8879 (char *) "self",(char *) "spec",(char *) "flags", NULL
8882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8884 if (SWIG_arg_fail(1)) SWIG_fail
;
8886 arg2
= wxString_in_helper(obj1
);
8887 if (arg2
== NULL
) SWIG_fail
;
8892 arg3
= (int)(SWIG_As_int(obj2
));
8893 if (SWIG_arg_fail(3)) SWIG_fail
;
8897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8898 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8900 wxPyEndAllowThreads(__tstate
);
8901 if (PyErr_Occurred()) SWIG_fail
;
8905 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8907 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8924 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8925 PyObject
*resultobj
;
8926 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8928 PyObject
* obj0
= 0 ;
8930 (char *) "self", NULL
8933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8935 if (SWIG_arg_fail(1)) SWIG_fail
;
8937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8938 result
= (arg1
)->FindNext();
8940 wxPyEndAllowThreads(__tstate
);
8941 if (PyErr_Occurred()) SWIG_fail
;
8945 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8947 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8956 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8957 PyObject
*resultobj
;
8958 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
8959 PyObject
* obj0
= 0 ;
8961 (char *) "handler", NULL
8964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
8965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8966 if (SWIG_arg_fail(1)) SWIG_fail
;
8968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8969 wxFileSystem::AddHandler(arg1
);
8971 wxPyEndAllowThreads(__tstate
);
8972 if (PyErr_Occurred()) SWIG_fail
;
8974 Py_INCREF(Py_None
); resultobj
= Py_None
;
8981 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8982 PyObject
*resultobj
;
8987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
8989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8990 wxFileSystem::CleanUpHandlers();
8992 wxPyEndAllowThreads(__tstate
);
8993 if (PyErr_Occurred()) SWIG_fail
;
8995 Py_INCREF(Py_None
); resultobj
= Py_None
;
9002 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9003 PyObject
*resultobj
;
9004 wxString
*arg1
= 0 ;
9006 bool temp1
= false ;
9007 PyObject
* obj0
= 0 ;
9009 (char *) "filename", NULL
9012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9014 arg1
= wxString_in_helper(obj0
);
9015 if (arg1
== NULL
) SWIG_fail
;
9019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9020 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9022 wxPyEndAllowThreads(__tstate
);
9023 if (PyErr_Occurred()) SWIG_fail
;
9027 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9029 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9046 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9047 PyObject
*resultobj
;
9048 wxString
*arg1
= 0 ;
9050 bool temp1
= false ;
9051 PyObject
* obj0
= 0 ;
9053 (char *) "url", NULL
9056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9058 arg1
= wxString_in_helper(obj0
);
9059 if (arg1
== NULL
) SWIG_fail
;
9063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9064 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9066 wxPyEndAllowThreads(__tstate
);
9067 if (PyErr_Occurred()) SWIG_fail
;
9071 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9073 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9090 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9092 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9093 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9095 return Py_BuildValue((char *)"");
9097 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9098 PyObject
*resultobj
;
9099 wxInternetFSHandler
*result
;
9104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9107 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9109 wxPyEndAllowThreads(__tstate
);
9110 if (PyErr_Occurred()) SWIG_fail
;
9112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9119 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9120 PyObject
*resultobj
;
9121 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9122 wxString
*arg2
= 0 ;
9124 bool temp2
= false ;
9125 PyObject
* obj0
= 0 ;
9126 PyObject
* obj1
= 0 ;
9128 (char *) "self",(char *) "location", NULL
9131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9133 if (SWIG_arg_fail(1)) SWIG_fail
;
9135 arg2
= wxString_in_helper(obj1
);
9136 if (arg2
== NULL
) SWIG_fail
;
9140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9141 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9143 wxPyEndAllowThreads(__tstate
);
9144 if (PyErr_Occurred()) SWIG_fail
;
9147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9163 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9164 PyObject
*resultobj
;
9165 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9166 wxFileSystem
*arg2
= 0 ;
9167 wxString
*arg3
= 0 ;
9169 bool temp3
= false ;
9170 PyObject
* obj0
= 0 ;
9171 PyObject
* obj1
= 0 ;
9172 PyObject
* obj2
= 0 ;
9174 (char *) "self",(char *) "fs",(char *) "location", NULL
9177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9179 if (SWIG_arg_fail(1)) SWIG_fail
;
9181 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9182 if (SWIG_arg_fail(2)) SWIG_fail
;
9184 SWIG_null_ref("wxFileSystem");
9186 if (SWIG_arg_fail(2)) SWIG_fail
;
9189 arg3
= wxString_in_helper(obj2
);
9190 if (arg3
== NULL
) SWIG_fail
;
9194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9195 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9197 wxPyEndAllowThreads(__tstate
);
9198 if (PyErr_Occurred()) SWIG_fail
;
9201 resultobj
= wxPyMake_wxObject(result
, 1);
9217 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9220 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9222 return Py_BuildValue((char *)"");
9224 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9225 PyObject
*resultobj
;
9226 wxZipFSHandler
*result
;
9231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9234 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9236 wxPyEndAllowThreads(__tstate
);
9237 if (PyErr_Occurred()) SWIG_fail
;
9239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9246 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9247 PyObject
*resultobj
;
9248 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9249 wxString
*arg2
= 0 ;
9251 bool temp2
= false ;
9252 PyObject
* obj0
= 0 ;
9253 PyObject
* obj1
= 0 ;
9255 (char *) "self",(char *) "location", NULL
9258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9260 if (SWIG_arg_fail(1)) SWIG_fail
;
9262 arg2
= wxString_in_helper(obj1
);
9263 if (arg2
== NULL
) SWIG_fail
;
9267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9268 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9270 wxPyEndAllowThreads(__tstate
);
9271 if (PyErr_Occurred()) SWIG_fail
;
9274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9290 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9291 PyObject
*resultobj
;
9292 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9293 wxFileSystem
*arg2
= 0 ;
9294 wxString
*arg3
= 0 ;
9296 bool temp3
= false ;
9297 PyObject
* obj0
= 0 ;
9298 PyObject
* obj1
= 0 ;
9299 PyObject
* obj2
= 0 ;
9301 (char *) "self",(char *) "fs",(char *) "location", NULL
9304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9306 if (SWIG_arg_fail(1)) SWIG_fail
;
9308 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9309 if (SWIG_arg_fail(2)) SWIG_fail
;
9311 SWIG_null_ref("wxFileSystem");
9313 if (SWIG_arg_fail(2)) SWIG_fail
;
9316 arg3
= wxString_in_helper(obj2
);
9317 if (arg3
== NULL
) SWIG_fail
;
9321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9322 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9324 wxPyEndAllowThreads(__tstate
);
9325 if (PyErr_Occurred()) SWIG_fail
;
9328 resultobj
= wxPyMake_wxObject(result
, 1);
9344 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9345 PyObject
*resultobj
;
9346 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9347 wxString
*arg2
= 0 ;
9348 int arg3
= (int) 0 ;
9350 bool temp2
= false ;
9351 PyObject
* obj0
= 0 ;
9352 PyObject
* obj1
= 0 ;
9353 PyObject
* obj2
= 0 ;
9355 (char *) "self",(char *) "spec",(char *) "flags", NULL
9358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9360 if (SWIG_arg_fail(1)) SWIG_fail
;
9362 arg2
= wxString_in_helper(obj1
);
9363 if (arg2
== NULL
) SWIG_fail
;
9368 arg3
= (int)(SWIG_As_int(obj2
));
9369 if (SWIG_arg_fail(3)) SWIG_fail
;
9373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9374 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9376 wxPyEndAllowThreads(__tstate
);
9377 if (PyErr_Occurred()) SWIG_fail
;
9381 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9383 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9400 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9401 PyObject
*resultobj
;
9402 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9404 PyObject
* obj0
= 0 ;
9406 (char *) "self", NULL
9409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9411 if (SWIG_arg_fail(1)) SWIG_fail
;
9413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9414 result
= (arg1
)->FindNext();
9416 wxPyEndAllowThreads(__tstate
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9421 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9423 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9432 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9434 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9435 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9437 return Py_BuildValue((char *)"");
9439 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9440 PyObject
*resultobj
;
9441 wxString
*arg1
= 0 ;
9444 bool temp1
= false ;
9445 PyObject
* obj0
= 0 ;
9446 PyObject
* obj1
= 0 ;
9447 PyObject
* obj2
= 0 ;
9449 (char *) "filename",(char *) "image",(char *) "type", NULL
9452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9454 arg1
= wxString_in_helper(obj0
);
9455 if (arg1
== NULL
) SWIG_fail
;
9459 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9460 if (SWIG_arg_fail(2)) SWIG_fail
;
9462 SWIG_null_ref("wxImage");
9464 if (SWIG_arg_fail(2)) SWIG_fail
;
9467 arg3
= (long)(SWIG_As_long(obj2
));
9468 if (SWIG_arg_fail(3)) SWIG_fail
;
9471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9472 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9474 wxPyEndAllowThreads(__tstate
);
9475 if (PyErr_Occurred()) SWIG_fail
;
9477 Py_INCREF(Py_None
); resultobj
= Py_None
;
9492 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9493 PyObject
*resultobj
;
9494 wxString
*arg1
= 0 ;
9495 wxBitmap
*arg2
= 0 ;
9497 bool temp1
= false ;
9498 PyObject
* obj0
= 0 ;
9499 PyObject
* obj1
= 0 ;
9500 PyObject
* obj2
= 0 ;
9502 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9507 arg1
= wxString_in_helper(obj0
);
9508 if (arg1
== NULL
) SWIG_fail
;
9512 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9513 if (SWIG_arg_fail(2)) SWIG_fail
;
9515 SWIG_null_ref("wxBitmap");
9517 if (SWIG_arg_fail(2)) SWIG_fail
;
9520 arg3
= (long)(SWIG_As_long(obj2
));
9521 if (SWIG_arg_fail(3)) SWIG_fail
;
9524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9525 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9527 wxPyEndAllowThreads(__tstate
);
9528 if (PyErr_Occurred()) SWIG_fail
;
9530 Py_INCREF(Py_None
); resultobj
= Py_None
;
9545 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9546 PyObject
*resultobj
;
9547 wxString
*arg1
= 0 ;
9548 PyObject
*arg2
= (PyObject
*) 0 ;
9549 bool temp1
= false ;
9550 PyObject
* obj0
= 0 ;
9551 PyObject
* obj1
= 0 ;
9553 (char *) "filename",(char *) "data", NULL
9556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9558 arg1
= wxString_in_helper(obj0
);
9559 if (arg1
== NULL
) SWIG_fail
;
9564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9565 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9567 wxPyEndAllowThreads(__tstate
);
9568 if (PyErr_Occurred()) SWIG_fail
;
9570 Py_INCREF(Py_None
); resultobj
= Py_None
;
9585 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9586 PyObject
*resultobj
;
9587 wxMemoryFSHandler
*result
;
9592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9595 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9597 wxPyEndAllowThreads(__tstate
);
9598 if (PyErr_Occurred()) SWIG_fail
;
9600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9607 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9608 PyObject
*resultobj
;
9609 wxString
*arg1
= 0 ;
9610 bool temp1
= false ;
9611 PyObject
* obj0
= 0 ;
9613 (char *) "filename", NULL
9616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9618 arg1
= wxString_in_helper(obj0
);
9619 if (arg1
== NULL
) SWIG_fail
;
9623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9624 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9626 wxPyEndAllowThreads(__tstate
);
9627 if (PyErr_Occurred()) SWIG_fail
;
9629 Py_INCREF(Py_None
); resultobj
= Py_None
;
9644 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9645 PyObject
*resultobj
;
9646 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9647 wxString
*arg2
= 0 ;
9649 bool temp2
= false ;
9650 PyObject
* obj0
= 0 ;
9651 PyObject
* obj1
= 0 ;
9653 (char *) "self",(char *) "location", NULL
9656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9658 if (SWIG_arg_fail(1)) SWIG_fail
;
9660 arg2
= wxString_in_helper(obj1
);
9661 if (arg2
== NULL
) SWIG_fail
;
9665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9666 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9668 wxPyEndAllowThreads(__tstate
);
9669 if (PyErr_Occurred()) SWIG_fail
;
9672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9688 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9689 PyObject
*resultobj
;
9690 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9691 wxFileSystem
*arg2
= 0 ;
9692 wxString
*arg3
= 0 ;
9694 bool temp3
= false ;
9695 PyObject
* obj0
= 0 ;
9696 PyObject
* obj1
= 0 ;
9697 PyObject
* obj2
= 0 ;
9699 (char *) "self",(char *) "fs",(char *) "location", NULL
9702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9704 if (SWIG_arg_fail(1)) SWIG_fail
;
9706 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9707 if (SWIG_arg_fail(2)) SWIG_fail
;
9709 SWIG_null_ref("wxFileSystem");
9711 if (SWIG_arg_fail(2)) SWIG_fail
;
9714 arg3
= wxString_in_helper(obj2
);
9715 if (arg3
== NULL
) SWIG_fail
;
9719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9720 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9722 wxPyEndAllowThreads(__tstate
);
9723 if (PyErr_Occurred()) SWIG_fail
;
9726 resultobj
= wxPyMake_wxObject(result
, 1);
9742 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9743 PyObject
*resultobj
;
9744 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9745 wxString
*arg2
= 0 ;
9746 int arg3
= (int) 0 ;
9748 bool temp2
= false ;
9749 PyObject
* obj0
= 0 ;
9750 PyObject
* obj1
= 0 ;
9751 PyObject
* obj2
= 0 ;
9753 (char *) "self",(char *) "spec",(char *) "flags", NULL
9756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9758 if (SWIG_arg_fail(1)) SWIG_fail
;
9760 arg2
= wxString_in_helper(obj1
);
9761 if (arg2
== NULL
) SWIG_fail
;
9766 arg3
= (int)(SWIG_As_int(obj2
));
9767 if (SWIG_arg_fail(3)) SWIG_fail
;
9771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9772 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9774 wxPyEndAllowThreads(__tstate
);
9775 if (PyErr_Occurred()) SWIG_fail
;
9779 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9781 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9798 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9799 PyObject
*resultobj
;
9800 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9802 PyObject
* obj0
= 0 ;
9804 (char *) "self", NULL
9807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9809 if (SWIG_arg_fail(1)) SWIG_fail
;
9811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9812 result
= (arg1
)->FindNext();
9814 wxPyEndAllowThreads(__tstate
);
9815 if (PyErr_Occurred()) SWIG_fail
;
9819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9830 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9833 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9835 return Py_BuildValue((char *)"");
9837 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9838 PyObject
*resultobj
;
9839 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9841 PyObject
* obj0
= 0 ;
9843 (char *) "self", NULL
9846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9848 if (SWIG_arg_fail(1)) SWIG_fail
;
9850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9851 result
= (arg1
)->GetName();
9853 wxPyEndAllowThreads(__tstate
);
9854 if (PyErr_Occurred()) SWIG_fail
;
9858 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9860 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9869 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9870 PyObject
*resultobj
;
9871 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9873 PyObject
* obj0
= 0 ;
9875 (char *) "self", NULL
9878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9880 if (SWIG_arg_fail(1)) SWIG_fail
;
9882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9883 result
= (arg1
)->GetExtension();
9885 wxPyEndAllowThreads(__tstate
);
9886 if (PyErr_Occurred()) SWIG_fail
;
9890 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9892 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9901 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9902 PyObject
*resultobj
;
9903 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9905 PyObject
* obj0
= 0 ;
9907 (char *) "self", NULL
9910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9912 if (SWIG_arg_fail(1)) SWIG_fail
;
9914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9915 result
= (long)(arg1
)->GetType();
9917 wxPyEndAllowThreads(__tstate
);
9918 if (PyErr_Occurred()) SWIG_fail
;
9921 resultobj
= SWIG_From_long((long)(result
));
9929 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9930 PyObject
*resultobj
;
9931 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9933 PyObject
* obj0
= 0 ;
9935 (char *) "self", NULL
9938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
9939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9940 if (SWIG_arg_fail(1)) SWIG_fail
;
9942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9943 result
= (arg1
)->GetMimeType();
9945 wxPyEndAllowThreads(__tstate
);
9946 if (PyErr_Occurred()) SWIG_fail
;
9950 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9952 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9961 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9962 PyObject
*resultobj
;
9963 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9964 wxString
*arg2
= 0 ;
9966 bool temp2
= false ;
9967 PyObject
* obj0
= 0 ;
9968 PyObject
* obj1
= 0 ;
9970 (char *) "self",(char *) "name", NULL
9973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
9974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9975 if (SWIG_arg_fail(1)) SWIG_fail
;
9977 arg2
= wxString_in_helper(obj1
);
9978 if (arg2
== NULL
) SWIG_fail
;
9982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9983 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
9985 wxPyEndAllowThreads(__tstate
);
9986 if (PyErr_Occurred()) SWIG_fail
;
9989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10005 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10006 PyObject
*resultobj
;
10007 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10008 wxString
*arg2
= 0 ;
10009 bool temp2
= false ;
10010 PyObject
* obj0
= 0 ;
10011 PyObject
* obj1
= 0 ;
10012 char *kwnames
[] = {
10013 (char *) "self",(char *) "name", NULL
10016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10018 if (SWIG_arg_fail(1)) SWIG_fail
;
10020 arg2
= wxString_in_helper(obj1
);
10021 if (arg2
== NULL
) SWIG_fail
;
10025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10026 (arg1
)->SetName((wxString
const &)*arg2
);
10028 wxPyEndAllowThreads(__tstate
);
10029 if (PyErr_Occurred()) SWIG_fail
;
10031 Py_INCREF(Py_None
); resultobj
= Py_None
;
10046 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10047 PyObject
*resultobj
;
10048 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10049 wxString
*arg2
= 0 ;
10050 bool temp2
= false ;
10051 PyObject
* obj0
= 0 ;
10052 PyObject
* obj1
= 0 ;
10053 char *kwnames
[] = {
10054 (char *) "self",(char *) "extension", NULL
10057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10059 if (SWIG_arg_fail(1)) SWIG_fail
;
10061 arg2
= wxString_in_helper(obj1
);
10062 if (arg2
== NULL
) SWIG_fail
;
10066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10067 (arg1
)->SetExtension((wxString
const &)*arg2
);
10069 wxPyEndAllowThreads(__tstate
);
10070 if (PyErr_Occurred()) SWIG_fail
;
10072 Py_INCREF(Py_None
); resultobj
= Py_None
;
10087 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10088 PyObject
*resultobj
;
10089 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10091 PyObject
* obj0
= 0 ;
10092 PyObject
* obj1
= 0 ;
10093 char *kwnames
[] = {
10094 (char *) "self",(char *) "type", NULL
10097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10099 if (SWIG_arg_fail(1)) SWIG_fail
;
10101 arg2
= (long)(SWIG_As_long(obj1
));
10102 if (SWIG_arg_fail(2)) SWIG_fail
;
10105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10106 (arg1
)->SetType(arg2
);
10108 wxPyEndAllowThreads(__tstate
);
10109 if (PyErr_Occurred()) SWIG_fail
;
10111 Py_INCREF(Py_None
); resultobj
= Py_None
;
10118 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10119 PyObject
*resultobj
;
10120 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10121 wxString
*arg2
= 0 ;
10122 bool temp2
= false ;
10123 PyObject
* obj0
= 0 ;
10124 PyObject
* obj1
= 0 ;
10125 char *kwnames
[] = {
10126 (char *) "self",(char *) "mimetype", NULL
10129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10131 if (SWIG_arg_fail(1)) SWIG_fail
;
10133 arg2
= wxString_in_helper(obj1
);
10134 if (arg2
== NULL
) SWIG_fail
;
10138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10139 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10141 wxPyEndAllowThreads(__tstate
);
10142 if (PyErr_Occurred()) SWIG_fail
;
10144 Py_INCREF(Py_None
); resultobj
= Py_None
;
10159 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10161 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10162 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10164 return Py_BuildValue((char *)"");
10166 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10167 PyObject
*resultobj
;
10168 wxImageHistogram
*result
;
10169 char *kwnames
[] = {
10173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10176 result
= (wxImageHistogram
*)new wxImageHistogram();
10178 wxPyEndAllowThreads(__tstate
);
10179 if (PyErr_Occurred()) SWIG_fail
;
10181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10188 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10189 PyObject
*resultobj
;
10190 unsigned char arg1
;
10191 unsigned char arg2
;
10192 unsigned char arg3
;
10193 unsigned long result
;
10194 PyObject
* obj0
= 0 ;
10195 PyObject
* obj1
= 0 ;
10196 PyObject
* obj2
= 0 ;
10197 char *kwnames
[] = {
10198 (char *) "r",(char *) "g",(char *) "b", NULL
10201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10203 arg1
= (unsigned char)(SWIG_As_unsigned_SS_char(obj0
));
10204 if (SWIG_arg_fail(1)) SWIG_fail
;
10207 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10208 if (SWIG_arg_fail(2)) SWIG_fail
;
10211 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10212 if (SWIG_arg_fail(3)) SWIG_fail
;
10215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10216 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10218 wxPyEndAllowThreads(__tstate
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10222 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10230 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10231 PyObject
*resultobj
;
10232 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10233 unsigned char *arg2
= (unsigned char *) 0 ;
10234 unsigned char *arg3
= (unsigned char *) 0 ;
10235 unsigned char *arg4
= (unsigned char *) 0 ;
10236 unsigned char arg5
= (unsigned char) 1 ;
10237 unsigned char arg6
= (unsigned char) 0 ;
10238 unsigned char arg7
= (unsigned char) 0 ;
10240 unsigned char temp2
;
10242 unsigned char temp3
;
10244 unsigned char temp4
;
10246 PyObject
* obj0
= 0 ;
10247 PyObject
* obj1
= 0 ;
10248 PyObject
* obj2
= 0 ;
10249 PyObject
* obj3
= 0 ;
10250 char *kwnames
[] = {
10251 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10254 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10255 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10256 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10259 if (SWIG_arg_fail(1)) SWIG_fail
;
10262 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10263 if (SWIG_arg_fail(5)) SWIG_fail
;
10268 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10269 if (SWIG_arg_fail(6)) SWIG_fail
;
10274 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10275 if (SWIG_arg_fail(7)) SWIG_fail
;
10279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10280 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10282 wxPyEndAllowThreads(__tstate
);
10283 if (PyErr_Occurred()) SWIG_fail
;
10286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10288 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10289 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10290 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10291 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10292 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10293 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10300 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10302 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10303 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10305 return Py_BuildValue((char *)"");
10307 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10308 PyObject
*resultobj
;
10309 wxString
*arg1
= 0 ;
10310 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10311 int arg3
= (int) -1 ;
10313 bool temp1
= false ;
10314 PyObject
* obj0
= 0 ;
10315 PyObject
* obj1
= 0 ;
10316 PyObject
* obj2
= 0 ;
10317 char *kwnames
[] = {
10318 (char *) "name",(char *) "type",(char *) "index", NULL
10321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10323 arg1
= wxString_in_helper(obj0
);
10324 if (arg1
== NULL
) SWIG_fail
;
10329 arg2
= (long)(SWIG_As_long(obj1
));
10330 if (SWIG_arg_fail(2)) SWIG_fail
;
10335 arg3
= (int)(SWIG_As_int(obj2
));
10336 if (SWIG_arg_fail(3)) SWIG_fail
;
10340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10341 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10343 wxPyEndAllowThreads(__tstate
);
10344 if (PyErr_Occurred()) SWIG_fail
;
10346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10361 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10362 PyObject
*resultobj
;
10363 wxImage
*arg1
= (wxImage
*) 0 ;
10364 PyObject
* obj0
= 0 ;
10365 char *kwnames
[] = {
10366 (char *) "self", NULL
10369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
10370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10371 if (SWIG_arg_fail(1)) SWIG_fail
;
10373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10376 wxPyEndAllowThreads(__tstate
);
10377 if (PyErr_Occurred()) SWIG_fail
;
10379 Py_INCREF(Py_None
); resultobj
= Py_None
;
10386 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10387 PyObject
*resultobj
;
10388 wxString
*arg1
= 0 ;
10389 wxString
*arg2
= 0 ;
10390 int arg3
= (int) -1 ;
10392 bool temp1
= false ;
10393 bool temp2
= false ;
10394 PyObject
* obj0
= 0 ;
10395 PyObject
* obj1
= 0 ;
10396 PyObject
* obj2
= 0 ;
10397 char *kwnames
[] = {
10398 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10403 arg1
= wxString_in_helper(obj0
);
10404 if (arg1
== NULL
) SWIG_fail
;
10408 arg2
= wxString_in_helper(obj1
);
10409 if (arg2
== NULL
) SWIG_fail
;
10414 arg3
= (int)(SWIG_As_int(obj2
));
10415 if (SWIG_arg_fail(3)) SWIG_fail
;
10419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10420 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10422 wxPyEndAllowThreads(__tstate
);
10423 if (PyErr_Occurred()) SWIG_fail
;
10425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10448 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10449 PyObject
*resultobj
;
10450 wxInputStream
*arg1
= 0 ;
10451 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10452 int arg3
= (int) -1 ;
10454 wxPyInputStream
*temp1
;
10456 PyObject
* obj0
= 0 ;
10457 PyObject
* obj1
= 0 ;
10458 PyObject
* obj2
= 0 ;
10459 char *kwnames
[] = {
10460 (char *) "stream",(char *) "type",(char *) "index", NULL
10463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10465 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10466 arg1
= temp1
->m_wxis
;
10469 PyErr_Clear(); // clear the failure of the wxPyConvert above
10470 arg1
= wxPyCBInputStream_create(obj0
, false);
10471 if (arg1
== NULL
) {
10472 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10480 arg2
= (long)(SWIG_As_long(obj1
));
10481 if (SWIG_arg_fail(2)) SWIG_fail
;
10486 arg3
= (int)(SWIG_As_int(obj2
));
10487 if (SWIG_arg_fail(3)) SWIG_fail
;
10491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10492 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
10494 wxPyEndAllowThreads(__tstate
);
10495 if (PyErr_Occurred()) SWIG_fail
;
10497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10512 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10513 PyObject
*resultobj
;
10514 wxInputStream
*arg1
= 0 ;
10515 wxString
*arg2
= 0 ;
10516 int arg3
= (int) -1 ;
10518 wxPyInputStream
*temp1
;
10520 bool temp2
= false ;
10521 PyObject
* obj0
= 0 ;
10522 PyObject
* obj1
= 0 ;
10523 PyObject
* obj2
= 0 ;
10524 char *kwnames
[] = {
10525 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10530 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10531 arg1
= temp1
->m_wxis
;
10534 PyErr_Clear(); // clear the failure of the wxPyConvert above
10535 arg1
= wxPyCBInputStream_create(obj0
, false);
10536 if (arg1
== NULL
) {
10537 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10544 arg2
= wxString_in_helper(obj1
);
10545 if (arg2
== NULL
) SWIG_fail
;
10550 arg3
= (int)(SWIG_As_int(obj2
));
10551 if (SWIG_arg_fail(3)) SWIG_fail
;
10555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10556 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
10558 wxPyEndAllowThreads(__tstate
);
10559 if (PyErr_Occurred()) SWIG_fail
;
10561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10584 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10585 PyObject
*resultobj
;
10586 int arg1
= (int) 0 ;
10587 int arg2
= (int) 0 ;
10588 bool arg3
= (bool) true ;
10590 PyObject
* obj0
= 0 ;
10591 PyObject
* obj1
= 0 ;
10592 PyObject
* obj2
= 0 ;
10593 char *kwnames
[] = {
10594 (char *) "width",(char *) "height",(char *) "clear", NULL
10597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10600 arg1
= (int)(SWIG_As_int(obj0
));
10601 if (SWIG_arg_fail(1)) SWIG_fail
;
10606 arg2
= (int)(SWIG_As_int(obj1
));
10607 if (SWIG_arg_fail(2)) SWIG_fail
;
10612 arg3
= (bool)(SWIG_As_bool(obj2
));
10613 if (SWIG_arg_fail(3)) SWIG_fail
;
10617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10618 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10620 wxPyEndAllowThreads(__tstate
);
10621 if (PyErr_Occurred()) SWIG_fail
;
10623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10630 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10631 PyObject
*resultobj
;
10632 wxBitmap
*arg1
= 0 ;
10634 PyObject
* obj0
= 0 ;
10635 char *kwnames
[] = {
10636 (char *) "bitmap", NULL
10639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
10641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
10642 if (SWIG_arg_fail(1)) SWIG_fail
;
10643 if (arg1
== NULL
) {
10644 SWIG_null_ref("wxBitmap");
10646 if (SWIG_arg_fail(1)) SWIG_fail
;
10649 if (!wxPyCheckForApp()) SWIG_fail
;
10650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10651 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
10653 wxPyEndAllowThreads(__tstate
);
10654 if (PyErr_Occurred()) SWIG_fail
;
10656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10663 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10664 PyObject
*resultobj
;
10667 unsigned char *arg3
= (unsigned char *) 0 ;
10669 PyObject
* obj0
= 0 ;
10670 PyObject
* obj1
= 0 ;
10671 PyObject
* obj2
= 0 ;
10672 char *kwnames
[] = {
10673 (char *) "width",(char *) "height",(char *) "data", NULL
10676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10678 arg1
= (int)(SWIG_As_int(obj0
));
10679 if (SWIG_arg_fail(1)) SWIG_fail
;
10682 arg2
= (int)(SWIG_As_int(obj1
));
10683 if (SWIG_arg_fail(2)) SWIG_fail
;
10685 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10686 if (SWIG_arg_fail(3)) SWIG_fail
;
10688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10689 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10691 wxPyEndAllowThreads(__tstate
);
10692 if (PyErr_Occurred()) SWIG_fail
;
10694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10701 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10702 PyObject
*resultobj
;
10705 unsigned char *arg3
= (unsigned char *) 0 ;
10706 unsigned char *arg4
= (unsigned char *) 0 ;
10708 PyObject
* obj0
= 0 ;
10709 PyObject
* obj1
= 0 ;
10710 PyObject
* obj2
= 0 ;
10711 PyObject
* obj3
= 0 ;
10712 char *kwnames
[] = {
10713 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10718 arg1
= (int)(SWIG_As_int(obj0
));
10719 if (SWIG_arg_fail(1)) SWIG_fail
;
10722 arg2
= (int)(SWIG_As_int(obj1
));
10723 if (SWIG_arg_fail(2)) SWIG_fail
;
10725 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10726 if (SWIG_arg_fail(3)) SWIG_fail
;
10727 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10728 if (SWIG_arg_fail(4)) SWIG_fail
;
10730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10731 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
10733 wxPyEndAllowThreads(__tstate
);
10734 if (PyErr_Occurred()) SWIG_fail
;
10736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10743 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10744 PyObject
*resultobj
;
10745 wxImage
*arg1
= (wxImage
*) 0 ;
10748 PyObject
* obj0
= 0 ;
10749 PyObject
* obj1
= 0 ;
10750 PyObject
* obj2
= 0 ;
10751 char *kwnames
[] = {
10752 (char *) "self",(char *) "width",(char *) "height", NULL
10755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10757 if (SWIG_arg_fail(1)) SWIG_fail
;
10759 arg2
= (int)(SWIG_As_int(obj1
));
10760 if (SWIG_arg_fail(2)) SWIG_fail
;
10763 arg3
= (int)(SWIG_As_int(obj2
));
10764 if (SWIG_arg_fail(3)) SWIG_fail
;
10767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10768 (arg1
)->Create(arg2
,arg3
);
10770 wxPyEndAllowThreads(__tstate
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10773 Py_INCREF(Py_None
); resultobj
= Py_None
;
10780 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10781 PyObject
*resultobj
;
10782 wxImage
*arg1
= (wxImage
*) 0 ;
10783 PyObject
* obj0
= 0 ;
10784 char *kwnames
[] = {
10785 (char *) "self", NULL
10788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
10789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10790 if (SWIG_arg_fail(1)) SWIG_fail
;
10792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10795 wxPyEndAllowThreads(__tstate
);
10796 if (PyErr_Occurred()) SWIG_fail
;
10798 Py_INCREF(Py_None
); resultobj
= Py_None
;
10805 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10806 PyObject
*resultobj
;
10807 wxImage
*arg1
= (wxImage
*) 0 ;
10810 SwigValueWrapper
<wxImage
> result
;
10811 PyObject
* obj0
= 0 ;
10812 PyObject
* obj1
= 0 ;
10813 PyObject
* obj2
= 0 ;
10814 char *kwnames
[] = {
10815 (char *) "self",(char *) "width",(char *) "height", NULL
10818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10820 if (SWIG_arg_fail(1)) SWIG_fail
;
10822 arg2
= (int)(SWIG_As_int(obj1
));
10823 if (SWIG_arg_fail(2)) SWIG_fail
;
10826 arg3
= (int)(SWIG_As_int(obj2
));
10827 if (SWIG_arg_fail(3)) SWIG_fail
;
10830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10831 result
= (arg1
)->Scale(arg2
,arg3
);
10833 wxPyEndAllowThreads(__tstate
);
10834 if (PyErr_Occurred()) SWIG_fail
;
10837 wxImage
* resultptr
;
10838 resultptr
= new wxImage((wxImage
&)(result
));
10839 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10847 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10848 PyObject
*resultobj
;
10849 wxImage
*arg1
= (wxImage
*) 0 ;
10852 SwigValueWrapper
<wxImage
> result
;
10853 PyObject
* obj0
= 0 ;
10854 PyObject
* obj1
= 0 ;
10855 PyObject
* obj2
= 0 ;
10856 char *kwnames
[] = {
10857 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
10860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10862 if (SWIG_arg_fail(1)) SWIG_fail
;
10864 arg2
= (int)(SWIG_As_int(obj1
));
10865 if (SWIG_arg_fail(2)) SWIG_fail
;
10868 arg3
= (int)(SWIG_As_int(obj2
));
10869 if (SWIG_arg_fail(3)) SWIG_fail
;
10872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10873 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
10875 wxPyEndAllowThreads(__tstate
);
10876 if (PyErr_Occurred()) SWIG_fail
;
10879 wxImage
* resultptr
;
10880 resultptr
= new wxImage((wxImage
&)(result
));
10881 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10889 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10890 PyObject
*resultobj
;
10891 wxImage
*arg1
= (wxImage
*) 0 ;
10895 PyObject
* obj0
= 0 ;
10896 PyObject
* obj1
= 0 ;
10897 PyObject
* obj2
= 0 ;
10898 char *kwnames
[] = {
10899 (char *) "self",(char *) "width",(char *) "height", NULL
10902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10904 if (SWIG_arg_fail(1)) SWIG_fail
;
10906 arg2
= (int)(SWIG_As_int(obj1
));
10907 if (SWIG_arg_fail(2)) SWIG_fail
;
10910 arg3
= (int)(SWIG_As_int(obj2
));
10911 if (SWIG_arg_fail(3)) SWIG_fail
;
10914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10916 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
10917 result
= (wxImage
*) &_result_ref
;
10920 wxPyEndAllowThreads(__tstate
);
10921 if (PyErr_Occurred()) SWIG_fail
;
10923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
10930 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10931 PyObject
*resultobj
;
10932 wxImage
*arg1
= (wxImage
*) 0 ;
10935 unsigned char arg4
;
10936 unsigned char arg5
;
10937 unsigned char arg6
;
10938 PyObject
* obj0
= 0 ;
10939 PyObject
* obj1
= 0 ;
10940 PyObject
* obj2
= 0 ;
10941 PyObject
* obj3
= 0 ;
10942 PyObject
* obj4
= 0 ;
10943 PyObject
* obj5
= 0 ;
10944 char *kwnames
[] = {
10945 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
10948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10950 if (SWIG_arg_fail(1)) SWIG_fail
;
10952 arg2
= (int)(SWIG_As_int(obj1
));
10953 if (SWIG_arg_fail(2)) SWIG_fail
;
10956 arg3
= (int)(SWIG_As_int(obj2
));
10957 if (SWIG_arg_fail(3)) SWIG_fail
;
10960 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10961 if (SWIG_arg_fail(4)) SWIG_fail
;
10964 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
10965 if (SWIG_arg_fail(5)) SWIG_fail
;
10968 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
10969 if (SWIG_arg_fail(6)) SWIG_fail
;
10972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10973 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
10975 wxPyEndAllowThreads(__tstate
);
10976 if (PyErr_Occurred()) SWIG_fail
;
10978 Py_INCREF(Py_None
); resultobj
= Py_None
;
10985 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10986 PyObject
*resultobj
;
10987 wxImage
*arg1
= (wxImage
*) 0 ;
10990 unsigned char result
;
10991 PyObject
* obj0
= 0 ;
10992 PyObject
* obj1
= 0 ;
10993 PyObject
* obj2
= 0 ;
10994 char *kwnames
[] = {
10995 (char *) "self",(char *) "x",(char *) "y", NULL
10998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11000 if (SWIG_arg_fail(1)) SWIG_fail
;
11002 arg2
= (int)(SWIG_As_int(obj1
));
11003 if (SWIG_arg_fail(2)) SWIG_fail
;
11006 arg3
= (int)(SWIG_As_int(obj2
));
11007 if (SWIG_arg_fail(3)) SWIG_fail
;
11010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11011 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
11013 wxPyEndAllowThreads(__tstate
);
11014 if (PyErr_Occurred()) SWIG_fail
;
11017 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11025 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11026 PyObject
*resultobj
;
11027 wxImage
*arg1
= (wxImage
*) 0 ;
11030 unsigned char result
;
11031 PyObject
* obj0
= 0 ;
11032 PyObject
* obj1
= 0 ;
11033 PyObject
* obj2
= 0 ;
11034 char *kwnames
[] = {
11035 (char *) "self",(char *) "x",(char *) "y", NULL
11038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11040 if (SWIG_arg_fail(1)) SWIG_fail
;
11042 arg2
= (int)(SWIG_As_int(obj1
));
11043 if (SWIG_arg_fail(2)) SWIG_fail
;
11046 arg3
= (int)(SWIG_As_int(obj2
));
11047 if (SWIG_arg_fail(3)) SWIG_fail
;
11050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11051 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
11053 wxPyEndAllowThreads(__tstate
);
11054 if (PyErr_Occurred()) SWIG_fail
;
11057 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11065 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11066 PyObject
*resultobj
;
11067 wxImage
*arg1
= (wxImage
*) 0 ;
11070 unsigned char result
;
11071 PyObject
* obj0
= 0 ;
11072 PyObject
* obj1
= 0 ;
11073 PyObject
* obj2
= 0 ;
11074 char *kwnames
[] = {
11075 (char *) "self",(char *) "x",(char *) "y", NULL
11078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11080 if (SWIG_arg_fail(1)) SWIG_fail
;
11082 arg2
= (int)(SWIG_As_int(obj1
));
11083 if (SWIG_arg_fail(2)) SWIG_fail
;
11086 arg3
= (int)(SWIG_As_int(obj2
));
11087 if (SWIG_arg_fail(3)) SWIG_fail
;
11090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11091 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
11093 wxPyEndAllowThreads(__tstate
);
11094 if (PyErr_Occurred()) SWIG_fail
;
11097 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11105 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11106 PyObject
*resultobj
;
11107 wxImage
*arg1
= (wxImage
*) 0 ;
11110 unsigned char arg4
;
11111 PyObject
* obj0
= 0 ;
11112 PyObject
* obj1
= 0 ;
11113 PyObject
* obj2
= 0 ;
11114 PyObject
* obj3
= 0 ;
11115 char *kwnames
[] = {
11116 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11121 if (SWIG_arg_fail(1)) SWIG_fail
;
11123 arg2
= (int)(SWIG_As_int(obj1
));
11124 if (SWIG_arg_fail(2)) SWIG_fail
;
11127 arg3
= (int)(SWIG_As_int(obj2
));
11128 if (SWIG_arg_fail(3)) SWIG_fail
;
11131 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11132 if (SWIG_arg_fail(4)) SWIG_fail
;
11135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11136 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11138 wxPyEndAllowThreads(__tstate
);
11139 if (PyErr_Occurred()) SWIG_fail
;
11141 Py_INCREF(Py_None
); resultobj
= Py_None
;
11148 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11149 PyObject
*resultobj
;
11150 wxImage
*arg1
= (wxImage
*) 0 ;
11153 unsigned char result
;
11154 PyObject
* obj0
= 0 ;
11155 PyObject
* obj1
= 0 ;
11156 PyObject
* obj2
= 0 ;
11157 char *kwnames
[] = {
11158 (char *) "self",(char *) "x",(char *) "y", NULL
11161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11163 if (SWIG_arg_fail(1)) SWIG_fail
;
11165 arg2
= (int)(SWIG_As_int(obj1
));
11166 if (SWIG_arg_fail(2)) SWIG_fail
;
11169 arg3
= (int)(SWIG_As_int(obj2
));
11170 if (SWIG_arg_fail(3)) SWIG_fail
;
11173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11174 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
11176 wxPyEndAllowThreads(__tstate
);
11177 if (PyErr_Occurred()) SWIG_fail
;
11180 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11188 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11189 PyObject
*resultobj
;
11190 wxImage
*arg1
= (wxImage
*) 0 ;
11192 PyObject
* obj0
= 0 ;
11193 char *kwnames
[] = {
11194 (char *) "self", NULL
11197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11199 if (SWIG_arg_fail(1)) SWIG_fail
;
11201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11202 result
= (bool)(arg1
)->HasAlpha();
11204 wxPyEndAllowThreads(__tstate
);
11205 if (PyErr_Occurred()) SWIG_fail
;
11208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11216 static PyObject
*_wrap_Image_InitAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11217 PyObject
*resultobj
;
11218 wxImage
*arg1
= (wxImage
*) 0 ;
11219 PyObject
* obj0
= 0 ;
11220 char *kwnames
[] = {
11221 (char *) "self", NULL
11224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InitAlpha",kwnames
,&obj0
)) goto fail
;
11225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11226 if (SWIG_arg_fail(1)) SWIG_fail
;
11228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11229 (arg1
)->InitAlpha();
11231 wxPyEndAllowThreads(__tstate
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11234 Py_INCREF(Py_None
); resultobj
= Py_None
;
11241 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11242 PyObject
*resultobj
;
11243 wxImage
*arg1
= (wxImage
*) 0 ;
11244 byte
*arg2
= (byte
*) 0 ;
11245 byte
*arg3
= (byte
*) 0 ;
11246 byte
*arg4
= (byte
*) 0 ;
11247 byte arg5
= (byte
) 0 ;
11248 byte arg6
= (byte
) 0 ;
11249 byte arg7
= (byte
) 0 ;
11257 PyObject
* obj0
= 0 ;
11258 PyObject
* obj1
= 0 ;
11259 PyObject
* obj2
= 0 ;
11260 PyObject
* obj3
= 0 ;
11261 char *kwnames
[] = {
11262 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11265 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11266 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11267 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11270 if (SWIG_arg_fail(1)) SWIG_fail
;
11273 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11274 if (SWIG_arg_fail(5)) SWIG_fail
;
11279 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11280 if (SWIG_arg_fail(6)) SWIG_fail
;
11285 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11286 if (SWIG_arg_fail(7)) SWIG_fail
;
11290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11291 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11293 wxPyEndAllowThreads(__tstate
);
11294 if (PyErr_Occurred()) SWIG_fail
;
11297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11299 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11300 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
11301 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11302 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
11303 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11304 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
11311 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11312 PyObject
*resultobj
;
11313 wxImage
*arg1
= (wxImage
*) 0 ;
11314 byte arg2
= (byte
) 128 ;
11316 PyObject
* obj0
= 0 ;
11317 PyObject
* obj1
= 0 ;
11318 char *kwnames
[] = {
11319 (char *) "self",(char *) "threshold", NULL
11322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11324 if (SWIG_arg_fail(1)) SWIG_fail
;
11327 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11328 if (SWIG_arg_fail(2)) SWIG_fail
;
11332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11333 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
11335 wxPyEndAllowThreads(__tstate
);
11336 if (PyErr_Occurred()) SWIG_fail
;
11339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11347 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11348 PyObject
*resultobj
;
11349 wxImage
*arg1
= (wxImage
*) 0 ;
11350 unsigned char arg2
;
11351 unsigned char arg3
;
11352 unsigned char arg4
;
11354 PyObject
* obj0
= 0 ;
11355 PyObject
* obj1
= 0 ;
11356 PyObject
* obj2
= 0 ;
11357 PyObject
* obj3
= 0 ;
11358 char *kwnames
[] = {
11359 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11364 if (SWIG_arg_fail(1)) SWIG_fail
;
11366 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
11367 if (SWIG_arg_fail(2)) SWIG_fail
;
11370 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11371 if (SWIG_arg_fail(3)) SWIG_fail
;
11374 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11375 if (SWIG_arg_fail(4)) SWIG_fail
;
11378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11379 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
11381 wxPyEndAllowThreads(__tstate
);
11382 if (PyErr_Occurred()) SWIG_fail
;
11385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11393 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11394 PyObject
*resultobj
;
11395 wxImage
*arg1
= (wxImage
*) 0 ;
11396 wxImage
*arg2
= 0 ;
11401 PyObject
* obj0
= 0 ;
11402 PyObject
* obj1
= 0 ;
11403 PyObject
* obj2
= 0 ;
11404 PyObject
* obj3
= 0 ;
11405 PyObject
* obj4
= 0 ;
11406 char *kwnames
[] = {
11407 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11412 if (SWIG_arg_fail(1)) SWIG_fail
;
11414 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11415 if (SWIG_arg_fail(2)) SWIG_fail
;
11416 if (arg2
== NULL
) {
11417 SWIG_null_ref("wxImage");
11419 if (SWIG_arg_fail(2)) SWIG_fail
;
11422 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11423 if (SWIG_arg_fail(3)) SWIG_fail
;
11426 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11427 if (SWIG_arg_fail(4)) SWIG_fail
;
11430 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11431 if (SWIG_arg_fail(5)) SWIG_fail
;
11434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11435 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
11437 wxPyEndAllowThreads(__tstate
);
11438 if (PyErr_Occurred()) SWIG_fail
;
11441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11449 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11450 PyObject
*resultobj
;
11451 wxString
*arg1
= 0 ;
11453 bool temp1
= false ;
11454 PyObject
* obj0
= 0 ;
11455 char *kwnames
[] = {
11456 (char *) "name", NULL
11459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
11461 arg1
= wxString_in_helper(obj0
);
11462 if (arg1
== NULL
) SWIG_fail
;
11466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11467 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
11469 wxPyEndAllowThreads(__tstate
);
11470 if (PyErr_Occurred()) SWIG_fail
;
11473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11489 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11490 PyObject
*resultobj
;
11491 wxString
*arg1
= 0 ;
11492 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11494 bool temp1
= false ;
11495 PyObject
* obj0
= 0 ;
11496 PyObject
* obj1
= 0 ;
11497 char *kwnames
[] = {
11498 (char *) "name",(char *) "type", NULL
11501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11503 arg1
= wxString_in_helper(obj0
);
11504 if (arg1
== NULL
) SWIG_fail
;
11509 arg2
= (long)(SWIG_As_long(obj1
));
11510 if (SWIG_arg_fail(2)) SWIG_fail
;
11514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11515 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
11517 wxPyEndAllowThreads(__tstate
);
11518 if (PyErr_Occurred()) SWIG_fail
;
11521 resultobj
= SWIG_From_int((int)(result
));
11537 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11538 PyObject
*resultobj
;
11539 wxImage
*arg1
= (wxImage
*) 0 ;
11540 wxString
*arg2
= 0 ;
11541 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11542 int arg4
= (int) -1 ;
11544 bool temp2
= false ;
11545 PyObject
* obj0
= 0 ;
11546 PyObject
* obj1
= 0 ;
11547 PyObject
* obj2
= 0 ;
11548 PyObject
* obj3
= 0 ;
11549 char *kwnames
[] = {
11550 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11555 if (SWIG_arg_fail(1)) SWIG_fail
;
11557 arg2
= wxString_in_helper(obj1
);
11558 if (arg2
== NULL
) SWIG_fail
;
11563 arg3
= (long)(SWIG_As_long(obj2
));
11564 if (SWIG_arg_fail(3)) SWIG_fail
;
11569 arg4
= (int)(SWIG_As_int(obj3
));
11570 if (SWIG_arg_fail(4)) SWIG_fail
;
11574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11575 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
11577 wxPyEndAllowThreads(__tstate
);
11578 if (PyErr_Occurred()) SWIG_fail
;
11581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11597 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11598 PyObject
*resultobj
;
11599 wxImage
*arg1
= (wxImage
*) 0 ;
11600 wxString
*arg2
= 0 ;
11601 wxString
*arg3
= 0 ;
11602 int arg4
= (int) -1 ;
11604 bool temp2
= false ;
11605 bool temp3
= false ;
11606 PyObject
* obj0
= 0 ;
11607 PyObject
* obj1
= 0 ;
11608 PyObject
* obj2
= 0 ;
11609 PyObject
* obj3
= 0 ;
11610 char *kwnames
[] = {
11611 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11616 if (SWIG_arg_fail(1)) SWIG_fail
;
11618 arg2
= wxString_in_helper(obj1
);
11619 if (arg2
== NULL
) SWIG_fail
;
11623 arg3
= wxString_in_helper(obj2
);
11624 if (arg3
== NULL
) SWIG_fail
;
11629 arg4
= (int)(SWIG_As_int(obj3
));
11630 if (SWIG_arg_fail(4)) SWIG_fail
;
11634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11635 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11637 wxPyEndAllowThreads(__tstate
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11665 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11666 PyObject
*resultobj
;
11667 wxImage
*arg1
= (wxImage
*) 0 ;
11668 wxString
*arg2
= 0 ;
11671 bool temp2
= false ;
11672 PyObject
* obj0
= 0 ;
11673 PyObject
* obj1
= 0 ;
11674 PyObject
* obj2
= 0 ;
11675 char *kwnames
[] = {
11676 (char *) "self",(char *) "name",(char *) "type", NULL
11679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11681 if (SWIG_arg_fail(1)) SWIG_fail
;
11683 arg2
= wxString_in_helper(obj1
);
11684 if (arg2
== NULL
) SWIG_fail
;
11688 arg3
= (int)(SWIG_As_int(obj2
));
11689 if (SWIG_arg_fail(3)) SWIG_fail
;
11692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11693 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
11695 wxPyEndAllowThreads(__tstate
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11715 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11716 PyObject
*resultobj
;
11717 wxImage
*arg1
= (wxImage
*) 0 ;
11718 wxString
*arg2
= 0 ;
11719 wxString
*arg3
= 0 ;
11721 bool temp2
= false ;
11722 bool temp3
= false ;
11723 PyObject
* obj0
= 0 ;
11724 PyObject
* obj1
= 0 ;
11725 PyObject
* obj2
= 0 ;
11726 char *kwnames
[] = {
11727 (char *) "self",(char *) "name",(char *) "mimetype", NULL
11730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11732 if (SWIG_arg_fail(1)) SWIG_fail
;
11734 arg2
= wxString_in_helper(obj1
);
11735 if (arg2
== NULL
) SWIG_fail
;
11739 arg3
= wxString_in_helper(obj2
);
11740 if (arg3
== NULL
) SWIG_fail
;
11744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11745 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11747 wxPyEndAllowThreads(__tstate
);
11748 if (PyErr_Occurred()) SWIG_fail
;
11751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11775 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11776 PyObject
*resultobj
;
11777 wxInputStream
*arg1
= 0 ;
11779 wxPyInputStream
*temp1
;
11781 PyObject
* obj0
= 0 ;
11782 char *kwnames
[] = {
11783 (char *) "stream", NULL
11786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
11788 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
11789 arg1
= temp1
->m_wxis
;
11792 PyErr_Clear(); // clear the failure of the wxPyConvert above
11793 arg1
= wxPyCBInputStream_create(obj0
, false);
11794 if (arg1
== NULL
) {
11795 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11803 result
= (bool)wxImage::CanRead(*arg1
);
11805 wxPyEndAllowThreads(__tstate
);
11806 if (PyErr_Occurred()) SWIG_fail
;
11809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
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 wxInputStream 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
);
11895 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11896 PyObject
*resultobj
;
11897 wxImage
*arg1
= (wxImage
*) 0 ;
11898 wxInputStream
*arg2
= 0 ;
11899 wxString
*arg3
= 0 ;
11900 int arg4
= (int) -1 ;
11902 wxPyInputStream
*temp2
;
11904 bool temp3
= false ;
11905 PyObject
* obj0
= 0 ;
11906 PyObject
* obj1
= 0 ;
11907 PyObject
* obj2
= 0 ;
11908 PyObject
* obj3
= 0 ;
11909 char *kwnames
[] = {
11910 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
11913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11915 if (SWIG_arg_fail(1)) SWIG_fail
;
11917 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
11918 arg2
= temp2
->m_wxis
;
11921 PyErr_Clear(); // clear the failure of the wxPyConvert above
11922 arg2
= wxPyCBInputStream_create(obj1
, false);
11923 if (arg2
== NULL
) {
11924 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11931 arg3
= wxString_in_helper(obj2
);
11932 if (arg3
== NULL
) SWIG_fail
;
11937 arg4
= (int)(SWIG_As_int(obj3
));
11938 if (SWIG_arg_fail(4)) SWIG_fail
;
11942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11943 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
11945 wxPyEndAllowThreads(__tstate
);
11946 if (PyErr_Occurred()) SWIG_fail
;
11949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11973 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11974 PyObject
*resultobj
;
11975 wxImage
*arg1
= (wxImage
*) 0 ;
11977 PyObject
* obj0
= 0 ;
11978 char *kwnames
[] = {
11979 (char *) "self", NULL
11982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
11983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11984 if (SWIG_arg_fail(1)) SWIG_fail
;
11986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11987 result
= (bool)(arg1
)->Ok();
11989 wxPyEndAllowThreads(__tstate
);
11990 if (PyErr_Occurred()) SWIG_fail
;
11993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12001 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12002 PyObject
*resultobj
;
12003 wxImage
*arg1
= (wxImage
*) 0 ;
12005 PyObject
* obj0
= 0 ;
12006 char *kwnames
[] = {
12007 (char *) "self", NULL
12010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
12011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12012 if (SWIG_arg_fail(1)) SWIG_fail
;
12014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12015 result
= (int)(arg1
)->GetWidth();
12017 wxPyEndAllowThreads(__tstate
);
12018 if (PyErr_Occurred()) SWIG_fail
;
12021 resultobj
= SWIG_From_int((int)(result
));
12029 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12030 PyObject
*resultobj
;
12031 wxImage
*arg1
= (wxImage
*) 0 ;
12033 PyObject
* obj0
= 0 ;
12034 char *kwnames
[] = {
12035 (char *) "self", NULL
12038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12040 if (SWIG_arg_fail(1)) SWIG_fail
;
12042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12043 result
= (int)(arg1
)->GetHeight();
12045 wxPyEndAllowThreads(__tstate
);
12046 if (PyErr_Occurred()) SWIG_fail
;
12049 resultobj
= SWIG_From_int((int)(result
));
12057 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12058 PyObject
*resultobj
;
12059 wxImage
*arg1
= (wxImage
*) 0 ;
12061 PyObject
* obj0
= 0 ;
12062 char *kwnames
[] = {
12063 (char *) "self", NULL
12066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12068 if (SWIG_arg_fail(1)) SWIG_fail
;
12070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12071 result
= wxImage_GetSize(arg1
);
12073 wxPyEndAllowThreads(__tstate
);
12074 if (PyErr_Occurred()) SWIG_fail
;
12077 wxSize
* resultptr
;
12078 resultptr
= new wxSize((wxSize
&)(result
));
12079 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12087 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12088 PyObject
*resultobj
;
12089 wxImage
*arg1
= (wxImage
*) 0 ;
12091 SwigValueWrapper
<wxImage
> result
;
12093 PyObject
* obj0
= 0 ;
12094 PyObject
* obj1
= 0 ;
12095 char *kwnames
[] = {
12096 (char *) "self",(char *) "rect", NULL
12099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12101 if (SWIG_arg_fail(1)) SWIG_fail
;
12104 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12110 wxPyEndAllowThreads(__tstate
);
12111 if (PyErr_Occurred()) SWIG_fail
;
12114 wxImage
* resultptr
;
12115 resultptr
= new wxImage((wxImage
&)(result
));
12116 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12124 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12125 PyObject
*resultobj
;
12126 wxImage
*arg1
= (wxImage
*) 0 ;
12127 SwigValueWrapper
<wxImage
> result
;
12128 PyObject
* obj0
= 0 ;
12129 char *kwnames
[] = {
12130 (char *) "self", NULL
12133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
12134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12135 if (SWIG_arg_fail(1)) SWIG_fail
;
12137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12138 result
= (arg1
)->Copy();
12140 wxPyEndAllowThreads(__tstate
);
12141 if (PyErr_Occurred()) SWIG_fail
;
12144 wxImage
* resultptr
;
12145 resultptr
= new wxImage((wxImage
&)(result
));
12146 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12154 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12155 PyObject
*resultobj
;
12156 wxImage
*arg1
= (wxImage
*) 0 ;
12157 wxImage
*arg2
= 0 ;
12160 PyObject
* obj0
= 0 ;
12161 PyObject
* obj1
= 0 ;
12162 PyObject
* obj2
= 0 ;
12163 PyObject
* obj3
= 0 ;
12164 char *kwnames
[] = {
12165 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12170 if (SWIG_arg_fail(1)) SWIG_fail
;
12172 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12173 if (SWIG_arg_fail(2)) SWIG_fail
;
12174 if (arg2
== NULL
) {
12175 SWIG_null_ref("wxImage");
12177 if (SWIG_arg_fail(2)) SWIG_fail
;
12180 arg3
= (int)(SWIG_As_int(obj2
));
12181 if (SWIG_arg_fail(3)) SWIG_fail
;
12184 arg4
= (int)(SWIG_As_int(obj3
));
12185 if (SWIG_arg_fail(4)) SWIG_fail
;
12188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12189 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12191 wxPyEndAllowThreads(__tstate
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12194 Py_INCREF(Py_None
); resultobj
= Py_None
;
12201 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12202 PyObject
*resultobj
;
12203 wxImage
*arg1
= (wxImage
*) 0 ;
12205 PyObject
* obj0
= 0 ;
12206 char *kwnames
[] = {
12207 (char *) "self", NULL
12210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
12211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12212 if (SWIG_arg_fail(1)) SWIG_fail
;
12214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12215 result
= (PyObject
*)wxImage_GetData(arg1
);
12217 wxPyEndAllowThreads(__tstate
);
12218 if (PyErr_Occurred()) SWIG_fail
;
12220 resultobj
= result
;
12227 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12228 PyObject
*resultobj
;
12229 wxImage
*arg1
= (wxImage
*) 0 ;
12230 PyObject
*arg2
= (PyObject
*) 0 ;
12231 PyObject
* obj0
= 0 ;
12232 PyObject
* obj1
= 0 ;
12233 char *kwnames
[] = {
12234 (char *) "self",(char *) "data", NULL
12237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12239 if (SWIG_arg_fail(1)) SWIG_fail
;
12242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12243 wxImage_SetData(arg1
,arg2
);
12245 wxPyEndAllowThreads(__tstate
);
12246 if (PyErr_Occurred()) SWIG_fail
;
12248 Py_INCREF(Py_None
); resultobj
= Py_None
;
12255 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12256 PyObject
*resultobj
;
12257 wxImage
*arg1
= (wxImage
*) 0 ;
12259 PyObject
* obj0
= 0 ;
12260 char *kwnames
[] = {
12261 (char *) "self", NULL
12264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
12265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12266 if (SWIG_arg_fail(1)) SWIG_fail
;
12268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12269 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
12271 wxPyEndAllowThreads(__tstate
);
12272 if (PyErr_Occurred()) SWIG_fail
;
12274 resultobj
= result
;
12281 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12282 PyObject
*resultobj
;
12283 wxImage
*arg1
= (wxImage
*) 0 ;
12284 PyObject
*arg2
= (PyObject
*) 0 ;
12285 PyObject
* obj0
= 0 ;
12286 PyObject
* obj1
= 0 ;
12287 char *kwnames
[] = {
12288 (char *) "self",(char *) "data", NULL
12291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12293 if (SWIG_arg_fail(1)) SWIG_fail
;
12296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12297 wxImage_SetDataBuffer(arg1
,arg2
);
12299 wxPyEndAllowThreads(__tstate
);
12300 if (PyErr_Occurred()) SWIG_fail
;
12302 Py_INCREF(Py_None
); resultobj
= Py_None
;
12309 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12310 PyObject
*resultobj
;
12311 wxImage
*arg1
= (wxImage
*) 0 ;
12313 PyObject
* obj0
= 0 ;
12314 char *kwnames
[] = {
12315 (char *) "self", NULL
12318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
12319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12320 if (SWIG_arg_fail(1)) SWIG_fail
;
12322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12323 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
12325 wxPyEndAllowThreads(__tstate
);
12326 if (PyErr_Occurred()) SWIG_fail
;
12328 resultobj
= result
;
12335 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12336 PyObject
*resultobj
;
12337 wxImage
*arg1
= (wxImage
*) 0 ;
12338 PyObject
*arg2
= (PyObject
*) 0 ;
12339 PyObject
* obj0
= 0 ;
12340 PyObject
* obj1
= 0 ;
12341 char *kwnames
[] = {
12342 (char *) "self",(char *) "data", NULL
12345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
12346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12347 if (SWIG_arg_fail(1)) SWIG_fail
;
12350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12351 wxImage_SetAlphaData(arg1
,arg2
);
12353 wxPyEndAllowThreads(__tstate
);
12354 if (PyErr_Occurred()) SWIG_fail
;
12356 Py_INCREF(Py_None
); resultobj
= Py_None
;
12363 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12364 PyObject
*resultobj
;
12365 wxImage
*arg1
= (wxImage
*) 0 ;
12367 PyObject
* obj0
= 0 ;
12368 char *kwnames
[] = {
12369 (char *) "self", NULL
12372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
12373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12374 if (SWIG_arg_fail(1)) SWIG_fail
;
12376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12377 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
12379 wxPyEndAllowThreads(__tstate
);
12380 if (PyErr_Occurred()) SWIG_fail
;
12382 resultobj
= result
;
12389 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12390 PyObject
*resultobj
;
12391 wxImage
*arg1
= (wxImage
*) 0 ;
12392 PyObject
*arg2
= (PyObject
*) 0 ;
12393 PyObject
* obj0
= 0 ;
12394 PyObject
* obj1
= 0 ;
12395 char *kwnames
[] = {
12396 (char *) "self",(char *) "data", NULL
12399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12401 if (SWIG_arg_fail(1)) SWIG_fail
;
12404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12405 wxImage_SetAlphaBuffer(arg1
,arg2
);
12407 wxPyEndAllowThreads(__tstate
);
12408 if (PyErr_Occurred()) SWIG_fail
;
12410 Py_INCREF(Py_None
); resultobj
= Py_None
;
12417 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12418 PyObject
*resultobj
;
12419 wxImage
*arg1
= (wxImage
*) 0 ;
12420 unsigned char arg2
;
12421 unsigned char arg3
;
12422 unsigned char arg4
;
12423 PyObject
* obj0
= 0 ;
12424 PyObject
* obj1
= 0 ;
12425 PyObject
* obj2
= 0 ;
12426 PyObject
* obj3
= 0 ;
12427 char *kwnames
[] = {
12428 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12433 if (SWIG_arg_fail(1)) SWIG_fail
;
12435 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12436 if (SWIG_arg_fail(2)) SWIG_fail
;
12439 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12440 if (SWIG_arg_fail(3)) SWIG_fail
;
12443 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12444 if (SWIG_arg_fail(4)) SWIG_fail
;
12447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12448 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
12450 wxPyEndAllowThreads(__tstate
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12453 Py_INCREF(Py_None
); resultobj
= Py_None
;
12460 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12461 PyObject
*resultobj
;
12462 wxImage
*arg1
= (wxImage
*) 0 ;
12463 unsigned char result
;
12464 PyObject
* obj0
= 0 ;
12465 char *kwnames
[] = {
12466 (char *) "self", NULL
12469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
12470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12471 if (SWIG_arg_fail(1)) SWIG_fail
;
12473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12474 result
= (unsigned char)(arg1
)->GetMaskRed();
12476 wxPyEndAllowThreads(__tstate
);
12477 if (PyErr_Occurred()) SWIG_fail
;
12480 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12488 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12489 PyObject
*resultobj
;
12490 wxImage
*arg1
= (wxImage
*) 0 ;
12491 unsigned char result
;
12492 PyObject
* obj0
= 0 ;
12493 char *kwnames
[] = {
12494 (char *) "self", NULL
12497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
12498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12499 if (SWIG_arg_fail(1)) SWIG_fail
;
12501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12502 result
= (unsigned char)(arg1
)->GetMaskGreen();
12504 wxPyEndAllowThreads(__tstate
);
12505 if (PyErr_Occurred()) SWIG_fail
;
12508 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12516 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12517 PyObject
*resultobj
;
12518 wxImage
*arg1
= (wxImage
*) 0 ;
12519 unsigned char result
;
12520 PyObject
* obj0
= 0 ;
12521 char *kwnames
[] = {
12522 (char *) "self", NULL
12525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
12526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12527 if (SWIG_arg_fail(1)) SWIG_fail
;
12529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12530 result
= (unsigned char)(arg1
)->GetMaskBlue();
12532 wxPyEndAllowThreads(__tstate
);
12533 if (PyErr_Occurred()) SWIG_fail
;
12536 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12544 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12545 PyObject
*resultobj
;
12546 wxImage
*arg1
= (wxImage
*) 0 ;
12547 bool arg2
= (bool) true ;
12548 PyObject
* obj0
= 0 ;
12549 PyObject
* obj1
= 0 ;
12550 char *kwnames
[] = {
12551 (char *) "self",(char *) "mask", NULL
12554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
12555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12556 if (SWIG_arg_fail(1)) SWIG_fail
;
12559 arg2
= (bool)(SWIG_As_bool(obj1
));
12560 if (SWIG_arg_fail(2)) SWIG_fail
;
12564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12565 (arg1
)->SetMask(arg2
);
12567 wxPyEndAllowThreads(__tstate
);
12568 if (PyErr_Occurred()) SWIG_fail
;
12570 Py_INCREF(Py_None
); resultobj
= Py_None
;
12577 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12578 PyObject
*resultobj
;
12579 wxImage
*arg1
= (wxImage
*) 0 ;
12581 PyObject
* obj0
= 0 ;
12582 char *kwnames
[] = {
12583 (char *) "self", NULL
12586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
12587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12588 if (SWIG_arg_fail(1)) SWIG_fail
;
12590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12591 result
= (bool)(arg1
)->HasMask();
12593 wxPyEndAllowThreads(__tstate
);
12594 if (PyErr_Occurred()) SWIG_fail
;
12597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12605 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12606 PyObject
*resultobj
;
12607 wxImage
*arg1
= (wxImage
*) 0 ;
12609 wxPoint
*arg3
= 0 ;
12610 bool arg4
= (bool) true ;
12611 wxPoint
*arg5
= (wxPoint
*) NULL
;
12612 SwigValueWrapper
<wxImage
> result
;
12614 PyObject
* obj0
= 0 ;
12615 PyObject
* obj1
= 0 ;
12616 PyObject
* obj2
= 0 ;
12617 PyObject
* obj3
= 0 ;
12618 PyObject
* obj4
= 0 ;
12619 char *kwnames
[] = {
12620 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
12623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12625 if (SWIG_arg_fail(1)) SWIG_fail
;
12627 arg2
= (double)(SWIG_As_double(obj1
));
12628 if (SWIG_arg_fail(2)) SWIG_fail
;
12632 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12636 arg4
= (bool)(SWIG_As_bool(obj3
));
12637 if (SWIG_arg_fail(4)) SWIG_fail
;
12641 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
12642 if (SWIG_arg_fail(5)) SWIG_fail
;
12645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12646 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
12648 wxPyEndAllowThreads(__tstate
);
12649 if (PyErr_Occurred()) SWIG_fail
;
12652 wxImage
* resultptr
;
12653 resultptr
= new wxImage((wxImage
&)(result
));
12654 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12662 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12663 PyObject
*resultobj
;
12664 wxImage
*arg1
= (wxImage
*) 0 ;
12665 bool arg2
= (bool) true ;
12666 SwigValueWrapper
<wxImage
> result
;
12667 PyObject
* obj0
= 0 ;
12668 PyObject
* obj1
= 0 ;
12669 char *kwnames
[] = {
12670 (char *) "self",(char *) "clockwise", NULL
12673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
12674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12675 if (SWIG_arg_fail(1)) SWIG_fail
;
12678 arg2
= (bool)(SWIG_As_bool(obj1
));
12679 if (SWIG_arg_fail(2)) SWIG_fail
;
12683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 result
= (arg1
)->Rotate90(arg2
);
12686 wxPyEndAllowThreads(__tstate
);
12687 if (PyErr_Occurred()) SWIG_fail
;
12690 wxImage
* resultptr
;
12691 resultptr
= new wxImage((wxImage
&)(result
));
12692 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12700 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12701 PyObject
*resultobj
;
12702 wxImage
*arg1
= (wxImage
*) 0 ;
12703 bool arg2
= (bool) true ;
12704 SwigValueWrapper
<wxImage
> result
;
12705 PyObject
* obj0
= 0 ;
12706 PyObject
* obj1
= 0 ;
12707 char *kwnames
[] = {
12708 (char *) "self",(char *) "horizontally", NULL
12711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
12712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12713 if (SWIG_arg_fail(1)) SWIG_fail
;
12716 arg2
= (bool)(SWIG_As_bool(obj1
));
12717 if (SWIG_arg_fail(2)) SWIG_fail
;
12721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12722 result
= (arg1
)->Mirror(arg2
);
12724 wxPyEndAllowThreads(__tstate
);
12725 if (PyErr_Occurred()) SWIG_fail
;
12728 wxImage
* resultptr
;
12729 resultptr
= new wxImage((wxImage
&)(result
));
12730 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12738 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12739 PyObject
*resultobj
;
12740 wxImage
*arg1
= (wxImage
*) 0 ;
12741 unsigned char arg2
;
12742 unsigned char arg3
;
12743 unsigned char arg4
;
12744 unsigned char arg5
;
12745 unsigned char arg6
;
12746 unsigned char arg7
;
12747 PyObject
* obj0
= 0 ;
12748 PyObject
* obj1
= 0 ;
12749 PyObject
* obj2
= 0 ;
12750 PyObject
* obj3
= 0 ;
12751 PyObject
* obj4
= 0 ;
12752 PyObject
* obj5
= 0 ;
12753 PyObject
* obj6
= 0 ;
12754 char *kwnames
[] = {
12755 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
12758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12760 if (SWIG_arg_fail(1)) SWIG_fail
;
12762 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12763 if (SWIG_arg_fail(2)) SWIG_fail
;
12766 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12767 if (SWIG_arg_fail(3)) SWIG_fail
;
12770 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12771 if (SWIG_arg_fail(4)) SWIG_fail
;
12774 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
12775 if (SWIG_arg_fail(5)) SWIG_fail
;
12778 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
12779 if (SWIG_arg_fail(6)) SWIG_fail
;
12782 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj6
));
12783 if (SWIG_arg_fail(7)) SWIG_fail
;
12786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12787 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12789 wxPyEndAllowThreads(__tstate
);
12790 if (PyErr_Occurred()) SWIG_fail
;
12792 Py_INCREF(Py_None
); resultobj
= Py_None
;
12799 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12800 PyObject
*resultobj
;
12801 wxImage
*arg1
= (wxImage
*) 0 ;
12802 unsigned char arg2
;
12803 unsigned char arg3
;
12804 unsigned char arg4
;
12805 SwigValueWrapper
<wxImage
> result
;
12806 PyObject
* obj0
= 0 ;
12807 PyObject
* obj1
= 0 ;
12808 PyObject
* obj2
= 0 ;
12809 PyObject
* obj3
= 0 ;
12810 char *kwnames
[] = {
12811 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12816 if (SWIG_arg_fail(1)) SWIG_fail
;
12818 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12819 if (SWIG_arg_fail(2)) SWIG_fail
;
12822 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12823 if (SWIG_arg_fail(3)) SWIG_fail
;
12826 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12827 if (SWIG_arg_fail(4)) SWIG_fail
;
12830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12831 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
12833 wxPyEndAllowThreads(__tstate
);
12834 if (PyErr_Occurred()) SWIG_fail
;
12837 wxImage
* resultptr
;
12838 resultptr
= new wxImage((wxImage
&)(result
));
12839 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12847 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12848 PyObject
*resultobj
;
12849 wxImage
*arg1
= (wxImage
*) 0 ;
12850 wxString
*arg2
= 0 ;
12851 wxString
*arg3
= 0 ;
12852 bool temp2
= false ;
12853 bool temp3
= false ;
12854 PyObject
* obj0
= 0 ;
12855 PyObject
* obj1
= 0 ;
12856 PyObject
* obj2
= 0 ;
12857 char *kwnames
[] = {
12858 (char *) "self",(char *) "name",(char *) "value", NULL
12861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12863 if (SWIG_arg_fail(1)) SWIG_fail
;
12865 arg2
= wxString_in_helper(obj1
);
12866 if (arg2
== NULL
) SWIG_fail
;
12870 arg3
= wxString_in_helper(obj2
);
12871 if (arg3
== NULL
) SWIG_fail
;
12875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12876 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12878 wxPyEndAllowThreads(__tstate
);
12879 if (PyErr_Occurred()) SWIG_fail
;
12881 Py_INCREF(Py_None
); resultobj
= Py_None
;
12904 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12905 PyObject
*resultobj
;
12906 wxImage
*arg1
= (wxImage
*) 0 ;
12907 wxString
*arg2
= 0 ;
12909 bool temp2
= false ;
12910 PyObject
* obj0
= 0 ;
12911 PyObject
* obj1
= 0 ;
12912 PyObject
* obj2
= 0 ;
12913 char *kwnames
[] = {
12914 (char *) "self",(char *) "name",(char *) "value", NULL
12917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12919 if (SWIG_arg_fail(1)) SWIG_fail
;
12921 arg2
= wxString_in_helper(obj1
);
12922 if (arg2
== NULL
) SWIG_fail
;
12926 arg3
= (int)(SWIG_As_int(obj2
));
12927 if (SWIG_arg_fail(3)) SWIG_fail
;
12930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12931 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
12933 wxPyEndAllowThreads(__tstate
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12936 Py_INCREF(Py_None
); resultobj
= Py_None
;
12951 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12952 PyObject
*resultobj
;
12953 wxImage
*arg1
= (wxImage
*) 0 ;
12954 wxString
*arg2
= 0 ;
12956 bool temp2
= false ;
12957 PyObject
* obj0
= 0 ;
12958 PyObject
* obj1
= 0 ;
12959 char *kwnames
[] = {
12960 (char *) "self",(char *) "name", NULL
12963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
12964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12965 if (SWIG_arg_fail(1)) SWIG_fail
;
12967 arg2
= wxString_in_helper(obj1
);
12968 if (arg2
== NULL
) SWIG_fail
;
12972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12973 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
12975 wxPyEndAllowThreads(__tstate
);
12976 if (PyErr_Occurred()) SWIG_fail
;
12980 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12982 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12999 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13000 PyObject
*resultobj
;
13001 wxImage
*arg1
= (wxImage
*) 0 ;
13002 wxString
*arg2
= 0 ;
13004 bool temp2
= false ;
13005 PyObject
* obj0
= 0 ;
13006 PyObject
* obj1
= 0 ;
13007 char *kwnames
[] = {
13008 (char *) "self",(char *) "name", NULL
13011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13013 if (SWIG_arg_fail(1)) SWIG_fail
;
13015 arg2
= wxString_in_helper(obj1
);
13016 if (arg2
== NULL
) SWIG_fail
;
13020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13021 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
13023 wxPyEndAllowThreads(__tstate
);
13024 if (PyErr_Occurred()) SWIG_fail
;
13027 resultobj
= SWIG_From_int((int)(result
));
13043 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13044 PyObject
*resultobj
;
13045 wxImage
*arg1
= (wxImage
*) 0 ;
13046 wxString
*arg2
= 0 ;
13048 bool temp2
= false ;
13049 PyObject
* obj0
= 0 ;
13050 PyObject
* obj1
= 0 ;
13051 char *kwnames
[] = {
13052 (char *) "self",(char *) "name", NULL
13055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13057 if (SWIG_arg_fail(1)) SWIG_fail
;
13059 arg2
= wxString_in_helper(obj1
);
13060 if (arg2
== NULL
) SWIG_fail
;
13064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13065 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13067 wxPyEndAllowThreads(__tstate
);
13068 if (PyErr_Occurred()) SWIG_fail
;
13071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13087 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13088 PyObject
*resultobj
;
13089 wxImage
*arg1
= (wxImage
*) 0 ;
13090 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13091 unsigned long result
;
13092 PyObject
* obj0
= 0 ;
13093 PyObject
* obj1
= 0 ;
13094 char *kwnames
[] = {
13095 (char *) "self",(char *) "stopafter", NULL
13098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13100 if (SWIG_arg_fail(1)) SWIG_fail
;
13103 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13104 if (SWIG_arg_fail(2)) SWIG_fail
;
13108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13109 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13111 wxPyEndAllowThreads(__tstate
);
13112 if (PyErr_Occurred()) SWIG_fail
;
13115 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13123 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13124 PyObject
*resultobj
;
13125 wxImage
*arg1
= (wxImage
*) 0 ;
13126 wxImageHistogram
*arg2
= 0 ;
13127 unsigned long result
;
13128 PyObject
* obj0
= 0 ;
13129 PyObject
* obj1
= 0 ;
13130 char *kwnames
[] = {
13131 (char *) "self",(char *) "h", NULL
13134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13136 if (SWIG_arg_fail(1)) SWIG_fail
;
13138 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13139 if (SWIG_arg_fail(2)) SWIG_fail
;
13140 if (arg2
== NULL
) {
13141 SWIG_null_ref("wxImageHistogram");
13143 if (SWIG_arg_fail(2)) SWIG_fail
;
13146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13147 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
13149 wxPyEndAllowThreads(__tstate
);
13150 if (PyErr_Occurred()) SWIG_fail
;
13153 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13161 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13162 PyObject
*resultobj
;
13163 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13164 PyObject
* obj0
= 0 ;
13165 char *kwnames
[] = {
13166 (char *) "handler", NULL
13169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
13170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13171 if (SWIG_arg_fail(1)) SWIG_fail
;
13173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13174 wxImage::AddHandler(arg1
);
13176 wxPyEndAllowThreads(__tstate
);
13177 if (PyErr_Occurred()) SWIG_fail
;
13179 Py_INCREF(Py_None
); resultobj
= Py_None
;
13186 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13187 PyObject
*resultobj
;
13188 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13189 PyObject
* obj0
= 0 ;
13190 char *kwnames
[] = {
13191 (char *) "handler", NULL
13194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
13195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13196 if (SWIG_arg_fail(1)) SWIG_fail
;
13198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13199 wxImage::InsertHandler(arg1
);
13201 wxPyEndAllowThreads(__tstate
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13204 Py_INCREF(Py_None
); resultobj
= Py_None
;
13211 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13212 PyObject
*resultobj
;
13213 wxString
*arg1
= 0 ;
13215 bool temp1
= false ;
13216 PyObject
* obj0
= 0 ;
13217 char *kwnames
[] = {
13218 (char *) "name", NULL
13221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
13223 arg1
= wxString_in_helper(obj0
);
13224 if (arg1
== NULL
) SWIG_fail
;
13228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13229 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
13231 wxPyEndAllowThreads(__tstate
);
13232 if (PyErr_Occurred()) SWIG_fail
;
13235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13251 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13252 PyObject
*resultobj
;
13254 char *kwnames
[] = {
13258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
13260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13261 result
= wxImage::GetImageExtWildcard();
13263 wxPyEndAllowThreads(__tstate
);
13264 if (PyErr_Occurred()) SWIG_fail
;
13268 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13270 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13279 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13280 PyObject
*resultobj
;
13281 wxImage
*arg1
= (wxImage
*) 0 ;
13282 int arg2
= (int) -1 ;
13284 PyObject
* obj0
= 0 ;
13285 PyObject
* obj1
= 0 ;
13286 char *kwnames
[] = {
13287 (char *) "self",(char *) "depth", NULL
13290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13292 if (SWIG_arg_fail(1)) SWIG_fail
;
13295 arg2
= (int)(SWIG_As_int(obj1
));
13296 if (SWIG_arg_fail(2)) SWIG_fail
;
13300 if (!wxPyCheckForApp()) SWIG_fail
;
13301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13302 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
13304 wxPyEndAllowThreads(__tstate
);
13305 if (PyErr_Occurred()) SWIG_fail
;
13308 wxBitmap
* resultptr
;
13309 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13310 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13318 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13319 PyObject
*resultobj
;
13320 wxImage
*arg1
= (wxImage
*) 0 ;
13321 unsigned char arg2
;
13322 unsigned char arg3
;
13323 unsigned char arg4
;
13325 PyObject
* obj0
= 0 ;
13326 PyObject
* obj1
= 0 ;
13327 PyObject
* obj2
= 0 ;
13328 PyObject
* obj3
= 0 ;
13329 char *kwnames
[] = {
13330 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13335 if (SWIG_arg_fail(1)) SWIG_fail
;
13337 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13338 if (SWIG_arg_fail(2)) SWIG_fail
;
13341 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13342 if (SWIG_arg_fail(3)) SWIG_fail
;
13345 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13346 if (SWIG_arg_fail(4)) SWIG_fail
;
13349 if (!wxPyCheckForApp()) SWIG_fail
;
13350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13351 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
13353 wxPyEndAllowThreads(__tstate
);
13354 if (PyErr_Occurred()) SWIG_fail
;
13357 wxBitmap
* resultptr
;
13358 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13359 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13367 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
13369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13370 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
13372 return Py_BuildValue((char *)"");
13374 static int _wrap_NullImage_set(PyObject
*) {
13375 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
13380 static PyObject
*_wrap_NullImage_get(void) {
13383 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
13388 static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject
*) {
13389 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
13394 static PyObject
*_wrap_IMAGE_OPTION_FILENAME_get(void) {
13399 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13401 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13408 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
13409 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13414 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13419 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13421 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13428 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
13429 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13434 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13439 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13441 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13448 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
13449 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13454 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13459 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13461 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13468 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
13469 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13474 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13479 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13481 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13488 static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
13489 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
13494 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
13499 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13501 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13508 static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
13509 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
13514 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
13519 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13521 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13528 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
13529 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
13534 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
13539 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13541 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13548 static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject
*) {
13549 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
13554 static PyObject
*_wrap_IMAGE_OPTION_QUALITY_get(void) {
13559 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
13561 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
13568 static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
13569 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
13574 static PyObject
*_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
13579 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
13581 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
13588 static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
13589 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
13594 static PyObject
*_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
13599 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
13601 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
13608 static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
13609 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
13614 static PyObject
*_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
13619 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
13621 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
13628 static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
13629 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
13634 static PyObject
*_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
13639 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
13641 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
13648 static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
13649 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
13654 static PyObject
*_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) {
13659 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
13661 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
13668 static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
13669 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
13674 static PyObject
*_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) {
13679 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
13681 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
13688 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13689 PyObject
*resultobj
;
13690 wxBMPHandler
*result
;
13691 char *kwnames
[] = {
13695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
13697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13698 result
= (wxBMPHandler
*)new wxBMPHandler();
13700 wxPyEndAllowThreads(__tstate
);
13701 if (PyErr_Occurred()) SWIG_fail
;
13703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
13710 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
13712 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13713 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
13715 return Py_BuildValue((char *)"");
13717 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13718 PyObject
*resultobj
;
13719 wxICOHandler
*result
;
13720 char *kwnames
[] = {
13724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
13726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13727 result
= (wxICOHandler
*)new wxICOHandler();
13729 wxPyEndAllowThreads(__tstate
);
13730 if (PyErr_Occurred()) SWIG_fail
;
13732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
13739 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
13741 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13742 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
13744 return Py_BuildValue((char *)"");
13746 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13747 PyObject
*resultobj
;
13748 wxCURHandler
*result
;
13749 char *kwnames
[] = {
13753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
13755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13756 result
= (wxCURHandler
*)new wxCURHandler();
13758 wxPyEndAllowThreads(__tstate
);
13759 if (PyErr_Occurred()) SWIG_fail
;
13761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
13768 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
13770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13771 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
13773 return Py_BuildValue((char *)"");
13775 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13776 PyObject
*resultobj
;
13777 wxANIHandler
*result
;
13778 char *kwnames
[] = {
13782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
13784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13785 result
= (wxANIHandler
*)new wxANIHandler();
13787 wxPyEndAllowThreads(__tstate
);
13788 if (PyErr_Occurred()) SWIG_fail
;
13790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
13797 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
13799 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13800 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
13802 return Py_BuildValue((char *)"");
13804 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13805 PyObject
*resultobj
;
13806 wxPNGHandler
*result
;
13807 char *kwnames
[] = {
13811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
13813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13814 result
= (wxPNGHandler
*)new wxPNGHandler();
13816 wxPyEndAllowThreads(__tstate
);
13817 if (PyErr_Occurred()) SWIG_fail
;
13819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
13826 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
13828 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13829 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
13831 return Py_BuildValue((char *)"");
13833 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13834 PyObject
*resultobj
;
13835 wxGIFHandler
*result
;
13836 char *kwnames
[] = {
13840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
13842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13843 result
= (wxGIFHandler
*)new wxGIFHandler();
13845 wxPyEndAllowThreads(__tstate
);
13846 if (PyErr_Occurred()) SWIG_fail
;
13848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
13855 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
13857 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13858 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
13860 return Py_BuildValue((char *)"");
13862 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13863 PyObject
*resultobj
;
13864 wxPCXHandler
*result
;
13865 char *kwnames
[] = {
13869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
13871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13872 result
= (wxPCXHandler
*)new wxPCXHandler();
13874 wxPyEndAllowThreads(__tstate
);
13875 if (PyErr_Occurred()) SWIG_fail
;
13877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
13884 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
13886 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13887 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
13889 return Py_BuildValue((char *)"");
13891 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13892 PyObject
*resultobj
;
13893 wxJPEGHandler
*result
;
13894 char *kwnames
[] = {
13898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
13900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13901 result
= (wxJPEGHandler
*)new wxJPEGHandler();
13903 wxPyEndAllowThreads(__tstate
);
13904 if (PyErr_Occurred()) SWIG_fail
;
13906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
13913 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
13915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13916 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
13918 return Py_BuildValue((char *)"");
13920 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13921 PyObject
*resultobj
;
13922 wxPNMHandler
*result
;
13923 char *kwnames
[] = {
13927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
13929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13930 result
= (wxPNMHandler
*)new wxPNMHandler();
13932 wxPyEndAllowThreads(__tstate
);
13933 if (PyErr_Occurred()) SWIG_fail
;
13935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
13942 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
13944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13945 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
13947 return Py_BuildValue((char *)"");
13949 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13950 PyObject
*resultobj
;
13951 wxXPMHandler
*result
;
13952 char *kwnames
[] = {
13956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
13958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13959 result
= (wxXPMHandler
*)new wxXPMHandler();
13961 wxPyEndAllowThreads(__tstate
);
13962 if (PyErr_Occurred()) SWIG_fail
;
13964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
13971 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
13973 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13974 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
13976 return Py_BuildValue((char *)"");
13978 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13979 PyObject
*resultobj
;
13980 wxTIFFHandler
*result
;
13981 char *kwnames
[] = {
13985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
13987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13988 result
= (wxTIFFHandler
*)new wxTIFFHandler();
13990 wxPyEndAllowThreads(__tstate
);
13991 if (PyErr_Occurred()) SWIG_fail
;
13993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
14000 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
14002 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14003 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
14005 return Py_BuildValue((char *)"");
14007 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14008 PyObject
*resultobj
;
14009 wxImage
*arg1
= 0 ;
14010 wxImage
*arg2
= 0 ;
14011 int arg3
= (int) 236 ;
14012 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
14014 PyObject
* obj0
= 0 ;
14015 PyObject
* obj1
= 0 ;
14016 PyObject
* obj2
= 0 ;
14017 PyObject
* obj3
= 0 ;
14018 char *kwnames
[] = {
14019 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
14022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14025 if (SWIG_arg_fail(1)) SWIG_fail
;
14026 if (arg1
== NULL
) {
14027 SWIG_null_ref("wxImage");
14029 if (SWIG_arg_fail(1)) SWIG_fail
;
14032 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14033 if (SWIG_arg_fail(2)) SWIG_fail
;
14034 if (arg2
== NULL
) {
14035 SWIG_null_ref("wxImage");
14037 if (SWIG_arg_fail(2)) SWIG_fail
;
14041 arg3
= (int)(SWIG_As_int(obj2
));
14042 if (SWIG_arg_fail(3)) SWIG_fail
;
14047 arg4
= (int)(SWIG_As_int(obj3
));
14048 if (SWIG_arg_fail(4)) SWIG_fail
;
14052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14053 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
14055 wxPyEndAllowThreads(__tstate
);
14056 if (PyErr_Occurred()) SWIG_fail
;
14059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14067 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
14069 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14070 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
14072 return Py_BuildValue((char *)"");
14074 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14075 PyObject
*resultobj
;
14076 wxEvtHandler
*result
;
14077 char *kwnames
[] = {
14081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
14083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14084 result
= (wxEvtHandler
*)new wxEvtHandler();
14086 wxPyEndAllowThreads(__tstate
);
14087 if (PyErr_Occurred()) SWIG_fail
;
14089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
14096 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14097 PyObject
*resultobj
;
14098 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14099 wxEvtHandler
*result
;
14100 PyObject
* obj0
= 0 ;
14101 char *kwnames
[] = {
14102 (char *) "self", NULL
14105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
14106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14107 if (SWIG_arg_fail(1)) SWIG_fail
;
14109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14110 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
14112 wxPyEndAllowThreads(__tstate
);
14113 if (PyErr_Occurred()) SWIG_fail
;
14116 resultobj
= wxPyMake_wxObject(result
, 0);
14124 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14125 PyObject
*resultobj
;
14126 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14127 wxEvtHandler
*result
;
14128 PyObject
* obj0
= 0 ;
14129 char *kwnames
[] = {
14130 (char *) "self", NULL
14133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
14134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14135 if (SWIG_arg_fail(1)) SWIG_fail
;
14137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14138 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
14140 wxPyEndAllowThreads(__tstate
);
14141 if (PyErr_Occurred()) SWIG_fail
;
14144 resultobj
= wxPyMake_wxObject(result
, 0);
14152 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14153 PyObject
*resultobj
;
14154 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14155 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14156 PyObject
* obj0
= 0 ;
14157 PyObject
* obj1
= 0 ;
14158 char *kwnames
[] = {
14159 (char *) "self",(char *) "handler", NULL
14162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14164 if (SWIG_arg_fail(1)) SWIG_fail
;
14165 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14166 if (SWIG_arg_fail(2)) SWIG_fail
;
14168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14169 (arg1
)->SetNextHandler(arg2
);
14171 wxPyEndAllowThreads(__tstate
);
14172 if (PyErr_Occurred()) SWIG_fail
;
14174 Py_INCREF(Py_None
); resultobj
= Py_None
;
14181 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14182 PyObject
*resultobj
;
14183 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14184 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14185 PyObject
* obj0
= 0 ;
14186 PyObject
* obj1
= 0 ;
14187 char *kwnames
[] = {
14188 (char *) "self",(char *) "handler", NULL
14191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14193 if (SWIG_arg_fail(1)) SWIG_fail
;
14194 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14195 if (SWIG_arg_fail(2)) SWIG_fail
;
14197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14198 (arg1
)->SetPreviousHandler(arg2
);
14200 wxPyEndAllowThreads(__tstate
);
14201 if (PyErr_Occurred()) SWIG_fail
;
14203 Py_INCREF(Py_None
); resultobj
= Py_None
;
14210 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14211 PyObject
*resultobj
;
14212 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14214 PyObject
* obj0
= 0 ;
14215 char *kwnames
[] = {
14216 (char *) "self", NULL
14219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
14220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14221 if (SWIG_arg_fail(1)) SWIG_fail
;
14223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14224 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
14226 wxPyEndAllowThreads(__tstate
);
14227 if (PyErr_Occurred()) SWIG_fail
;
14230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14238 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14239 PyObject
*resultobj
;
14240 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14242 PyObject
* obj0
= 0 ;
14243 PyObject
* obj1
= 0 ;
14244 char *kwnames
[] = {
14245 (char *) "self",(char *) "enabled", NULL
14248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
14249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14250 if (SWIG_arg_fail(1)) SWIG_fail
;
14252 arg2
= (bool)(SWIG_As_bool(obj1
));
14253 if (SWIG_arg_fail(2)) SWIG_fail
;
14256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14257 (arg1
)->SetEvtHandlerEnabled(arg2
);
14259 wxPyEndAllowThreads(__tstate
);
14260 if (PyErr_Occurred()) SWIG_fail
;
14262 Py_INCREF(Py_None
); resultobj
= Py_None
;
14269 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14270 PyObject
*resultobj
;
14271 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14272 wxEvent
*arg2
= 0 ;
14274 PyObject
* obj0
= 0 ;
14275 PyObject
* obj1
= 0 ;
14276 char *kwnames
[] = {
14277 (char *) "self",(char *) "event", NULL
14280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14282 if (SWIG_arg_fail(1)) SWIG_fail
;
14284 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14285 if (SWIG_arg_fail(2)) SWIG_fail
;
14286 if (arg2
== NULL
) {
14287 SWIG_null_ref("wxEvent");
14289 if (SWIG_arg_fail(2)) SWIG_fail
;
14292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14293 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
14295 wxPyEndAllowThreads(__tstate
);
14296 if (PyErr_Occurred()) SWIG_fail
;
14299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14307 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14308 PyObject
*resultobj
;
14309 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14310 wxEvent
*arg2
= 0 ;
14311 PyObject
* obj0
= 0 ;
14312 PyObject
* obj1
= 0 ;
14313 char *kwnames
[] = {
14314 (char *) "self",(char *) "event", NULL
14317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14319 if (SWIG_arg_fail(1)) SWIG_fail
;
14321 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14322 if (SWIG_arg_fail(2)) SWIG_fail
;
14323 if (arg2
== NULL
) {
14324 SWIG_null_ref("wxEvent");
14326 if (SWIG_arg_fail(2)) SWIG_fail
;
14329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14330 (arg1
)->AddPendingEvent(*arg2
);
14332 wxPyEndAllowThreads(__tstate
);
14333 if (PyErr_Occurred()) SWIG_fail
;
14335 Py_INCREF(Py_None
); resultobj
= Py_None
;
14342 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14343 PyObject
*resultobj
;
14344 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14345 PyObject
* obj0
= 0 ;
14346 char *kwnames
[] = {
14347 (char *) "self", NULL
14350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
14351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14352 if (SWIG_arg_fail(1)) SWIG_fail
;
14354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14355 (arg1
)->ProcessPendingEvents();
14357 wxPyEndAllowThreads(__tstate
);
14358 if (PyErr_Occurred()) SWIG_fail
;
14360 Py_INCREF(Py_None
); resultobj
= Py_None
;
14367 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14368 PyObject
*resultobj
;
14369 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14373 PyObject
*arg5
= (PyObject
*) 0 ;
14374 PyObject
* obj0
= 0 ;
14375 PyObject
* obj1
= 0 ;
14376 PyObject
* obj2
= 0 ;
14377 PyObject
* obj3
= 0 ;
14378 PyObject
* obj4
= 0 ;
14379 char *kwnames
[] = {
14380 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14385 if (SWIG_arg_fail(1)) SWIG_fail
;
14387 arg2
= (int)(SWIG_As_int(obj1
));
14388 if (SWIG_arg_fail(2)) SWIG_fail
;
14391 arg3
= (int)(SWIG_As_int(obj2
));
14392 if (SWIG_arg_fail(3)) SWIG_fail
;
14395 arg4
= (int)(SWIG_As_int(obj3
));
14396 if (SWIG_arg_fail(4)) SWIG_fail
;
14400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14401 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
14403 wxPyEndAllowThreads(__tstate
);
14404 if (PyErr_Occurred()) SWIG_fail
;
14406 Py_INCREF(Py_None
); resultobj
= Py_None
;
14413 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14414 PyObject
*resultobj
;
14415 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14417 int arg3
= (int) -1 ;
14418 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
14420 PyObject
* obj0
= 0 ;
14421 PyObject
* obj1
= 0 ;
14422 PyObject
* obj2
= 0 ;
14423 PyObject
* obj3
= 0 ;
14424 char *kwnames
[] = {
14425 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14430 if (SWIG_arg_fail(1)) SWIG_fail
;
14432 arg2
= (int)(SWIG_As_int(obj1
));
14433 if (SWIG_arg_fail(2)) SWIG_fail
;
14437 arg3
= (int)(SWIG_As_int(obj2
));
14438 if (SWIG_arg_fail(3)) SWIG_fail
;
14443 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
14444 if (SWIG_arg_fail(4)) SWIG_fail
;
14448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14449 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
14451 wxPyEndAllowThreads(__tstate
);
14452 if (PyErr_Occurred()) SWIG_fail
;
14455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14463 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14464 PyObject
*resultobj
;
14465 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14466 PyObject
*arg2
= (PyObject
*) 0 ;
14467 bool arg3
= (bool) true ;
14468 PyObject
* obj0
= 0 ;
14469 PyObject
* obj1
= 0 ;
14470 PyObject
* obj2
= 0 ;
14471 char *kwnames
[] = {
14472 (char *) "self",(char *) "_self",(char *) "incref", NULL
14475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14477 if (SWIG_arg_fail(1)) SWIG_fail
;
14481 arg3
= (bool)(SWIG_As_bool(obj2
));
14482 if (SWIG_arg_fail(3)) SWIG_fail
;
14486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14487 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
14489 wxPyEndAllowThreads(__tstate
);
14490 if (PyErr_Occurred()) SWIG_fail
;
14492 Py_INCREF(Py_None
); resultobj
= Py_None
;
14499 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
14501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14502 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
14504 return Py_BuildValue((char *)"");
14506 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14507 PyObject
*resultobj
;
14508 wxEventType result
;
14509 char *kwnames
[] = {
14513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
14515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14516 result
= (wxEventType
)wxNewEventType();
14518 wxPyEndAllowThreads(__tstate
);
14519 if (PyErr_Occurred()) SWIG_fail
;
14522 resultobj
= SWIG_From_int((int)(result
));
14530 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14531 PyObject
*resultobj
;
14532 wxEvent
*arg1
= (wxEvent
*) 0 ;
14533 PyObject
* obj0
= 0 ;
14534 char *kwnames
[] = {
14535 (char *) "self", NULL
14538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
14539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14540 if (SWIG_arg_fail(1)) SWIG_fail
;
14542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14545 wxPyEndAllowThreads(__tstate
);
14546 if (PyErr_Occurred()) SWIG_fail
;
14548 Py_INCREF(Py_None
); resultobj
= Py_None
;
14555 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14556 PyObject
*resultobj
;
14557 wxEvent
*arg1
= (wxEvent
*) 0 ;
14559 PyObject
* obj0
= 0 ;
14560 PyObject
* obj1
= 0 ;
14561 char *kwnames
[] = {
14562 (char *) "self",(char *) "typ", NULL
14565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
14566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14567 if (SWIG_arg_fail(1)) SWIG_fail
;
14569 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
14570 if (SWIG_arg_fail(2)) SWIG_fail
;
14573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14574 (arg1
)->SetEventType(arg2
);
14576 wxPyEndAllowThreads(__tstate
);
14577 if (PyErr_Occurred()) SWIG_fail
;
14579 Py_INCREF(Py_None
); resultobj
= Py_None
;
14586 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14587 PyObject
*resultobj
;
14588 wxEvent
*arg1
= (wxEvent
*) 0 ;
14589 wxEventType result
;
14590 PyObject
* obj0
= 0 ;
14591 char *kwnames
[] = {
14592 (char *) "self", NULL
14595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
14596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14597 if (SWIG_arg_fail(1)) SWIG_fail
;
14599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14600 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
14602 wxPyEndAllowThreads(__tstate
);
14603 if (PyErr_Occurred()) SWIG_fail
;
14606 resultobj
= SWIG_From_int((int)(result
));
14614 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14615 PyObject
*resultobj
;
14616 wxEvent
*arg1
= (wxEvent
*) 0 ;
14618 PyObject
* obj0
= 0 ;
14619 char *kwnames
[] = {
14620 (char *) "self", NULL
14623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
14624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14625 if (SWIG_arg_fail(1)) SWIG_fail
;
14627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14628 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
14630 wxPyEndAllowThreads(__tstate
);
14631 if (PyErr_Occurred()) SWIG_fail
;
14634 resultobj
= wxPyMake_wxObject(result
, 0);
14642 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14643 PyObject
*resultobj
;
14644 wxEvent
*arg1
= (wxEvent
*) 0 ;
14645 wxObject
*arg2
= (wxObject
*) 0 ;
14646 PyObject
* obj0
= 0 ;
14647 PyObject
* obj1
= 0 ;
14648 char *kwnames
[] = {
14649 (char *) "self",(char *) "obj", NULL
14652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
14653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14654 if (SWIG_arg_fail(1)) SWIG_fail
;
14655 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
14656 if (SWIG_arg_fail(2)) SWIG_fail
;
14658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14659 (arg1
)->SetEventObject(arg2
);
14661 wxPyEndAllowThreads(__tstate
);
14662 if (PyErr_Occurred()) SWIG_fail
;
14664 Py_INCREF(Py_None
); resultobj
= Py_None
;
14671 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14672 PyObject
*resultobj
;
14673 wxEvent
*arg1
= (wxEvent
*) 0 ;
14675 PyObject
* obj0
= 0 ;
14676 char *kwnames
[] = {
14677 (char *) "self", NULL
14680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
14681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14682 if (SWIG_arg_fail(1)) SWIG_fail
;
14684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14685 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
14687 wxPyEndAllowThreads(__tstate
);
14688 if (PyErr_Occurred()) SWIG_fail
;
14691 resultobj
= SWIG_From_long((long)(result
));
14699 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14700 PyObject
*resultobj
;
14701 wxEvent
*arg1
= (wxEvent
*) 0 ;
14702 long arg2
= (long) 0 ;
14703 PyObject
* obj0
= 0 ;
14704 PyObject
* obj1
= 0 ;
14705 char *kwnames
[] = {
14706 (char *) "self",(char *) "ts", NULL
14709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
14710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14711 if (SWIG_arg_fail(1)) SWIG_fail
;
14714 arg2
= (long)(SWIG_As_long(obj1
));
14715 if (SWIG_arg_fail(2)) SWIG_fail
;
14719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14720 (arg1
)->SetTimestamp(arg2
);
14722 wxPyEndAllowThreads(__tstate
);
14723 if (PyErr_Occurred()) SWIG_fail
;
14725 Py_INCREF(Py_None
); resultobj
= Py_None
;
14732 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14733 PyObject
*resultobj
;
14734 wxEvent
*arg1
= (wxEvent
*) 0 ;
14736 PyObject
* obj0
= 0 ;
14737 char *kwnames
[] = {
14738 (char *) "self", NULL
14741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
14742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14743 if (SWIG_arg_fail(1)) SWIG_fail
;
14745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14746 result
= (int)((wxEvent
const *)arg1
)->GetId();
14748 wxPyEndAllowThreads(__tstate
);
14749 if (PyErr_Occurred()) SWIG_fail
;
14752 resultobj
= SWIG_From_int((int)(result
));
14760 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14761 PyObject
*resultobj
;
14762 wxEvent
*arg1
= (wxEvent
*) 0 ;
14764 PyObject
* obj0
= 0 ;
14765 PyObject
* obj1
= 0 ;
14766 char *kwnames
[] = {
14767 (char *) "self",(char *) "Id", NULL
14770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
14771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14772 if (SWIG_arg_fail(1)) SWIG_fail
;
14774 arg2
= (int)(SWIG_As_int(obj1
));
14775 if (SWIG_arg_fail(2)) SWIG_fail
;
14778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14779 (arg1
)->SetId(arg2
);
14781 wxPyEndAllowThreads(__tstate
);
14782 if (PyErr_Occurred()) SWIG_fail
;
14784 Py_INCREF(Py_None
); resultobj
= Py_None
;
14791 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14792 PyObject
*resultobj
;
14793 wxEvent
*arg1
= (wxEvent
*) 0 ;
14795 PyObject
* obj0
= 0 ;
14796 char *kwnames
[] = {
14797 (char *) "self", NULL
14800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
14801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14802 if (SWIG_arg_fail(1)) SWIG_fail
;
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14819 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14820 PyObject
*resultobj
;
14821 wxEvent
*arg1
= (wxEvent
*) 0 ;
14822 bool arg2
= (bool) true ;
14823 PyObject
* obj0
= 0 ;
14824 PyObject
* obj1
= 0 ;
14825 char *kwnames
[] = {
14826 (char *) "self",(char *) "skip", NULL
14829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
14830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14831 if (SWIG_arg_fail(1)) SWIG_fail
;
14834 arg2
= (bool)(SWIG_As_bool(obj1
));
14835 if (SWIG_arg_fail(2)) SWIG_fail
;
14839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14840 (arg1
)->Skip(arg2
);
14842 wxPyEndAllowThreads(__tstate
);
14843 if (PyErr_Occurred()) SWIG_fail
;
14845 Py_INCREF(Py_None
); resultobj
= Py_None
;
14852 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14853 PyObject
*resultobj
;
14854 wxEvent
*arg1
= (wxEvent
*) 0 ;
14856 PyObject
* obj0
= 0 ;
14857 char *kwnames
[] = {
14858 (char *) "self", NULL
14861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
14862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14863 if (SWIG_arg_fail(1)) SWIG_fail
;
14865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14866 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
14868 wxPyEndAllowThreads(__tstate
);
14869 if (PyErr_Occurred()) SWIG_fail
;
14872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14880 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14881 PyObject
*resultobj
;
14882 wxEvent
*arg1
= (wxEvent
*) 0 ;
14884 PyObject
* obj0
= 0 ;
14885 char *kwnames
[] = {
14886 (char *) "self", NULL
14889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
14890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14891 if (SWIG_arg_fail(1)) SWIG_fail
;
14893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14894 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
14896 wxPyEndAllowThreads(__tstate
);
14897 if (PyErr_Occurred()) SWIG_fail
;
14900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14908 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14909 PyObject
*resultobj
;
14910 wxEvent
*arg1
= (wxEvent
*) 0 ;
14912 PyObject
* obj0
= 0 ;
14913 char *kwnames
[] = {
14914 (char *) "self", NULL
14917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
14918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14919 if (SWIG_arg_fail(1)) SWIG_fail
;
14921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14922 result
= (int)(arg1
)->StopPropagation();
14924 wxPyEndAllowThreads(__tstate
);
14925 if (PyErr_Occurred()) SWIG_fail
;
14928 resultobj
= SWIG_From_int((int)(result
));
14936 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14937 PyObject
*resultobj
;
14938 wxEvent
*arg1
= (wxEvent
*) 0 ;
14940 PyObject
* obj0
= 0 ;
14941 PyObject
* obj1
= 0 ;
14942 char *kwnames
[] = {
14943 (char *) "self",(char *) "propagationLevel", NULL
14946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
14947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14948 if (SWIG_arg_fail(1)) SWIG_fail
;
14950 arg2
= (int)(SWIG_As_int(obj1
));
14951 if (SWIG_arg_fail(2)) SWIG_fail
;
14954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14955 (arg1
)->ResumePropagation(arg2
);
14957 wxPyEndAllowThreads(__tstate
);
14958 if (PyErr_Occurred()) SWIG_fail
;
14960 Py_INCREF(Py_None
); resultobj
= Py_None
;
14967 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14968 PyObject
*resultobj
;
14969 wxEvent
*arg1
= (wxEvent
*) 0 ;
14971 PyObject
* obj0
= 0 ;
14972 char *kwnames
[] = {
14973 (char *) "self", NULL
14976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
14977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14978 if (SWIG_arg_fail(1)) SWIG_fail
;
14980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14981 result
= (wxEvent
*)(arg1
)->Clone();
14983 wxPyEndAllowThreads(__tstate
);
14984 if (PyErr_Occurred()) SWIG_fail
;
14986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
14993 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
14995 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14996 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
14998 return Py_BuildValue((char *)"");
15000 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15001 PyObject
*resultobj
;
15002 wxEvent
*arg1
= 0 ;
15003 wxPropagationDisabler
*result
;
15004 PyObject
* obj0
= 0 ;
15005 char *kwnames
[] = {
15006 (char *) "event", NULL
15009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15012 if (SWIG_arg_fail(1)) SWIG_fail
;
15013 if (arg1
== NULL
) {
15014 SWIG_null_ref("wxEvent");
15016 if (SWIG_arg_fail(1)) SWIG_fail
;
15019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15020 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
15022 wxPyEndAllowThreads(__tstate
);
15023 if (PyErr_Occurred()) SWIG_fail
;
15025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
15032 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15033 PyObject
*resultobj
;
15034 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
15035 PyObject
* obj0
= 0 ;
15036 char *kwnames
[] = {
15037 (char *) "self", NULL
15040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
15042 if (SWIG_arg_fail(1)) SWIG_fail
;
15044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15047 wxPyEndAllowThreads(__tstate
);
15048 if (PyErr_Occurred()) SWIG_fail
;
15050 Py_INCREF(Py_None
); resultobj
= Py_None
;
15057 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
15059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15060 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
15062 return Py_BuildValue((char *)"");
15064 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15065 PyObject
*resultobj
;
15066 wxEvent
*arg1
= 0 ;
15067 wxPropagateOnce
*result
;
15068 PyObject
* obj0
= 0 ;
15069 char *kwnames
[] = {
15070 (char *) "event", NULL
15073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15076 if (SWIG_arg_fail(1)) SWIG_fail
;
15077 if (arg1
== NULL
) {
15078 SWIG_null_ref("wxEvent");
15080 if (SWIG_arg_fail(1)) SWIG_fail
;
15083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15084 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
15086 wxPyEndAllowThreads(__tstate
);
15087 if (PyErr_Occurred()) SWIG_fail
;
15089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
15096 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15097 PyObject
*resultobj
;
15098 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
15099 PyObject
* obj0
= 0 ;
15100 char *kwnames
[] = {
15101 (char *) "self", NULL
15104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
15106 if (SWIG_arg_fail(1)) SWIG_fail
;
15108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15111 wxPyEndAllowThreads(__tstate
);
15112 if (PyErr_Occurred()) SWIG_fail
;
15114 Py_INCREF(Py_None
); resultobj
= Py_None
;
15121 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
15123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15124 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
15126 return Py_BuildValue((char *)"");
15128 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15129 PyObject
*resultobj
;
15130 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15131 int arg2
= (int) 0 ;
15132 wxCommandEvent
*result
;
15133 PyObject
* obj0
= 0 ;
15134 PyObject
* obj1
= 0 ;
15135 char *kwnames
[] = {
15136 (char *) "commandType",(char *) "winid", NULL
15139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15142 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15143 if (SWIG_arg_fail(1)) SWIG_fail
;
15148 arg2
= (int)(SWIG_As_int(obj1
));
15149 if (SWIG_arg_fail(2)) SWIG_fail
;
15153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15154 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
15156 wxPyEndAllowThreads(__tstate
);
15157 if (PyErr_Occurred()) SWIG_fail
;
15159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
15166 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15167 PyObject
*resultobj
;
15168 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15170 PyObject
* obj0
= 0 ;
15171 char *kwnames
[] = {
15172 (char *) "self", NULL
15175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15177 if (SWIG_arg_fail(1)) SWIG_fail
;
15179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15180 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
15182 wxPyEndAllowThreads(__tstate
);
15183 if (PyErr_Occurred()) SWIG_fail
;
15186 resultobj
= SWIG_From_int((int)(result
));
15194 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15195 PyObject
*resultobj
;
15196 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15197 wxString
*arg2
= 0 ;
15198 bool temp2
= false ;
15199 PyObject
* obj0
= 0 ;
15200 PyObject
* obj1
= 0 ;
15201 char *kwnames
[] = {
15202 (char *) "self",(char *) "s", NULL
15205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
15206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15207 if (SWIG_arg_fail(1)) SWIG_fail
;
15209 arg2
= wxString_in_helper(obj1
);
15210 if (arg2
== NULL
) SWIG_fail
;
15214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15215 (arg1
)->SetString((wxString
const &)*arg2
);
15217 wxPyEndAllowThreads(__tstate
);
15218 if (PyErr_Occurred()) SWIG_fail
;
15220 Py_INCREF(Py_None
); resultobj
= Py_None
;
15235 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15236 PyObject
*resultobj
;
15237 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15239 PyObject
* obj0
= 0 ;
15240 char *kwnames
[] = {
15241 (char *) "self", NULL
15244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
15245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15246 if (SWIG_arg_fail(1)) SWIG_fail
;
15248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15249 result
= ((wxCommandEvent
const *)arg1
)->GetString();
15251 wxPyEndAllowThreads(__tstate
);
15252 if (PyErr_Occurred()) SWIG_fail
;
15256 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15258 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15267 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15268 PyObject
*resultobj
;
15269 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15271 PyObject
* obj0
= 0 ;
15272 char *kwnames
[] = {
15273 (char *) "self", NULL
15276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
15277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15278 if (SWIG_arg_fail(1)) SWIG_fail
;
15280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15281 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
15283 wxPyEndAllowThreads(__tstate
);
15284 if (PyErr_Occurred()) SWIG_fail
;
15287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15295 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15296 PyObject
*resultobj
;
15297 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15299 PyObject
* obj0
= 0 ;
15300 char *kwnames
[] = {
15301 (char *) "self", NULL
15304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
15305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15306 if (SWIG_arg_fail(1)) SWIG_fail
;
15308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15309 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
15311 wxPyEndAllowThreads(__tstate
);
15312 if (PyErr_Occurred()) SWIG_fail
;
15315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15323 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15324 PyObject
*resultobj
;
15325 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15327 PyObject
* obj0
= 0 ;
15328 PyObject
* obj1
= 0 ;
15329 char *kwnames
[] = {
15330 (char *) "self",(char *) "extraLong", NULL
15333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
15334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15335 if (SWIG_arg_fail(1)) SWIG_fail
;
15337 arg2
= (long)(SWIG_As_long(obj1
));
15338 if (SWIG_arg_fail(2)) SWIG_fail
;
15341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15342 (arg1
)->SetExtraLong(arg2
);
15344 wxPyEndAllowThreads(__tstate
);
15345 if (PyErr_Occurred()) SWIG_fail
;
15347 Py_INCREF(Py_None
); resultobj
= Py_None
;
15354 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15355 PyObject
*resultobj
;
15356 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15358 PyObject
* obj0
= 0 ;
15359 char *kwnames
[] = {
15360 (char *) "self", NULL
15363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
15364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15365 if (SWIG_arg_fail(1)) SWIG_fail
;
15367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15368 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
15370 wxPyEndAllowThreads(__tstate
);
15371 if (PyErr_Occurred()) SWIG_fail
;
15374 resultobj
= SWIG_From_long((long)(result
));
15382 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15383 PyObject
*resultobj
;
15384 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15386 PyObject
* obj0
= 0 ;
15387 PyObject
* obj1
= 0 ;
15388 char *kwnames
[] = {
15389 (char *) "self",(char *) "i", NULL
15392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
15393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15394 if (SWIG_arg_fail(1)) SWIG_fail
;
15396 arg2
= (int)(SWIG_As_int(obj1
));
15397 if (SWIG_arg_fail(2)) SWIG_fail
;
15400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15401 (arg1
)->SetInt(arg2
);
15403 wxPyEndAllowThreads(__tstate
);
15404 if (PyErr_Occurred()) SWIG_fail
;
15406 Py_INCREF(Py_None
); resultobj
= Py_None
;
15413 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15414 PyObject
*resultobj
;
15415 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15417 PyObject
* obj0
= 0 ;
15418 char *kwnames
[] = {
15419 (char *) "self", NULL
15422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
15423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15424 if (SWIG_arg_fail(1)) SWIG_fail
;
15426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15427 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
15429 wxPyEndAllowThreads(__tstate
);
15430 if (PyErr_Occurred()) SWIG_fail
;
15433 resultobj
= SWIG_From_long((long)(result
));
15441 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15442 PyObject
*resultobj
;
15443 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15445 PyObject
* obj0
= 0 ;
15446 char *kwnames
[] = {
15447 (char *) "self", NULL
15450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
15451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15452 if (SWIG_arg_fail(1)) SWIG_fail
;
15454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15455 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
15457 wxPyEndAllowThreads(__tstate
);
15458 if (PyErr_Occurred()) SWIG_fail
;
15460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15467 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
15469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15470 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
15472 return Py_BuildValue((char *)"");
15474 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15475 PyObject
*resultobj
;
15476 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15477 int arg2
= (int) 0 ;
15478 wxNotifyEvent
*result
;
15479 PyObject
* obj0
= 0 ;
15480 PyObject
* obj1
= 0 ;
15481 char *kwnames
[] = {
15482 (char *) "commandType",(char *) "winid", NULL
15485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15488 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15489 if (SWIG_arg_fail(1)) SWIG_fail
;
15494 arg2
= (int)(SWIG_As_int(obj1
));
15495 if (SWIG_arg_fail(2)) SWIG_fail
;
15499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15500 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
15502 wxPyEndAllowThreads(__tstate
);
15503 if (PyErr_Occurred()) SWIG_fail
;
15505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
15512 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15513 PyObject
*resultobj
;
15514 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15515 PyObject
* obj0
= 0 ;
15516 char *kwnames
[] = {
15517 (char *) "self", NULL
15520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
15521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15522 if (SWIG_arg_fail(1)) SWIG_fail
;
15524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15527 wxPyEndAllowThreads(__tstate
);
15528 if (PyErr_Occurred()) SWIG_fail
;
15530 Py_INCREF(Py_None
); resultobj
= Py_None
;
15537 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15538 PyObject
*resultobj
;
15539 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15540 PyObject
* obj0
= 0 ;
15541 char *kwnames
[] = {
15542 (char *) "self", NULL
15545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
15546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15547 if (SWIG_arg_fail(1)) SWIG_fail
;
15549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15552 wxPyEndAllowThreads(__tstate
);
15553 if (PyErr_Occurred()) SWIG_fail
;
15555 Py_INCREF(Py_None
); resultobj
= Py_None
;
15562 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15563 PyObject
*resultobj
;
15564 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15566 PyObject
* obj0
= 0 ;
15567 char *kwnames
[] = {
15568 (char *) "self", NULL
15571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
15572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15573 if (SWIG_arg_fail(1)) SWIG_fail
;
15575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15576 result
= (bool)(arg1
)->IsAllowed();
15578 wxPyEndAllowThreads(__tstate
);
15579 if (PyErr_Occurred()) SWIG_fail
;
15582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15590 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
15592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15593 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
15595 return Py_BuildValue((char *)"");
15597 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15598 PyObject
*resultobj
;
15599 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15600 int arg2
= (int) 0 ;
15601 int arg3
= (int) 0 ;
15602 int arg4
= (int) 0 ;
15603 wxScrollEvent
*result
;
15604 PyObject
* obj0
= 0 ;
15605 PyObject
* obj1
= 0 ;
15606 PyObject
* obj2
= 0 ;
15607 PyObject
* obj3
= 0 ;
15608 char *kwnames
[] = {
15609 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
15612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15615 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15616 if (SWIG_arg_fail(1)) SWIG_fail
;
15621 arg2
= (int)(SWIG_As_int(obj1
));
15622 if (SWIG_arg_fail(2)) SWIG_fail
;
15627 arg3
= (int)(SWIG_As_int(obj2
));
15628 if (SWIG_arg_fail(3)) SWIG_fail
;
15633 arg4
= (int)(SWIG_As_int(obj3
));
15634 if (SWIG_arg_fail(4)) SWIG_fail
;
15638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15639 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
15641 wxPyEndAllowThreads(__tstate
);
15642 if (PyErr_Occurred()) SWIG_fail
;
15644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
15651 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15652 PyObject
*resultobj
;
15653 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15655 PyObject
* obj0
= 0 ;
15656 char *kwnames
[] = {
15657 (char *) "self", NULL
15660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
15661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15662 if (SWIG_arg_fail(1)) SWIG_fail
;
15664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15665 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
15667 wxPyEndAllowThreads(__tstate
);
15668 if (PyErr_Occurred()) SWIG_fail
;
15671 resultobj
= SWIG_From_int((int)(result
));
15679 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15680 PyObject
*resultobj
;
15681 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15683 PyObject
* obj0
= 0 ;
15684 char *kwnames
[] = {
15685 (char *) "self", NULL
15688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15690 if (SWIG_arg_fail(1)) SWIG_fail
;
15692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15693 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
15695 wxPyEndAllowThreads(__tstate
);
15696 if (PyErr_Occurred()) SWIG_fail
;
15699 resultobj
= SWIG_From_int((int)(result
));
15707 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15708 PyObject
*resultobj
;
15709 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15711 PyObject
* obj0
= 0 ;
15712 PyObject
* obj1
= 0 ;
15713 char *kwnames
[] = {
15714 (char *) "self",(char *) "orient", NULL
15717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15719 if (SWIG_arg_fail(1)) SWIG_fail
;
15721 arg2
= (int)(SWIG_As_int(obj1
));
15722 if (SWIG_arg_fail(2)) SWIG_fail
;
15725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15726 (arg1
)->SetOrientation(arg2
);
15728 wxPyEndAllowThreads(__tstate
);
15729 if (PyErr_Occurred()) SWIG_fail
;
15731 Py_INCREF(Py_None
); resultobj
= Py_None
;
15738 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15739 PyObject
*resultobj
;
15740 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15742 PyObject
* obj0
= 0 ;
15743 PyObject
* obj1
= 0 ;
15744 char *kwnames
[] = {
15745 (char *) "self",(char *) "pos", NULL
15748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15750 if (SWIG_arg_fail(1)) SWIG_fail
;
15752 arg2
= (int)(SWIG_As_int(obj1
));
15753 if (SWIG_arg_fail(2)) SWIG_fail
;
15756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15757 (arg1
)->SetPosition(arg2
);
15759 wxPyEndAllowThreads(__tstate
);
15760 if (PyErr_Occurred()) SWIG_fail
;
15762 Py_INCREF(Py_None
); resultobj
= Py_None
;
15769 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
15771 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15772 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
15774 return Py_BuildValue((char *)"");
15776 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15777 PyObject
*resultobj
;
15778 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15779 int arg2
= (int) 0 ;
15780 int arg3
= (int) 0 ;
15781 wxScrollWinEvent
*result
;
15782 PyObject
* obj0
= 0 ;
15783 PyObject
* obj1
= 0 ;
15784 PyObject
* obj2
= 0 ;
15785 char *kwnames
[] = {
15786 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
15789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15792 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15793 if (SWIG_arg_fail(1)) SWIG_fail
;
15798 arg2
= (int)(SWIG_As_int(obj1
));
15799 if (SWIG_arg_fail(2)) SWIG_fail
;
15804 arg3
= (int)(SWIG_As_int(obj2
));
15805 if (SWIG_arg_fail(3)) SWIG_fail
;
15809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15810 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
15812 wxPyEndAllowThreads(__tstate
);
15813 if (PyErr_Occurred()) SWIG_fail
;
15815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
15822 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15823 PyObject
*resultobj
;
15824 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15826 PyObject
* obj0
= 0 ;
15827 char *kwnames
[] = {
15828 (char *) "self", NULL
15831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
15832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15833 if (SWIG_arg_fail(1)) SWIG_fail
;
15835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15836 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
15838 wxPyEndAllowThreads(__tstate
);
15839 if (PyErr_Occurred()) SWIG_fail
;
15842 resultobj
= SWIG_From_int((int)(result
));
15850 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15851 PyObject
*resultobj
;
15852 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15854 PyObject
* obj0
= 0 ;
15855 char *kwnames
[] = {
15856 (char *) "self", NULL
15859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15861 if (SWIG_arg_fail(1)) SWIG_fail
;
15863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15864 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
15866 wxPyEndAllowThreads(__tstate
);
15867 if (PyErr_Occurred()) SWIG_fail
;
15870 resultobj
= SWIG_From_int((int)(result
));
15878 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15879 PyObject
*resultobj
;
15880 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15882 PyObject
* obj0
= 0 ;
15883 PyObject
* obj1
= 0 ;
15884 char *kwnames
[] = {
15885 (char *) "self",(char *) "orient", NULL
15888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15890 if (SWIG_arg_fail(1)) SWIG_fail
;
15892 arg2
= (int)(SWIG_As_int(obj1
));
15893 if (SWIG_arg_fail(2)) SWIG_fail
;
15896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15897 (arg1
)->SetOrientation(arg2
);
15899 wxPyEndAllowThreads(__tstate
);
15900 if (PyErr_Occurred()) SWIG_fail
;
15902 Py_INCREF(Py_None
); resultobj
= Py_None
;
15909 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15910 PyObject
*resultobj
;
15911 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15913 PyObject
* obj0
= 0 ;
15914 PyObject
* obj1
= 0 ;
15915 char *kwnames
[] = {
15916 (char *) "self",(char *) "pos", NULL
15919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15921 if (SWIG_arg_fail(1)) SWIG_fail
;
15923 arg2
= (int)(SWIG_As_int(obj1
));
15924 if (SWIG_arg_fail(2)) SWIG_fail
;
15927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15928 (arg1
)->SetPosition(arg2
);
15930 wxPyEndAllowThreads(__tstate
);
15931 if (PyErr_Occurred()) SWIG_fail
;
15933 Py_INCREF(Py_None
); resultobj
= Py_None
;
15940 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
15942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15943 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
15945 return Py_BuildValue((char *)"");
15947 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15948 PyObject
*resultobj
;
15949 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15950 wxMouseEvent
*result
;
15951 PyObject
* obj0
= 0 ;
15952 char *kwnames
[] = {
15953 (char *) "mouseType", NULL
15956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
15959 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15960 if (SWIG_arg_fail(1)) SWIG_fail
;
15964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15965 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
15967 wxPyEndAllowThreads(__tstate
);
15968 if (PyErr_Occurred()) SWIG_fail
;
15971 resultobj
= wxPyMake_wxObject(result
, 1);
15979 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15980 PyObject
*resultobj
;
15981 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15983 PyObject
* obj0
= 0 ;
15984 char *kwnames
[] = {
15985 (char *) "self", NULL
15988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
15989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15990 if (SWIG_arg_fail(1)) SWIG_fail
;
15992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15993 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
15995 wxPyEndAllowThreads(__tstate
);
15996 if (PyErr_Occurred()) SWIG_fail
;
15999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16007 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16008 PyObject
*resultobj
;
16009 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16010 int arg2
= (int) wxMOUSE_BTN_ANY
;
16012 PyObject
* obj0
= 0 ;
16013 PyObject
* obj1
= 0 ;
16014 char *kwnames
[] = {
16015 (char *) "self",(char *) "but", NULL
16018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16020 if (SWIG_arg_fail(1)) SWIG_fail
;
16023 arg2
= (int)(SWIG_As_int(obj1
));
16024 if (SWIG_arg_fail(2)) SWIG_fail
;
16028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16029 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
16031 wxPyEndAllowThreads(__tstate
);
16032 if (PyErr_Occurred()) SWIG_fail
;
16035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16043 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16044 PyObject
*resultobj
;
16045 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16046 int arg2
= (int) wxMOUSE_BTN_ANY
;
16048 PyObject
* obj0
= 0 ;
16049 PyObject
* obj1
= 0 ;
16050 char *kwnames
[] = {
16051 (char *) "self",(char *) "but", NULL
16054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
16055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16056 if (SWIG_arg_fail(1)) SWIG_fail
;
16059 arg2
= (int)(SWIG_As_int(obj1
));
16060 if (SWIG_arg_fail(2)) SWIG_fail
;
16064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16065 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
16067 wxPyEndAllowThreads(__tstate
);
16068 if (PyErr_Occurred()) SWIG_fail
;
16071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16079 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16080 PyObject
*resultobj
;
16081 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16082 int arg2
= (int) wxMOUSE_BTN_ANY
;
16084 PyObject
* obj0
= 0 ;
16085 PyObject
* obj1
= 0 ;
16086 char *kwnames
[] = {
16087 (char *) "self",(char *) "but", NULL
16090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
16091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16092 if (SWIG_arg_fail(1)) SWIG_fail
;
16095 arg2
= (int)(SWIG_As_int(obj1
));
16096 if (SWIG_arg_fail(2)) SWIG_fail
;
16100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16101 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
16103 wxPyEndAllowThreads(__tstate
);
16104 if (PyErr_Occurred()) SWIG_fail
;
16107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16115 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16116 PyObject
*resultobj
;
16117 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16120 PyObject
* obj0
= 0 ;
16121 PyObject
* obj1
= 0 ;
16122 char *kwnames
[] = {
16123 (char *) "self",(char *) "but", NULL
16126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
16127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16128 if (SWIG_arg_fail(1)) SWIG_fail
;
16130 arg2
= (int)(SWIG_As_int(obj1
));
16131 if (SWIG_arg_fail(2)) SWIG_fail
;
16134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16135 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
16137 wxPyEndAllowThreads(__tstate
);
16138 if (PyErr_Occurred()) SWIG_fail
;
16141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16149 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16150 PyObject
*resultobj
;
16151 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16154 PyObject
* obj0
= 0 ;
16155 PyObject
* obj1
= 0 ;
16156 char *kwnames
[] = {
16157 (char *) "self",(char *) "but", NULL
16160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16162 if (SWIG_arg_fail(1)) SWIG_fail
;
16164 arg2
= (int)(SWIG_As_int(obj1
));
16165 if (SWIG_arg_fail(2)) SWIG_fail
;
16168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16169 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
16171 wxPyEndAllowThreads(__tstate
);
16172 if (PyErr_Occurred()) SWIG_fail
;
16175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16183 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16184 PyObject
*resultobj
;
16185 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16187 PyObject
* obj0
= 0 ;
16188 char *kwnames
[] = {
16189 (char *) "self", NULL
16192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
16193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16194 if (SWIG_arg_fail(1)) SWIG_fail
;
16196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16197 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
16199 wxPyEndAllowThreads(__tstate
);
16200 if (PyErr_Occurred()) SWIG_fail
;
16203 resultobj
= SWIG_From_int((int)(result
));
16211 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16212 PyObject
*resultobj
;
16213 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16215 PyObject
* obj0
= 0 ;
16216 char *kwnames
[] = {
16217 (char *) "self", NULL
16220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
16221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16222 if (SWIG_arg_fail(1)) SWIG_fail
;
16224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16225 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
16227 wxPyEndAllowThreads(__tstate
);
16228 if (PyErr_Occurred()) SWIG_fail
;
16231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16239 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16240 PyObject
*resultobj
;
16241 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16243 PyObject
* obj0
= 0 ;
16244 char *kwnames
[] = {
16245 (char *) "self", NULL
16248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16250 if (SWIG_arg_fail(1)) SWIG_fail
;
16252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16253 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
16255 wxPyEndAllowThreads(__tstate
);
16256 if (PyErr_Occurred()) SWIG_fail
;
16259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16267 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16268 PyObject
*resultobj
;
16269 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16271 PyObject
* obj0
= 0 ;
16272 char *kwnames
[] = {
16273 (char *) "self", NULL
16276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16278 if (SWIG_arg_fail(1)) SWIG_fail
;
16280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16281 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
16283 wxPyEndAllowThreads(__tstate
);
16284 if (PyErr_Occurred()) SWIG_fail
;
16287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16295 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16296 PyObject
*resultobj
;
16297 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16299 PyObject
* obj0
= 0 ;
16300 char *kwnames
[] = {
16301 (char *) "self", NULL
16304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16306 if (SWIG_arg_fail(1)) SWIG_fail
;
16308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16309 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
16311 wxPyEndAllowThreads(__tstate
);
16312 if (PyErr_Occurred()) SWIG_fail
;
16315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16323 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16324 PyObject
*resultobj
;
16325 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16327 PyObject
* obj0
= 0 ;
16328 char *kwnames
[] = {
16329 (char *) "self", NULL
16332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16334 if (SWIG_arg_fail(1)) SWIG_fail
;
16336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16337 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
16339 wxPyEndAllowThreads(__tstate
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16351 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16352 PyObject
*resultobj
;
16353 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16355 PyObject
* obj0
= 0 ;
16356 char *kwnames
[] = {
16357 (char *) "self", NULL
16360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
16361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16362 if (SWIG_arg_fail(1)) SWIG_fail
;
16364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16365 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
16367 wxPyEndAllowThreads(__tstate
);
16368 if (PyErr_Occurred()) SWIG_fail
;
16371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16379 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16380 PyObject
*resultobj
;
16381 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16383 PyObject
* obj0
= 0 ;
16384 char *kwnames
[] = {
16385 (char *) "self", NULL
16388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
16389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16390 if (SWIG_arg_fail(1)) SWIG_fail
;
16392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16393 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
16395 wxPyEndAllowThreads(__tstate
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16407 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16408 PyObject
*resultobj
;
16409 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16411 PyObject
* obj0
= 0 ;
16412 char *kwnames
[] = {
16413 (char *) "self", NULL
16416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
16417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16418 if (SWIG_arg_fail(1)) SWIG_fail
;
16420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16421 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
16423 wxPyEndAllowThreads(__tstate
);
16424 if (PyErr_Occurred()) SWIG_fail
;
16427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16435 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16436 PyObject
*resultobj
;
16437 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16439 PyObject
* obj0
= 0 ;
16440 char *kwnames
[] = {
16441 (char *) "self", NULL
16444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
16445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16446 if (SWIG_arg_fail(1)) SWIG_fail
;
16448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16449 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
16451 wxPyEndAllowThreads(__tstate
);
16452 if (PyErr_Occurred()) SWIG_fail
;
16455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16463 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16464 PyObject
*resultobj
;
16465 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16467 PyObject
* obj0
= 0 ;
16468 char *kwnames
[] = {
16469 (char *) "self", NULL
16472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
16473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16474 if (SWIG_arg_fail(1)) SWIG_fail
;
16476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16477 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
16479 wxPyEndAllowThreads(__tstate
);
16480 if (PyErr_Occurred()) SWIG_fail
;
16483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16491 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16492 PyObject
*resultobj
;
16493 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16495 PyObject
* obj0
= 0 ;
16496 char *kwnames
[] = {
16497 (char *) "self", NULL
16500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
16501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16502 if (SWIG_arg_fail(1)) SWIG_fail
;
16504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16505 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
16507 wxPyEndAllowThreads(__tstate
);
16508 if (PyErr_Occurred()) SWIG_fail
;
16511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16519 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16520 PyObject
*resultobj
;
16521 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16523 PyObject
* obj0
= 0 ;
16524 char *kwnames
[] = {
16525 (char *) "self", NULL
16528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
16529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16530 if (SWIG_arg_fail(1)) SWIG_fail
;
16532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16533 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
16535 wxPyEndAllowThreads(__tstate
);
16536 if (PyErr_Occurred()) SWIG_fail
;
16539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16547 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16548 PyObject
*resultobj
;
16549 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16551 PyObject
* obj0
= 0 ;
16552 char *kwnames
[] = {
16553 (char *) "self", NULL
16556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
16557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16558 if (SWIG_arg_fail(1)) SWIG_fail
;
16560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16561 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
16563 wxPyEndAllowThreads(__tstate
);
16564 if (PyErr_Occurred()) SWIG_fail
;
16567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16575 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16576 PyObject
*resultobj
;
16577 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16579 PyObject
* obj0
= 0 ;
16580 char *kwnames
[] = {
16581 (char *) "self", NULL
16584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
16585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16586 if (SWIG_arg_fail(1)) SWIG_fail
;
16588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16589 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
16591 wxPyEndAllowThreads(__tstate
);
16592 if (PyErr_Occurred()) SWIG_fail
;
16595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16603 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16604 PyObject
*resultobj
;
16605 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16607 PyObject
* obj0
= 0 ;
16608 char *kwnames
[] = {
16609 (char *) "self", NULL
16612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
16613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16614 if (SWIG_arg_fail(1)) SWIG_fail
;
16616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16617 result
= (bool)(arg1
)->LeftIsDown();
16619 wxPyEndAllowThreads(__tstate
);
16620 if (PyErr_Occurred()) SWIG_fail
;
16623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16631 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16632 PyObject
*resultobj
;
16633 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16635 PyObject
* obj0
= 0 ;
16636 char *kwnames
[] = {
16637 (char *) "self", NULL
16640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
16641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16642 if (SWIG_arg_fail(1)) SWIG_fail
;
16644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16645 result
= (bool)(arg1
)->MiddleIsDown();
16647 wxPyEndAllowThreads(__tstate
);
16648 if (PyErr_Occurred()) SWIG_fail
;
16651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16659 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16660 PyObject
*resultobj
;
16661 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16663 PyObject
* obj0
= 0 ;
16664 char *kwnames
[] = {
16665 (char *) "self", NULL
16668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
16669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16670 if (SWIG_arg_fail(1)) SWIG_fail
;
16672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16673 result
= (bool)(arg1
)->RightIsDown();
16675 wxPyEndAllowThreads(__tstate
);
16676 if (PyErr_Occurred()) SWIG_fail
;
16679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16687 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16688 PyObject
*resultobj
;
16689 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16691 PyObject
* obj0
= 0 ;
16692 char *kwnames
[] = {
16693 (char *) "self", NULL
16696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
16697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16698 if (SWIG_arg_fail(1)) SWIG_fail
;
16700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16701 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
16703 wxPyEndAllowThreads(__tstate
);
16704 if (PyErr_Occurred()) SWIG_fail
;
16707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16715 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16716 PyObject
*resultobj
;
16717 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16719 PyObject
* obj0
= 0 ;
16720 char *kwnames
[] = {
16721 (char *) "self", NULL
16724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
16725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16726 if (SWIG_arg_fail(1)) SWIG_fail
;
16728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16729 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
16731 wxPyEndAllowThreads(__tstate
);
16732 if (PyErr_Occurred()) SWIG_fail
;
16735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16743 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16744 PyObject
*resultobj
;
16745 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16747 PyObject
* obj0
= 0 ;
16748 char *kwnames
[] = {
16749 (char *) "self", NULL
16752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
16753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16754 if (SWIG_arg_fail(1)) SWIG_fail
;
16756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16757 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
16759 wxPyEndAllowThreads(__tstate
);
16760 if (PyErr_Occurred()) SWIG_fail
;
16763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16771 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16772 PyObject
*resultobj
;
16773 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16775 PyObject
* obj0
= 0 ;
16776 char *kwnames
[] = {
16777 (char *) "self", NULL
16780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
16781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16782 if (SWIG_arg_fail(1)) SWIG_fail
;
16784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16785 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
16787 wxPyEndAllowThreads(__tstate
);
16788 if (PyErr_Occurred()) SWIG_fail
;
16791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16799 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16800 PyObject
*resultobj
;
16801 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16803 PyObject
* obj0
= 0 ;
16804 char *kwnames
[] = {
16805 (char *) "self", NULL
16808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16810 if (SWIG_arg_fail(1)) SWIG_fail
;
16812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16813 result
= (arg1
)->GetPosition();
16815 wxPyEndAllowThreads(__tstate
);
16816 if (PyErr_Occurred()) SWIG_fail
;
16819 wxPoint
* resultptr
;
16820 resultptr
= new wxPoint((wxPoint
&)(result
));
16821 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16829 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16830 PyObject
*resultobj
;
16831 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16832 long *arg2
= (long *) 0 ;
16833 long *arg3
= (long *) 0 ;
16838 PyObject
* obj0
= 0 ;
16839 char *kwnames
[] = {
16840 (char *) "self", NULL
16843 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16844 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16847 if (SWIG_arg_fail(1)) SWIG_fail
;
16849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16850 (arg1
)->GetPosition(arg2
,arg3
);
16852 wxPyEndAllowThreads(__tstate
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16855 Py_INCREF(Py_None
); resultobj
= Py_None
;
16856 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16857 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16858 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16859 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16866 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16867 PyObject
*resultobj
;
16868 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16871 PyObject
* obj0
= 0 ;
16872 PyObject
* obj1
= 0 ;
16873 char *kwnames
[] = {
16874 (char *) "self",(char *) "dc", NULL
16877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16879 if (SWIG_arg_fail(1)) SWIG_fail
;
16881 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16882 if (SWIG_arg_fail(2)) SWIG_fail
;
16883 if (arg2
== NULL
) {
16884 SWIG_null_ref("wxDC");
16886 if (SWIG_arg_fail(2)) SWIG_fail
;
16889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16890 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
16892 wxPyEndAllowThreads(__tstate
);
16893 if (PyErr_Occurred()) SWIG_fail
;
16896 wxPoint
* resultptr
;
16897 resultptr
= new wxPoint((wxPoint
&)(result
));
16898 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16906 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16907 PyObject
*resultobj
;
16908 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16910 PyObject
* obj0
= 0 ;
16911 char *kwnames
[] = {
16912 (char *) "self", NULL
16915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
16916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16917 if (SWIG_arg_fail(1)) SWIG_fail
;
16919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16920 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
16922 wxPyEndAllowThreads(__tstate
);
16923 if (PyErr_Occurred()) SWIG_fail
;
16926 resultobj
= SWIG_From_int((int)(result
));
16934 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16935 PyObject
*resultobj
;
16936 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16938 PyObject
* obj0
= 0 ;
16939 char *kwnames
[] = {
16940 (char *) "self", NULL
16943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
16944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16945 if (SWIG_arg_fail(1)) SWIG_fail
;
16947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16948 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
16950 wxPyEndAllowThreads(__tstate
);
16951 if (PyErr_Occurred()) SWIG_fail
;
16954 resultobj
= SWIG_From_int((int)(result
));
16962 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16963 PyObject
*resultobj
;
16964 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16966 PyObject
* obj0
= 0 ;
16967 char *kwnames
[] = {
16968 (char *) "self", NULL
16971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
16972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16973 if (SWIG_arg_fail(1)) SWIG_fail
;
16975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16976 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
16978 wxPyEndAllowThreads(__tstate
);
16979 if (PyErr_Occurred()) SWIG_fail
;
16982 resultobj
= SWIG_From_int((int)(result
));
16990 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16991 PyObject
*resultobj
;
16992 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16994 PyObject
* obj0
= 0 ;
16995 char *kwnames
[] = {
16996 (char *) "self", NULL
16999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
17000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17001 if (SWIG_arg_fail(1)) SWIG_fail
;
17003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17004 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
17006 wxPyEndAllowThreads(__tstate
);
17007 if (PyErr_Occurred()) SWIG_fail
;
17010 resultobj
= SWIG_From_int((int)(result
));
17018 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17019 PyObject
*resultobj
;
17020 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17022 PyObject
* obj0
= 0 ;
17023 char *kwnames
[] = {
17024 (char *) "self", NULL
17027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
17028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17029 if (SWIG_arg_fail(1)) SWIG_fail
;
17031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17032 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
17034 wxPyEndAllowThreads(__tstate
);
17035 if (PyErr_Occurred()) SWIG_fail
;
17038 resultobj
= SWIG_From_int((int)(result
));
17046 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17047 PyObject
*resultobj
;
17048 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17050 PyObject
* obj0
= 0 ;
17051 char *kwnames
[] = {
17052 (char *) "self", NULL
17055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
17056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17057 if (SWIG_arg_fail(1)) SWIG_fail
;
17059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17060 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
17062 wxPyEndAllowThreads(__tstate
);
17063 if (PyErr_Occurred()) SWIG_fail
;
17066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17074 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17075 PyObject
*resultobj
;
17076 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17078 PyObject
* obj0
= 0 ;
17079 PyObject
* obj1
= 0 ;
17080 char *kwnames
[] = {
17081 (char *) "self",(char *) "m_x", NULL
17084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17086 if (SWIG_arg_fail(1)) SWIG_fail
;
17088 arg2
= (int)(SWIG_As_int(obj1
));
17089 if (SWIG_arg_fail(2)) SWIG_fail
;
17091 if (arg1
) (arg1
)->m_x
= arg2
;
17093 Py_INCREF(Py_None
); resultobj
= Py_None
;
17100 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17101 PyObject
*resultobj
;
17102 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17104 PyObject
* obj0
= 0 ;
17105 char *kwnames
[] = {
17106 (char *) "self", NULL
17109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
17110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17111 if (SWIG_arg_fail(1)) SWIG_fail
;
17112 result
= (int) ((arg1
)->m_x
);
17115 resultobj
= SWIG_From_int((int)(result
));
17123 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17124 PyObject
*resultobj
;
17125 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17127 PyObject
* obj0
= 0 ;
17128 PyObject
* obj1
= 0 ;
17129 char *kwnames
[] = {
17130 (char *) "self",(char *) "m_y", NULL
17133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17135 if (SWIG_arg_fail(1)) SWIG_fail
;
17137 arg2
= (int)(SWIG_As_int(obj1
));
17138 if (SWIG_arg_fail(2)) SWIG_fail
;
17140 if (arg1
) (arg1
)->m_y
= arg2
;
17142 Py_INCREF(Py_None
); resultobj
= Py_None
;
17149 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17150 PyObject
*resultobj
;
17151 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17153 PyObject
* obj0
= 0 ;
17154 char *kwnames
[] = {
17155 (char *) "self", NULL
17158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
17159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17160 if (SWIG_arg_fail(1)) SWIG_fail
;
17161 result
= (int) ((arg1
)->m_y
);
17164 resultobj
= SWIG_From_int((int)(result
));
17172 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17173 PyObject
*resultobj
;
17174 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17176 PyObject
* obj0
= 0 ;
17177 PyObject
* obj1
= 0 ;
17178 char *kwnames
[] = {
17179 (char *) "self",(char *) "m_leftDown", NULL
17182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17184 if (SWIG_arg_fail(1)) SWIG_fail
;
17186 arg2
= (bool)(SWIG_As_bool(obj1
));
17187 if (SWIG_arg_fail(2)) SWIG_fail
;
17189 if (arg1
) (arg1
)->m_leftDown
= arg2
;
17191 Py_INCREF(Py_None
); resultobj
= Py_None
;
17198 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17199 PyObject
*resultobj
;
17200 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17202 PyObject
* obj0
= 0 ;
17203 char *kwnames
[] = {
17204 (char *) "self", NULL
17207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
17208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17209 if (SWIG_arg_fail(1)) SWIG_fail
;
17210 result
= (bool) ((arg1
)->m_leftDown
);
17213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17221 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17222 PyObject
*resultobj
;
17223 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17225 PyObject
* obj0
= 0 ;
17226 PyObject
* obj1
= 0 ;
17227 char *kwnames
[] = {
17228 (char *) "self",(char *) "m_middleDown", NULL
17231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17233 if (SWIG_arg_fail(1)) SWIG_fail
;
17235 arg2
= (bool)(SWIG_As_bool(obj1
));
17236 if (SWIG_arg_fail(2)) SWIG_fail
;
17238 if (arg1
) (arg1
)->m_middleDown
= arg2
;
17240 Py_INCREF(Py_None
); resultobj
= Py_None
;
17247 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17248 PyObject
*resultobj
;
17249 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17251 PyObject
* obj0
= 0 ;
17252 char *kwnames
[] = {
17253 (char *) "self", NULL
17256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
17257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17258 if (SWIG_arg_fail(1)) SWIG_fail
;
17259 result
= (bool) ((arg1
)->m_middleDown
);
17262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17270 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17271 PyObject
*resultobj
;
17272 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17274 PyObject
* obj0
= 0 ;
17275 PyObject
* obj1
= 0 ;
17276 char *kwnames
[] = {
17277 (char *) "self",(char *) "m_rightDown", NULL
17280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17282 if (SWIG_arg_fail(1)) SWIG_fail
;
17284 arg2
= (bool)(SWIG_As_bool(obj1
));
17285 if (SWIG_arg_fail(2)) SWIG_fail
;
17287 if (arg1
) (arg1
)->m_rightDown
= arg2
;
17289 Py_INCREF(Py_None
); resultobj
= Py_None
;
17296 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17297 PyObject
*resultobj
;
17298 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17300 PyObject
* obj0
= 0 ;
17301 char *kwnames
[] = {
17302 (char *) "self", NULL
17305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
17306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17307 if (SWIG_arg_fail(1)) SWIG_fail
;
17308 result
= (bool) ((arg1
)->m_rightDown
);
17311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17319 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17320 PyObject
*resultobj
;
17321 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17323 PyObject
* obj0
= 0 ;
17324 PyObject
* obj1
= 0 ;
17325 char *kwnames
[] = {
17326 (char *) "self",(char *) "m_controlDown", NULL
17329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17331 if (SWIG_arg_fail(1)) SWIG_fail
;
17333 arg2
= (bool)(SWIG_As_bool(obj1
));
17334 if (SWIG_arg_fail(2)) SWIG_fail
;
17336 if (arg1
) (arg1
)->m_controlDown
= arg2
;
17338 Py_INCREF(Py_None
); resultobj
= Py_None
;
17345 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17346 PyObject
*resultobj
;
17347 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17349 PyObject
* obj0
= 0 ;
17350 char *kwnames
[] = {
17351 (char *) "self", NULL
17354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
17355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17356 if (SWIG_arg_fail(1)) SWIG_fail
;
17357 result
= (bool) ((arg1
)->m_controlDown
);
17360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17368 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17369 PyObject
*resultobj
;
17370 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17372 PyObject
* obj0
= 0 ;
17373 PyObject
* obj1
= 0 ;
17374 char *kwnames
[] = {
17375 (char *) "self",(char *) "m_shiftDown", NULL
17378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17380 if (SWIG_arg_fail(1)) SWIG_fail
;
17382 arg2
= (bool)(SWIG_As_bool(obj1
));
17383 if (SWIG_arg_fail(2)) SWIG_fail
;
17385 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
17387 Py_INCREF(Py_None
); resultobj
= Py_None
;
17394 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17395 PyObject
*resultobj
;
17396 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17398 PyObject
* obj0
= 0 ;
17399 char *kwnames
[] = {
17400 (char *) "self", NULL
17403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
17404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17405 if (SWIG_arg_fail(1)) SWIG_fail
;
17406 result
= (bool) ((arg1
)->m_shiftDown
);
17409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17417 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17418 PyObject
*resultobj
;
17419 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17421 PyObject
* obj0
= 0 ;
17422 PyObject
* obj1
= 0 ;
17423 char *kwnames
[] = {
17424 (char *) "self",(char *) "m_altDown", NULL
17427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17429 if (SWIG_arg_fail(1)) SWIG_fail
;
17431 arg2
= (bool)(SWIG_As_bool(obj1
));
17432 if (SWIG_arg_fail(2)) SWIG_fail
;
17434 if (arg1
) (arg1
)->m_altDown
= arg2
;
17436 Py_INCREF(Py_None
); resultobj
= Py_None
;
17443 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17444 PyObject
*resultobj
;
17445 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17447 PyObject
* obj0
= 0 ;
17448 char *kwnames
[] = {
17449 (char *) "self", NULL
17452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
17453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17454 if (SWIG_arg_fail(1)) SWIG_fail
;
17455 result
= (bool) ((arg1
)->m_altDown
);
17458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17466 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17467 PyObject
*resultobj
;
17468 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17470 PyObject
* obj0
= 0 ;
17471 PyObject
* obj1
= 0 ;
17472 char *kwnames
[] = {
17473 (char *) "self",(char *) "m_metaDown", NULL
17476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17478 if (SWIG_arg_fail(1)) SWIG_fail
;
17480 arg2
= (bool)(SWIG_As_bool(obj1
));
17481 if (SWIG_arg_fail(2)) SWIG_fail
;
17483 if (arg1
) (arg1
)->m_metaDown
= arg2
;
17485 Py_INCREF(Py_None
); resultobj
= Py_None
;
17492 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17493 PyObject
*resultobj
;
17494 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17496 PyObject
* obj0
= 0 ;
17497 char *kwnames
[] = {
17498 (char *) "self", NULL
17501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
17502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17503 if (SWIG_arg_fail(1)) SWIG_fail
;
17504 result
= (bool) ((arg1
)->m_metaDown
);
17507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17515 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17516 PyObject
*resultobj
;
17517 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17519 PyObject
* obj0
= 0 ;
17520 PyObject
* obj1
= 0 ;
17521 char *kwnames
[] = {
17522 (char *) "self",(char *) "m_wheelRotation", NULL
17525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17527 if (SWIG_arg_fail(1)) SWIG_fail
;
17529 arg2
= (int)(SWIG_As_int(obj1
));
17530 if (SWIG_arg_fail(2)) SWIG_fail
;
17532 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
17534 Py_INCREF(Py_None
); resultobj
= Py_None
;
17541 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17542 PyObject
*resultobj
;
17543 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17545 PyObject
* obj0
= 0 ;
17546 char *kwnames
[] = {
17547 (char *) "self", NULL
17550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
17551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17552 if (SWIG_arg_fail(1)) SWIG_fail
;
17553 result
= (int) ((arg1
)->m_wheelRotation
);
17556 resultobj
= SWIG_From_int((int)(result
));
17564 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17565 PyObject
*resultobj
;
17566 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17568 PyObject
* obj0
= 0 ;
17569 PyObject
* obj1
= 0 ;
17570 char *kwnames
[] = {
17571 (char *) "self",(char *) "m_wheelDelta", NULL
17574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17576 if (SWIG_arg_fail(1)) SWIG_fail
;
17578 arg2
= (int)(SWIG_As_int(obj1
));
17579 if (SWIG_arg_fail(2)) SWIG_fail
;
17581 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
17583 Py_INCREF(Py_None
); resultobj
= Py_None
;
17590 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17591 PyObject
*resultobj
;
17592 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17594 PyObject
* obj0
= 0 ;
17595 char *kwnames
[] = {
17596 (char *) "self", NULL
17599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
17600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17601 if (SWIG_arg_fail(1)) SWIG_fail
;
17602 result
= (int) ((arg1
)->m_wheelDelta
);
17605 resultobj
= SWIG_From_int((int)(result
));
17613 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17614 PyObject
*resultobj
;
17615 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17617 PyObject
* obj0
= 0 ;
17618 PyObject
* obj1
= 0 ;
17619 char *kwnames
[] = {
17620 (char *) "self",(char *) "m_linesPerAction", NULL
17623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17625 if (SWIG_arg_fail(1)) SWIG_fail
;
17627 arg2
= (int)(SWIG_As_int(obj1
));
17628 if (SWIG_arg_fail(2)) SWIG_fail
;
17630 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
17632 Py_INCREF(Py_None
); resultobj
= Py_None
;
17639 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17640 PyObject
*resultobj
;
17641 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17643 PyObject
* obj0
= 0 ;
17644 char *kwnames
[] = {
17645 (char *) "self", NULL
17648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
17649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17650 if (SWIG_arg_fail(1)) SWIG_fail
;
17651 result
= (int) ((arg1
)->m_linesPerAction
);
17654 resultobj
= SWIG_From_int((int)(result
));
17662 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
17664 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17665 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
17667 return Py_BuildValue((char *)"");
17669 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17670 PyObject
*resultobj
;
17671 int arg1
= (int) 0 ;
17672 int arg2
= (int) 0 ;
17673 wxSetCursorEvent
*result
;
17674 PyObject
* obj0
= 0 ;
17675 PyObject
* obj1
= 0 ;
17676 char *kwnames
[] = {
17677 (char *) "x",(char *) "y", NULL
17680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17683 arg1
= (int)(SWIG_As_int(obj0
));
17684 if (SWIG_arg_fail(1)) SWIG_fail
;
17689 arg2
= (int)(SWIG_As_int(obj1
));
17690 if (SWIG_arg_fail(2)) SWIG_fail
;
17694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17695 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
17697 wxPyEndAllowThreads(__tstate
);
17698 if (PyErr_Occurred()) SWIG_fail
;
17700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
17707 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17708 PyObject
*resultobj
;
17709 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17711 PyObject
* obj0
= 0 ;
17712 char *kwnames
[] = {
17713 (char *) "self", NULL
17716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
17717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17718 if (SWIG_arg_fail(1)) SWIG_fail
;
17720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17721 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
17723 wxPyEndAllowThreads(__tstate
);
17724 if (PyErr_Occurred()) SWIG_fail
;
17727 resultobj
= SWIG_From_int((int)(result
));
17735 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17736 PyObject
*resultobj
;
17737 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17739 PyObject
* obj0
= 0 ;
17740 char *kwnames
[] = {
17741 (char *) "self", NULL
17744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
17745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17746 if (SWIG_arg_fail(1)) SWIG_fail
;
17748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17749 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
17751 wxPyEndAllowThreads(__tstate
);
17752 if (PyErr_Occurred()) SWIG_fail
;
17755 resultobj
= SWIG_From_int((int)(result
));
17763 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17764 PyObject
*resultobj
;
17765 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17766 wxCursor
*arg2
= 0 ;
17767 PyObject
* obj0
= 0 ;
17768 PyObject
* obj1
= 0 ;
17769 char *kwnames
[] = {
17770 (char *) "self",(char *) "cursor", NULL
17773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
17774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17775 if (SWIG_arg_fail(1)) SWIG_fail
;
17777 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
17778 if (SWIG_arg_fail(2)) SWIG_fail
;
17779 if (arg2
== NULL
) {
17780 SWIG_null_ref("wxCursor");
17782 if (SWIG_arg_fail(2)) SWIG_fail
;
17785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17786 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
17788 wxPyEndAllowThreads(__tstate
);
17789 if (PyErr_Occurred()) SWIG_fail
;
17791 Py_INCREF(Py_None
); resultobj
= Py_None
;
17798 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17799 PyObject
*resultobj
;
17800 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17802 PyObject
* obj0
= 0 ;
17803 char *kwnames
[] = {
17804 (char *) "self", NULL
17807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
17808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17809 if (SWIG_arg_fail(1)) SWIG_fail
;
17811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17813 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
17814 result
= (wxCursor
*) &_result_ref
;
17817 wxPyEndAllowThreads(__tstate
);
17818 if (PyErr_Occurred()) SWIG_fail
;
17821 wxCursor
* resultptr
= new wxCursor(*result
);
17822 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
17830 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17831 PyObject
*resultobj
;
17832 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17834 PyObject
* obj0
= 0 ;
17835 char *kwnames
[] = {
17836 (char *) "self", NULL
17839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
17840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17841 if (SWIG_arg_fail(1)) SWIG_fail
;
17843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17844 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
17846 wxPyEndAllowThreads(__tstate
);
17847 if (PyErr_Occurred()) SWIG_fail
;
17850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17858 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
17860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17861 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
17863 return Py_BuildValue((char *)"");
17865 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17866 PyObject
*resultobj
;
17867 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17868 wxKeyEvent
*result
;
17869 PyObject
* obj0
= 0 ;
17870 char *kwnames
[] = {
17871 (char *) "keyType", NULL
17874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
17877 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17878 if (SWIG_arg_fail(1)) SWIG_fail
;
17882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17883 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
17885 wxPyEndAllowThreads(__tstate
);
17886 if (PyErr_Occurred()) SWIG_fail
;
17888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
17895 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17896 PyObject
*resultobj
;
17897 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17899 PyObject
* obj0
= 0 ;
17900 char *kwnames
[] = {
17901 (char *) "self", NULL
17904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
17905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17906 if (SWIG_arg_fail(1)) SWIG_fail
;
17908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17909 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
17911 wxPyEndAllowThreads(__tstate
);
17912 if (PyErr_Occurred()) SWIG_fail
;
17915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17923 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17924 PyObject
*resultobj
;
17925 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17927 PyObject
* obj0
= 0 ;
17928 char *kwnames
[] = {
17929 (char *) "self", NULL
17932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
17933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17934 if (SWIG_arg_fail(1)) SWIG_fail
;
17936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17937 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
17939 wxPyEndAllowThreads(__tstate
);
17940 if (PyErr_Occurred()) SWIG_fail
;
17943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17951 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17952 PyObject
*resultobj
;
17953 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17955 PyObject
* obj0
= 0 ;
17956 char *kwnames
[] = {
17957 (char *) "self", NULL
17960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
17961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17962 if (SWIG_arg_fail(1)) SWIG_fail
;
17964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17965 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
17967 wxPyEndAllowThreads(__tstate
);
17968 if (PyErr_Occurred()) SWIG_fail
;
17971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17979 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17980 PyObject
*resultobj
;
17981 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17983 PyObject
* obj0
= 0 ;
17984 char *kwnames
[] = {
17985 (char *) "self", NULL
17988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
17989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17990 if (SWIG_arg_fail(1)) SWIG_fail
;
17992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17993 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
17995 wxPyEndAllowThreads(__tstate
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18007 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18008 PyObject
*resultobj
;
18009 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18011 PyObject
* obj0
= 0 ;
18012 char *kwnames
[] = {
18013 (char *) "self", NULL
18016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
18017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18018 if (SWIG_arg_fail(1)) SWIG_fail
;
18020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18021 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
18023 wxPyEndAllowThreads(__tstate
);
18024 if (PyErr_Occurred()) SWIG_fail
;
18027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18035 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18036 PyObject
*resultobj
;
18037 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18039 PyObject
* obj0
= 0 ;
18040 char *kwnames
[] = {
18041 (char *) "self", NULL
18044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
18045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18046 if (SWIG_arg_fail(1)) SWIG_fail
;
18048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18049 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
18051 wxPyEndAllowThreads(__tstate
);
18052 if (PyErr_Occurred()) SWIG_fail
;
18055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18063 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18064 PyObject
*resultobj
;
18065 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18067 PyObject
* obj0
= 0 ;
18068 char *kwnames
[] = {
18069 (char *) "self", NULL
18072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
18073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18074 if (SWIG_arg_fail(1)) SWIG_fail
;
18076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18077 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
18079 wxPyEndAllowThreads(__tstate
);
18080 if (PyErr_Occurred()) SWIG_fail
;
18083 resultobj
= SWIG_From_int((int)(result
));
18091 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18092 PyObject
*resultobj
;
18093 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18095 PyObject
* obj0
= 0 ;
18096 char *kwnames
[] = {
18097 (char *) "self", NULL
18100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
18101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18102 if (SWIG_arg_fail(1)) SWIG_fail
;
18104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18105 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
18107 wxPyEndAllowThreads(__tstate
);
18108 if (PyErr_Occurred()) SWIG_fail
;
18111 resultobj
= SWIG_From_int((int)(result
));
18119 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18120 PyObject
*resultobj
;
18121 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18122 unsigned int result
;
18123 PyObject
* obj0
= 0 ;
18124 char *kwnames
[] = {
18125 (char *) "self", NULL
18128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
18129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18130 if (SWIG_arg_fail(1)) SWIG_fail
;
18132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18133 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
18135 wxPyEndAllowThreads(__tstate
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18139 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18147 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18148 PyObject
*resultobj
;
18149 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18150 unsigned int result
;
18151 PyObject
* obj0
= 0 ;
18152 char *kwnames
[] = {
18153 (char *) "self", NULL
18156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
18157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18158 if (SWIG_arg_fail(1)) SWIG_fail
;
18160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18161 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
18163 wxPyEndAllowThreads(__tstate
);
18164 if (PyErr_Occurred()) SWIG_fail
;
18167 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18175 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18176 PyObject
*resultobj
;
18177 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18179 PyObject
* obj0
= 0 ;
18180 char *kwnames
[] = {
18181 (char *) "self", NULL
18184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18186 if (SWIG_arg_fail(1)) SWIG_fail
;
18188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18189 result
= (arg1
)->GetPosition();
18191 wxPyEndAllowThreads(__tstate
);
18192 if (PyErr_Occurred()) SWIG_fail
;
18195 wxPoint
* resultptr
;
18196 resultptr
= new wxPoint((wxPoint
&)(result
));
18197 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18205 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18206 PyObject
*resultobj
;
18207 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18208 long *arg2
= (long *) 0 ;
18209 long *arg3
= (long *) 0 ;
18214 PyObject
* obj0
= 0 ;
18215 char *kwnames
[] = {
18216 (char *) "self", NULL
18219 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18220 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
18222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18223 if (SWIG_arg_fail(1)) SWIG_fail
;
18225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18226 (arg1
)->GetPosition(arg2
,arg3
);
18228 wxPyEndAllowThreads(__tstate
);
18229 if (PyErr_Occurred()) SWIG_fail
;
18231 Py_INCREF(Py_None
); resultobj
= Py_None
;
18232 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18233 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
18234 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18235 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
18242 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18243 PyObject
*resultobj
;
18244 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18246 PyObject
* obj0
= 0 ;
18247 char *kwnames
[] = {
18248 (char *) "self", NULL
18251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
18252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18253 if (SWIG_arg_fail(1)) SWIG_fail
;
18255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18256 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
18258 wxPyEndAllowThreads(__tstate
);
18259 if (PyErr_Occurred()) SWIG_fail
;
18262 resultobj
= SWIG_From_int((int)(result
));
18270 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18271 PyObject
*resultobj
;
18272 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18274 PyObject
* obj0
= 0 ;
18275 char *kwnames
[] = {
18276 (char *) "self", NULL
18279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
18280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18281 if (SWIG_arg_fail(1)) SWIG_fail
;
18283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18284 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
18286 wxPyEndAllowThreads(__tstate
);
18287 if (PyErr_Occurred()) SWIG_fail
;
18290 resultobj
= SWIG_From_int((int)(result
));
18298 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18299 PyObject
*resultobj
;
18300 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18302 PyObject
* obj0
= 0 ;
18303 PyObject
* obj1
= 0 ;
18304 char *kwnames
[] = {
18305 (char *) "self",(char *) "m_x", NULL
18308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18310 if (SWIG_arg_fail(1)) SWIG_fail
;
18312 arg2
= (int)(SWIG_As_int(obj1
));
18313 if (SWIG_arg_fail(2)) SWIG_fail
;
18315 if (arg1
) (arg1
)->m_x
= arg2
;
18317 Py_INCREF(Py_None
); resultobj
= Py_None
;
18324 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18325 PyObject
*resultobj
;
18326 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18328 PyObject
* obj0
= 0 ;
18329 char *kwnames
[] = {
18330 (char *) "self", NULL
18333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18335 if (SWIG_arg_fail(1)) SWIG_fail
;
18336 result
= (int) ((arg1
)->m_x
);
18339 resultobj
= SWIG_From_int((int)(result
));
18347 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18348 PyObject
*resultobj
;
18349 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18351 PyObject
* obj0
= 0 ;
18352 PyObject
* obj1
= 0 ;
18353 char *kwnames
[] = {
18354 (char *) "self",(char *) "m_y", NULL
18357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18359 if (SWIG_arg_fail(1)) SWIG_fail
;
18361 arg2
= (int)(SWIG_As_int(obj1
));
18362 if (SWIG_arg_fail(2)) SWIG_fail
;
18364 if (arg1
) (arg1
)->m_y
= arg2
;
18366 Py_INCREF(Py_None
); resultobj
= Py_None
;
18373 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18374 PyObject
*resultobj
;
18375 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18377 PyObject
* obj0
= 0 ;
18378 char *kwnames
[] = {
18379 (char *) "self", NULL
18382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18384 if (SWIG_arg_fail(1)) SWIG_fail
;
18385 result
= (int) ((arg1
)->m_y
);
18388 resultobj
= SWIG_From_int((int)(result
));
18396 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18397 PyObject
*resultobj
;
18398 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18400 PyObject
* obj0
= 0 ;
18401 PyObject
* obj1
= 0 ;
18402 char *kwnames
[] = {
18403 (char *) "self",(char *) "m_keyCode", NULL
18406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18408 if (SWIG_arg_fail(1)) SWIG_fail
;
18410 arg2
= (long)(SWIG_As_long(obj1
));
18411 if (SWIG_arg_fail(2)) SWIG_fail
;
18413 if (arg1
) (arg1
)->m_keyCode
= arg2
;
18415 Py_INCREF(Py_None
); resultobj
= Py_None
;
18422 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18423 PyObject
*resultobj
;
18424 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18426 PyObject
* obj0
= 0 ;
18427 char *kwnames
[] = {
18428 (char *) "self", NULL
18431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
18432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18433 if (SWIG_arg_fail(1)) SWIG_fail
;
18434 result
= (long) ((arg1
)->m_keyCode
);
18437 resultobj
= SWIG_From_long((long)(result
));
18445 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18446 PyObject
*resultobj
;
18447 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18449 PyObject
* obj0
= 0 ;
18450 PyObject
* obj1
= 0 ;
18451 char *kwnames
[] = {
18452 (char *) "self",(char *) "m_controlDown", NULL
18455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18457 if (SWIG_arg_fail(1)) SWIG_fail
;
18459 arg2
= (bool)(SWIG_As_bool(obj1
));
18460 if (SWIG_arg_fail(2)) SWIG_fail
;
18462 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18464 Py_INCREF(Py_None
); resultobj
= Py_None
;
18471 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18472 PyObject
*resultobj
;
18473 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18475 PyObject
* obj0
= 0 ;
18476 char *kwnames
[] = {
18477 (char *) "self", NULL
18480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18482 if (SWIG_arg_fail(1)) SWIG_fail
;
18483 result
= (bool) ((arg1
)->m_controlDown
);
18486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18494 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18495 PyObject
*resultobj
;
18496 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18498 PyObject
* obj0
= 0 ;
18499 PyObject
* obj1
= 0 ;
18500 char *kwnames
[] = {
18501 (char *) "self",(char *) "m_shiftDown", NULL
18504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18506 if (SWIG_arg_fail(1)) SWIG_fail
;
18508 arg2
= (bool)(SWIG_As_bool(obj1
));
18509 if (SWIG_arg_fail(2)) SWIG_fail
;
18511 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18513 Py_INCREF(Py_None
); resultobj
= Py_None
;
18520 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18521 PyObject
*resultobj
;
18522 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18524 PyObject
* obj0
= 0 ;
18525 char *kwnames
[] = {
18526 (char *) "self", NULL
18529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18531 if (SWIG_arg_fail(1)) SWIG_fail
;
18532 result
= (bool) ((arg1
)->m_shiftDown
);
18535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18543 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18544 PyObject
*resultobj
;
18545 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18547 PyObject
* obj0
= 0 ;
18548 PyObject
* obj1
= 0 ;
18549 char *kwnames
[] = {
18550 (char *) "self",(char *) "m_altDown", NULL
18553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18555 if (SWIG_arg_fail(1)) SWIG_fail
;
18557 arg2
= (bool)(SWIG_As_bool(obj1
));
18558 if (SWIG_arg_fail(2)) SWIG_fail
;
18560 if (arg1
) (arg1
)->m_altDown
= arg2
;
18562 Py_INCREF(Py_None
); resultobj
= Py_None
;
18569 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18570 PyObject
*resultobj
;
18571 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18573 PyObject
* obj0
= 0 ;
18574 char *kwnames
[] = {
18575 (char *) "self", NULL
18578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
18579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18580 if (SWIG_arg_fail(1)) SWIG_fail
;
18581 result
= (bool) ((arg1
)->m_altDown
);
18584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18592 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18593 PyObject
*resultobj
;
18594 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18596 PyObject
* obj0
= 0 ;
18597 PyObject
* obj1
= 0 ;
18598 char *kwnames
[] = {
18599 (char *) "self",(char *) "m_metaDown", NULL
18602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18604 if (SWIG_arg_fail(1)) SWIG_fail
;
18606 arg2
= (bool)(SWIG_As_bool(obj1
));
18607 if (SWIG_arg_fail(2)) SWIG_fail
;
18609 if (arg1
) (arg1
)->m_metaDown
= arg2
;
18611 Py_INCREF(Py_None
); resultobj
= Py_None
;
18618 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18619 PyObject
*resultobj
;
18620 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18622 PyObject
* obj0
= 0 ;
18623 char *kwnames
[] = {
18624 (char *) "self", NULL
18627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
18628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18629 if (SWIG_arg_fail(1)) SWIG_fail
;
18630 result
= (bool) ((arg1
)->m_metaDown
);
18633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18641 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18642 PyObject
*resultobj
;
18643 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18645 PyObject
* obj0
= 0 ;
18646 PyObject
* obj1
= 0 ;
18647 char *kwnames
[] = {
18648 (char *) "self",(char *) "m_scanCode", NULL
18651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18653 if (SWIG_arg_fail(1)) SWIG_fail
;
18655 arg2
= (bool)(SWIG_As_bool(obj1
));
18656 if (SWIG_arg_fail(2)) SWIG_fail
;
18658 if (arg1
) (arg1
)->m_scanCode
= arg2
;
18660 Py_INCREF(Py_None
); resultobj
= Py_None
;
18667 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18668 PyObject
*resultobj
;
18669 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18671 PyObject
* obj0
= 0 ;
18672 char *kwnames
[] = {
18673 (char *) "self", NULL
18676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
18677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18678 if (SWIG_arg_fail(1)) SWIG_fail
;
18679 result
= (bool) ((arg1
)->m_scanCode
);
18682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18690 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18691 PyObject
*resultobj
;
18692 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18693 unsigned int arg2
;
18694 PyObject
* obj0
= 0 ;
18695 PyObject
* obj1
= 0 ;
18696 char *kwnames
[] = {
18697 (char *) "self",(char *) "m_rawCode", NULL
18700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18702 if (SWIG_arg_fail(1)) SWIG_fail
;
18704 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
18705 if (SWIG_arg_fail(2)) SWIG_fail
;
18707 if (arg1
) (arg1
)->m_rawCode
= arg2
;
18709 Py_INCREF(Py_None
); resultobj
= Py_None
;
18716 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18717 PyObject
*resultobj
;
18718 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18719 unsigned int result
;
18720 PyObject
* obj0
= 0 ;
18721 char *kwnames
[] = {
18722 (char *) "self", NULL
18725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
18726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18727 if (SWIG_arg_fail(1)) SWIG_fail
;
18728 result
= (unsigned int) ((arg1
)->m_rawCode
);
18731 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18739 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18740 PyObject
*resultobj
;
18741 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18742 unsigned int arg2
;
18743 PyObject
* obj0
= 0 ;
18744 PyObject
* obj1
= 0 ;
18745 char *kwnames
[] = {
18746 (char *) "self",(char *) "m_rawFlags", NULL
18749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18751 if (SWIG_arg_fail(1)) SWIG_fail
;
18753 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
18754 if (SWIG_arg_fail(2)) SWIG_fail
;
18756 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
18758 Py_INCREF(Py_None
); resultobj
= Py_None
;
18765 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18766 PyObject
*resultobj
;
18767 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18768 unsigned int result
;
18769 PyObject
* obj0
= 0 ;
18770 char *kwnames
[] = {
18771 (char *) "self", NULL
18774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
18775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18776 if (SWIG_arg_fail(1)) SWIG_fail
;
18777 result
= (unsigned int) ((arg1
)->m_rawFlags
);
18780 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18788 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
18790 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18791 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
18793 return Py_BuildValue((char *)"");
18795 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18796 PyObject
*resultobj
;
18797 wxSize
const &arg1_defvalue
= wxDefaultSize
;
18798 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
18799 int arg2
= (int) 0 ;
18800 wxSizeEvent
*result
;
18802 PyObject
* obj0
= 0 ;
18803 PyObject
* obj1
= 0 ;
18804 char *kwnames
[] = {
18805 (char *) "sz",(char *) "winid", NULL
18808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18812 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
18817 arg2
= (int)(SWIG_As_int(obj1
));
18818 if (SWIG_arg_fail(2)) SWIG_fail
;
18822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18823 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
18825 wxPyEndAllowThreads(__tstate
);
18826 if (PyErr_Occurred()) SWIG_fail
;
18828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
18835 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18836 PyObject
*resultobj
;
18837 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18839 PyObject
* obj0
= 0 ;
18840 char *kwnames
[] = {
18841 (char *) "self", NULL
18844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
18845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18846 if (SWIG_arg_fail(1)) SWIG_fail
;
18848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18849 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
18851 wxPyEndAllowThreads(__tstate
);
18852 if (PyErr_Occurred()) SWIG_fail
;
18855 wxSize
* resultptr
;
18856 resultptr
= new wxSize((wxSize
&)(result
));
18857 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18865 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18866 PyObject
*resultobj
;
18867 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18869 PyObject
* obj0
= 0 ;
18870 char *kwnames
[] = {
18871 (char *) "self", NULL
18874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
18875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18876 if (SWIG_arg_fail(1)) SWIG_fail
;
18878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18879 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
18881 wxPyEndAllowThreads(__tstate
);
18882 if (PyErr_Occurred()) SWIG_fail
;
18885 wxRect
* resultptr
;
18886 resultptr
= new wxRect((wxRect
&)(result
));
18887 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
18895 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18896 PyObject
*resultobj
;
18897 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18899 PyObject
* obj0
= 0 ;
18900 PyObject
* obj1
= 0 ;
18901 char *kwnames
[] = {
18902 (char *) "self",(char *) "rect", NULL
18905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
18906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18907 if (SWIG_arg_fail(1)) SWIG_fail
;
18910 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
18911 if (SWIG_arg_fail(2)) SWIG_fail
;
18912 if (argp
== NULL
) {
18913 SWIG_null_ref("wxRect");
18915 if (SWIG_arg_fail(2)) SWIG_fail
;
18919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18920 (arg1
)->SetRect(arg2
);
18922 wxPyEndAllowThreads(__tstate
);
18923 if (PyErr_Occurred()) SWIG_fail
;
18925 Py_INCREF(Py_None
); resultobj
= Py_None
;
18932 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18933 PyObject
*resultobj
;
18934 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18936 PyObject
* obj0
= 0 ;
18937 PyObject
* obj1
= 0 ;
18938 char *kwnames
[] = {
18939 (char *) "self",(char *) "size", NULL
18942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18944 if (SWIG_arg_fail(1)) SWIG_fail
;
18947 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
18948 if (SWIG_arg_fail(2)) SWIG_fail
;
18949 if (argp
== NULL
) {
18950 SWIG_null_ref("wxSize");
18952 if (SWIG_arg_fail(2)) SWIG_fail
;
18956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18957 wxSizeEvent_SetSize(arg1
,arg2
);
18959 wxPyEndAllowThreads(__tstate
);
18960 if (PyErr_Occurred()) SWIG_fail
;
18962 Py_INCREF(Py_None
); resultobj
= Py_None
;
18969 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18970 PyObject
*resultobj
;
18971 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18972 wxSize
*arg2
= (wxSize
*) 0 ;
18973 PyObject
* obj0
= 0 ;
18974 PyObject
* obj1
= 0 ;
18975 char *kwnames
[] = {
18976 (char *) "self",(char *) "m_size", NULL
18979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18981 if (SWIG_arg_fail(1)) SWIG_fail
;
18982 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
18983 if (SWIG_arg_fail(2)) SWIG_fail
;
18984 if (arg1
) (arg1
)->m_size
= *arg2
;
18986 Py_INCREF(Py_None
); resultobj
= Py_None
;
18993 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18994 PyObject
*resultobj
;
18995 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18997 PyObject
* obj0
= 0 ;
18998 char *kwnames
[] = {
18999 (char *) "self", NULL
19002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
19003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19004 if (SWIG_arg_fail(1)) SWIG_fail
;
19005 result
= (wxSize
*)& ((arg1
)->m_size
);
19007 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
19014 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19015 PyObject
*resultobj
;
19016 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19017 wxRect
*arg2
= (wxRect
*) 0 ;
19018 PyObject
* obj0
= 0 ;
19019 PyObject
* obj1
= 0 ;
19020 char *kwnames
[] = {
19021 (char *) "self",(char *) "m_rect", NULL
19024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19026 if (SWIG_arg_fail(1)) SWIG_fail
;
19027 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
19028 if (SWIG_arg_fail(2)) SWIG_fail
;
19029 if (arg1
) (arg1
)->m_rect
= *arg2
;
19031 Py_INCREF(Py_None
); resultobj
= Py_None
;
19038 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19039 PyObject
*resultobj
;
19040 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19042 PyObject
* obj0
= 0 ;
19043 char *kwnames
[] = {
19044 (char *) "self", NULL
19047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
19048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19049 if (SWIG_arg_fail(1)) SWIG_fail
;
19050 result
= (wxRect
*)& ((arg1
)->m_rect
);
19052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
19059 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
19061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19062 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
19064 return Py_BuildValue((char *)"");
19066 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19067 PyObject
*resultobj
;
19068 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
19069 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
19070 int arg2
= (int) 0 ;
19071 wxMoveEvent
*result
;
19073 PyObject
* obj0
= 0 ;
19074 PyObject
* obj1
= 0 ;
19075 char *kwnames
[] = {
19076 (char *) "pos",(char *) "winid", NULL
19079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19083 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
19088 arg2
= (int)(SWIG_As_int(obj1
));
19089 if (SWIG_arg_fail(2)) SWIG_fail
;
19093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19094 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
19096 wxPyEndAllowThreads(__tstate
);
19097 if (PyErr_Occurred()) SWIG_fail
;
19099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
19106 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19107 PyObject
*resultobj
;
19108 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19110 PyObject
* obj0
= 0 ;
19111 char *kwnames
[] = {
19112 (char *) "self", NULL
19115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19117 if (SWIG_arg_fail(1)) SWIG_fail
;
19119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19120 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
19122 wxPyEndAllowThreads(__tstate
);
19123 if (PyErr_Occurred()) SWIG_fail
;
19126 wxPoint
* resultptr
;
19127 resultptr
= new wxPoint((wxPoint
&)(result
));
19128 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19136 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19137 PyObject
*resultobj
;
19138 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19140 PyObject
* obj0
= 0 ;
19141 char *kwnames
[] = {
19142 (char *) "self", NULL
19145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19147 if (SWIG_arg_fail(1)) SWIG_fail
;
19149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19150 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
19152 wxPyEndAllowThreads(__tstate
);
19153 if (PyErr_Occurred()) SWIG_fail
;
19156 wxRect
* resultptr
;
19157 resultptr
= new wxRect((wxRect
&)(result
));
19158 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19166 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19167 PyObject
*resultobj
;
19168 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19171 PyObject
* obj0
= 0 ;
19172 PyObject
* obj1
= 0 ;
19173 char *kwnames
[] = {
19174 (char *) "self",(char *) "rect", NULL
19177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19179 if (SWIG_arg_fail(1)) SWIG_fail
;
19182 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19186 (arg1
)->SetRect((wxRect
const &)*arg2
);
19188 wxPyEndAllowThreads(__tstate
);
19189 if (PyErr_Occurred()) SWIG_fail
;
19191 Py_INCREF(Py_None
); resultobj
= Py_None
;
19198 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19199 PyObject
*resultobj
;
19200 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19201 wxPoint
*arg2
= 0 ;
19203 PyObject
* obj0
= 0 ;
19204 PyObject
* obj1
= 0 ;
19205 char *kwnames
[] = {
19206 (char *) "self",(char *) "pos", NULL
19209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19211 if (SWIG_arg_fail(1)) SWIG_fail
;
19214 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19218 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19220 wxPyEndAllowThreads(__tstate
);
19221 if (PyErr_Occurred()) SWIG_fail
;
19223 Py_INCREF(Py_None
); resultobj
= Py_None
;
19230 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
19232 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19233 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
19235 return Py_BuildValue((char *)"");
19237 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19238 PyObject
*resultobj
;
19239 int arg1
= (int) 0 ;
19240 wxPaintEvent
*result
;
19241 PyObject
* obj0
= 0 ;
19242 char *kwnames
[] = {
19243 (char *) "Id", NULL
19246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
19249 arg1
= (int)(SWIG_As_int(obj0
));
19250 if (SWIG_arg_fail(1)) SWIG_fail
;
19254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19255 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
19257 wxPyEndAllowThreads(__tstate
);
19258 if (PyErr_Occurred()) SWIG_fail
;
19260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
19267 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19269 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19270 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
19272 return Py_BuildValue((char *)"");
19274 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19275 PyObject
*resultobj
;
19276 int arg1
= (int) 0 ;
19277 wxNcPaintEvent
*result
;
19278 PyObject
* obj0
= 0 ;
19279 char *kwnames
[] = {
19280 (char *) "winid", NULL
19283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
19286 arg1
= (int)(SWIG_As_int(obj0
));
19287 if (SWIG_arg_fail(1)) SWIG_fail
;
19291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19292 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
19294 wxPyEndAllowThreads(__tstate
);
19295 if (PyErr_Occurred()) SWIG_fail
;
19297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
19304 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19306 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19307 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
19309 return Py_BuildValue((char *)"");
19311 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19312 PyObject
*resultobj
;
19313 int arg1
= (int) 0 ;
19314 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
19315 wxEraseEvent
*result
;
19316 PyObject
* obj0
= 0 ;
19317 PyObject
* obj1
= 0 ;
19318 char *kwnames
[] = {
19319 (char *) "Id",(char *) "dc", NULL
19322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19325 arg1
= (int)(SWIG_As_int(obj0
));
19326 if (SWIG_arg_fail(1)) SWIG_fail
;
19330 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19331 if (SWIG_arg_fail(2)) SWIG_fail
;
19334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19335 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
19337 wxPyEndAllowThreads(__tstate
);
19338 if (PyErr_Occurred()) SWIG_fail
;
19340 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
19347 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19348 PyObject
*resultobj
;
19349 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
19351 PyObject
* obj0
= 0 ;
19352 char *kwnames
[] = {
19353 (char *) "self", NULL
19356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
19357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19358 if (SWIG_arg_fail(1)) SWIG_fail
;
19360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19361 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
19363 wxPyEndAllowThreads(__tstate
);
19364 if (PyErr_Occurred()) SWIG_fail
;
19367 resultobj
= wxPyMake_wxObject(result
, 0);
19375 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
19377 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19378 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
19380 return Py_BuildValue((char *)"");
19382 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19383 PyObject
*resultobj
;
19384 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19385 int arg2
= (int) 0 ;
19386 wxFocusEvent
*result
;
19387 PyObject
* obj0
= 0 ;
19388 PyObject
* obj1
= 0 ;
19389 char *kwnames
[] = {
19390 (char *) "type",(char *) "winid", NULL
19393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19396 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19397 if (SWIG_arg_fail(1)) SWIG_fail
;
19402 arg2
= (int)(SWIG_As_int(obj1
));
19403 if (SWIG_arg_fail(2)) SWIG_fail
;
19407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19408 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
19410 wxPyEndAllowThreads(__tstate
);
19411 if (PyErr_Occurred()) SWIG_fail
;
19413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
19420 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19421 PyObject
*resultobj
;
19422 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19424 PyObject
* obj0
= 0 ;
19425 char *kwnames
[] = {
19426 (char *) "self", NULL
19429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19431 if (SWIG_arg_fail(1)) SWIG_fail
;
19433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19434 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
19436 wxPyEndAllowThreads(__tstate
);
19437 if (PyErr_Occurred()) SWIG_fail
;
19440 resultobj
= wxPyMake_wxObject(result
, 0);
19448 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19449 PyObject
*resultobj
;
19450 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19451 wxWindow
*arg2
= (wxWindow
*) 0 ;
19452 PyObject
* obj0
= 0 ;
19453 PyObject
* obj1
= 0 ;
19454 char *kwnames
[] = {
19455 (char *) "self",(char *) "win", NULL
19458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19460 if (SWIG_arg_fail(1)) SWIG_fail
;
19461 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19462 if (SWIG_arg_fail(2)) SWIG_fail
;
19464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19465 (arg1
)->SetWindow(arg2
);
19467 wxPyEndAllowThreads(__tstate
);
19468 if (PyErr_Occurred()) SWIG_fail
;
19470 Py_INCREF(Py_None
); resultobj
= Py_None
;
19477 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19479 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19480 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
19482 return Py_BuildValue((char *)"");
19484 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19485 PyObject
*resultobj
;
19486 wxWindow
*arg1
= (wxWindow
*) NULL
;
19487 wxChildFocusEvent
*result
;
19488 PyObject
* obj0
= 0 ;
19489 char *kwnames
[] = {
19490 (char *) "win", NULL
19493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
19495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19496 if (SWIG_arg_fail(1)) SWIG_fail
;
19499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19500 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
19502 wxPyEndAllowThreads(__tstate
);
19503 if (PyErr_Occurred()) SWIG_fail
;
19505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
19512 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19513 PyObject
*resultobj
;
19514 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
19516 PyObject
* obj0
= 0 ;
19517 char *kwnames
[] = {
19518 (char *) "self", NULL
19521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19523 if (SWIG_arg_fail(1)) SWIG_fail
;
19525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19526 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
19528 wxPyEndAllowThreads(__tstate
);
19529 if (PyErr_Occurred()) SWIG_fail
;
19532 resultobj
= wxPyMake_wxObject(result
, 0);
19540 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19543 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
19545 return Py_BuildValue((char *)"");
19547 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19548 PyObject
*resultobj
;
19549 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19550 bool arg2
= (bool) true ;
19551 int arg3
= (int) 0 ;
19552 wxActivateEvent
*result
;
19553 PyObject
* obj0
= 0 ;
19554 PyObject
* obj1
= 0 ;
19555 PyObject
* obj2
= 0 ;
19556 char *kwnames
[] = {
19557 (char *) "type",(char *) "active",(char *) "Id", NULL
19560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19563 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19564 if (SWIG_arg_fail(1)) SWIG_fail
;
19569 arg2
= (bool)(SWIG_As_bool(obj1
));
19570 if (SWIG_arg_fail(2)) SWIG_fail
;
19575 arg3
= (int)(SWIG_As_int(obj2
));
19576 if (SWIG_arg_fail(3)) SWIG_fail
;
19580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19581 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
19583 wxPyEndAllowThreads(__tstate
);
19584 if (PyErr_Occurred()) SWIG_fail
;
19586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
19593 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19594 PyObject
*resultobj
;
19595 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
19597 PyObject
* obj0
= 0 ;
19598 char *kwnames
[] = {
19599 (char *) "self", NULL
19602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
19603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
19604 if (SWIG_arg_fail(1)) SWIG_fail
;
19606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19607 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
19609 wxPyEndAllowThreads(__tstate
);
19610 if (PyErr_Occurred()) SWIG_fail
;
19613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19621 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
19623 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19624 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
19626 return Py_BuildValue((char *)"");
19628 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19629 PyObject
*resultobj
;
19630 int arg1
= (int) 0 ;
19631 wxInitDialogEvent
*result
;
19632 PyObject
* obj0
= 0 ;
19633 char *kwnames
[] = {
19634 (char *) "Id", NULL
19637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
19640 arg1
= (int)(SWIG_As_int(obj0
));
19641 if (SWIG_arg_fail(1)) SWIG_fail
;
19645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19646 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
19648 wxPyEndAllowThreads(__tstate
);
19649 if (PyErr_Occurred()) SWIG_fail
;
19651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
19658 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
19660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19661 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
19663 return Py_BuildValue((char *)"");
19665 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19666 PyObject
*resultobj
;
19667 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19668 int arg2
= (int) 0 ;
19669 wxMenu
*arg3
= (wxMenu
*) NULL
;
19670 wxMenuEvent
*result
;
19671 PyObject
* obj0
= 0 ;
19672 PyObject
* obj1
= 0 ;
19673 PyObject
* obj2
= 0 ;
19674 char *kwnames
[] = {
19675 (char *) "type",(char *) "winid",(char *) "menu", NULL
19678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19681 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19682 if (SWIG_arg_fail(1)) SWIG_fail
;
19687 arg2
= (int)(SWIG_As_int(obj1
));
19688 if (SWIG_arg_fail(2)) SWIG_fail
;
19692 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
19693 if (SWIG_arg_fail(3)) SWIG_fail
;
19696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19697 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
19699 wxPyEndAllowThreads(__tstate
);
19700 if (PyErr_Occurred()) SWIG_fail
;
19702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
19709 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19710 PyObject
*resultobj
;
19711 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19713 PyObject
* obj0
= 0 ;
19714 char *kwnames
[] = {
19715 (char *) "self", NULL
19718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
19719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19720 if (SWIG_arg_fail(1)) SWIG_fail
;
19722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19723 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
19725 wxPyEndAllowThreads(__tstate
);
19726 if (PyErr_Occurred()) SWIG_fail
;
19729 resultobj
= SWIG_From_int((int)(result
));
19737 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19738 PyObject
*resultobj
;
19739 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19741 PyObject
* obj0
= 0 ;
19742 char *kwnames
[] = {
19743 (char *) "self", NULL
19746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
19747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19748 if (SWIG_arg_fail(1)) SWIG_fail
;
19750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19751 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
19753 wxPyEndAllowThreads(__tstate
);
19754 if (PyErr_Occurred()) SWIG_fail
;
19757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19765 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19766 PyObject
*resultobj
;
19767 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19769 PyObject
* obj0
= 0 ;
19770 char *kwnames
[] = {
19771 (char *) "self", NULL
19774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
19775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19776 if (SWIG_arg_fail(1)) SWIG_fail
;
19778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19779 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
19781 wxPyEndAllowThreads(__tstate
);
19782 if (PyErr_Occurred()) SWIG_fail
;
19785 resultobj
= wxPyMake_wxObject(result
, 0);
19793 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19796 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
19798 return Py_BuildValue((char *)"");
19800 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19801 PyObject
*resultobj
;
19802 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19803 int arg2
= (int) 0 ;
19804 wxCloseEvent
*result
;
19805 PyObject
* obj0
= 0 ;
19806 PyObject
* obj1
= 0 ;
19807 char *kwnames
[] = {
19808 (char *) "type",(char *) "winid", NULL
19811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19814 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19815 if (SWIG_arg_fail(1)) SWIG_fail
;
19820 arg2
= (int)(SWIG_As_int(obj1
));
19821 if (SWIG_arg_fail(2)) SWIG_fail
;
19825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19826 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
19828 wxPyEndAllowThreads(__tstate
);
19829 if (PyErr_Occurred()) SWIG_fail
;
19831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
19838 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19839 PyObject
*resultobj
;
19840 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19842 PyObject
* obj0
= 0 ;
19843 PyObject
* obj1
= 0 ;
19844 char *kwnames
[] = {
19845 (char *) "self",(char *) "logOff", NULL
19848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
19849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19850 if (SWIG_arg_fail(1)) SWIG_fail
;
19852 arg2
= (bool)(SWIG_As_bool(obj1
));
19853 if (SWIG_arg_fail(2)) SWIG_fail
;
19856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19857 (arg1
)->SetLoggingOff(arg2
);
19859 wxPyEndAllowThreads(__tstate
);
19860 if (PyErr_Occurred()) SWIG_fail
;
19862 Py_INCREF(Py_None
); resultobj
= Py_None
;
19869 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19870 PyObject
*resultobj
;
19871 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19873 PyObject
* obj0
= 0 ;
19874 char *kwnames
[] = {
19875 (char *) "self", NULL
19878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
19879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19880 if (SWIG_arg_fail(1)) SWIG_fail
;
19882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19883 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
19885 wxPyEndAllowThreads(__tstate
);
19886 if (PyErr_Occurred()) SWIG_fail
;
19889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19897 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19898 PyObject
*resultobj
;
19899 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19900 bool arg2
= (bool) true ;
19901 PyObject
* obj0
= 0 ;
19902 PyObject
* obj1
= 0 ;
19903 char *kwnames
[] = {
19904 (char *) "self",(char *) "veto", NULL
19907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
19908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19909 if (SWIG_arg_fail(1)) SWIG_fail
;
19912 arg2
= (bool)(SWIG_As_bool(obj1
));
19913 if (SWIG_arg_fail(2)) SWIG_fail
;
19917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19918 (arg1
)->Veto(arg2
);
19920 wxPyEndAllowThreads(__tstate
);
19921 if (PyErr_Occurred()) SWIG_fail
;
19923 Py_INCREF(Py_None
); resultobj
= Py_None
;
19930 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19931 PyObject
*resultobj
;
19932 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19934 PyObject
* obj0
= 0 ;
19935 PyObject
* obj1
= 0 ;
19936 char *kwnames
[] = {
19937 (char *) "self",(char *) "canVeto", NULL
19940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
19941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19942 if (SWIG_arg_fail(1)) SWIG_fail
;
19944 arg2
= (bool)(SWIG_As_bool(obj1
));
19945 if (SWIG_arg_fail(2)) SWIG_fail
;
19948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19949 (arg1
)->SetCanVeto(arg2
);
19951 wxPyEndAllowThreads(__tstate
);
19952 if (PyErr_Occurred()) SWIG_fail
;
19954 Py_INCREF(Py_None
); resultobj
= Py_None
;
19961 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19962 PyObject
*resultobj
;
19963 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19965 PyObject
* obj0
= 0 ;
19966 char *kwnames
[] = {
19967 (char *) "self", NULL
19970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
19971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19972 if (SWIG_arg_fail(1)) SWIG_fail
;
19974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19975 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
19977 wxPyEndAllowThreads(__tstate
);
19978 if (PyErr_Occurred()) SWIG_fail
;
19981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19989 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19990 PyObject
*resultobj
;
19991 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19993 PyObject
* obj0
= 0 ;
19994 char *kwnames
[] = {
19995 (char *) "self", NULL
19998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
19999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20000 if (SWIG_arg_fail(1)) SWIG_fail
;
20002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20003 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
20005 wxPyEndAllowThreads(__tstate
);
20006 if (PyErr_Occurred()) SWIG_fail
;
20009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20017 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
20019 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20020 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
20022 return Py_BuildValue((char *)"");
20024 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20025 PyObject
*resultobj
;
20026 int arg1
= (int) 0 ;
20027 bool arg2
= (bool) false ;
20028 wxShowEvent
*result
;
20029 PyObject
* obj0
= 0 ;
20030 PyObject
* obj1
= 0 ;
20031 char *kwnames
[] = {
20032 (char *) "winid",(char *) "show", NULL
20035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20038 arg1
= (int)(SWIG_As_int(obj0
));
20039 if (SWIG_arg_fail(1)) SWIG_fail
;
20044 arg2
= (bool)(SWIG_As_bool(obj1
));
20045 if (SWIG_arg_fail(2)) SWIG_fail
;
20049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20050 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
20052 wxPyEndAllowThreads(__tstate
);
20053 if (PyErr_Occurred()) SWIG_fail
;
20055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
20062 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20063 PyObject
*resultobj
;
20064 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20066 PyObject
* obj0
= 0 ;
20067 PyObject
* obj1
= 0 ;
20068 char *kwnames
[] = {
20069 (char *) "self",(char *) "show", NULL
20072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
20073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20074 if (SWIG_arg_fail(1)) SWIG_fail
;
20076 arg2
= (bool)(SWIG_As_bool(obj1
));
20077 if (SWIG_arg_fail(2)) SWIG_fail
;
20080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20081 (arg1
)->SetShow(arg2
);
20083 wxPyEndAllowThreads(__tstate
);
20084 if (PyErr_Occurred()) SWIG_fail
;
20086 Py_INCREF(Py_None
); resultobj
= Py_None
;
20093 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20094 PyObject
*resultobj
;
20095 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20097 PyObject
* obj0
= 0 ;
20098 char *kwnames
[] = {
20099 (char *) "self", NULL
20102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
20103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20104 if (SWIG_arg_fail(1)) SWIG_fail
;
20106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20107 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
20109 wxPyEndAllowThreads(__tstate
);
20110 if (PyErr_Occurred()) SWIG_fail
;
20113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20121 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
20123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20124 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
20126 return Py_BuildValue((char *)"");
20128 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20129 PyObject
*resultobj
;
20130 int arg1
= (int) 0 ;
20131 bool arg2
= (bool) true ;
20132 wxIconizeEvent
*result
;
20133 PyObject
* obj0
= 0 ;
20134 PyObject
* obj1
= 0 ;
20135 char *kwnames
[] = {
20136 (char *) "id",(char *) "iconized", NULL
20139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20142 arg1
= (int)(SWIG_As_int(obj0
));
20143 if (SWIG_arg_fail(1)) SWIG_fail
;
20148 arg2
= (bool)(SWIG_As_bool(obj1
));
20149 if (SWIG_arg_fail(2)) SWIG_fail
;
20153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20154 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
20156 wxPyEndAllowThreads(__tstate
);
20157 if (PyErr_Occurred()) SWIG_fail
;
20159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
20166 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20167 PyObject
*resultobj
;
20168 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
20170 PyObject
* obj0
= 0 ;
20171 char *kwnames
[] = {
20172 (char *) "self", NULL
20175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
20176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20177 if (SWIG_arg_fail(1)) SWIG_fail
;
20179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20180 result
= (bool)(arg1
)->Iconized();
20182 wxPyEndAllowThreads(__tstate
);
20183 if (PyErr_Occurred()) SWIG_fail
;
20186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20194 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20197 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
20199 return Py_BuildValue((char *)"");
20201 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20202 PyObject
*resultobj
;
20203 int arg1
= (int) 0 ;
20204 wxMaximizeEvent
*result
;
20205 PyObject
* obj0
= 0 ;
20206 char *kwnames
[] = {
20207 (char *) "id", NULL
20210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
20213 arg1
= (int)(SWIG_As_int(obj0
));
20214 if (SWIG_arg_fail(1)) SWIG_fail
;
20218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20219 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
20221 wxPyEndAllowThreads(__tstate
);
20222 if (PyErr_Occurred()) SWIG_fail
;
20224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
20231 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20234 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
20236 return Py_BuildValue((char *)"");
20238 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20239 PyObject
*resultobj
;
20240 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20242 PyObject
* obj0
= 0 ;
20243 char *kwnames
[] = {
20244 (char *) "self", NULL
20247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20249 if (SWIG_arg_fail(1)) SWIG_fail
;
20251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20252 result
= (arg1
)->GetPosition();
20254 wxPyEndAllowThreads(__tstate
);
20255 if (PyErr_Occurred()) SWIG_fail
;
20258 wxPoint
* resultptr
;
20259 resultptr
= new wxPoint((wxPoint
&)(result
));
20260 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20268 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20269 PyObject
*resultobj
;
20270 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20272 PyObject
* obj0
= 0 ;
20273 char *kwnames
[] = {
20274 (char *) "self", NULL
20277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
20278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20279 if (SWIG_arg_fail(1)) SWIG_fail
;
20281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20282 result
= (int)(arg1
)->GetNumberOfFiles();
20284 wxPyEndAllowThreads(__tstate
);
20285 if (PyErr_Occurred()) SWIG_fail
;
20288 resultobj
= SWIG_From_int((int)(result
));
20296 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20297 PyObject
*resultobj
;
20298 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20300 PyObject
* obj0
= 0 ;
20301 char *kwnames
[] = {
20302 (char *) "self", NULL
20305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
20306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20307 if (SWIG_arg_fail(1)) SWIG_fail
;
20309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20310 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
20312 wxPyEndAllowThreads(__tstate
);
20313 if (PyErr_Occurred()) SWIG_fail
;
20315 resultobj
= result
;
20322 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
20324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20325 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
20327 return Py_BuildValue((char *)"");
20329 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20330 PyObject
*resultobj
;
20331 int arg1
= (int) 0 ;
20332 wxUpdateUIEvent
*result
;
20333 PyObject
* obj0
= 0 ;
20334 char *kwnames
[] = {
20335 (char *) "commandId", NULL
20338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
20341 arg1
= (int)(SWIG_As_int(obj0
));
20342 if (SWIG_arg_fail(1)) SWIG_fail
;
20346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20347 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
20349 wxPyEndAllowThreads(__tstate
);
20350 if (PyErr_Occurred()) SWIG_fail
;
20352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
20359 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20360 PyObject
*resultobj
;
20361 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20363 PyObject
* obj0
= 0 ;
20364 char *kwnames
[] = {
20365 (char *) "self", NULL
20368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
20369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20370 if (SWIG_arg_fail(1)) SWIG_fail
;
20372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20373 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
20375 wxPyEndAllowThreads(__tstate
);
20376 if (PyErr_Occurred()) SWIG_fail
;
20379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20387 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20388 PyObject
*resultobj
;
20389 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20391 PyObject
* obj0
= 0 ;
20392 char *kwnames
[] = {
20393 (char *) "self", NULL
20396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
20397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20398 if (SWIG_arg_fail(1)) SWIG_fail
;
20400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20401 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
20403 wxPyEndAllowThreads(__tstate
);
20404 if (PyErr_Occurred()) SWIG_fail
;
20407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20415 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20416 PyObject
*resultobj
;
20417 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20419 PyObject
* obj0
= 0 ;
20420 char *kwnames
[] = {
20421 (char *) "self", NULL
20424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
20425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20426 if (SWIG_arg_fail(1)) SWIG_fail
;
20428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20429 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
20431 wxPyEndAllowThreads(__tstate
);
20432 if (PyErr_Occurred()) SWIG_fail
;
20436 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20438 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20447 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20448 PyObject
*resultobj
;
20449 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20451 PyObject
* obj0
= 0 ;
20452 char *kwnames
[] = {
20453 (char *) "self", NULL
20456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
20457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20458 if (SWIG_arg_fail(1)) SWIG_fail
;
20460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20461 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
20463 wxPyEndAllowThreads(__tstate
);
20464 if (PyErr_Occurred()) SWIG_fail
;
20467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20475 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20476 PyObject
*resultobj
;
20477 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20479 PyObject
* obj0
= 0 ;
20480 char *kwnames
[] = {
20481 (char *) "self", NULL
20484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
20485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20486 if (SWIG_arg_fail(1)) SWIG_fail
;
20488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20489 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
20491 wxPyEndAllowThreads(__tstate
);
20492 if (PyErr_Occurred()) SWIG_fail
;
20495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20503 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20504 PyObject
*resultobj
;
20505 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20507 PyObject
* obj0
= 0 ;
20508 char *kwnames
[] = {
20509 (char *) "self", NULL
20512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
20513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20514 if (SWIG_arg_fail(1)) SWIG_fail
;
20516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20517 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
20519 wxPyEndAllowThreads(__tstate
);
20520 if (PyErr_Occurred()) SWIG_fail
;
20523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20531 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20532 PyObject
*resultobj
;
20533 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20535 PyObject
* obj0
= 0 ;
20536 PyObject
* obj1
= 0 ;
20537 char *kwnames
[] = {
20538 (char *) "self",(char *) "check", NULL
20541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
20542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20543 if (SWIG_arg_fail(1)) SWIG_fail
;
20545 arg2
= (bool)(SWIG_As_bool(obj1
));
20546 if (SWIG_arg_fail(2)) SWIG_fail
;
20549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20550 (arg1
)->Check(arg2
);
20552 wxPyEndAllowThreads(__tstate
);
20553 if (PyErr_Occurred()) SWIG_fail
;
20555 Py_INCREF(Py_None
); resultobj
= Py_None
;
20562 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20563 PyObject
*resultobj
;
20564 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20566 PyObject
* obj0
= 0 ;
20567 PyObject
* obj1
= 0 ;
20568 char *kwnames
[] = {
20569 (char *) "self",(char *) "enable", NULL
20572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
20573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20574 if (SWIG_arg_fail(1)) SWIG_fail
;
20576 arg2
= (bool)(SWIG_As_bool(obj1
));
20577 if (SWIG_arg_fail(2)) SWIG_fail
;
20580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20581 (arg1
)->Enable(arg2
);
20583 wxPyEndAllowThreads(__tstate
);
20584 if (PyErr_Occurred()) SWIG_fail
;
20586 Py_INCREF(Py_None
); resultobj
= Py_None
;
20593 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20594 PyObject
*resultobj
;
20595 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20596 wxString
*arg2
= 0 ;
20597 bool temp2
= false ;
20598 PyObject
* obj0
= 0 ;
20599 PyObject
* obj1
= 0 ;
20600 char *kwnames
[] = {
20601 (char *) "self",(char *) "text", NULL
20604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
20605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20606 if (SWIG_arg_fail(1)) SWIG_fail
;
20608 arg2
= wxString_in_helper(obj1
);
20609 if (arg2
== NULL
) SWIG_fail
;
20613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20614 (arg1
)->SetText((wxString
const &)*arg2
);
20616 wxPyEndAllowThreads(__tstate
);
20617 if (PyErr_Occurred()) SWIG_fail
;
20619 Py_INCREF(Py_None
); resultobj
= Py_None
;
20634 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20635 PyObject
*resultobj
;
20637 PyObject
* obj0
= 0 ;
20638 char *kwnames
[] = {
20639 (char *) "updateInterval", NULL
20642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
20644 arg1
= (long)(SWIG_As_long(obj0
));
20645 if (SWIG_arg_fail(1)) SWIG_fail
;
20648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20649 wxUpdateUIEvent::SetUpdateInterval(arg1
);
20651 wxPyEndAllowThreads(__tstate
);
20652 if (PyErr_Occurred()) SWIG_fail
;
20654 Py_INCREF(Py_None
); resultobj
= Py_None
;
20661 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20662 PyObject
*resultobj
;
20664 char *kwnames
[] = {
20668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
20670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20671 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
20673 wxPyEndAllowThreads(__tstate
);
20674 if (PyErr_Occurred()) SWIG_fail
;
20677 resultobj
= SWIG_From_long((long)(result
));
20685 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20686 PyObject
*resultobj
;
20687 wxWindow
*arg1
= (wxWindow
*) 0 ;
20689 PyObject
* obj0
= 0 ;
20690 char *kwnames
[] = {
20691 (char *) "win", NULL
20694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
20695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20696 if (SWIG_arg_fail(1)) SWIG_fail
;
20698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20699 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
20701 wxPyEndAllowThreads(__tstate
);
20702 if (PyErr_Occurred()) SWIG_fail
;
20705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20713 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20714 PyObject
*resultobj
;
20715 char *kwnames
[] = {
20719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
20721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20722 wxUpdateUIEvent::ResetUpdateTime();
20724 wxPyEndAllowThreads(__tstate
);
20725 if (PyErr_Occurred()) SWIG_fail
;
20727 Py_INCREF(Py_None
); resultobj
= Py_None
;
20734 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20735 PyObject
*resultobj
;
20736 wxUpdateUIMode arg1
;
20737 PyObject
* obj0
= 0 ;
20738 char *kwnames
[] = {
20739 (char *) "mode", NULL
20742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
20744 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
20745 if (SWIG_arg_fail(1)) SWIG_fail
;
20748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20749 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
20751 wxPyEndAllowThreads(__tstate
);
20752 if (PyErr_Occurred()) SWIG_fail
;
20754 Py_INCREF(Py_None
); resultobj
= Py_None
;
20761 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20762 PyObject
*resultobj
;
20763 wxUpdateUIMode result
;
20764 char *kwnames
[] = {
20768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
20770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20771 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
20773 wxPyEndAllowThreads(__tstate
);
20774 if (PyErr_Occurred()) SWIG_fail
;
20776 resultobj
= SWIG_From_int((result
));
20783 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
20785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20786 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
20788 return Py_BuildValue((char *)"");
20790 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20791 PyObject
*resultobj
;
20792 wxSysColourChangedEvent
*result
;
20793 char *kwnames
[] = {
20797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
20799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20800 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
20802 wxPyEndAllowThreads(__tstate
);
20803 if (PyErr_Occurred()) SWIG_fail
;
20805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
20812 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20815 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
20817 return Py_BuildValue((char *)"");
20819 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20820 PyObject
*resultobj
;
20821 int arg1
= (int) 0 ;
20822 wxWindow
*arg2
= (wxWindow
*) NULL
;
20823 wxMouseCaptureChangedEvent
*result
;
20824 PyObject
* obj0
= 0 ;
20825 PyObject
* obj1
= 0 ;
20826 char *kwnames
[] = {
20827 (char *) "winid",(char *) "gainedCapture", NULL
20830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20833 arg1
= (int)(SWIG_As_int(obj0
));
20834 if (SWIG_arg_fail(1)) SWIG_fail
;
20838 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20839 if (SWIG_arg_fail(2)) SWIG_fail
;
20842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20843 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
20845 wxPyEndAllowThreads(__tstate
);
20846 if (PyErr_Occurred()) SWIG_fail
;
20848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
20855 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20856 PyObject
*resultobj
;
20857 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
20859 PyObject
* obj0
= 0 ;
20860 char *kwnames
[] = {
20861 (char *) "self", NULL
20864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
20865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20866 if (SWIG_arg_fail(1)) SWIG_fail
;
20868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20869 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
20871 wxPyEndAllowThreads(__tstate
);
20872 if (PyErr_Occurred()) SWIG_fail
;
20875 resultobj
= wxPyMake_wxObject(result
, 0);
20883 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20885 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20886 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
20888 return Py_BuildValue((char *)"");
20890 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20891 PyObject
*resultobj
;
20892 wxDisplayChangedEvent
*result
;
20893 char *kwnames
[] = {
20897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
20899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20900 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
20902 wxPyEndAllowThreads(__tstate
);
20903 if (PyErr_Occurred()) SWIG_fail
;
20905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
20912 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20915 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
20917 return Py_BuildValue((char *)"");
20919 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20920 PyObject
*resultobj
;
20921 int arg1
= (int) 0 ;
20922 wxPaletteChangedEvent
*result
;
20923 PyObject
* obj0
= 0 ;
20924 char *kwnames
[] = {
20925 (char *) "id", NULL
20928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
20931 arg1
= (int)(SWIG_As_int(obj0
));
20932 if (SWIG_arg_fail(1)) SWIG_fail
;
20936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20937 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
20939 wxPyEndAllowThreads(__tstate
);
20940 if (PyErr_Occurred()) SWIG_fail
;
20942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
20949 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20950 PyObject
*resultobj
;
20951 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
20952 wxWindow
*arg2
= (wxWindow
*) 0 ;
20953 PyObject
* obj0
= 0 ;
20954 PyObject
* obj1
= 0 ;
20955 char *kwnames
[] = {
20956 (char *) "self",(char *) "win", NULL
20959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20961 if (SWIG_arg_fail(1)) SWIG_fail
;
20962 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20963 if (SWIG_arg_fail(2)) SWIG_fail
;
20965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20966 (arg1
)->SetChangedWindow(arg2
);
20968 wxPyEndAllowThreads(__tstate
);
20969 if (PyErr_Occurred()) SWIG_fail
;
20971 Py_INCREF(Py_None
); resultobj
= Py_None
;
20978 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20979 PyObject
*resultobj
;
20980 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
20982 PyObject
* obj0
= 0 ;
20983 char *kwnames
[] = {
20984 (char *) "self", NULL
20987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
20988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20989 if (SWIG_arg_fail(1)) SWIG_fail
;
20991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20992 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
20994 wxPyEndAllowThreads(__tstate
);
20995 if (PyErr_Occurred()) SWIG_fail
;
20998 resultobj
= wxPyMake_wxObject(result
, 0);
21006 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21009 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
21011 return Py_BuildValue((char *)"");
21013 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21014 PyObject
*resultobj
;
21015 int arg1
= (int) 0 ;
21016 wxQueryNewPaletteEvent
*result
;
21017 PyObject
* obj0
= 0 ;
21018 char *kwnames
[] = {
21019 (char *) "winid", NULL
21022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
21025 arg1
= (int)(SWIG_As_int(obj0
));
21026 if (SWIG_arg_fail(1)) SWIG_fail
;
21030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21031 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
21033 wxPyEndAllowThreads(__tstate
);
21034 if (PyErr_Occurred()) SWIG_fail
;
21036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
21043 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21044 PyObject
*resultobj
;
21045 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21047 PyObject
* obj0
= 0 ;
21048 PyObject
* obj1
= 0 ;
21049 char *kwnames
[] = {
21050 (char *) "self",(char *) "realized", NULL
21053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
21054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21055 if (SWIG_arg_fail(1)) SWIG_fail
;
21057 arg2
= (bool)(SWIG_As_bool(obj1
));
21058 if (SWIG_arg_fail(2)) SWIG_fail
;
21061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21062 (arg1
)->SetPaletteRealized(arg2
);
21064 wxPyEndAllowThreads(__tstate
);
21065 if (PyErr_Occurred()) SWIG_fail
;
21067 Py_INCREF(Py_None
); resultobj
= Py_None
;
21074 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21075 PyObject
*resultobj
;
21076 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21078 PyObject
* obj0
= 0 ;
21079 char *kwnames
[] = {
21080 (char *) "self", NULL
21083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
21084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21085 if (SWIG_arg_fail(1)) SWIG_fail
;
21087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21088 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
21090 wxPyEndAllowThreads(__tstate
);
21091 if (PyErr_Occurred()) SWIG_fail
;
21094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21102 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
21104 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21105 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
21107 return Py_BuildValue((char *)"");
21109 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21110 PyObject
*resultobj
;
21111 wxNavigationKeyEvent
*result
;
21112 char *kwnames
[] = {
21116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
21118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21119 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
21121 wxPyEndAllowThreads(__tstate
);
21122 if (PyErr_Occurred()) SWIG_fail
;
21124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
21131 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21132 PyObject
*resultobj
;
21133 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21135 PyObject
* obj0
= 0 ;
21136 char *kwnames
[] = {
21137 (char *) "self", NULL
21140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
21141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21142 if (SWIG_arg_fail(1)) SWIG_fail
;
21144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21145 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
21147 wxPyEndAllowThreads(__tstate
);
21148 if (PyErr_Occurred()) SWIG_fail
;
21151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21159 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21160 PyObject
*resultobj
;
21161 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21163 PyObject
* obj0
= 0 ;
21164 PyObject
* obj1
= 0 ;
21165 char *kwnames
[] = {
21166 (char *) "self",(char *) "forward", NULL
21169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
21170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21171 if (SWIG_arg_fail(1)) SWIG_fail
;
21173 arg2
= (bool)(SWIG_As_bool(obj1
));
21174 if (SWIG_arg_fail(2)) SWIG_fail
;
21177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21178 (arg1
)->SetDirection(arg2
);
21180 wxPyEndAllowThreads(__tstate
);
21181 if (PyErr_Occurred()) SWIG_fail
;
21183 Py_INCREF(Py_None
); resultobj
= Py_None
;
21190 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21191 PyObject
*resultobj
;
21192 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21194 PyObject
* obj0
= 0 ;
21195 char *kwnames
[] = {
21196 (char *) "self", NULL
21199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
21200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21201 if (SWIG_arg_fail(1)) SWIG_fail
;
21203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21204 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
21206 wxPyEndAllowThreads(__tstate
);
21207 if (PyErr_Occurred()) SWIG_fail
;
21210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21218 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21219 PyObject
*resultobj
;
21220 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21222 PyObject
* obj0
= 0 ;
21223 PyObject
* obj1
= 0 ;
21224 char *kwnames
[] = {
21225 (char *) "self",(char *) "ischange", NULL
21228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
21229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21230 if (SWIG_arg_fail(1)) SWIG_fail
;
21232 arg2
= (bool)(SWIG_As_bool(obj1
));
21233 if (SWIG_arg_fail(2)) SWIG_fail
;
21236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21237 (arg1
)->SetWindowChange(arg2
);
21239 wxPyEndAllowThreads(__tstate
);
21240 if (PyErr_Occurred()) SWIG_fail
;
21242 Py_INCREF(Py_None
); resultobj
= Py_None
;
21249 static PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21250 PyObject
*resultobj
;
21251 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21253 PyObject
* obj0
= 0 ;
21254 char *kwnames
[] = {
21255 (char *) "self", NULL
21258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames
,&obj0
)) goto fail
;
21259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21260 if (SWIG_arg_fail(1)) SWIG_fail
;
21262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21263 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
21265 wxPyEndAllowThreads(__tstate
);
21266 if (PyErr_Occurred()) SWIG_fail
;
21269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21277 static PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21278 PyObject
*resultobj
;
21279 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21281 PyObject
* obj0
= 0 ;
21282 PyObject
* obj1
= 0 ;
21283 char *kwnames
[] = {
21284 (char *) "self",(char *) "bIs", NULL
21287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) goto fail
;
21288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21289 if (SWIG_arg_fail(1)) SWIG_fail
;
21291 arg2
= (bool)(SWIG_As_bool(obj1
));
21292 if (SWIG_arg_fail(2)) SWIG_fail
;
21295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21296 (arg1
)->SetFromTab(arg2
);
21298 wxPyEndAllowThreads(__tstate
);
21299 if (PyErr_Occurred()) SWIG_fail
;
21301 Py_INCREF(Py_None
); resultobj
= Py_None
;
21308 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21309 PyObject
*resultobj
;
21310 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21312 PyObject
* obj0
= 0 ;
21313 PyObject
* obj1
= 0 ;
21314 char *kwnames
[] = {
21315 (char *) "self",(char *) "flags", NULL
21318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
21319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21320 if (SWIG_arg_fail(1)) SWIG_fail
;
21322 arg2
= (long)(SWIG_As_long(obj1
));
21323 if (SWIG_arg_fail(2)) SWIG_fail
;
21326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21327 (arg1
)->SetFlags(arg2
);
21329 wxPyEndAllowThreads(__tstate
);
21330 if (PyErr_Occurred()) SWIG_fail
;
21332 Py_INCREF(Py_None
); resultobj
= Py_None
;
21339 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21340 PyObject
*resultobj
;
21341 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21343 PyObject
* obj0
= 0 ;
21344 char *kwnames
[] = {
21345 (char *) "self", NULL
21348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
21349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21350 if (SWIG_arg_fail(1)) SWIG_fail
;
21352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21353 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
21355 wxPyEndAllowThreads(__tstate
);
21356 if (PyErr_Occurred()) SWIG_fail
;
21359 resultobj
= wxPyMake_wxObject(result
, 0);
21367 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21368 PyObject
*resultobj
;
21369 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21370 wxWindow
*arg2
= (wxWindow
*) 0 ;
21371 PyObject
* obj0
= 0 ;
21372 PyObject
* obj1
= 0 ;
21373 char *kwnames
[] = {
21374 (char *) "self",(char *) "win", NULL
21377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
21378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21379 if (SWIG_arg_fail(1)) SWIG_fail
;
21380 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21381 if (SWIG_arg_fail(2)) SWIG_fail
;
21383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21384 (arg1
)->SetCurrentFocus(arg2
);
21386 wxPyEndAllowThreads(__tstate
);
21387 if (PyErr_Occurred()) SWIG_fail
;
21389 Py_INCREF(Py_None
); resultobj
= Py_None
;
21396 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
21398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21399 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
21401 return Py_BuildValue((char *)"");
21403 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21404 PyObject
*resultobj
;
21405 wxWindow
*arg1
= (wxWindow
*) NULL
;
21406 wxWindowCreateEvent
*result
;
21407 PyObject
* obj0
= 0 ;
21408 char *kwnames
[] = {
21409 (char *) "win", NULL
21412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
21414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21415 if (SWIG_arg_fail(1)) SWIG_fail
;
21418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21419 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
21421 wxPyEndAllowThreads(__tstate
);
21422 if (PyErr_Occurred()) SWIG_fail
;
21424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
21431 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21432 PyObject
*resultobj
;
21433 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
21435 PyObject
* obj0
= 0 ;
21436 char *kwnames
[] = {
21437 (char *) "self", NULL
21440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21442 if (SWIG_arg_fail(1)) SWIG_fail
;
21444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21445 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
21447 wxPyEndAllowThreads(__tstate
);
21448 if (PyErr_Occurred()) SWIG_fail
;
21451 resultobj
= wxPyMake_wxObject(result
, 0);
21459 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
21461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21462 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
21464 return Py_BuildValue((char *)"");
21466 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21467 PyObject
*resultobj
;
21468 wxWindow
*arg1
= (wxWindow
*) NULL
;
21469 wxWindowDestroyEvent
*result
;
21470 PyObject
* obj0
= 0 ;
21471 char *kwnames
[] = {
21472 (char *) "win", NULL
21475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
21477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21478 if (SWIG_arg_fail(1)) SWIG_fail
;
21481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21482 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
21484 wxPyEndAllowThreads(__tstate
);
21485 if (PyErr_Occurred()) SWIG_fail
;
21487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
21494 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21495 PyObject
*resultobj
;
21496 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
21498 PyObject
* obj0
= 0 ;
21499 char *kwnames
[] = {
21500 (char *) "self", NULL
21503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21505 if (SWIG_arg_fail(1)) SWIG_fail
;
21507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21508 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
21510 wxPyEndAllowThreads(__tstate
);
21511 if (PyErr_Occurred()) SWIG_fail
;
21514 resultobj
= wxPyMake_wxObject(result
, 0);
21522 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
21524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21525 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
21527 return Py_BuildValue((char *)"");
21529 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21530 PyObject
*resultobj
;
21531 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21532 int arg2
= (int) 0 ;
21533 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21534 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21535 wxContextMenuEvent
*result
;
21537 PyObject
* obj0
= 0 ;
21538 PyObject
* obj1
= 0 ;
21539 PyObject
* obj2
= 0 ;
21540 char *kwnames
[] = {
21541 (char *) "type",(char *) "winid",(char *) "pt", NULL
21544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21547 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21548 if (SWIG_arg_fail(1)) SWIG_fail
;
21553 arg2
= (int)(SWIG_As_int(obj1
));
21554 if (SWIG_arg_fail(2)) SWIG_fail
;
21560 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21565 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
21567 wxPyEndAllowThreads(__tstate
);
21568 if (PyErr_Occurred()) SWIG_fail
;
21570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
21577 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21578 PyObject
*resultobj
;
21579 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21581 PyObject
* obj0
= 0 ;
21582 char *kwnames
[] = {
21583 (char *) "self", NULL
21586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
21587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21588 if (SWIG_arg_fail(1)) SWIG_fail
;
21590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21592 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
21593 result
= (wxPoint
*) &_result_ref
;
21596 wxPyEndAllowThreads(__tstate
);
21597 if (PyErr_Occurred()) SWIG_fail
;
21599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
21606 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21607 PyObject
*resultobj
;
21608 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21609 wxPoint
*arg2
= 0 ;
21611 PyObject
* obj0
= 0 ;
21612 PyObject
* obj1
= 0 ;
21613 char *kwnames
[] = {
21614 (char *) "self",(char *) "pos", NULL
21617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21619 if (SWIG_arg_fail(1)) SWIG_fail
;
21622 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21626 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
21628 wxPyEndAllowThreads(__tstate
);
21629 if (PyErr_Occurred()) SWIG_fail
;
21631 Py_INCREF(Py_None
); resultobj
= Py_None
;
21638 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
21640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21641 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
21643 return Py_BuildValue((char *)"");
21645 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21646 PyObject
*resultobj
;
21647 wxIdleEvent
*result
;
21648 char *kwnames
[] = {
21652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
21654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21655 result
= (wxIdleEvent
*)new wxIdleEvent();
21657 wxPyEndAllowThreads(__tstate
);
21658 if (PyErr_Occurred()) SWIG_fail
;
21660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
21667 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21668 PyObject
*resultobj
;
21669 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21670 bool arg2
= (bool) true ;
21671 PyObject
* obj0
= 0 ;
21672 PyObject
* obj1
= 0 ;
21673 char *kwnames
[] = {
21674 (char *) "self",(char *) "needMore", NULL
21677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
21678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21679 if (SWIG_arg_fail(1)) SWIG_fail
;
21682 arg2
= (bool)(SWIG_As_bool(obj1
));
21683 if (SWIG_arg_fail(2)) SWIG_fail
;
21687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21688 (arg1
)->RequestMore(arg2
);
21690 wxPyEndAllowThreads(__tstate
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21693 Py_INCREF(Py_None
); resultobj
= Py_None
;
21700 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21701 PyObject
*resultobj
;
21702 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21704 PyObject
* obj0
= 0 ;
21705 char *kwnames
[] = {
21706 (char *) "self", NULL
21709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
21710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21711 if (SWIG_arg_fail(1)) SWIG_fail
;
21713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21714 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
21716 wxPyEndAllowThreads(__tstate
);
21717 if (PyErr_Occurred()) SWIG_fail
;
21720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21728 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21729 PyObject
*resultobj
;
21731 PyObject
* obj0
= 0 ;
21732 char *kwnames
[] = {
21733 (char *) "mode", NULL
21736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21738 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
21739 if (SWIG_arg_fail(1)) SWIG_fail
;
21742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21743 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
21745 wxPyEndAllowThreads(__tstate
);
21746 if (PyErr_Occurred()) SWIG_fail
;
21748 Py_INCREF(Py_None
); resultobj
= Py_None
;
21755 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21756 PyObject
*resultobj
;
21758 char *kwnames
[] = {
21762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
21764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21765 result
= (wxIdleMode
)wxIdleEvent::GetMode();
21767 wxPyEndAllowThreads(__tstate
);
21768 if (PyErr_Occurred()) SWIG_fail
;
21770 resultobj
= SWIG_From_int((result
));
21777 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21778 PyObject
*resultobj
;
21779 wxWindow
*arg1
= (wxWindow
*) 0 ;
21781 PyObject
* obj0
= 0 ;
21782 char *kwnames
[] = {
21783 (char *) "win", NULL
21786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
21787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21788 if (SWIG_arg_fail(1)) SWIG_fail
;
21790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21791 result
= (bool)wxIdleEvent::CanSend(arg1
);
21793 wxPyEndAllowThreads(__tstate
);
21794 if (PyErr_Occurred()) SWIG_fail
;
21797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21805 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
21807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21808 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
21810 return Py_BuildValue((char *)"");
21812 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21813 PyObject
*resultobj
;
21814 int arg1
= (int) 0 ;
21815 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
21817 PyObject
* obj0
= 0 ;
21818 PyObject
* obj1
= 0 ;
21819 char *kwnames
[] = {
21820 (char *) "winid",(char *) "commandType", NULL
21823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21826 arg1
= (int)(SWIG_As_int(obj0
));
21827 if (SWIG_arg_fail(1)) SWIG_fail
;
21832 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
21833 if (SWIG_arg_fail(2)) SWIG_fail
;
21837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21838 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
21840 wxPyEndAllowThreads(__tstate
);
21841 if (PyErr_Occurred()) SWIG_fail
;
21843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
21850 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21851 PyObject
*resultobj
;
21852 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21853 PyObject
* obj0
= 0 ;
21854 char *kwnames
[] = {
21855 (char *) "self", NULL
21858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
21859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21860 if (SWIG_arg_fail(1)) SWIG_fail
;
21862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21865 wxPyEndAllowThreads(__tstate
);
21866 if (PyErr_Occurred()) SWIG_fail
;
21868 Py_INCREF(Py_None
); resultobj
= Py_None
;
21875 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21876 PyObject
*resultobj
;
21877 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21878 PyObject
*arg2
= (PyObject
*) 0 ;
21879 PyObject
* obj0
= 0 ;
21880 PyObject
* obj1
= 0 ;
21881 char *kwnames
[] = {
21882 (char *) "self",(char *) "self", NULL
21885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
21886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21887 if (SWIG_arg_fail(1)) SWIG_fail
;
21890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21891 (arg1
)->SetSelf(arg2
);
21893 wxPyEndAllowThreads(__tstate
);
21894 if (PyErr_Occurred()) SWIG_fail
;
21896 Py_INCREF(Py_None
); resultobj
= Py_None
;
21903 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21904 PyObject
*resultobj
;
21905 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21907 PyObject
* obj0
= 0 ;
21908 char *kwnames
[] = {
21909 (char *) "self", NULL
21912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
21913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21914 if (SWIG_arg_fail(1)) SWIG_fail
;
21916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21917 result
= (PyObject
*)(arg1
)->GetSelf();
21919 wxPyEndAllowThreads(__tstate
);
21920 if (PyErr_Occurred()) SWIG_fail
;
21922 resultobj
= result
;
21929 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
21931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21932 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
21934 return Py_BuildValue((char *)"");
21936 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21937 PyObject
*resultobj
;
21938 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21939 int arg2
= (int) 0 ;
21940 wxPyCommandEvent
*result
;
21941 PyObject
* obj0
= 0 ;
21942 PyObject
* obj1
= 0 ;
21943 char *kwnames
[] = {
21944 (char *) "commandType",(char *) "id", NULL
21947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21950 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21951 if (SWIG_arg_fail(1)) SWIG_fail
;
21956 arg2
= (int)(SWIG_As_int(obj1
));
21957 if (SWIG_arg_fail(2)) SWIG_fail
;
21961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21962 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
21964 wxPyEndAllowThreads(__tstate
);
21965 if (PyErr_Occurred()) SWIG_fail
;
21967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
21974 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21975 PyObject
*resultobj
;
21976 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21977 PyObject
* obj0
= 0 ;
21978 char *kwnames
[] = {
21979 (char *) "self", NULL
21982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
21983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
21984 if (SWIG_arg_fail(1)) SWIG_fail
;
21986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21989 wxPyEndAllowThreads(__tstate
);
21990 if (PyErr_Occurred()) SWIG_fail
;
21992 Py_INCREF(Py_None
); resultobj
= Py_None
;
21999 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22000 PyObject
*resultobj
;
22001 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22002 PyObject
*arg2
= (PyObject
*) 0 ;
22003 PyObject
* obj0
= 0 ;
22004 PyObject
* obj1
= 0 ;
22005 char *kwnames
[] = {
22006 (char *) "self",(char *) "self", NULL
22009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22011 if (SWIG_arg_fail(1)) SWIG_fail
;
22014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22015 (arg1
)->SetSelf(arg2
);
22017 wxPyEndAllowThreads(__tstate
);
22018 if (PyErr_Occurred()) SWIG_fail
;
22020 Py_INCREF(Py_None
); resultobj
= Py_None
;
22027 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22028 PyObject
*resultobj
;
22029 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22031 PyObject
* obj0
= 0 ;
22032 char *kwnames
[] = {
22033 (char *) "self", NULL
22036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
22037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22038 if (SWIG_arg_fail(1)) SWIG_fail
;
22040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22041 result
= (PyObject
*)(arg1
)->GetSelf();
22043 wxPyEndAllowThreads(__tstate
);
22044 if (PyErr_Occurred()) SWIG_fail
;
22046 resultobj
= result
;
22053 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
22055 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22056 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
22058 return Py_BuildValue((char *)"");
22060 static PyObject
*_wrap_new_DateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22061 PyObject
*resultobj
;
22062 wxWindow
*arg1
= (wxWindow
*) 0 ;
22063 wxDateTime
*arg2
= 0 ;
22065 wxDateEvent
*result
;
22066 PyObject
* obj0
= 0 ;
22067 PyObject
* obj1
= 0 ;
22068 PyObject
* obj2
= 0 ;
22069 char *kwnames
[] = {
22070 (char *) "win",(char *) "dt",(char *) "type", NULL
22073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22075 if (SWIG_arg_fail(1)) SWIG_fail
;
22077 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22078 if (SWIG_arg_fail(2)) SWIG_fail
;
22079 if (arg2
== NULL
) {
22080 SWIG_null_ref("wxDateTime");
22082 if (SWIG_arg_fail(2)) SWIG_fail
;
22085 arg3
= (wxEventType
)(SWIG_As_int(obj2
));
22086 if (SWIG_arg_fail(3)) SWIG_fail
;
22089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22090 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
22092 wxPyEndAllowThreads(__tstate
);
22093 if (PyErr_Occurred()) SWIG_fail
;
22095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateEvent
, 1);
22102 static PyObject
*_wrap_DateEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22103 PyObject
*resultobj
;
22104 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22105 wxDateTime
*result
;
22106 PyObject
* obj0
= 0 ;
22107 char *kwnames
[] = {
22108 (char *) "self", NULL
22111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateEvent_GetDate",kwnames
,&obj0
)) goto fail
;
22112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22113 if (SWIG_arg_fail(1)) SWIG_fail
;
22115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22117 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
22118 result
= (wxDateTime
*) &_result_ref
;
22121 wxPyEndAllowThreads(__tstate
);
22122 if (PyErr_Occurred()) SWIG_fail
;
22124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22131 static PyObject
*_wrap_DateEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22132 PyObject
*resultobj
;
22133 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22134 wxDateTime
*arg2
= 0 ;
22135 PyObject
* obj0
= 0 ;
22136 PyObject
* obj1
= 0 ;
22137 char *kwnames
[] = {
22138 (char *) "self",(char *) "date", NULL
22141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22143 if (SWIG_arg_fail(1)) SWIG_fail
;
22145 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22146 if (SWIG_arg_fail(2)) SWIG_fail
;
22147 if (arg2
== NULL
) {
22148 SWIG_null_ref("wxDateTime");
22150 if (SWIG_arg_fail(2)) SWIG_fail
;
22153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22154 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
22156 wxPyEndAllowThreads(__tstate
);
22157 if (PyErr_Occurred()) SWIG_fail
;
22159 Py_INCREF(Py_None
); resultobj
= Py_None
;
22166 static PyObject
* DateEvent_swigregister(PyObject
*, PyObject
*args
) {
22168 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22169 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent
, obj
);
22171 return Py_BuildValue((char *)"");
22173 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22174 PyObject
*resultobj
;
22176 char *kwnames
[] = {
22180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
22182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22183 result
= (wxPyApp
*)new_wxPyApp();
22185 wxPyEndAllowThreads(__tstate
);
22186 if (PyErr_Occurred()) SWIG_fail
;
22188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
22195 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22196 PyObject
*resultobj
;
22197 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22198 PyObject
* obj0
= 0 ;
22199 char *kwnames
[] = {
22200 (char *) "self", NULL
22203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
22204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22205 if (SWIG_arg_fail(1)) SWIG_fail
;
22207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22210 wxPyEndAllowThreads(__tstate
);
22211 if (PyErr_Occurred()) SWIG_fail
;
22213 Py_INCREF(Py_None
); resultobj
= Py_None
;
22220 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22221 PyObject
*resultobj
;
22222 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22223 PyObject
*arg2
= (PyObject
*) 0 ;
22224 PyObject
*arg3
= (PyObject
*) 0 ;
22225 PyObject
* obj0
= 0 ;
22226 PyObject
* obj1
= 0 ;
22227 PyObject
* obj2
= 0 ;
22228 char *kwnames
[] = {
22229 (char *) "self",(char *) "self",(char *) "_class", NULL
22232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22234 if (SWIG_arg_fail(1)) SWIG_fail
;
22238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22239 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22241 wxPyEndAllowThreads(__tstate
);
22242 if (PyErr_Occurred()) SWIG_fail
;
22244 Py_INCREF(Py_None
); resultobj
= Py_None
;
22251 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22252 PyObject
*resultobj
;
22253 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22255 PyObject
* obj0
= 0 ;
22256 char *kwnames
[] = {
22257 (char *) "self", NULL
22260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
22261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22262 if (SWIG_arg_fail(1)) SWIG_fail
;
22264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22265 result
= ((wxPyApp
const *)arg1
)->GetAppName();
22267 wxPyEndAllowThreads(__tstate
);
22268 if (PyErr_Occurred()) SWIG_fail
;
22272 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22274 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22283 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22284 PyObject
*resultobj
;
22285 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22286 wxString
*arg2
= 0 ;
22287 bool temp2
= false ;
22288 PyObject
* obj0
= 0 ;
22289 PyObject
* obj1
= 0 ;
22290 char *kwnames
[] = {
22291 (char *) "self",(char *) "name", NULL
22294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
22295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22296 if (SWIG_arg_fail(1)) SWIG_fail
;
22298 arg2
= wxString_in_helper(obj1
);
22299 if (arg2
== NULL
) SWIG_fail
;
22303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22304 (arg1
)->SetAppName((wxString
const &)*arg2
);
22306 wxPyEndAllowThreads(__tstate
);
22307 if (PyErr_Occurred()) SWIG_fail
;
22309 Py_INCREF(Py_None
); resultobj
= Py_None
;
22324 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22325 PyObject
*resultobj
;
22326 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22328 PyObject
* obj0
= 0 ;
22329 char *kwnames
[] = {
22330 (char *) "self", NULL
22333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
22334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22335 if (SWIG_arg_fail(1)) SWIG_fail
;
22337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22338 result
= ((wxPyApp
const *)arg1
)->GetClassName();
22340 wxPyEndAllowThreads(__tstate
);
22341 if (PyErr_Occurred()) SWIG_fail
;
22345 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22347 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22356 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22357 PyObject
*resultobj
;
22358 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22359 wxString
*arg2
= 0 ;
22360 bool temp2
= false ;
22361 PyObject
* obj0
= 0 ;
22362 PyObject
* obj1
= 0 ;
22363 char *kwnames
[] = {
22364 (char *) "self",(char *) "name", NULL
22367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
22368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22369 if (SWIG_arg_fail(1)) SWIG_fail
;
22371 arg2
= wxString_in_helper(obj1
);
22372 if (arg2
== NULL
) SWIG_fail
;
22376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22377 (arg1
)->SetClassName((wxString
const &)*arg2
);
22379 wxPyEndAllowThreads(__tstate
);
22380 if (PyErr_Occurred()) SWIG_fail
;
22382 Py_INCREF(Py_None
); resultobj
= Py_None
;
22397 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22398 PyObject
*resultobj
;
22399 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22401 PyObject
* obj0
= 0 ;
22402 char *kwnames
[] = {
22403 (char *) "self", NULL
22406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
22407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22408 if (SWIG_arg_fail(1)) SWIG_fail
;
22410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22412 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
22413 result
= (wxString
*) &_result_ref
;
22416 wxPyEndAllowThreads(__tstate
);
22417 if (PyErr_Occurred()) SWIG_fail
;
22421 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22423 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22432 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22433 PyObject
*resultobj
;
22434 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22435 wxString
*arg2
= 0 ;
22436 bool temp2
= false ;
22437 PyObject
* obj0
= 0 ;
22438 PyObject
* obj1
= 0 ;
22439 char *kwnames
[] = {
22440 (char *) "self",(char *) "name", NULL
22443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
22444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22445 if (SWIG_arg_fail(1)) SWIG_fail
;
22447 arg2
= wxString_in_helper(obj1
);
22448 if (arg2
== NULL
) SWIG_fail
;
22452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22453 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22455 wxPyEndAllowThreads(__tstate
);
22456 if (PyErr_Occurred()) SWIG_fail
;
22458 Py_INCREF(Py_None
); resultobj
= Py_None
;
22473 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22474 PyObject
*resultobj
;
22475 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22476 wxAppTraits
*result
;
22477 PyObject
* obj0
= 0 ;
22478 char *kwnames
[] = {
22479 (char *) "self", NULL
22482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
22483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22484 if (SWIG_arg_fail(1)) SWIG_fail
;
22486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22487 result
= (wxAppTraits
*)(arg1
)->GetTraits();
22489 wxPyEndAllowThreads(__tstate
);
22490 if (PyErr_Occurred()) SWIG_fail
;
22492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
22499 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22500 PyObject
*resultobj
;
22501 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22502 PyObject
* obj0
= 0 ;
22503 char *kwnames
[] = {
22504 (char *) "self", NULL
22507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
22508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22509 if (SWIG_arg_fail(1)) SWIG_fail
;
22511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22512 (arg1
)->ProcessPendingEvents();
22514 wxPyEndAllowThreads(__tstate
);
22515 if (PyErr_Occurred()) SWIG_fail
;
22517 Py_INCREF(Py_None
); resultobj
= Py_None
;
22524 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22525 PyObject
*resultobj
;
22526 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22527 bool arg2
= (bool) false ;
22529 PyObject
* obj0
= 0 ;
22530 PyObject
* obj1
= 0 ;
22531 char *kwnames
[] = {
22532 (char *) "self",(char *) "onlyIfNeeded", NULL
22535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
22536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22537 if (SWIG_arg_fail(1)) SWIG_fail
;
22540 arg2
= (bool)(SWIG_As_bool(obj1
));
22541 if (SWIG_arg_fail(2)) SWIG_fail
;
22545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22546 result
= (bool)(arg1
)->Yield(arg2
);
22548 wxPyEndAllowThreads(__tstate
);
22549 if (PyErr_Occurred()) SWIG_fail
;
22552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22560 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22561 PyObject
*resultobj
;
22562 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22563 PyObject
* obj0
= 0 ;
22564 char *kwnames
[] = {
22565 (char *) "self", NULL
22568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
22569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22570 if (SWIG_arg_fail(1)) SWIG_fail
;
22572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22573 (arg1
)->WakeUpIdle();
22575 wxPyEndAllowThreads(__tstate
);
22576 if (PyErr_Occurred()) SWIG_fail
;
22578 Py_INCREF(Py_None
); resultobj
= Py_None
;
22585 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22586 PyObject
*resultobj
;
22588 char *kwnames
[] = {
22592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
22594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22595 result
= (bool)wxPyApp::IsMainLoopRunning();
22597 wxPyEndAllowThreads(__tstate
);
22598 if (PyErr_Occurred()) SWIG_fail
;
22601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22609 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22610 PyObject
*resultobj
;
22611 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22613 PyObject
* obj0
= 0 ;
22614 char *kwnames
[] = {
22615 (char *) "self", NULL
22618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
22619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22620 if (SWIG_arg_fail(1)) SWIG_fail
;
22622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22623 result
= (int)(arg1
)->MainLoop();
22625 wxPyEndAllowThreads(__tstate
);
22626 if (PyErr_Occurred()) SWIG_fail
;
22629 resultobj
= SWIG_From_int((int)(result
));
22637 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22638 PyObject
*resultobj
;
22639 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22640 PyObject
* obj0
= 0 ;
22641 char *kwnames
[] = {
22642 (char *) "self", NULL
22645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
22646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22647 if (SWIG_arg_fail(1)) SWIG_fail
;
22649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22652 wxPyEndAllowThreads(__tstate
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22655 Py_INCREF(Py_None
); resultobj
= Py_None
;
22662 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22663 PyObject
*resultobj
;
22664 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22665 PyObject
* obj0
= 0 ;
22666 char *kwnames
[] = {
22667 (char *) "self", NULL
22670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
22671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22672 if (SWIG_arg_fail(1)) SWIG_fail
;
22674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22675 (arg1
)->ExitMainLoop();
22677 wxPyEndAllowThreads(__tstate
);
22678 if (PyErr_Occurred()) SWIG_fail
;
22680 Py_INCREF(Py_None
); resultobj
= Py_None
;
22687 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22688 PyObject
*resultobj
;
22689 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22691 PyObject
* obj0
= 0 ;
22692 char *kwnames
[] = {
22693 (char *) "self", NULL
22696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
22697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22698 if (SWIG_arg_fail(1)) SWIG_fail
;
22700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22701 result
= (bool)(arg1
)->Pending();
22703 wxPyEndAllowThreads(__tstate
);
22704 if (PyErr_Occurred()) SWIG_fail
;
22707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22715 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22716 PyObject
*resultobj
;
22717 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22719 PyObject
* obj0
= 0 ;
22720 char *kwnames
[] = {
22721 (char *) "self", NULL
22724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
22725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22726 if (SWIG_arg_fail(1)) SWIG_fail
;
22728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22729 result
= (bool)(arg1
)->Dispatch();
22731 wxPyEndAllowThreads(__tstate
);
22732 if (PyErr_Occurred()) SWIG_fail
;
22735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22743 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22744 PyObject
*resultobj
;
22745 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22747 PyObject
* obj0
= 0 ;
22748 char *kwnames
[] = {
22749 (char *) "self", NULL
22752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
22753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22754 if (SWIG_arg_fail(1)) SWIG_fail
;
22756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22757 result
= (bool)(arg1
)->ProcessIdle();
22759 wxPyEndAllowThreads(__tstate
);
22760 if (PyErr_Occurred()) SWIG_fail
;
22763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22771 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22772 PyObject
*resultobj
;
22773 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22774 wxWindow
*arg2
= (wxWindow
*) 0 ;
22775 wxIdleEvent
*arg3
= 0 ;
22777 PyObject
* obj0
= 0 ;
22778 PyObject
* obj1
= 0 ;
22779 PyObject
* obj2
= 0 ;
22780 char *kwnames
[] = {
22781 (char *) "self",(char *) "win",(char *) "event", NULL
22784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22786 if (SWIG_arg_fail(1)) SWIG_fail
;
22787 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22788 if (SWIG_arg_fail(2)) SWIG_fail
;
22790 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22791 if (SWIG_arg_fail(3)) SWIG_fail
;
22792 if (arg3
== NULL
) {
22793 SWIG_null_ref("wxIdleEvent");
22795 if (SWIG_arg_fail(3)) SWIG_fail
;
22798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22799 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
22801 wxPyEndAllowThreads(__tstate
);
22802 if (PyErr_Occurred()) SWIG_fail
;
22805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22813 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22814 PyObject
*resultobj
;
22815 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22817 PyObject
* obj0
= 0 ;
22818 char *kwnames
[] = {
22819 (char *) "self", NULL
22822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
22823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22824 if (SWIG_arg_fail(1)) SWIG_fail
;
22826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22827 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
22829 wxPyEndAllowThreads(__tstate
);
22830 if (PyErr_Occurred()) SWIG_fail
;
22833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22841 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22842 PyObject
*resultobj
;
22843 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22844 wxWindow
*arg2
= (wxWindow
*) 0 ;
22845 PyObject
* obj0
= 0 ;
22846 PyObject
* obj1
= 0 ;
22847 char *kwnames
[] = {
22848 (char *) "self",(char *) "win", NULL
22851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
22852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22853 if (SWIG_arg_fail(1)) SWIG_fail
;
22854 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22855 if (SWIG_arg_fail(2)) SWIG_fail
;
22857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22858 (arg1
)->SetTopWindow(arg2
);
22860 wxPyEndAllowThreads(__tstate
);
22861 if (PyErr_Occurred()) SWIG_fail
;
22863 Py_INCREF(Py_None
); resultobj
= Py_None
;
22870 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22871 PyObject
*resultobj
;
22872 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22874 PyObject
* obj0
= 0 ;
22875 char *kwnames
[] = {
22876 (char *) "self", NULL
22879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
22880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22881 if (SWIG_arg_fail(1)) SWIG_fail
;
22883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22884 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
22886 wxPyEndAllowThreads(__tstate
);
22887 if (PyErr_Occurred()) SWIG_fail
;
22890 resultobj
= wxPyMake_wxObject(result
, 0);
22898 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22899 PyObject
*resultobj
;
22900 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22902 PyObject
* obj0
= 0 ;
22903 PyObject
* obj1
= 0 ;
22904 char *kwnames
[] = {
22905 (char *) "self",(char *) "flag", NULL
22908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
22909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22910 if (SWIG_arg_fail(1)) SWIG_fail
;
22912 arg2
= (bool)(SWIG_As_bool(obj1
));
22913 if (SWIG_arg_fail(2)) SWIG_fail
;
22916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22917 (arg1
)->SetExitOnFrameDelete(arg2
);
22919 wxPyEndAllowThreads(__tstate
);
22920 if (PyErr_Occurred()) SWIG_fail
;
22922 Py_INCREF(Py_None
); resultobj
= Py_None
;
22929 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22930 PyObject
*resultobj
;
22931 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22933 PyObject
* obj0
= 0 ;
22934 char *kwnames
[] = {
22935 (char *) "self", NULL
22938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
22939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22940 if (SWIG_arg_fail(1)) SWIG_fail
;
22942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22943 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
22945 wxPyEndAllowThreads(__tstate
);
22946 if (PyErr_Occurred()) SWIG_fail
;
22949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22957 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22958 PyObject
*resultobj
;
22959 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22961 PyObject
* obj0
= 0 ;
22962 PyObject
* obj1
= 0 ;
22963 char *kwnames
[] = {
22964 (char *) "self",(char *) "flag", NULL
22967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
22968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22969 if (SWIG_arg_fail(1)) SWIG_fail
;
22971 arg2
= (bool)(SWIG_As_bool(obj1
));
22972 if (SWIG_arg_fail(2)) SWIG_fail
;
22975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22976 (arg1
)->SetUseBestVisual(arg2
);
22978 wxPyEndAllowThreads(__tstate
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22981 Py_INCREF(Py_None
); resultobj
= Py_None
;
22988 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22989 PyObject
*resultobj
;
22990 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22992 PyObject
* obj0
= 0 ;
22993 char *kwnames
[] = {
22994 (char *) "self", NULL
22997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
22998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22999 if (SWIG_arg_fail(1)) SWIG_fail
;
23001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23002 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
23004 wxPyEndAllowThreads(__tstate
);
23005 if (PyErr_Occurred()) SWIG_fail
;
23008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23016 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23017 PyObject
*resultobj
;
23018 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23020 PyObject
* obj0
= 0 ;
23021 PyObject
* obj1
= 0 ;
23022 char *kwnames
[] = {
23023 (char *) "self",(char *) "mode", NULL
23026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23028 if (SWIG_arg_fail(1)) SWIG_fail
;
23030 arg2
= (int)(SWIG_As_int(obj1
));
23031 if (SWIG_arg_fail(2)) SWIG_fail
;
23034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23035 (arg1
)->SetPrintMode(arg2
);
23037 wxPyEndAllowThreads(__tstate
);
23038 if (PyErr_Occurred()) SWIG_fail
;
23040 Py_INCREF(Py_None
); resultobj
= Py_None
;
23047 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23048 PyObject
*resultobj
;
23049 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23051 PyObject
* obj0
= 0 ;
23052 char *kwnames
[] = {
23053 (char *) "self", NULL
23056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
23057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23058 if (SWIG_arg_fail(1)) SWIG_fail
;
23060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23061 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
23063 wxPyEndAllowThreads(__tstate
);
23064 if (PyErr_Occurred()) SWIG_fail
;
23067 resultobj
= SWIG_From_int((int)(result
));
23075 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23076 PyObject
*resultobj
;
23077 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23079 PyObject
* obj0
= 0 ;
23080 PyObject
* obj1
= 0 ;
23081 char *kwnames
[] = {
23082 (char *) "self",(char *) "mode", NULL
23085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23087 if (SWIG_arg_fail(1)) SWIG_fail
;
23089 arg2
= (int)(SWIG_As_int(obj1
));
23090 if (SWIG_arg_fail(2)) SWIG_fail
;
23093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23094 (arg1
)->SetAssertMode(arg2
);
23096 wxPyEndAllowThreads(__tstate
);
23097 if (PyErr_Occurred()) SWIG_fail
;
23099 Py_INCREF(Py_None
); resultobj
= Py_None
;
23106 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23107 PyObject
*resultobj
;
23108 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23110 PyObject
* obj0
= 0 ;
23111 char *kwnames
[] = {
23112 (char *) "self", NULL
23115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
23116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23117 if (SWIG_arg_fail(1)) SWIG_fail
;
23119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23120 result
= (int)(arg1
)->GetAssertMode();
23122 wxPyEndAllowThreads(__tstate
);
23123 if (PyErr_Occurred()) SWIG_fail
;
23126 resultobj
= SWIG_From_int((int)(result
));
23134 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23135 PyObject
*resultobj
;
23137 char *kwnames
[] = {
23141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
23143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23144 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
23146 wxPyEndAllowThreads(__tstate
);
23147 if (PyErr_Occurred()) SWIG_fail
;
23150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23158 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23159 PyObject
*resultobj
;
23161 char *kwnames
[] = {
23165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
23167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23168 result
= (long)wxPyApp::GetMacAboutMenuItemId();
23170 wxPyEndAllowThreads(__tstate
);
23171 if (PyErr_Occurred()) SWIG_fail
;
23174 resultobj
= SWIG_From_long((long)(result
));
23182 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23183 PyObject
*resultobj
;
23185 char *kwnames
[] = {
23189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
23191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23192 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
23194 wxPyEndAllowThreads(__tstate
);
23195 if (PyErr_Occurred()) SWIG_fail
;
23198 resultobj
= SWIG_From_long((long)(result
));
23206 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23207 PyObject
*resultobj
;
23209 char *kwnames
[] = {
23213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
23215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23216 result
= (long)wxPyApp::GetMacExitMenuItemId();
23218 wxPyEndAllowThreads(__tstate
);
23219 if (PyErr_Occurred()) SWIG_fail
;
23222 resultobj
= SWIG_From_long((long)(result
));
23230 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23231 PyObject
*resultobj
;
23233 char *kwnames
[] = {
23237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
23239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23240 result
= wxPyApp::GetMacHelpMenuTitleName();
23242 wxPyEndAllowThreads(__tstate
);
23243 if (PyErr_Occurred()) SWIG_fail
;
23247 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23249 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23258 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23259 PyObject
*resultobj
;
23261 PyObject
* obj0
= 0 ;
23262 char *kwnames
[] = {
23263 (char *) "val", NULL
23266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
23268 arg1
= (bool)(SWIG_As_bool(obj0
));
23269 if (SWIG_arg_fail(1)) SWIG_fail
;
23272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23273 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
23275 wxPyEndAllowThreads(__tstate
);
23276 if (PyErr_Occurred()) SWIG_fail
;
23278 Py_INCREF(Py_None
); resultobj
= Py_None
;
23285 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23286 PyObject
*resultobj
;
23288 PyObject
* obj0
= 0 ;
23289 char *kwnames
[] = {
23290 (char *) "val", NULL
23293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
23295 arg1
= (long)(SWIG_As_long(obj0
));
23296 if (SWIG_arg_fail(1)) SWIG_fail
;
23299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23300 wxPyApp::SetMacAboutMenuItemId(arg1
);
23302 wxPyEndAllowThreads(__tstate
);
23303 if (PyErr_Occurred()) SWIG_fail
;
23305 Py_INCREF(Py_None
); resultobj
= Py_None
;
23312 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23313 PyObject
*resultobj
;
23315 PyObject
* obj0
= 0 ;
23316 char *kwnames
[] = {
23317 (char *) "val", NULL
23320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
23322 arg1
= (long)(SWIG_As_long(obj0
));
23323 if (SWIG_arg_fail(1)) SWIG_fail
;
23326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23327 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
23329 wxPyEndAllowThreads(__tstate
);
23330 if (PyErr_Occurred()) SWIG_fail
;
23332 Py_INCREF(Py_None
); resultobj
= Py_None
;
23339 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23340 PyObject
*resultobj
;
23342 PyObject
* obj0
= 0 ;
23343 char *kwnames
[] = {
23344 (char *) "val", NULL
23347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
23349 arg1
= (long)(SWIG_As_long(obj0
));
23350 if (SWIG_arg_fail(1)) SWIG_fail
;
23353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23354 wxPyApp::SetMacExitMenuItemId(arg1
);
23356 wxPyEndAllowThreads(__tstate
);
23357 if (PyErr_Occurred()) SWIG_fail
;
23359 Py_INCREF(Py_None
); resultobj
= Py_None
;
23366 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23367 PyObject
*resultobj
;
23368 wxString
*arg1
= 0 ;
23369 bool temp1
= false ;
23370 PyObject
* obj0
= 0 ;
23371 char *kwnames
[] = {
23372 (char *) "val", NULL
23375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
23377 arg1
= wxString_in_helper(obj0
);
23378 if (arg1
== NULL
) SWIG_fail
;
23382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23383 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
23385 wxPyEndAllowThreads(__tstate
);
23386 if (PyErr_Occurred()) SWIG_fail
;
23388 Py_INCREF(Py_None
); resultobj
= Py_None
;
23403 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23404 PyObject
*resultobj
;
23405 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23406 PyObject
* obj0
= 0 ;
23407 char *kwnames
[] = {
23408 (char *) "self", NULL
23411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
23412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23413 if (SWIG_arg_fail(1)) SWIG_fail
;
23415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23416 (arg1
)->_BootstrapApp();
23418 wxPyEndAllowThreads(__tstate
);
23419 if (PyErr_Occurred()) SWIG_fail
;
23421 Py_INCREF(Py_None
); resultobj
= Py_None
;
23428 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23429 PyObject
*resultobj
;
23431 char *kwnames
[] = {
23435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
23437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23438 result
= (int)wxPyApp::GetComCtl32Version();
23440 wxPyEndAllowThreads(__tstate
);
23441 if (PyErr_Occurred()) SWIG_fail
;
23444 resultobj
= SWIG_From_int((int)(result
));
23452 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
23454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23455 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
23457 return Py_BuildValue((char *)"");
23459 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23460 PyObject
*resultobj
;
23461 char *kwnames
[] = {
23465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
23467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23470 wxPyEndAllowThreads(__tstate
);
23471 if (PyErr_Occurred()) SWIG_fail
;
23473 Py_INCREF(Py_None
); resultobj
= Py_None
;
23480 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23481 PyObject
*resultobj
;
23483 char *kwnames
[] = {
23487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
23489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23490 result
= (bool)wxYield();
23492 wxPyEndAllowThreads(__tstate
);
23493 if (PyErr_Occurred()) SWIG_fail
;
23496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23504 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23505 PyObject
*resultobj
;
23507 char *kwnames
[] = {
23511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
23513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23514 result
= (bool)wxYieldIfNeeded();
23516 wxPyEndAllowThreads(__tstate
);
23517 if (PyErr_Occurred()) SWIG_fail
;
23520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23528 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23529 PyObject
*resultobj
;
23530 wxWindow
*arg1
= (wxWindow
*) NULL
;
23531 bool arg2
= (bool) false ;
23533 PyObject
* obj0
= 0 ;
23534 PyObject
* obj1
= 0 ;
23535 char *kwnames
[] = {
23536 (char *) "win",(char *) "onlyIfNeeded", NULL
23539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
23541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23542 if (SWIG_arg_fail(1)) SWIG_fail
;
23546 arg2
= (bool)(SWIG_As_bool(obj1
));
23547 if (SWIG_arg_fail(2)) SWIG_fail
;
23551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23552 result
= (bool)wxSafeYield(arg1
,arg2
);
23554 wxPyEndAllowThreads(__tstate
);
23555 if (PyErr_Occurred()) SWIG_fail
;
23558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23566 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23567 PyObject
*resultobj
;
23568 char *kwnames
[] = {
23572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
23574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23577 wxPyEndAllowThreads(__tstate
);
23578 if (PyErr_Occurred()) SWIG_fail
;
23580 Py_INCREF(Py_None
); resultobj
= Py_None
;
23587 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23588 PyObject
*resultobj
;
23589 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
23590 wxEvent
*arg2
= 0 ;
23591 PyObject
* obj0
= 0 ;
23592 PyObject
* obj1
= 0 ;
23593 char *kwnames
[] = {
23594 (char *) "dest",(char *) "event", NULL
23597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
23599 if (SWIG_arg_fail(1)) SWIG_fail
;
23601 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
23602 if (SWIG_arg_fail(2)) SWIG_fail
;
23603 if (arg2
== NULL
) {
23604 SWIG_null_ref("wxEvent");
23606 if (SWIG_arg_fail(2)) SWIG_fail
;
23609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23610 wxPostEvent(arg1
,*arg2
);
23612 wxPyEndAllowThreads(__tstate
);
23613 if (PyErr_Occurred()) SWIG_fail
;
23615 Py_INCREF(Py_None
); resultobj
= Py_None
;
23622 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23623 PyObject
*resultobj
;
23624 char *kwnames
[] = {
23628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
23630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23633 wxPyEndAllowThreads(__tstate
);
23634 if (PyErr_Occurred()) SWIG_fail
;
23636 Py_INCREF(Py_None
); resultobj
= Py_None
;
23643 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23644 PyObject
*resultobj
;
23646 char *kwnames
[] = {
23650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
23652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23653 result
= (wxPyApp
*)wxPyGetApp();
23655 wxPyEndAllowThreads(__tstate
);
23656 if (PyErr_Occurred()) SWIG_fail
;
23659 resultobj
= wxPyMake_wxObject(result
, 0);
23667 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23668 PyObject
*resultobj
;
23669 char *arg1
= (char *) 0 ;
23670 PyObject
* obj0
= 0 ;
23671 char *kwnames
[] = {
23672 (char *) "encoding", NULL
23675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
23676 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
23677 SWIG_arg_fail(1);SWIG_fail
;
23680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23681 wxSetDefaultPyEncoding((char const *)arg1
);
23683 wxPyEndAllowThreads(__tstate
);
23684 if (PyErr_Occurred()) SWIG_fail
;
23686 Py_INCREF(Py_None
); resultobj
= Py_None
;
23693 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23694 PyObject
*resultobj
;
23696 char *kwnames
[] = {
23700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
23702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23703 result
= (char *)wxGetDefaultPyEncoding();
23705 wxPyEndAllowThreads(__tstate
);
23706 if (PyErr_Occurred()) SWIG_fail
;
23708 resultobj
= SWIG_FromCharPtr(result
);
23715 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23716 PyObject
*resultobj
;
23717 wxEventLoop
*result
;
23718 char *kwnames
[] = {
23722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
23724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23725 result
= (wxEventLoop
*)new wxEventLoop();
23727 wxPyEndAllowThreads(__tstate
);
23728 if (PyErr_Occurred()) SWIG_fail
;
23730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
23737 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23738 PyObject
*resultobj
;
23739 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23740 PyObject
* obj0
= 0 ;
23741 char *kwnames
[] = {
23742 (char *) "self", NULL
23745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
23746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23747 if (SWIG_arg_fail(1)) SWIG_fail
;
23749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23752 wxPyEndAllowThreads(__tstate
);
23753 if (PyErr_Occurred()) SWIG_fail
;
23755 Py_INCREF(Py_None
); resultobj
= Py_None
;
23762 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23763 PyObject
*resultobj
;
23764 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23766 PyObject
* obj0
= 0 ;
23767 char *kwnames
[] = {
23768 (char *) "self", NULL
23771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
23772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23773 if (SWIG_arg_fail(1)) SWIG_fail
;
23775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23776 result
= (int)(arg1
)->Run();
23778 wxPyEndAllowThreads(__tstate
);
23779 if (PyErr_Occurred()) SWIG_fail
;
23782 resultobj
= SWIG_From_int((int)(result
));
23790 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23791 PyObject
*resultobj
;
23792 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23793 int arg2
= (int) 0 ;
23794 PyObject
* obj0
= 0 ;
23795 PyObject
* obj1
= 0 ;
23796 char *kwnames
[] = {
23797 (char *) "self",(char *) "rc", NULL
23800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
23801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23802 if (SWIG_arg_fail(1)) SWIG_fail
;
23805 arg2
= (int)(SWIG_As_int(obj1
));
23806 if (SWIG_arg_fail(2)) SWIG_fail
;
23810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23811 (arg1
)->Exit(arg2
);
23813 wxPyEndAllowThreads(__tstate
);
23814 if (PyErr_Occurred()) SWIG_fail
;
23816 Py_INCREF(Py_None
); resultobj
= Py_None
;
23823 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23824 PyObject
*resultobj
;
23825 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23827 PyObject
* obj0
= 0 ;
23828 char *kwnames
[] = {
23829 (char *) "self", NULL
23832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
23833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23834 if (SWIG_arg_fail(1)) SWIG_fail
;
23836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23837 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
23839 wxPyEndAllowThreads(__tstate
);
23840 if (PyErr_Occurred()) SWIG_fail
;
23843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23851 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23852 PyObject
*resultobj
;
23853 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23855 PyObject
* obj0
= 0 ;
23856 char *kwnames
[] = {
23857 (char *) "self", NULL
23860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
23861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23862 if (SWIG_arg_fail(1)) SWIG_fail
;
23864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23865 result
= (bool)(arg1
)->Dispatch();
23867 wxPyEndAllowThreads(__tstate
);
23868 if (PyErr_Occurred()) SWIG_fail
;
23871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23879 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23880 PyObject
*resultobj
;
23881 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23883 PyObject
* obj0
= 0 ;
23884 char *kwnames
[] = {
23885 (char *) "self", NULL
23888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
23889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23890 if (SWIG_arg_fail(1)) SWIG_fail
;
23892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23893 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
23895 wxPyEndAllowThreads(__tstate
);
23896 if (PyErr_Occurred()) SWIG_fail
;
23899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23907 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23908 PyObject
*resultobj
;
23909 wxEventLoop
*result
;
23910 char *kwnames
[] = {
23914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
23916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23917 result
= (wxEventLoop
*)wxEventLoop::GetActive();
23919 wxPyEndAllowThreads(__tstate
);
23920 if (PyErr_Occurred()) SWIG_fail
;
23922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
23929 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23930 PyObject
*resultobj
;
23931 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23932 PyObject
* obj0
= 0 ;
23933 char *kwnames
[] = {
23934 (char *) "loop", NULL
23937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
23938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23939 if (SWIG_arg_fail(1)) SWIG_fail
;
23941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23942 wxEventLoop::SetActive(arg1
);
23944 wxPyEndAllowThreads(__tstate
);
23945 if (PyErr_Occurred()) SWIG_fail
;
23947 Py_INCREF(Py_None
); resultobj
= Py_None
;
23954 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
23956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23957 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
23959 return Py_BuildValue((char *)"");
23961 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23962 PyObject
*resultobj
;
23963 int arg1
= (int) 0 ;
23964 int arg2
= (int) 0 ;
23965 int arg3
= (int) 0 ;
23966 wxAcceleratorEntry
*result
;
23967 PyObject
* obj0
= 0 ;
23968 PyObject
* obj1
= 0 ;
23969 PyObject
* obj2
= 0 ;
23970 char *kwnames
[] = {
23971 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
23974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23977 arg1
= (int)(SWIG_As_int(obj0
));
23978 if (SWIG_arg_fail(1)) SWIG_fail
;
23983 arg2
= (int)(SWIG_As_int(obj1
));
23984 if (SWIG_arg_fail(2)) SWIG_fail
;
23989 arg3
= (int)(SWIG_As_int(obj2
));
23990 if (SWIG_arg_fail(3)) SWIG_fail
;
23994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23995 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
23997 wxPyEndAllowThreads(__tstate
);
23998 if (PyErr_Occurred()) SWIG_fail
;
24000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
24007 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24008 PyObject
*resultobj
;
24009 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24010 PyObject
* obj0
= 0 ;
24011 char *kwnames
[] = {
24012 (char *) "self", NULL
24015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
24016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24017 if (SWIG_arg_fail(1)) SWIG_fail
;
24019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24022 wxPyEndAllowThreads(__tstate
);
24023 if (PyErr_Occurred()) SWIG_fail
;
24025 Py_INCREF(Py_None
); resultobj
= Py_None
;
24032 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24033 PyObject
*resultobj
;
24034 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24038 PyObject
* obj0
= 0 ;
24039 PyObject
* obj1
= 0 ;
24040 PyObject
* obj2
= 0 ;
24041 PyObject
* obj3
= 0 ;
24042 char *kwnames
[] = {
24043 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
24046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24048 if (SWIG_arg_fail(1)) SWIG_fail
;
24050 arg2
= (int)(SWIG_As_int(obj1
));
24051 if (SWIG_arg_fail(2)) SWIG_fail
;
24054 arg3
= (int)(SWIG_As_int(obj2
));
24055 if (SWIG_arg_fail(3)) SWIG_fail
;
24058 arg4
= (int)(SWIG_As_int(obj3
));
24059 if (SWIG_arg_fail(4)) SWIG_fail
;
24062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24063 (arg1
)->Set(arg2
,arg3
,arg4
);
24065 wxPyEndAllowThreads(__tstate
);
24066 if (PyErr_Occurred()) SWIG_fail
;
24068 Py_INCREF(Py_None
); resultobj
= Py_None
;
24075 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24076 PyObject
*resultobj
;
24077 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24079 PyObject
* obj0
= 0 ;
24080 char *kwnames
[] = {
24081 (char *) "self", NULL
24084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
24085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24086 if (SWIG_arg_fail(1)) SWIG_fail
;
24088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24089 result
= (int)(arg1
)->GetFlags();
24091 wxPyEndAllowThreads(__tstate
);
24092 if (PyErr_Occurred()) SWIG_fail
;
24095 resultobj
= SWIG_From_int((int)(result
));
24103 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24104 PyObject
*resultobj
;
24105 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24107 PyObject
* obj0
= 0 ;
24108 char *kwnames
[] = {
24109 (char *) "self", NULL
24112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24114 if (SWIG_arg_fail(1)) SWIG_fail
;
24116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24117 result
= (int)(arg1
)->GetKeyCode();
24119 wxPyEndAllowThreads(__tstate
);
24120 if (PyErr_Occurred()) SWIG_fail
;
24123 resultobj
= SWIG_From_int((int)(result
));
24131 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24132 PyObject
*resultobj
;
24133 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24135 PyObject
* obj0
= 0 ;
24136 char *kwnames
[] = {
24137 (char *) "self", NULL
24140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
24141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24142 if (SWIG_arg_fail(1)) SWIG_fail
;
24144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24145 result
= (int)(arg1
)->GetCommand();
24147 wxPyEndAllowThreads(__tstate
);
24148 if (PyErr_Occurred()) SWIG_fail
;
24151 resultobj
= SWIG_From_int((int)(result
));
24159 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
24161 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24162 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
24164 return Py_BuildValue((char *)"");
24166 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24167 PyObject
*resultobj
;
24169 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
24170 wxAcceleratorTable
*result
;
24171 PyObject
* obj0
= 0 ;
24172 char *kwnames
[] = {
24176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24178 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
24179 if (arg2
) arg1
= PyList_Size(obj0
);
24183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24184 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
24186 wxPyEndAllowThreads(__tstate
);
24187 if (PyErr_Occurred()) SWIG_fail
;
24189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
24202 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24203 PyObject
*resultobj
;
24204 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24205 PyObject
* obj0
= 0 ;
24206 char *kwnames
[] = {
24207 (char *) "self", NULL
24210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24212 if (SWIG_arg_fail(1)) SWIG_fail
;
24214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24217 wxPyEndAllowThreads(__tstate
);
24218 if (PyErr_Occurred()) SWIG_fail
;
24220 Py_INCREF(Py_None
); resultobj
= Py_None
;
24227 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24228 PyObject
*resultobj
;
24229 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24231 PyObject
* obj0
= 0 ;
24232 char *kwnames
[] = {
24233 (char *) "self", NULL
24236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
24237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24238 if (SWIG_arg_fail(1)) SWIG_fail
;
24240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24241 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
24243 wxPyEndAllowThreads(__tstate
);
24244 if (PyErr_Occurred()) SWIG_fail
;
24247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24255 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
24257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24258 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
24260 return Py_BuildValue((char *)"");
24262 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
24263 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
24268 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
24271 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24276 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24277 PyObject
*resultobj
;
24278 wxString
*arg1
= 0 ;
24279 wxAcceleratorEntry
*result
;
24280 bool temp1
= false ;
24281 PyObject
* obj0
= 0 ;
24282 char *kwnames
[] = {
24283 (char *) "label", NULL
24286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
24288 arg1
= wxString_in_helper(obj0
);
24289 if (arg1
== NULL
) SWIG_fail
;
24293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24294 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
24296 wxPyEndAllowThreads(__tstate
);
24297 if (PyErr_Occurred()) SWIG_fail
;
24299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
24314 static int _wrap_PanelNameStr_set(PyObject
*) {
24315 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
24320 static PyObject
*_wrap_PanelNameStr_get(void) {
24325 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24327 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24334 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24335 PyObject
*resultobj
;
24336 wxVisualAttributes
*result
;
24337 char *kwnames
[] = {
24341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
24343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24344 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
24346 wxPyEndAllowThreads(__tstate
);
24347 if (PyErr_Occurred()) SWIG_fail
;
24349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
24356 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24357 PyObject
*resultobj
;
24358 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24359 PyObject
* obj0
= 0 ;
24360 char *kwnames
[] = {
24361 (char *) "self", NULL
24364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
24365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24366 if (SWIG_arg_fail(1)) SWIG_fail
;
24368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24369 delete_wxVisualAttributes(arg1
);
24371 wxPyEndAllowThreads(__tstate
);
24372 if (PyErr_Occurred()) SWIG_fail
;
24374 Py_INCREF(Py_None
); resultobj
= Py_None
;
24381 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24382 PyObject
*resultobj
;
24383 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24384 wxFont
*arg2
= (wxFont
*) 0 ;
24385 PyObject
* obj0
= 0 ;
24386 PyObject
* obj1
= 0 ;
24387 char *kwnames
[] = {
24388 (char *) "self",(char *) "font", NULL
24391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24393 if (SWIG_arg_fail(1)) SWIG_fail
;
24394 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
24395 if (SWIG_arg_fail(2)) SWIG_fail
;
24396 if (arg1
) (arg1
)->font
= *arg2
;
24398 Py_INCREF(Py_None
); resultobj
= Py_None
;
24405 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24406 PyObject
*resultobj
;
24407 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24409 PyObject
* obj0
= 0 ;
24410 char *kwnames
[] = {
24411 (char *) "self", NULL
24414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
24415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24416 if (SWIG_arg_fail(1)) SWIG_fail
;
24417 result
= (wxFont
*)& ((arg1
)->font
);
24419 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
24426 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24427 PyObject
*resultobj
;
24428 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24429 wxColour
*arg2
= (wxColour
*) 0 ;
24430 PyObject
* obj0
= 0 ;
24431 PyObject
* obj1
= 0 ;
24432 char *kwnames
[] = {
24433 (char *) "self",(char *) "colFg", NULL
24436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24438 if (SWIG_arg_fail(1)) SWIG_fail
;
24439 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24440 if (SWIG_arg_fail(2)) SWIG_fail
;
24441 if (arg1
) (arg1
)->colFg
= *arg2
;
24443 Py_INCREF(Py_None
); resultobj
= Py_None
;
24450 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24451 PyObject
*resultobj
;
24452 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24454 PyObject
* obj0
= 0 ;
24455 char *kwnames
[] = {
24456 (char *) "self", NULL
24459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
24460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24461 if (SWIG_arg_fail(1)) SWIG_fail
;
24462 result
= (wxColour
*)& ((arg1
)->colFg
);
24464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24471 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24472 PyObject
*resultobj
;
24473 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24474 wxColour
*arg2
= (wxColour
*) 0 ;
24475 PyObject
* obj0
= 0 ;
24476 PyObject
* obj1
= 0 ;
24477 char *kwnames
[] = {
24478 (char *) "self",(char *) "colBg", NULL
24481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24483 if (SWIG_arg_fail(1)) SWIG_fail
;
24484 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24485 if (SWIG_arg_fail(2)) SWIG_fail
;
24486 if (arg1
) (arg1
)->colBg
= *arg2
;
24488 Py_INCREF(Py_None
); resultobj
= Py_None
;
24495 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24496 PyObject
*resultobj
;
24497 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24499 PyObject
* obj0
= 0 ;
24500 char *kwnames
[] = {
24501 (char *) "self", NULL
24504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
24505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24506 if (SWIG_arg_fail(1)) SWIG_fail
;
24507 result
= (wxColour
*)& ((arg1
)->colBg
);
24509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24516 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
24518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24519 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
24521 return Py_BuildValue((char *)"");
24523 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24524 PyObject
*resultobj
;
24525 wxWindow
*arg1
= (wxWindow
*) 0 ;
24526 int arg2
= (int) (int)-1 ;
24527 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24528 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24529 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24530 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24531 long arg5
= (long) 0 ;
24532 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24533 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24537 bool temp6
= false ;
24538 PyObject
* obj0
= 0 ;
24539 PyObject
* obj1
= 0 ;
24540 PyObject
* obj2
= 0 ;
24541 PyObject
* obj3
= 0 ;
24542 PyObject
* obj4
= 0 ;
24543 PyObject
* obj5
= 0 ;
24544 char *kwnames
[] = {
24545 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24550 if (SWIG_arg_fail(1)) SWIG_fail
;
24553 arg2
= (int const)(SWIG_As_int(obj1
));
24554 if (SWIG_arg_fail(2)) SWIG_fail
;
24560 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24566 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24571 arg5
= (long)(SWIG_As_long(obj4
));
24572 if (SWIG_arg_fail(5)) SWIG_fail
;
24577 arg6
= wxString_in_helper(obj5
);
24578 if (arg6
== NULL
) SWIG_fail
;
24583 if (!wxPyCheckForApp()) SWIG_fail
;
24584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24585 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
24587 wxPyEndAllowThreads(__tstate
);
24588 if (PyErr_Occurred()) SWIG_fail
;
24590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24605 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24606 PyObject
*resultobj
;
24608 char *kwnames
[] = {
24612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
24614 if (!wxPyCheckForApp()) SWIG_fail
;
24615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24616 result
= (wxWindow
*)new wxWindow();
24618 wxPyEndAllowThreads(__tstate
);
24619 if (PyErr_Occurred()) SWIG_fail
;
24621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24628 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24629 PyObject
*resultobj
;
24630 wxWindow
*arg1
= (wxWindow
*) 0 ;
24631 wxWindow
*arg2
= (wxWindow
*) 0 ;
24632 int arg3
= (int) (int)-1 ;
24633 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24634 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24635 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24636 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24637 long arg6
= (long) 0 ;
24638 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24639 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24643 bool temp7
= false ;
24644 PyObject
* obj0
= 0 ;
24645 PyObject
* obj1
= 0 ;
24646 PyObject
* obj2
= 0 ;
24647 PyObject
* obj3
= 0 ;
24648 PyObject
* obj4
= 0 ;
24649 PyObject
* obj5
= 0 ;
24650 PyObject
* obj6
= 0 ;
24651 char *kwnames
[] = {
24652 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24657 if (SWIG_arg_fail(1)) SWIG_fail
;
24658 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24659 if (SWIG_arg_fail(2)) SWIG_fail
;
24662 arg3
= (int const)(SWIG_As_int(obj2
));
24663 if (SWIG_arg_fail(3)) SWIG_fail
;
24669 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24675 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24680 arg6
= (long)(SWIG_As_long(obj5
));
24681 if (SWIG_arg_fail(6)) SWIG_fail
;
24686 arg7
= wxString_in_helper(obj6
);
24687 if (arg7
== NULL
) SWIG_fail
;
24692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24693 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24695 wxPyEndAllowThreads(__tstate
);
24696 if (PyErr_Occurred()) SWIG_fail
;
24699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24715 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24716 PyObject
*resultobj
;
24717 wxWindow
*arg1
= (wxWindow
*) 0 ;
24718 bool arg2
= (bool) false ;
24720 PyObject
* obj0
= 0 ;
24721 PyObject
* obj1
= 0 ;
24722 char *kwnames
[] = {
24723 (char *) "self",(char *) "force", NULL
24726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
24727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24728 if (SWIG_arg_fail(1)) SWIG_fail
;
24731 arg2
= (bool)(SWIG_As_bool(obj1
));
24732 if (SWIG_arg_fail(2)) SWIG_fail
;
24736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24737 result
= (bool)(arg1
)->Close(arg2
);
24739 wxPyEndAllowThreads(__tstate
);
24740 if (PyErr_Occurred()) SWIG_fail
;
24743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24751 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24752 PyObject
*resultobj
;
24753 wxWindow
*arg1
= (wxWindow
*) 0 ;
24755 PyObject
* obj0
= 0 ;
24756 char *kwnames
[] = {
24757 (char *) "self", NULL
24760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
24761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24762 if (SWIG_arg_fail(1)) SWIG_fail
;
24764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24765 result
= (bool)(arg1
)->Destroy();
24767 wxPyEndAllowThreads(__tstate
);
24768 if (PyErr_Occurred()) SWIG_fail
;
24771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24779 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24780 PyObject
*resultobj
;
24781 wxWindow
*arg1
= (wxWindow
*) 0 ;
24783 PyObject
* obj0
= 0 ;
24784 char *kwnames
[] = {
24785 (char *) "self", NULL
24788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
24789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24790 if (SWIG_arg_fail(1)) SWIG_fail
;
24792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24793 result
= (bool)(arg1
)->DestroyChildren();
24795 wxPyEndAllowThreads(__tstate
);
24796 if (PyErr_Occurred()) SWIG_fail
;
24799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24807 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24808 PyObject
*resultobj
;
24809 wxWindow
*arg1
= (wxWindow
*) 0 ;
24811 PyObject
* obj0
= 0 ;
24812 char *kwnames
[] = {
24813 (char *) "self", NULL
24816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
24817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24818 if (SWIG_arg_fail(1)) SWIG_fail
;
24820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24821 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
24823 wxPyEndAllowThreads(__tstate
);
24824 if (PyErr_Occurred()) SWIG_fail
;
24827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24835 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24836 PyObject
*resultobj
;
24837 wxWindow
*arg1
= (wxWindow
*) 0 ;
24838 wxString
*arg2
= 0 ;
24839 bool temp2
= false ;
24840 PyObject
* obj0
= 0 ;
24841 PyObject
* obj1
= 0 ;
24842 char *kwnames
[] = {
24843 (char *) "self",(char *) "title", NULL
24846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
24847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24848 if (SWIG_arg_fail(1)) SWIG_fail
;
24850 arg2
= wxString_in_helper(obj1
);
24851 if (arg2
== NULL
) SWIG_fail
;
24855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24856 (arg1
)->SetTitle((wxString
const &)*arg2
);
24858 wxPyEndAllowThreads(__tstate
);
24859 if (PyErr_Occurred()) SWIG_fail
;
24861 Py_INCREF(Py_None
); resultobj
= Py_None
;
24876 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24877 PyObject
*resultobj
;
24878 wxWindow
*arg1
= (wxWindow
*) 0 ;
24880 PyObject
* obj0
= 0 ;
24881 char *kwnames
[] = {
24882 (char *) "self", NULL
24885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
24886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24887 if (SWIG_arg_fail(1)) SWIG_fail
;
24889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24890 result
= ((wxWindow
const *)arg1
)->GetTitle();
24892 wxPyEndAllowThreads(__tstate
);
24893 if (PyErr_Occurred()) SWIG_fail
;
24897 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24899 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24908 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24909 PyObject
*resultobj
;
24910 wxWindow
*arg1
= (wxWindow
*) 0 ;
24911 wxString
*arg2
= 0 ;
24912 bool temp2
= false ;
24913 PyObject
* obj0
= 0 ;
24914 PyObject
* obj1
= 0 ;
24915 char *kwnames
[] = {
24916 (char *) "self",(char *) "label", NULL
24919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24921 if (SWIG_arg_fail(1)) SWIG_fail
;
24923 arg2
= wxString_in_helper(obj1
);
24924 if (arg2
== NULL
) SWIG_fail
;
24928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24929 (arg1
)->SetLabel((wxString
const &)*arg2
);
24931 wxPyEndAllowThreads(__tstate
);
24932 if (PyErr_Occurred()) SWIG_fail
;
24934 Py_INCREF(Py_None
); resultobj
= Py_None
;
24949 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24950 PyObject
*resultobj
;
24951 wxWindow
*arg1
= (wxWindow
*) 0 ;
24953 PyObject
* obj0
= 0 ;
24954 char *kwnames
[] = {
24955 (char *) "self", NULL
24958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
24959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24960 if (SWIG_arg_fail(1)) SWIG_fail
;
24962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24963 result
= ((wxWindow
const *)arg1
)->GetLabel();
24965 wxPyEndAllowThreads(__tstate
);
24966 if (PyErr_Occurred()) SWIG_fail
;
24970 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24972 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24981 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24982 PyObject
*resultobj
;
24983 wxWindow
*arg1
= (wxWindow
*) 0 ;
24984 wxString
*arg2
= 0 ;
24985 bool temp2
= false ;
24986 PyObject
* obj0
= 0 ;
24987 PyObject
* obj1
= 0 ;
24988 char *kwnames
[] = {
24989 (char *) "self",(char *) "name", NULL
24992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
24993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24994 if (SWIG_arg_fail(1)) SWIG_fail
;
24996 arg2
= wxString_in_helper(obj1
);
24997 if (arg2
== NULL
) SWIG_fail
;
25001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25002 (arg1
)->SetName((wxString
const &)*arg2
);
25004 wxPyEndAllowThreads(__tstate
);
25005 if (PyErr_Occurred()) SWIG_fail
;
25007 Py_INCREF(Py_None
); resultobj
= Py_None
;
25022 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25023 PyObject
*resultobj
;
25024 wxWindow
*arg1
= (wxWindow
*) 0 ;
25026 PyObject
* obj0
= 0 ;
25027 char *kwnames
[] = {
25028 (char *) "self", NULL
25031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
25032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25033 if (SWIG_arg_fail(1)) SWIG_fail
;
25035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25036 result
= ((wxWindow
const *)arg1
)->GetName();
25038 wxPyEndAllowThreads(__tstate
);
25039 if (PyErr_Occurred()) SWIG_fail
;
25043 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25045 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25054 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25055 PyObject
*resultobj
;
25056 wxWindow
*arg1
= (wxWindow
*) 0 ;
25057 wxWindowVariant arg2
;
25058 PyObject
* obj0
= 0 ;
25059 PyObject
* obj1
= 0 ;
25060 char *kwnames
[] = {
25061 (char *) "self",(char *) "variant", NULL
25064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
25065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25066 if (SWIG_arg_fail(1)) SWIG_fail
;
25068 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
25069 if (SWIG_arg_fail(2)) SWIG_fail
;
25072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25073 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
25075 wxPyEndAllowThreads(__tstate
);
25076 if (PyErr_Occurred()) SWIG_fail
;
25078 Py_INCREF(Py_None
); resultobj
= Py_None
;
25085 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25086 PyObject
*resultobj
;
25087 wxWindow
*arg1
= (wxWindow
*) 0 ;
25088 wxWindowVariant result
;
25089 PyObject
* obj0
= 0 ;
25090 char *kwnames
[] = {
25091 (char *) "self", NULL
25094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
25095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25096 if (SWIG_arg_fail(1)) SWIG_fail
;
25098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25099 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
25101 wxPyEndAllowThreads(__tstate
);
25102 if (PyErr_Occurred()) SWIG_fail
;
25104 resultobj
= SWIG_From_int((result
));
25111 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25112 PyObject
*resultobj
;
25113 wxWindow
*arg1
= (wxWindow
*) 0 ;
25115 PyObject
* obj0
= 0 ;
25116 PyObject
* obj1
= 0 ;
25117 char *kwnames
[] = {
25118 (char *) "self",(char *) "winid", NULL
25121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
25122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25123 if (SWIG_arg_fail(1)) SWIG_fail
;
25125 arg2
= (int)(SWIG_As_int(obj1
));
25126 if (SWIG_arg_fail(2)) SWIG_fail
;
25129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25130 (arg1
)->SetId(arg2
);
25132 wxPyEndAllowThreads(__tstate
);
25133 if (PyErr_Occurred()) SWIG_fail
;
25135 Py_INCREF(Py_None
); resultobj
= Py_None
;
25142 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25143 PyObject
*resultobj
;
25144 wxWindow
*arg1
= (wxWindow
*) 0 ;
25146 PyObject
* obj0
= 0 ;
25147 char *kwnames
[] = {
25148 (char *) "self", NULL
25151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
25152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25153 if (SWIG_arg_fail(1)) SWIG_fail
;
25155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25156 result
= (int)((wxWindow
const *)arg1
)->GetId();
25158 wxPyEndAllowThreads(__tstate
);
25159 if (PyErr_Occurred()) SWIG_fail
;
25162 resultobj
= SWIG_From_int((int)(result
));
25170 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25171 PyObject
*resultobj
;
25173 char *kwnames
[] = {
25177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
25179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25180 result
= (int)wxWindow::NewControlId();
25182 wxPyEndAllowThreads(__tstate
);
25183 if (PyErr_Occurred()) SWIG_fail
;
25186 resultobj
= SWIG_From_int((int)(result
));
25194 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25195 PyObject
*resultobj
;
25198 PyObject
* obj0
= 0 ;
25199 char *kwnames
[] = {
25200 (char *) "winid", NULL
25203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
25205 arg1
= (int)(SWIG_As_int(obj0
));
25206 if (SWIG_arg_fail(1)) SWIG_fail
;
25209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25210 result
= (int)wxWindow::NextControlId(arg1
);
25212 wxPyEndAllowThreads(__tstate
);
25213 if (PyErr_Occurred()) SWIG_fail
;
25216 resultobj
= SWIG_From_int((int)(result
));
25224 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25225 PyObject
*resultobj
;
25228 PyObject
* obj0
= 0 ;
25229 char *kwnames
[] = {
25230 (char *) "winid", NULL
25233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
25235 arg1
= (int)(SWIG_As_int(obj0
));
25236 if (SWIG_arg_fail(1)) SWIG_fail
;
25239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25240 result
= (int)wxWindow::PrevControlId(arg1
);
25242 wxPyEndAllowThreads(__tstate
);
25243 if (PyErr_Occurred()) SWIG_fail
;
25246 resultobj
= SWIG_From_int((int)(result
));
25254 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25255 PyObject
*resultobj
;
25256 wxWindow
*arg1
= (wxWindow
*) 0 ;
25259 PyObject
* obj0
= 0 ;
25260 PyObject
* obj1
= 0 ;
25261 char *kwnames
[] = {
25262 (char *) "self",(char *) "size", NULL
25265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25267 if (SWIG_arg_fail(1)) SWIG_fail
;
25270 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25274 (arg1
)->SetSize((wxSize
const &)*arg2
);
25276 wxPyEndAllowThreads(__tstate
);
25277 if (PyErr_Occurred()) SWIG_fail
;
25279 Py_INCREF(Py_None
); resultobj
= Py_None
;
25286 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25287 PyObject
*resultobj
;
25288 wxWindow
*arg1
= (wxWindow
*) 0 ;
25293 int arg6
= (int) wxSIZE_AUTO
;
25294 PyObject
* obj0
= 0 ;
25295 PyObject
* obj1
= 0 ;
25296 PyObject
* obj2
= 0 ;
25297 PyObject
* obj3
= 0 ;
25298 PyObject
* obj4
= 0 ;
25299 PyObject
* obj5
= 0 ;
25300 char *kwnames
[] = {
25301 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25306 if (SWIG_arg_fail(1)) SWIG_fail
;
25308 arg2
= (int)(SWIG_As_int(obj1
));
25309 if (SWIG_arg_fail(2)) SWIG_fail
;
25312 arg3
= (int)(SWIG_As_int(obj2
));
25313 if (SWIG_arg_fail(3)) SWIG_fail
;
25316 arg4
= (int)(SWIG_As_int(obj3
));
25317 if (SWIG_arg_fail(4)) SWIG_fail
;
25320 arg5
= (int)(SWIG_As_int(obj4
));
25321 if (SWIG_arg_fail(5)) SWIG_fail
;
25325 arg6
= (int)(SWIG_As_int(obj5
));
25326 if (SWIG_arg_fail(6)) SWIG_fail
;
25330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25331 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25333 wxPyEndAllowThreads(__tstate
);
25334 if (PyErr_Occurred()) SWIG_fail
;
25336 Py_INCREF(Py_None
); resultobj
= Py_None
;
25343 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25344 PyObject
*resultobj
;
25345 wxWindow
*arg1
= (wxWindow
*) 0 ;
25347 int arg3
= (int) wxSIZE_AUTO
;
25349 PyObject
* obj0
= 0 ;
25350 PyObject
* obj1
= 0 ;
25351 PyObject
* obj2
= 0 ;
25352 char *kwnames
[] = {
25353 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
25356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25358 if (SWIG_arg_fail(1)) SWIG_fail
;
25361 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25365 arg3
= (int)(SWIG_As_int(obj2
));
25366 if (SWIG_arg_fail(3)) SWIG_fail
;
25370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25371 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
25373 wxPyEndAllowThreads(__tstate
);
25374 if (PyErr_Occurred()) SWIG_fail
;
25376 Py_INCREF(Py_None
); resultobj
= Py_None
;
25383 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25384 PyObject
*resultobj
;
25385 wxWindow
*arg1
= (wxWindow
*) 0 ;
25388 PyObject
* obj0
= 0 ;
25389 PyObject
* obj1
= 0 ;
25390 PyObject
* obj2
= 0 ;
25391 char *kwnames
[] = {
25392 (char *) "self",(char *) "width",(char *) "height", NULL
25395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25397 if (SWIG_arg_fail(1)) SWIG_fail
;
25399 arg2
= (int)(SWIG_As_int(obj1
));
25400 if (SWIG_arg_fail(2)) SWIG_fail
;
25403 arg3
= (int)(SWIG_As_int(obj2
));
25404 if (SWIG_arg_fail(3)) SWIG_fail
;
25407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25408 (arg1
)->SetSize(arg2
,arg3
);
25410 wxPyEndAllowThreads(__tstate
);
25411 if (PyErr_Occurred()) SWIG_fail
;
25413 Py_INCREF(Py_None
); resultobj
= Py_None
;
25420 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25421 PyObject
*resultobj
;
25422 wxWindow
*arg1
= (wxWindow
*) 0 ;
25423 wxPoint
*arg2
= 0 ;
25424 int arg3
= (int) wxSIZE_USE_EXISTING
;
25426 PyObject
* obj0
= 0 ;
25427 PyObject
* obj1
= 0 ;
25428 PyObject
* obj2
= 0 ;
25429 char *kwnames
[] = {
25430 (char *) "self",(char *) "pt",(char *) "flags", NULL
25433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25435 if (SWIG_arg_fail(1)) SWIG_fail
;
25438 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25442 arg3
= (int)(SWIG_As_int(obj2
));
25443 if (SWIG_arg_fail(3)) SWIG_fail
;
25447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25448 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
25450 wxPyEndAllowThreads(__tstate
);
25451 if (PyErr_Occurred()) SWIG_fail
;
25453 Py_INCREF(Py_None
); resultobj
= Py_None
;
25460 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25461 PyObject
*resultobj
;
25462 wxWindow
*arg1
= (wxWindow
*) 0 ;
25465 int arg4
= (int) wxSIZE_USE_EXISTING
;
25466 PyObject
* obj0
= 0 ;
25467 PyObject
* obj1
= 0 ;
25468 PyObject
* obj2
= 0 ;
25469 PyObject
* obj3
= 0 ;
25470 char *kwnames
[] = {
25471 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25476 if (SWIG_arg_fail(1)) SWIG_fail
;
25478 arg2
= (int)(SWIG_As_int(obj1
));
25479 if (SWIG_arg_fail(2)) SWIG_fail
;
25482 arg3
= (int)(SWIG_As_int(obj2
));
25483 if (SWIG_arg_fail(3)) SWIG_fail
;
25487 arg4
= (int)(SWIG_As_int(obj3
));
25488 if (SWIG_arg_fail(4)) SWIG_fail
;
25492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25493 (arg1
)->Move(arg2
,arg3
,arg4
);
25495 wxPyEndAllowThreads(__tstate
);
25496 if (PyErr_Occurred()) SWIG_fail
;
25498 Py_INCREF(Py_None
); resultobj
= Py_None
;
25505 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25506 PyObject
*resultobj
;
25507 wxWindow
*arg1
= (wxWindow
*) 0 ;
25508 wxSize
const &arg2_defvalue
= wxDefaultSize
;
25509 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
25511 PyObject
* obj0
= 0 ;
25512 PyObject
* obj1
= 0 ;
25513 char *kwnames
[] = {
25514 (char *) "self",(char *) "size", NULL
25517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25519 if (SWIG_arg_fail(1)) SWIG_fail
;
25523 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25528 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
25530 wxPyEndAllowThreads(__tstate
);
25531 if (PyErr_Occurred()) SWIG_fail
;
25533 Py_INCREF(Py_None
); resultobj
= Py_None
;
25540 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25541 PyObject
*resultobj
;
25542 wxWindow
*arg1
= (wxWindow
*) 0 ;
25543 PyObject
* obj0
= 0 ;
25544 char *kwnames
[] = {
25545 (char *) "self", NULL
25548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
25549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25550 if (SWIG_arg_fail(1)) SWIG_fail
;
25552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25555 wxPyEndAllowThreads(__tstate
);
25556 if (PyErr_Occurred()) SWIG_fail
;
25558 Py_INCREF(Py_None
); resultobj
= Py_None
;
25565 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25566 PyObject
*resultobj
;
25567 wxWindow
*arg1
= (wxWindow
*) 0 ;
25568 PyObject
* obj0
= 0 ;
25569 char *kwnames
[] = {
25570 (char *) "self", NULL
25573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
25574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25575 if (SWIG_arg_fail(1)) SWIG_fail
;
25577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25580 wxPyEndAllowThreads(__tstate
);
25581 if (PyErr_Occurred()) SWIG_fail
;
25583 Py_INCREF(Py_None
); resultobj
= Py_None
;
25590 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25591 PyObject
*resultobj
;
25592 wxWindow
*arg1
= (wxWindow
*) 0 ;
25595 PyObject
* obj0
= 0 ;
25596 PyObject
* obj1
= 0 ;
25597 char *kwnames
[] = {
25598 (char *) "self",(char *) "size", NULL
25601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25603 if (SWIG_arg_fail(1)) SWIG_fail
;
25606 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25610 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
25612 wxPyEndAllowThreads(__tstate
);
25613 if (PyErr_Occurred()) SWIG_fail
;
25615 Py_INCREF(Py_None
); resultobj
= Py_None
;
25622 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25623 PyObject
*resultobj
;
25624 wxWindow
*arg1
= (wxWindow
*) 0 ;
25627 PyObject
* obj0
= 0 ;
25628 PyObject
* obj1
= 0 ;
25629 PyObject
* obj2
= 0 ;
25630 char *kwnames
[] = {
25631 (char *) "self",(char *) "width",(char *) "height", NULL
25634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25636 if (SWIG_arg_fail(1)) SWIG_fail
;
25638 arg2
= (int)(SWIG_As_int(obj1
));
25639 if (SWIG_arg_fail(2)) SWIG_fail
;
25642 arg3
= (int)(SWIG_As_int(obj2
));
25643 if (SWIG_arg_fail(3)) SWIG_fail
;
25646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25647 (arg1
)->SetClientSize(arg2
,arg3
);
25649 wxPyEndAllowThreads(__tstate
);
25650 if (PyErr_Occurred()) SWIG_fail
;
25652 Py_INCREF(Py_None
); resultobj
= Py_None
;
25659 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25660 PyObject
*resultobj
;
25661 wxWindow
*arg1
= (wxWindow
*) 0 ;
25664 PyObject
* obj0
= 0 ;
25665 PyObject
* obj1
= 0 ;
25666 char *kwnames
[] = {
25667 (char *) "self",(char *) "rect", NULL
25670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25672 if (SWIG_arg_fail(1)) SWIG_fail
;
25675 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25679 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
25681 wxPyEndAllowThreads(__tstate
);
25682 if (PyErr_Occurred()) SWIG_fail
;
25684 Py_INCREF(Py_None
); resultobj
= Py_None
;
25691 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25692 PyObject
*resultobj
;
25693 wxWindow
*arg1
= (wxWindow
*) 0 ;
25695 PyObject
* obj0
= 0 ;
25696 char *kwnames
[] = {
25697 (char *) "self", NULL
25700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
25701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25702 if (SWIG_arg_fail(1)) SWIG_fail
;
25704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25705 result
= (arg1
)->GetPosition();
25707 wxPyEndAllowThreads(__tstate
);
25708 if (PyErr_Occurred()) SWIG_fail
;
25711 wxPoint
* resultptr
;
25712 resultptr
= new wxPoint((wxPoint
&)(result
));
25713 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25721 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25722 PyObject
*resultobj
;
25723 wxWindow
*arg1
= (wxWindow
*) 0 ;
25724 int *arg2
= (int *) 0 ;
25725 int *arg3
= (int *) 0 ;
25730 PyObject
* obj0
= 0 ;
25731 char *kwnames
[] = {
25732 (char *) "self", NULL
25735 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25736 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
25738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25739 if (SWIG_arg_fail(1)) SWIG_fail
;
25741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25742 (arg1
)->GetPosition(arg2
,arg3
);
25744 wxPyEndAllowThreads(__tstate
);
25745 if (PyErr_Occurred()) SWIG_fail
;
25747 Py_INCREF(Py_None
); resultobj
= Py_None
;
25748 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25749 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25750 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25751 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25758 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25759 PyObject
*resultobj
;
25760 wxWindow
*arg1
= (wxWindow
*) 0 ;
25762 PyObject
* obj0
= 0 ;
25763 char *kwnames
[] = {
25764 (char *) "self", NULL
25767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
25768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25769 if (SWIG_arg_fail(1)) SWIG_fail
;
25771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25772 result
= ((wxWindow
const *)arg1
)->GetSize();
25774 wxPyEndAllowThreads(__tstate
);
25775 if (PyErr_Occurred()) SWIG_fail
;
25778 wxSize
* resultptr
;
25779 resultptr
= new wxSize((wxSize
&)(result
));
25780 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25788 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25789 PyObject
*resultobj
;
25790 wxWindow
*arg1
= (wxWindow
*) 0 ;
25791 int *arg2
= (int *) 0 ;
25792 int *arg3
= (int *) 0 ;
25797 PyObject
* obj0
= 0 ;
25798 char *kwnames
[] = {
25799 (char *) "self", NULL
25802 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25803 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
25805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25806 if (SWIG_arg_fail(1)) SWIG_fail
;
25808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25809 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
25811 wxPyEndAllowThreads(__tstate
);
25812 if (PyErr_Occurred()) SWIG_fail
;
25814 Py_INCREF(Py_None
); resultobj
= Py_None
;
25815 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25816 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25817 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25818 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25825 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25826 PyObject
*resultobj
;
25827 wxWindow
*arg1
= (wxWindow
*) 0 ;
25829 PyObject
* obj0
= 0 ;
25830 char *kwnames
[] = {
25831 (char *) "self", NULL
25834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
25835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25836 if (SWIG_arg_fail(1)) SWIG_fail
;
25838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25839 result
= ((wxWindow
const *)arg1
)->GetRect();
25841 wxPyEndAllowThreads(__tstate
);
25842 if (PyErr_Occurred()) SWIG_fail
;
25845 wxRect
* resultptr
;
25846 resultptr
= new wxRect((wxRect
&)(result
));
25847 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25855 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25856 PyObject
*resultobj
;
25857 wxWindow
*arg1
= (wxWindow
*) 0 ;
25859 PyObject
* obj0
= 0 ;
25860 char *kwnames
[] = {
25861 (char *) "self", NULL
25864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
25865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25866 if (SWIG_arg_fail(1)) SWIG_fail
;
25868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25869 result
= ((wxWindow
const *)arg1
)->GetClientSize();
25871 wxPyEndAllowThreads(__tstate
);
25872 if (PyErr_Occurred()) SWIG_fail
;
25875 wxSize
* resultptr
;
25876 resultptr
= new wxSize((wxSize
&)(result
));
25877 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25885 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25886 PyObject
*resultobj
;
25887 wxWindow
*arg1
= (wxWindow
*) 0 ;
25888 int *arg2
= (int *) 0 ;
25889 int *arg3
= (int *) 0 ;
25894 PyObject
* obj0
= 0 ;
25895 char *kwnames
[] = {
25896 (char *) "self", NULL
25899 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25900 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
25902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25903 if (SWIG_arg_fail(1)) SWIG_fail
;
25905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25906 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
25908 wxPyEndAllowThreads(__tstate
);
25909 if (PyErr_Occurred()) SWIG_fail
;
25911 Py_INCREF(Py_None
); resultobj
= Py_None
;
25912 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25913 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25914 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25915 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25922 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25923 PyObject
*resultobj
;
25924 wxWindow
*arg1
= (wxWindow
*) 0 ;
25926 PyObject
* obj0
= 0 ;
25927 char *kwnames
[] = {
25928 (char *) "self", NULL
25931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
25932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25933 if (SWIG_arg_fail(1)) SWIG_fail
;
25935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25936 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
25938 wxPyEndAllowThreads(__tstate
);
25939 if (PyErr_Occurred()) SWIG_fail
;
25942 wxPoint
* resultptr
;
25943 resultptr
= new wxPoint((wxPoint
&)(result
));
25944 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25952 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25953 PyObject
*resultobj
;
25954 wxWindow
*arg1
= (wxWindow
*) 0 ;
25956 PyObject
* obj0
= 0 ;
25957 char *kwnames
[] = {
25958 (char *) "self", NULL
25961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
25962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25963 if (SWIG_arg_fail(1)) SWIG_fail
;
25965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25966 result
= ((wxWindow
const *)arg1
)->GetClientRect();
25968 wxPyEndAllowThreads(__tstate
);
25969 if (PyErr_Occurred()) SWIG_fail
;
25972 wxRect
* resultptr
;
25973 resultptr
= new wxRect((wxRect
&)(result
));
25974 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25982 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25983 PyObject
*resultobj
;
25984 wxWindow
*arg1
= (wxWindow
*) 0 ;
25986 PyObject
* obj0
= 0 ;
25987 char *kwnames
[] = {
25988 (char *) "self", NULL
25991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
25992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25993 if (SWIG_arg_fail(1)) SWIG_fail
;
25995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25996 result
= ((wxWindow
const *)arg1
)->GetBestSize();
25998 wxPyEndAllowThreads(__tstate
);
25999 if (PyErr_Occurred()) SWIG_fail
;
26002 wxSize
* resultptr
;
26003 resultptr
= new wxSize((wxSize
&)(result
));
26004 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26012 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26013 PyObject
*resultobj
;
26014 wxWindow
*arg1
= (wxWindow
*) 0 ;
26015 int *arg2
= (int *) 0 ;
26016 int *arg3
= (int *) 0 ;
26021 PyObject
* obj0
= 0 ;
26022 char *kwnames
[] = {
26023 (char *) "self", NULL
26026 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26027 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
26029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26030 if (SWIG_arg_fail(1)) SWIG_fail
;
26032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26033 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
26035 wxPyEndAllowThreads(__tstate
);
26036 if (PyErr_Occurred()) SWIG_fail
;
26038 Py_INCREF(Py_None
); resultobj
= Py_None
;
26039 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26040 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26041 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26042 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26049 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26050 PyObject
*resultobj
;
26051 wxWindow
*arg1
= (wxWindow
*) 0 ;
26052 PyObject
* obj0
= 0 ;
26053 char *kwnames
[] = {
26054 (char *) "self", NULL
26057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
26058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26059 if (SWIG_arg_fail(1)) SWIG_fail
;
26061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26062 (arg1
)->InvalidateBestSize();
26064 wxPyEndAllowThreads(__tstate
);
26065 if (PyErr_Occurred()) SWIG_fail
;
26067 Py_INCREF(Py_None
); resultobj
= Py_None
;
26074 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26075 PyObject
*resultobj
;
26076 wxWindow
*arg1
= (wxWindow
*) 0 ;
26078 PyObject
* obj0
= 0 ;
26079 char *kwnames
[] = {
26080 (char *) "self", NULL
26083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
26084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26085 if (SWIG_arg_fail(1)) SWIG_fail
;
26087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26088 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
26090 wxPyEndAllowThreads(__tstate
);
26091 if (PyErr_Occurred()) SWIG_fail
;
26094 wxSize
* resultptr
;
26095 resultptr
= new wxSize((wxSize
&)(result
));
26096 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26104 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26105 PyObject
*resultobj
;
26106 wxWindow
*arg1
= (wxWindow
*) 0 ;
26108 PyObject
* obj0
= 0 ;
26109 char *kwnames
[] = {
26110 (char *) "self", NULL
26113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
26114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26115 if (SWIG_arg_fail(1)) SWIG_fail
;
26117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26118 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
26120 wxPyEndAllowThreads(__tstate
);
26121 if (PyErr_Occurred()) SWIG_fail
;
26124 wxSize
* resultptr
;
26125 resultptr
= new wxSize((wxSize
&)(result
));
26126 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26134 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26135 PyObject
*resultobj
;
26136 wxWindow
*arg1
= (wxWindow
*) 0 ;
26137 int arg2
= (int) wxBOTH
;
26138 PyObject
* obj0
= 0 ;
26139 PyObject
* obj1
= 0 ;
26140 char *kwnames
[] = {
26141 (char *) "self",(char *) "direction", NULL
26144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
26145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26146 if (SWIG_arg_fail(1)) SWIG_fail
;
26149 arg2
= (int)(SWIG_As_int(obj1
));
26150 if (SWIG_arg_fail(2)) SWIG_fail
;
26154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26155 (arg1
)->Center(arg2
);
26157 wxPyEndAllowThreads(__tstate
);
26158 if (PyErr_Occurred()) SWIG_fail
;
26160 Py_INCREF(Py_None
); resultobj
= Py_None
;
26167 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26168 PyObject
*resultobj
;
26169 wxWindow
*arg1
= (wxWindow
*) 0 ;
26170 int arg2
= (int) wxBOTH
;
26171 PyObject
* obj0
= 0 ;
26172 PyObject
* obj1
= 0 ;
26173 char *kwnames
[] = {
26174 (char *) "self",(char *) "dir", NULL
26177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26179 if (SWIG_arg_fail(1)) SWIG_fail
;
26182 arg2
= (int)(SWIG_As_int(obj1
));
26183 if (SWIG_arg_fail(2)) SWIG_fail
;
26187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26188 (arg1
)->CenterOnScreen(arg2
);
26190 wxPyEndAllowThreads(__tstate
);
26191 if (PyErr_Occurred()) SWIG_fail
;
26193 Py_INCREF(Py_None
); resultobj
= Py_None
;
26200 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26201 PyObject
*resultobj
;
26202 wxWindow
*arg1
= (wxWindow
*) 0 ;
26203 int arg2
= (int) wxBOTH
;
26204 PyObject
* obj0
= 0 ;
26205 PyObject
* obj1
= 0 ;
26206 char *kwnames
[] = {
26207 (char *) "self",(char *) "dir", NULL
26210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26212 if (SWIG_arg_fail(1)) SWIG_fail
;
26215 arg2
= (int)(SWIG_As_int(obj1
));
26216 if (SWIG_arg_fail(2)) SWIG_fail
;
26220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26221 (arg1
)->CenterOnParent(arg2
);
26223 wxPyEndAllowThreads(__tstate
);
26224 if (PyErr_Occurred()) SWIG_fail
;
26226 Py_INCREF(Py_None
); resultobj
= Py_None
;
26233 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26234 PyObject
*resultobj
;
26235 wxWindow
*arg1
= (wxWindow
*) 0 ;
26236 PyObject
* obj0
= 0 ;
26237 char *kwnames
[] = {
26238 (char *) "self", NULL
26241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
26242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26243 if (SWIG_arg_fail(1)) SWIG_fail
;
26245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26248 wxPyEndAllowThreads(__tstate
);
26249 if (PyErr_Occurred()) SWIG_fail
;
26251 Py_INCREF(Py_None
); resultobj
= Py_None
;
26258 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26259 PyObject
*resultobj
;
26260 wxWindow
*arg1
= (wxWindow
*) 0 ;
26261 PyObject
* obj0
= 0 ;
26262 char *kwnames
[] = {
26263 (char *) "self", NULL
26266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
26267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26268 if (SWIG_arg_fail(1)) SWIG_fail
;
26270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26271 (arg1
)->FitInside();
26273 wxPyEndAllowThreads(__tstate
);
26274 if (PyErr_Occurred()) SWIG_fail
;
26276 Py_INCREF(Py_None
); resultobj
= Py_None
;
26283 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26284 PyObject
*resultobj
;
26285 wxWindow
*arg1
= (wxWindow
*) 0 ;
26288 int arg4
= (int) -1 ;
26289 int arg5
= (int) -1 ;
26290 int arg6
= (int) -1 ;
26291 int arg7
= (int) -1 ;
26292 PyObject
* obj0
= 0 ;
26293 PyObject
* obj1
= 0 ;
26294 PyObject
* obj2
= 0 ;
26295 PyObject
* obj3
= 0 ;
26296 PyObject
* obj4
= 0 ;
26297 PyObject
* obj5
= 0 ;
26298 PyObject
* obj6
= 0 ;
26299 char *kwnames
[] = {
26300 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
26303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26305 if (SWIG_arg_fail(1)) SWIG_fail
;
26307 arg2
= (int)(SWIG_As_int(obj1
));
26308 if (SWIG_arg_fail(2)) SWIG_fail
;
26311 arg3
= (int)(SWIG_As_int(obj2
));
26312 if (SWIG_arg_fail(3)) SWIG_fail
;
26316 arg4
= (int)(SWIG_As_int(obj3
));
26317 if (SWIG_arg_fail(4)) SWIG_fail
;
26322 arg5
= (int)(SWIG_As_int(obj4
));
26323 if (SWIG_arg_fail(5)) SWIG_fail
;
26328 arg6
= (int)(SWIG_As_int(obj5
));
26329 if (SWIG_arg_fail(6)) SWIG_fail
;
26334 arg7
= (int)(SWIG_As_int(obj6
));
26335 if (SWIG_arg_fail(7)) SWIG_fail
;
26339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26340 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26342 wxPyEndAllowThreads(__tstate
);
26343 if (PyErr_Occurred()) SWIG_fail
;
26345 Py_INCREF(Py_None
); resultobj
= Py_None
;
26352 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26353 PyObject
*resultobj
;
26354 wxWindow
*arg1
= (wxWindow
*) 0 ;
26356 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26357 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26358 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26359 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26363 PyObject
* obj0
= 0 ;
26364 PyObject
* obj1
= 0 ;
26365 PyObject
* obj2
= 0 ;
26366 PyObject
* obj3
= 0 ;
26367 char *kwnames
[] = {
26368 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
26371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26373 if (SWIG_arg_fail(1)) SWIG_fail
;
26376 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26381 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26387 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26392 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
26394 wxPyEndAllowThreads(__tstate
);
26395 if (PyErr_Occurred()) SWIG_fail
;
26397 Py_INCREF(Py_None
); resultobj
= Py_None
;
26404 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26405 PyObject
*resultobj
;
26406 wxWindow
*arg1
= (wxWindow
*) 0 ;
26409 int arg4
= (int) -1 ;
26410 int arg5
= (int) -1 ;
26411 PyObject
* obj0
= 0 ;
26412 PyObject
* obj1
= 0 ;
26413 PyObject
* obj2
= 0 ;
26414 PyObject
* obj3
= 0 ;
26415 PyObject
* obj4
= 0 ;
26416 char *kwnames
[] = {
26417 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26422 if (SWIG_arg_fail(1)) SWIG_fail
;
26424 arg2
= (int)(SWIG_As_int(obj1
));
26425 if (SWIG_arg_fail(2)) SWIG_fail
;
26428 arg3
= (int)(SWIG_As_int(obj2
));
26429 if (SWIG_arg_fail(3)) SWIG_fail
;
26433 arg4
= (int)(SWIG_As_int(obj3
));
26434 if (SWIG_arg_fail(4)) SWIG_fail
;
26439 arg5
= (int)(SWIG_As_int(obj4
));
26440 if (SWIG_arg_fail(5)) SWIG_fail
;
26444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26445 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
26447 wxPyEndAllowThreads(__tstate
);
26448 if (PyErr_Occurred()) SWIG_fail
;
26450 Py_INCREF(Py_None
); resultobj
= Py_None
;
26457 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26458 PyObject
*resultobj
;
26459 wxWindow
*arg1
= (wxWindow
*) 0 ;
26461 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26462 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26465 PyObject
* obj0
= 0 ;
26466 PyObject
* obj1
= 0 ;
26467 PyObject
* obj2
= 0 ;
26468 char *kwnames
[] = {
26469 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26474 if (SWIG_arg_fail(1)) SWIG_fail
;
26477 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26482 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26487 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
26489 wxPyEndAllowThreads(__tstate
);
26490 if (PyErr_Occurred()) SWIG_fail
;
26492 Py_INCREF(Py_None
); resultobj
= Py_None
;
26499 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26500 PyObject
*resultobj
;
26501 wxWindow
*arg1
= (wxWindow
*) 0 ;
26503 PyObject
* obj0
= 0 ;
26504 char *kwnames
[] = {
26505 (char *) "self", NULL
26508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
26509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26510 if (SWIG_arg_fail(1)) SWIG_fail
;
26512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26513 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
26515 wxPyEndAllowThreads(__tstate
);
26516 if (PyErr_Occurred()) SWIG_fail
;
26519 wxSize
* resultptr
;
26520 resultptr
= new wxSize((wxSize
&)(result
));
26521 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26529 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26530 PyObject
*resultobj
;
26531 wxWindow
*arg1
= (wxWindow
*) 0 ;
26533 PyObject
* obj0
= 0 ;
26534 char *kwnames
[] = {
26535 (char *) "self", NULL
26538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
26539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26540 if (SWIG_arg_fail(1)) SWIG_fail
;
26542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26543 result
= ((wxWindow
const *)arg1
)->GetMinSize();
26545 wxPyEndAllowThreads(__tstate
);
26546 if (PyErr_Occurred()) SWIG_fail
;
26549 wxSize
* resultptr
;
26550 resultptr
= new wxSize((wxSize
&)(result
));
26551 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26559 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26560 PyObject
*resultobj
;
26561 wxWindow
*arg1
= (wxWindow
*) 0 ;
26564 PyObject
* obj0
= 0 ;
26565 PyObject
* obj1
= 0 ;
26566 char *kwnames
[] = {
26567 (char *) "self",(char *) "minSize", NULL
26570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26572 if (SWIG_arg_fail(1)) SWIG_fail
;
26575 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26579 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
26581 wxPyEndAllowThreads(__tstate
);
26582 if (PyErr_Occurred()) SWIG_fail
;
26584 Py_INCREF(Py_None
); resultobj
= Py_None
;
26591 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26592 PyObject
*resultobj
;
26593 wxWindow
*arg1
= (wxWindow
*) 0 ;
26596 PyObject
* obj0
= 0 ;
26597 PyObject
* obj1
= 0 ;
26598 char *kwnames
[] = {
26599 (char *) "self",(char *) "maxSize", NULL
26602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26604 if (SWIG_arg_fail(1)) SWIG_fail
;
26607 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26611 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
26613 wxPyEndAllowThreads(__tstate
);
26614 if (PyErr_Occurred()) SWIG_fail
;
26616 Py_INCREF(Py_None
); resultobj
= Py_None
;
26623 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26624 PyObject
*resultobj
;
26625 wxWindow
*arg1
= (wxWindow
*) 0 ;
26627 PyObject
* obj0
= 0 ;
26628 char *kwnames
[] = {
26629 (char *) "self", NULL
26632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
26633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26634 if (SWIG_arg_fail(1)) SWIG_fail
;
26636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26637 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
26639 wxPyEndAllowThreads(__tstate
);
26640 if (PyErr_Occurred()) SWIG_fail
;
26643 resultobj
= SWIG_From_int((int)(result
));
26651 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26652 PyObject
*resultobj
;
26653 wxWindow
*arg1
= (wxWindow
*) 0 ;
26655 PyObject
* obj0
= 0 ;
26656 char *kwnames
[] = {
26657 (char *) "self", NULL
26660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
26661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26662 if (SWIG_arg_fail(1)) SWIG_fail
;
26664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26665 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
26667 wxPyEndAllowThreads(__tstate
);
26668 if (PyErr_Occurred()) SWIG_fail
;
26671 resultobj
= SWIG_From_int((int)(result
));
26679 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26680 PyObject
*resultobj
;
26681 wxWindow
*arg1
= (wxWindow
*) 0 ;
26683 PyObject
* obj0
= 0 ;
26684 char *kwnames
[] = {
26685 (char *) "self", NULL
26688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
26689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26690 if (SWIG_arg_fail(1)) SWIG_fail
;
26692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26693 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
26695 wxPyEndAllowThreads(__tstate
);
26696 if (PyErr_Occurred()) SWIG_fail
;
26699 resultobj
= SWIG_From_int((int)(result
));
26707 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26708 PyObject
*resultobj
;
26709 wxWindow
*arg1
= (wxWindow
*) 0 ;
26711 PyObject
* obj0
= 0 ;
26712 char *kwnames
[] = {
26713 (char *) "self", NULL
26716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
26717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26718 if (SWIG_arg_fail(1)) SWIG_fail
;
26720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26721 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
26723 wxPyEndAllowThreads(__tstate
);
26724 if (PyErr_Occurred()) SWIG_fail
;
26727 resultobj
= SWIG_From_int((int)(result
));
26735 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26736 PyObject
*resultobj
;
26737 wxWindow
*arg1
= (wxWindow
*) 0 ;
26740 PyObject
* obj0
= 0 ;
26741 PyObject
* obj1
= 0 ;
26742 char *kwnames
[] = {
26743 (char *) "self",(char *) "size", NULL
26746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26748 if (SWIG_arg_fail(1)) SWIG_fail
;
26751 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26755 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
26757 wxPyEndAllowThreads(__tstate
);
26758 if (PyErr_Occurred()) SWIG_fail
;
26760 Py_INCREF(Py_None
); resultobj
= Py_None
;
26767 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26768 PyObject
*resultobj
;
26769 wxWindow
*arg1
= (wxWindow
*) 0 ;
26772 PyObject
* obj0
= 0 ;
26773 PyObject
* obj1
= 0 ;
26774 PyObject
* obj2
= 0 ;
26775 char *kwnames
[] = {
26776 (char *) "self",(char *) "w",(char *) "h", NULL
26779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26781 if (SWIG_arg_fail(1)) SWIG_fail
;
26783 arg2
= (int)(SWIG_As_int(obj1
));
26784 if (SWIG_arg_fail(2)) SWIG_fail
;
26787 arg3
= (int)(SWIG_As_int(obj2
));
26788 if (SWIG_arg_fail(3)) SWIG_fail
;
26791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26792 (arg1
)->SetVirtualSize(arg2
,arg3
);
26794 wxPyEndAllowThreads(__tstate
);
26795 if (PyErr_Occurred()) SWIG_fail
;
26797 Py_INCREF(Py_None
); resultobj
= Py_None
;
26804 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26805 PyObject
*resultobj
;
26806 wxWindow
*arg1
= (wxWindow
*) 0 ;
26808 PyObject
* obj0
= 0 ;
26809 char *kwnames
[] = {
26810 (char *) "self", NULL
26813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
26814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26815 if (SWIG_arg_fail(1)) SWIG_fail
;
26817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26818 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
26820 wxPyEndAllowThreads(__tstate
);
26821 if (PyErr_Occurred()) SWIG_fail
;
26824 wxSize
* resultptr
;
26825 resultptr
= new wxSize((wxSize
&)(result
));
26826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26834 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26835 PyObject
*resultobj
;
26836 wxWindow
*arg1
= (wxWindow
*) 0 ;
26837 int *arg2
= (int *) 0 ;
26838 int *arg3
= (int *) 0 ;
26843 PyObject
* obj0
= 0 ;
26844 char *kwnames
[] = {
26845 (char *) "self", NULL
26848 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26849 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
26851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26852 if (SWIG_arg_fail(1)) SWIG_fail
;
26854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26855 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
26857 wxPyEndAllowThreads(__tstate
);
26858 if (PyErr_Occurred()) SWIG_fail
;
26860 Py_INCREF(Py_None
); resultobj
= Py_None
;
26861 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26862 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26863 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26864 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26871 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26872 PyObject
*resultobj
;
26873 wxWindow
*arg1
= (wxWindow
*) 0 ;
26875 PyObject
* obj0
= 0 ;
26876 char *kwnames
[] = {
26877 (char *) "self", NULL
26880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
26881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26882 if (SWIG_arg_fail(1)) SWIG_fail
;
26884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26885 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
26887 wxPyEndAllowThreads(__tstate
);
26888 if (PyErr_Occurred()) SWIG_fail
;
26891 wxSize
* resultptr
;
26892 resultptr
= new wxSize((wxSize
&)(result
));
26893 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26901 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26902 PyObject
*resultobj
;
26903 wxWindow
*arg1
= (wxWindow
*) 0 ;
26904 bool arg2
= (bool) true ;
26906 PyObject
* obj0
= 0 ;
26907 PyObject
* obj1
= 0 ;
26908 char *kwnames
[] = {
26909 (char *) "self",(char *) "show", NULL
26912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
26913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26914 if (SWIG_arg_fail(1)) SWIG_fail
;
26917 arg2
= (bool)(SWIG_As_bool(obj1
));
26918 if (SWIG_arg_fail(2)) SWIG_fail
;
26922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26923 result
= (bool)(arg1
)->Show(arg2
);
26925 wxPyEndAllowThreads(__tstate
);
26926 if (PyErr_Occurred()) SWIG_fail
;
26929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26937 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26938 PyObject
*resultobj
;
26939 wxWindow
*arg1
= (wxWindow
*) 0 ;
26941 PyObject
* obj0
= 0 ;
26942 char *kwnames
[] = {
26943 (char *) "self", NULL
26946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
26947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26948 if (SWIG_arg_fail(1)) SWIG_fail
;
26950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26951 result
= (bool)(arg1
)->Hide();
26953 wxPyEndAllowThreads(__tstate
);
26954 if (PyErr_Occurred()) SWIG_fail
;
26957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26965 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26966 PyObject
*resultobj
;
26967 wxWindow
*arg1
= (wxWindow
*) 0 ;
26968 bool arg2
= (bool) true ;
26970 PyObject
* obj0
= 0 ;
26971 PyObject
* obj1
= 0 ;
26972 char *kwnames
[] = {
26973 (char *) "self",(char *) "enable", NULL
26976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
26977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26978 if (SWIG_arg_fail(1)) SWIG_fail
;
26981 arg2
= (bool)(SWIG_As_bool(obj1
));
26982 if (SWIG_arg_fail(2)) SWIG_fail
;
26986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26987 result
= (bool)(arg1
)->Enable(arg2
);
26989 wxPyEndAllowThreads(__tstate
);
26990 if (PyErr_Occurred()) SWIG_fail
;
26993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27001 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27002 PyObject
*resultobj
;
27003 wxWindow
*arg1
= (wxWindow
*) 0 ;
27005 PyObject
* obj0
= 0 ;
27006 char *kwnames
[] = {
27007 (char *) "self", NULL
27010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
27011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27012 if (SWIG_arg_fail(1)) SWIG_fail
;
27014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27015 result
= (bool)(arg1
)->Disable();
27017 wxPyEndAllowThreads(__tstate
);
27018 if (PyErr_Occurred()) SWIG_fail
;
27021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27029 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27030 PyObject
*resultobj
;
27031 wxWindow
*arg1
= (wxWindow
*) 0 ;
27033 PyObject
* obj0
= 0 ;
27034 char *kwnames
[] = {
27035 (char *) "self", NULL
27038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
27039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27040 if (SWIG_arg_fail(1)) SWIG_fail
;
27042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27043 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
27045 wxPyEndAllowThreads(__tstate
);
27046 if (PyErr_Occurred()) SWIG_fail
;
27049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27057 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27058 PyObject
*resultobj
;
27059 wxWindow
*arg1
= (wxWindow
*) 0 ;
27061 PyObject
* obj0
= 0 ;
27062 char *kwnames
[] = {
27063 (char *) "self", NULL
27066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
27067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27068 if (SWIG_arg_fail(1)) SWIG_fail
;
27070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27071 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
27073 wxPyEndAllowThreads(__tstate
);
27074 if (PyErr_Occurred()) SWIG_fail
;
27077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27085 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27086 PyObject
*resultobj
;
27087 wxWindow
*arg1
= (wxWindow
*) 0 ;
27089 PyObject
* obj0
= 0 ;
27090 PyObject
* obj1
= 0 ;
27091 char *kwnames
[] = {
27092 (char *) "self",(char *) "style", NULL
27095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27097 if (SWIG_arg_fail(1)) SWIG_fail
;
27099 arg2
= (long)(SWIG_As_long(obj1
));
27100 if (SWIG_arg_fail(2)) SWIG_fail
;
27103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27104 (arg1
)->SetWindowStyleFlag(arg2
);
27106 wxPyEndAllowThreads(__tstate
);
27107 if (PyErr_Occurred()) SWIG_fail
;
27109 Py_INCREF(Py_None
); resultobj
= Py_None
;
27116 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27117 PyObject
*resultobj
;
27118 wxWindow
*arg1
= (wxWindow
*) 0 ;
27120 PyObject
* obj0
= 0 ;
27121 char *kwnames
[] = {
27122 (char *) "self", NULL
27125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
27126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27127 if (SWIG_arg_fail(1)) SWIG_fail
;
27129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27130 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
27132 wxPyEndAllowThreads(__tstate
);
27133 if (PyErr_Occurred()) SWIG_fail
;
27136 resultobj
= SWIG_From_long((long)(result
));
27144 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27145 PyObject
*resultobj
;
27146 wxWindow
*arg1
= (wxWindow
*) 0 ;
27149 PyObject
* obj0
= 0 ;
27150 PyObject
* obj1
= 0 ;
27151 char *kwnames
[] = {
27152 (char *) "self",(char *) "flag", NULL
27155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27157 if (SWIG_arg_fail(1)) SWIG_fail
;
27159 arg2
= (int)(SWIG_As_int(obj1
));
27160 if (SWIG_arg_fail(2)) SWIG_fail
;
27163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27164 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
27166 wxPyEndAllowThreads(__tstate
);
27167 if (PyErr_Occurred()) SWIG_fail
;
27170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27178 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27179 PyObject
*resultobj
;
27180 wxWindow
*arg1
= (wxWindow
*) 0 ;
27182 PyObject
* obj0
= 0 ;
27183 char *kwnames
[] = {
27184 (char *) "self", NULL
27187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
27188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27189 if (SWIG_arg_fail(1)) SWIG_fail
;
27191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27192 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
27194 wxPyEndAllowThreads(__tstate
);
27195 if (PyErr_Occurred()) SWIG_fail
;
27198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27206 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27207 PyObject
*resultobj
;
27208 wxWindow
*arg1
= (wxWindow
*) 0 ;
27210 PyObject
* obj0
= 0 ;
27211 PyObject
* obj1
= 0 ;
27212 char *kwnames
[] = {
27213 (char *) "self",(char *) "exStyle", NULL
27216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
27217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27218 if (SWIG_arg_fail(1)) SWIG_fail
;
27220 arg2
= (long)(SWIG_As_long(obj1
));
27221 if (SWIG_arg_fail(2)) SWIG_fail
;
27224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27225 (arg1
)->SetExtraStyle(arg2
);
27227 wxPyEndAllowThreads(__tstate
);
27228 if (PyErr_Occurred()) SWIG_fail
;
27230 Py_INCREF(Py_None
); resultobj
= Py_None
;
27237 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27238 PyObject
*resultobj
;
27239 wxWindow
*arg1
= (wxWindow
*) 0 ;
27241 PyObject
* obj0
= 0 ;
27242 char *kwnames
[] = {
27243 (char *) "self", NULL
27246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
27247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27248 if (SWIG_arg_fail(1)) SWIG_fail
;
27250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27251 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
27253 wxPyEndAllowThreads(__tstate
);
27254 if (PyErr_Occurred()) SWIG_fail
;
27257 resultobj
= SWIG_From_long((long)(result
));
27265 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27266 PyObject
*resultobj
;
27267 wxWindow
*arg1
= (wxWindow
*) 0 ;
27268 bool arg2
= (bool) true ;
27269 PyObject
* obj0
= 0 ;
27270 PyObject
* obj1
= 0 ;
27271 char *kwnames
[] = {
27272 (char *) "self",(char *) "modal", NULL
27275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
27276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27277 if (SWIG_arg_fail(1)) SWIG_fail
;
27280 arg2
= (bool)(SWIG_As_bool(obj1
));
27281 if (SWIG_arg_fail(2)) SWIG_fail
;
27285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27286 (arg1
)->MakeModal(arg2
);
27288 wxPyEndAllowThreads(__tstate
);
27289 if (PyErr_Occurred()) SWIG_fail
;
27291 Py_INCREF(Py_None
); resultobj
= Py_None
;
27298 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27299 PyObject
*resultobj
;
27300 wxWindow
*arg1
= (wxWindow
*) 0 ;
27302 PyObject
* obj0
= 0 ;
27303 PyObject
* obj1
= 0 ;
27304 char *kwnames
[] = {
27305 (char *) "self",(char *) "enableTheme", NULL
27308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
27309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27310 if (SWIG_arg_fail(1)) SWIG_fail
;
27312 arg2
= (bool)(SWIG_As_bool(obj1
));
27313 if (SWIG_arg_fail(2)) SWIG_fail
;
27316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27317 (arg1
)->SetThemeEnabled(arg2
);
27319 wxPyEndAllowThreads(__tstate
);
27320 if (PyErr_Occurred()) SWIG_fail
;
27322 Py_INCREF(Py_None
); resultobj
= Py_None
;
27329 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27330 PyObject
*resultobj
;
27331 wxWindow
*arg1
= (wxWindow
*) 0 ;
27333 PyObject
* obj0
= 0 ;
27334 char *kwnames
[] = {
27335 (char *) "self", NULL
27338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
27339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27340 if (SWIG_arg_fail(1)) SWIG_fail
;
27342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27343 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
27345 wxPyEndAllowThreads(__tstate
);
27346 if (PyErr_Occurred()) SWIG_fail
;
27349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27357 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27358 PyObject
*resultobj
;
27359 wxWindow
*arg1
= (wxWindow
*) 0 ;
27360 PyObject
* obj0
= 0 ;
27361 char *kwnames
[] = {
27362 (char *) "self", NULL
27365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
27366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27367 if (SWIG_arg_fail(1)) SWIG_fail
;
27369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27370 (arg1
)->SetFocus();
27372 wxPyEndAllowThreads(__tstate
);
27373 if (PyErr_Occurred()) SWIG_fail
;
27375 Py_INCREF(Py_None
); resultobj
= Py_None
;
27382 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27383 PyObject
*resultobj
;
27384 wxWindow
*arg1
= (wxWindow
*) 0 ;
27385 PyObject
* obj0
= 0 ;
27386 char *kwnames
[] = {
27387 (char *) "self", NULL
27390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
27391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27392 if (SWIG_arg_fail(1)) SWIG_fail
;
27394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27395 (arg1
)->SetFocusFromKbd();
27397 wxPyEndAllowThreads(__tstate
);
27398 if (PyErr_Occurred()) SWIG_fail
;
27400 Py_INCREF(Py_None
); resultobj
= Py_None
;
27407 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27408 PyObject
*resultobj
;
27410 char *kwnames
[] = {
27414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
27416 if (!wxPyCheckForApp()) SWIG_fail
;
27417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27418 result
= (wxWindow
*)wxWindow::FindFocus();
27420 wxPyEndAllowThreads(__tstate
);
27421 if (PyErr_Occurred()) SWIG_fail
;
27424 resultobj
= wxPyMake_wxObject(result
, 0);
27432 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27433 PyObject
*resultobj
;
27434 wxWindow
*arg1
= (wxWindow
*) 0 ;
27436 PyObject
* obj0
= 0 ;
27437 char *kwnames
[] = {
27438 (char *) "self", NULL
27441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27443 if (SWIG_arg_fail(1)) SWIG_fail
;
27445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27446 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
27448 wxPyEndAllowThreads(__tstate
);
27449 if (PyErr_Occurred()) SWIG_fail
;
27452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27460 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27461 PyObject
*resultobj
;
27462 wxWindow
*arg1
= (wxWindow
*) 0 ;
27464 PyObject
* obj0
= 0 ;
27465 char *kwnames
[] = {
27466 (char *) "self", NULL
27469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27471 if (SWIG_arg_fail(1)) SWIG_fail
;
27473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27474 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
27476 wxPyEndAllowThreads(__tstate
);
27477 if (PyErr_Occurred()) SWIG_fail
;
27480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27488 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27489 PyObject
*resultobj
;
27490 wxWindow
*arg1
= (wxWindow
*) 0 ;
27492 PyObject
* obj0
= 0 ;
27493 char *kwnames
[] = {
27494 (char *) "self", NULL
27497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
27498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27499 if (SWIG_arg_fail(1)) SWIG_fail
;
27501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27502 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
27504 wxPyEndAllowThreads(__tstate
);
27505 if (PyErr_Occurred()) SWIG_fail
;
27508 resultobj
= wxPyMake_wxObject(result
, 0);
27516 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27517 PyObject
*resultobj
;
27518 wxWindow
*arg1
= (wxWindow
*) 0 ;
27519 wxWindow
*arg2
= (wxWindow
*) 0 ;
27521 PyObject
* obj0
= 0 ;
27522 PyObject
* obj1
= 0 ;
27523 char *kwnames
[] = {
27524 (char *) "self",(char *) "child", NULL
27527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27529 if (SWIG_arg_fail(1)) SWIG_fail
;
27530 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27531 if (SWIG_arg_fail(2)) SWIG_fail
;
27533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27534 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
27536 wxPyEndAllowThreads(__tstate
);
27537 if (PyErr_Occurred()) SWIG_fail
;
27540 resultobj
= wxPyMake_wxObject(result
, 0);
27548 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27549 PyObject
*resultobj
;
27550 wxWindow
*arg1
= (wxWindow
*) 0 ;
27551 wxWindow
*arg2
= (wxWindow
*) 0 ;
27552 PyObject
* obj0
= 0 ;
27553 PyObject
* obj1
= 0 ;
27554 char *kwnames
[] = {
27555 (char *) "self",(char *) "win", NULL
27558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27560 if (SWIG_arg_fail(1)) SWIG_fail
;
27561 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27562 if (SWIG_arg_fail(2)) SWIG_fail
;
27564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27565 (arg1
)->SetTmpDefaultItem(arg2
);
27567 wxPyEndAllowThreads(__tstate
);
27568 if (PyErr_Occurred()) SWIG_fail
;
27570 Py_INCREF(Py_None
); resultobj
= Py_None
;
27577 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27578 PyObject
*resultobj
;
27579 wxWindow
*arg1
= (wxWindow
*) 0 ;
27580 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
27582 PyObject
* obj0
= 0 ;
27583 PyObject
* obj1
= 0 ;
27584 char *kwnames
[] = {
27585 (char *) "self",(char *) "flags", NULL
27588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
27589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27590 if (SWIG_arg_fail(1)) SWIG_fail
;
27593 arg2
= (int)(SWIG_As_int(obj1
));
27594 if (SWIG_arg_fail(2)) SWIG_fail
;
27598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27599 result
= (bool)(arg1
)->Navigate(arg2
);
27601 wxPyEndAllowThreads(__tstate
);
27602 if (PyErr_Occurred()) SWIG_fail
;
27605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27613 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27614 PyObject
*resultobj
;
27615 wxWindow
*arg1
= (wxWindow
*) 0 ;
27616 wxWindow
*arg2
= (wxWindow
*) 0 ;
27617 PyObject
* obj0
= 0 ;
27618 PyObject
* obj1
= 0 ;
27619 char *kwnames
[] = {
27620 (char *) "self",(char *) "win", NULL
27623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27625 if (SWIG_arg_fail(1)) SWIG_fail
;
27626 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27627 if (SWIG_arg_fail(2)) SWIG_fail
;
27629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27630 (arg1
)->MoveAfterInTabOrder(arg2
);
27632 wxPyEndAllowThreads(__tstate
);
27633 if (PyErr_Occurred()) SWIG_fail
;
27635 Py_INCREF(Py_None
); resultobj
= Py_None
;
27642 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27643 PyObject
*resultobj
;
27644 wxWindow
*arg1
= (wxWindow
*) 0 ;
27645 wxWindow
*arg2
= (wxWindow
*) 0 ;
27646 PyObject
* obj0
= 0 ;
27647 PyObject
* obj1
= 0 ;
27648 char *kwnames
[] = {
27649 (char *) "self",(char *) "win", NULL
27652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27654 if (SWIG_arg_fail(1)) SWIG_fail
;
27655 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27656 if (SWIG_arg_fail(2)) SWIG_fail
;
27658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27659 (arg1
)->MoveBeforeInTabOrder(arg2
);
27661 wxPyEndAllowThreads(__tstate
);
27662 if (PyErr_Occurred()) SWIG_fail
;
27664 Py_INCREF(Py_None
); resultobj
= Py_None
;
27671 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27672 PyObject
*resultobj
;
27673 wxWindow
*arg1
= (wxWindow
*) 0 ;
27675 PyObject
* obj0
= 0 ;
27676 char *kwnames
[] = {
27677 (char *) "self", NULL
27680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
27681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27682 if (SWIG_arg_fail(1)) SWIG_fail
;
27684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27685 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
27687 wxPyEndAllowThreads(__tstate
);
27688 if (PyErr_Occurred()) SWIG_fail
;
27690 resultobj
= result
;
27697 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27698 PyObject
*resultobj
;
27699 wxWindow
*arg1
= (wxWindow
*) 0 ;
27701 PyObject
* obj0
= 0 ;
27702 char *kwnames
[] = {
27703 (char *) "self", NULL
27706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
27707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27708 if (SWIG_arg_fail(1)) SWIG_fail
;
27710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27711 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
27713 wxPyEndAllowThreads(__tstate
);
27714 if (PyErr_Occurred()) SWIG_fail
;
27717 resultobj
= wxPyMake_wxObject(result
, 0);
27725 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27726 PyObject
*resultobj
;
27727 wxWindow
*arg1
= (wxWindow
*) 0 ;
27729 PyObject
* obj0
= 0 ;
27730 char *kwnames
[] = {
27731 (char *) "self", NULL
27734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
27735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27736 if (SWIG_arg_fail(1)) SWIG_fail
;
27738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27739 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
27741 wxPyEndAllowThreads(__tstate
);
27742 if (PyErr_Occurred()) SWIG_fail
;
27745 resultobj
= wxPyMake_wxObject(result
, 0);
27753 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27754 PyObject
*resultobj
;
27755 wxWindow
*arg1
= (wxWindow
*) 0 ;
27757 PyObject
* obj0
= 0 ;
27758 char *kwnames
[] = {
27759 (char *) "self", NULL
27762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
27763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27764 if (SWIG_arg_fail(1)) SWIG_fail
;
27766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27767 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
27769 wxPyEndAllowThreads(__tstate
);
27770 if (PyErr_Occurred()) SWIG_fail
;
27773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27781 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27782 PyObject
*resultobj
;
27783 wxWindow
*arg1
= (wxWindow
*) 0 ;
27784 wxWindow
*arg2
= (wxWindow
*) 0 ;
27786 PyObject
* obj0
= 0 ;
27787 PyObject
* obj1
= 0 ;
27788 char *kwnames
[] = {
27789 (char *) "self",(char *) "newParent", NULL
27792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
27793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27794 if (SWIG_arg_fail(1)) SWIG_fail
;
27795 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27796 if (SWIG_arg_fail(2)) SWIG_fail
;
27798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27799 result
= (bool)(arg1
)->Reparent(arg2
);
27801 wxPyEndAllowThreads(__tstate
);
27802 if (PyErr_Occurred()) SWIG_fail
;
27805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27813 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27814 PyObject
*resultobj
;
27815 wxWindow
*arg1
= (wxWindow
*) 0 ;
27816 wxWindow
*arg2
= (wxWindow
*) 0 ;
27817 PyObject
* obj0
= 0 ;
27818 PyObject
* obj1
= 0 ;
27819 char *kwnames
[] = {
27820 (char *) "self",(char *) "child", NULL
27823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27825 if (SWIG_arg_fail(1)) SWIG_fail
;
27826 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27827 if (SWIG_arg_fail(2)) SWIG_fail
;
27829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27830 (arg1
)->AddChild(arg2
);
27832 wxPyEndAllowThreads(__tstate
);
27833 if (PyErr_Occurred()) SWIG_fail
;
27835 Py_INCREF(Py_None
); resultobj
= Py_None
;
27842 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27843 PyObject
*resultobj
;
27844 wxWindow
*arg1
= (wxWindow
*) 0 ;
27845 wxWindow
*arg2
= (wxWindow
*) 0 ;
27846 PyObject
* obj0
= 0 ;
27847 PyObject
* obj1
= 0 ;
27848 char *kwnames
[] = {
27849 (char *) "self",(char *) "child", NULL
27852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27854 if (SWIG_arg_fail(1)) SWIG_fail
;
27855 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27856 if (SWIG_arg_fail(2)) SWIG_fail
;
27858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27859 (arg1
)->RemoveChild(arg2
);
27861 wxPyEndAllowThreads(__tstate
);
27862 if (PyErr_Occurred()) SWIG_fail
;
27864 Py_INCREF(Py_None
); resultobj
= Py_None
;
27871 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27872 PyObject
*resultobj
;
27873 wxWindow
*arg1
= (wxWindow
*) 0 ;
27876 PyObject
* obj0
= 0 ;
27877 PyObject
* obj1
= 0 ;
27878 char *kwnames
[] = {
27879 (char *) "self",(char *) "winid", NULL
27882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
27883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27884 if (SWIG_arg_fail(1)) SWIG_fail
;
27886 arg2
= (long)(SWIG_As_long(obj1
));
27887 if (SWIG_arg_fail(2)) SWIG_fail
;
27890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27891 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
27893 wxPyEndAllowThreads(__tstate
);
27894 if (PyErr_Occurred()) SWIG_fail
;
27897 resultobj
= wxPyMake_wxObject(result
, 0);
27905 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27906 PyObject
*resultobj
;
27907 wxWindow
*arg1
= (wxWindow
*) 0 ;
27908 wxString
*arg2
= 0 ;
27910 bool temp2
= false ;
27911 PyObject
* obj0
= 0 ;
27912 PyObject
* obj1
= 0 ;
27913 char *kwnames
[] = {
27914 (char *) "self",(char *) "name", NULL
27917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
27918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27919 if (SWIG_arg_fail(1)) SWIG_fail
;
27921 arg2
= wxString_in_helper(obj1
);
27922 if (arg2
== NULL
) SWIG_fail
;
27926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27927 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
27929 wxPyEndAllowThreads(__tstate
);
27930 if (PyErr_Occurred()) SWIG_fail
;
27933 resultobj
= wxPyMake_wxObject(result
, 0);
27949 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27950 PyObject
*resultobj
;
27951 wxWindow
*arg1
= (wxWindow
*) 0 ;
27952 wxEvtHandler
*result
;
27953 PyObject
* obj0
= 0 ;
27954 char *kwnames
[] = {
27955 (char *) "self", NULL
27958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
27959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27960 if (SWIG_arg_fail(1)) SWIG_fail
;
27962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27963 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
27965 wxPyEndAllowThreads(__tstate
);
27966 if (PyErr_Occurred()) SWIG_fail
;
27969 resultobj
= wxPyMake_wxObject(result
, 0);
27977 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27978 PyObject
*resultobj
;
27979 wxWindow
*arg1
= (wxWindow
*) 0 ;
27980 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
27981 PyObject
* obj0
= 0 ;
27982 PyObject
* obj1
= 0 ;
27983 char *kwnames
[] = {
27984 (char *) "self",(char *) "handler", NULL
27987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27989 if (SWIG_arg_fail(1)) SWIG_fail
;
27990 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
27991 if (SWIG_arg_fail(2)) SWIG_fail
;
27993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27994 (arg1
)->SetEventHandler(arg2
);
27996 wxPyEndAllowThreads(__tstate
);
27997 if (PyErr_Occurred()) SWIG_fail
;
27999 Py_INCREF(Py_None
); resultobj
= Py_None
;
28006 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28007 PyObject
*resultobj
;
28008 wxWindow
*arg1
= (wxWindow
*) 0 ;
28009 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28010 PyObject
* obj0
= 0 ;
28011 PyObject
* obj1
= 0 ;
28012 char *kwnames
[] = {
28013 (char *) "self",(char *) "handler", NULL
28016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28018 if (SWIG_arg_fail(1)) SWIG_fail
;
28019 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28020 if (SWIG_arg_fail(2)) SWIG_fail
;
28022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28023 (arg1
)->PushEventHandler(arg2
);
28025 wxPyEndAllowThreads(__tstate
);
28026 if (PyErr_Occurred()) SWIG_fail
;
28028 Py_INCREF(Py_None
); resultobj
= Py_None
;
28035 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28036 PyObject
*resultobj
;
28037 wxWindow
*arg1
= (wxWindow
*) 0 ;
28038 bool arg2
= (bool) false ;
28039 wxEvtHandler
*result
;
28040 PyObject
* obj0
= 0 ;
28041 PyObject
* obj1
= 0 ;
28042 char *kwnames
[] = {
28043 (char *) "self",(char *) "deleteHandler", NULL
28046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28048 if (SWIG_arg_fail(1)) SWIG_fail
;
28051 arg2
= (bool)(SWIG_As_bool(obj1
));
28052 if (SWIG_arg_fail(2)) SWIG_fail
;
28056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28057 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
28059 wxPyEndAllowThreads(__tstate
);
28060 if (PyErr_Occurred()) SWIG_fail
;
28063 resultobj
= wxPyMake_wxObject(result
, 0);
28071 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28072 PyObject
*resultobj
;
28073 wxWindow
*arg1
= (wxWindow
*) 0 ;
28074 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28076 PyObject
* obj0
= 0 ;
28077 PyObject
* obj1
= 0 ;
28078 char *kwnames
[] = {
28079 (char *) "self",(char *) "handler", NULL
28082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28084 if (SWIG_arg_fail(1)) SWIG_fail
;
28085 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28086 if (SWIG_arg_fail(2)) SWIG_fail
;
28088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28089 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
28091 wxPyEndAllowThreads(__tstate
);
28092 if (PyErr_Occurred()) SWIG_fail
;
28095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28103 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28104 PyObject
*resultobj
;
28105 wxWindow
*arg1
= (wxWindow
*) 0 ;
28106 wxValidator
*arg2
= 0 ;
28107 PyObject
* obj0
= 0 ;
28108 PyObject
* obj1
= 0 ;
28109 char *kwnames
[] = {
28110 (char *) "self",(char *) "validator", NULL
28113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
28114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28115 if (SWIG_arg_fail(1)) SWIG_fail
;
28117 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28118 if (SWIG_arg_fail(2)) SWIG_fail
;
28119 if (arg2
== NULL
) {
28120 SWIG_null_ref("wxValidator");
28122 if (SWIG_arg_fail(2)) SWIG_fail
;
28125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28126 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
28128 wxPyEndAllowThreads(__tstate
);
28129 if (PyErr_Occurred()) SWIG_fail
;
28131 Py_INCREF(Py_None
); resultobj
= Py_None
;
28138 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28139 PyObject
*resultobj
;
28140 wxWindow
*arg1
= (wxWindow
*) 0 ;
28141 wxValidator
*result
;
28142 PyObject
* obj0
= 0 ;
28143 char *kwnames
[] = {
28144 (char *) "self", NULL
28147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
28148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28149 if (SWIG_arg_fail(1)) SWIG_fail
;
28151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28152 result
= (wxValidator
*)(arg1
)->GetValidator();
28154 wxPyEndAllowThreads(__tstate
);
28155 if (PyErr_Occurred()) SWIG_fail
;
28158 resultobj
= wxPyMake_wxObject(result
, 0);
28166 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28167 PyObject
*resultobj
;
28168 wxWindow
*arg1
= (wxWindow
*) 0 ;
28170 PyObject
* obj0
= 0 ;
28171 char *kwnames
[] = {
28172 (char *) "self", NULL
28175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
28176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28177 if (SWIG_arg_fail(1)) SWIG_fail
;
28179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28180 result
= (bool)(arg1
)->Validate();
28182 wxPyEndAllowThreads(__tstate
);
28183 if (PyErr_Occurred()) SWIG_fail
;
28186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28194 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28195 PyObject
*resultobj
;
28196 wxWindow
*arg1
= (wxWindow
*) 0 ;
28198 PyObject
* obj0
= 0 ;
28199 char *kwnames
[] = {
28200 (char *) "self", NULL
28203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28205 if (SWIG_arg_fail(1)) SWIG_fail
;
28207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28208 result
= (bool)(arg1
)->TransferDataToWindow();
28210 wxPyEndAllowThreads(__tstate
);
28211 if (PyErr_Occurred()) SWIG_fail
;
28214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28222 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28223 PyObject
*resultobj
;
28224 wxWindow
*arg1
= (wxWindow
*) 0 ;
28226 PyObject
* obj0
= 0 ;
28227 char *kwnames
[] = {
28228 (char *) "self", NULL
28231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28233 if (SWIG_arg_fail(1)) SWIG_fail
;
28235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28236 result
= (bool)(arg1
)->TransferDataFromWindow();
28238 wxPyEndAllowThreads(__tstate
);
28239 if (PyErr_Occurred()) SWIG_fail
;
28242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28250 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28251 PyObject
*resultobj
;
28252 wxWindow
*arg1
= (wxWindow
*) 0 ;
28253 PyObject
* obj0
= 0 ;
28254 char *kwnames
[] = {
28255 (char *) "self", NULL
28258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
28259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28260 if (SWIG_arg_fail(1)) SWIG_fail
;
28262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28263 (arg1
)->InitDialog();
28265 wxPyEndAllowThreads(__tstate
);
28266 if (PyErr_Occurred()) SWIG_fail
;
28268 Py_INCREF(Py_None
); resultobj
= Py_None
;
28275 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28276 PyObject
*resultobj
;
28277 wxWindow
*arg1
= (wxWindow
*) 0 ;
28278 wxAcceleratorTable
*arg2
= 0 ;
28279 PyObject
* obj0
= 0 ;
28280 PyObject
* obj1
= 0 ;
28281 char *kwnames
[] = {
28282 (char *) "self",(char *) "accel", NULL
28285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
28286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28287 if (SWIG_arg_fail(1)) SWIG_fail
;
28289 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
28290 if (SWIG_arg_fail(2)) SWIG_fail
;
28291 if (arg2
== NULL
) {
28292 SWIG_null_ref("wxAcceleratorTable");
28294 if (SWIG_arg_fail(2)) SWIG_fail
;
28297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28298 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
28300 wxPyEndAllowThreads(__tstate
);
28301 if (PyErr_Occurred()) SWIG_fail
;
28303 Py_INCREF(Py_None
); resultobj
= Py_None
;
28310 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28311 PyObject
*resultobj
;
28312 wxWindow
*arg1
= (wxWindow
*) 0 ;
28313 wxAcceleratorTable
*result
;
28314 PyObject
* obj0
= 0 ;
28315 char *kwnames
[] = {
28316 (char *) "self", NULL
28319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
28320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28321 if (SWIG_arg_fail(1)) SWIG_fail
;
28323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28324 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
28326 wxPyEndAllowThreads(__tstate
);
28327 if (PyErr_Occurred()) SWIG_fail
;
28329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
28336 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28337 PyObject
*resultobj
;
28338 wxWindow
*arg1
= (wxWindow
*) 0 ;
28343 PyObject
* obj0
= 0 ;
28344 PyObject
* obj1
= 0 ;
28345 PyObject
* obj2
= 0 ;
28346 PyObject
* obj3
= 0 ;
28347 char *kwnames
[] = {
28348 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
28351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28353 if (SWIG_arg_fail(1)) SWIG_fail
;
28355 arg2
= (int)(SWIG_As_int(obj1
));
28356 if (SWIG_arg_fail(2)) SWIG_fail
;
28359 arg3
= (int)(SWIG_As_int(obj2
));
28360 if (SWIG_arg_fail(3)) SWIG_fail
;
28363 arg4
= (int)(SWIG_As_int(obj3
));
28364 if (SWIG_arg_fail(4)) SWIG_fail
;
28367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28368 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
28370 wxPyEndAllowThreads(__tstate
);
28371 if (PyErr_Occurred()) SWIG_fail
;
28374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28382 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28383 PyObject
*resultobj
;
28384 wxWindow
*arg1
= (wxWindow
*) 0 ;
28387 PyObject
* obj0
= 0 ;
28388 PyObject
* obj1
= 0 ;
28389 char *kwnames
[] = {
28390 (char *) "self",(char *) "hotkeyId", NULL
28393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
28394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28395 if (SWIG_arg_fail(1)) SWIG_fail
;
28397 arg2
= (int)(SWIG_As_int(obj1
));
28398 if (SWIG_arg_fail(2)) SWIG_fail
;
28401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28402 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
28404 wxPyEndAllowThreads(__tstate
);
28405 if (PyErr_Occurred()) SWIG_fail
;
28408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28416 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28417 PyObject
*resultobj
;
28418 wxWindow
*arg1
= (wxWindow
*) 0 ;
28419 wxPoint
*arg2
= 0 ;
28422 PyObject
* obj0
= 0 ;
28423 PyObject
* obj1
= 0 ;
28424 char *kwnames
[] = {
28425 (char *) "self",(char *) "pt", NULL
28428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28430 if (SWIG_arg_fail(1)) SWIG_fail
;
28433 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28437 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28439 wxPyEndAllowThreads(__tstate
);
28440 if (PyErr_Occurred()) SWIG_fail
;
28443 wxPoint
* resultptr
;
28444 resultptr
= new wxPoint((wxPoint
&)(result
));
28445 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28453 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28454 PyObject
*resultobj
;
28455 wxWindow
*arg1
= (wxWindow
*) 0 ;
28459 PyObject
* obj0
= 0 ;
28460 PyObject
* obj1
= 0 ;
28461 char *kwnames
[] = {
28462 (char *) "self",(char *) "sz", NULL
28465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28467 if (SWIG_arg_fail(1)) SWIG_fail
;
28470 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28474 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28476 wxPyEndAllowThreads(__tstate
);
28477 if (PyErr_Occurred()) SWIG_fail
;
28480 wxSize
* resultptr
;
28481 resultptr
= new wxSize((wxSize
&)(result
));
28482 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28490 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28491 PyObject
*resultobj
;
28492 wxWindow
*arg1
= (wxWindow
*) 0 ;
28493 wxPoint
*arg2
= 0 ;
28496 PyObject
* obj0
= 0 ;
28497 PyObject
* obj1
= 0 ;
28498 char *kwnames
[] = {
28499 (char *) "self",(char *) "pt", NULL
28502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
28503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28504 if (SWIG_arg_fail(1)) SWIG_fail
;
28507 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28511 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28513 wxPyEndAllowThreads(__tstate
);
28514 if (PyErr_Occurred()) SWIG_fail
;
28517 wxPoint
* resultptr
;
28518 resultptr
= new wxPoint((wxPoint
&)(result
));
28519 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28527 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28528 PyObject
*resultobj
;
28529 wxWindow
*arg1
= (wxWindow
*) 0 ;
28533 PyObject
* obj0
= 0 ;
28534 PyObject
* obj1
= 0 ;
28535 char *kwnames
[] = {
28536 (char *) "self",(char *) "sz", NULL
28539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
28540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28541 if (SWIG_arg_fail(1)) SWIG_fail
;
28544 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28548 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28550 wxPyEndAllowThreads(__tstate
);
28551 if (PyErr_Occurred()) SWIG_fail
;
28554 wxSize
* resultptr
;
28555 resultptr
= new wxSize((wxSize
&)(result
));
28556 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28564 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28565 PyObject
*resultobj
;
28566 wxWindow
*arg1
= (wxWindow
*) 0 ;
28567 wxPoint
*arg2
= 0 ;
28570 PyObject
* obj0
= 0 ;
28571 PyObject
* obj1
= 0 ;
28572 char *kwnames
[] = {
28573 (char *) "self",(char *) "pt", NULL
28576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28578 if (SWIG_arg_fail(1)) SWIG_fail
;
28581 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28585 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
28587 wxPyEndAllowThreads(__tstate
);
28588 if (PyErr_Occurred()) SWIG_fail
;
28591 wxPoint
* resultptr
;
28592 resultptr
= new wxPoint((wxPoint
&)(result
));
28593 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28601 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28602 PyObject
*resultobj
;
28603 wxWindow
*arg1
= (wxWindow
*) 0 ;
28607 PyObject
* obj0
= 0 ;
28608 PyObject
* obj1
= 0 ;
28609 char *kwnames
[] = {
28610 (char *) "self",(char *) "sz", NULL
28613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28615 if (SWIG_arg_fail(1)) SWIG_fail
;
28618 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28622 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
28624 wxPyEndAllowThreads(__tstate
);
28625 if (PyErr_Occurred()) SWIG_fail
;
28628 wxSize
* resultptr
;
28629 resultptr
= new wxSize((wxSize
&)(result
));
28630 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28638 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28639 PyObject
*resultobj
;
28640 wxWindow
*arg1
= (wxWindow
*) 0 ;
28643 PyObject
* obj0
= 0 ;
28644 PyObject
* obj1
= 0 ;
28645 PyObject
* obj2
= 0 ;
28646 char *kwnames
[] = {
28647 (char *) "self",(char *) "x",(char *) "y", NULL
28650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28652 if (SWIG_arg_fail(1)) SWIG_fail
;
28654 arg2
= (int)(SWIG_As_int(obj1
));
28655 if (SWIG_arg_fail(2)) SWIG_fail
;
28658 arg3
= (int)(SWIG_As_int(obj2
));
28659 if (SWIG_arg_fail(3)) SWIG_fail
;
28662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28663 (arg1
)->WarpPointer(arg2
,arg3
);
28665 wxPyEndAllowThreads(__tstate
);
28666 if (PyErr_Occurred()) SWIG_fail
;
28668 Py_INCREF(Py_None
); resultobj
= Py_None
;
28675 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28676 PyObject
*resultobj
;
28677 wxWindow
*arg1
= (wxWindow
*) 0 ;
28678 PyObject
* obj0
= 0 ;
28679 char *kwnames
[] = {
28680 (char *) "self", NULL
28683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
28684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28685 if (SWIG_arg_fail(1)) SWIG_fail
;
28687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28688 (arg1
)->CaptureMouse();
28690 wxPyEndAllowThreads(__tstate
);
28691 if (PyErr_Occurred()) SWIG_fail
;
28693 Py_INCREF(Py_None
); resultobj
= Py_None
;
28700 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28701 PyObject
*resultobj
;
28702 wxWindow
*arg1
= (wxWindow
*) 0 ;
28703 PyObject
* obj0
= 0 ;
28704 char *kwnames
[] = {
28705 (char *) "self", NULL
28708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
28709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28710 if (SWIG_arg_fail(1)) SWIG_fail
;
28712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28713 (arg1
)->ReleaseMouse();
28715 wxPyEndAllowThreads(__tstate
);
28716 if (PyErr_Occurred()) SWIG_fail
;
28718 Py_INCREF(Py_None
); resultobj
= Py_None
;
28725 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28726 PyObject
*resultobj
;
28728 char *kwnames
[] = {
28732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
28734 if (!wxPyCheckForApp()) SWIG_fail
;
28735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28736 result
= (wxWindow
*)wxWindow::GetCapture();
28738 wxPyEndAllowThreads(__tstate
);
28739 if (PyErr_Occurred()) SWIG_fail
;
28742 resultobj
= wxPyMake_wxObject(result
, 0);
28750 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28751 PyObject
*resultobj
;
28752 wxWindow
*arg1
= (wxWindow
*) 0 ;
28754 PyObject
* obj0
= 0 ;
28755 char *kwnames
[] = {
28756 (char *) "self", NULL
28759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
28760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28761 if (SWIG_arg_fail(1)) SWIG_fail
;
28763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28764 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
28766 wxPyEndAllowThreads(__tstate
);
28767 if (PyErr_Occurred()) SWIG_fail
;
28770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28778 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28779 PyObject
*resultobj
;
28780 wxWindow
*arg1
= (wxWindow
*) 0 ;
28781 bool arg2
= (bool) true ;
28782 wxRect
*arg3
= (wxRect
*) NULL
;
28783 PyObject
* obj0
= 0 ;
28784 PyObject
* obj1
= 0 ;
28785 PyObject
* obj2
= 0 ;
28786 char *kwnames
[] = {
28787 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
28790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28792 if (SWIG_arg_fail(1)) SWIG_fail
;
28795 arg2
= (bool)(SWIG_As_bool(obj1
));
28796 if (SWIG_arg_fail(2)) SWIG_fail
;
28800 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
28801 if (SWIG_arg_fail(3)) SWIG_fail
;
28804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28805 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
28807 wxPyEndAllowThreads(__tstate
);
28808 if (PyErr_Occurred()) SWIG_fail
;
28810 Py_INCREF(Py_None
); resultobj
= Py_None
;
28817 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28818 PyObject
*resultobj
;
28819 wxWindow
*arg1
= (wxWindow
*) 0 ;
28821 bool arg3
= (bool) true ;
28823 PyObject
* obj0
= 0 ;
28824 PyObject
* obj1
= 0 ;
28825 PyObject
* obj2
= 0 ;
28826 char *kwnames
[] = {
28827 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
28830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28832 if (SWIG_arg_fail(1)) SWIG_fail
;
28835 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28839 arg3
= (bool)(SWIG_As_bool(obj2
));
28840 if (SWIG_arg_fail(3)) SWIG_fail
;
28844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28845 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
28847 wxPyEndAllowThreads(__tstate
);
28848 if (PyErr_Occurred()) SWIG_fail
;
28850 Py_INCREF(Py_None
); resultobj
= Py_None
;
28857 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28858 PyObject
*resultobj
;
28859 wxWindow
*arg1
= (wxWindow
*) 0 ;
28860 PyObject
* obj0
= 0 ;
28861 char *kwnames
[] = {
28862 (char *) "self", NULL
28865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
28866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28867 if (SWIG_arg_fail(1)) SWIG_fail
;
28869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28872 wxPyEndAllowThreads(__tstate
);
28873 if (PyErr_Occurred()) SWIG_fail
;
28875 Py_INCREF(Py_None
); resultobj
= Py_None
;
28882 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28883 PyObject
*resultobj
;
28884 wxWindow
*arg1
= (wxWindow
*) 0 ;
28885 PyObject
* obj0
= 0 ;
28886 char *kwnames
[] = {
28887 (char *) "self", NULL
28890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
28891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28892 if (SWIG_arg_fail(1)) SWIG_fail
;
28894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28895 (arg1
)->ClearBackground();
28897 wxPyEndAllowThreads(__tstate
);
28898 if (PyErr_Occurred()) SWIG_fail
;
28900 Py_INCREF(Py_None
); resultobj
= Py_None
;
28907 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28908 PyObject
*resultobj
;
28909 wxWindow
*arg1
= (wxWindow
*) 0 ;
28910 PyObject
* obj0
= 0 ;
28911 char *kwnames
[] = {
28912 (char *) "self", NULL
28915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
28916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28917 if (SWIG_arg_fail(1)) SWIG_fail
;
28919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28922 wxPyEndAllowThreads(__tstate
);
28923 if (PyErr_Occurred()) SWIG_fail
;
28925 Py_INCREF(Py_None
); resultobj
= Py_None
;
28932 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28933 PyObject
*resultobj
;
28934 wxWindow
*arg1
= (wxWindow
*) 0 ;
28935 PyObject
* obj0
= 0 ;
28936 char *kwnames
[] = {
28937 (char *) "self", NULL
28940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
28941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28942 if (SWIG_arg_fail(1)) SWIG_fail
;
28944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28947 wxPyEndAllowThreads(__tstate
);
28948 if (PyErr_Occurred()) SWIG_fail
;
28950 Py_INCREF(Py_None
); resultobj
= Py_None
;
28957 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28958 PyObject
*resultobj
;
28959 wxWindow
*arg1
= (wxWindow
*) 0 ;
28961 PyObject
* obj0
= 0 ;
28962 PyObject
* obj1
= 0 ;
28963 char *kwnames
[] = {
28964 (char *) "self",(char *) "dc", NULL
28967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
28968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28969 if (SWIG_arg_fail(1)) SWIG_fail
;
28971 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
28972 if (SWIG_arg_fail(2)) SWIG_fail
;
28973 if (arg2
== NULL
) {
28974 SWIG_null_ref("wxDC");
28976 if (SWIG_arg_fail(2)) SWIG_fail
;
28979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28980 (arg1
)->PrepareDC(*arg2
);
28982 wxPyEndAllowThreads(__tstate
);
28983 if (PyErr_Occurred()) SWIG_fail
;
28985 Py_INCREF(Py_None
); resultobj
= Py_None
;
28992 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28993 PyObject
*resultobj
;
28994 wxWindow
*arg1
= (wxWindow
*) 0 ;
28996 PyObject
* obj0
= 0 ;
28997 char *kwnames
[] = {
28998 (char *) "self", NULL
29001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
29002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29003 if (SWIG_arg_fail(1)) SWIG_fail
;
29005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29007 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
29008 result
= (wxRegion
*) &_result_ref
;
29011 wxPyEndAllowThreads(__tstate
);
29012 if (PyErr_Occurred()) SWIG_fail
;
29014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
29021 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29022 PyObject
*resultobj
;
29023 wxWindow
*arg1
= (wxWindow
*) 0 ;
29025 PyObject
* obj0
= 0 ;
29026 char *kwnames
[] = {
29027 (char *) "self", NULL
29030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
29031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29032 if (SWIG_arg_fail(1)) SWIG_fail
;
29034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29035 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
29037 wxPyEndAllowThreads(__tstate
);
29038 if (PyErr_Occurred()) SWIG_fail
;
29041 wxRect
* resultptr
;
29042 resultptr
= new wxRect((wxRect
&)(result
));
29043 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29051 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29052 PyObject
*resultobj
;
29053 wxWindow
*arg1
= (wxWindow
*) 0 ;
29056 int arg4
= (int) 1 ;
29057 int arg5
= (int) 1 ;
29059 PyObject
* obj0
= 0 ;
29060 PyObject
* obj1
= 0 ;
29061 PyObject
* obj2
= 0 ;
29062 PyObject
* obj3
= 0 ;
29063 PyObject
* obj4
= 0 ;
29064 char *kwnames
[] = {
29065 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29070 if (SWIG_arg_fail(1)) SWIG_fail
;
29072 arg2
= (int)(SWIG_As_int(obj1
));
29073 if (SWIG_arg_fail(2)) SWIG_fail
;
29076 arg3
= (int)(SWIG_As_int(obj2
));
29077 if (SWIG_arg_fail(3)) SWIG_fail
;
29081 arg4
= (int)(SWIG_As_int(obj3
));
29082 if (SWIG_arg_fail(4)) SWIG_fail
;
29087 arg5
= (int)(SWIG_As_int(obj4
));
29088 if (SWIG_arg_fail(5)) SWIG_fail
;
29092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29093 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
29095 wxPyEndAllowThreads(__tstate
);
29096 if (PyErr_Occurred()) SWIG_fail
;
29099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29107 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29108 PyObject
*resultobj
;
29109 wxWindow
*arg1
= (wxWindow
*) 0 ;
29110 wxPoint
*arg2
= 0 ;
29113 PyObject
* obj0
= 0 ;
29114 PyObject
* obj1
= 0 ;
29115 char *kwnames
[] = {
29116 (char *) "self",(char *) "pt", NULL
29119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
29120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29121 if (SWIG_arg_fail(1)) SWIG_fail
;
29124 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29128 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
29130 wxPyEndAllowThreads(__tstate
);
29131 if (PyErr_Occurred()) SWIG_fail
;
29134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29142 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29143 PyObject
*resultobj
;
29144 wxWindow
*arg1
= (wxWindow
*) 0 ;
29148 PyObject
* obj0
= 0 ;
29149 PyObject
* obj1
= 0 ;
29150 char *kwnames
[] = {
29151 (char *) "self",(char *) "rect", NULL
29154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29156 if (SWIG_arg_fail(1)) SWIG_fail
;
29159 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29163 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
29165 wxPyEndAllowThreads(__tstate
);
29166 if (PyErr_Occurred()) SWIG_fail
;
29169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29177 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29178 PyObject
*resultobj
;
29179 wxWindow
*arg1
= (wxWindow
*) 0 ;
29180 wxVisualAttributes result
;
29181 PyObject
* obj0
= 0 ;
29182 char *kwnames
[] = {
29183 (char *) "self", NULL
29186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29188 if (SWIG_arg_fail(1)) SWIG_fail
;
29190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29191 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
29193 wxPyEndAllowThreads(__tstate
);
29194 if (PyErr_Occurred()) SWIG_fail
;
29197 wxVisualAttributes
* resultptr
;
29198 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29199 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29207 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29208 PyObject
*resultobj
;
29209 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
29210 wxVisualAttributes result
;
29211 PyObject
* obj0
= 0 ;
29212 char *kwnames
[] = {
29213 (char *) "variant", NULL
29216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29219 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
29220 if (SWIG_arg_fail(1)) SWIG_fail
;
29224 if (!wxPyCheckForApp()) SWIG_fail
;
29225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29226 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
29228 wxPyEndAllowThreads(__tstate
);
29229 if (PyErr_Occurred()) SWIG_fail
;
29232 wxVisualAttributes
* resultptr
;
29233 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29234 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29242 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29243 PyObject
*resultobj
;
29244 wxWindow
*arg1
= (wxWindow
*) 0 ;
29245 wxColour
*arg2
= 0 ;
29248 PyObject
* obj0
= 0 ;
29249 PyObject
* obj1
= 0 ;
29250 char *kwnames
[] = {
29251 (char *) "self",(char *) "colour", NULL
29254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29256 if (SWIG_arg_fail(1)) SWIG_fail
;
29259 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29263 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
29265 wxPyEndAllowThreads(__tstate
);
29266 if (PyErr_Occurred()) SWIG_fail
;
29269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29277 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29278 PyObject
*resultobj
;
29279 wxWindow
*arg1
= (wxWindow
*) 0 ;
29280 wxColour
*arg2
= 0 ;
29282 PyObject
* obj0
= 0 ;
29283 PyObject
* obj1
= 0 ;
29284 char *kwnames
[] = {
29285 (char *) "self",(char *) "colour", NULL
29288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29290 if (SWIG_arg_fail(1)) SWIG_fail
;
29293 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29297 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
29299 wxPyEndAllowThreads(__tstate
);
29300 if (PyErr_Occurred()) SWIG_fail
;
29302 Py_INCREF(Py_None
); resultobj
= Py_None
;
29309 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29310 PyObject
*resultobj
;
29311 wxWindow
*arg1
= (wxWindow
*) 0 ;
29312 wxColour
*arg2
= 0 ;
29315 PyObject
* obj0
= 0 ;
29316 PyObject
* obj1
= 0 ;
29317 char *kwnames
[] = {
29318 (char *) "self",(char *) "colour", NULL
29321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29323 if (SWIG_arg_fail(1)) SWIG_fail
;
29326 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29330 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
29332 wxPyEndAllowThreads(__tstate
);
29333 if (PyErr_Occurred()) SWIG_fail
;
29336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29344 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29345 PyObject
*resultobj
;
29346 wxWindow
*arg1
= (wxWindow
*) 0 ;
29347 wxColour
*arg2
= 0 ;
29349 PyObject
* obj0
= 0 ;
29350 PyObject
* obj1
= 0 ;
29351 char *kwnames
[] = {
29352 (char *) "self",(char *) "colour", NULL
29355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29357 if (SWIG_arg_fail(1)) SWIG_fail
;
29360 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29364 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
29366 wxPyEndAllowThreads(__tstate
);
29367 if (PyErr_Occurred()) SWIG_fail
;
29369 Py_INCREF(Py_None
); resultobj
= Py_None
;
29376 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29377 PyObject
*resultobj
;
29378 wxWindow
*arg1
= (wxWindow
*) 0 ;
29380 PyObject
* obj0
= 0 ;
29381 char *kwnames
[] = {
29382 (char *) "self", NULL
29385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
29386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29387 if (SWIG_arg_fail(1)) SWIG_fail
;
29389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29390 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
29392 wxPyEndAllowThreads(__tstate
);
29393 if (PyErr_Occurred()) SWIG_fail
;
29396 wxColour
* resultptr
;
29397 resultptr
= new wxColour((wxColour
&)(result
));
29398 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29406 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29407 PyObject
*resultobj
;
29408 wxWindow
*arg1
= (wxWindow
*) 0 ;
29410 PyObject
* obj0
= 0 ;
29411 char *kwnames
[] = {
29412 (char *) "self", NULL
29415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
29416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29417 if (SWIG_arg_fail(1)) SWIG_fail
;
29419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29420 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
29422 wxPyEndAllowThreads(__tstate
);
29423 if (PyErr_Occurred()) SWIG_fail
;
29426 wxColour
* resultptr
;
29427 resultptr
= new wxColour((wxColour
&)(result
));
29428 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29436 static PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29437 PyObject
*resultobj
;
29438 wxWindow
*arg1
= (wxWindow
*) 0 ;
29440 PyObject
* obj0
= 0 ;
29441 char *kwnames
[] = {
29442 (char *) "self", NULL
29445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritsBackgroundColour",kwnames
,&obj0
)) goto fail
;
29446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29447 if (SWIG_arg_fail(1)) SWIG_fail
;
29449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29450 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
29452 wxPyEndAllowThreads(__tstate
);
29453 if (PyErr_Occurred()) SWIG_fail
;
29456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29464 static PyObject
*_wrap_Window_UseBgCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29465 PyObject
*resultobj
;
29466 wxWindow
*arg1
= (wxWindow
*) 0 ;
29468 PyObject
* obj0
= 0 ;
29469 char *kwnames
[] = {
29470 (char *) "self", NULL
29473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_UseBgCol",kwnames
,&obj0
)) goto fail
;
29474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29475 if (SWIG_arg_fail(1)) SWIG_fail
;
29477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29478 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
29480 wxPyEndAllowThreads(__tstate
);
29481 if (PyErr_Occurred()) SWIG_fail
;
29484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29492 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29493 PyObject
*resultobj
;
29494 wxWindow
*arg1
= (wxWindow
*) 0 ;
29495 wxBackgroundStyle arg2
;
29497 PyObject
* obj0
= 0 ;
29498 PyObject
* obj1
= 0 ;
29499 char *kwnames
[] = {
29500 (char *) "self",(char *) "style", NULL
29503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
29504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29505 if (SWIG_arg_fail(1)) SWIG_fail
;
29507 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
29508 if (SWIG_arg_fail(2)) SWIG_fail
;
29511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29512 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
29514 wxPyEndAllowThreads(__tstate
);
29515 if (PyErr_Occurred()) SWIG_fail
;
29518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29526 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29527 PyObject
*resultobj
;
29528 wxWindow
*arg1
= (wxWindow
*) 0 ;
29529 wxBackgroundStyle result
;
29530 PyObject
* obj0
= 0 ;
29531 char *kwnames
[] = {
29532 (char *) "self", NULL
29535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
29536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29537 if (SWIG_arg_fail(1)) SWIG_fail
;
29539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29540 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
29542 wxPyEndAllowThreads(__tstate
);
29543 if (PyErr_Occurred()) SWIG_fail
;
29545 resultobj
= SWIG_From_int((result
));
29552 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29553 PyObject
*resultobj
;
29554 wxWindow
*arg1
= (wxWindow
*) 0 ;
29556 PyObject
* obj0
= 0 ;
29557 char *kwnames
[] = {
29558 (char *) "self", NULL
29561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
29562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29563 if (SWIG_arg_fail(1)) SWIG_fail
;
29565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29566 result
= (bool)(arg1
)->HasTransparentBackground();
29568 wxPyEndAllowThreads(__tstate
);
29569 if (PyErr_Occurred()) SWIG_fail
;
29572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29580 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29581 PyObject
*resultobj
;
29582 wxWindow
*arg1
= (wxWindow
*) 0 ;
29583 wxCursor
*arg2
= 0 ;
29585 PyObject
* obj0
= 0 ;
29586 PyObject
* obj1
= 0 ;
29587 char *kwnames
[] = {
29588 (char *) "self",(char *) "cursor", NULL
29591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
29592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29593 if (SWIG_arg_fail(1)) SWIG_fail
;
29595 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29596 if (SWIG_arg_fail(2)) SWIG_fail
;
29597 if (arg2
== NULL
) {
29598 SWIG_null_ref("wxCursor");
29600 if (SWIG_arg_fail(2)) SWIG_fail
;
29603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29604 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
29606 wxPyEndAllowThreads(__tstate
);
29607 if (PyErr_Occurred()) SWIG_fail
;
29610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29618 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29619 PyObject
*resultobj
;
29620 wxWindow
*arg1
= (wxWindow
*) 0 ;
29622 PyObject
* obj0
= 0 ;
29623 char *kwnames
[] = {
29624 (char *) "self", NULL
29627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
29628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29629 if (SWIG_arg_fail(1)) SWIG_fail
;
29631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29632 result
= (arg1
)->GetCursor();
29634 wxPyEndAllowThreads(__tstate
);
29635 if (PyErr_Occurred()) SWIG_fail
;
29638 wxCursor
* resultptr
;
29639 resultptr
= new wxCursor((wxCursor
&)(result
));
29640 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
29648 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29649 PyObject
*resultobj
;
29650 wxWindow
*arg1
= (wxWindow
*) 0 ;
29653 PyObject
* obj0
= 0 ;
29654 PyObject
* obj1
= 0 ;
29655 char *kwnames
[] = {
29656 (char *) "self",(char *) "font", NULL
29659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29661 if (SWIG_arg_fail(1)) SWIG_fail
;
29663 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29664 if (SWIG_arg_fail(2)) SWIG_fail
;
29665 if (arg2
== NULL
) {
29666 SWIG_null_ref("wxFont");
29668 if (SWIG_arg_fail(2)) SWIG_fail
;
29671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29672 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
29674 wxPyEndAllowThreads(__tstate
);
29675 if (PyErr_Occurred()) SWIG_fail
;
29678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29686 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29687 PyObject
*resultobj
;
29688 wxWindow
*arg1
= (wxWindow
*) 0 ;
29690 PyObject
* obj0
= 0 ;
29691 PyObject
* obj1
= 0 ;
29692 char *kwnames
[] = {
29693 (char *) "self",(char *) "font", NULL
29696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29698 if (SWIG_arg_fail(1)) SWIG_fail
;
29700 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29701 if (SWIG_arg_fail(2)) SWIG_fail
;
29702 if (arg2
== NULL
) {
29703 SWIG_null_ref("wxFont");
29705 if (SWIG_arg_fail(2)) SWIG_fail
;
29708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29709 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
29711 wxPyEndAllowThreads(__tstate
);
29712 if (PyErr_Occurred()) SWIG_fail
;
29714 Py_INCREF(Py_None
); resultobj
= Py_None
;
29721 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29722 PyObject
*resultobj
;
29723 wxWindow
*arg1
= (wxWindow
*) 0 ;
29725 PyObject
* obj0
= 0 ;
29726 char *kwnames
[] = {
29727 (char *) "self", NULL
29730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
29731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29732 if (SWIG_arg_fail(1)) SWIG_fail
;
29734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29735 result
= (arg1
)->GetFont();
29737 wxPyEndAllowThreads(__tstate
);
29738 if (PyErr_Occurred()) SWIG_fail
;
29741 wxFont
* resultptr
;
29742 resultptr
= new wxFont((wxFont
&)(result
));
29743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
29751 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29752 PyObject
*resultobj
;
29753 wxWindow
*arg1
= (wxWindow
*) 0 ;
29754 wxCaret
*arg2
= (wxCaret
*) 0 ;
29755 PyObject
* obj0
= 0 ;
29756 PyObject
* obj1
= 0 ;
29757 char *kwnames
[] = {
29758 (char *) "self",(char *) "caret", NULL
29761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
29762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29763 if (SWIG_arg_fail(1)) SWIG_fail
;
29764 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
29765 if (SWIG_arg_fail(2)) SWIG_fail
;
29767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29768 (arg1
)->SetCaret(arg2
);
29770 wxPyEndAllowThreads(__tstate
);
29771 if (PyErr_Occurred()) SWIG_fail
;
29773 Py_INCREF(Py_None
); resultobj
= Py_None
;
29780 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29781 PyObject
*resultobj
;
29782 wxWindow
*arg1
= (wxWindow
*) 0 ;
29784 PyObject
* obj0
= 0 ;
29785 char *kwnames
[] = {
29786 (char *) "self", NULL
29789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
29790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29791 if (SWIG_arg_fail(1)) SWIG_fail
;
29793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29794 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
29796 wxPyEndAllowThreads(__tstate
);
29797 if (PyErr_Occurred()) SWIG_fail
;
29799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
29806 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29807 PyObject
*resultobj
;
29808 wxWindow
*arg1
= (wxWindow
*) 0 ;
29810 PyObject
* obj0
= 0 ;
29811 char *kwnames
[] = {
29812 (char *) "self", NULL
29815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
29816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29817 if (SWIG_arg_fail(1)) SWIG_fail
;
29819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29820 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
29822 wxPyEndAllowThreads(__tstate
);
29823 if (PyErr_Occurred()) SWIG_fail
;
29826 resultobj
= SWIG_From_int((int)(result
));
29834 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29835 PyObject
*resultobj
;
29836 wxWindow
*arg1
= (wxWindow
*) 0 ;
29838 PyObject
* obj0
= 0 ;
29839 char *kwnames
[] = {
29840 (char *) "self", NULL
29843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
29844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29845 if (SWIG_arg_fail(1)) SWIG_fail
;
29847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29848 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
29850 wxPyEndAllowThreads(__tstate
);
29851 if (PyErr_Occurred()) SWIG_fail
;
29854 resultobj
= SWIG_From_int((int)(result
));
29862 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29863 PyObject
*resultobj
;
29864 wxWindow
*arg1
= (wxWindow
*) 0 ;
29865 wxString
*arg2
= 0 ;
29866 int *arg3
= (int *) 0 ;
29867 int *arg4
= (int *) 0 ;
29868 bool temp2
= false ;
29873 PyObject
* obj0
= 0 ;
29874 PyObject
* obj1
= 0 ;
29875 char *kwnames
[] = {
29876 (char *) "self",(char *) "string", NULL
29879 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29880 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
29882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29883 if (SWIG_arg_fail(1)) SWIG_fail
;
29885 arg2
= wxString_in_helper(obj1
);
29886 if (arg2
== NULL
) SWIG_fail
;
29890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29891 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
29893 wxPyEndAllowThreads(__tstate
);
29894 if (PyErr_Occurred()) SWIG_fail
;
29896 Py_INCREF(Py_None
); resultobj
= Py_None
;
29897 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29898 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29899 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29900 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
29915 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29916 PyObject
*resultobj
;
29917 wxWindow
*arg1
= (wxWindow
*) 0 ;
29918 wxString
*arg2
= 0 ;
29919 int *arg3
= (int *) 0 ;
29920 int *arg4
= (int *) 0 ;
29921 int *arg5
= (int *) 0 ;
29922 int *arg6
= (int *) 0 ;
29923 wxFont
*arg7
= (wxFont
*) NULL
;
29924 bool temp2
= false ;
29933 PyObject
* obj0
= 0 ;
29934 PyObject
* obj1
= 0 ;
29935 PyObject
* obj2
= 0 ;
29936 char *kwnames
[] = {
29937 (char *) "self",(char *) "string",(char *) "font", NULL
29940 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29941 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29942 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
29943 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
29944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29946 if (SWIG_arg_fail(1)) SWIG_fail
;
29948 arg2
= wxString_in_helper(obj1
);
29949 if (arg2
== NULL
) SWIG_fail
;
29953 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29954 if (SWIG_arg_fail(7)) SWIG_fail
;
29957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29958 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
29960 wxPyEndAllowThreads(__tstate
);
29961 if (PyErr_Occurred()) SWIG_fail
;
29963 Py_INCREF(Py_None
); resultobj
= Py_None
;
29964 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29965 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29966 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29967 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
29968 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
29969 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
29970 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
29971 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
29986 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29987 PyObject
*resultobj
;
29988 wxWindow
*arg1
= (wxWindow
*) 0 ;
29989 int *arg2
= (int *) 0 ;
29990 int *arg3
= (int *) 0 ;
29995 PyObject
* obj0
= 0 ;
29996 PyObject
* obj1
= 0 ;
29997 PyObject
* obj2
= 0 ;
29998 char *kwnames
[] = {
29999 (char *) "self",(char *) "x",(char *) "y", NULL
30002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30004 if (SWIG_arg_fail(1)) SWIG_fail
;
30006 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30007 temp2
= SWIG_As_int(obj1
);
30008 if (SWIG_arg_fail(2)) SWIG_fail
;
30010 res2
= SWIG_NEWOBJ
;
30014 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30015 temp3
= SWIG_As_int(obj2
);
30016 if (SWIG_arg_fail(3)) SWIG_fail
;
30018 res3
= SWIG_NEWOBJ
;
30022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30023 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
30025 wxPyEndAllowThreads(__tstate
);
30026 if (PyErr_Occurred()) SWIG_fail
;
30028 Py_INCREF(Py_None
); resultobj
= Py_None
;
30029 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30030 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30031 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30032 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30039 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30040 PyObject
*resultobj
;
30041 wxWindow
*arg1
= (wxWindow
*) 0 ;
30042 int *arg2
= (int *) 0 ;
30043 int *arg3
= (int *) 0 ;
30048 PyObject
* obj0
= 0 ;
30049 PyObject
* obj1
= 0 ;
30050 PyObject
* obj2
= 0 ;
30051 char *kwnames
[] = {
30052 (char *) "self",(char *) "x",(char *) "y", NULL
30055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30057 if (SWIG_arg_fail(1)) SWIG_fail
;
30059 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30060 temp2
= SWIG_As_int(obj1
);
30061 if (SWIG_arg_fail(2)) SWIG_fail
;
30063 res2
= SWIG_NEWOBJ
;
30067 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30068 temp3
= SWIG_As_int(obj2
);
30069 if (SWIG_arg_fail(3)) SWIG_fail
;
30071 res3
= SWIG_NEWOBJ
;
30075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30076 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
30078 wxPyEndAllowThreads(__tstate
);
30079 if (PyErr_Occurred()) SWIG_fail
;
30081 Py_INCREF(Py_None
); resultobj
= Py_None
;
30082 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30083 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30084 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30085 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30092 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30093 PyObject
*resultobj
;
30094 wxWindow
*arg1
= (wxWindow
*) 0 ;
30095 wxPoint
*arg2
= 0 ;
30098 PyObject
* obj0
= 0 ;
30099 PyObject
* obj1
= 0 ;
30100 char *kwnames
[] = {
30101 (char *) "self",(char *) "pt", NULL
30104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
30105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30106 if (SWIG_arg_fail(1)) SWIG_fail
;
30109 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30113 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
30115 wxPyEndAllowThreads(__tstate
);
30116 if (PyErr_Occurred()) SWIG_fail
;
30119 wxPoint
* resultptr
;
30120 resultptr
= new wxPoint((wxPoint
&)(result
));
30121 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30129 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30130 PyObject
*resultobj
;
30131 wxWindow
*arg1
= (wxWindow
*) 0 ;
30132 wxPoint
*arg2
= 0 ;
30135 PyObject
* obj0
= 0 ;
30136 PyObject
* obj1
= 0 ;
30137 char *kwnames
[] = {
30138 (char *) "self",(char *) "pt", NULL
30141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
30142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30143 if (SWIG_arg_fail(1)) SWIG_fail
;
30146 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30150 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
30152 wxPyEndAllowThreads(__tstate
);
30153 if (PyErr_Occurred()) SWIG_fail
;
30156 wxPoint
* resultptr
;
30157 resultptr
= new wxPoint((wxPoint
&)(result
));
30158 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30166 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30167 PyObject
*resultobj
;
30168 wxWindow
*arg1
= (wxWindow
*) 0 ;
30172 PyObject
* obj0
= 0 ;
30173 PyObject
* obj1
= 0 ;
30174 PyObject
* obj2
= 0 ;
30175 char *kwnames
[] = {
30176 (char *) "self",(char *) "x",(char *) "y", NULL
30179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30181 if (SWIG_arg_fail(1)) SWIG_fail
;
30183 arg2
= (int)(SWIG_As_int(obj1
));
30184 if (SWIG_arg_fail(2)) SWIG_fail
;
30187 arg3
= (int)(SWIG_As_int(obj2
));
30188 if (SWIG_arg_fail(3)) SWIG_fail
;
30191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30192 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
30194 wxPyEndAllowThreads(__tstate
);
30195 if (PyErr_Occurred()) SWIG_fail
;
30197 resultobj
= SWIG_From_int((result
));
30204 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30205 PyObject
*resultobj
;
30206 wxWindow
*arg1
= (wxWindow
*) 0 ;
30207 wxPoint
*arg2
= 0 ;
30210 PyObject
* obj0
= 0 ;
30211 PyObject
* obj1
= 0 ;
30212 char *kwnames
[] = {
30213 (char *) "self",(char *) "pt", NULL
30216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30218 if (SWIG_arg_fail(1)) SWIG_fail
;
30221 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30225 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
30227 wxPyEndAllowThreads(__tstate
);
30228 if (PyErr_Occurred()) SWIG_fail
;
30230 resultobj
= SWIG_From_int((result
));
30237 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
30238 PyObject
*resultobj
;
30239 wxWindow
*arg1
= (wxWindow
*) 0 ;
30242 PyObject
* obj0
= 0 ;
30243 PyObject
* obj1
= 0 ;
30245 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
30246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30247 if (SWIG_arg_fail(1)) SWIG_fail
;
30249 arg2
= (long)(SWIG_As_long(obj1
));
30250 if (SWIG_arg_fail(2)) SWIG_fail
;
30253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30254 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
30256 wxPyEndAllowThreads(__tstate
);
30257 if (PyErr_Occurred()) SWIG_fail
;
30259 resultobj
= SWIG_From_int((result
));
30266 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
30267 PyObject
*resultobj
;
30268 wxWindow
*arg1
= (wxWindow
*) 0 ;
30270 PyObject
* obj0
= 0 ;
30272 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
30273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30274 if (SWIG_arg_fail(1)) SWIG_fail
;
30276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30277 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
30279 wxPyEndAllowThreads(__tstate
);
30280 if (PyErr_Occurred()) SWIG_fail
;
30282 resultobj
= SWIG_From_int((result
));
30289 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
30294 argc
= PyObject_Length(args
);
30295 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
30296 argv
[ii
] = PyTuple_GetItem(args
,ii
);
30302 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30310 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
30317 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30325 _v
= SWIG_Check_long(argv
[1]);
30327 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
30332 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
30337 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30338 PyObject
*resultobj
;
30339 wxWindow
*arg1
= (wxWindow
*) 0 ;
30340 long arg2
= (long) wxUPDATE_UI_NONE
;
30341 PyObject
* obj0
= 0 ;
30342 PyObject
* obj1
= 0 ;
30343 char *kwnames
[] = {
30344 (char *) "self",(char *) "flags", NULL
30347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30349 if (SWIG_arg_fail(1)) SWIG_fail
;
30352 arg2
= (long)(SWIG_As_long(obj1
));
30353 if (SWIG_arg_fail(2)) SWIG_fail
;
30357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30358 (arg1
)->UpdateWindowUI(arg2
);
30360 wxPyEndAllowThreads(__tstate
);
30361 if (PyErr_Occurred()) SWIG_fail
;
30363 Py_INCREF(Py_None
); resultobj
= Py_None
;
30370 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30371 PyObject
*resultobj
;
30372 wxWindow
*arg1
= (wxWindow
*) 0 ;
30373 wxMenu
*arg2
= (wxMenu
*) 0 ;
30374 int arg3
= (int) -1 ;
30375 int arg4
= (int) -1 ;
30377 PyObject
* obj0
= 0 ;
30378 PyObject
* obj1
= 0 ;
30379 PyObject
* obj2
= 0 ;
30380 PyObject
* obj3
= 0 ;
30381 char *kwnames
[] = {
30382 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
30385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30387 if (SWIG_arg_fail(1)) SWIG_fail
;
30388 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30389 if (SWIG_arg_fail(2)) SWIG_fail
;
30392 arg3
= (int)(SWIG_As_int(obj2
));
30393 if (SWIG_arg_fail(3)) SWIG_fail
;
30398 arg4
= (int)(SWIG_As_int(obj3
));
30399 if (SWIG_arg_fail(4)) SWIG_fail
;
30403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30404 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
30406 wxPyEndAllowThreads(__tstate
);
30407 if (PyErr_Occurred()) SWIG_fail
;
30410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30418 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30419 PyObject
*resultobj
;
30420 wxWindow
*arg1
= (wxWindow
*) 0 ;
30421 wxMenu
*arg2
= (wxMenu
*) 0 ;
30422 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30423 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30426 PyObject
* obj0
= 0 ;
30427 PyObject
* obj1
= 0 ;
30428 PyObject
* obj2
= 0 ;
30429 char *kwnames
[] = {
30430 (char *) "self",(char *) "menu",(char *) "pos", NULL
30433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30435 if (SWIG_arg_fail(1)) SWIG_fail
;
30436 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30437 if (SWIG_arg_fail(2)) SWIG_fail
;
30441 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30446 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
30448 wxPyEndAllowThreads(__tstate
);
30449 if (PyErr_Occurred()) SWIG_fail
;
30452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30460 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30461 PyObject
*resultobj
;
30462 wxWindow
*arg1
= (wxWindow
*) 0 ;
30464 PyObject
* obj0
= 0 ;
30465 char *kwnames
[] = {
30466 (char *) "self", NULL
30469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
30470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30471 if (SWIG_arg_fail(1)) SWIG_fail
;
30473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30474 result
= (long)wxWindow_GetHandle(arg1
);
30476 wxPyEndAllowThreads(__tstate
);
30477 if (PyErr_Occurred()) SWIG_fail
;
30480 resultobj
= SWIG_From_long((long)(result
));
30488 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30489 PyObject
*resultobj
;
30490 wxWindow
*arg1
= (wxWindow
*) 0 ;
30492 PyObject
* obj0
= 0 ;
30493 PyObject
* obj1
= 0 ;
30494 char *kwnames
[] = {
30495 (char *) "self",(char *) "handle", NULL
30498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
30499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30500 if (SWIG_arg_fail(1)) SWIG_fail
;
30502 arg2
= (long)(SWIG_As_long(obj1
));
30503 if (SWIG_arg_fail(2)) SWIG_fail
;
30506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30507 wxWindow_AssociateHandle(arg1
,arg2
);
30509 wxPyEndAllowThreads(__tstate
);
30510 if (PyErr_Occurred()) SWIG_fail
;
30512 Py_INCREF(Py_None
); resultobj
= Py_None
;
30519 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30520 PyObject
*resultobj
;
30521 wxWindow
*arg1
= (wxWindow
*) 0 ;
30522 PyObject
* obj0
= 0 ;
30523 char *kwnames
[] = {
30524 (char *) "self", NULL
30527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
30528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30529 if (SWIG_arg_fail(1)) SWIG_fail
;
30531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30532 (arg1
)->DissociateHandle();
30534 wxPyEndAllowThreads(__tstate
);
30535 if (PyErr_Occurred()) SWIG_fail
;
30537 Py_INCREF(Py_None
); resultobj
= Py_None
;
30544 static PyObject
*_wrap_Window_OnPaint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30545 PyObject
*resultobj
;
30546 wxWindow
*arg1
= (wxWindow
*) 0 ;
30547 wxPaintEvent
*arg2
= 0 ;
30548 PyObject
* obj0
= 0 ;
30549 PyObject
* obj1
= 0 ;
30550 char *kwnames
[] = {
30551 (char *) "self",(char *) "event", NULL
30554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
30555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30556 if (SWIG_arg_fail(1)) SWIG_fail
;
30558 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPaintEvent
, SWIG_POINTER_EXCEPTION
| 0);
30559 if (SWIG_arg_fail(2)) SWIG_fail
;
30560 if (arg2
== NULL
) {
30561 SWIG_null_ref("wxPaintEvent");
30563 if (SWIG_arg_fail(2)) SWIG_fail
;
30566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30567 (arg1
)->OnPaint(*arg2
);
30569 wxPyEndAllowThreads(__tstate
);
30570 if (PyErr_Occurred()) SWIG_fail
;
30572 Py_INCREF(Py_None
); resultobj
= Py_None
;
30579 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30580 PyObject
*resultobj
;
30581 wxWindow
*arg1
= (wxWindow
*) 0 ;
30584 PyObject
* obj0
= 0 ;
30585 PyObject
* obj1
= 0 ;
30586 char *kwnames
[] = {
30587 (char *) "self",(char *) "orient", NULL
30590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
30591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30592 if (SWIG_arg_fail(1)) SWIG_fail
;
30594 arg2
= (int)(SWIG_As_int(obj1
));
30595 if (SWIG_arg_fail(2)) SWIG_fail
;
30598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30599 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
30601 wxPyEndAllowThreads(__tstate
);
30602 if (PyErr_Occurred()) SWIG_fail
;
30605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30613 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30614 PyObject
*resultobj
;
30615 wxWindow
*arg1
= (wxWindow
*) 0 ;
30620 bool arg6
= (bool) true ;
30621 PyObject
* obj0
= 0 ;
30622 PyObject
* obj1
= 0 ;
30623 PyObject
* obj2
= 0 ;
30624 PyObject
* obj3
= 0 ;
30625 PyObject
* obj4
= 0 ;
30626 PyObject
* obj5
= 0 ;
30627 char *kwnames
[] = {
30628 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
30631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30633 if (SWIG_arg_fail(1)) SWIG_fail
;
30635 arg2
= (int)(SWIG_As_int(obj1
));
30636 if (SWIG_arg_fail(2)) SWIG_fail
;
30639 arg3
= (int)(SWIG_As_int(obj2
));
30640 if (SWIG_arg_fail(3)) SWIG_fail
;
30643 arg4
= (int)(SWIG_As_int(obj3
));
30644 if (SWIG_arg_fail(4)) SWIG_fail
;
30647 arg5
= (int)(SWIG_As_int(obj4
));
30648 if (SWIG_arg_fail(5)) SWIG_fail
;
30652 arg6
= (bool)(SWIG_As_bool(obj5
));
30653 if (SWIG_arg_fail(6)) SWIG_fail
;
30657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30658 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
30660 wxPyEndAllowThreads(__tstate
);
30661 if (PyErr_Occurred()) SWIG_fail
;
30663 Py_INCREF(Py_None
); resultobj
= Py_None
;
30670 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30671 PyObject
*resultobj
;
30672 wxWindow
*arg1
= (wxWindow
*) 0 ;
30675 bool arg4
= (bool) true ;
30676 PyObject
* obj0
= 0 ;
30677 PyObject
* obj1
= 0 ;
30678 PyObject
* obj2
= 0 ;
30679 PyObject
* obj3
= 0 ;
30680 char *kwnames
[] = {
30681 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
30684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30686 if (SWIG_arg_fail(1)) SWIG_fail
;
30688 arg2
= (int)(SWIG_As_int(obj1
));
30689 if (SWIG_arg_fail(2)) SWIG_fail
;
30692 arg3
= (int)(SWIG_As_int(obj2
));
30693 if (SWIG_arg_fail(3)) SWIG_fail
;
30697 arg4
= (bool)(SWIG_As_bool(obj3
));
30698 if (SWIG_arg_fail(4)) SWIG_fail
;
30702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30703 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
30705 wxPyEndAllowThreads(__tstate
);
30706 if (PyErr_Occurred()) SWIG_fail
;
30708 Py_INCREF(Py_None
); resultobj
= Py_None
;
30715 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30716 PyObject
*resultobj
;
30717 wxWindow
*arg1
= (wxWindow
*) 0 ;
30720 PyObject
* obj0
= 0 ;
30721 PyObject
* obj1
= 0 ;
30722 char *kwnames
[] = {
30723 (char *) "self",(char *) "orientation", NULL
30726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
30727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30728 if (SWIG_arg_fail(1)) SWIG_fail
;
30730 arg2
= (int)(SWIG_As_int(obj1
));
30731 if (SWIG_arg_fail(2)) SWIG_fail
;
30734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30735 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
30737 wxPyEndAllowThreads(__tstate
);
30738 if (PyErr_Occurred()) SWIG_fail
;
30741 resultobj
= SWIG_From_int((int)(result
));
30749 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30750 PyObject
*resultobj
;
30751 wxWindow
*arg1
= (wxWindow
*) 0 ;
30754 PyObject
* obj0
= 0 ;
30755 PyObject
* obj1
= 0 ;
30756 char *kwnames
[] = {
30757 (char *) "self",(char *) "orientation", NULL
30760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
30761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30762 if (SWIG_arg_fail(1)) SWIG_fail
;
30764 arg2
= (int)(SWIG_As_int(obj1
));
30765 if (SWIG_arg_fail(2)) SWIG_fail
;
30768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30769 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
30771 wxPyEndAllowThreads(__tstate
);
30772 if (PyErr_Occurred()) SWIG_fail
;
30775 resultobj
= SWIG_From_int((int)(result
));
30783 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30784 PyObject
*resultobj
;
30785 wxWindow
*arg1
= (wxWindow
*) 0 ;
30788 PyObject
* obj0
= 0 ;
30789 PyObject
* obj1
= 0 ;
30790 char *kwnames
[] = {
30791 (char *) "self",(char *) "orientation", NULL
30794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
30795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30796 if (SWIG_arg_fail(1)) SWIG_fail
;
30798 arg2
= (int)(SWIG_As_int(obj1
));
30799 if (SWIG_arg_fail(2)) SWIG_fail
;
30802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30803 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
30805 wxPyEndAllowThreads(__tstate
);
30806 if (PyErr_Occurred()) SWIG_fail
;
30809 resultobj
= SWIG_From_int((int)(result
));
30817 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30818 PyObject
*resultobj
;
30819 wxWindow
*arg1
= (wxWindow
*) 0 ;
30822 wxRect
*arg4
= (wxRect
*) NULL
;
30823 PyObject
* obj0
= 0 ;
30824 PyObject
* obj1
= 0 ;
30825 PyObject
* obj2
= 0 ;
30826 PyObject
* obj3
= 0 ;
30827 char *kwnames
[] = {
30828 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
30831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30833 if (SWIG_arg_fail(1)) SWIG_fail
;
30835 arg2
= (int)(SWIG_As_int(obj1
));
30836 if (SWIG_arg_fail(2)) SWIG_fail
;
30839 arg3
= (int)(SWIG_As_int(obj2
));
30840 if (SWIG_arg_fail(3)) SWIG_fail
;
30843 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
30844 if (SWIG_arg_fail(4)) SWIG_fail
;
30847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30848 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
30850 wxPyEndAllowThreads(__tstate
);
30851 if (PyErr_Occurred()) SWIG_fail
;
30853 Py_INCREF(Py_None
); resultobj
= Py_None
;
30860 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30861 PyObject
*resultobj
;
30862 wxWindow
*arg1
= (wxWindow
*) 0 ;
30865 PyObject
* obj0
= 0 ;
30866 PyObject
* obj1
= 0 ;
30867 char *kwnames
[] = {
30868 (char *) "self",(char *) "lines", NULL
30871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
30872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30873 if (SWIG_arg_fail(1)) SWIG_fail
;
30875 arg2
= (int)(SWIG_As_int(obj1
));
30876 if (SWIG_arg_fail(2)) SWIG_fail
;
30879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30880 result
= (bool)(arg1
)->ScrollLines(arg2
);
30882 wxPyEndAllowThreads(__tstate
);
30883 if (PyErr_Occurred()) SWIG_fail
;
30886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30894 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30895 PyObject
*resultobj
;
30896 wxWindow
*arg1
= (wxWindow
*) 0 ;
30899 PyObject
* obj0
= 0 ;
30900 PyObject
* obj1
= 0 ;
30901 char *kwnames
[] = {
30902 (char *) "self",(char *) "pages", NULL
30905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
30906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30907 if (SWIG_arg_fail(1)) SWIG_fail
;
30909 arg2
= (int)(SWIG_As_int(obj1
));
30910 if (SWIG_arg_fail(2)) SWIG_fail
;
30913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30914 result
= (bool)(arg1
)->ScrollPages(arg2
);
30916 wxPyEndAllowThreads(__tstate
);
30917 if (PyErr_Occurred()) SWIG_fail
;
30920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30928 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30929 PyObject
*resultobj
;
30930 wxWindow
*arg1
= (wxWindow
*) 0 ;
30932 PyObject
* obj0
= 0 ;
30933 char *kwnames
[] = {
30934 (char *) "self", NULL
30937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
30938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30939 if (SWIG_arg_fail(1)) SWIG_fail
;
30941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30942 result
= (bool)(arg1
)->LineUp();
30944 wxPyEndAllowThreads(__tstate
);
30945 if (PyErr_Occurred()) SWIG_fail
;
30948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30956 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30957 PyObject
*resultobj
;
30958 wxWindow
*arg1
= (wxWindow
*) 0 ;
30960 PyObject
* obj0
= 0 ;
30961 char *kwnames
[] = {
30962 (char *) "self", NULL
30965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
30966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30967 if (SWIG_arg_fail(1)) SWIG_fail
;
30969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30970 result
= (bool)(arg1
)->LineDown();
30972 wxPyEndAllowThreads(__tstate
);
30973 if (PyErr_Occurred()) SWIG_fail
;
30976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30984 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30985 PyObject
*resultobj
;
30986 wxWindow
*arg1
= (wxWindow
*) 0 ;
30988 PyObject
* obj0
= 0 ;
30989 char *kwnames
[] = {
30990 (char *) "self", NULL
30993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
30994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30995 if (SWIG_arg_fail(1)) SWIG_fail
;
30997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30998 result
= (bool)(arg1
)->PageUp();
31000 wxPyEndAllowThreads(__tstate
);
31001 if (PyErr_Occurred()) SWIG_fail
;
31004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31012 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31013 PyObject
*resultobj
;
31014 wxWindow
*arg1
= (wxWindow
*) 0 ;
31016 PyObject
* obj0
= 0 ;
31017 char *kwnames
[] = {
31018 (char *) "self", NULL
31021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
31022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31023 if (SWIG_arg_fail(1)) SWIG_fail
;
31025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31026 result
= (bool)(arg1
)->PageDown();
31028 wxPyEndAllowThreads(__tstate
);
31029 if (PyErr_Occurred()) SWIG_fail
;
31032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31040 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31041 PyObject
*resultobj
;
31042 wxWindow
*arg1
= (wxWindow
*) 0 ;
31043 wxString
*arg2
= 0 ;
31044 bool temp2
= false ;
31045 PyObject
* obj0
= 0 ;
31046 PyObject
* obj1
= 0 ;
31047 char *kwnames
[] = {
31048 (char *) "self",(char *) "text", NULL
31051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
31052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31053 if (SWIG_arg_fail(1)) SWIG_fail
;
31055 arg2
= wxString_in_helper(obj1
);
31056 if (arg2
== NULL
) SWIG_fail
;
31060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31061 (arg1
)->SetHelpText((wxString
const &)*arg2
);
31063 wxPyEndAllowThreads(__tstate
);
31064 if (PyErr_Occurred()) SWIG_fail
;
31066 Py_INCREF(Py_None
); resultobj
= Py_None
;
31081 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31082 PyObject
*resultobj
;
31083 wxWindow
*arg1
= (wxWindow
*) 0 ;
31084 wxString
*arg2
= 0 ;
31085 bool temp2
= false ;
31086 PyObject
* obj0
= 0 ;
31087 PyObject
* obj1
= 0 ;
31088 char *kwnames
[] = {
31089 (char *) "self",(char *) "text", NULL
31092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) 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 arg2
= wxString_in_helper(obj1
);
31097 if (arg2
== NULL
) SWIG_fail
;
31101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31102 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
31104 wxPyEndAllowThreads(__tstate
);
31105 if (PyErr_Occurred()) SWIG_fail
;
31107 Py_INCREF(Py_None
); resultobj
= Py_None
;
31122 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31123 PyObject
*resultobj
;
31124 wxWindow
*arg1
= (wxWindow
*) 0 ;
31126 PyObject
* obj0
= 0 ;
31127 char *kwnames
[] = {
31128 (char *) "self", NULL
31131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
31132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31133 if (SWIG_arg_fail(1)) SWIG_fail
;
31135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31136 result
= ((wxWindow
const *)arg1
)->GetHelpText();
31138 wxPyEndAllowThreads(__tstate
);
31139 if (PyErr_Occurred()) SWIG_fail
;
31143 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31145 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31154 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31155 PyObject
*resultobj
;
31156 wxWindow
*arg1
= (wxWindow
*) 0 ;
31157 wxString
*arg2
= 0 ;
31158 bool temp2
= false ;
31159 PyObject
* obj0
= 0 ;
31160 PyObject
* obj1
= 0 ;
31161 char *kwnames
[] = {
31162 (char *) "self",(char *) "tip", NULL
31165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
31166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31167 if (SWIG_arg_fail(1)) SWIG_fail
;
31169 arg2
= wxString_in_helper(obj1
);
31170 if (arg2
== NULL
) SWIG_fail
;
31174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31175 (arg1
)->SetToolTip((wxString
const &)*arg2
);
31177 wxPyEndAllowThreads(__tstate
);
31178 if (PyErr_Occurred()) SWIG_fail
;
31180 Py_INCREF(Py_None
); resultobj
= Py_None
;
31195 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31196 PyObject
*resultobj
;
31197 wxWindow
*arg1
= (wxWindow
*) 0 ;
31198 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
31199 PyObject
* obj0
= 0 ;
31200 PyObject
* obj1
= 0 ;
31201 char *kwnames
[] = {
31202 (char *) "self",(char *) "tip", NULL
31205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
31206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31207 if (SWIG_arg_fail(1)) SWIG_fail
;
31208 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
31209 if (SWIG_arg_fail(2)) SWIG_fail
;
31211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31212 (arg1
)->SetToolTip(arg2
);
31214 wxPyEndAllowThreads(__tstate
);
31215 if (PyErr_Occurred()) SWIG_fail
;
31217 Py_INCREF(Py_None
); resultobj
= Py_None
;
31224 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31225 PyObject
*resultobj
;
31226 wxWindow
*arg1
= (wxWindow
*) 0 ;
31228 PyObject
* obj0
= 0 ;
31229 char *kwnames
[] = {
31230 (char *) "self", NULL
31233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
31234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31235 if (SWIG_arg_fail(1)) SWIG_fail
;
31237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31238 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
31240 wxPyEndAllowThreads(__tstate
);
31241 if (PyErr_Occurred()) SWIG_fail
;
31244 resultobj
= wxPyMake_wxObject(result
, 0);
31252 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31253 PyObject
*resultobj
;
31254 wxWindow
*arg1
= (wxWindow
*) 0 ;
31255 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
31256 PyObject
* obj0
= 0 ;
31257 PyObject
* obj1
= 0 ;
31258 char *kwnames
[] = {
31259 (char *) "self",(char *) "dropTarget", NULL
31262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
31263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31264 if (SWIG_arg_fail(1)) SWIG_fail
;
31265 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31266 if (SWIG_arg_fail(2)) SWIG_fail
;
31268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31269 (arg1
)->SetDropTarget(arg2
);
31271 wxPyEndAllowThreads(__tstate
);
31272 if (PyErr_Occurred()) SWIG_fail
;
31274 Py_INCREF(Py_None
); resultobj
= Py_None
;
31281 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31282 PyObject
*resultobj
;
31283 wxWindow
*arg1
= (wxWindow
*) 0 ;
31284 wxPyDropTarget
*result
;
31285 PyObject
* obj0
= 0 ;
31286 char *kwnames
[] = {
31287 (char *) "self", NULL
31290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
31291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31292 if (SWIG_arg_fail(1)) SWIG_fail
;
31294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31295 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
31297 wxPyEndAllowThreads(__tstate
);
31298 if (PyErr_Occurred()) SWIG_fail
;
31300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
31307 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31308 PyObject
*resultobj
;
31309 wxWindow
*arg1
= (wxWindow
*) 0 ;
31311 PyObject
* obj0
= 0 ;
31312 PyObject
* obj1
= 0 ;
31313 char *kwnames
[] = {
31314 (char *) "self",(char *) "accept", NULL
31317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
31318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31319 if (SWIG_arg_fail(1)) SWIG_fail
;
31321 arg2
= (bool)(SWIG_As_bool(obj1
));
31322 if (SWIG_arg_fail(2)) SWIG_fail
;
31325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31326 (arg1
)->DragAcceptFiles(arg2
);
31328 wxPyEndAllowThreads(__tstate
);
31329 if (PyErr_Occurred()) SWIG_fail
;
31331 Py_INCREF(Py_None
); resultobj
= Py_None
;
31338 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31339 PyObject
*resultobj
;
31340 wxWindow
*arg1
= (wxWindow
*) 0 ;
31341 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
31342 PyObject
* obj0
= 0 ;
31343 PyObject
* obj1
= 0 ;
31344 char *kwnames
[] = {
31345 (char *) "self",(char *) "constraints", NULL
31348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
31349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31350 if (SWIG_arg_fail(1)) SWIG_fail
;
31351 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
31352 if (SWIG_arg_fail(2)) SWIG_fail
;
31354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31355 (arg1
)->SetConstraints(arg2
);
31357 wxPyEndAllowThreads(__tstate
);
31358 if (PyErr_Occurred()) SWIG_fail
;
31360 Py_INCREF(Py_None
); resultobj
= Py_None
;
31367 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31368 PyObject
*resultobj
;
31369 wxWindow
*arg1
= (wxWindow
*) 0 ;
31370 wxLayoutConstraints
*result
;
31371 PyObject
* obj0
= 0 ;
31372 char *kwnames
[] = {
31373 (char *) "self", NULL
31376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
31377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31378 if (SWIG_arg_fail(1)) SWIG_fail
;
31380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31381 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
31383 wxPyEndAllowThreads(__tstate
);
31384 if (PyErr_Occurred()) SWIG_fail
;
31386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
31393 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31394 PyObject
*resultobj
;
31395 wxWindow
*arg1
= (wxWindow
*) 0 ;
31397 PyObject
* obj0
= 0 ;
31398 PyObject
* obj1
= 0 ;
31399 char *kwnames
[] = {
31400 (char *) "self",(char *) "autoLayout", NULL
31403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
31404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31405 if (SWIG_arg_fail(1)) SWIG_fail
;
31407 arg2
= (bool)(SWIG_As_bool(obj1
));
31408 if (SWIG_arg_fail(2)) SWIG_fail
;
31411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31412 (arg1
)->SetAutoLayout(arg2
);
31414 wxPyEndAllowThreads(__tstate
);
31415 if (PyErr_Occurred()) SWIG_fail
;
31417 Py_INCREF(Py_None
); resultobj
= Py_None
;
31424 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31425 PyObject
*resultobj
;
31426 wxWindow
*arg1
= (wxWindow
*) 0 ;
31428 PyObject
* obj0
= 0 ;
31429 char *kwnames
[] = {
31430 (char *) "self", NULL
31433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
31434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31435 if (SWIG_arg_fail(1)) SWIG_fail
;
31437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31438 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
31440 wxPyEndAllowThreads(__tstate
);
31441 if (PyErr_Occurred()) SWIG_fail
;
31444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31452 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31453 PyObject
*resultobj
;
31454 wxWindow
*arg1
= (wxWindow
*) 0 ;
31456 PyObject
* obj0
= 0 ;
31457 char *kwnames
[] = {
31458 (char *) "self", NULL
31461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
31462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31463 if (SWIG_arg_fail(1)) SWIG_fail
;
31465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31466 result
= (bool)(arg1
)->Layout();
31468 wxPyEndAllowThreads(__tstate
);
31469 if (PyErr_Occurred()) SWIG_fail
;
31472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31480 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31481 PyObject
*resultobj
;
31482 wxWindow
*arg1
= (wxWindow
*) 0 ;
31483 wxSizer
*arg2
= (wxSizer
*) 0 ;
31484 bool arg3
= (bool) true ;
31485 PyObject
* obj0
= 0 ;
31486 PyObject
* obj1
= 0 ;
31487 PyObject
* obj2
= 0 ;
31488 char *kwnames
[] = {
31489 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31494 if (SWIG_arg_fail(1)) SWIG_fail
;
31495 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31496 if (SWIG_arg_fail(2)) SWIG_fail
;
31499 arg3
= (bool)(SWIG_As_bool(obj2
));
31500 if (SWIG_arg_fail(3)) SWIG_fail
;
31504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31505 (arg1
)->SetSizer(arg2
,arg3
);
31507 wxPyEndAllowThreads(__tstate
);
31508 if (PyErr_Occurred()) SWIG_fail
;
31510 Py_INCREF(Py_None
); resultobj
= Py_None
;
31517 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31518 PyObject
*resultobj
;
31519 wxWindow
*arg1
= (wxWindow
*) 0 ;
31520 wxSizer
*arg2
= (wxSizer
*) 0 ;
31521 bool arg3
= (bool) true ;
31522 PyObject
* obj0
= 0 ;
31523 PyObject
* obj1
= 0 ;
31524 PyObject
* obj2
= 0 ;
31525 char *kwnames
[] = {
31526 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31531 if (SWIG_arg_fail(1)) SWIG_fail
;
31532 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31533 if (SWIG_arg_fail(2)) SWIG_fail
;
31536 arg3
= (bool)(SWIG_As_bool(obj2
));
31537 if (SWIG_arg_fail(3)) SWIG_fail
;
31541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31542 (arg1
)->SetSizerAndFit(arg2
,arg3
);
31544 wxPyEndAllowThreads(__tstate
);
31545 if (PyErr_Occurred()) SWIG_fail
;
31547 Py_INCREF(Py_None
); resultobj
= Py_None
;
31554 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31555 PyObject
*resultobj
;
31556 wxWindow
*arg1
= (wxWindow
*) 0 ;
31558 PyObject
* obj0
= 0 ;
31559 char *kwnames
[] = {
31560 (char *) "self", NULL
31563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
31564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31565 if (SWIG_arg_fail(1)) SWIG_fail
;
31567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31568 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
31570 wxPyEndAllowThreads(__tstate
);
31571 if (PyErr_Occurred()) SWIG_fail
;
31574 resultobj
= wxPyMake_wxSizer(result
, 0);
31582 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31583 PyObject
*resultobj
;
31584 wxWindow
*arg1
= (wxWindow
*) 0 ;
31585 wxSizer
*arg2
= (wxSizer
*) 0 ;
31586 PyObject
* obj0
= 0 ;
31587 PyObject
* obj1
= 0 ;
31588 char *kwnames
[] = {
31589 (char *) "self",(char *) "sizer", NULL
31592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
31593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31594 if (SWIG_arg_fail(1)) SWIG_fail
;
31595 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31596 if (SWIG_arg_fail(2)) SWIG_fail
;
31598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31599 (arg1
)->SetContainingSizer(arg2
);
31601 wxPyEndAllowThreads(__tstate
);
31602 if (PyErr_Occurred()) SWIG_fail
;
31604 Py_INCREF(Py_None
); resultobj
= Py_None
;
31611 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31612 PyObject
*resultobj
;
31613 wxWindow
*arg1
= (wxWindow
*) 0 ;
31615 PyObject
* obj0
= 0 ;
31616 char *kwnames
[] = {
31617 (char *) "self", NULL
31620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
31621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31622 if (SWIG_arg_fail(1)) SWIG_fail
;
31624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31625 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
31627 wxPyEndAllowThreads(__tstate
);
31628 if (PyErr_Occurred()) SWIG_fail
;
31631 resultobj
= wxPyMake_wxSizer(result
, 0);
31639 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31640 PyObject
*resultobj
;
31641 wxWindow
*arg1
= (wxWindow
*) 0 ;
31642 PyObject
* obj0
= 0 ;
31643 char *kwnames
[] = {
31644 (char *) "self", NULL
31647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
31648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31649 if (SWIG_arg_fail(1)) SWIG_fail
;
31651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31652 (arg1
)->InheritAttributes();
31654 wxPyEndAllowThreads(__tstate
);
31655 if (PyErr_Occurred()) SWIG_fail
;
31657 Py_INCREF(Py_None
); resultobj
= Py_None
;
31664 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31665 PyObject
*resultobj
;
31666 wxWindow
*arg1
= (wxWindow
*) 0 ;
31668 PyObject
* obj0
= 0 ;
31669 char *kwnames
[] = {
31670 (char *) "self", NULL
31673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
31674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31675 if (SWIG_arg_fail(1)) SWIG_fail
;
31677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31678 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
31680 wxPyEndAllowThreads(__tstate
);
31681 if (PyErr_Occurred()) SWIG_fail
;
31684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31692 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
31694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31695 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
31697 return Py_BuildValue((char *)"");
31699 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31700 PyObject
*resultobj
;
31702 wxWindow
*arg2
= (wxWindow
*) NULL
;
31704 PyObject
* obj0
= 0 ;
31705 PyObject
* obj1
= 0 ;
31706 char *kwnames
[] = {
31707 (char *) "id",(char *) "parent", NULL
31710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
31712 arg1
= (long)(SWIG_As_long(obj0
));
31713 if (SWIG_arg_fail(1)) SWIG_fail
;
31716 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31717 if (SWIG_arg_fail(2)) SWIG_fail
;
31720 if (!wxPyCheckForApp()) SWIG_fail
;
31721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31722 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
31724 wxPyEndAllowThreads(__tstate
);
31725 if (PyErr_Occurred()) SWIG_fail
;
31728 resultobj
= wxPyMake_wxObject(result
, 0);
31736 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31737 PyObject
*resultobj
;
31738 wxString
*arg1
= 0 ;
31739 wxWindow
*arg2
= (wxWindow
*) NULL
;
31741 bool temp1
= false ;
31742 PyObject
* obj0
= 0 ;
31743 PyObject
* obj1
= 0 ;
31744 char *kwnames
[] = {
31745 (char *) "name",(char *) "parent", NULL
31748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
31750 arg1
= wxString_in_helper(obj0
);
31751 if (arg1
== NULL
) SWIG_fail
;
31755 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31756 if (SWIG_arg_fail(2)) SWIG_fail
;
31759 if (!wxPyCheckForApp()) SWIG_fail
;
31760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31761 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31763 wxPyEndAllowThreads(__tstate
);
31764 if (PyErr_Occurred()) SWIG_fail
;
31767 resultobj
= wxPyMake_wxObject(result
, 0);
31783 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31784 PyObject
*resultobj
;
31785 wxString
*arg1
= 0 ;
31786 wxWindow
*arg2
= (wxWindow
*) NULL
;
31788 bool temp1
= false ;
31789 PyObject
* obj0
= 0 ;
31790 PyObject
* obj1
= 0 ;
31791 char *kwnames
[] = {
31792 (char *) "label",(char *) "parent", NULL
31795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31797 arg1
= wxString_in_helper(obj0
);
31798 if (arg1
== NULL
) SWIG_fail
;
31802 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31803 if (SWIG_arg_fail(2)) SWIG_fail
;
31806 if (!wxPyCheckForApp()) SWIG_fail
;
31807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31808 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31810 wxPyEndAllowThreads(__tstate
);
31811 if (PyErr_Occurred()) SWIG_fail
;
31814 resultobj
= wxPyMake_wxObject(result
, 0);
31830 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31831 PyObject
*resultobj
;
31832 wxWindow
*arg1
= (wxWindow
*) 0 ;
31833 unsigned long arg2
;
31835 PyObject
* obj0
= 0 ;
31836 PyObject
* obj1
= 0 ;
31837 char *kwnames
[] = {
31838 (char *) "parent",(char *) "_hWnd", NULL
31841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
31842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31843 if (SWIG_arg_fail(1)) SWIG_fail
;
31845 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
31846 if (SWIG_arg_fail(2)) SWIG_fail
;
31849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31850 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
31852 wxPyEndAllowThreads(__tstate
);
31853 if (PyErr_Occurred()) SWIG_fail
;
31856 resultobj
= wxPyMake_wxObject(result
, 0);
31864 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31865 PyObject
*resultobj
;
31866 wxValidator
*result
;
31867 char *kwnames
[] = {
31871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
31873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31874 result
= (wxValidator
*)new wxValidator();
31876 wxPyEndAllowThreads(__tstate
);
31877 if (PyErr_Occurred()) SWIG_fail
;
31879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
31886 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31887 PyObject
*resultobj
;
31888 wxValidator
*arg1
= (wxValidator
*) 0 ;
31889 wxValidator
*result
;
31890 PyObject
* obj0
= 0 ;
31891 char *kwnames
[] = {
31892 (char *) "self", NULL
31895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
31896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31897 if (SWIG_arg_fail(1)) SWIG_fail
;
31899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31900 result
= (wxValidator
*)(arg1
)->Clone();
31902 wxPyEndAllowThreads(__tstate
);
31903 if (PyErr_Occurred()) SWIG_fail
;
31906 resultobj
= wxPyMake_wxObject(result
, 0);
31914 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31915 PyObject
*resultobj
;
31916 wxValidator
*arg1
= (wxValidator
*) 0 ;
31917 wxWindow
*arg2
= (wxWindow
*) 0 ;
31919 PyObject
* obj0
= 0 ;
31920 PyObject
* obj1
= 0 ;
31921 char *kwnames
[] = {
31922 (char *) "self",(char *) "parent", NULL
31925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
31926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31927 if (SWIG_arg_fail(1)) SWIG_fail
;
31928 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31929 if (SWIG_arg_fail(2)) SWIG_fail
;
31931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31932 result
= (bool)(arg1
)->Validate(arg2
);
31934 wxPyEndAllowThreads(__tstate
);
31935 if (PyErr_Occurred()) SWIG_fail
;
31938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31946 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31947 PyObject
*resultobj
;
31948 wxValidator
*arg1
= (wxValidator
*) 0 ;
31950 PyObject
* obj0
= 0 ;
31951 char *kwnames
[] = {
31952 (char *) "self", NULL
31955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
31956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31957 if (SWIG_arg_fail(1)) SWIG_fail
;
31959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31960 result
= (bool)(arg1
)->TransferToWindow();
31962 wxPyEndAllowThreads(__tstate
);
31963 if (PyErr_Occurred()) SWIG_fail
;
31966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31974 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31975 PyObject
*resultobj
;
31976 wxValidator
*arg1
= (wxValidator
*) 0 ;
31978 PyObject
* obj0
= 0 ;
31979 char *kwnames
[] = {
31980 (char *) "self", NULL
31983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
31984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31985 if (SWIG_arg_fail(1)) SWIG_fail
;
31987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31988 result
= (bool)(arg1
)->TransferFromWindow();
31990 wxPyEndAllowThreads(__tstate
);
31991 if (PyErr_Occurred()) SWIG_fail
;
31994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32002 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32003 PyObject
*resultobj
;
32004 wxValidator
*arg1
= (wxValidator
*) 0 ;
32006 PyObject
* obj0
= 0 ;
32007 char *kwnames
[] = {
32008 (char *) "self", NULL
32011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
32012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32013 if (SWIG_arg_fail(1)) SWIG_fail
;
32015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32016 result
= (wxWindow
*)(arg1
)->GetWindow();
32018 wxPyEndAllowThreads(__tstate
);
32019 if (PyErr_Occurred()) SWIG_fail
;
32022 resultobj
= wxPyMake_wxObject(result
, 0);
32030 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32031 PyObject
*resultobj
;
32032 wxValidator
*arg1
= (wxValidator
*) 0 ;
32033 wxWindow
*arg2
= (wxWindow
*) 0 ;
32034 PyObject
* obj0
= 0 ;
32035 PyObject
* obj1
= 0 ;
32036 char *kwnames
[] = {
32037 (char *) "self",(char *) "window", NULL
32040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
32041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32042 if (SWIG_arg_fail(1)) SWIG_fail
;
32043 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32044 if (SWIG_arg_fail(2)) SWIG_fail
;
32046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32047 (arg1
)->SetWindow(arg2
);
32049 wxPyEndAllowThreads(__tstate
);
32050 if (PyErr_Occurred()) SWIG_fail
;
32052 Py_INCREF(Py_None
); resultobj
= Py_None
;
32059 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32060 PyObject
*resultobj
;
32062 char *kwnames
[] = {
32066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
32068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32069 result
= (bool)wxValidator::IsSilent();
32071 wxPyEndAllowThreads(__tstate
);
32072 if (PyErr_Occurred()) SWIG_fail
;
32075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32083 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32084 PyObject
*resultobj
;
32085 int arg1
= (int) true ;
32086 PyObject
* obj0
= 0 ;
32087 char *kwnames
[] = {
32088 (char *) "doIt", NULL
32091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
32094 arg1
= (int)(SWIG_As_int(obj0
));
32095 if (SWIG_arg_fail(1)) SWIG_fail
;
32099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32100 wxValidator::SetBellOnError(arg1
);
32102 wxPyEndAllowThreads(__tstate
);
32103 if (PyErr_Occurred()) SWIG_fail
;
32105 Py_INCREF(Py_None
); resultobj
= Py_None
;
32112 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
32114 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32115 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
32117 return Py_BuildValue((char *)"");
32119 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32120 PyObject
*resultobj
;
32121 wxPyValidator
*result
;
32122 char *kwnames
[] = {
32126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
32128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32129 result
= (wxPyValidator
*)new wxPyValidator();
32131 wxPyEndAllowThreads(__tstate
);
32132 if (PyErr_Occurred()) SWIG_fail
;
32134 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
32141 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32142 PyObject
*resultobj
;
32143 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
32144 PyObject
*arg2
= (PyObject
*) 0 ;
32145 PyObject
*arg3
= (PyObject
*) 0 ;
32146 int arg4
= (int) true ;
32147 PyObject
* obj0
= 0 ;
32148 PyObject
* obj1
= 0 ;
32149 PyObject
* obj2
= 0 ;
32150 PyObject
* obj3
= 0 ;
32151 char *kwnames
[] = {
32152 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
32157 if (SWIG_arg_fail(1)) SWIG_fail
;
32162 arg4
= (int)(SWIG_As_int(obj3
));
32163 if (SWIG_arg_fail(4)) SWIG_fail
;
32167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32168 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32170 wxPyEndAllowThreads(__tstate
);
32171 if (PyErr_Occurred()) SWIG_fail
;
32173 Py_INCREF(Py_None
); resultobj
= Py_None
;
32180 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
32182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32183 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
32185 return Py_BuildValue((char *)"");
32187 static int _wrap_DefaultValidator_set(PyObject
*) {
32188 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
32193 static PyObject
*_wrap_DefaultValidator_get(void) {
32196 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
32201 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32202 PyObject
*resultobj
;
32203 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32204 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32205 long arg2
= (long) 0 ;
32207 bool temp1
= false ;
32208 PyObject
* obj0
= 0 ;
32209 PyObject
* obj1
= 0 ;
32210 char *kwnames
[] = {
32211 (char *) "title",(char *) "style", NULL
32214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
32217 arg1
= wxString_in_helper(obj0
);
32218 if (arg1
== NULL
) SWIG_fail
;
32224 arg2
= (long)(SWIG_As_long(obj1
));
32225 if (SWIG_arg_fail(2)) SWIG_fail
;
32229 if (!wxPyCheckForApp()) SWIG_fail
;
32230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32231 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
32233 wxPyEndAllowThreads(__tstate
);
32234 if (PyErr_Occurred()) SWIG_fail
;
32236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
32251 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32252 PyObject
*resultobj
;
32253 wxMenu
*arg1
= (wxMenu
*) 0 ;
32255 wxString
*arg3
= 0 ;
32256 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32257 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32258 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32259 wxMenuItem
*result
;
32260 bool temp3
= false ;
32261 bool temp4
= false ;
32262 PyObject
* obj0
= 0 ;
32263 PyObject
* obj1
= 0 ;
32264 PyObject
* obj2
= 0 ;
32265 PyObject
* obj3
= 0 ;
32266 PyObject
* obj4
= 0 ;
32267 char *kwnames
[] = {
32268 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32273 if (SWIG_arg_fail(1)) SWIG_fail
;
32275 arg2
= (int)(SWIG_As_int(obj1
));
32276 if (SWIG_arg_fail(2)) SWIG_fail
;
32279 arg3
= wxString_in_helper(obj2
);
32280 if (arg3
== NULL
) SWIG_fail
;
32285 arg4
= wxString_in_helper(obj3
);
32286 if (arg4
== NULL
) SWIG_fail
;
32292 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32293 if (SWIG_arg_fail(5)) SWIG_fail
;
32297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32298 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32300 wxPyEndAllowThreads(__tstate
);
32301 if (PyErr_Occurred()) SWIG_fail
;
32304 resultobj
= wxPyMake_wxObject(result
, 0);
32328 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32329 PyObject
*resultobj
;
32330 wxMenu
*arg1
= (wxMenu
*) 0 ;
32331 wxMenuItem
*result
;
32332 PyObject
* obj0
= 0 ;
32333 char *kwnames
[] = {
32334 (char *) "self", NULL
32337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
32338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32339 if (SWIG_arg_fail(1)) SWIG_fail
;
32341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32342 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
32344 wxPyEndAllowThreads(__tstate
);
32345 if (PyErr_Occurred()) SWIG_fail
;
32348 resultobj
= wxPyMake_wxObject(result
, 0);
32356 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32357 PyObject
*resultobj
;
32358 wxMenu
*arg1
= (wxMenu
*) 0 ;
32360 wxString
*arg3
= 0 ;
32361 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32362 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32363 wxMenuItem
*result
;
32364 bool temp3
= false ;
32365 bool temp4
= false ;
32366 PyObject
* obj0
= 0 ;
32367 PyObject
* obj1
= 0 ;
32368 PyObject
* obj2
= 0 ;
32369 PyObject
* obj3
= 0 ;
32370 char *kwnames
[] = {
32371 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32376 if (SWIG_arg_fail(1)) SWIG_fail
;
32378 arg2
= (int)(SWIG_As_int(obj1
));
32379 if (SWIG_arg_fail(2)) SWIG_fail
;
32382 arg3
= wxString_in_helper(obj2
);
32383 if (arg3
== NULL
) SWIG_fail
;
32388 arg4
= wxString_in_helper(obj3
);
32389 if (arg4
== NULL
) SWIG_fail
;
32394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32395 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32397 wxPyEndAllowThreads(__tstate
);
32398 if (PyErr_Occurred()) SWIG_fail
;
32401 resultobj
= wxPyMake_wxObject(result
, 0);
32425 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32426 PyObject
*resultobj
;
32427 wxMenu
*arg1
= (wxMenu
*) 0 ;
32429 wxString
*arg3
= 0 ;
32430 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32431 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32432 wxMenuItem
*result
;
32433 bool temp3
= false ;
32434 bool temp4
= false ;
32435 PyObject
* obj0
= 0 ;
32436 PyObject
* obj1
= 0 ;
32437 PyObject
* obj2
= 0 ;
32438 PyObject
* obj3
= 0 ;
32439 char *kwnames
[] = {
32440 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32445 if (SWIG_arg_fail(1)) SWIG_fail
;
32447 arg2
= (int)(SWIG_As_int(obj1
));
32448 if (SWIG_arg_fail(2)) SWIG_fail
;
32451 arg3
= wxString_in_helper(obj2
);
32452 if (arg3
== NULL
) SWIG_fail
;
32457 arg4
= wxString_in_helper(obj3
);
32458 if (arg4
== NULL
) SWIG_fail
;
32463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32464 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32466 wxPyEndAllowThreads(__tstate
);
32467 if (PyErr_Occurred()) SWIG_fail
;
32470 resultobj
= wxPyMake_wxObject(result
, 0);
32494 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32495 PyObject
*resultobj
;
32496 wxMenu
*arg1
= (wxMenu
*) 0 ;
32498 wxString
*arg3
= 0 ;
32499 wxMenu
*arg4
= (wxMenu
*) 0 ;
32500 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32501 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32502 wxMenuItem
*result
;
32503 bool temp3
= false ;
32504 bool temp5
= false ;
32505 PyObject
* obj0
= 0 ;
32506 PyObject
* obj1
= 0 ;
32507 PyObject
* obj2
= 0 ;
32508 PyObject
* obj3
= 0 ;
32509 PyObject
* obj4
= 0 ;
32510 char *kwnames
[] = {
32511 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32516 if (SWIG_arg_fail(1)) SWIG_fail
;
32518 arg2
= (int)(SWIG_As_int(obj1
));
32519 if (SWIG_arg_fail(2)) SWIG_fail
;
32522 arg3
= wxString_in_helper(obj2
);
32523 if (arg3
== NULL
) SWIG_fail
;
32526 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32527 if (SWIG_arg_fail(4)) SWIG_fail
;
32530 arg5
= wxString_in_helper(obj4
);
32531 if (arg5
== NULL
) SWIG_fail
;
32536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32537 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
32539 wxPyEndAllowThreads(__tstate
);
32540 if (PyErr_Occurred()) SWIG_fail
;
32543 resultobj
= wxPyMake_wxObject(result
, 0);
32567 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32568 PyObject
*resultobj
;
32569 wxMenu
*arg1
= (wxMenu
*) 0 ;
32570 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32571 wxMenuItem
*result
;
32572 PyObject
* obj0
= 0 ;
32573 PyObject
* obj1
= 0 ;
32574 char *kwnames
[] = {
32575 (char *) "self",(char *) "item", NULL
32578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32580 if (SWIG_arg_fail(1)) SWIG_fail
;
32581 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32582 if (SWIG_arg_fail(2)) SWIG_fail
;
32584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32585 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
32587 wxPyEndAllowThreads(__tstate
);
32588 if (PyErr_Occurred()) SWIG_fail
;
32591 resultobj
= wxPyMake_wxObject(result
, 0);
32599 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32600 PyObject
*resultobj
;
32601 wxMenu
*arg1
= (wxMenu
*) 0 ;
32602 PyObject
* obj0
= 0 ;
32603 char *kwnames
[] = {
32604 (char *) "self", NULL
32607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
32608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32609 if (SWIG_arg_fail(1)) SWIG_fail
;
32611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32614 wxPyEndAllowThreads(__tstate
);
32615 if (PyErr_Occurred()) SWIG_fail
;
32617 Py_INCREF(Py_None
); resultobj
= Py_None
;
32624 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32625 PyObject
*resultobj
;
32626 wxMenu
*arg1
= (wxMenu
*) 0 ;
32628 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
32629 wxMenuItem
*result
;
32630 PyObject
* obj0
= 0 ;
32631 PyObject
* obj1
= 0 ;
32632 PyObject
* obj2
= 0 ;
32633 char *kwnames
[] = {
32634 (char *) "self",(char *) "pos",(char *) "item", NULL
32637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32639 if (SWIG_arg_fail(1)) SWIG_fail
;
32641 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32642 if (SWIG_arg_fail(2)) SWIG_fail
;
32644 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32645 if (SWIG_arg_fail(3)) SWIG_fail
;
32647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32648 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
32650 wxPyEndAllowThreads(__tstate
);
32651 if (PyErr_Occurred()) SWIG_fail
;
32654 resultobj
= wxPyMake_wxObject(result
, 0);
32662 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32663 PyObject
*resultobj
;
32664 wxMenu
*arg1
= (wxMenu
*) 0 ;
32667 wxString
*arg4
= 0 ;
32668 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32669 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32670 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
32671 wxMenuItem
*result
;
32672 bool temp4
= false ;
32673 bool temp5
= false ;
32674 PyObject
* obj0
= 0 ;
32675 PyObject
* obj1
= 0 ;
32676 PyObject
* obj2
= 0 ;
32677 PyObject
* obj3
= 0 ;
32678 PyObject
* obj4
= 0 ;
32679 PyObject
* obj5
= 0 ;
32680 char *kwnames
[] = {
32681 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32686 if (SWIG_arg_fail(1)) SWIG_fail
;
32688 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32689 if (SWIG_arg_fail(2)) SWIG_fail
;
32692 arg3
= (int)(SWIG_As_int(obj2
));
32693 if (SWIG_arg_fail(3)) SWIG_fail
;
32696 arg4
= wxString_in_helper(obj3
);
32697 if (arg4
== NULL
) SWIG_fail
;
32702 arg5
= wxString_in_helper(obj4
);
32703 if (arg5
== NULL
) SWIG_fail
;
32709 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
32710 if (SWIG_arg_fail(6)) SWIG_fail
;
32714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32715 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
32717 wxPyEndAllowThreads(__tstate
);
32718 if (PyErr_Occurred()) SWIG_fail
;
32721 resultobj
= wxPyMake_wxObject(result
, 0);
32745 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32746 PyObject
*resultobj
;
32747 wxMenu
*arg1
= (wxMenu
*) 0 ;
32749 wxMenuItem
*result
;
32750 PyObject
* obj0
= 0 ;
32751 PyObject
* obj1
= 0 ;
32752 char *kwnames
[] = {
32753 (char *) "self",(char *) "pos", NULL
32756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
32757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32758 if (SWIG_arg_fail(1)) SWIG_fail
;
32760 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32761 if (SWIG_arg_fail(2)) SWIG_fail
;
32764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32765 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
32767 wxPyEndAllowThreads(__tstate
);
32768 if (PyErr_Occurred()) SWIG_fail
;
32771 resultobj
= wxPyMake_wxObject(result
, 0);
32779 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32780 PyObject
*resultobj
;
32781 wxMenu
*arg1
= (wxMenu
*) 0 ;
32784 wxString
*arg4
= 0 ;
32785 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32786 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32787 wxMenuItem
*result
;
32788 bool temp4
= false ;
32789 bool temp5
= false ;
32790 PyObject
* obj0
= 0 ;
32791 PyObject
* obj1
= 0 ;
32792 PyObject
* obj2
= 0 ;
32793 PyObject
* obj3
= 0 ;
32794 PyObject
* obj4
= 0 ;
32795 char *kwnames
[] = {
32796 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
32799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32801 if (SWIG_arg_fail(1)) SWIG_fail
;
32803 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32804 if (SWIG_arg_fail(2)) SWIG_fail
;
32807 arg3
= (int)(SWIG_As_int(obj2
));
32808 if (SWIG_arg_fail(3)) SWIG_fail
;
32811 arg4
= wxString_in_helper(obj3
);
32812 if (arg4
== NULL
) SWIG_fail
;
32817 arg5
= wxString_in_helper(obj4
);
32818 if (arg5
== NULL
) SWIG_fail
;
32823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32824 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
32826 wxPyEndAllowThreads(__tstate
);
32827 if (PyErr_Occurred()) SWIG_fail
;
32830 resultobj
= wxPyMake_wxObject(result
, 0);
32854 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32855 PyObject
*resultobj
;
32856 wxMenu
*arg1
= (wxMenu
*) 0 ;
32859 wxString
*arg4
= 0 ;
32860 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32861 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32862 wxMenuItem
*result
;
32863 bool temp4
= false ;
32864 bool temp5
= false ;
32865 PyObject
* obj0
= 0 ;
32866 PyObject
* obj1
= 0 ;
32867 PyObject
* obj2
= 0 ;
32868 PyObject
* obj3
= 0 ;
32869 PyObject
* obj4
= 0 ;
32870 char *kwnames
[] = {
32871 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
32874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32876 if (SWIG_arg_fail(1)) SWIG_fail
;
32878 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32879 if (SWIG_arg_fail(2)) SWIG_fail
;
32882 arg3
= (int)(SWIG_As_int(obj2
));
32883 if (SWIG_arg_fail(3)) SWIG_fail
;
32886 arg4
= wxString_in_helper(obj3
);
32887 if (arg4
== NULL
) SWIG_fail
;
32892 arg5
= wxString_in_helper(obj4
);
32893 if (arg5
== NULL
) SWIG_fail
;
32898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32899 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
32901 wxPyEndAllowThreads(__tstate
);
32902 if (PyErr_Occurred()) SWIG_fail
;
32905 resultobj
= wxPyMake_wxObject(result
, 0);
32929 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32930 PyObject
*resultobj
;
32931 wxMenu
*arg1
= (wxMenu
*) 0 ;
32934 wxString
*arg4
= 0 ;
32935 wxMenu
*arg5
= (wxMenu
*) 0 ;
32936 wxString
const &arg6_defvalue
= wxPyEmptyString
;
32937 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
32938 wxMenuItem
*result
;
32939 bool temp4
= false ;
32940 bool temp6
= false ;
32941 PyObject
* obj0
= 0 ;
32942 PyObject
* obj1
= 0 ;
32943 PyObject
* obj2
= 0 ;
32944 PyObject
* obj3
= 0 ;
32945 PyObject
* obj4
= 0 ;
32946 PyObject
* obj5
= 0 ;
32947 char *kwnames
[] = {
32948 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32953 if (SWIG_arg_fail(1)) SWIG_fail
;
32955 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32956 if (SWIG_arg_fail(2)) SWIG_fail
;
32959 arg3
= (int)(SWIG_As_int(obj2
));
32960 if (SWIG_arg_fail(3)) SWIG_fail
;
32963 arg4
= wxString_in_helper(obj3
);
32964 if (arg4
== NULL
) SWIG_fail
;
32967 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32968 if (SWIG_arg_fail(5)) SWIG_fail
;
32971 arg6
= wxString_in_helper(obj5
);
32972 if (arg6
== NULL
) SWIG_fail
;
32977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32978 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
32980 wxPyEndAllowThreads(__tstate
);
32981 if (PyErr_Occurred()) SWIG_fail
;
32984 resultobj
= wxPyMake_wxObject(result
, 0);
33008 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33009 PyObject
*resultobj
;
33010 wxMenu
*arg1
= (wxMenu
*) 0 ;
33011 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33012 wxMenuItem
*result
;
33013 PyObject
* obj0
= 0 ;
33014 PyObject
* obj1
= 0 ;
33015 char *kwnames
[] = {
33016 (char *) "self",(char *) "item", NULL
33019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33021 if (SWIG_arg_fail(1)) SWIG_fail
;
33022 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33023 if (SWIG_arg_fail(2)) SWIG_fail
;
33025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33026 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
33028 wxPyEndAllowThreads(__tstate
);
33029 if (PyErr_Occurred()) SWIG_fail
;
33032 resultobj
= wxPyMake_wxObject(result
, 0);
33040 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33041 PyObject
*resultobj
;
33042 wxMenu
*arg1
= (wxMenu
*) 0 ;
33044 wxString
*arg3
= 0 ;
33045 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33046 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33047 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
33048 wxMenuItem
*result
;
33049 bool temp3
= false ;
33050 bool temp4
= false ;
33051 PyObject
* obj0
= 0 ;
33052 PyObject
* obj1
= 0 ;
33053 PyObject
* obj2
= 0 ;
33054 PyObject
* obj3
= 0 ;
33055 PyObject
* obj4
= 0 ;
33056 char *kwnames
[] = {
33057 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33062 if (SWIG_arg_fail(1)) SWIG_fail
;
33064 arg2
= (int)(SWIG_As_int(obj1
));
33065 if (SWIG_arg_fail(2)) SWIG_fail
;
33068 arg3
= wxString_in_helper(obj2
);
33069 if (arg3
== NULL
) SWIG_fail
;
33074 arg4
= wxString_in_helper(obj3
);
33075 if (arg4
== NULL
) SWIG_fail
;
33081 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
33082 if (SWIG_arg_fail(5)) SWIG_fail
;
33086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33087 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
33089 wxPyEndAllowThreads(__tstate
);
33090 if (PyErr_Occurred()) SWIG_fail
;
33093 resultobj
= wxPyMake_wxObject(result
, 0);
33117 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33118 PyObject
*resultobj
;
33119 wxMenu
*arg1
= (wxMenu
*) 0 ;
33120 wxMenuItem
*result
;
33121 PyObject
* obj0
= 0 ;
33122 char *kwnames
[] = {
33123 (char *) "self", NULL
33126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
33127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33128 if (SWIG_arg_fail(1)) SWIG_fail
;
33130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33131 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
33133 wxPyEndAllowThreads(__tstate
);
33134 if (PyErr_Occurred()) SWIG_fail
;
33137 resultobj
= wxPyMake_wxObject(result
, 0);
33145 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33146 PyObject
*resultobj
;
33147 wxMenu
*arg1
= (wxMenu
*) 0 ;
33149 wxString
*arg3
= 0 ;
33150 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33151 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33152 wxMenuItem
*result
;
33153 bool temp3
= false ;
33154 bool temp4
= false ;
33155 PyObject
* obj0
= 0 ;
33156 PyObject
* obj1
= 0 ;
33157 PyObject
* obj2
= 0 ;
33158 PyObject
* obj3
= 0 ;
33159 char *kwnames
[] = {
33160 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33165 if (SWIG_arg_fail(1)) SWIG_fail
;
33167 arg2
= (int)(SWIG_As_int(obj1
));
33168 if (SWIG_arg_fail(2)) SWIG_fail
;
33171 arg3
= wxString_in_helper(obj2
);
33172 if (arg3
== NULL
) SWIG_fail
;
33177 arg4
= wxString_in_helper(obj3
);
33178 if (arg4
== NULL
) SWIG_fail
;
33183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33184 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33186 wxPyEndAllowThreads(__tstate
);
33187 if (PyErr_Occurred()) SWIG_fail
;
33190 resultobj
= wxPyMake_wxObject(result
, 0);
33214 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33215 PyObject
*resultobj
;
33216 wxMenu
*arg1
= (wxMenu
*) 0 ;
33218 wxString
*arg3
= 0 ;
33219 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33220 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33221 wxMenuItem
*result
;
33222 bool temp3
= false ;
33223 bool temp4
= false ;
33224 PyObject
* obj0
= 0 ;
33225 PyObject
* obj1
= 0 ;
33226 PyObject
* obj2
= 0 ;
33227 PyObject
* obj3
= 0 ;
33228 char *kwnames
[] = {
33229 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33234 if (SWIG_arg_fail(1)) SWIG_fail
;
33236 arg2
= (int)(SWIG_As_int(obj1
));
33237 if (SWIG_arg_fail(2)) SWIG_fail
;
33240 arg3
= wxString_in_helper(obj2
);
33241 if (arg3
== NULL
) SWIG_fail
;
33246 arg4
= wxString_in_helper(obj3
);
33247 if (arg4
== NULL
) SWIG_fail
;
33252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33253 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33255 wxPyEndAllowThreads(__tstate
);
33256 if (PyErr_Occurred()) SWIG_fail
;
33259 resultobj
= wxPyMake_wxObject(result
, 0);
33283 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33284 PyObject
*resultobj
;
33285 wxMenu
*arg1
= (wxMenu
*) 0 ;
33287 wxString
*arg3
= 0 ;
33288 wxMenu
*arg4
= (wxMenu
*) 0 ;
33289 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33290 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33291 wxMenuItem
*result
;
33292 bool temp3
= false ;
33293 bool temp5
= false ;
33294 PyObject
* obj0
= 0 ;
33295 PyObject
* obj1
= 0 ;
33296 PyObject
* obj2
= 0 ;
33297 PyObject
* obj3
= 0 ;
33298 PyObject
* obj4
= 0 ;
33299 char *kwnames
[] = {
33300 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33305 if (SWIG_arg_fail(1)) SWIG_fail
;
33307 arg2
= (int)(SWIG_As_int(obj1
));
33308 if (SWIG_arg_fail(2)) SWIG_fail
;
33311 arg3
= wxString_in_helper(obj2
);
33312 if (arg3
== NULL
) SWIG_fail
;
33315 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33316 if (SWIG_arg_fail(4)) SWIG_fail
;
33319 arg5
= wxString_in_helper(obj4
);
33320 if (arg5
== NULL
) SWIG_fail
;
33325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33326 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33328 wxPyEndAllowThreads(__tstate
);
33329 if (PyErr_Occurred()) SWIG_fail
;
33332 resultobj
= wxPyMake_wxObject(result
, 0);
33356 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33357 PyObject
*resultobj
;
33358 wxMenu
*arg1
= (wxMenu
*) 0 ;
33360 wxMenuItem
*result
;
33361 PyObject
* obj0
= 0 ;
33362 PyObject
* obj1
= 0 ;
33363 char *kwnames
[] = {
33364 (char *) "self",(char *) "id", NULL
33367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33369 if (SWIG_arg_fail(1)) SWIG_fail
;
33371 arg2
= (int)(SWIG_As_int(obj1
));
33372 if (SWIG_arg_fail(2)) SWIG_fail
;
33375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33376 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33378 wxPyEndAllowThreads(__tstate
);
33379 if (PyErr_Occurred()) SWIG_fail
;
33382 resultobj
= wxPyMake_wxObject(result
, 0);
33390 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33391 PyObject
*resultobj
;
33392 wxMenu
*arg1
= (wxMenu
*) 0 ;
33393 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33394 wxMenuItem
*result
;
33395 PyObject
* obj0
= 0 ;
33396 PyObject
* obj1
= 0 ;
33397 char *kwnames
[] = {
33398 (char *) "self",(char *) "item", NULL
33401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33403 if (SWIG_arg_fail(1)) SWIG_fail
;
33404 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33405 if (SWIG_arg_fail(2)) SWIG_fail
;
33407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33408 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33410 wxPyEndAllowThreads(__tstate
);
33411 if (PyErr_Occurred()) SWIG_fail
;
33414 resultobj
= wxPyMake_wxObject(result
, 0);
33422 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33423 PyObject
*resultobj
;
33424 wxMenu
*arg1
= (wxMenu
*) 0 ;
33427 PyObject
* obj0
= 0 ;
33428 PyObject
* obj1
= 0 ;
33429 char *kwnames
[] = {
33430 (char *) "self",(char *) "id", NULL
33433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33435 if (SWIG_arg_fail(1)) SWIG_fail
;
33437 arg2
= (int)(SWIG_As_int(obj1
));
33438 if (SWIG_arg_fail(2)) SWIG_fail
;
33441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33442 result
= (bool)(arg1
)->Delete(arg2
);
33444 wxPyEndAllowThreads(__tstate
);
33445 if (PyErr_Occurred()) SWIG_fail
;
33448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33456 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33457 PyObject
*resultobj
;
33458 wxMenu
*arg1
= (wxMenu
*) 0 ;
33459 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33461 PyObject
* obj0
= 0 ;
33462 PyObject
* obj1
= 0 ;
33463 char *kwnames
[] = {
33464 (char *) "self",(char *) "item", NULL
33467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33469 if (SWIG_arg_fail(1)) SWIG_fail
;
33470 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33471 if (SWIG_arg_fail(2)) SWIG_fail
;
33473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33474 result
= (bool)(arg1
)->Delete(arg2
);
33476 wxPyEndAllowThreads(__tstate
);
33477 if (PyErr_Occurred()) SWIG_fail
;
33480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33488 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33489 PyObject
*resultobj
;
33490 wxMenu
*arg1
= (wxMenu
*) 0 ;
33491 PyObject
* obj0
= 0 ;
33492 char *kwnames
[] = {
33493 (char *) "self", NULL
33496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
33497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33498 if (SWIG_arg_fail(1)) SWIG_fail
;
33500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33501 wxMenu_Destroy(arg1
);
33503 wxPyEndAllowThreads(__tstate
);
33504 if (PyErr_Occurred()) SWIG_fail
;
33506 Py_INCREF(Py_None
); resultobj
= Py_None
;
33513 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33514 PyObject
*resultobj
;
33515 wxMenu
*arg1
= (wxMenu
*) 0 ;
33518 PyObject
* obj0
= 0 ;
33519 PyObject
* obj1
= 0 ;
33520 char *kwnames
[] = {
33521 (char *) "self",(char *) "id", NULL
33524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
33525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33526 if (SWIG_arg_fail(1)) SWIG_fail
;
33528 arg2
= (int)(SWIG_As_int(obj1
));
33529 if (SWIG_arg_fail(2)) SWIG_fail
;
33532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33533 result
= (bool)(arg1
)->Destroy(arg2
);
33535 wxPyEndAllowThreads(__tstate
);
33536 if (PyErr_Occurred()) SWIG_fail
;
33539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33547 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33548 PyObject
*resultobj
;
33549 wxMenu
*arg1
= (wxMenu
*) 0 ;
33550 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33552 PyObject
* obj0
= 0 ;
33553 PyObject
* obj1
= 0 ;
33554 char *kwnames
[] = {
33555 (char *) "self",(char *) "item", NULL
33558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33560 if (SWIG_arg_fail(1)) SWIG_fail
;
33561 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33562 if (SWIG_arg_fail(2)) SWIG_fail
;
33564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33565 result
= (bool)(arg1
)->Destroy(arg2
);
33567 wxPyEndAllowThreads(__tstate
);
33568 if (PyErr_Occurred()) SWIG_fail
;
33571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33579 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33580 PyObject
*resultobj
;
33581 wxMenu
*arg1
= (wxMenu
*) 0 ;
33583 PyObject
* obj0
= 0 ;
33584 char *kwnames
[] = {
33585 (char *) "self", NULL
33588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
33589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33590 if (SWIG_arg_fail(1)) SWIG_fail
;
33592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33593 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
33595 wxPyEndAllowThreads(__tstate
);
33596 if (PyErr_Occurred()) SWIG_fail
;
33599 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
33607 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33608 PyObject
*resultobj
;
33609 wxMenu
*arg1
= (wxMenu
*) 0 ;
33611 PyObject
* obj0
= 0 ;
33612 char *kwnames
[] = {
33613 (char *) "self", NULL
33616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
33617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33618 if (SWIG_arg_fail(1)) SWIG_fail
;
33620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33621 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
33623 wxPyEndAllowThreads(__tstate
);
33624 if (PyErr_Occurred()) SWIG_fail
;
33626 resultobj
= result
;
33633 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33634 PyObject
*resultobj
;
33635 wxMenu
*arg1
= (wxMenu
*) 0 ;
33636 wxString
*arg2
= 0 ;
33638 bool temp2
= false ;
33639 PyObject
* obj0
= 0 ;
33640 PyObject
* obj1
= 0 ;
33641 char *kwnames
[] = {
33642 (char *) "self",(char *) "item", NULL
33645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33647 if (SWIG_arg_fail(1)) SWIG_fail
;
33649 arg2
= wxString_in_helper(obj1
);
33650 if (arg2
== NULL
) SWIG_fail
;
33654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33655 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
33657 wxPyEndAllowThreads(__tstate
);
33658 if (PyErr_Occurred()) SWIG_fail
;
33661 resultobj
= SWIG_From_int((int)(result
));
33677 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33678 PyObject
*resultobj
;
33679 wxMenu
*arg1
= (wxMenu
*) 0 ;
33681 wxMenuItem
*result
;
33682 PyObject
* obj0
= 0 ;
33683 PyObject
* obj1
= 0 ;
33684 char *kwnames
[] = {
33685 (char *) "self",(char *) "id", NULL
33688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
33689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33690 if (SWIG_arg_fail(1)) SWIG_fail
;
33692 arg2
= (int)(SWIG_As_int(obj1
));
33693 if (SWIG_arg_fail(2)) SWIG_fail
;
33696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33697 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
33699 wxPyEndAllowThreads(__tstate
);
33700 if (PyErr_Occurred()) SWIG_fail
;
33703 resultobj
= wxPyMake_wxObject(result
, 0);
33711 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33712 PyObject
*resultobj
;
33713 wxMenu
*arg1
= (wxMenu
*) 0 ;
33715 wxMenuItem
*result
;
33716 PyObject
* obj0
= 0 ;
33717 PyObject
* obj1
= 0 ;
33718 char *kwnames
[] = {
33719 (char *) "self",(char *) "position", NULL
33722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33724 if (SWIG_arg_fail(1)) SWIG_fail
;
33726 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33727 if (SWIG_arg_fail(2)) SWIG_fail
;
33730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33731 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
33733 wxPyEndAllowThreads(__tstate
);
33734 if (PyErr_Occurred()) SWIG_fail
;
33737 resultobj
= wxPyMake_wxObject(result
, 0);
33745 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33746 PyObject
*resultobj
;
33747 wxMenu
*arg1
= (wxMenu
*) 0 ;
33750 PyObject
* obj0
= 0 ;
33751 PyObject
* obj1
= 0 ;
33752 PyObject
* obj2
= 0 ;
33753 char *kwnames
[] = {
33754 (char *) "self",(char *) "id",(char *) "enable", NULL
33757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33759 if (SWIG_arg_fail(1)) SWIG_fail
;
33761 arg2
= (int)(SWIG_As_int(obj1
));
33762 if (SWIG_arg_fail(2)) SWIG_fail
;
33765 arg3
= (bool)(SWIG_As_bool(obj2
));
33766 if (SWIG_arg_fail(3)) SWIG_fail
;
33769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33770 (arg1
)->Enable(arg2
,arg3
);
33772 wxPyEndAllowThreads(__tstate
);
33773 if (PyErr_Occurred()) SWIG_fail
;
33775 Py_INCREF(Py_None
); resultobj
= Py_None
;
33782 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33783 PyObject
*resultobj
;
33784 wxMenu
*arg1
= (wxMenu
*) 0 ;
33787 PyObject
* obj0
= 0 ;
33788 PyObject
* obj1
= 0 ;
33789 char *kwnames
[] = {
33790 (char *) "self",(char *) "id", NULL
33793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
33794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33795 if (SWIG_arg_fail(1)) SWIG_fail
;
33797 arg2
= (int)(SWIG_As_int(obj1
));
33798 if (SWIG_arg_fail(2)) SWIG_fail
;
33801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33802 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
33804 wxPyEndAllowThreads(__tstate
);
33805 if (PyErr_Occurred()) SWIG_fail
;
33808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33816 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33817 PyObject
*resultobj
;
33818 wxMenu
*arg1
= (wxMenu
*) 0 ;
33821 PyObject
* obj0
= 0 ;
33822 PyObject
* obj1
= 0 ;
33823 PyObject
* obj2
= 0 ;
33824 char *kwnames
[] = {
33825 (char *) "self",(char *) "id",(char *) "check", NULL
33828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33830 if (SWIG_arg_fail(1)) SWIG_fail
;
33832 arg2
= (int)(SWIG_As_int(obj1
));
33833 if (SWIG_arg_fail(2)) SWIG_fail
;
33836 arg3
= (bool)(SWIG_As_bool(obj2
));
33837 if (SWIG_arg_fail(3)) SWIG_fail
;
33840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33841 (arg1
)->Check(arg2
,arg3
);
33843 wxPyEndAllowThreads(__tstate
);
33844 if (PyErr_Occurred()) SWIG_fail
;
33846 Py_INCREF(Py_None
); resultobj
= Py_None
;
33853 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33854 PyObject
*resultobj
;
33855 wxMenu
*arg1
= (wxMenu
*) 0 ;
33858 PyObject
* obj0
= 0 ;
33859 PyObject
* obj1
= 0 ;
33860 char *kwnames
[] = {
33861 (char *) "self",(char *) "id", NULL
33864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
33865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33866 if (SWIG_arg_fail(1)) SWIG_fail
;
33868 arg2
= (int)(SWIG_As_int(obj1
));
33869 if (SWIG_arg_fail(2)) SWIG_fail
;
33872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33873 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
33875 wxPyEndAllowThreads(__tstate
);
33876 if (PyErr_Occurred()) SWIG_fail
;
33879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33887 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33888 PyObject
*resultobj
;
33889 wxMenu
*arg1
= (wxMenu
*) 0 ;
33891 wxString
*arg3
= 0 ;
33892 bool temp3
= false ;
33893 PyObject
* obj0
= 0 ;
33894 PyObject
* obj1
= 0 ;
33895 PyObject
* obj2
= 0 ;
33896 char *kwnames
[] = {
33897 (char *) "self",(char *) "id",(char *) "label", NULL
33900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33902 if (SWIG_arg_fail(1)) SWIG_fail
;
33904 arg2
= (int)(SWIG_As_int(obj1
));
33905 if (SWIG_arg_fail(2)) SWIG_fail
;
33908 arg3
= wxString_in_helper(obj2
);
33909 if (arg3
== NULL
) SWIG_fail
;
33913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33914 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
33916 wxPyEndAllowThreads(__tstate
);
33917 if (PyErr_Occurred()) SWIG_fail
;
33919 Py_INCREF(Py_None
); resultobj
= Py_None
;
33934 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33935 PyObject
*resultobj
;
33936 wxMenu
*arg1
= (wxMenu
*) 0 ;
33939 PyObject
* obj0
= 0 ;
33940 PyObject
* obj1
= 0 ;
33941 char *kwnames
[] = {
33942 (char *) "self",(char *) "id", NULL
33945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33947 if (SWIG_arg_fail(1)) SWIG_fail
;
33949 arg2
= (int)(SWIG_As_int(obj1
));
33950 if (SWIG_arg_fail(2)) SWIG_fail
;
33953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33954 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
33956 wxPyEndAllowThreads(__tstate
);
33957 if (PyErr_Occurred()) SWIG_fail
;
33961 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33963 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33972 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33973 PyObject
*resultobj
;
33974 wxMenu
*arg1
= (wxMenu
*) 0 ;
33976 wxString
*arg3
= 0 ;
33977 bool temp3
= false ;
33978 PyObject
* obj0
= 0 ;
33979 PyObject
* obj1
= 0 ;
33980 PyObject
* obj2
= 0 ;
33981 char *kwnames
[] = {
33982 (char *) "self",(char *) "id",(char *) "helpString", NULL
33985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33987 if (SWIG_arg_fail(1)) SWIG_fail
;
33989 arg2
= (int)(SWIG_As_int(obj1
));
33990 if (SWIG_arg_fail(2)) SWIG_fail
;
33993 arg3
= wxString_in_helper(obj2
);
33994 if (arg3
== NULL
) SWIG_fail
;
33998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33999 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
34001 wxPyEndAllowThreads(__tstate
);
34002 if (PyErr_Occurred()) SWIG_fail
;
34004 Py_INCREF(Py_None
); resultobj
= Py_None
;
34019 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34020 PyObject
*resultobj
;
34021 wxMenu
*arg1
= (wxMenu
*) 0 ;
34024 PyObject
* obj0
= 0 ;
34025 PyObject
* obj1
= 0 ;
34026 char *kwnames
[] = {
34027 (char *) "self",(char *) "id", NULL
34030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
34031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34032 if (SWIG_arg_fail(1)) SWIG_fail
;
34034 arg2
= (int)(SWIG_As_int(obj1
));
34035 if (SWIG_arg_fail(2)) SWIG_fail
;
34038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34039 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
34041 wxPyEndAllowThreads(__tstate
);
34042 if (PyErr_Occurred()) SWIG_fail
;
34046 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34048 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34057 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34058 PyObject
*resultobj
;
34059 wxMenu
*arg1
= (wxMenu
*) 0 ;
34060 wxString
*arg2
= 0 ;
34061 bool temp2
= false ;
34062 PyObject
* obj0
= 0 ;
34063 PyObject
* obj1
= 0 ;
34064 char *kwnames
[] = {
34065 (char *) "self",(char *) "title", NULL
34068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
34069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34070 if (SWIG_arg_fail(1)) SWIG_fail
;
34072 arg2
= wxString_in_helper(obj1
);
34073 if (arg2
== NULL
) SWIG_fail
;
34077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34078 (arg1
)->SetTitle((wxString
const &)*arg2
);
34080 wxPyEndAllowThreads(__tstate
);
34081 if (PyErr_Occurred()) SWIG_fail
;
34083 Py_INCREF(Py_None
); resultobj
= Py_None
;
34098 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34099 PyObject
*resultobj
;
34100 wxMenu
*arg1
= (wxMenu
*) 0 ;
34102 PyObject
* obj0
= 0 ;
34103 char *kwnames
[] = {
34104 (char *) "self", NULL
34107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
34108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34109 if (SWIG_arg_fail(1)) SWIG_fail
;
34111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34112 result
= ((wxMenu
const *)arg1
)->GetTitle();
34114 wxPyEndAllowThreads(__tstate
);
34115 if (PyErr_Occurred()) SWIG_fail
;
34119 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34121 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34130 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34131 PyObject
*resultobj
;
34132 wxMenu
*arg1
= (wxMenu
*) 0 ;
34133 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
34134 PyObject
* obj0
= 0 ;
34135 PyObject
* obj1
= 0 ;
34136 char *kwnames
[] = {
34137 (char *) "self",(char *) "handler", NULL
34140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
34141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34142 if (SWIG_arg_fail(1)) SWIG_fail
;
34143 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34144 if (SWIG_arg_fail(2)) SWIG_fail
;
34146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34147 (arg1
)->SetEventHandler(arg2
);
34149 wxPyEndAllowThreads(__tstate
);
34150 if (PyErr_Occurred()) SWIG_fail
;
34152 Py_INCREF(Py_None
); resultobj
= Py_None
;
34159 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34160 PyObject
*resultobj
;
34161 wxMenu
*arg1
= (wxMenu
*) 0 ;
34162 wxEvtHandler
*result
;
34163 PyObject
* obj0
= 0 ;
34164 char *kwnames
[] = {
34165 (char *) "self", NULL
34168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
34169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34170 if (SWIG_arg_fail(1)) SWIG_fail
;
34172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34173 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
34175 wxPyEndAllowThreads(__tstate
);
34176 if (PyErr_Occurred()) SWIG_fail
;
34179 resultobj
= wxPyMake_wxObject(result
, 0);
34187 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34188 PyObject
*resultobj
;
34189 wxMenu
*arg1
= (wxMenu
*) 0 ;
34190 wxWindow
*arg2
= (wxWindow
*) 0 ;
34191 PyObject
* obj0
= 0 ;
34192 PyObject
* obj1
= 0 ;
34193 char *kwnames
[] = {
34194 (char *) "self",(char *) "win", NULL
34197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34199 if (SWIG_arg_fail(1)) SWIG_fail
;
34200 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34201 if (SWIG_arg_fail(2)) SWIG_fail
;
34203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34204 (arg1
)->SetInvokingWindow(arg2
);
34206 wxPyEndAllowThreads(__tstate
);
34207 if (PyErr_Occurred()) SWIG_fail
;
34209 Py_INCREF(Py_None
); resultobj
= Py_None
;
34216 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34217 PyObject
*resultobj
;
34218 wxMenu
*arg1
= (wxMenu
*) 0 ;
34220 PyObject
* obj0
= 0 ;
34221 char *kwnames
[] = {
34222 (char *) "self", NULL
34225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
34226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34227 if (SWIG_arg_fail(1)) SWIG_fail
;
34229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34230 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
34232 wxPyEndAllowThreads(__tstate
);
34233 if (PyErr_Occurred()) SWIG_fail
;
34236 resultobj
= wxPyMake_wxObject(result
, 0);
34244 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34245 PyObject
*resultobj
;
34246 wxMenu
*arg1
= (wxMenu
*) 0 ;
34248 PyObject
* obj0
= 0 ;
34249 char *kwnames
[] = {
34250 (char *) "self", NULL
34253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
34254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34255 if (SWIG_arg_fail(1)) SWIG_fail
;
34257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34258 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
34260 wxPyEndAllowThreads(__tstate
);
34261 if (PyErr_Occurred()) SWIG_fail
;
34264 resultobj
= SWIG_From_long((long)(result
));
34272 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34273 PyObject
*resultobj
;
34274 wxMenu
*arg1
= (wxMenu
*) 0 ;
34275 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
34276 PyObject
* obj0
= 0 ;
34277 PyObject
* obj1
= 0 ;
34278 char *kwnames
[] = {
34279 (char *) "self",(char *) "source", NULL
34282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
34283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34284 if (SWIG_arg_fail(1)) SWIG_fail
;
34286 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34287 if (SWIG_arg_fail(2)) SWIG_fail
;
34290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34291 (arg1
)->UpdateUI(arg2
);
34293 wxPyEndAllowThreads(__tstate
);
34294 if (PyErr_Occurred()) SWIG_fail
;
34296 Py_INCREF(Py_None
); resultobj
= Py_None
;
34303 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34304 PyObject
*resultobj
;
34305 wxMenu
*arg1
= (wxMenu
*) 0 ;
34307 PyObject
* obj0
= 0 ;
34308 char *kwnames
[] = {
34309 (char *) "self", NULL
34312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
34313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34314 if (SWIG_arg_fail(1)) SWIG_fail
;
34316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34317 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
34319 wxPyEndAllowThreads(__tstate
);
34320 if (PyErr_Occurred()) SWIG_fail
;
34323 resultobj
= wxPyMake_wxObject(result
, 0);
34331 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34332 PyObject
*resultobj
;
34333 wxMenu
*arg1
= (wxMenu
*) 0 ;
34334 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
34335 PyObject
* obj0
= 0 ;
34336 PyObject
* obj1
= 0 ;
34337 char *kwnames
[] = {
34338 (char *) "self",(char *) "menubar", NULL
34341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
34342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34343 if (SWIG_arg_fail(1)) SWIG_fail
;
34344 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
34345 if (SWIG_arg_fail(2)) SWIG_fail
;
34347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34348 (arg1
)->Attach(arg2
);
34350 wxPyEndAllowThreads(__tstate
);
34351 if (PyErr_Occurred()) SWIG_fail
;
34353 Py_INCREF(Py_None
); resultobj
= Py_None
;
34360 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34361 PyObject
*resultobj
;
34362 wxMenu
*arg1
= (wxMenu
*) 0 ;
34363 PyObject
* obj0
= 0 ;
34364 char *kwnames
[] = {
34365 (char *) "self", NULL
34368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
34369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34370 if (SWIG_arg_fail(1)) SWIG_fail
;
34372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34375 wxPyEndAllowThreads(__tstate
);
34376 if (PyErr_Occurred()) SWIG_fail
;
34378 Py_INCREF(Py_None
); resultobj
= Py_None
;
34385 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34386 PyObject
*resultobj
;
34387 wxMenu
*arg1
= (wxMenu
*) 0 ;
34389 PyObject
* obj0
= 0 ;
34390 char *kwnames
[] = {
34391 (char *) "self", NULL
34394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
34395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34396 if (SWIG_arg_fail(1)) SWIG_fail
;
34398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34399 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
34401 wxPyEndAllowThreads(__tstate
);
34402 if (PyErr_Occurred()) SWIG_fail
;
34405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34413 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34414 PyObject
*resultobj
;
34415 wxMenu
*arg1
= (wxMenu
*) 0 ;
34416 wxMenu
*arg2
= (wxMenu
*) 0 ;
34417 PyObject
* obj0
= 0 ;
34418 PyObject
* obj1
= 0 ;
34419 char *kwnames
[] = {
34420 (char *) "self",(char *) "parent", NULL
34423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
34424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34425 if (SWIG_arg_fail(1)) SWIG_fail
;
34426 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34427 if (SWIG_arg_fail(2)) SWIG_fail
;
34429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34430 (arg1
)->SetParent(arg2
);
34432 wxPyEndAllowThreads(__tstate
);
34433 if (PyErr_Occurred()) SWIG_fail
;
34435 Py_INCREF(Py_None
); resultobj
= Py_None
;
34442 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34443 PyObject
*resultobj
;
34444 wxMenu
*arg1
= (wxMenu
*) 0 ;
34446 PyObject
* obj0
= 0 ;
34447 char *kwnames
[] = {
34448 (char *) "self", NULL
34451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
34452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34453 if (SWIG_arg_fail(1)) SWIG_fail
;
34455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34456 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
34458 wxPyEndAllowThreads(__tstate
);
34459 if (PyErr_Occurred()) SWIG_fail
;
34462 resultobj
= wxPyMake_wxObject(result
, 0);
34470 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
34472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34473 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
34475 return Py_BuildValue((char *)"");
34477 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34478 PyObject
*resultobj
;
34479 long arg1
= (long) 0 ;
34481 PyObject
* obj0
= 0 ;
34482 char *kwnames
[] = {
34483 (char *) "style", NULL
34486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
34489 arg1
= (long)(SWIG_As_long(obj0
));
34490 if (SWIG_arg_fail(1)) SWIG_fail
;
34494 if (!wxPyCheckForApp()) SWIG_fail
;
34495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34496 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
34498 wxPyEndAllowThreads(__tstate
);
34499 if (PyErr_Occurred()) SWIG_fail
;
34501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
34508 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34509 PyObject
*resultobj
;
34510 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34511 wxMenu
*arg2
= (wxMenu
*) 0 ;
34512 wxString
*arg3
= 0 ;
34514 bool temp3
= false ;
34515 PyObject
* obj0
= 0 ;
34516 PyObject
* obj1
= 0 ;
34517 PyObject
* obj2
= 0 ;
34518 char *kwnames
[] = {
34519 (char *) "self",(char *) "menu",(char *) "title", NULL
34522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34524 if (SWIG_arg_fail(1)) SWIG_fail
;
34525 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34526 if (SWIG_arg_fail(2)) SWIG_fail
;
34528 arg3
= wxString_in_helper(obj2
);
34529 if (arg3
== NULL
) SWIG_fail
;
34533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34534 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
34536 wxPyEndAllowThreads(__tstate
);
34537 if (PyErr_Occurred()) SWIG_fail
;
34540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34556 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34557 PyObject
*resultobj
;
34558 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34560 wxMenu
*arg3
= (wxMenu
*) 0 ;
34561 wxString
*arg4
= 0 ;
34563 bool temp4
= false ;
34564 PyObject
* obj0
= 0 ;
34565 PyObject
* obj1
= 0 ;
34566 PyObject
* obj2
= 0 ;
34567 PyObject
* obj3
= 0 ;
34568 char *kwnames
[] = {
34569 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34574 if (SWIG_arg_fail(1)) SWIG_fail
;
34576 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34577 if (SWIG_arg_fail(2)) SWIG_fail
;
34579 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34580 if (SWIG_arg_fail(3)) SWIG_fail
;
34582 arg4
= wxString_in_helper(obj3
);
34583 if (arg4
== NULL
) SWIG_fail
;
34587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34588 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
34590 wxPyEndAllowThreads(__tstate
);
34591 if (PyErr_Occurred()) SWIG_fail
;
34594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34610 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34611 PyObject
*resultobj
;
34612 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34614 PyObject
* obj0
= 0 ;
34615 char *kwnames
[] = {
34616 (char *) "self", NULL
34619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
34620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34621 if (SWIG_arg_fail(1)) SWIG_fail
;
34623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34624 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
34626 wxPyEndAllowThreads(__tstate
);
34627 if (PyErr_Occurred()) SWIG_fail
;
34630 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34638 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34639 PyObject
*resultobj
;
34640 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34643 PyObject
* obj0
= 0 ;
34644 PyObject
* obj1
= 0 ;
34645 char *kwnames
[] = {
34646 (char *) "self",(char *) "pos", NULL
34649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
34650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34651 if (SWIG_arg_fail(1)) SWIG_fail
;
34653 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34654 if (SWIG_arg_fail(2)) SWIG_fail
;
34657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34658 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
34660 wxPyEndAllowThreads(__tstate
);
34661 if (PyErr_Occurred()) SWIG_fail
;
34664 resultobj
= wxPyMake_wxObject(result
, 0);
34672 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34673 PyObject
*resultobj
;
34674 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34676 wxMenu
*arg3
= (wxMenu
*) 0 ;
34677 wxString
*arg4
= 0 ;
34679 bool temp4
= false ;
34680 PyObject
* obj0
= 0 ;
34681 PyObject
* obj1
= 0 ;
34682 PyObject
* obj2
= 0 ;
34683 PyObject
* obj3
= 0 ;
34684 char *kwnames
[] = {
34685 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34690 if (SWIG_arg_fail(1)) SWIG_fail
;
34692 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34693 if (SWIG_arg_fail(2)) SWIG_fail
;
34695 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34696 if (SWIG_arg_fail(3)) SWIG_fail
;
34698 arg4
= wxString_in_helper(obj3
);
34699 if (arg4
== NULL
) SWIG_fail
;
34703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34704 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
34706 wxPyEndAllowThreads(__tstate
);
34707 if (PyErr_Occurred()) SWIG_fail
;
34710 resultobj
= wxPyMake_wxObject(result
, 0);
34726 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34727 PyObject
*resultobj
;
34728 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34731 PyObject
* obj0
= 0 ;
34732 PyObject
* obj1
= 0 ;
34733 char *kwnames
[] = {
34734 (char *) "self",(char *) "pos", NULL
34737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
34738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34739 if (SWIG_arg_fail(1)) SWIG_fail
;
34741 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34742 if (SWIG_arg_fail(2)) SWIG_fail
;
34745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34746 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
34748 wxPyEndAllowThreads(__tstate
);
34749 if (PyErr_Occurred()) SWIG_fail
;
34752 resultobj
= wxPyMake_wxObject(result
, 0);
34760 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34761 PyObject
*resultobj
;
34762 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34765 PyObject
* obj0
= 0 ;
34766 PyObject
* obj1
= 0 ;
34767 PyObject
* obj2
= 0 ;
34768 char *kwnames
[] = {
34769 (char *) "self",(char *) "pos",(char *) "enable", NULL
34772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34774 if (SWIG_arg_fail(1)) SWIG_fail
;
34776 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34777 if (SWIG_arg_fail(2)) SWIG_fail
;
34780 arg3
= (bool)(SWIG_As_bool(obj2
));
34781 if (SWIG_arg_fail(3)) SWIG_fail
;
34784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34785 (arg1
)->EnableTop(arg2
,arg3
);
34787 wxPyEndAllowThreads(__tstate
);
34788 if (PyErr_Occurred()) SWIG_fail
;
34790 Py_INCREF(Py_None
); resultobj
= Py_None
;
34797 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34798 PyObject
*resultobj
;
34799 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34802 PyObject
* obj0
= 0 ;
34803 PyObject
* obj1
= 0 ;
34804 char *kwnames
[] = {
34805 (char *) "self",(char *) "pos", NULL
34808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
34809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34810 if (SWIG_arg_fail(1)) SWIG_fail
;
34812 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34813 if (SWIG_arg_fail(2)) SWIG_fail
;
34816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34817 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
34819 wxPyEndAllowThreads(__tstate
);
34820 if (PyErr_Occurred()) SWIG_fail
;
34823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34831 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34832 PyObject
*resultobj
;
34833 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34835 wxString
*arg3
= 0 ;
34836 bool temp3
= false ;
34837 PyObject
* obj0
= 0 ;
34838 PyObject
* obj1
= 0 ;
34839 PyObject
* obj2
= 0 ;
34840 char *kwnames
[] = {
34841 (char *) "self",(char *) "pos",(char *) "label", NULL
34844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34846 if (SWIG_arg_fail(1)) SWIG_fail
;
34848 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34849 if (SWIG_arg_fail(2)) SWIG_fail
;
34852 arg3
= wxString_in_helper(obj2
);
34853 if (arg3
== NULL
) SWIG_fail
;
34857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34858 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
34860 wxPyEndAllowThreads(__tstate
);
34861 if (PyErr_Occurred()) SWIG_fail
;
34863 Py_INCREF(Py_None
); resultobj
= Py_None
;
34878 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34879 PyObject
*resultobj
;
34880 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34883 PyObject
* obj0
= 0 ;
34884 PyObject
* obj1
= 0 ;
34885 char *kwnames
[] = {
34886 (char *) "self",(char *) "pos", NULL
34889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
34890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34891 if (SWIG_arg_fail(1)) SWIG_fail
;
34893 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34894 if (SWIG_arg_fail(2)) SWIG_fail
;
34897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34898 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
34900 wxPyEndAllowThreads(__tstate
);
34901 if (PyErr_Occurred()) SWIG_fail
;
34905 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34907 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34916 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34917 PyObject
*resultobj
;
34918 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34919 wxString
*arg2
= 0 ;
34920 wxString
*arg3
= 0 ;
34922 bool temp2
= false ;
34923 bool temp3
= false ;
34924 PyObject
* obj0
= 0 ;
34925 PyObject
* obj1
= 0 ;
34926 PyObject
* obj2
= 0 ;
34927 char *kwnames
[] = {
34928 (char *) "self",(char *) "menu",(char *) "item", NULL
34931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34933 if (SWIG_arg_fail(1)) SWIG_fail
;
34935 arg2
= wxString_in_helper(obj1
);
34936 if (arg2
== NULL
) SWIG_fail
;
34940 arg3
= wxString_in_helper(obj2
);
34941 if (arg3
== NULL
) SWIG_fail
;
34945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34946 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
34948 wxPyEndAllowThreads(__tstate
);
34949 if (PyErr_Occurred()) SWIG_fail
;
34952 resultobj
= SWIG_From_int((int)(result
));
34976 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34977 PyObject
*resultobj
;
34978 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34980 wxMenuItem
*result
;
34981 PyObject
* obj0
= 0 ;
34982 PyObject
* obj1
= 0 ;
34983 char *kwnames
[] = {
34984 (char *) "self",(char *) "id", NULL
34987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34989 if (SWIG_arg_fail(1)) SWIG_fail
;
34991 arg2
= (int)(SWIG_As_int(obj1
));
34992 if (SWIG_arg_fail(2)) SWIG_fail
;
34995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34996 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
34998 wxPyEndAllowThreads(__tstate
);
34999 if (PyErr_Occurred()) SWIG_fail
;
35002 resultobj
= wxPyMake_wxObject(result
, 0);
35010 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35011 PyObject
*resultobj
;
35012 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35013 wxString
*arg2
= 0 ;
35015 bool temp2
= false ;
35016 PyObject
* obj0
= 0 ;
35017 PyObject
* obj1
= 0 ;
35018 char *kwnames
[] = {
35019 (char *) "self",(char *) "title", NULL
35022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35024 if (SWIG_arg_fail(1)) SWIG_fail
;
35026 arg2
= wxString_in_helper(obj1
);
35027 if (arg2
== NULL
) SWIG_fail
;
35031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35032 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
35034 wxPyEndAllowThreads(__tstate
);
35035 if (PyErr_Occurred()) SWIG_fail
;
35038 resultobj
= SWIG_From_int((int)(result
));
35054 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35055 PyObject
*resultobj
;
35056 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35059 PyObject
* obj0
= 0 ;
35060 PyObject
* obj1
= 0 ;
35061 PyObject
* obj2
= 0 ;
35062 char *kwnames
[] = {
35063 (char *) "self",(char *) "id",(char *) "enable", NULL
35066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35068 if (SWIG_arg_fail(1)) SWIG_fail
;
35070 arg2
= (int)(SWIG_As_int(obj1
));
35071 if (SWIG_arg_fail(2)) SWIG_fail
;
35074 arg3
= (bool)(SWIG_As_bool(obj2
));
35075 if (SWIG_arg_fail(3)) SWIG_fail
;
35078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35079 (arg1
)->Enable(arg2
,arg3
);
35081 wxPyEndAllowThreads(__tstate
);
35082 if (PyErr_Occurred()) SWIG_fail
;
35084 Py_INCREF(Py_None
); resultobj
= Py_None
;
35091 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35092 PyObject
*resultobj
;
35093 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35096 PyObject
* obj0
= 0 ;
35097 PyObject
* obj1
= 0 ;
35098 PyObject
* obj2
= 0 ;
35099 char *kwnames
[] = {
35100 (char *) "self",(char *) "id",(char *) "check", NULL
35103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg3
= (bool)(SWIG_As_bool(obj2
));
35112 if (SWIG_arg_fail(3)) SWIG_fail
;
35115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35116 (arg1
)->Check(arg2
,arg3
);
35118 wxPyEndAllowThreads(__tstate
);
35119 if (PyErr_Occurred()) SWIG_fail
;
35121 Py_INCREF(Py_None
); resultobj
= Py_None
;
35128 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35129 PyObject
*resultobj
;
35130 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35133 PyObject
* obj0
= 0 ;
35134 PyObject
* obj1
= 0 ;
35135 char *kwnames
[] = {
35136 (char *) "self",(char *) "id", NULL
35139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35148 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
35150 wxPyEndAllowThreads(__tstate
);
35151 if (PyErr_Occurred()) SWIG_fail
;
35154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35162 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35163 PyObject
*resultobj
;
35164 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35167 PyObject
* obj0
= 0 ;
35168 PyObject
* obj1
= 0 ;
35169 char *kwnames
[] = {
35170 (char *) "self",(char *) "id", NULL
35173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
35174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35175 if (SWIG_arg_fail(1)) SWIG_fail
;
35177 arg2
= (int)(SWIG_As_int(obj1
));
35178 if (SWIG_arg_fail(2)) SWIG_fail
;
35181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35182 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
35184 wxPyEndAllowThreads(__tstate
);
35185 if (PyErr_Occurred()) SWIG_fail
;
35188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35196 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35197 PyObject
*resultobj
;
35198 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35200 wxString
*arg3
= 0 ;
35201 bool temp3
= false ;
35202 PyObject
* obj0
= 0 ;
35203 PyObject
* obj1
= 0 ;
35204 PyObject
* obj2
= 0 ;
35205 char *kwnames
[] = {
35206 (char *) "self",(char *) "id",(char *) "label", NULL
35209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35211 if (SWIG_arg_fail(1)) SWIG_fail
;
35213 arg2
= (int)(SWIG_As_int(obj1
));
35214 if (SWIG_arg_fail(2)) SWIG_fail
;
35217 arg3
= wxString_in_helper(obj2
);
35218 if (arg3
== NULL
) SWIG_fail
;
35222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35223 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
35225 wxPyEndAllowThreads(__tstate
);
35226 if (PyErr_Occurred()) SWIG_fail
;
35228 Py_INCREF(Py_None
); resultobj
= Py_None
;
35243 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35244 PyObject
*resultobj
;
35245 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35248 PyObject
* obj0
= 0 ;
35249 PyObject
* obj1
= 0 ;
35250 char *kwnames
[] = {
35251 (char *) "self",(char *) "id", NULL
35254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
35255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35256 if (SWIG_arg_fail(1)) SWIG_fail
;
35258 arg2
= (int)(SWIG_As_int(obj1
));
35259 if (SWIG_arg_fail(2)) SWIG_fail
;
35262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35263 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
35265 wxPyEndAllowThreads(__tstate
);
35266 if (PyErr_Occurred()) SWIG_fail
;
35270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35281 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35282 PyObject
*resultobj
;
35283 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35285 wxString
*arg3
= 0 ;
35286 bool temp3
= false ;
35287 PyObject
* obj0
= 0 ;
35288 PyObject
* obj1
= 0 ;
35289 PyObject
* obj2
= 0 ;
35290 char *kwnames
[] = {
35291 (char *) "self",(char *) "id",(char *) "helpString", NULL
35294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35296 if (SWIG_arg_fail(1)) SWIG_fail
;
35298 arg2
= (int)(SWIG_As_int(obj1
));
35299 if (SWIG_arg_fail(2)) SWIG_fail
;
35302 arg3
= wxString_in_helper(obj2
);
35303 if (arg3
== NULL
) SWIG_fail
;
35307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35308 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
35310 wxPyEndAllowThreads(__tstate
);
35311 if (PyErr_Occurred()) SWIG_fail
;
35313 Py_INCREF(Py_None
); resultobj
= Py_None
;
35328 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35329 PyObject
*resultobj
;
35330 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35333 PyObject
* obj0
= 0 ;
35334 PyObject
* obj1
= 0 ;
35335 char *kwnames
[] = {
35336 (char *) "self",(char *) "id", NULL
35339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
35340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35341 if (SWIG_arg_fail(1)) SWIG_fail
;
35343 arg2
= (int)(SWIG_As_int(obj1
));
35344 if (SWIG_arg_fail(2)) SWIG_fail
;
35347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35348 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
35350 wxPyEndAllowThreads(__tstate
);
35351 if (PyErr_Occurred()) SWIG_fail
;
35355 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35357 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35366 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35367 PyObject
*resultobj
;
35368 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35370 PyObject
* obj0
= 0 ;
35371 char *kwnames
[] = {
35372 (char *) "self", NULL
35375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
35376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35377 if (SWIG_arg_fail(1)) SWIG_fail
;
35379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35380 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
35382 wxPyEndAllowThreads(__tstate
);
35383 if (PyErr_Occurred()) SWIG_fail
;
35386 resultobj
= wxPyMake_wxObject(result
, 0);
35394 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35395 PyObject
*resultobj
;
35396 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35398 PyObject
* obj0
= 0 ;
35399 char *kwnames
[] = {
35400 (char *) "self", NULL
35403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
35404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35405 if (SWIG_arg_fail(1)) SWIG_fail
;
35407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35408 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
35410 wxPyEndAllowThreads(__tstate
);
35411 if (PyErr_Occurred()) SWIG_fail
;
35414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35422 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35423 PyObject
*resultobj
;
35424 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35425 wxFrame
*arg2
= (wxFrame
*) 0 ;
35426 PyObject
* obj0
= 0 ;
35427 PyObject
* obj1
= 0 ;
35428 char *kwnames
[] = {
35429 (char *) "self",(char *) "frame", NULL
35432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35434 if (SWIG_arg_fail(1)) SWIG_fail
;
35435 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
35436 if (SWIG_arg_fail(2)) SWIG_fail
;
35438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35439 (arg1
)->Attach(arg2
);
35441 wxPyEndAllowThreads(__tstate
);
35442 if (PyErr_Occurred()) SWIG_fail
;
35444 Py_INCREF(Py_None
); resultobj
= Py_None
;
35451 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35452 PyObject
*resultobj
;
35453 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35454 PyObject
* obj0
= 0 ;
35455 char *kwnames
[] = {
35456 (char *) "self", NULL
35459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
35460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35461 if (SWIG_arg_fail(1)) SWIG_fail
;
35463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35466 wxPyEndAllowThreads(__tstate
);
35467 if (PyErr_Occurred()) SWIG_fail
;
35469 Py_INCREF(Py_None
); resultobj
= Py_None
;
35476 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
35478 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35479 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
35481 return Py_BuildValue((char *)"");
35483 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35484 PyObject
*resultobj
;
35485 wxMenu
*arg1
= (wxMenu
*) NULL
;
35486 int arg2
= (int) wxID_ANY
;
35487 wxString
const &arg3_defvalue
= wxPyEmptyString
;
35488 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
35489 wxString
const &arg4_defvalue
= wxPyEmptyString
;
35490 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
35491 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
35492 wxMenu
*arg6
= (wxMenu
*) NULL
;
35493 wxMenuItem
*result
;
35494 bool temp3
= false ;
35495 bool temp4
= false ;
35496 PyObject
* obj0
= 0 ;
35497 PyObject
* obj1
= 0 ;
35498 PyObject
* obj2
= 0 ;
35499 PyObject
* obj3
= 0 ;
35500 PyObject
* obj4
= 0 ;
35501 PyObject
* obj5
= 0 ;
35502 char *kwnames
[] = {
35503 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
35506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35509 if (SWIG_arg_fail(1)) SWIG_fail
;
35513 arg2
= (int)(SWIG_As_int(obj1
));
35514 if (SWIG_arg_fail(2)) SWIG_fail
;
35519 arg3
= wxString_in_helper(obj2
);
35520 if (arg3
== NULL
) SWIG_fail
;
35526 arg4
= wxString_in_helper(obj3
);
35527 if (arg4
== NULL
) SWIG_fail
;
35533 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
35534 if (SWIG_arg_fail(5)) SWIG_fail
;
35538 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35539 if (SWIG_arg_fail(6)) SWIG_fail
;
35542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35543 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
35545 wxPyEndAllowThreads(__tstate
);
35546 if (PyErr_Occurred()) SWIG_fail
;
35549 resultobj
= wxPyMake_wxObject(result
, 1);
35573 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35574 PyObject
*resultobj
;
35575 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35577 PyObject
* obj0
= 0 ;
35578 char *kwnames
[] = {
35579 (char *) "self", NULL
35582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
35583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35584 if (SWIG_arg_fail(1)) SWIG_fail
;
35586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35587 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
35589 wxPyEndAllowThreads(__tstate
);
35590 if (PyErr_Occurred()) SWIG_fail
;
35593 resultobj
= wxPyMake_wxObject(result
, 0);
35601 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35602 PyObject
*resultobj
;
35603 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35604 wxMenu
*arg2
= (wxMenu
*) 0 ;
35605 PyObject
* obj0
= 0 ;
35606 PyObject
* obj1
= 0 ;
35607 char *kwnames
[] = {
35608 (char *) "self",(char *) "menu", NULL
35611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35613 if (SWIG_arg_fail(1)) SWIG_fail
;
35614 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35615 if (SWIG_arg_fail(2)) SWIG_fail
;
35617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35618 (arg1
)->SetMenu(arg2
);
35620 wxPyEndAllowThreads(__tstate
);
35621 if (PyErr_Occurred()) SWIG_fail
;
35623 Py_INCREF(Py_None
); resultobj
= Py_None
;
35630 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35631 PyObject
*resultobj
;
35632 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35634 PyObject
* obj0
= 0 ;
35635 PyObject
* obj1
= 0 ;
35636 char *kwnames
[] = {
35637 (char *) "self",(char *) "id", NULL
35640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
35641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35642 if (SWIG_arg_fail(1)) SWIG_fail
;
35644 arg2
= (int)(SWIG_As_int(obj1
));
35645 if (SWIG_arg_fail(2)) SWIG_fail
;
35648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35649 (arg1
)->SetId(arg2
);
35651 wxPyEndAllowThreads(__tstate
);
35652 if (PyErr_Occurred()) SWIG_fail
;
35654 Py_INCREF(Py_None
); resultobj
= Py_None
;
35661 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35662 PyObject
*resultobj
;
35663 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35665 PyObject
* obj0
= 0 ;
35666 char *kwnames
[] = {
35667 (char *) "self", NULL
35670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
35671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35672 if (SWIG_arg_fail(1)) SWIG_fail
;
35674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35675 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
35677 wxPyEndAllowThreads(__tstate
);
35678 if (PyErr_Occurred()) SWIG_fail
;
35681 resultobj
= SWIG_From_int((int)(result
));
35689 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35690 PyObject
*resultobj
;
35691 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35693 PyObject
* obj0
= 0 ;
35694 char *kwnames
[] = {
35695 (char *) "self", NULL
35698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
35699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35700 if (SWIG_arg_fail(1)) SWIG_fail
;
35702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35703 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
35705 wxPyEndAllowThreads(__tstate
);
35706 if (PyErr_Occurred()) SWIG_fail
;
35709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35717 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35718 PyObject
*resultobj
;
35719 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35720 wxString
*arg2
= 0 ;
35721 bool temp2
= false ;
35722 PyObject
* obj0
= 0 ;
35723 PyObject
* obj1
= 0 ;
35724 char *kwnames
[] = {
35725 (char *) "self",(char *) "str", NULL
35728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
35729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35730 if (SWIG_arg_fail(1)) SWIG_fail
;
35732 arg2
= wxString_in_helper(obj1
);
35733 if (arg2
== NULL
) SWIG_fail
;
35737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35738 (arg1
)->SetText((wxString
const &)*arg2
);
35740 wxPyEndAllowThreads(__tstate
);
35741 if (PyErr_Occurred()) SWIG_fail
;
35743 Py_INCREF(Py_None
); resultobj
= Py_None
;
35758 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35759 PyObject
*resultobj
;
35760 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35762 PyObject
* obj0
= 0 ;
35763 char *kwnames
[] = {
35764 (char *) "self", NULL
35767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
35768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35769 if (SWIG_arg_fail(1)) SWIG_fail
;
35771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35772 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
35774 wxPyEndAllowThreads(__tstate
);
35775 if (PyErr_Occurred()) SWIG_fail
;
35779 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35781 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35790 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35791 PyObject
*resultobj
;
35792 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35794 PyObject
* obj0
= 0 ;
35795 char *kwnames
[] = {
35796 (char *) "self", NULL
35799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
35800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35801 if (SWIG_arg_fail(1)) SWIG_fail
;
35803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35805 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
35806 result
= (wxString
*) &_result_ref
;
35809 wxPyEndAllowThreads(__tstate
);
35810 if (PyErr_Occurred()) SWIG_fail
;
35814 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
35816 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
35825 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35826 PyObject
*resultobj
;
35827 wxString
*arg1
= 0 ;
35829 bool temp1
= false ;
35830 PyObject
* obj0
= 0 ;
35831 char *kwnames
[] = {
35832 (char *) "text", NULL
35835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
35837 arg1
= wxString_in_helper(obj0
);
35838 if (arg1
== NULL
) SWIG_fail
;
35842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35843 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
35845 wxPyEndAllowThreads(__tstate
);
35846 if (PyErr_Occurred()) SWIG_fail
;
35850 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35852 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35869 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35870 PyObject
*resultobj
;
35871 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35873 PyObject
* obj0
= 0 ;
35874 char *kwnames
[] = {
35875 (char *) "self", NULL
35878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
35879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35880 if (SWIG_arg_fail(1)) SWIG_fail
;
35882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35883 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
35885 wxPyEndAllowThreads(__tstate
);
35886 if (PyErr_Occurred()) SWIG_fail
;
35888 resultobj
= SWIG_From_int((result
));
35895 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35896 PyObject
*resultobj
;
35897 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35899 PyObject
* obj0
= 0 ;
35900 PyObject
* obj1
= 0 ;
35901 char *kwnames
[] = {
35902 (char *) "self",(char *) "kind", NULL
35905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
35906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35907 if (SWIG_arg_fail(1)) SWIG_fail
;
35909 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
35910 if (SWIG_arg_fail(2)) SWIG_fail
;
35913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35914 (arg1
)->SetKind((wxItemKind
)arg2
);
35916 wxPyEndAllowThreads(__tstate
);
35917 if (PyErr_Occurred()) SWIG_fail
;
35919 Py_INCREF(Py_None
); resultobj
= Py_None
;
35926 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35927 PyObject
*resultobj
;
35928 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35930 PyObject
* obj0
= 0 ;
35931 PyObject
* obj1
= 0 ;
35932 char *kwnames
[] = {
35933 (char *) "self",(char *) "checkable", NULL
35936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
35937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35938 if (SWIG_arg_fail(1)) SWIG_fail
;
35940 arg2
= (bool)(SWIG_As_bool(obj1
));
35941 if (SWIG_arg_fail(2)) SWIG_fail
;
35944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35945 (arg1
)->SetCheckable(arg2
);
35947 wxPyEndAllowThreads(__tstate
);
35948 if (PyErr_Occurred()) SWIG_fail
;
35950 Py_INCREF(Py_None
); resultobj
= Py_None
;
35957 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35958 PyObject
*resultobj
;
35959 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35961 PyObject
* obj0
= 0 ;
35962 char *kwnames
[] = {
35963 (char *) "self", NULL
35966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
35967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35968 if (SWIG_arg_fail(1)) SWIG_fail
;
35970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35971 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
35973 wxPyEndAllowThreads(__tstate
);
35974 if (PyErr_Occurred()) SWIG_fail
;
35977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35985 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35986 PyObject
*resultobj
;
35987 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35989 PyObject
* obj0
= 0 ;
35990 char *kwnames
[] = {
35991 (char *) "self", NULL
35994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
35995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35996 if (SWIG_arg_fail(1)) SWIG_fail
;
35998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35999 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
36001 wxPyEndAllowThreads(__tstate
);
36002 if (PyErr_Occurred()) SWIG_fail
;
36005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36013 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36014 PyObject
*resultobj
;
36015 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36016 wxMenu
*arg2
= (wxMenu
*) 0 ;
36017 PyObject
* obj0
= 0 ;
36018 PyObject
* obj1
= 0 ;
36019 char *kwnames
[] = {
36020 (char *) "self",(char *) "menu", NULL
36023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36025 if (SWIG_arg_fail(1)) SWIG_fail
;
36026 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36027 if (SWIG_arg_fail(2)) SWIG_fail
;
36029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36030 (arg1
)->SetSubMenu(arg2
);
36032 wxPyEndAllowThreads(__tstate
);
36033 if (PyErr_Occurred()) SWIG_fail
;
36035 Py_INCREF(Py_None
); resultobj
= Py_None
;
36042 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36043 PyObject
*resultobj
;
36044 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36046 PyObject
* obj0
= 0 ;
36047 char *kwnames
[] = {
36048 (char *) "self", NULL
36051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
36052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36053 if (SWIG_arg_fail(1)) SWIG_fail
;
36055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36056 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
36058 wxPyEndAllowThreads(__tstate
);
36059 if (PyErr_Occurred()) SWIG_fail
;
36062 resultobj
= wxPyMake_wxObject(result
, 0);
36070 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36071 PyObject
*resultobj
;
36072 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36073 bool arg2
= (bool) true ;
36074 PyObject
* obj0
= 0 ;
36075 PyObject
* obj1
= 0 ;
36076 char *kwnames
[] = {
36077 (char *) "self",(char *) "enable", NULL
36080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
36081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36082 if (SWIG_arg_fail(1)) SWIG_fail
;
36085 arg2
= (bool)(SWIG_As_bool(obj1
));
36086 if (SWIG_arg_fail(2)) SWIG_fail
;
36090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36091 (arg1
)->Enable(arg2
);
36093 wxPyEndAllowThreads(__tstate
);
36094 if (PyErr_Occurred()) SWIG_fail
;
36096 Py_INCREF(Py_None
); resultobj
= Py_None
;
36103 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36104 PyObject
*resultobj
;
36105 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36107 PyObject
* obj0
= 0 ;
36108 char *kwnames
[] = {
36109 (char *) "self", NULL
36112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
36113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36114 if (SWIG_arg_fail(1)) SWIG_fail
;
36116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36117 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
36119 wxPyEndAllowThreads(__tstate
);
36120 if (PyErr_Occurred()) SWIG_fail
;
36123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36131 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36132 PyObject
*resultobj
;
36133 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36134 bool arg2
= (bool) true ;
36135 PyObject
* obj0
= 0 ;
36136 PyObject
* obj1
= 0 ;
36137 char *kwnames
[] = {
36138 (char *) "self",(char *) "check", NULL
36141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
36142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36143 if (SWIG_arg_fail(1)) SWIG_fail
;
36146 arg2
= (bool)(SWIG_As_bool(obj1
));
36147 if (SWIG_arg_fail(2)) SWIG_fail
;
36151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36152 (arg1
)->Check(arg2
);
36154 wxPyEndAllowThreads(__tstate
);
36155 if (PyErr_Occurred()) SWIG_fail
;
36157 Py_INCREF(Py_None
); resultobj
= Py_None
;
36164 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36165 PyObject
*resultobj
;
36166 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36168 PyObject
* obj0
= 0 ;
36169 char *kwnames
[] = {
36170 (char *) "self", NULL
36173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
36174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36175 if (SWIG_arg_fail(1)) SWIG_fail
;
36177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36178 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
36180 wxPyEndAllowThreads(__tstate
);
36181 if (PyErr_Occurred()) SWIG_fail
;
36184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36192 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36193 PyObject
*resultobj
;
36194 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36195 PyObject
* obj0
= 0 ;
36196 char *kwnames
[] = {
36197 (char *) "self", NULL
36200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
36201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36202 if (SWIG_arg_fail(1)) SWIG_fail
;
36204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36207 wxPyEndAllowThreads(__tstate
);
36208 if (PyErr_Occurred()) SWIG_fail
;
36210 Py_INCREF(Py_None
); resultobj
= Py_None
;
36217 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36218 PyObject
*resultobj
;
36219 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36220 wxString
*arg2
= 0 ;
36221 bool temp2
= false ;
36222 PyObject
* obj0
= 0 ;
36223 PyObject
* obj1
= 0 ;
36224 char *kwnames
[] = {
36225 (char *) "self",(char *) "str", NULL
36228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
36229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36230 if (SWIG_arg_fail(1)) SWIG_fail
;
36232 arg2
= wxString_in_helper(obj1
);
36233 if (arg2
== NULL
) SWIG_fail
;
36237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36238 (arg1
)->SetHelp((wxString
const &)*arg2
);
36240 wxPyEndAllowThreads(__tstate
);
36241 if (PyErr_Occurred()) SWIG_fail
;
36243 Py_INCREF(Py_None
); resultobj
= Py_None
;
36258 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36259 PyObject
*resultobj
;
36260 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36262 PyObject
* obj0
= 0 ;
36263 char *kwnames
[] = {
36264 (char *) "self", NULL
36267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
36268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36269 if (SWIG_arg_fail(1)) SWIG_fail
;
36271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36273 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
36274 result
= (wxString
*) &_result_ref
;
36277 wxPyEndAllowThreads(__tstate
);
36278 if (PyErr_Occurred()) SWIG_fail
;
36282 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36284 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36293 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36294 PyObject
*resultobj
;
36295 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36296 wxAcceleratorEntry
*result
;
36297 PyObject
* obj0
= 0 ;
36298 char *kwnames
[] = {
36299 (char *) "self", NULL
36302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
36303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36304 if (SWIG_arg_fail(1)) SWIG_fail
;
36306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36307 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
36309 wxPyEndAllowThreads(__tstate
);
36310 if (PyErr_Occurred()) SWIG_fail
;
36312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
36319 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36320 PyObject
*resultobj
;
36321 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36322 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
36323 PyObject
* obj0
= 0 ;
36324 PyObject
* obj1
= 0 ;
36325 char *kwnames
[] = {
36326 (char *) "self",(char *) "accel", NULL
36329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
36330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36331 if (SWIG_arg_fail(1)) SWIG_fail
;
36332 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
36333 if (SWIG_arg_fail(2)) SWIG_fail
;
36335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36336 (arg1
)->SetAccel(arg2
);
36338 wxPyEndAllowThreads(__tstate
);
36339 if (PyErr_Occurred()) SWIG_fail
;
36341 Py_INCREF(Py_None
); resultobj
= Py_None
;
36348 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36349 PyObject
*resultobj
;
36350 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36352 PyObject
* obj0
= 0 ;
36353 PyObject
* obj1
= 0 ;
36354 char *kwnames
[] = {
36355 (char *) "self",(char *) "font", NULL
36358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
36359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36360 if (SWIG_arg_fail(1)) SWIG_fail
;
36362 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
36363 if (SWIG_arg_fail(2)) SWIG_fail
;
36364 if (arg2
== NULL
) {
36365 SWIG_null_ref("wxFont");
36367 if (SWIG_arg_fail(2)) SWIG_fail
;
36370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36371 (arg1
)->SetFont((wxFont
const &)*arg2
);
36373 wxPyEndAllowThreads(__tstate
);
36374 if (PyErr_Occurred()) SWIG_fail
;
36376 Py_INCREF(Py_None
); resultobj
= Py_None
;
36383 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36384 PyObject
*resultobj
;
36385 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36387 PyObject
* obj0
= 0 ;
36388 char *kwnames
[] = {
36389 (char *) "self", NULL
36392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
36393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36394 if (SWIG_arg_fail(1)) SWIG_fail
;
36396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36397 result
= (arg1
)->GetFont();
36399 wxPyEndAllowThreads(__tstate
);
36400 if (PyErr_Occurred()) SWIG_fail
;
36403 wxFont
* resultptr
;
36404 resultptr
= new wxFont((wxFont
&)(result
));
36405 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
36413 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36414 PyObject
*resultobj
;
36415 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36416 wxColour
*arg2
= 0 ;
36418 PyObject
* obj0
= 0 ;
36419 PyObject
* obj1
= 0 ;
36420 char *kwnames
[] = {
36421 (char *) "self",(char *) "colText", NULL
36424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36426 if (SWIG_arg_fail(1)) SWIG_fail
;
36429 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36433 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
36435 wxPyEndAllowThreads(__tstate
);
36436 if (PyErr_Occurred()) SWIG_fail
;
36438 Py_INCREF(Py_None
); resultobj
= Py_None
;
36445 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36446 PyObject
*resultobj
;
36447 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36449 PyObject
* obj0
= 0 ;
36450 char *kwnames
[] = {
36451 (char *) "self", NULL
36454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
36455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36456 if (SWIG_arg_fail(1)) SWIG_fail
;
36458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36459 result
= (arg1
)->GetTextColour();
36461 wxPyEndAllowThreads(__tstate
);
36462 if (PyErr_Occurred()) SWIG_fail
;
36465 wxColour
* resultptr
;
36466 resultptr
= new wxColour((wxColour
&)(result
));
36467 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36475 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36476 PyObject
*resultobj
;
36477 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36478 wxColour
*arg2
= 0 ;
36480 PyObject
* obj0
= 0 ;
36481 PyObject
* obj1
= 0 ;
36482 char *kwnames
[] = {
36483 (char *) "self",(char *) "colBack", NULL
36486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36488 if (SWIG_arg_fail(1)) SWIG_fail
;
36491 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36495 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
36497 wxPyEndAllowThreads(__tstate
);
36498 if (PyErr_Occurred()) SWIG_fail
;
36500 Py_INCREF(Py_None
); resultobj
= Py_None
;
36507 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36508 PyObject
*resultobj
;
36509 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36511 PyObject
* obj0
= 0 ;
36512 char *kwnames
[] = {
36513 (char *) "self", NULL
36516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
36517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36518 if (SWIG_arg_fail(1)) SWIG_fail
;
36520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36521 result
= (arg1
)->GetBackgroundColour();
36523 wxPyEndAllowThreads(__tstate
);
36524 if (PyErr_Occurred()) SWIG_fail
;
36527 wxColour
* resultptr
;
36528 resultptr
= new wxColour((wxColour
&)(result
));
36529 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36537 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36538 PyObject
*resultobj
;
36539 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36540 wxBitmap
*arg2
= 0 ;
36541 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
36542 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
36543 PyObject
* obj0
= 0 ;
36544 PyObject
* obj1
= 0 ;
36545 PyObject
* obj2
= 0 ;
36546 char *kwnames
[] = {
36547 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
36550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36552 if (SWIG_arg_fail(1)) SWIG_fail
;
36554 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36555 if (SWIG_arg_fail(2)) SWIG_fail
;
36556 if (arg2
== NULL
) {
36557 SWIG_null_ref("wxBitmap");
36559 if (SWIG_arg_fail(2)) SWIG_fail
;
36563 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36564 if (SWIG_arg_fail(3)) SWIG_fail
;
36565 if (arg3
== NULL
) {
36566 SWIG_null_ref("wxBitmap");
36568 if (SWIG_arg_fail(3)) SWIG_fail
;
36572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36573 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
36575 wxPyEndAllowThreads(__tstate
);
36576 if (PyErr_Occurred()) SWIG_fail
;
36578 Py_INCREF(Py_None
); resultobj
= Py_None
;
36585 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36586 PyObject
*resultobj
;
36587 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36588 wxBitmap
*arg2
= 0 ;
36589 PyObject
* obj0
= 0 ;
36590 PyObject
* obj1
= 0 ;
36591 char *kwnames
[] = {
36592 (char *) "self",(char *) "bmpDisabled", NULL
36595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
36596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36597 if (SWIG_arg_fail(1)) SWIG_fail
;
36599 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36600 if (SWIG_arg_fail(2)) SWIG_fail
;
36601 if (arg2
== NULL
) {
36602 SWIG_null_ref("wxBitmap");
36604 if (SWIG_arg_fail(2)) SWIG_fail
;
36607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36608 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
36610 wxPyEndAllowThreads(__tstate
);
36611 if (PyErr_Occurred()) SWIG_fail
;
36613 Py_INCREF(Py_None
); resultobj
= Py_None
;
36620 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36621 PyObject
*resultobj
;
36622 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36624 PyObject
* obj0
= 0 ;
36625 char *kwnames
[] = {
36626 (char *) "self", NULL
36629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
36630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36631 if (SWIG_arg_fail(1)) SWIG_fail
;
36633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36635 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
36636 result
= (wxBitmap
*) &_result_ref
;
36639 wxPyEndAllowThreads(__tstate
);
36640 if (PyErr_Occurred()) SWIG_fail
;
36643 wxBitmap
* resultptr
= new wxBitmap(*result
);
36644 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
36652 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36653 PyObject
*resultobj
;
36654 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36656 PyObject
* obj0
= 0 ;
36657 PyObject
* obj1
= 0 ;
36658 char *kwnames
[] = {
36659 (char *) "self",(char *) "nWidth", NULL
36662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
36663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36664 if (SWIG_arg_fail(1)) SWIG_fail
;
36666 arg2
= (int)(SWIG_As_int(obj1
));
36667 if (SWIG_arg_fail(2)) SWIG_fail
;
36670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36671 (arg1
)->SetMarginWidth(arg2
);
36673 wxPyEndAllowThreads(__tstate
);
36674 if (PyErr_Occurred()) SWIG_fail
;
36676 Py_INCREF(Py_None
); resultobj
= Py_None
;
36683 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36684 PyObject
*resultobj
;
36685 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36687 PyObject
* obj0
= 0 ;
36688 char *kwnames
[] = {
36689 (char *) "self", NULL
36692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
36693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36694 if (SWIG_arg_fail(1)) SWIG_fail
;
36696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36697 result
= (int)(arg1
)->GetMarginWidth();
36699 wxPyEndAllowThreads(__tstate
);
36700 if (PyErr_Occurred()) SWIG_fail
;
36703 resultobj
= SWIG_From_int((int)(result
));
36711 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36712 PyObject
*resultobj
;
36714 char *kwnames
[] = {
36718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
36720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36721 result
= (int)wxMenuItem::GetDefaultMarginWidth();
36723 wxPyEndAllowThreads(__tstate
);
36724 if (PyErr_Occurred()) SWIG_fail
;
36727 resultobj
= SWIG_From_int((int)(result
));
36735 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36736 PyObject
*resultobj
;
36737 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36739 PyObject
* obj0
= 0 ;
36740 char *kwnames
[] = {
36741 (char *) "self", NULL
36744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
36745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36746 if (SWIG_arg_fail(1)) SWIG_fail
;
36748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36749 result
= (bool)(arg1
)->IsOwnerDrawn();
36751 wxPyEndAllowThreads(__tstate
);
36752 if (PyErr_Occurred()) SWIG_fail
;
36755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36763 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36764 PyObject
*resultobj
;
36765 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36766 bool arg2
= (bool) true ;
36767 PyObject
* obj0
= 0 ;
36768 PyObject
* obj1
= 0 ;
36769 char *kwnames
[] = {
36770 (char *) "self",(char *) "ownerDrawn", NULL
36773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
36774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36775 if (SWIG_arg_fail(1)) SWIG_fail
;
36778 arg2
= (bool)(SWIG_As_bool(obj1
));
36779 if (SWIG_arg_fail(2)) SWIG_fail
;
36783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36784 (arg1
)->SetOwnerDrawn(arg2
);
36786 wxPyEndAllowThreads(__tstate
);
36787 if (PyErr_Occurred()) SWIG_fail
;
36789 Py_INCREF(Py_None
); resultobj
= Py_None
;
36796 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36797 PyObject
*resultobj
;
36798 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36799 PyObject
* obj0
= 0 ;
36800 char *kwnames
[] = {
36801 (char *) "self", NULL
36804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
36805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36806 if (SWIG_arg_fail(1)) SWIG_fail
;
36808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36809 (arg1
)->ResetOwnerDrawn();
36811 wxPyEndAllowThreads(__tstate
);
36812 if (PyErr_Occurred()) SWIG_fail
;
36814 Py_INCREF(Py_None
); resultobj
= Py_None
;
36821 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36822 PyObject
*resultobj
;
36823 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36824 wxBitmap
*arg2
= 0 ;
36825 PyObject
* obj0
= 0 ;
36826 PyObject
* obj1
= 0 ;
36827 char *kwnames
[] = {
36828 (char *) "self",(char *) "bitmap", NULL
36831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
36832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36833 if (SWIG_arg_fail(1)) SWIG_fail
;
36835 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36836 if (SWIG_arg_fail(2)) SWIG_fail
;
36837 if (arg2
== NULL
) {
36838 SWIG_null_ref("wxBitmap");
36840 if (SWIG_arg_fail(2)) SWIG_fail
;
36843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36844 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
36846 wxPyEndAllowThreads(__tstate
);
36847 if (PyErr_Occurred()) SWIG_fail
;
36849 Py_INCREF(Py_None
); resultobj
= Py_None
;
36856 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36857 PyObject
*resultobj
;
36858 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36860 PyObject
* obj0
= 0 ;
36861 char *kwnames
[] = {
36862 (char *) "self", NULL
36865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
36866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36867 if (SWIG_arg_fail(1)) SWIG_fail
;
36869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36871 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
36872 result
= (wxBitmap
*) &_result_ref
;
36875 wxPyEndAllowThreads(__tstate
);
36876 if (PyErr_Occurred()) SWIG_fail
;
36879 wxBitmap
* resultptr
= new wxBitmap(*result
);
36880 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
36888 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
36890 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36891 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
36893 return Py_BuildValue((char *)"");
36895 static int _wrap_ControlNameStr_set(PyObject
*) {
36896 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
36901 static PyObject
*_wrap_ControlNameStr_get(void) {
36906 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
36908 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
36915 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36916 PyObject
*resultobj
;
36917 wxWindow
*arg1
= (wxWindow
*) 0 ;
36918 int arg2
= (int) -1 ;
36919 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
36920 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
36921 wxSize
const &arg4_defvalue
= wxDefaultSize
;
36922 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
36923 long arg5
= (long) 0 ;
36924 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
36925 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
36926 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
36927 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
36931 bool temp7
= false ;
36932 PyObject
* obj0
= 0 ;
36933 PyObject
* obj1
= 0 ;
36934 PyObject
* obj2
= 0 ;
36935 PyObject
* obj3
= 0 ;
36936 PyObject
* obj4
= 0 ;
36937 PyObject
* obj5
= 0 ;
36938 PyObject
* obj6
= 0 ;
36939 char *kwnames
[] = {
36940 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
36945 if (SWIG_arg_fail(1)) SWIG_fail
;
36948 arg2
= (int)(SWIG_As_int(obj1
));
36949 if (SWIG_arg_fail(2)) SWIG_fail
;
36955 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36961 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
36966 arg5
= (long)(SWIG_As_long(obj4
));
36967 if (SWIG_arg_fail(5)) SWIG_fail
;
36972 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
36973 if (SWIG_arg_fail(6)) SWIG_fail
;
36974 if (arg6
== NULL
) {
36975 SWIG_null_ref("wxValidator");
36977 if (SWIG_arg_fail(6)) SWIG_fail
;
36982 arg7
= wxString_in_helper(obj6
);
36983 if (arg7
== NULL
) SWIG_fail
;
36988 if (!wxPyCheckForApp()) SWIG_fail
;
36989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36990 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
36992 wxPyEndAllowThreads(__tstate
);
36993 if (PyErr_Occurred()) SWIG_fail
;
36995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37010 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37011 PyObject
*resultobj
;
37013 char *kwnames
[] = {
37017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
37019 if (!wxPyCheckForApp()) SWIG_fail
;
37020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37021 result
= (wxControl
*)new wxControl();
37023 wxPyEndAllowThreads(__tstate
);
37024 if (PyErr_Occurred()) SWIG_fail
;
37026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37033 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37034 PyObject
*resultobj
;
37035 wxControl
*arg1
= (wxControl
*) 0 ;
37036 wxWindow
*arg2
= (wxWindow
*) 0 ;
37037 int arg3
= (int) -1 ;
37038 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37039 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37040 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37041 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37042 long arg6
= (long) 0 ;
37043 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
37044 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
37045 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
37046 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37050 bool temp8
= false ;
37051 PyObject
* obj0
= 0 ;
37052 PyObject
* obj1
= 0 ;
37053 PyObject
* obj2
= 0 ;
37054 PyObject
* obj3
= 0 ;
37055 PyObject
* obj4
= 0 ;
37056 PyObject
* obj5
= 0 ;
37057 PyObject
* obj6
= 0 ;
37058 PyObject
* obj7
= 0 ;
37059 char *kwnames
[] = {
37060 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
37064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37065 if (SWIG_arg_fail(1)) SWIG_fail
;
37066 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37067 if (SWIG_arg_fail(2)) SWIG_fail
;
37070 arg3
= (int)(SWIG_As_int(obj2
));
37071 if (SWIG_arg_fail(3)) SWIG_fail
;
37077 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37083 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37088 arg6
= (long)(SWIG_As_long(obj5
));
37089 if (SWIG_arg_fail(6)) SWIG_fail
;
37094 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37095 if (SWIG_arg_fail(7)) SWIG_fail
;
37096 if (arg7
== NULL
) {
37097 SWIG_null_ref("wxValidator");
37099 if (SWIG_arg_fail(7)) SWIG_fail
;
37104 arg8
= wxString_in_helper(obj7
);
37105 if (arg8
== NULL
) SWIG_fail
;
37110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37111 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
37113 wxPyEndAllowThreads(__tstate
);
37114 if (PyErr_Occurred()) SWIG_fail
;
37117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37133 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37134 PyObject
*resultobj
;
37135 wxControl
*arg1
= (wxControl
*) 0 ;
37136 wxCommandEvent
*arg2
= 0 ;
37137 PyObject
* obj0
= 0 ;
37138 PyObject
* obj1
= 0 ;
37139 char *kwnames
[] = {
37140 (char *) "self",(char *) "event", NULL
37143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
37144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37145 if (SWIG_arg_fail(1)) SWIG_fail
;
37147 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
37148 if (SWIG_arg_fail(2)) SWIG_fail
;
37149 if (arg2
== NULL
) {
37150 SWIG_null_ref("wxCommandEvent");
37152 if (SWIG_arg_fail(2)) SWIG_fail
;
37155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37156 (arg1
)->Command(*arg2
);
37158 wxPyEndAllowThreads(__tstate
);
37159 if (PyErr_Occurred()) SWIG_fail
;
37161 Py_INCREF(Py_None
); resultobj
= Py_None
;
37168 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37169 PyObject
*resultobj
;
37170 wxControl
*arg1
= (wxControl
*) 0 ;
37172 PyObject
* obj0
= 0 ;
37173 char *kwnames
[] = {
37174 (char *) "self", NULL
37177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
37178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37179 if (SWIG_arg_fail(1)) SWIG_fail
;
37181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37182 result
= (arg1
)->GetLabel();
37184 wxPyEndAllowThreads(__tstate
);
37185 if (PyErr_Occurred()) SWIG_fail
;
37189 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37191 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37200 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37201 PyObject
*resultobj
;
37202 wxControl
*arg1
= (wxControl
*) 0 ;
37203 wxString
*arg2
= 0 ;
37204 bool temp2
= false ;
37205 PyObject
* obj0
= 0 ;
37206 PyObject
* obj1
= 0 ;
37207 char *kwnames
[] = {
37208 (char *) "self",(char *) "label", NULL
37211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
37212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37213 if (SWIG_arg_fail(1)) SWIG_fail
;
37215 arg2
= wxString_in_helper(obj1
);
37216 if (arg2
== NULL
) SWIG_fail
;
37220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37221 (arg1
)->SetLabel((wxString
const &)*arg2
);
37223 wxPyEndAllowThreads(__tstate
);
37224 if (PyErr_Occurred()) SWIG_fail
;
37226 Py_INCREF(Py_None
); resultobj
= Py_None
;
37241 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37242 PyObject
*resultobj
;
37243 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37244 wxVisualAttributes result
;
37245 PyObject
* obj0
= 0 ;
37246 char *kwnames
[] = {
37247 (char *) "variant", NULL
37250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
37253 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
37254 if (SWIG_arg_fail(1)) SWIG_fail
;
37258 if (!wxPyCheckForApp()) SWIG_fail
;
37259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37260 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
37262 wxPyEndAllowThreads(__tstate
);
37263 if (PyErr_Occurred()) SWIG_fail
;
37266 wxVisualAttributes
* resultptr
;
37267 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
37268 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
37276 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
37278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37279 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
37281 return Py_BuildValue((char *)"");
37283 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37284 PyObject
*resultobj
;
37285 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37286 wxString
*arg2
= 0 ;
37287 PyObject
*arg3
= (PyObject
*) NULL
;
37289 bool temp2
= false ;
37290 PyObject
* obj0
= 0 ;
37291 PyObject
* obj1
= 0 ;
37292 PyObject
* obj2
= 0 ;
37293 char *kwnames
[] = {
37294 (char *) "self",(char *) "item",(char *) "clientData", NULL
37297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37299 if (SWIG_arg_fail(1)) SWIG_fail
;
37301 arg2
= wxString_in_helper(obj1
);
37302 if (arg2
== NULL
) SWIG_fail
;
37309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37310 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
37312 wxPyEndAllowThreads(__tstate
);
37313 if (PyErr_Occurred()) SWIG_fail
;
37316 resultobj
= SWIG_From_int((int)(result
));
37332 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37333 PyObject
*resultobj
;
37334 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37335 wxArrayString
*arg2
= 0 ;
37336 bool temp2
= false ;
37337 PyObject
* obj0
= 0 ;
37338 PyObject
* obj1
= 0 ;
37339 char *kwnames
[] = {
37340 (char *) "self",(char *) "strings", NULL
37343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
37344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37345 if (SWIG_arg_fail(1)) SWIG_fail
;
37347 if (! PySequence_Check(obj1
)) {
37348 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
37351 arg2
= new wxArrayString
;
37353 int i
, len
=PySequence_Length(obj1
);
37354 for (i
=0; i
<len
; i
++) {
37355 PyObject
* item
= PySequence_GetItem(obj1
, i
);
37357 PyObject
* str
= PyObject_Unicode(item
);
37359 PyObject
* str
= PyObject_Str(item
);
37361 if (PyErr_Occurred()) SWIG_fail
;
37362 arg2
->Add(Py2wxString(str
));
37368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37369 (arg1
)->Append((wxArrayString
const &)*arg2
);
37371 wxPyEndAllowThreads(__tstate
);
37372 if (PyErr_Occurred()) SWIG_fail
;
37374 Py_INCREF(Py_None
); resultobj
= Py_None
;
37376 if (temp2
) delete arg2
;
37381 if (temp2
) delete arg2
;
37387 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37388 PyObject
*resultobj
;
37389 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37390 wxString
*arg2
= 0 ;
37392 PyObject
*arg4
= (PyObject
*) NULL
;
37394 bool temp2
= false ;
37395 PyObject
* obj0
= 0 ;
37396 PyObject
* obj1
= 0 ;
37397 PyObject
* obj2
= 0 ;
37398 PyObject
* obj3
= 0 ;
37399 char *kwnames
[] = {
37400 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
37403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37405 if (SWIG_arg_fail(1)) SWIG_fail
;
37407 arg2
= wxString_in_helper(obj1
);
37408 if (arg2
== NULL
) SWIG_fail
;
37412 arg3
= (int)(SWIG_As_int(obj2
));
37413 if (SWIG_arg_fail(3)) SWIG_fail
;
37419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37420 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
37422 wxPyEndAllowThreads(__tstate
);
37423 if (PyErr_Occurred()) SWIG_fail
;
37426 resultobj
= SWIG_From_int((int)(result
));
37442 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37443 PyObject
*resultobj
;
37444 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37445 PyObject
* obj0
= 0 ;
37446 char *kwnames
[] = {
37447 (char *) "self", NULL
37450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
37451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37452 if (SWIG_arg_fail(1)) SWIG_fail
;
37454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37457 wxPyEndAllowThreads(__tstate
);
37458 if (PyErr_Occurred()) SWIG_fail
;
37460 Py_INCREF(Py_None
); resultobj
= Py_None
;
37467 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37468 PyObject
*resultobj
;
37469 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37471 PyObject
* obj0
= 0 ;
37472 PyObject
* obj1
= 0 ;
37473 char *kwnames
[] = {
37474 (char *) "self",(char *) "n", NULL
37477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
37478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37479 if (SWIG_arg_fail(1)) SWIG_fail
;
37481 arg2
= (int)(SWIG_As_int(obj1
));
37482 if (SWIG_arg_fail(2)) SWIG_fail
;
37485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37486 (arg1
)->Delete(arg2
);
37488 wxPyEndAllowThreads(__tstate
);
37489 if (PyErr_Occurred()) SWIG_fail
;
37491 Py_INCREF(Py_None
); resultobj
= Py_None
;
37498 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37499 PyObject
*resultobj
;
37500 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37503 PyObject
* obj0
= 0 ;
37504 PyObject
* obj1
= 0 ;
37505 char *kwnames
[] = {
37506 (char *) "self",(char *) "n", NULL
37509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
37510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37511 if (SWIG_arg_fail(1)) SWIG_fail
;
37513 arg2
= (int)(SWIG_As_int(obj1
));
37514 if (SWIG_arg_fail(2)) SWIG_fail
;
37517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37518 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
37520 wxPyEndAllowThreads(__tstate
);
37521 if (PyErr_Occurred()) SWIG_fail
;
37523 resultobj
= result
;
37530 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37531 PyObject
*resultobj
;
37532 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37534 PyObject
*arg3
= (PyObject
*) 0 ;
37535 PyObject
* obj0
= 0 ;
37536 PyObject
* obj1
= 0 ;
37537 PyObject
* obj2
= 0 ;
37538 char *kwnames
[] = {
37539 (char *) "self",(char *) "n",(char *) "clientData", NULL
37542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37544 if (SWIG_arg_fail(1)) SWIG_fail
;
37546 arg2
= (int)(SWIG_As_int(obj1
));
37547 if (SWIG_arg_fail(2)) SWIG_fail
;
37551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37552 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
37554 wxPyEndAllowThreads(__tstate
);
37555 if (PyErr_Occurred()) SWIG_fail
;
37557 Py_INCREF(Py_None
); resultobj
= Py_None
;
37564 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37565 PyObject
*resultobj
;
37566 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37568 PyObject
* obj0
= 0 ;
37569 char *kwnames
[] = {
37570 (char *) "self", NULL
37573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
37574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37575 if (SWIG_arg_fail(1)) SWIG_fail
;
37577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37578 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
37580 wxPyEndAllowThreads(__tstate
);
37581 if (PyErr_Occurred()) SWIG_fail
;
37584 resultobj
= SWIG_From_int((int)(result
));
37592 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37593 PyObject
*resultobj
;
37594 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37596 PyObject
* obj0
= 0 ;
37597 char *kwnames
[] = {
37598 (char *) "self", NULL
37601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
37602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37603 if (SWIG_arg_fail(1)) SWIG_fail
;
37605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37606 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
37608 wxPyEndAllowThreads(__tstate
);
37609 if (PyErr_Occurred()) SWIG_fail
;
37612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37620 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37621 PyObject
*resultobj
;
37622 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37625 PyObject
* obj0
= 0 ;
37626 PyObject
* obj1
= 0 ;
37627 char *kwnames
[] = {
37628 (char *) "self",(char *) "n", NULL
37631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
37632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37633 if (SWIG_arg_fail(1)) SWIG_fail
;
37635 arg2
= (int)(SWIG_As_int(obj1
));
37636 if (SWIG_arg_fail(2)) SWIG_fail
;
37639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37640 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
37642 wxPyEndAllowThreads(__tstate
);
37643 if (PyErr_Occurred()) SWIG_fail
;
37647 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37649 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37658 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37659 PyObject
*resultobj
;
37660 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37661 wxArrayString result
;
37662 PyObject
* obj0
= 0 ;
37663 char *kwnames
[] = {
37664 (char *) "self", NULL
37667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
37668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37669 if (SWIG_arg_fail(1)) SWIG_fail
;
37671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37672 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
37674 wxPyEndAllowThreads(__tstate
);
37675 if (PyErr_Occurred()) SWIG_fail
;
37678 resultobj
= wxArrayString2PyList_helper(result
);
37686 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37687 PyObject
*resultobj
;
37688 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37690 wxString
*arg3
= 0 ;
37691 bool temp3
= false ;
37692 PyObject
* obj0
= 0 ;
37693 PyObject
* obj1
= 0 ;
37694 PyObject
* obj2
= 0 ;
37695 char *kwnames
[] = {
37696 (char *) "self",(char *) "n",(char *) "s", NULL
37699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37701 if (SWIG_arg_fail(1)) SWIG_fail
;
37703 arg2
= (int)(SWIG_As_int(obj1
));
37704 if (SWIG_arg_fail(2)) SWIG_fail
;
37707 arg3
= wxString_in_helper(obj2
);
37708 if (arg3
== NULL
) SWIG_fail
;
37712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37713 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
37715 wxPyEndAllowThreads(__tstate
);
37716 if (PyErr_Occurred()) SWIG_fail
;
37718 Py_INCREF(Py_None
); resultobj
= Py_None
;
37733 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37734 PyObject
*resultobj
;
37735 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37736 wxString
*arg2
= 0 ;
37738 bool temp2
= false ;
37739 PyObject
* obj0
= 0 ;
37740 PyObject
* obj1
= 0 ;
37741 char *kwnames
[] = {
37742 (char *) "self",(char *) "s", NULL
37745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
37746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37747 if (SWIG_arg_fail(1)) SWIG_fail
;
37749 arg2
= wxString_in_helper(obj1
);
37750 if (arg2
== NULL
) SWIG_fail
;
37754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37755 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
37757 wxPyEndAllowThreads(__tstate
);
37758 if (PyErr_Occurred()) SWIG_fail
;
37761 resultobj
= SWIG_From_int((int)(result
));
37777 static PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37778 PyObject
*resultobj
;
37779 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37781 PyObject
* obj0
= 0 ;
37782 PyObject
* obj1
= 0 ;
37783 char *kwnames
[] = {
37784 (char *) "self",(char *) "n", NULL
37787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
37788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37789 if (SWIG_arg_fail(1)) SWIG_fail
;
37791 arg2
= (int)(SWIG_As_int(obj1
));
37792 if (SWIG_arg_fail(2)) SWIG_fail
;
37795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37796 (arg1
)->SetSelection(arg2
);
37798 wxPyEndAllowThreads(__tstate
);
37799 if (PyErr_Occurred()) SWIG_fail
;
37801 Py_INCREF(Py_None
); resultobj
= Py_None
;
37808 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37809 PyObject
*resultobj
;
37810 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37812 PyObject
* obj0
= 0 ;
37813 char *kwnames
[] = {
37814 (char *) "self", NULL
37817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
37818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37819 if (SWIG_arg_fail(1)) SWIG_fail
;
37821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37822 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
37824 wxPyEndAllowThreads(__tstate
);
37825 if (PyErr_Occurred()) SWIG_fail
;
37828 resultobj
= SWIG_From_int((int)(result
));
37836 static PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37837 PyObject
*resultobj
;
37838 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37839 wxString
*arg2
= 0 ;
37841 bool temp2
= false ;
37842 PyObject
* obj0
= 0 ;
37843 PyObject
* obj1
= 0 ;
37844 char *kwnames
[] = {
37845 (char *) "self",(char *) "s", NULL
37848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
37849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37850 if (SWIG_arg_fail(1)) SWIG_fail
;
37852 arg2
= wxString_in_helper(obj1
);
37853 if (arg2
== NULL
) SWIG_fail
;
37857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37858 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
37860 wxPyEndAllowThreads(__tstate
);
37861 if (PyErr_Occurred()) SWIG_fail
;
37864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37880 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37881 PyObject
*resultobj
;
37882 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37884 PyObject
* obj0
= 0 ;
37885 char *kwnames
[] = {
37886 (char *) "self", NULL
37889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
37890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37891 if (SWIG_arg_fail(1)) SWIG_fail
;
37893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37894 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
37896 wxPyEndAllowThreads(__tstate
);
37897 if (PyErr_Occurred()) SWIG_fail
;
37901 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37903 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37912 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37913 PyObject
*resultobj
;
37914 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37916 PyObject
* obj0
= 0 ;
37917 PyObject
* obj1
= 0 ;
37918 char *kwnames
[] = {
37919 (char *) "self",(char *) "n", NULL
37922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
37923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37924 if (SWIG_arg_fail(1)) SWIG_fail
;
37926 arg2
= (int)(SWIG_As_int(obj1
));
37927 if (SWIG_arg_fail(2)) SWIG_fail
;
37930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37931 (arg1
)->Select(arg2
);
37933 wxPyEndAllowThreads(__tstate
);
37934 if (PyErr_Occurred()) SWIG_fail
;
37936 Py_INCREF(Py_None
); resultobj
= Py_None
;
37943 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
37945 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37946 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
37948 return Py_BuildValue((char *)"");
37950 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
37952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37953 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
37955 return Py_BuildValue((char *)"");
37957 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37958 PyObject
*resultobj
;
37959 wxSizerItem
*result
;
37960 char *kwnames
[] = {
37964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
37966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37967 result
= (wxSizerItem
*)new wxSizerItem();
37969 wxPyEndAllowThreads(__tstate
);
37970 if (PyErr_Occurred()) SWIG_fail
;
37972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37979 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37980 PyObject
*resultobj
;
37981 wxWindow
*arg1
= (wxWindow
*) 0 ;
37985 PyObject
*arg5
= (PyObject
*) NULL
;
37986 wxSizerItem
*result
;
37987 PyObject
* obj0
= 0 ;
37988 PyObject
* obj1
= 0 ;
37989 PyObject
* obj2
= 0 ;
37990 PyObject
* obj3
= 0 ;
37991 PyObject
* obj4
= 0 ;
37992 char *kwnames
[] = {
37993 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
37997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37998 if (SWIG_arg_fail(1)) SWIG_fail
;
38000 arg2
= (int)(SWIG_As_int(obj1
));
38001 if (SWIG_arg_fail(2)) SWIG_fail
;
38004 arg3
= (int)(SWIG_As_int(obj2
));
38005 if (SWIG_arg_fail(3)) SWIG_fail
;
38008 arg4
= (int)(SWIG_As_int(obj3
));
38009 if (SWIG_arg_fail(4)) SWIG_fail
;
38015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38016 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38018 wxPyEndAllowThreads(__tstate
);
38019 if (PyErr_Occurred()) SWIG_fail
;
38021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38028 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38029 PyObject
*resultobj
;
38035 PyObject
*arg6
= (PyObject
*) NULL
;
38036 wxSizerItem
*result
;
38037 PyObject
* obj0
= 0 ;
38038 PyObject
* obj1
= 0 ;
38039 PyObject
* obj2
= 0 ;
38040 PyObject
* obj3
= 0 ;
38041 PyObject
* obj4
= 0 ;
38042 PyObject
* obj5
= 0 ;
38043 char *kwnames
[] = {
38044 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38049 arg1
= (int)(SWIG_As_int(obj0
));
38050 if (SWIG_arg_fail(1)) SWIG_fail
;
38053 arg2
= (int)(SWIG_As_int(obj1
));
38054 if (SWIG_arg_fail(2)) SWIG_fail
;
38057 arg3
= (int)(SWIG_As_int(obj2
));
38058 if (SWIG_arg_fail(3)) SWIG_fail
;
38061 arg4
= (int)(SWIG_As_int(obj3
));
38062 if (SWIG_arg_fail(4)) SWIG_fail
;
38065 arg5
= (int)(SWIG_As_int(obj4
));
38066 if (SWIG_arg_fail(5)) SWIG_fail
;
38072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38073 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38075 wxPyEndAllowThreads(__tstate
);
38076 if (PyErr_Occurred()) SWIG_fail
;
38078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38085 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38086 PyObject
*resultobj
;
38087 wxSizer
*arg1
= (wxSizer
*) 0 ;
38091 PyObject
*arg5
= (PyObject
*) NULL
;
38092 wxSizerItem
*result
;
38093 PyObject
* obj0
= 0 ;
38094 PyObject
* obj1
= 0 ;
38095 PyObject
* obj2
= 0 ;
38096 PyObject
* obj3
= 0 ;
38097 PyObject
* obj4
= 0 ;
38098 char *kwnames
[] = {
38099 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38104 if (SWIG_arg_fail(1)) SWIG_fail
;
38106 arg2
= (int)(SWIG_As_int(obj1
));
38107 if (SWIG_arg_fail(2)) SWIG_fail
;
38110 arg3
= (int)(SWIG_As_int(obj2
));
38111 if (SWIG_arg_fail(3)) SWIG_fail
;
38114 arg4
= (int)(SWIG_As_int(obj3
));
38115 if (SWIG_arg_fail(4)) SWIG_fail
;
38121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38122 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38124 wxPyEndAllowThreads(__tstate
);
38125 if (PyErr_Occurred()) SWIG_fail
;
38127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38134 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38135 PyObject
*resultobj
;
38136 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38137 PyObject
* obj0
= 0 ;
38138 char *kwnames
[] = {
38139 (char *) "self", NULL
38142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
38143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38144 if (SWIG_arg_fail(1)) SWIG_fail
;
38146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38147 (arg1
)->DeleteWindows();
38149 wxPyEndAllowThreads(__tstate
);
38150 if (PyErr_Occurred()) SWIG_fail
;
38152 Py_INCREF(Py_None
); resultobj
= Py_None
;
38159 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38160 PyObject
*resultobj
;
38161 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38162 PyObject
* obj0
= 0 ;
38163 char *kwnames
[] = {
38164 (char *) "self", NULL
38167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
38168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38169 if (SWIG_arg_fail(1)) SWIG_fail
;
38171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38172 (arg1
)->DetachSizer();
38174 wxPyEndAllowThreads(__tstate
);
38175 if (PyErr_Occurred()) SWIG_fail
;
38177 Py_INCREF(Py_None
); resultobj
= Py_None
;
38184 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38185 PyObject
*resultobj
;
38186 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38188 PyObject
* obj0
= 0 ;
38189 char *kwnames
[] = {
38190 (char *) "self", NULL
38193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
38194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38195 if (SWIG_arg_fail(1)) SWIG_fail
;
38197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38198 result
= (arg1
)->GetSize();
38200 wxPyEndAllowThreads(__tstate
);
38201 if (PyErr_Occurred()) SWIG_fail
;
38204 wxSize
* resultptr
;
38205 resultptr
= new wxSize((wxSize
&)(result
));
38206 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38214 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38215 PyObject
*resultobj
;
38216 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38218 PyObject
* obj0
= 0 ;
38219 char *kwnames
[] = {
38220 (char *) "self", NULL
38223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
38224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38225 if (SWIG_arg_fail(1)) SWIG_fail
;
38227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38228 result
= (arg1
)->CalcMin();
38230 wxPyEndAllowThreads(__tstate
);
38231 if (PyErr_Occurred()) SWIG_fail
;
38234 wxSize
* resultptr
;
38235 resultptr
= new wxSize((wxSize
&)(result
));
38236 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38244 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38245 PyObject
*resultobj
;
38246 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38249 PyObject
* obj0
= 0 ;
38250 PyObject
* obj1
= 0 ;
38251 PyObject
* obj2
= 0 ;
38252 char *kwnames
[] = {
38253 (char *) "self",(char *) "pos",(char *) "size", NULL
38256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38258 if (SWIG_arg_fail(1)) SWIG_fail
;
38261 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
38262 if (SWIG_arg_fail(2)) SWIG_fail
;
38263 if (argp
== NULL
) {
38264 SWIG_null_ref("wxPoint");
38266 if (SWIG_arg_fail(2)) SWIG_fail
;
38271 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38272 if (SWIG_arg_fail(3)) SWIG_fail
;
38273 if (argp
== NULL
) {
38274 SWIG_null_ref("wxSize");
38276 if (SWIG_arg_fail(3)) SWIG_fail
;
38280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38281 (arg1
)->SetDimension(arg2
,arg3
);
38283 wxPyEndAllowThreads(__tstate
);
38284 if (PyErr_Occurred()) SWIG_fail
;
38286 Py_INCREF(Py_None
); resultobj
= Py_None
;
38293 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38294 PyObject
*resultobj
;
38295 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38297 PyObject
* obj0
= 0 ;
38298 char *kwnames
[] = {
38299 (char *) "self", NULL
38302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
38303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38304 if (SWIG_arg_fail(1)) SWIG_fail
;
38306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38307 result
= (arg1
)->GetMinSize();
38309 wxPyEndAllowThreads(__tstate
);
38310 if (PyErr_Occurred()) SWIG_fail
;
38313 wxSize
* resultptr
;
38314 resultptr
= new wxSize((wxSize
&)(result
));
38315 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38323 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38324 PyObject
*resultobj
;
38325 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38327 PyObject
* obj0
= 0 ;
38328 char *kwnames
[] = {
38329 (char *) "self", NULL
38332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38337 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
38339 wxPyEndAllowThreads(__tstate
);
38340 if (PyErr_Occurred()) SWIG_fail
;
38343 wxSize
* resultptr
;
38344 resultptr
= new wxSize((wxSize
&)(result
));
38345 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38353 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38354 PyObject
*resultobj
;
38355 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38358 PyObject
* obj0
= 0 ;
38359 PyObject
* obj1
= 0 ;
38360 PyObject
* obj2
= 0 ;
38361 char *kwnames
[] = {
38362 (char *) "self",(char *) "x",(char *) "y", NULL
38365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38367 if (SWIG_arg_fail(1)) SWIG_fail
;
38369 arg2
= (int)(SWIG_As_int(obj1
));
38370 if (SWIG_arg_fail(2)) SWIG_fail
;
38373 arg3
= (int)(SWIG_As_int(obj2
));
38374 if (SWIG_arg_fail(3)) SWIG_fail
;
38377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38378 (arg1
)->SetInitSize(arg2
,arg3
);
38380 wxPyEndAllowThreads(__tstate
);
38381 if (PyErr_Occurred()) SWIG_fail
;
38383 Py_INCREF(Py_None
); resultobj
= Py_None
;
38390 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38391 PyObject
*resultobj
;
38392 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38395 PyObject
* obj0
= 0 ;
38396 PyObject
* obj1
= 0 ;
38397 PyObject
* obj2
= 0 ;
38398 char *kwnames
[] = {
38399 (char *) "self",(char *) "width",(char *) "height", NULL
38402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38404 if (SWIG_arg_fail(1)) SWIG_fail
;
38406 arg2
= (int)(SWIG_As_int(obj1
));
38407 if (SWIG_arg_fail(2)) SWIG_fail
;
38410 arg3
= (int)(SWIG_As_int(obj2
));
38411 if (SWIG_arg_fail(3)) SWIG_fail
;
38414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38415 (arg1
)->SetRatio(arg2
,arg3
);
38417 wxPyEndAllowThreads(__tstate
);
38418 if (PyErr_Occurred()) SWIG_fail
;
38420 Py_INCREF(Py_None
); resultobj
= Py_None
;
38427 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38428 PyObject
*resultobj
;
38429 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38431 PyObject
* obj0
= 0 ;
38432 PyObject
* obj1
= 0 ;
38433 char *kwnames
[] = {
38434 (char *) "self",(char *) "size", NULL
38437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38439 if (SWIG_arg_fail(1)) SWIG_fail
;
38442 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38443 if (SWIG_arg_fail(2)) SWIG_fail
;
38444 if (argp
== NULL
) {
38445 SWIG_null_ref("wxSize");
38447 if (SWIG_arg_fail(2)) SWIG_fail
;
38451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38452 (arg1
)->SetRatio(arg2
);
38454 wxPyEndAllowThreads(__tstate
);
38455 if (PyErr_Occurred()) SWIG_fail
;
38457 Py_INCREF(Py_None
); resultobj
= Py_None
;
38464 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38465 PyObject
*resultobj
;
38466 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38468 PyObject
* obj0
= 0 ;
38469 PyObject
* obj1
= 0 ;
38470 char *kwnames
[] = {
38471 (char *) "self",(char *) "ratio", NULL
38474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
38475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38476 if (SWIG_arg_fail(1)) SWIG_fail
;
38478 arg2
= (float)(SWIG_As_float(obj1
));
38479 if (SWIG_arg_fail(2)) SWIG_fail
;
38482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38483 (arg1
)->SetRatio(arg2
);
38485 wxPyEndAllowThreads(__tstate
);
38486 if (PyErr_Occurred()) SWIG_fail
;
38488 Py_INCREF(Py_None
); resultobj
= Py_None
;
38495 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38496 PyObject
*resultobj
;
38497 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38499 PyObject
* obj0
= 0 ;
38500 char *kwnames
[] = {
38501 (char *) "self", NULL
38504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
38505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38506 if (SWIG_arg_fail(1)) SWIG_fail
;
38508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38509 result
= (float)(arg1
)->GetRatio();
38511 wxPyEndAllowThreads(__tstate
);
38512 if (PyErr_Occurred()) SWIG_fail
;
38515 resultobj
= SWIG_From_float((float)(result
));
38523 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38524 PyObject
*resultobj
;
38525 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38527 PyObject
* obj0
= 0 ;
38528 char *kwnames
[] = {
38529 (char *) "self", NULL
38532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
38533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38534 if (SWIG_arg_fail(1)) SWIG_fail
;
38536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38537 result
= (arg1
)->GetRect();
38539 wxPyEndAllowThreads(__tstate
);
38540 if (PyErr_Occurred()) SWIG_fail
;
38543 wxRect
* resultptr
;
38544 resultptr
= new wxRect((wxRect
&)(result
));
38545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
38553 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38554 PyObject
*resultobj
;
38555 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38557 PyObject
* obj0
= 0 ;
38558 char *kwnames
[] = {
38559 (char *) "self", NULL
38562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
38563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38564 if (SWIG_arg_fail(1)) SWIG_fail
;
38566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38567 result
= (bool)(arg1
)->IsWindow();
38569 wxPyEndAllowThreads(__tstate
);
38570 if (PyErr_Occurred()) SWIG_fail
;
38573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38581 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38582 PyObject
*resultobj
;
38583 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38585 PyObject
* obj0
= 0 ;
38586 char *kwnames
[] = {
38587 (char *) "self", NULL
38590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
38591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38592 if (SWIG_arg_fail(1)) SWIG_fail
;
38594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38595 result
= (bool)(arg1
)->IsSizer();
38597 wxPyEndAllowThreads(__tstate
);
38598 if (PyErr_Occurred()) SWIG_fail
;
38601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38609 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38610 PyObject
*resultobj
;
38611 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38613 PyObject
* obj0
= 0 ;
38614 char *kwnames
[] = {
38615 (char *) "self", NULL
38618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
38619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38620 if (SWIG_arg_fail(1)) SWIG_fail
;
38622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38623 result
= (bool)(arg1
)->IsSpacer();
38625 wxPyEndAllowThreads(__tstate
);
38626 if (PyErr_Occurred()) SWIG_fail
;
38629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38637 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38638 PyObject
*resultobj
;
38639 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38641 PyObject
* obj0
= 0 ;
38642 PyObject
* obj1
= 0 ;
38643 char *kwnames
[] = {
38644 (char *) "self",(char *) "proportion", NULL
38647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
38648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38649 if (SWIG_arg_fail(1)) SWIG_fail
;
38651 arg2
= (int)(SWIG_As_int(obj1
));
38652 if (SWIG_arg_fail(2)) SWIG_fail
;
38655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38656 (arg1
)->SetProportion(arg2
);
38658 wxPyEndAllowThreads(__tstate
);
38659 if (PyErr_Occurred()) SWIG_fail
;
38661 Py_INCREF(Py_None
); resultobj
= Py_None
;
38668 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38669 PyObject
*resultobj
;
38670 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38672 PyObject
* obj0
= 0 ;
38673 char *kwnames
[] = {
38674 (char *) "self", NULL
38677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
38678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38679 if (SWIG_arg_fail(1)) SWIG_fail
;
38681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38682 result
= (int)(arg1
)->GetProportion();
38684 wxPyEndAllowThreads(__tstate
);
38685 if (PyErr_Occurred()) SWIG_fail
;
38688 resultobj
= SWIG_From_int((int)(result
));
38696 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38697 PyObject
*resultobj
;
38698 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38700 PyObject
* obj0
= 0 ;
38701 PyObject
* obj1
= 0 ;
38702 char *kwnames
[] = {
38703 (char *) "self",(char *) "flag", NULL
38706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
38707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38708 if (SWIG_arg_fail(1)) SWIG_fail
;
38710 arg2
= (int)(SWIG_As_int(obj1
));
38711 if (SWIG_arg_fail(2)) SWIG_fail
;
38714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38715 (arg1
)->SetFlag(arg2
);
38717 wxPyEndAllowThreads(__tstate
);
38718 if (PyErr_Occurred()) SWIG_fail
;
38720 Py_INCREF(Py_None
); resultobj
= Py_None
;
38727 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38728 PyObject
*resultobj
;
38729 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38731 PyObject
* obj0
= 0 ;
38732 char *kwnames
[] = {
38733 (char *) "self", NULL
38736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
38737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38738 if (SWIG_arg_fail(1)) SWIG_fail
;
38740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38741 result
= (int)(arg1
)->GetFlag();
38743 wxPyEndAllowThreads(__tstate
);
38744 if (PyErr_Occurred()) SWIG_fail
;
38747 resultobj
= SWIG_From_int((int)(result
));
38755 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38756 PyObject
*resultobj
;
38757 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38759 PyObject
* obj0
= 0 ;
38760 PyObject
* obj1
= 0 ;
38761 char *kwnames
[] = {
38762 (char *) "self",(char *) "border", NULL
38765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
38766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38767 if (SWIG_arg_fail(1)) SWIG_fail
;
38769 arg2
= (int)(SWIG_As_int(obj1
));
38770 if (SWIG_arg_fail(2)) SWIG_fail
;
38773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38774 (arg1
)->SetBorder(arg2
);
38776 wxPyEndAllowThreads(__tstate
);
38777 if (PyErr_Occurred()) SWIG_fail
;
38779 Py_INCREF(Py_None
); resultobj
= Py_None
;
38786 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38787 PyObject
*resultobj
;
38788 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38790 PyObject
* obj0
= 0 ;
38791 char *kwnames
[] = {
38792 (char *) "self", NULL
38795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
38796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38797 if (SWIG_arg_fail(1)) SWIG_fail
;
38799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38800 result
= (int)(arg1
)->GetBorder();
38802 wxPyEndAllowThreads(__tstate
);
38803 if (PyErr_Occurred()) SWIG_fail
;
38806 resultobj
= SWIG_From_int((int)(result
));
38814 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38815 PyObject
*resultobj
;
38816 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38818 PyObject
* obj0
= 0 ;
38819 char *kwnames
[] = {
38820 (char *) "self", NULL
38823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
38824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38825 if (SWIG_arg_fail(1)) SWIG_fail
;
38827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38828 result
= (wxWindow
*)(arg1
)->GetWindow();
38830 wxPyEndAllowThreads(__tstate
);
38831 if (PyErr_Occurred()) SWIG_fail
;
38834 resultobj
= wxPyMake_wxObject(result
, 0);
38842 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38843 PyObject
*resultobj
;
38844 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38845 wxWindow
*arg2
= (wxWindow
*) 0 ;
38846 PyObject
* obj0
= 0 ;
38847 PyObject
* obj1
= 0 ;
38848 char *kwnames
[] = {
38849 (char *) "self",(char *) "window", NULL
38852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
38853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38854 if (SWIG_arg_fail(1)) SWIG_fail
;
38855 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38856 if (SWIG_arg_fail(2)) SWIG_fail
;
38858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38859 (arg1
)->SetWindow(arg2
);
38861 wxPyEndAllowThreads(__tstate
);
38862 if (PyErr_Occurred()) SWIG_fail
;
38864 Py_INCREF(Py_None
); resultobj
= Py_None
;
38871 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38872 PyObject
*resultobj
;
38873 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38875 PyObject
* obj0
= 0 ;
38876 char *kwnames
[] = {
38877 (char *) "self", NULL
38880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
38881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38882 if (SWIG_arg_fail(1)) SWIG_fail
;
38884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38885 result
= (wxSizer
*)(arg1
)->GetSizer();
38887 wxPyEndAllowThreads(__tstate
);
38888 if (PyErr_Occurred()) SWIG_fail
;
38891 resultobj
= wxPyMake_wxSizer(result
, 0);
38899 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38900 PyObject
*resultobj
;
38901 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38902 wxSizer
*arg2
= (wxSizer
*) 0 ;
38903 PyObject
* obj0
= 0 ;
38904 PyObject
* obj1
= 0 ;
38905 char *kwnames
[] = {
38906 (char *) "self",(char *) "sizer", NULL
38909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38911 if (SWIG_arg_fail(1)) SWIG_fail
;
38912 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38913 if (SWIG_arg_fail(2)) SWIG_fail
;
38915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38916 (arg1
)->SetSizer(arg2
);
38918 wxPyEndAllowThreads(__tstate
);
38919 if (PyErr_Occurred()) SWIG_fail
;
38921 Py_INCREF(Py_None
); resultobj
= Py_None
;
38928 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38929 PyObject
*resultobj
;
38930 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38932 PyObject
* obj0
= 0 ;
38933 char *kwnames
[] = {
38934 (char *) "self", NULL
38937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
38938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38939 if (SWIG_arg_fail(1)) SWIG_fail
;
38941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38943 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
38944 result
= (wxSize
*) &_result_ref
;
38947 wxPyEndAllowThreads(__tstate
);
38948 if (PyErr_Occurred()) SWIG_fail
;
38950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
38957 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38958 PyObject
*resultobj
;
38959 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38962 PyObject
* obj0
= 0 ;
38963 PyObject
* obj1
= 0 ;
38964 char *kwnames
[] = {
38965 (char *) "self",(char *) "size", NULL
38968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
38969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38970 if (SWIG_arg_fail(1)) SWIG_fail
;
38973 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38977 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
38979 wxPyEndAllowThreads(__tstate
);
38980 if (PyErr_Occurred()) SWIG_fail
;
38982 Py_INCREF(Py_None
); resultobj
= Py_None
;
38989 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38990 PyObject
*resultobj
;
38991 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38993 PyObject
* obj0
= 0 ;
38994 PyObject
* obj1
= 0 ;
38995 char *kwnames
[] = {
38996 (char *) "self",(char *) "show", NULL
38999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
39000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39001 if (SWIG_arg_fail(1)) SWIG_fail
;
39003 arg2
= (bool)(SWIG_As_bool(obj1
));
39004 if (SWIG_arg_fail(2)) SWIG_fail
;
39007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39008 (arg1
)->Show(arg2
);
39010 wxPyEndAllowThreads(__tstate
);
39011 if (PyErr_Occurred()) SWIG_fail
;
39013 Py_INCREF(Py_None
); resultobj
= Py_None
;
39020 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39021 PyObject
*resultobj
;
39022 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39024 PyObject
* obj0
= 0 ;
39025 char *kwnames
[] = {
39026 (char *) "self", NULL
39029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
39030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39031 if (SWIG_arg_fail(1)) SWIG_fail
;
39033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39034 result
= (bool)(arg1
)->IsShown();
39036 wxPyEndAllowThreads(__tstate
);
39037 if (PyErr_Occurred()) SWIG_fail
;
39040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39048 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39049 PyObject
*resultobj
;
39050 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39052 PyObject
* obj0
= 0 ;
39053 char *kwnames
[] = {
39054 (char *) "self", NULL
39057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
39058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39059 if (SWIG_arg_fail(1)) SWIG_fail
;
39061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39062 result
= (arg1
)->GetPosition();
39064 wxPyEndAllowThreads(__tstate
);
39065 if (PyErr_Occurred()) SWIG_fail
;
39068 wxPoint
* resultptr
;
39069 resultptr
= new wxPoint((wxPoint
&)(result
));
39070 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39078 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39079 PyObject
*resultobj
;
39080 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39082 PyObject
* obj0
= 0 ;
39083 char *kwnames
[] = {
39084 (char *) "self", NULL
39087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
39088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39089 if (SWIG_arg_fail(1)) SWIG_fail
;
39091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39092 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
39094 wxPyEndAllowThreads(__tstate
);
39095 if (PyErr_Occurred()) SWIG_fail
;
39097 resultobj
= result
;
39104 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
39106 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39107 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
39109 return Py_BuildValue((char *)"");
39111 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39112 PyObject
*resultobj
;
39113 wxSizer
*arg1
= (wxSizer
*) 0 ;
39114 PyObject
*arg2
= (PyObject
*) 0 ;
39115 PyObject
* obj0
= 0 ;
39116 PyObject
* obj1
= 0 ;
39117 char *kwnames
[] = {
39118 (char *) "self",(char *) "_self", NULL
39121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
39122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39123 if (SWIG_arg_fail(1)) SWIG_fail
;
39126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39127 wxSizer__setOORInfo(arg1
,arg2
);
39129 wxPyEndAllowThreads(__tstate
);
39130 if (PyErr_Occurred()) SWIG_fail
;
39132 Py_INCREF(Py_None
); resultobj
= Py_None
;
39139 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39140 PyObject
*resultobj
;
39141 wxSizer
*arg1
= (wxSizer
*) 0 ;
39142 PyObject
*arg2
= (PyObject
*) 0 ;
39143 int arg3
= (int) 0 ;
39144 int arg4
= (int) 0 ;
39145 int arg5
= (int) 0 ;
39146 PyObject
*arg6
= (PyObject
*) NULL
;
39147 wxSizerItem
*result
;
39148 PyObject
* obj0
= 0 ;
39149 PyObject
* obj1
= 0 ;
39150 PyObject
* obj2
= 0 ;
39151 PyObject
* obj3
= 0 ;
39152 PyObject
* obj4
= 0 ;
39153 PyObject
* obj5
= 0 ;
39154 char *kwnames
[] = {
39155 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39160 if (SWIG_arg_fail(1)) SWIG_fail
;
39164 arg3
= (int)(SWIG_As_int(obj2
));
39165 if (SWIG_arg_fail(3)) SWIG_fail
;
39170 arg4
= (int)(SWIG_As_int(obj3
));
39171 if (SWIG_arg_fail(4)) SWIG_fail
;
39176 arg5
= (int)(SWIG_As_int(obj4
));
39177 if (SWIG_arg_fail(5)) SWIG_fail
;
39184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39185 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39187 wxPyEndAllowThreads(__tstate
);
39188 if (PyErr_Occurred()) SWIG_fail
;
39190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39197 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39198 PyObject
*resultobj
;
39199 wxSizer
*arg1
= (wxSizer
*) 0 ;
39201 PyObject
*arg3
= (PyObject
*) 0 ;
39202 int arg4
= (int) 0 ;
39203 int arg5
= (int) 0 ;
39204 int arg6
= (int) 0 ;
39205 PyObject
*arg7
= (PyObject
*) NULL
;
39206 wxSizerItem
*result
;
39207 PyObject
* obj0
= 0 ;
39208 PyObject
* obj1
= 0 ;
39209 PyObject
* obj2
= 0 ;
39210 PyObject
* obj3
= 0 ;
39211 PyObject
* obj4
= 0 ;
39212 PyObject
* obj5
= 0 ;
39213 PyObject
* obj6
= 0 ;
39214 char *kwnames
[] = {
39215 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
39219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39220 if (SWIG_arg_fail(1)) SWIG_fail
;
39222 arg2
= (int)(SWIG_As_int(obj1
));
39223 if (SWIG_arg_fail(2)) SWIG_fail
;
39228 arg4
= (int)(SWIG_As_int(obj3
));
39229 if (SWIG_arg_fail(4)) SWIG_fail
;
39234 arg5
= (int)(SWIG_As_int(obj4
));
39235 if (SWIG_arg_fail(5)) SWIG_fail
;
39240 arg6
= (int)(SWIG_As_int(obj5
));
39241 if (SWIG_arg_fail(6)) SWIG_fail
;
39248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39249 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
39251 wxPyEndAllowThreads(__tstate
);
39252 if (PyErr_Occurred()) SWIG_fail
;
39254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39261 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39262 PyObject
*resultobj
;
39263 wxSizer
*arg1
= (wxSizer
*) 0 ;
39264 PyObject
*arg2
= (PyObject
*) 0 ;
39265 int arg3
= (int) 0 ;
39266 int arg4
= (int) 0 ;
39267 int arg5
= (int) 0 ;
39268 PyObject
*arg6
= (PyObject
*) NULL
;
39269 wxSizerItem
*result
;
39270 PyObject
* obj0
= 0 ;
39271 PyObject
* obj1
= 0 ;
39272 PyObject
* obj2
= 0 ;
39273 PyObject
* obj3
= 0 ;
39274 PyObject
* obj4
= 0 ;
39275 PyObject
* obj5
= 0 ;
39276 char *kwnames
[] = {
39277 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39282 if (SWIG_arg_fail(1)) SWIG_fail
;
39286 arg3
= (int)(SWIG_As_int(obj2
));
39287 if (SWIG_arg_fail(3)) SWIG_fail
;
39292 arg4
= (int)(SWIG_As_int(obj3
));
39293 if (SWIG_arg_fail(4)) SWIG_fail
;
39298 arg5
= (int)(SWIG_As_int(obj4
));
39299 if (SWIG_arg_fail(5)) SWIG_fail
;
39306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39307 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39309 wxPyEndAllowThreads(__tstate
);
39310 if (PyErr_Occurred()) SWIG_fail
;
39312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39319 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39320 PyObject
*resultobj
;
39321 wxSizer
*arg1
= (wxSizer
*) 0 ;
39322 PyObject
*arg2
= (PyObject
*) 0 ;
39324 PyObject
* obj0
= 0 ;
39325 PyObject
* obj1
= 0 ;
39326 char *kwnames
[] = {
39327 (char *) "self",(char *) "item", NULL
39330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
39331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39332 if (SWIG_arg_fail(1)) SWIG_fail
;
39335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39336 result
= (bool)wxSizer_Remove(arg1
,arg2
);
39338 wxPyEndAllowThreads(__tstate
);
39339 if (PyErr_Occurred()) SWIG_fail
;
39342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39350 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39351 PyObject
*resultobj
;
39352 wxSizer
*arg1
= (wxSizer
*) 0 ;
39353 PyObject
*arg2
= (PyObject
*) 0 ;
39355 PyObject
* obj0
= 0 ;
39356 PyObject
* obj1
= 0 ;
39357 char *kwnames
[] = {
39358 (char *) "self",(char *) "item", NULL
39361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
39362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39363 if (SWIG_arg_fail(1)) SWIG_fail
;
39366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39367 result
= (bool)wxSizer_Detach(arg1
,arg2
);
39369 wxPyEndAllowThreads(__tstate
);
39370 if (PyErr_Occurred()) SWIG_fail
;
39373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39381 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39382 PyObject
*resultobj
;
39383 wxSizer
*arg1
= (wxSizer
*) 0 ;
39384 PyObject
*arg2
= (PyObject
*) 0 ;
39385 wxSizerItem
*result
;
39386 PyObject
* obj0
= 0 ;
39387 PyObject
* obj1
= 0 ;
39388 char *kwnames
[] = {
39389 (char *) "self",(char *) "item", NULL
39392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39394 if (SWIG_arg_fail(1)) SWIG_fail
;
39397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39398 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
39400 wxPyEndAllowThreads(__tstate
);
39401 if (PyErr_Occurred()) SWIG_fail
;
39403 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39410 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39411 PyObject
*resultobj
;
39412 wxSizer
*arg1
= (wxSizer
*) 0 ;
39413 PyObject
*arg2
= (PyObject
*) 0 ;
39416 PyObject
* obj0
= 0 ;
39417 PyObject
* obj1
= 0 ;
39418 PyObject
* obj2
= 0 ;
39419 char *kwnames
[] = {
39420 (char *) "self",(char *) "item",(char *) "size", NULL
39423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39425 if (SWIG_arg_fail(1)) SWIG_fail
;
39429 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
39432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39433 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
39435 wxPyEndAllowThreads(__tstate
);
39436 if (PyErr_Occurred()) SWIG_fail
;
39438 Py_INCREF(Py_None
); resultobj
= Py_None
;
39445 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39446 PyObject
*resultobj
;
39447 wxSizer
*arg1
= (wxSizer
*) 0 ;
39448 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39449 wxSizerItem
*result
;
39450 PyObject
* obj0
= 0 ;
39451 PyObject
* obj1
= 0 ;
39452 char *kwnames
[] = {
39453 (char *) "self",(char *) "item", NULL
39456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39458 if (SWIG_arg_fail(1)) SWIG_fail
;
39459 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39460 if (SWIG_arg_fail(2)) SWIG_fail
;
39462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39463 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
39465 wxPyEndAllowThreads(__tstate
);
39466 if (PyErr_Occurred()) SWIG_fail
;
39468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39475 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39476 PyObject
*resultobj
;
39477 wxSizer
*arg1
= (wxSizer
*) 0 ;
39479 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
39480 wxSizerItem
*result
;
39481 PyObject
* obj0
= 0 ;
39482 PyObject
* obj1
= 0 ;
39483 PyObject
* obj2
= 0 ;
39484 char *kwnames
[] = {
39485 (char *) "self",(char *) "index",(char *) "item", NULL
39488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39490 if (SWIG_arg_fail(1)) SWIG_fail
;
39492 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39493 if (SWIG_arg_fail(2)) SWIG_fail
;
39495 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39496 if (SWIG_arg_fail(3)) SWIG_fail
;
39498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39499 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
39501 wxPyEndAllowThreads(__tstate
);
39502 if (PyErr_Occurred()) SWIG_fail
;
39504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39511 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39512 PyObject
*resultobj
;
39513 wxSizer
*arg1
= (wxSizer
*) 0 ;
39514 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39515 wxSizerItem
*result
;
39516 PyObject
* obj0
= 0 ;
39517 PyObject
* obj1
= 0 ;
39518 char *kwnames
[] = {
39519 (char *) "self",(char *) "item", NULL
39522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39524 if (SWIG_arg_fail(1)) SWIG_fail
;
39525 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39526 if (SWIG_arg_fail(2)) SWIG_fail
;
39528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39529 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
39531 wxPyEndAllowThreads(__tstate
);
39532 if (PyErr_Occurred()) SWIG_fail
;
39534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39541 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39542 PyObject
*resultobj
;
39543 wxSizer
*arg1
= (wxSizer
*) 0 ;
39548 PyObject
* obj0
= 0 ;
39549 PyObject
* obj1
= 0 ;
39550 PyObject
* obj2
= 0 ;
39551 PyObject
* obj3
= 0 ;
39552 PyObject
* obj4
= 0 ;
39553 char *kwnames
[] = {
39554 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
39558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39559 if (SWIG_arg_fail(1)) SWIG_fail
;
39561 arg2
= (int)(SWIG_As_int(obj1
));
39562 if (SWIG_arg_fail(2)) SWIG_fail
;
39565 arg3
= (int)(SWIG_As_int(obj2
));
39566 if (SWIG_arg_fail(3)) SWIG_fail
;
39569 arg4
= (int)(SWIG_As_int(obj3
));
39570 if (SWIG_arg_fail(4)) SWIG_fail
;
39573 arg5
= (int)(SWIG_As_int(obj4
));
39574 if (SWIG_arg_fail(5)) SWIG_fail
;
39577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39578 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
39580 wxPyEndAllowThreads(__tstate
);
39581 if (PyErr_Occurred()) SWIG_fail
;
39583 Py_INCREF(Py_None
); resultobj
= Py_None
;
39590 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39591 PyObject
*resultobj
;
39592 wxSizer
*arg1
= (wxSizer
*) 0 ;
39595 PyObject
* obj0
= 0 ;
39596 PyObject
* obj1
= 0 ;
39597 char *kwnames
[] = {
39598 (char *) "self",(char *) "size", NULL
39601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
39602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39603 if (SWIG_arg_fail(1)) SWIG_fail
;
39606 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39610 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
39612 wxPyEndAllowThreads(__tstate
);
39613 if (PyErr_Occurred()) SWIG_fail
;
39615 Py_INCREF(Py_None
); resultobj
= Py_None
;
39622 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39623 PyObject
*resultobj
;
39624 wxSizer
*arg1
= (wxSizer
*) 0 ;
39626 PyObject
* obj0
= 0 ;
39627 char *kwnames
[] = {
39628 (char *) "self", NULL
39631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
39632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39633 if (SWIG_arg_fail(1)) SWIG_fail
;
39635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39636 result
= (arg1
)->GetSize();
39638 wxPyEndAllowThreads(__tstate
);
39639 if (PyErr_Occurred()) SWIG_fail
;
39642 wxSize
* resultptr
;
39643 resultptr
= new wxSize((wxSize
&)(result
));
39644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39652 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39653 PyObject
*resultobj
;
39654 wxSizer
*arg1
= (wxSizer
*) 0 ;
39656 PyObject
* obj0
= 0 ;
39657 char *kwnames
[] = {
39658 (char *) "self", NULL
39661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
39662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39663 if (SWIG_arg_fail(1)) SWIG_fail
;
39665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39666 result
= (arg1
)->GetPosition();
39668 wxPyEndAllowThreads(__tstate
);
39669 if (PyErr_Occurred()) SWIG_fail
;
39672 wxPoint
* resultptr
;
39673 resultptr
= new wxPoint((wxPoint
&)(result
));
39674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39682 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39683 PyObject
*resultobj
;
39684 wxSizer
*arg1
= (wxSizer
*) 0 ;
39686 PyObject
* obj0
= 0 ;
39687 char *kwnames
[] = {
39688 (char *) "self", NULL
39691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
39692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39693 if (SWIG_arg_fail(1)) SWIG_fail
;
39695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39696 result
= (arg1
)->GetMinSize();
39698 wxPyEndAllowThreads(__tstate
);
39699 if (PyErr_Occurred()) SWIG_fail
;
39702 wxSize
* resultptr
;
39703 resultptr
= new wxSize((wxSize
&)(result
));
39704 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39712 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39713 PyObject
*resultobj
;
39714 wxSizer
*arg1
= (wxSizer
*) 0 ;
39715 PyObject
* obj0
= 0 ;
39716 char *kwnames
[] = {
39717 (char *) "self", NULL
39720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
39721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39722 if (SWIG_arg_fail(1)) SWIG_fail
;
39724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39725 (arg1
)->RecalcSizes();
39727 wxPyEndAllowThreads(__tstate
);
39728 if (PyErr_Occurred()) SWIG_fail
;
39730 Py_INCREF(Py_None
); resultobj
= Py_None
;
39737 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39738 PyObject
*resultobj
;
39739 wxSizer
*arg1
= (wxSizer
*) 0 ;
39741 PyObject
* obj0
= 0 ;
39742 char *kwnames
[] = {
39743 (char *) "self", NULL
39746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
39747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39748 if (SWIG_arg_fail(1)) SWIG_fail
;
39750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39751 result
= (arg1
)->CalcMin();
39753 wxPyEndAllowThreads(__tstate
);
39754 if (PyErr_Occurred()) SWIG_fail
;
39757 wxSize
* resultptr
;
39758 resultptr
= new wxSize((wxSize
&)(result
));
39759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39767 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39768 PyObject
*resultobj
;
39769 wxSizer
*arg1
= (wxSizer
*) 0 ;
39770 PyObject
* obj0
= 0 ;
39771 char *kwnames
[] = {
39772 (char *) "self", NULL
39775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
39776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39777 if (SWIG_arg_fail(1)) SWIG_fail
;
39779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39782 wxPyEndAllowThreads(__tstate
);
39783 if (PyErr_Occurred()) SWIG_fail
;
39785 Py_INCREF(Py_None
); resultobj
= Py_None
;
39792 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39793 PyObject
*resultobj
;
39794 wxSizer
*arg1
= (wxSizer
*) 0 ;
39795 wxWindow
*arg2
= (wxWindow
*) 0 ;
39797 PyObject
* obj0
= 0 ;
39798 PyObject
* obj1
= 0 ;
39799 char *kwnames
[] = {
39800 (char *) "self",(char *) "window", NULL
39803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
39804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39805 if (SWIG_arg_fail(1)) SWIG_fail
;
39806 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39807 if (SWIG_arg_fail(2)) SWIG_fail
;
39809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39810 result
= (arg1
)->Fit(arg2
);
39812 wxPyEndAllowThreads(__tstate
);
39813 if (PyErr_Occurred()) SWIG_fail
;
39816 wxSize
* resultptr
;
39817 resultptr
= new wxSize((wxSize
&)(result
));
39818 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39826 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39827 PyObject
*resultobj
;
39828 wxSizer
*arg1
= (wxSizer
*) 0 ;
39829 wxWindow
*arg2
= (wxWindow
*) 0 ;
39830 PyObject
* obj0
= 0 ;
39831 PyObject
* obj1
= 0 ;
39832 char *kwnames
[] = {
39833 (char *) "self",(char *) "window", NULL
39836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
39837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39838 if (SWIG_arg_fail(1)) SWIG_fail
;
39839 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39840 if (SWIG_arg_fail(2)) SWIG_fail
;
39842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39843 (arg1
)->FitInside(arg2
);
39845 wxPyEndAllowThreads(__tstate
);
39846 if (PyErr_Occurred()) SWIG_fail
;
39848 Py_INCREF(Py_None
); resultobj
= Py_None
;
39855 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39856 PyObject
*resultobj
;
39857 wxSizer
*arg1
= (wxSizer
*) 0 ;
39858 wxWindow
*arg2
= (wxWindow
*) 0 ;
39859 PyObject
* obj0
= 0 ;
39860 PyObject
* obj1
= 0 ;
39861 char *kwnames
[] = {
39862 (char *) "self",(char *) "window", NULL
39865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
39866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39867 if (SWIG_arg_fail(1)) SWIG_fail
;
39868 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39869 if (SWIG_arg_fail(2)) SWIG_fail
;
39871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39872 (arg1
)->SetSizeHints(arg2
);
39874 wxPyEndAllowThreads(__tstate
);
39875 if (PyErr_Occurred()) SWIG_fail
;
39877 Py_INCREF(Py_None
); resultobj
= Py_None
;
39884 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39885 PyObject
*resultobj
;
39886 wxSizer
*arg1
= (wxSizer
*) 0 ;
39887 wxWindow
*arg2
= (wxWindow
*) 0 ;
39888 PyObject
* obj0
= 0 ;
39889 PyObject
* obj1
= 0 ;
39890 char *kwnames
[] = {
39891 (char *) "self",(char *) "window", NULL
39894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
39895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39896 if (SWIG_arg_fail(1)) SWIG_fail
;
39897 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39898 if (SWIG_arg_fail(2)) SWIG_fail
;
39900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39901 (arg1
)->SetVirtualSizeHints(arg2
);
39903 wxPyEndAllowThreads(__tstate
);
39904 if (PyErr_Occurred()) SWIG_fail
;
39906 Py_INCREF(Py_None
); resultobj
= Py_None
;
39913 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39914 PyObject
*resultobj
;
39915 wxSizer
*arg1
= (wxSizer
*) 0 ;
39916 bool arg2
= (bool) false ;
39917 PyObject
* obj0
= 0 ;
39918 PyObject
* obj1
= 0 ;
39919 char *kwnames
[] = {
39920 (char *) "self",(char *) "deleteWindows", NULL
39923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
39924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39925 if (SWIG_arg_fail(1)) SWIG_fail
;
39928 arg2
= (bool)(SWIG_As_bool(obj1
));
39929 if (SWIG_arg_fail(2)) SWIG_fail
;
39933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39934 (arg1
)->Clear(arg2
);
39936 wxPyEndAllowThreads(__tstate
);
39937 if (PyErr_Occurred()) SWIG_fail
;
39939 Py_INCREF(Py_None
); resultobj
= Py_None
;
39946 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39947 PyObject
*resultobj
;
39948 wxSizer
*arg1
= (wxSizer
*) 0 ;
39949 PyObject
* obj0
= 0 ;
39950 char *kwnames
[] = {
39951 (char *) "self", NULL
39954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
39955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39956 if (SWIG_arg_fail(1)) SWIG_fail
;
39958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39959 (arg1
)->DeleteWindows();
39961 wxPyEndAllowThreads(__tstate
);
39962 if (PyErr_Occurred()) SWIG_fail
;
39964 Py_INCREF(Py_None
); resultobj
= Py_None
;
39971 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39972 PyObject
*resultobj
;
39973 wxSizer
*arg1
= (wxSizer
*) 0 ;
39975 PyObject
* obj0
= 0 ;
39976 char *kwnames
[] = {
39977 (char *) "self", NULL
39980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
39981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39982 if (SWIG_arg_fail(1)) SWIG_fail
;
39984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39985 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
39987 wxPyEndAllowThreads(__tstate
);
39988 if (PyErr_Occurred()) SWIG_fail
;
39990 resultobj
= result
;
39997 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39998 PyObject
*resultobj
;
39999 wxSizer
*arg1
= (wxSizer
*) 0 ;
40000 PyObject
*arg2
= (PyObject
*) 0 ;
40001 bool arg3
= (bool) true ;
40002 bool arg4
= (bool) false ;
40004 PyObject
* obj0
= 0 ;
40005 PyObject
* obj1
= 0 ;
40006 PyObject
* obj2
= 0 ;
40007 PyObject
* obj3
= 0 ;
40008 char *kwnames
[] = {
40009 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
40012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40014 if (SWIG_arg_fail(1)) SWIG_fail
;
40018 arg3
= (bool)(SWIG_As_bool(obj2
));
40019 if (SWIG_arg_fail(3)) SWIG_fail
;
40024 arg4
= (bool)(SWIG_As_bool(obj3
));
40025 if (SWIG_arg_fail(4)) SWIG_fail
;
40029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40030 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
40032 wxPyEndAllowThreads(__tstate
);
40033 if (PyErr_Occurred()) SWIG_fail
;
40036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40044 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40045 PyObject
*resultobj
;
40046 wxSizer
*arg1
= (wxSizer
*) 0 ;
40047 PyObject
*arg2
= (PyObject
*) 0 ;
40049 PyObject
* obj0
= 0 ;
40050 PyObject
* obj1
= 0 ;
40051 char *kwnames
[] = {
40052 (char *) "self",(char *) "item", NULL
40055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
40056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40057 if (SWIG_arg_fail(1)) SWIG_fail
;
40060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40061 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
40063 wxPyEndAllowThreads(__tstate
);
40064 if (PyErr_Occurred()) SWIG_fail
;
40067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40075 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40076 PyObject
*resultobj
;
40077 wxSizer
*arg1
= (wxSizer
*) 0 ;
40079 PyObject
* obj0
= 0 ;
40080 PyObject
* obj1
= 0 ;
40081 char *kwnames
[] = {
40082 (char *) "self",(char *) "show", NULL
40085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
40086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40087 if (SWIG_arg_fail(1)) SWIG_fail
;
40089 arg2
= (bool)(SWIG_As_bool(obj1
));
40090 if (SWIG_arg_fail(2)) SWIG_fail
;
40093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40094 (arg1
)->ShowItems(arg2
);
40096 wxPyEndAllowThreads(__tstate
);
40097 if (PyErr_Occurred()) SWIG_fail
;
40099 Py_INCREF(Py_None
); resultobj
= Py_None
;
40106 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
40108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40109 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
40111 return Py_BuildValue((char *)"");
40113 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40114 PyObject
*resultobj
;
40116 char *kwnames
[] = {
40120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
40122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40123 result
= (wxPySizer
*)new wxPySizer();
40125 wxPyEndAllowThreads(__tstate
);
40126 if (PyErr_Occurred()) SWIG_fail
;
40128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
40135 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40136 PyObject
*resultobj
;
40137 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
40138 PyObject
*arg2
= (PyObject
*) 0 ;
40139 PyObject
*arg3
= (PyObject
*) 0 ;
40140 PyObject
* obj0
= 0 ;
40141 PyObject
* obj1
= 0 ;
40142 PyObject
* obj2
= 0 ;
40143 char *kwnames
[] = {
40144 (char *) "self",(char *) "self",(char *) "_class", NULL
40147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
40149 if (SWIG_arg_fail(1)) SWIG_fail
;
40153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40154 (arg1
)->_setCallbackInfo(arg2
,arg3
);
40156 wxPyEndAllowThreads(__tstate
);
40157 if (PyErr_Occurred()) SWIG_fail
;
40159 Py_INCREF(Py_None
); resultobj
= Py_None
;
40166 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
40168 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40169 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
40171 return Py_BuildValue((char *)"");
40173 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40174 PyObject
*resultobj
;
40175 int arg1
= (int) wxHORIZONTAL
;
40176 wxBoxSizer
*result
;
40177 PyObject
* obj0
= 0 ;
40178 char *kwnames
[] = {
40179 (char *) "orient", NULL
40182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
40185 arg1
= (int)(SWIG_As_int(obj0
));
40186 if (SWIG_arg_fail(1)) SWIG_fail
;
40190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40191 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
40193 wxPyEndAllowThreads(__tstate
);
40194 if (PyErr_Occurred()) SWIG_fail
;
40196 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
40203 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40204 PyObject
*resultobj
;
40205 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40207 PyObject
* obj0
= 0 ;
40208 char *kwnames
[] = {
40209 (char *) "self", NULL
40212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
40213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40214 if (SWIG_arg_fail(1)) SWIG_fail
;
40216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40217 result
= (int)(arg1
)->GetOrientation();
40219 wxPyEndAllowThreads(__tstate
);
40220 if (PyErr_Occurred()) SWIG_fail
;
40223 resultobj
= SWIG_From_int((int)(result
));
40231 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40232 PyObject
*resultobj
;
40233 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40235 PyObject
* obj0
= 0 ;
40236 PyObject
* obj1
= 0 ;
40237 char *kwnames
[] = {
40238 (char *) "self",(char *) "orient", NULL
40241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
40242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40243 if (SWIG_arg_fail(1)) SWIG_fail
;
40245 arg2
= (int)(SWIG_As_int(obj1
));
40246 if (SWIG_arg_fail(2)) SWIG_fail
;
40249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40250 (arg1
)->SetOrientation(arg2
);
40252 wxPyEndAllowThreads(__tstate
);
40253 if (PyErr_Occurred()) SWIG_fail
;
40255 Py_INCREF(Py_None
); resultobj
= Py_None
;
40262 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40264 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40265 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
40267 return Py_BuildValue((char *)"");
40269 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40270 PyObject
*resultobj
;
40271 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
40272 int arg2
= (int) wxHORIZONTAL
;
40273 wxStaticBoxSizer
*result
;
40274 PyObject
* obj0
= 0 ;
40275 PyObject
* obj1
= 0 ;
40276 char *kwnames
[] = {
40277 (char *) "box",(char *) "orient", NULL
40280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
40281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
40282 if (SWIG_arg_fail(1)) SWIG_fail
;
40285 arg2
= (int)(SWIG_As_int(obj1
));
40286 if (SWIG_arg_fail(2)) SWIG_fail
;
40290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40291 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
40293 wxPyEndAllowThreads(__tstate
);
40294 if (PyErr_Occurred()) SWIG_fail
;
40296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
40303 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40304 PyObject
*resultobj
;
40305 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
40306 wxStaticBox
*result
;
40307 PyObject
* obj0
= 0 ;
40308 char *kwnames
[] = {
40309 (char *) "self", NULL
40312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
40313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40314 if (SWIG_arg_fail(1)) SWIG_fail
;
40316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40317 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
40319 wxPyEndAllowThreads(__tstate
);
40320 if (PyErr_Occurred()) SWIG_fail
;
40323 resultobj
= wxPyMake_wxObject(result
, 0);
40331 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40334 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
40336 return Py_BuildValue((char *)"");
40338 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40339 PyObject
*resultobj
;
40340 int arg1
= (int) 1 ;
40341 int arg2
= (int) 0 ;
40342 int arg3
= (int) 0 ;
40343 int arg4
= (int) 0 ;
40344 wxGridSizer
*result
;
40345 PyObject
* obj0
= 0 ;
40346 PyObject
* obj1
= 0 ;
40347 PyObject
* obj2
= 0 ;
40348 PyObject
* obj3
= 0 ;
40349 char *kwnames
[] = {
40350 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40356 arg1
= (int)(SWIG_As_int(obj0
));
40357 if (SWIG_arg_fail(1)) SWIG_fail
;
40362 arg2
= (int)(SWIG_As_int(obj1
));
40363 if (SWIG_arg_fail(2)) SWIG_fail
;
40368 arg3
= (int)(SWIG_As_int(obj2
));
40369 if (SWIG_arg_fail(3)) SWIG_fail
;
40374 arg4
= (int)(SWIG_As_int(obj3
));
40375 if (SWIG_arg_fail(4)) SWIG_fail
;
40379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40380 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
40382 wxPyEndAllowThreads(__tstate
);
40383 if (PyErr_Occurred()) SWIG_fail
;
40385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
40392 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40393 PyObject
*resultobj
;
40394 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40396 PyObject
* obj0
= 0 ;
40397 PyObject
* obj1
= 0 ;
40398 char *kwnames
[] = {
40399 (char *) "self",(char *) "cols", NULL
40402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
40403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40404 if (SWIG_arg_fail(1)) SWIG_fail
;
40406 arg2
= (int)(SWIG_As_int(obj1
));
40407 if (SWIG_arg_fail(2)) SWIG_fail
;
40410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40411 (arg1
)->SetCols(arg2
);
40413 wxPyEndAllowThreads(__tstate
);
40414 if (PyErr_Occurred()) SWIG_fail
;
40416 Py_INCREF(Py_None
); resultobj
= Py_None
;
40423 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40424 PyObject
*resultobj
;
40425 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40427 PyObject
* obj0
= 0 ;
40428 PyObject
* obj1
= 0 ;
40429 char *kwnames
[] = {
40430 (char *) "self",(char *) "rows", NULL
40433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
40434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40435 if (SWIG_arg_fail(1)) SWIG_fail
;
40437 arg2
= (int)(SWIG_As_int(obj1
));
40438 if (SWIG_arg_fail(2)) SWIG_fail
;
40441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40442 (arg1
)->SetRows(arg2
);
40444 wxPyEndAllowThreads(__tstate
);
40445 if (PyErr_Occurred()) SWIG_fail
;
40447 Py_INCREF(Py_None
); resultobj
= Py_None
;
40454 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40455 PyObject
*resultobj
;
40456 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40458 PyObject
* obj0
= 0 ;
40459 PyObject
* obj1
= 0 ;
40460 char *kwnames
[] = {
40461 (char *) "self",(char *) "gap", NULL
40464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40466 if (SWIG_arg_fail(1)) SWIG_fail
;
40468 arg2
= (int)(SWIG_As_int(obj1
));
40469 if (SWIG_arg_fail(2)) SWIG_fail
;
40472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40473 (arg1
)->SetVGap(arg2
);
40475 wxPyEndAllowThreads(__tstate
);
40476 if (PyErr_Occurred()) SWIG_fail
;
40478 Py_INCREF(Py_None
); resultobj
= Py_None
;
40485 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40486 PyObject
*resultobj
;
40487 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40489 PyObject
* obj0
= 0 ;
40490 PyObject
* obj1
= 0 ;
40491 char *kwnames
[] = {
40492 (char *) "self",(char *) "gap", NULL
40495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40497 if (SWIG_arg_fail(1)) SWIG_fail
;
40499 arg2
= (int)(SWIG_As_int(obj1
));
40500 if (SWIG_arg_fail(2)) SWIG_fail
;
40503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40504 (arg1
)->SetHGap(arg2
);
40506 wxPyEndAllowThreads(__tstate
);
40507 if (PyErr_Occurred()) SWIG_fail
;
40509 Py_INCREF(Py_None
); resultobj
= Py_None
;
40516 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40517 PyObject
*resultobj
;
40518 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40520 PyObject
* obj0
= 0 ;
40521 char *kwnames
[] = {
40522 (char *) "self", NULL
40525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
40526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40527 if (SWIG_arg_fail(1)) SWIG_fail
;
40529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40530 result
= (int)(arg1
)->GetCols();
40532 wxPyEndAllowThreads(__tstate
);
40533 if (PyErr_Occurred()) SWIG_fail
;
40536 resultobj
= SWIG_From_int((int)(result
));
40544 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40545 PyObject
*resultobj
;
40546 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40548 PyObject
* obj0
= 0 ;
40549 char *kwnames
[] = {
40550 (char *) "self", NULL
40553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
40554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40555 if (SWIG_arg_fail(1)) SWIG_fail
;
40557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40558 result
= (int)(arg1
)->GetRows();
40560 wxPyEndAllowThreads(__tstate
);
40561 if (PyErr_Occurred()) SWIG_fail
;
40564 resultobj
= SWIG_From_int((int)(result
));
40572 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40573 PyObject
*resultobj
;
40574 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40576 PyObject
* obj0
= 0 ;
40577 char *kwnames
[] = {
40578 (char *) "self", NULL
40581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
40582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40583 if (SWIG_arg_fail(1)) SWIG_fail
;
40585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40586 result
= (int)(arg1
)->GetVGap();
40588 wxPyEndAllowThreads(__tstate
);
40589 if (PyErr_Occurred()) SWIG_fail
;
40592 resultobj
= SWIG_From_int((int)(result
));
40600 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40601 PyObject
*resultobj
;
40602 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40604 PyObject
* obj0
= 0 ;
40605 char *kwnames
[] = {
40606 (char *) "self", NULL
40609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
40610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40611 if (SWIG_arg_fail(1)) SWIG_fail
;
40613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40614 result
= (int)(arg1
)->GetHGap();
40616 wxPyEndAllowThreads(__tstate
);
40617 if (PyErr_Occurred()) SWIG_fail
;
40620 resultobj
= SWIG_From_int((int)(result
));
40628 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
40630 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40631 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
40633 return Py_BuildValue((char *)"");
40635 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40636 PyObject
*resultobj
;
40637 int arg1
= (int) 1 ;
40638 int arg2
= (int) 0 ;
40639 int arg3
= (int) 0 ;
40640 int arg4
= (int) 0 ;
40641 wxFlexGridSizer
*result
;
40642 PyObject
* obj0
= 0 ;
40643 PyObject
* obj1
= 0 ;
40644 PyObject
* obj2
= 0 ;
40645 PyObject
* obj3
= 0 ;
40646 char *kwnames
[] = {
40647 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40653 arg1
= (int)(SWIG_As_int(obj0
));
40654 if (SWIG_arg_fail(1)) SWIG_fail
;
40659 arg2
= (int)(SWIG_As_int(obj1
));
40660 if (SWIG_arg_fail(2)) SWIG_fail
;
40665 arg3
= (int)(SWIG_As_int(obj2
));
40666 if (SWIG_arg_fail(3)) SWIG_fail
;
40671 arg4
= (int)(SWIG_As_int(obj3
));
40672 if (SWIG_arg_fail(4)) SWIG_fail
;
40676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40677 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
40679 wxPyEndAllowThreads(__tstate
);
40680 if (PyErr_Occurred()) SWIG_fail
;
40682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
40689 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(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_AddGrowableRow",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
)->AddGrowableRow(arg2
,arg3
);
40718 wxPyEndAllowThreads(__tstate
);
40719 if (PyErr_Occurred()) SWIG_fail
;
40721 Py_INCREF(Py_None
); resultobj
= Py_None
;
40728 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(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_RemoveGrowableRow",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
)->RemoveGrowableRow(arg2
);
40749 wxPyEndAllowThreads(__tstate
);
40750 if (PyErr_Occurred()) SWIG_fail
;
40752 Py_INCREF(Py_None
); resultobj
= Py_None
;
40759 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40760 PyObject
*resultobj
;
40761 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40763 int arg3
= (int) 0 ;
40764 PyObject
* obj0
= 0 ;
40765 PyObject
* obj1
= 0 ;
40766 PyObject
* obj2
= 0 ;
40767 char *kwnames
[] = {
40768 (char *) "self",(char *) "idx",(char *) "proportion", NULL
40771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40773 if (SWIG_arg_fail(1)) SWIG_fail
;
40775 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40776 if (SWIG_arg_fail(2)) SWIG_fail
;
40780 arg3
= (int)(SWIG_As_int(obj2
));
40781 if (SWIG_arg_fail(3)) SWIG_fail
;
40785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40786 (arg1
)->AddGrowableCol(arg2
,arg3
);
40788 wxPyEndAllowThreads(__tstate
);
40789 if (PyErr_Occurred()) SWIG_fail
;
40791 Py_INCREF(Py_None
); resultobj
= Py_None
;
40798 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40799 PyObject
*resultobj
;
40800 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40802 PyObject
* obj0
= 0 ;
40803 PyObject
* obj1
= 0 ;
40804 char *kwnames
[] = {
40805 (char *) "self",(char *) "idx", NULL
40808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
40809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40810 if (SWIG_arg_fail(1)) SWIG_fail
;
40812 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40813 if (SWIG_arg_fail(2)) SWIG_fail
;
40816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40817 (arg1
)->RemoveGrowableCol(arg2
);
40819 wxPyEndAllowThreads(__tstate
);
40820 if (PyErr_Occurred()) SWIG_fail
;
40822 Py_INCREF(Py_None
); resultobj
= Py_None
;
40829 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40830 PyObject
*resultobj
;
40831 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40833 PyObject
* obj0
= 0 ;
40834 PyObject
* obj1
= 0 ;
40835 char *kwnames
[] = {
40836 (char *) "self",(char *) "direction", NULL
40839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
40840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40841 if (SWIG_arg_fail(1)) SWIG_fail
;
40843 arg2
= (int)(SWIG_As_int(obj1
));
40844 if (SWIG_arg_fail(2)) SWIG_fail
;
40847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40848 (arg1
)->SetFlexibleDirection(arg2
);
40850 wxPyEndAllowThreads(__tstate
);
40851 if (PyErr_Occurred()) SWIG_fail
;
40853 Py_INCREF(Py_None
); resultobj
= Py_None
;
40860 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40861 PyObject
*resultobj
;
40862 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40864 PyObject
* obj0
= 0 ;
40865 char *kwnames
[] = {
40866 (char *) "self", NULL
40869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
40870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40871 if (SWIG_arg_fail(1)) SWIG_fail
;
40873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40874 result
= (int)(arg1
)->GetFlexibleDirection();
40876 wxPyEndAllowThreads(__tstate
);
40877 if (PyErr_Occurred()) SWIG_fail
;
40880 resultobj
= SWIG_From_int((int)(result
));
40888 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40889 PyObject
*resultobj
;
40890 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40891 wxFlexSizerGrowMode arg2
;
40892 PyObject
* obj0
= 0 ;
40893 PyObject
* obj1
= 0 ;
40894 char *kwnames
[] = {
40895 (char *) "self",(char *) "mode", NULL
40898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
40899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40900 if (SWIG_arg_fail(1)) SWIG_fail
;
40902 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
40903 if (SWIG_arg_fail(2)) SWIG_fail
;
40906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40907 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
40909 wxPyEndAllowThreads(__tstate
);
40910 if (PyErr_Occurred()) SWIG_fail
;
40912 Py_INCREF(Py_None
); resultobj
= Py_None
;
40919 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40920 PyObject
*resultobj
;
40921 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40922 wxFlexSizerGrowMode result
;
40923 PyObject
* obj0
= 0 ;
40924 char *kwnames
[] = {
40925 (char *) "self", NULL
40928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
40929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40930 if (SWIG_arg_fail(1)) SWIG_fail
;
40932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40933 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
40935 wxPyEndAllowThreads(__tstate
);
40936 if (PyErr_Occurred()) SWIG_fail
;
40938 resultobj
= SWIG_From_int((result
));
40945 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40946 PyObject
*resultobj
;
40947 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40948 wxArrayInt
*result
;
40949 PyObject
* obj0
= 0 ;
40950 char *kwnames
[] = {
40951 (char *) "self", NULL
40954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
40955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40956 if (SWIG_arg_fail(1)) SWIG_fail
;
40958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40960 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
40961 result
= (wxArrayInt
*) &_result_ref
;
40964 wxPyEndAllowThreads(__tstate
);
40965 if (PyErr_Occurred()) SWIG_fail
;
40968 resultobj
= PyList_New(0);
40970 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
40971 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
40972 PyList_Append(resultobj
, val
);
40982 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40983 PyObject
*resultobj
;
40984 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40985 wxArrayInt
*result
;
40986 PyObject
* obj0
= 0 ;
40987 char *kwnames
[] = {
40988 (char *) "self", NULL
40991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
40992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40993 if (SWIG_arg_fail(1)) SWIG_fail
;
40995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40997 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
40998 result
= (wxArrayInt
*) &_result_ref
;
41001 wxPyEndAllowThreads(__tstate
);
41002 if (PyErr_Occurred()) SWIG_fail
;
41005 resultobj
= PyList_New(0);
41007 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41008 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41009 PyList_Append(resultobj
, val
);
41019 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
41021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41022 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
41024 return Py_BuildValue((char *)"");
41026 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41027 PyObject
*resultobj
;
41028 wxStdDialogButtonSizer
*result
;
41029 char *kwnames
[] = {
41033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
41035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41036 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
41038 wxPyEndAllowThreads(__tstate
);
41039 if (PyErr_Occurred()) SWIG_fail
;
41041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
41048 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41049 PyObject
*resultobj
;
41050 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41051 wxButton
*arg2
= (wxButton
*) 0 ;
41052 PyObject
* obj0
= 0 ;
41053 PyObject
* obj1
= 0 ;
41054 char *kwnames
[] = {
41055 (char *) "self",(char *) "button", NULL
41058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41060 if (SWIG_arg_fail(1)) SWIG_fail
;
41061 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41062 if (SWIG_arg_fail(2)) SWIG_fail
;
41064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41065 (arg1
)->AddButton(arg2
);
41067 wxPyEndAllowThreads(__tstate
);
41068 if (PyErr_Occurred()) SWIG_fail
;
41070 Py_INCREF(Py_None
); resultobj
= Py_None
;
41077 static PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41078 PyObject
*resultobj
;
41079 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41080 PyObject
* obj0
= 0 ;
41081 char *kwnames
[] = {
41082 (char *) "self", NULL
41085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Realize",kwnames
,&obj0
)) goto fail
;
41086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41087 if (SWIG_arg_fail(1)) SWIG_fail
;
41089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41092 wxPyEndAllowThreads(__tstate
);
41093 if (PyErr_Occurred()) SWIG_fail
;
41095 Py_INCREF(Py_None
); resultobj
= Py_None
;
41102 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41103 PyObject
*resultobj
;
41104 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41105 wxButton
*arg2
= (wxButton
*) 0 ;
41106 PyObject
* obj0
= 0 ;
41107 PyObject
* obj1
= 0 ;
41108 char *kwnames
[] = {
41109 (char *) "self",(char *) "button", NULL
41112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41114 if (SWIG_arg_fail(1)) SWIG_fail
;
41115 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41116 if (SWIG_arg_fail(2)) SWIG_fail
;
41118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41119 (arg1
)->SetAffirmativeButton(arg2
);
41121 wxPyEndAllowThreads(__tstate
);
41122 if (PyErr_Occurred()) SWIG_fail
;
41124 Py_INCREF(Py_None
); resultobj
= Py_None
;
41131 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41132 PyObject
*resultobj
;
41133 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41134 wxButton
*arg2
= (wxButton
*) 0 ;
41135 PyObject
* obj0
= 0 ;
41136 PyObject
* obj1
= 0 ;
41137 char *kwnames
[] = {
41138 (char *) "self",(char *) "button", NULL
41141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41143 if (SWIG_arg_fail(1)) SWIG_fail
;
41144 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41145 if (SWIG_arg_fail(2)) SWIG_fail
;
41147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41148 (arg1
)->SetNegativeButton(arg2
);
41150 wxPyEndAllowThreads(__tstate
);
41151 if (PyErr_Occurred()) SWIG_fail
;
41153 Py_INCREF(Py_None
); resultobj
= Py_None
;
41160 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41161 PyObject
*resultobj
;
41162 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41163 wxButton
*arg2
= (wxButton
*) 0 ;
41164 PyObject
* obj0
= 0 ;
41165 PyObject
* obj1
= 0 ;
41166 char *kwnames
[] = {
41167 (char *) "self",(char *) "button", NULL
41170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41172 if (SWIG_arg_fail(1)) SWIG_fail
;
41173 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41174 if (SWIG_arg_fail(2)) SWIG_fail
;
41176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41177 (arg1
)->SetCancelButton(arg2
);
41179 wxPyEndAllowThreads(__tstate
);
41180 if (PyErr_Occurred()) SWIG_fail
;
41182 Py_INCREF(Py_None
); resultobj
= Py_None
;
41189 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41190 PyObject
*resultobj
;
41191 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41193 PyObject
* obj0
= 0 ;
41194 char *kwnames
[] = {
41195 (char *) "self", NULL
41198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
41199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41200 if (SWIG_arg_fail(1)) SWIG_fail
;
41202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41203 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
41205 wxPyEndAllowThreads(__tstate
);
41206 if (PyErr_Occurred()) SWIG_fail
;
41209 resultobj
= wxPyMake_wxObject(result
, 0);
41217 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41218 PyObject
*resultobj
;
41219 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41221 PyObject
* obj0
= 0 ;
41222 char *kwnames
[] = {
41223 (char *) "self", NULL
41226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
41227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41228 if (SWIG_arg_fail(1)) SWIG_fail
;
41230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41231 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
41233 wxPyEndAllowThreads(__tstate
);
41234 if (PyErr_Occurred()) SWIG_fail
;
41237 resultobj
= wxPyMake_wxObject(result
, 0);
41245 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41246 PyObject
*resultobj
;
41247 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41249 PyObject
* obj0
= 0 ;
41250 char *kwnames
[] = {
41251 (char *) "self", NULL
41254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
41255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41256 if (SWIG_arg_fail(1)) SWIG_fail
;
41258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41259 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
41261 wxPyEndAllowThreads(__tstate
);
41262 if (PyErr_Occurred()) SWIG_fail
;
41265 resultobj
= wxPyMake_wxObject(result
, 0);
41273 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41274 PyObject
*resultobj
;
41275 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41277 PyObject
* obj0
= 0 ;
41278 char *kwnames
[] = {
41279 (char *) "self", NULL
41282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
41283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41284 if (SWIG_arg_fail(1)) SWIG_fail
;
41286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41287 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
41289 wxPyEndAllowThreads(__tstate
);
41290 if (PyErr_Occurred()) SWIG_fail
;
41293 resultobj
= wxPyMake_wxObject(result
, 0);
41301 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41302 PyObject
*resultobj
;
41303 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41305 PyObject
* obj0
= 0 ;
41306 char *kwnames
[] = {
41307 (char *) "self", NULL
41310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
41311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41312 if (SWIG_arg_fail(1)) SWIG_fail
;
41314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41315 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
41317 wxPyEndAllowThreads(__tstate
);
41318 if (PyErr_Occurred()) SWIG_fail
;
41321 resultobj
= wxPyMake_wxObject(result
, 0);
41329 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
41331 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41332 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
41334 return Py_BuildValue((char *)"");
41336 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41337 PyObject
*resultobj
;
41338 int arg1
= (int) 0 ;
41339 int arg2
= (int) 0 ;
41340 wxGBPosition
*result
;
41341 PyObject
* obj0
= 0 ;
41342 PyObject
* obj1
= 0 ;
41343 char *kwnames
[] = {
41344 (char *) "row",(char *) "col", NULL
41347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
41350 arg1
= (int)(SWIG_As_int(obj0
));
41351 if (SWIG_arg_fail(1)) SWIG_fail
;
41356 arg2
= (int)(SWIG_As_int(obj1
));
41357 if (SWIG_arg_fail(2)) SWIG_fail
;
41361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41362 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
41364 wxPyEndAllowThreads(__tstate
);
41365 if (PyErr_Occurred()) SWIG_fail
;
41367 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
41374 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41375 PyObject
*resultobj
;
41376 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41378 PyObject
* obj0
= 0 ;
41379 char *kwnames
[] = {
41380 (char *) "self", NULL
41383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
41384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41385 if (SWIG_arg_fail(1)) SWIG_fail
;
41387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41388 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
41390 wxPyEndAllowThreads(__tstate
);
41391 if (PyErr_Occurred()) SWIG_fail
;
41394 resultobj
= SWIG_From_int((int)(result
));
41402 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41403 PyObject
*resultobj
;
41404 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41406 PyObject
* obj0
= 0 ;
41407 char *kwnames
[] = {
41408 (char *) "self", NULL
41411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
41412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41413 if (SWIG_arg_fail(1)) SWIG_fail
;
41415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41416 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
41418 wxPyEndAllowThreads(__tstate
);
41419 if (PyErr_Occurred()) SWIG_fail
;
41422 resultobj
= SWIG_From_int((int)(result
));
41430 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41431 PyObject
*resultobj
;
41432 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41434 PyObject
* obj0
= 0 ;
41435 PyObject
* obj1
= 0 ;
41436 char *kwnames
[] = {
41437 (char *) "self",(char *) "row", NULL
41440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41442 if (SWIG_arg_fail(1)) SWIG_fail
;
41444 arg2
= (int)(SWIG_As_int(obj1
));
41445 if (SWIG_arg_fail(2)) SWIG_fail
;
41448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41449 (arg1
)->SetRow(arg2
);
41451 wxPyEndAllowThreads(__tstate
);
41452 if (PyErr_Occurred()) SWIG_fail
;
41454 Py_INCREF(Py_None
); resultobj
= Py_None
;
41461 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41462 PyObject
*resultobj
;
41463 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41465 PyObject
* obj0
= 0 ;
41466 PyObject
* obj1
= 0 ;
41467 char *kwnames
[] = {
41468 (char *) "self",(char *) "col", NULL
41471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41473 if (SWIG_arg_fail(1)) SWIG_fail
;
41475 arg2
= (int)(SWIG_As_int(obj1
));
41476 if (SWIG_arg_fail(2)) SWIG_fail
;
41479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41480 (arg1
)->SetCol(arg2
);
41482 wxPyEndAllowThreads(__tstate
);
41483 if (PyErr_Occurred()) SWIG_fail
;
41485 Py_INCREF(Py_None
); resultobj
= Py_None
;
41492 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41493 PyObject
*resultobj
;
41494 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41495 wxGBPosition
*arg2
= 0 ;
41497 wxGBPosition temp2
;
41498 PyObject
* obj0
= 0 ;
41499 PyObject
* obj1
= 0 ;
41500 char *kwnames
[] = {
41501 (char *) "self",(char *) "other", NULL
41504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) 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 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41513 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
41515 wxPyEndAllowThreads(__tstate
);
41516 if (PyErr_Occurred()) SWIG_fail
;
41519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41527 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41528 PyObject
*resultobj
;
41529 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41530 wxGBPosition
*arg2
= 0 ;
41532 wxGBPosition temp2
;
41533 PyObject
* obj0
= 0 ;
41534 PyObject
* obj1
= 0 ;
41535 char *kwnames
[] = {
41536 (char *) "self",(char *) "other", NULL
41539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41541 if (SWIG_arg_fail(1)) SWIG_fail
;
41544 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41548 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
41550 wxPyEndAllowThreads(__tstate
);
41551 if (PyErr_Occurred()) SWIG_fail
;
41554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41562 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41563 PyObject
*resultobj
;
41564 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41565 int arg2
= (int) 0 ;
41566 int arg3
= (int) 0 ;
41567 PyObject
* obj0
= 0 ;
41568 PyObject
* obj1
= 0 ;
41569 PyObject
* obj2
= 0 ;
41570 char *kwnames
[] = {
41571 (char *) "self",(char *) "row",(char *) "col", NULL
41574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41576 if (SWIG_arg_fail(1)) SWIG_fail
;
41579 arg2
= (int)(SWIG_As_int(obj1
));
41580 if (SWIG_arg_fail(2)) SWIG_fail
;
41585 arg3
= (int)(SWIG_As_int(obj2
));
41586 if (SWIG_arg_fail(3)) SWIG_fail
;
41590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41591 wxGBPosition_Set(arg1
,arg2
,arg3
);
41593 wxPyEndAllowThreads(__tstate
);
41594 if (PyErr_Occurred()) SWIG_fail
;
41596 Py_INCREF(Py_None
); resultobj
= Py_None
;
41603 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41604 PyObject
*resultobj
;
41605 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41607 PyObject
* obj0
= 0 ;
41608 char *kwnames
[] = {
41609 (char *) "self", NULL
41612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
41613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41614 if (SWIG_arg_fail(1)) SWIG_fail
;
41616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41617 result
= (PyObject
*)wxGBPosition_Get(arg1
);
41619 wxPyEndAllowThreads(__tstate
);
41620 if (PyErr_Occurred()) SWIG_fail
;
41622 resultobj
= result
;
41629 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
41631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41632 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
41634 return Py_BuildValue((char *)"");
41636 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41637 PyObject
*resultobj
;
41638 int arg1
= (int) 1 ;
41639 int arg2
= (int) 1 ;
41641 PyObject
* obj0
= 0 ;
41642 PyObject
* obj1
= 0 ;
41643 char *kwnames
[] = {
41644 (char *) "rowspan",(char *) "colspan", NULL
41647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
41650 arg1
= (int)(SWIG_As_int(obj0
));
41651 if (SWIG_arg_fail(1)) SWIG_fail
;
41656 arg2
= (int)(SWIG_As_int(obj1
));
41657 if (SWIG_arg_fail(2)) SWIG_fail
;
41661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41662 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
41664 wxPyEndAllowThreads(__tstate
);
41665 if (PyErr_Occurred()) SWIG_fail
;
41667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
41674 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41675 PyObject
*resultobj
;
41676 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41678 PyObject
* obj0
= 0 ;
41679 char *kwnames
[] = {
41680 (char *) "self", NULL
41683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
41684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41685 if (SWIG_arg_fail(1)) SWIG_fail
;
41687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41688 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
41690 wxPyEndAllowThreads(__tstate
);
41691 if (PyErr_Occurred()) SWIG_fail
;
41694 resultobj
= SWIG_From_int((int)(result
));
41702 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41703 PyObject
*resultobj
;
41704 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41706 PyObject
* obj0
= 0 ;
41707 char *kwnames
[] = {
41708 (char *) "self", NULL
41711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
41712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41713 if (SWIG_arg_fail(1)) SWIG_fail
;
41715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41716 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
41718 wxPyEndAllowThreads(__tstate
);
41719 if (PyErr_Occurred()) SWIG_fail
;
41722 resultobj
= SWIG_From_int((int)(result
));
41730 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41731 PyObject
*resultobj
;
41732 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41734 PyObject
* obj0
= 0 ;
41735 PyObject
* obj1
= 0 ;
41736 char *kwnames
[] = {
41737 (char *) "self",(char *) "rowspan", NULL
41740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
41741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41742 if (SWIG_arg_fail(1)) SWIG_fail
;
41744 arg2
= (int)(SWIG_As_int(obj1
));
41745 if (SWIG_arg_fail(2)) SWIG_fail
;
41748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41749 (arg1
)->SetRowspan(arg2
);
41751 wxPyEndAllowThreads(__tstate
);
41752 if (PyErr_Occurred()) SWIG_fail
;
41754 Py_INCREF(Py_None
); resultobj
= Py_None
;
41761 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41762 PyObject
*resultobj
;
41763 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41765 PyObject
* obj0
= 0 ;
41766 PyObject
* obj1
= 0 ;
41767 char *kwnames
[] = {
41768 (char *) "self",(char *) "colspan", NULL
41771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
41772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41773 if (SWIG_arg_fail(1)) SWIG_fail
;
41775 arg2
= (int)(SWIG_As_int(obj1
));
41776 if (SWIG_arg_fail(2)) SWIG_fail
;
41779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41780 (arg1
)->SetColspan(arg2
);
41782 wxPyEndAllowThreads(__tstate
);
41783 if (PyErr_Occurred()) SWIG_fail
;
41785 Py_INCREF(Py_None
); resultobj
= Py_None
;
41792 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41793 PyObject
*resultobj
;
41794 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41795 wxGBSpan
*arg2
= 0 ;
41798 PyObject
* obj0
= 0 ;
41799 PyObject
* obj1
= 0 ;
41800 char *kwnames
[] = {
41801 (char *) "self",(char *) "other", NULL
41804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) 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 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41813 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
41815 wxPyEndAllowThreads(__tstate
);
41816 if (PyErr_Occurred()) SWIG_fail
;
41819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41827 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41828 PyObject
*resultobj
;
41829 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41830 wxGBSpan
*arg2
= 0 ;
41833 PyObject
* obj0
= 0 ;
41834 PyObject
* obj1
= 0 ;
41835 char *kwnames
[] = {
41836 (char *) "self",(char *) "other", NULL
41839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41841 if (SWIG_arg_fail(1)) SWIG_fail
;
41844 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41848 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
41850 wxPyEndAllowThreads(__tstate
);
41851 if (PyErr_Occurred()) SWIG_fail
;
41854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41862 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41863 PyObject
*resultobj
;
41864 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41865 int arg2
= (int) 1 ;
41866 int arg3
= (int) 1 ;
41867 PyObject
* obj0
= 0 ;
41868 PyObject
* obj1
= 0 ;
41869 PyObject
* obj2
= 0 ;
41870 char *kwnames
[] = {
41871 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
41874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41876 if (SWIG_arg_fail(1)) SWIG_fail
;
41879 arg2
= (int)(SWIG_As_int(obj1
));
41880 if (SWIG_arg_fail(2)) SWIG_fail
;
41885 arg3
= (int)(SWIG_As_int(obj2
));
41886 if (SWIG_arg_fail(3)) SWIG_fail
;
41890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41891 wxGBSpan_Set(arg1
,arg2
,arg3
);
41893 wxPyEndAllowThreads(__tstate
);
41894 if (PyErr_Occurred()) SWIG_fail
;
41896 Py_INCREF(Py_None
); resultobj
= Py_None
;
41903 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41904 PyObject
*resultobj
;
41905 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41907 PyObject
* obj0
= 0 ;
41908 char *kwnames
[] = {
41909 (char *) "self", NULL
41912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
41913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41914 if (SWIG_arg_fail(1)) SWIG_fail
;
41916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41917 result
= (PyObject
*)wxGBSpan_Get(arg1
);
41919 wxPyEndAllowThreads(__tstate
);
41920 if (PyErr_Occurred()) SWIG_fail
;
41922 resultobj
= result
;
41929 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
41931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41932 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
41934 return Py_BuildValue((char *)"");
41936 static int _wrap_DefaultSpan_set(PyObject
*) {
41937 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
41942 static PyObject
*_wrap_DefaultSpan_get(void) {
41945 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
41950 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41951 PyObject
*resultobj
;
41952 wxGBSizerItem
*result
;
41953 char *kwnames
[] = {
41957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
41959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41960 result
= (wxGBSizerItem
*)new wxGBSizerItem();
41962 wxPyEndAllowThreads(__tstate
);
41963 if (PyErr_Occurred()) SWIG_fail
;
41965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41972 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41973 PyObject
*resultobj
;
41974 wxWindow
*arg1
= (wxWindow
*) 0 ;
41975 wxGBPosition
*arg2
= 0 ;
41976 wxGBSpan
*arg3
= 0 ;
41979 PyObject
*arg6
= (PyObject
*) NULL
;
41980 wxGBSizerItem
*result
;
41981 wxGBPosition temp2
;
41983 PyObject
* obj0
= 0 ;
41984 PyObject
* obj1
= 0 ;
41985 PyObject
* obj2
= 0 ;
41986 PyObject
* obj3
= 0 ;
41987 PyObject
* obj4
= 0 ;
41988 PyObject
* obj5
= 0 ;
41989 char *kwnames
[] = {
41990 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
41994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
41995 if (SWIG_arg_fail(1)) SWIG_fail
;
41998 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42002 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42005 arg4
= (int)(SWIG_As_int(obj3
));
42006 if (SWIG_arg_fail(4)) SWIG_fail
;
42009 arg5
= (int)(SWIG_As_int(obj4
));
42010 if (SWIG_arg_fail(5)) SWIG_fail
;
42016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42017 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42019 wxPyEndAllowThreads(__tstate
);
42020 if (PyErr_Occurred()) SWIG_fail
;
42022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42029 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42030 PyObject
*resultobj
;
42031 wxSizer
*arg1
= (wxSizer
*) 0 ;
42032 wxGBPosition
*arg2
= 0 ;
42033 wxGBSpan
*arg3
= 0 ;
42036 PyObject
*arg6
= (PyObject
*) NULL
;
42037 wxGBSizerItem
*result
;
42038 wxGBPosition temp2
;
42040 PyObject
* obj0
= 0 ;
42041 PyObject
* obj1
= 0 ;
42042 PyObject
* obj2
= 0 ;
42043 PyObject
* obj3
= 0 ;
42044 PyObject
* obj4
= 0 ;
42045 PyObject
* obj5
= 0 ;
42046 char *kwnames
[] = {
42047 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42052 if (SWIG_arg_fail(1)) SWIG_fail
;
42055 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42059 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42062 arg4
= (int)(SWIG_As_int(obj3
));
42063 if (SWIG_arg_fail(4)) SWIG_fail
;
42066 arg5
= (int)(SWIG_As_int(obj4
));
42067 if (SWIG_arg_fail(5)) SWIG_fail
;
42073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42074 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42076 wxPyEndAllowThreads(__tstate
);
42077 if (PyErr_Occurred()) SWIG_fail
;
42079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42086 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42087 PyObject
*resultobj
;
42090 wxGBPosition
*arg3
= 0 ;
42091 wxGBSpan
*arg4
= 0 ;
42094 PyObject
*arg7
= (PyObject
*) NULL
;
42095 wxGBSizerItem
*result
;
42096 wxGBPosition temp3
;
42098 PyObject
* obj0
= 0 ;
42099 PyObject
* obj1
= 0 ;
42100 PyObject
* obj2
= 0 ;
42101 PyObject
* obj3
= 0 ;
42102 PyObject
* obj4
= 0 ;
42103 PyObject
* obj5
= 0 ;
42104 PyObject
* obj6
= 0 ;
42105 char *kwnames
[] = {
42106 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42111 arg1
= (int)(SWIG_As_int(obj0
));
42112 if (SWIG_arg_fail(1)) SWIG_fail
;
42115 arg2
= (int)(SWIG_As_int(obj1
));
42116 if (SWIG_arg_fail(2)) SWIG_fail
;
42120 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42124 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42127 arg5
= (int)(SWIG_As_int(obj4
));
42128 if (SWIG_arg_fail(5)) SWIG_fail
;
42131 arg6
= (int)(SWIG_As_int(obj5
));
42132 if (SWIG_arg_fail(6)) SWIG_fail
;
42138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42139 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42141 wxPyEndAllowThreads(__tstate
);
42142 if (PyErr_Occurred()) SWIG_fail
;
42144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42151 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42152 PyObject
*resultobj
;
42153 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42154 wxGBPosition result
;
42155 PyObject
* obj0
= 0 ;
42156 char *kwnames
[] = {
42157 (char *) "self", NULL
42160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
42161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42162 if (SWIG_arg_fail(1)) SWIG_fail
;
42164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42165 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
42167 wxPyEndAllowThreads(__tstate
);
42168 if (PyErr_Occurred()) SWIG_fail
;
42171 wxGBPosition
* resultptr
;
42172 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42173 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42181 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42182 PyObject
*resultobj
;
42183 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42185 PyObject
* obj0
= 0 ;
42186 char *kwnames
[] = {
42187 (char *) "self", NULL
42190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
42191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42192 if (SWIG_arg_fail(1)) SWIG_fail
;
42194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42195 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
42197 wxPyEndAllowThreads(__tstate
);
42198 if (PyErr_Occurred()) SWIG_fail
;
42201 wxGBSpan
* resultptr
;
42202 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42203 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42211 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42212 PyObject
*resultobj
;
42213 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42214 wxGBPosition
*arg2
= 0 ;
42216 wxGBPosition temp2
;
42217 PyObject
* obj0
= 0 ;
42218 PyObject
* obj1
= 0 ;
42219 char *kwnames
[] = {
42220 (char *) "self",(char *) "pos", NULL
42223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
42224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42225 if (SWIG_arg_fail(1)) SWIG_fail
;
42228 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42232 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
42234 wxPyEndAllowThreads(__tstate
);
42235 if (PyErr_Occurred()) SWIG_fail
;
42238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42246 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42247 PyObject
*resultobj
;
42248 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42249 wxGBSpan
*arg2
= 0 ;
42252 PyObject
* obj0
= 0 ;
42253 PyObject
* obj1
= 0 ;
42254 char *kwnames
[] = {
42255 (char *) "self",(char *) "span", NULL
42258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42260 if (SWIG_arg_fail(1)) SWIG_fail
;
42263 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42267 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
42269 wxPyEndAllowThreads(__tstate
);
42270 if (PyErr_Occurred()) SWIG_fail
;
42273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42281 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42282 PyObject
*resultobj
;
42283 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42284 wxGBSizerItem
*arg2
= 0 ;
42286 PyObject
* obj0
= 0 ;
42287 PyObject
* obj1
= 0 ;
42288 char *kwnames
[] = {
42289 (char *) "self",(char *) "other", NULL
42292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
42293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42294 if (SWIG_arg_fail(1)) SWIG_fail
;
42296 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42297 if (SWIG_arg_fail(2)) SWIG_fail
;
42298 if (arg2
== NULL
) {
42299 SWIG_null_ref("wxGBSizerItem");
42301 if (SWIG_arg_fail(2)) SWIG_fail
;
42304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42305 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
42307 wxPyEndAllowThreads(__tstate
);
42308 if (PyErr_Occurred()) SWIG_fail
;
42311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42319 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42320 PyObject
*resultobj
;
42321 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42322 wxGBPosition
*arg2
= 0 ;
42323 wxGBSpan
*arg3
= 0 ;
42325 wxGBPosition temp2
;
42327 PyObject
* obj0
= 0 ;
42328 PyObject
* obj1
= 0 ;
42329 PyObject
* obj2
= 0 ;
42330 char *kwnames
[] = {
42331 (char *) "self",(char *) "pos",(char *) "span", NULL
42334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42336 if (SWIG_arg_fail(1)) SWIG_fail
;
42339 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42343 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42347 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
42349 wxPyEndAllowThreads(__tstate
);
42350 if (PyErr_Occurred()) SWIG_fail
;
42353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42361 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42362 PyObject
*resultobj
;
42363 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42364 wxGBPosition result
;
42365 PyObject
* obj0
= 0 ;
42366 char *kwnames
[] = {
42367 (char *) "self", NULL
42370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
42371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42372 if (SWIG_arg_fail(1)) SWIG_fail
;
42374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42375 result
= wxGBSizerItem_GetEndPos(arg1
);
42377 wxPyEndAllowThreads(__tstate
);
42378 if (PyErr_Occurred()) SWIG_fail
;
42381 wxGBPosition
* resultptr
;
42382 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42383 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42391 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42392 PyObject
*resultobj
;
42393 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42394 wxGridBagSizer
*result
;
42395 PyObject
* obj0
= 0 ;
42396 char *kwnames
[] = {
42397 (char *) "self", NULL
42400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
42401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42402 if (SWIG_arg_fail(1)) SWIG_fail
;
42404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42405 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
42407 wxPyEndAllowThreads(__tstate
);
42408 if (PyErr_Occurred()) SWIG_fail
;
42410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
42417 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42418 PyObject
*resultobj
;
42419 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42420 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
42421 PyObject
* obj0
= 0 ;
42422 PyObject
* obj1
= 0 ;
42423 char *kwnames
[] = {
42424 (char *) "self",(char *) "sizer", NULL
42427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42429 if (SWIG_arg_fail(1)) SWIG_fail
;
42430 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42431 if (SWIG_arg_fail(2)) SWIG_fail
;
42433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42434 (arg1
)->SetGBSizer(arg2
);
42436 wxPyEndAllowThreads(__tstate
);
42437 if (PyErr_Occurred()) SWIG_fail
;
42439 Py_INCREF(Py_None
); resultobj
= Py_None
;
42446 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
42448 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42449 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
42451 return Py_BuildValue((char *)"");
42453 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42454 PyObject
*resultobj
;
42455 int arg1
= (int) 0 ;
42456 int arg2
= (int) 0 ;
42457 wxGridBagSizer
*result
;
42458 PyObject
* obj0
= 0 ;
42459 PyObject
* obj1
= 0 ;
42460 char *kwnames
[] = {
42461 (char *) "vgap",(char *) "hgap", NULL
42464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42467 arg1
= (int)(SWIG_As_int(obj0
));
42468 if (SWIG_arg_fail(1)) SWIG_fail
;
42473 arg2
= (int)(SWIG_As_int(obj1
));
42474 if (SWIG_arg_fail(2)) SWIG_fail
;
42478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42479 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
42481 wxPyEndAllowThreads(__tstate
);
42482 if (PyErr_Occurred()) SWIG_fail
;
42484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
42491 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42492 PyObject
*resultobj
;
42493 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42494 PyObject
*arg2
= (PyObject
*) 0 ;
42495 wxGBPosition
*arg3
= 0 ;
42496 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
42497 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
42498 int arg5
= (int) 0 ;
42499 int arg6
= (int) 0 ;
42500 PyObject
*arg7
= (PyObject
*) NULL
;
42501 wxGBSizerItem
*result
;
42502 wxGBPosition temp3
;
42504 PyObject
* obj0
= 0 ;
42505 PyObject
* obj1
= 0 ;
42506 PyObject
* obj2
= 0 ;
42507 PyObject
* obj3
= 0 ;
42508 PyObject
* obj4
= 0 ;
42509 PyObject
* obj5
= 0 ;
42510 PyObject
* obj6
= 0 ;
42511 char *kwnames
[] = {
42512 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42517 if (SWIG_arg_fail(1)) SWIG_fail
;
42521 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42526 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42531 arg5
= (int)(SWIG_As_int(obj4
));
42532 if (SWIG_arg_fail(5)) SWIG_fail
;
42537 arg6
= (int)(SWIG_As_int(obj5
));
42538 if (SWIG_arg_fail(6)) SWIG_fail
;
42545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42546 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42548 wxPyEndAllowThreads(__tstate
);
42549 if (PyErr_Occurred()) SWIG_fail
;
42551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42558 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42559 PyObject
*resultobj
;
42560 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42561 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
42562 wxGBSizerItem
*result
;
42563 PyObject
* obj0
= 0 ;
42564 PyObject
* obj1
= 0 ;
42565 char *kwnames
[] = {
42566 (char *) "self",(char *) "item", NULL
42569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
42570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42571 if (SWIG_arg_fail(1)) SWIG_fail
;
42572 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42573 if (SWIG_arg_fail(2)) SWIG_fail
;
42575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42576 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
42578 wxPyEndAllowThreads(__tstate
);
42579 if (PyErr_Occurred()) SWIG_fail
;
42581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42588 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42589 PyObject
*resultobj
;
42590 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42594 PyObject
* obj0
= 0 ;
42595 PyObject
* obj1
= 0 ;
42596 PyObject
* obj2
= 0 ;
42597 char *kwnames
[] = {
42598 (char *) "self",(char *) "row",(char *) "col", NULL
42601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42603 if (SWIG_arg_fail(1)) SWIG_fail
;
42605 arg2
= (int)(SWIG_As_int(obj1
));
42606 if (SWIG_arg_fail(2)) SWIG_fail
;
42609 arg3
= (int)(SWIG_As_int(obj2
));
42610 if (SWIG_arg_fail(3)) SWIG_fail
;
42613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42614 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
42616 wxPyEndAllowThreads(__tstate
);
42617 if (PyErr_Occurred()) SWIG_fail
;
42620 wxSize
* resultptr
;
42621 resultptr
= new wxSize((wxSize
&)(result
));
42622 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
42630 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42631 PyObject
*resultobj
;
42632 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42634 PyObject
* obj0
= 0 ;
42635 char *kwnames
[] = {
42636 (char *) "self", NULL
42639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
42640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42641 if (SWIG_arg_fail(1)) SWIG_fail
;
42643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42644 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
42646 wxPyEndAllowThreads(__tstate
);
42647 if (PyErr_Occurred()) SWIG_fail
;
42650 wxSize
* resultptr
;
42651 resultptr
= new wxSize((wxSize
&)(result
));
42652 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
42660 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42661 PyObject
*resultobj
;
42662 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42665 PyObject
* obj0
= 0 ;
42666 PyObject
* obj1
= 0 ;
42667 char *kwnames
[] = {
42668 (char *) "self",(char *) "sz", NULL
42671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
42672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42673 if (SWIG_arg_fail(1)) SWIG_fail
;
42676 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
42679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42680 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
42682 wxPyEndAllowThreads(__tstate
);
42683 if (PyErr_Occurred()) SWIG_fail
;
42685 Py_INCREF(Py_None
); resultobj
= Py_None
;
42692 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
42693 PyObject
*resultobj
;
42694 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42695 wxWindow
*arg2
= (wxWindow
*) 0 ;
42696 wxGBPosition result
;
42697 PyObject
* obj0
= 0 ;
42698 PyObject
* obj1
= 0 ;
42700 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42702 if (SWIG_arg_fail(1)) SWIG_fail
;
42703 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42704 if (SWIG_arg_fail(2)) SWIG_fail
;
42706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42707 result
= (arg1
)->GetItemPosition(arg2
);
42709 wxPyEndAllowThreads(__tstate
);
42710 if (PyErr_Occurred()) SWIG_fail
;
42713 wxGBPosition
* resultptr
;
42714 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42715 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42723 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
42724 PyObject
*resultobj
;
42725 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42726 wxSizer
*arg2
= (wxSizer
*) 0 ;
42727 wxGBPosition result
;
42728 PyObject
* obj0
= 0 ;
42729 PyObject
* obj1
= 0 ;
42731 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42733 if (SWIG_arg_fail(1)) SWIG_fail
;
42734 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42735 if (SWIG_arg_fail(2)) SWIG_fail
;
42737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42738 result
= (arg1
)->GetItemPosition(arg2
);
42740 wxPyEndAllowThreads(__tstate
);
42741 if (PyErr_Occurred()) SWIG_fail
;
42744 wxGBPosition
* resultptr
;
42745 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42746 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42754 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
42755 PyObject
*resultobj
;
42756 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42758 wxGBPosition result
;
42759 PyObject
* obj0
= 0 ;
42760 PyObject
* obj1
= 0 ;
42762 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42764 if (SWIG_arg_fail(1)) SWIG_fail
;
42766 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42767 if (SWIG_arg_fail(2)) SWIG_fail
;
42770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42771 result
= (arg1
)->GetItemPosition(arg2
);
42773 wxPyEndAllowThreads(__tstate
);
42774 if (PyErr_Occurred()) SWIG_fail
;
42777 wxGBPosition
* resultptr
;
42778 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42779 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42787 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
42792 argc
= PyObject_Length(args
);
42793 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
42794 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42800 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42810 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42818 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
42826 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42836 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42844 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
42852 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42860 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42862 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
42867 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
42872 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
42873 PyObject
*resultobj
;
42874 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42875 wxWindow
*arg2
= (wxWindow
*) 0 ;
42876 wxGBPosition
*arg3
= 0 ;
42878 wxGBPosition temp3
;
42879 PyObject
* obj0
= 0 ;
42880 PyObject
* obj1
= 0 ;
42881 PyObject
* obj2
= 0 ;
42883 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42885 if (SWIG_arg_fail(1)) SWIG_fail
;
42886 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42887 if (SWIG_arg_fail(2)) SWIG_fail
;
42890 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42894 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42896 wxPyEndAllowThreads(__tstate
);
42897 if (PyErr_Occurred()) SWIG_fail
;
42900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42908 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
42909 PyObject
*resultobj
;
42910 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42911 wxSizer
*arg2
= (wxSizer
*) 0 ;
42912 wxGBPosition
*arg3
= 0 ;
42914 wxGBPosition temp3
;
42915 PyObject
* obj0
= 0 ;
42916 PyObject
* obj1
= 0 ;
42917 PyObject
* obj2
= 0 ;
42919 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42921 if (SWIG_arg_fail(1)) SWIG_fail
;
42922 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42923 if (SWIG_arg_fail(2)) SWIG_fail
;
42926 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42930 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42932 wxPyEndAllowThreads(__tstate
);
42933 if (PyErr_Occurred()) SWIG_fail
;
42936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42944 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
42945 PyObject
*resultobj
;
42946 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42948 wxGBPosition
*arg3
= 0 ;
42950 wxGBPosition temp3
;
42951 PyObject
* obj0
= 0 ;
42952 PyObject
* obj1
= 0 ;
42953 PyObject
* obj2
= 0 ;
42955 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42957 if (SWIG_arg_fail(1)) SWIG_fail
;
42959 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42960 if (SWIG_arg_fail(2)) SWIG_fail
;
42964 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42968 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42970 wxPyEndAllowThreads(__tstate
);
42971 if (PyErr_Occurred()) SWIG_fail
;
42974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42982 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
42987 argc
= PyObject_Length(args
);
42988 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
42989 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42995 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43005 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43014 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43017 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
43026 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43036 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43045 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43048 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
43057 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43065 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43068 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43071 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
43077 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
43082 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43083 PyObject
*resultobj
;
43084 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43085 wxWindow
*arg2
= (wxWindow
*) 0 ;
43087 PyObject
* obj0
= 0 ;
43088 PyObject
* obj1
= 0 ;
43090 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43092 if (SWIG_arg_fail(1)) SWIG_fail
;
43093 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43094 if (SWIG_arg_fail(2)) SWIG_fail
;
43096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43097 result
= (arg1
)->GetItemSpan(arg2
);
43099 wxPyEndAllowThreads(__tstate
);
43100 if (PyErr_Occurred()) SWIG_fail
;
43103 wxGBSpan
* resultptr
;
43104 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43105 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43113 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43114 PyObject
*resultobj
;
43115 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43116 wxSizer
*arg2
= (wxSizer
*) 0 ;
43118 PyObject
* obj0
= 0 ;
43119 PyObject
* obj1
= 0 ;
43121 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43123 if (SWIG_arg_fail(1)) SWIG_fail
;
43124 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43125 if (SWIG_arg_fail(2)) SWIG_fail
;
43127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43128 result
= (arg1
)->GetItemSpan(arg2
);
43130 wxPyEndAllowThreads(__tstate
);
43131 if (PyErr_Occurred()) SWIG_fail
;
43134 wxGBSpan
* resultptr
;
43135 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43136 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43144 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43145 PyObject
*resultobj
;
43146 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43149 PyObject
* obj0
= 0 ;
43150 PyObject
* obj1
= 0 ;
43152 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43154 if (SWIG_arg_fail(1)) SWIG_fail
;
43156 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43157 if (SWIG_arg_fail(2)) SWIG_fail
;
43160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43161 result
= (arg1
)->GetItemSpan(arg2
);
43163 wxPyEndAllowThreads(__tstate
);
43164 if (PyErr_Occurred()) SWIG_fail
;
43167 wxGBSpan
* resultptr
;
43168 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43169 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43177 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
43182 argc
= PyObject_Length(args
);
43183 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43184 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43190 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43200 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43208 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
43216 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43226 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43234 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
43242 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43250 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43252 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
43257 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
43262 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43263 PyObject
*resultobj
;
43264 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43265 wxWindow
*arg2
= (wxWindow
*) 0 ;
43266 wxGBSpan
*arg3
= 0 ;
43269 PyObject
* obj0
= 0 ;
43270 PyObject
* obj1
= 0 ;
43271 PyObject
* obj2
= 0 ;
43273 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43275 if (SWIG_arg_fail(1)) SWIG_fail
;
43276 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43277 if (SWIG_arg_fail(2)) SWIG_fail
;
43280 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43284 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43286 wxPyEndAllowThreads(__tstate
);
43287 if (PyErr_Occurred()) SWIG_fail
;
43290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43298 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43299 PyObject
*resultobj
;
43300 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43301 wxSizer
*arg2
= (wxSizer
*) 0 ;
43302 wxGBSpan
*arg3
= 0 ;
43305 PyObject
* obj0
= 0 ;
43306 PyObject
* obj1
= 0 ;
43307 PyObject
* obj2
= 0 ;
43309 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43311 if (SWIG_arg_fail(1)) SWIG_fail
;
43312 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43313 if (SWIG_arg_fail(2)) SWIG_fail
;
43316 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43320 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43322 wxPyEndAllowThreads(__tstate
);
43323 if (PyErr_Occurred()) SWIG_fail
;
43326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43334 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43335 PyObject
*resultobj
;
43336 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43338 wxGBSpan
*arg3
= 0 ;
43341 PyObject
* obj0
= 0 ;
43342 PyObject
* obj1
= 0 ;
43343 PyObject
* obj2
= 0 ;
43345 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43347 if (SWIG_arg_fail(1)) SWIG_fail
;
43349 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43350 if (SWIG_arg_fail(2)) SWIG_fail
;
43354 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43358 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43360 wxPyEndAllowThreads(__tstate
);
43361 if (PyErr_Occurred()) SWIG_fail
;
43364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43372 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
43377 argc
= PyObject_Length(args
);
43378 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43379 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43385 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43395 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43404 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43407 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
43416 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43426 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43435 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43438 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
43447 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43455 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43458 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43461 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
43467 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
43472 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
43473 PyObject
*resultobj
;
43474 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43475 wxWindow
*arg2
= (wxWindow
*) 0 ;
43476 wxGBSizerItem
*result
;
43477 PyObject
* obj0
= 0 ;
43478 PyObject
* obj1
= 0 ;
43480 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43482 if (SWIG_arg_fail(1)) SWIG_fail
;
43483 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43484 if (SWIG_arg_fail(2)) SWIG_fail
;
43486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43487 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43489 wxPyEndAllowThreads(__tstate
);
43490 if (PyErr_Occurred()) SWIG_fail
;
43492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43499 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
43500 PyObject
*resultobj
;
43501 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43502 wxSizer
*arg2
= (wxSizer
*) 0 ;
43503 wxGBSizerItem
*result
;
43504 PyObject
* obj0
= 0 ;
43505 PyObject
* obj1
= 0 ;
43507 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43509 if (SWIG_arg_fail(1)) SWIG_fail
;
43510 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43511 if (SWIG_arg_fail(2)) SWIG_fail
;
43513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43514 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43516 wxPyEndAllowThreads(__tstate
);
43517 if (PyErr_Occurred()) SWIG_fail
;
43519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43526 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
43531 argc
= PyObject_Length(args
);
43532 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43533 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43539 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43549 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43557 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
43565 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43575 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43583 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
43588 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
43593 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43594 PyObject
*resultobj
;
43595 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43596 wxGBPosition
*arg2
= 0 ;
43597 wxGBSizerItem
*result
;
43598 wxGBPosition temp2
;
43599 PyObject
* obj0
= 0 ;
43600 PyObject
* obj1
= 0 ;
43601 char *kwnames
[] = {
43602 (char *) "self",(char *) "pos", NULL
43605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
43606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43607 if (SWIG_arg_fail(1)) SWIG_fail
;
43610 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43614 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
43616 wxPyEndAllowThreads(__tstate
);
43617 if (PyErr_Occurred()) SWIG_fail
;
43619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43626 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43627 PyObject
*resultobj
;
43628 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43629 wxPoint
*arg2
= 0 ;
43630 wxGBSizerItem
*result
;
43632 PyObject
* obj0
= 0 ;
43633 PyObject
* obj1
= 0 ;
43634 char *kwnames
[] = {
43635 (char *) "self",(char *) "pt", NULL
43638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
43639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43640 if (SWIG_arg_fail(1)) SWIG_fail
;
43643 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
43646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43647 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
43649 wxPyEndAllowThreads(__tstate
);
43650 if (PyErr_Occurred()) SWIG_fail
;
43652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43659 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43660 PyObject
*resultobj
;
43661 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43662 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
43663 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
43665 PyObject
* obj0
= 0 ;
43666 PyObject
* obj1
= 0 ;
43667 PyObject
* obj2
= 0 ;
43668 char *kwnames
[] = {
43669 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
43672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43674 if (SWIG_arg_fail(1)) SWIG_fail
;
43675 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43676 if (SWIG_arg_fail(2)) SWIG_fail
;
43678 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43679 if (SWIG_arg_fail(3)) SWIG_fail
;
43682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43683 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
43685 wxPyEndAllowThreads(__tstate
);
43686 if (PyErr_Occurred()) SWIG_fail
;
43689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43697 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43698 PyObject
*resultobj
;
43699 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43700 wxGBPosition
*arg2
= 0 ;
43701 wxGBSpan
*arg3
= 0 ;
43702 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
43704 wxGBPosition temp2
;
43706 PyObject
* obj0
= 0 ;
43707 PyObject
* obj1
= 0 ;
43708 PyObject
* obj2
= 0 ;
43709 PyObject
* obj3
= 0 ;
43710 char *kwnames
[] = {
43711 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
43714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43716 if (SWIG_arg_fail(1)) SWIG_fail
;
43719 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43723 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43726 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43727 if (SWIG_arg_fail(4)) SWIG_fail
;
43730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43731 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
43733 wxPyEndAllowThreads(__tstate
);
43734 if (PyErr_Occurred()) SWIG_fail
;
43737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43745 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
43747 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
43748 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
43750 return Py_BuildValue((char *)"");
43752 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43753 PyObject
*resultobj
;
43754 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43755 wxRelationship arg2
;
43756 wxWindow
*arg3
= (wxWindow
*) 0 ;
43758 int arg5
= (int) 0 ;
43759 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
43760 PyObject
* obj0
= 0 ;
43761 PyObject
* obj1
= 0 ;
43762 PyObject
* obj2
= 0 ;
43763 PyObject
* obj3
= 0 ;
43764 PyObject
* obj4
= 0 ;
43765 PyObject
* obj5
= 0 ;
43766 char *kwnames
[] = {
43767 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
43770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
43771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43772 if (SWIG_arg_fail(1)) SWIG_fail
;
43774 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
43775 if (SWIG_arg_fail(2)) SWIG_fail
;
43777 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43778 if (SWIG_arg_fail(3)) SWIG_fail
;
43780 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
43781 if (SWIG_arg_fail(4)) SWIG_fail
;
43785 arg5
= (int)(SWIG_As_int(obj4
));
43786 if (SWIG_arg_fail(5)) SWIG_fail
;
43791 arg6
= (int)(SWIG_As_int(obj5
));
43792 if (SWIG_arg_fail(6)) SWIG_fail
;
43796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43797 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
43799 wxPyEndAllowThreads(__tstate
);
43800 if (PyErr_Occurred()) SWIG_fail
;
43802 Py_INCREF(Py_None
); resultobj
= Py_None
;
43809 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43810 PyObject
*resultobj
;
43811 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43812 wxWindow
*arg2
= (wxWindow
*) 0 ;
43813 int arg3
= (int) 0 ;
43814 PyObject
* obj0
= 0 ;
43815 PyObject
* obj1
= 0 ;
43816 PyObject
* obj2
= 0 ;
43817 char *kwnames
[] = {
43818 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43823 if (SWIG_arg_fail(1)) SWIG_fail
;
43824 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43825 if (SWIG_arg_fail(2)) SWIG_fail
;
43828 arg3
= (int)(SWIG_As_int(obj2
));
43829 if (SWIG_arg_fail(3)) SWIG_fail
;
43833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43834 (arg1
)->LeftOf(arg2
,arg3
);
43836 wxPyEndAllowThreads(__tstate
);
43837 if (PyErr_Occurred()) SWIG_fail
;
43839 Py_INCREF(Py_None
); resultobj
= Py_None
;
43846 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43847 PyObject
*resultobj
;
43848 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43849 wxWindow
*arg2
= (wxWindow
*) 0 ;
43850 int arg3
= (int) 0 ;
43851 PyObject
* obj0
= 0 ;
43852 PyObject
* obj1
= 0 ;
43853 PyObject
* obj2
= 0 ;
43854 char *kwnames
[] = {
43855 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43860 if (SWIG_arg_fail(1)) SWIG_fail
;
43861 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43862 if (SWIG_arg_fail(2)) SWIG_fail
;
43865 arg3
= (int)(SWIG_As_int(obj2
));
43866 if (SWIG_arg_fail(3)) SWIG_fail
;
43870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43871 (arg1
)->RightOf(arg2
,arg3
);
43873 wxPyEndAllowThreads(__tstate
);
43874 if (PyErr_Occurred()) SWIG_fail
;
43876 Py_INCREF(Py_None
); resultobj
= Py_None
;
43883 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43884 PyObject
*resultobj
;
43885 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43886 wxWindow
*arg2
= (wxWindow
*) 0 ;
43887 int arg3
= (int) 0 ;
43888 PyObject
* obj0
= 0 ;
43889 PyObject
* obj1
= 0 ;
43890 PyObject
* obj2
= 0 ;
43891 char *kwnames
[] = {
43892 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43897 if (SWIG_arg_fail(1)) SWIG_fail
;
43898 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43899 if (SWIG_arg_fail(2)) SWIG_fail
;
43902 arg3
= (int)(SWIG_As_int(obj2
));
43903 if (SWIG_arg_fail(3)) SWIG_fail
;
43907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43908 (arg1
)->Above(arg2
,arg3
);
43910 wxPyEndAllowThreads(__tstate
);
43911 if (PyErr_Occurred()) SWIG_fail
;
43913 Py_INCREF(Py_None
); resultobj
= Py_None
;
43920 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43921 PyObject
*resultobj
;
43922 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43923 wxWindow
*arg2
= (wxWindow
*) 0 ;
43924 int arg3
= (int) 0 ;
43925 PyObject
* obj0
= 0 ;
43926 PyObject
* obj1
= 0 ;
43927 PyObject
* obj2
= 0 ;
43928 char *kwnames
[] = {
43929 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43934 if (SWIG_arg_fail(1)) SWIG_fail
;
43935 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43936 if (SWIG_arg_fail(2)) SWIG_fail
;
43939 arg3
= (int)(SWIG_As_int(obj2
));
43940 if (SWIG_arg_fail(3)) SWIG_fail
;
43944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43945 (arg1
)->Below(arg2
,arg3
);
43947 wxPyEndAllowThreads(__tstate
);
43948 if (PyErr_Occurred()) SWIG_fail
;
43950 Py_INCREF(Py_None
); resultobj
= Py_None
;
43957 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43958 PyObject
*resultobj
;
43959 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43960 wxWindow
*arg2
= (wxWindow
*) 0 ;
43962 int arg4
= (int) 0 ;
43963 PyObject
* obj0
= 0 ;
43964 PyObject
* obj1
= 0 ;
43965 PyObject
* obj2
= 0 ;
43966 PyObject
* obj3
= 0 ;
43967 char *kwnames
[] = {
43968 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
43971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43973 if (SWIG_arg_fail(1)) SWIG_fail
;
43974 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43975 if (SWIG_arg_fail(2)) SWIG_fail
;
43977 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
43978 if (SWIG_arg_fail(3)) SWIG_fail
;
43982 arg4
= (int)(SWIG_As_int(obj3
));
43983 if (SWIG_arg_fail(4)) SWIG_fail
;
43987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43988 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
43990 wxPyEndAllowThreads(__tstate
);
43991 if (PyErr_Occurred()) SWIG_fail
;
43993 Py_INCREF(Py_None
); resultobj
= Py_None
;
44000 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44001 PyObject
*resultobj
;
44002 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44003 wxWindow
*arg2
= (wxWindow
*) 0 ;
44006 PyObject
* obj0
= 0 ;
44007 PyObject
* obj1
= 0 ;
44008 PyObject
* obj2
= 0 ;
44009 PyObject
* obj3
= 0 ;
44010 char *kwnames
[] = {
44011 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
44014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44016 if (SWIG_arg_fail(1)) SWIG_fail
;
44017 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44018 if (SWIG_arg_fail(2)) SWIG_fail
;
44020 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44021 if (SWIG_arg_fail(3)) SWIG_fail
;
44024 arg4
= (int)(SWIG_As_int(obj3
));
44025 if (SWIG_arg_fail(4)) SWIG_fail
;
44028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44029 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
44031 wxPyEndAllowThreads(__tstate
);
44032 if (PyErr_Occurred()) SWIG_fail
;
44034 Py_INCREF(Py_None
); resultobj
= Py_None
;
44041 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44042 PyObject
*resultobj
;
44043 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44045 PyObject
* obj0
= 0 ;
44046 PyObject
* obj1
= 0 ;
44047 char *kwnames
[] = {
44048 (char *) "self",(char *) "val", NULL
44051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
44052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44053 if (SWIG_arg_fail(1)) SWIG_fail
;
44055 arg2
= (int)(SWIG_As_int(obj1
));
44056 if (SWIG_arg_fail(2)) SWIG_fail
;
44059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44060 (arg1
)->Absolute(arg2
);
44062 wxPyEndAllowThreads(__tstate
);
44063 if (PyErr_Occurred()) SWIG_fail
;
44065 Py_INCREF(Py_None
); resultobj
= Py_None
;
44072 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44073 PyObject
*resultobj
;
44074 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44075 PyObject
* obj0
= 0 ;
44076 char *kwnames
[] = {
44077 (char *) "self", NULL
44080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
44081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44082 if (SWIG_arg_fail(1)) SWIG_fail
;
44084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44085 (arg1
)->Unconstrained();
44087 wxPyEndAllowThreads(__tstate
);
44088 if (PyErr_Occurred()) SWIG_fail
;
44090 Py_INCREF(Py_None
); resultobj
= Py_None
;
44097 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44098 PyObject
*resultobj
;
44099 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44100 PyObject
* obj0
= 0 ;
44101 char *kwnames
[] = {
44102 (char *) "self", NULL
44105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
44106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44107 if (SWIG_arg_fail(1)) SWIG_fail
;
44109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44112 wxPyEndAllowThreads(__tstate
);
44113 if (PyErr_Occurred()) SWIG_fail
;
44115 Py_INCREF(Py_None
); resultobj
= Py_None
;
44122 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44123 PyObject
*resultobj
;
44124 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44126 PyObject
* obj0
= 0 ;
44127 char *kwnames
[] = {
44128 (char *) "self", NULL
44131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
44132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44133 if (SWIG_arg_fail(1)) SWIG_fail
;
44135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44136 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
44138 wxPyEndAllowThreads(__tstate
);
44139 if (PyErr_Occurred()) SWIG_fail
;
44142 resultobj
= wxPyMake_wxObject(result
, 0);
44150 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44151 PyObject
*resultobj
;
44152 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44154 PyObject
* obj0
= 0 ;
44155 char *kwnames
[] = {
44156 (char *) "self", NULL
44159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
44160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44161 if (SWIG_arg_fail(1)) SWIG_fail
;
44163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44164 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
44166 wxPyEndAllowThreads(__tstate
);
44167 if (PyErr_Occurred()) SWIG_fail
;
44169 resultobj
= SWIG_From_int((result
));
44176 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44177 PyObject
*resultobj
;
44178 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44180 PyObject
* obj0
= 0 ;
44181 PyObject
* obj1
= 0 ;
44182 char *kwnames
[] = {
44183 (char *) "self",(char *) "which", NULL
44186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
44187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44188 if (SWIG_arg_fail(1)) SWIG_fail
;
44190 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44191 if (SWIG_arg_fail(2)) SWIG_fail
;
44194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44195 (arg1
)->SetEdge((wxEdge
)arg2
);
44197 wxPyEndAllowThreads(__tstate
);
44198 if (PyErr_Occurred()) SWIG_fail
;
44200 Py_INCREF(Py_None
); resultobj
= Py_None
;
44207 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44208 PyObject
*resultobj
;
44209 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44211 PyObject
* obj0
= 0 ;
44212 PyObject
* obj1
= 0 ;
44213 char *kwnames
[] = {
44214 (char *) "self",(char *) "v", NULL
44217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
44218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44219 if (SWIG_arg_fail(1)) SWIG_fail
;
44221 arg2
= (int)(SWIG_As_int(obj1
));
44222 if (SWIG_arg_fail(2)) SWIG_fail
;
44225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44226 (arg1
)->SetValue(arg2
);
44228 wxPyEndAllowThreads(__tstate
);
44229 if (PyErr_Occurred()) SWIG_fail
;
44231 Py_INCREF(Py_None
); resultobj
= Py_None
;
44238 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44239 PyObject
*resultobj
;
44240 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44242 PyObject
* obj0
= 0 ;
44243 char *kwnames
[] = {
44244 (char *) "self", NULL
44247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
44248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44249 if (SWIG_arg_fail(1)) SWIG_fail
;
44251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44252 result
= (int)(arg1
)->GetMargin();
44254 wxPyEndAllowThreads(__tstate
);
44255 if (PyErr_Occurred()) SWIG_fail
;
44258 resultobj
= SWIG_From_int((int)(result
));
44266 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44267 PyObject
*resultobj
;
44268 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44270 PyObject
* obj0
= 0 ;
44271 PyObject
* obj1
= 0 ;
44272 char *kwnames
[] = {
44273 (char *) "self",(char *) "m", NULL
44276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
44277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44278 if (SWIG_arg_fail(1)) SWIG_fail
;
44280 arg2
= (int)(SWIG_As_int(obj1
));
44281 if (SWIG_arg_fail(2)) SWIG_fail
;
44284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44285 (arg1
)->SetMargin(arg2
);
44287 wxPyEndAllowThreads(__tstate
);
44288 if (PyErr_Occurred()) SWIG_fail
;
44290 Py_INCREF(Py_None
); resultobj
= Py_None
;
44297 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44298 PyObject
*resultobj
;
44299 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44301 PyObject
* obj0
= 0 ;
44302 char *kwnames
[] = {
44303 (char *) "self", NULL
44306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
44307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44308 if (SWIG_arg_fail(1)) SWIG_fail
;
44310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44311 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
44313 wxPyEndAllowThreads(__tstate
);
44314 if (PyErr_Occurred()) SWIG_fail
;
44317 resultobj
= SWIG_From_int((int)(result
));
44325 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44326 PyObject
*resultobj
;
44327 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44329 PyObject
* obj0
= 0 ;
44330 char *kwnames
[] = {
44331 (char *) "self", NULL
44334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
44335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44336 if (SWIG_arg_fail(1)) SWIG_fail
;
44338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44339 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
44341 wxPyEndAllowThreads(__tstate
);
44342 if (PyErr_Occurred()) SWIG_fail
;
44345 resultobj
= SWIG_From_int((int)(result
));
44353 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44354 PyObject
*resultobj
;
44355 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44357 PyObject
* obj0
= 0 ;
44358 char *kwnames
[] = {
44359 (char *) "self", NULL
44362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
44363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44364 if (SWIG_arg_fail(1)) SWIG_fail
;
44366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44367 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
44369 wxPyEndAllowThreads(__tstate
);
44370 if (PyErr_Occurred()) SWIG_fail
;
44373 resultobj
= SWIG_From_int((int)(result
));
44381 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44382 PyObject
*resultobj
;
44383 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44385 PyObject
* obj0
= 0 ;
44386 char *kwnames
[] = {
44387 (char *) "self", NULL
44390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
44391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44392 if (SWIG_arg_fail(1)) SWIG_fail
;
44394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44395 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
44397 wxPyEndAllowThreads(__tstate
);
44398 if (PyErr_Occurred()) SWIG_fail
;
44401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44409 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44410 PyObject
*resultobj
;
44411 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44413 PyObject
* obj0
= 0 ;
44414 PyObject
* obj1
= 0 ;
44415 char *kwnames
[] = {
44416 (char *) "self",(char *) "d", NULL
44419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
44420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44421 if (SWIG_arg_fail(1)) SWIG_fail
;
44423 arg2
= (bool)(SWIG_As_bool(obj1
));
44424 if (SWIG_arg_fail(2)) SWIG_fail
;
44427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44428 (arg1
)->SetDone(arg2
);
44430 wxPyEndAllowThreads(__tstate
);
44431 if (PyErr_Occurred()) SWIG_fail
;
44433 Py_INCREF(Py_None
); resultobj
= Py_None
;
44440 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44441 PyObject
*resultobj
;
44442 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44443 wxRelationship result
;
44444 PyObject
* obj0
= 0 ;
44445 char *kwnames
[] = {
44446 (char *) "self", NULL
44449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
44450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44451 if (SWIG_arg_fail(1)) SWIG_fail
;
44453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44454 result
= (wxRelationship
)(arg1
)->GetRelationship();
44456 wxPyEndAllowThreads(__tstate
);
44457 if (PyErr_Occurred()) SWIG_fail
;
44459 resultobj
= SWIG_From_int((result
));
44466 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44467 PyObject
*resultobj
;
44468 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44469 wxRelationship arg2
;
44470 PyObject
* obj0
= 0 ;
44471 PyObject
* obj1
= 0 ;
44472 char *kwnames
[] = {
44473 (char *) "self",(char *) "r", NULL
44476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
44477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44478 if (SWIG_arg_fail(1)) SWIG_fail
;
44480 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44481 if (SWIG_arg_fail(2)) SWIG_fail
;
44484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44485 (arg1
)->SetRelationship((wxRelationship
)arg2
);
44487 wxPyEndAllowThreads(__tstate
);
44488 if (PyErr_Occurred()) SWIG_fail
;
44490 Py_INCREF(Py_None
); resultobj
= Py_None
;
44497 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44498 PyObject
*resultobj
;
44499 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44500 wxWindow
*arg2
= (wxWindow
*) 0 ;
44502 PyObject
* obj0
= 0 ;
44503 PyObject
* obj1
= 0 ;
44504 char *kwnames
[] = {
44505 (char *) "self",(char *) "otherW", NULL
44508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
44509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44510 if (SWIG_arg_fail(1)) SWIG_fail
;
44511 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44512 if (SWIG_arg_fail(2)) SWIG_fail
;
44514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44515 result
= (bool)(arg1
)->ResetIfWin(arg2
);
44517 wxPyEndAllowThreads(__tstate
);
44518 if (PyErr_Occurred()) SWIG_fail
;
44521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44529 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44530 PyObject
*resultobj
;
44531 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44532 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
44533 wxWindow
*arg3
= (wxWindow
*) 0 ;
44535 PyObject
* obj0
= 0 ;
44536 PyObject
* obj1
= 0 ;
44537 PyObject
* obj2
= 0 ;
44538 char *kwnames
[] = {
44539 (char *) "self",(char *) "constraints",(char *) "win", NULL
44542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44544 if (SWIG_arg_fail(1)) SWIG_fail
;
44545 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44546 if (SWIG_arg_fail(2)) SWIG_fail
;
44547 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44548 if (SWIG_arg_fail(3)) SWIG_fail
;
44550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44551 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
44553 wxPyEndAllowThreads(__tstate
);
44554 if (PyErr_Occurred()) SWIG_fail
;
44557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44565 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44566 PyObject
*resultobj
;
44567 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44569 wxWindow
*arg3
= (wxWindow
*) 0 ;
44570 wxWindow
*arg4
= (wxWindow
*) 0 ;
44572 PyObject
* obj0
= 0 ;
44573 PyObject
* obj1
= 0 ;
44574 PyObject
* obj2
= 0 ;
44575 PyObject
* obj3
= 0 ;
44576 char *kwnames
[] = {
44577 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
44580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44582 if (SWIG_arg_fail(1)) SWIG_fail
;
44584 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44585 if (SWIG_arg_fail(2)) SWIG_fail
;
44587 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44588 if (SWIG_arg_fail(3)) SWIG_fail
;
44589 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44590 if (SWIG_arg_fail(4)) SWIG_fail
;
44592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44593 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
44595 wxPyEndAllowThreads(__tstate
);
44596 if (PyErr_Occurred()) SWIG_fail
;
44599 resultobj
= SWIG_From_int((int)(result
));
44607 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
44609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44610 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
44612 return Py_BuildValue((char *)"");
44614 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44615 PyObject
*resultobj
;
44616 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44617 wxIndividualLayoutConstraint
*result
;
44618 PyObject
* obj0
= 0 ;
44619 char *kwnames
[] = {
44620 (char *) "self", NULL
44623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
44624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44625 if (SWIG_arg_fail(1)) SWIG_fail
;
44626 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
44628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44635 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44636 PyObject
*resultobj
;
44637 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44638 wxIndividualLayoutConstraint
*result
;
44639 PyObject
* obj0
= 0 ;
44640 char *kwnames
[] = {
44641 (char *) "self", NULL
44644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
44645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44646 if (SWIG_arg_fail(1)) SWIG_fail
;
44647 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
44649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44656 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44657 PyObject
*resultobj
;
44658 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44659 wxIndividualLayoutConstraint
*result
;
44660 PyObject
* obj0
= 0 ;
44661 char *kwnames
[] = {
44662 (char *) "self", NULL
44665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
44666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44667 if (SWIG_arg_fail(1)) SWIG_fail
;
44668 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
44670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44677 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44678 PyObject
*resultobj
;
44679 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44680 wxIndividualLayoutConstraint
*result
;
44681 PyObject
* obj0
= 0 ;
44682 char *kwnames
[] = {
44683 (char *) "self", NULL
44686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
44687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44688 if (SWIG_arg_fail(1)) SWIG_fail
;
44689 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
44691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44698 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44699 PyObject
*resultobj
;
44700 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44701 wxIndividualLayoutConstraint
*result
;
44702 PyObject
* obj0
= 0 ;
44703 char *kwnames
[] = {
44704 (char *) "self", NULL
44707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
44708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44709 if (SWIG_arg_fail(1)) SWIG_fail
;
44710 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
44712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44719 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44720 PyObject
*resultobj
;
44721 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44722 wxIndividualLayoutConstraint
*result
;
44723 PyObject
* obj0
= 0 ;
44724 char *kwnames
[] = {
44725 (char *) "self", NULL
44728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
44729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44730 if (SWIG_arg_fail(1)) SWIG_fail
;
44731 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
44733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44740 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44741 PyObject
*resultobj
;
44742 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44743 wxIndividualLayoutConstraint
*result
;
44744 PyObject
* obj0
= 0 ;
44745 char *kwnames
[] = {
44746 (char *) "self", NULL
44749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) 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 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
44754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44761 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44762 PyObject
*resultobj
;
44763 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44764 wxIndividualLayoutConstraint
*result
;
44765 PyObject
* obj0
= 0 ;
44766 char *kwnames
[] = {
44767 (char *) "self", NULL
44770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
44771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44772 if (SWIG_arg_fail(1)) SWIG_fail
;
44773 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
44775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44782 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44783 PyObject
*resultobj
;
44784 wxLayoutConstraints
*result
;
44785 char *kwnames
[] = {
44789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
44791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44792 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
44794 wxPyEndAllowThreads(__tstate
);
44795 if (PyErr_Occurred()) SWIG_fail
;
44797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
44804 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44805 PyObject
*resultobj
;
44806 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44807 wxWindow
*arg2
= (wxWindow
*) 0 ;
44808 int *arg3
= (int *) 0 ;
44812 PyObject
* obj0
= 0 ;
44813 PyObject
* obj1
= 0 ;
44814 char *kwnames
[] = {
44815 (char *) "self",(char *) "win", NULL
44818 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
44819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
44820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44821 if (SWIG_arg_fail(1)) SWIG_fail
;
44822 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44823 if (SWIG_arg_fail(2)) SWIG_fail
;
44825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44826 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
44828 wxPyEndAllowThreads(__tstate
);
44829 if (PyErr_Occurred()) SWIG_fail
;
44832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44834 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
44835 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
44842 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44843 PyObject
*resultobj
;
44844 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44846 PyObject
* obj0
= 0 ;
44847 char *kwnames
[] = {
44848 (char *) "self", NULL
44851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
44852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44853 if (SWIG_arg_fail(1)) SWIG_fail
;
44855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44856 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
44858 wxPyEndAllowThreads(__tstate
);
44859 if (PyErr_Occurred()) SWIG_fail
;
44862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44870 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
44872 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44873 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
44875 return Py_BuildValue((char *)"");
44877 static PyMethodDef SwigMethods
[] = {
44878 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
44879 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
44880 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44881 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44882 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
44883 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44884 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44885 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44886 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44887 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44888 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44889 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44890 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44891 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44892 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44893 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44894 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44895 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44896 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44897 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44898 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44899 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44900 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44901 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44902 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44903 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
44904 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44905 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44906 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44907 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44908 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44909 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44910 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44911 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44912 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44913 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44914 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44915 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44916 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
44917 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44918 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44919 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44920 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44921 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44922 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44923 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44924 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44925 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44926 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44927 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44928 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44929 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44930 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44931 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
44932 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44933 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44934 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44935 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44936 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44937 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44938 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44939 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44940 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44941 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44942 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44943 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44944 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44945 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44946 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44947 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44948 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44949 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44950 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44951 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44952 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44953 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44954 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44955 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44956 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44957 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44958 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44959 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44960 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44961 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44962 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44963 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44964 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44965 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44966 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44967 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44968 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44969 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44970 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44971 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44972 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44973 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44974 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44975 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44976 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44977 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44978 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44979 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44980 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44981 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44982 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44983 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44984 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
44985 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44986 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44987 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44988 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44989 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44990 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44991 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44992 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44993 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44994 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44995 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44996 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44997 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44998 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44999 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45000 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45001 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45002 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45003 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45004 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45005 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45006 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45007 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45008 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45009 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45010 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45011 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45012 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
45013 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45014 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45015 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45016 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45017 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45018 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45019 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45020 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45021 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45022 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45023 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45024 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45025 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45026 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45027 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45028 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45029 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45030 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45031 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
45032 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45033 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
45034 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45035 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45036 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45037 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45038 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45039 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45040 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45041 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
45042 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45043 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45044 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45045 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45046 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45047 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45048 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45049 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45050 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45051 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45052 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45053 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45054 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45055 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45056 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45057 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45058 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45059 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45060 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45061 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45062 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45063 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45064 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45065 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45066 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
45067 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45068 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45069 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45070 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
45071 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45072 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45073 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45074 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45075 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45076 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
45077 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45078 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45079 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45080 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45081 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45082 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45083 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45084 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45085 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45086 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
45087 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45088 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45089 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45090 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45091 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45092 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45093 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45094 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45095 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45096 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
45097 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45098 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45099 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45100 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
45101 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45102 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45103 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45104 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45105 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45106 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45107 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45108 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45109 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45110 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45111 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45112 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45113 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45114 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45115 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45116 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45117 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45118 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45119 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45120 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45121 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45122 { (char *)"Image_InitAlpha", (PyCFunction
) _wrap_Image_InitAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45123 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45124 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45125 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45126 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45127 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45128 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45129 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45130 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45131 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45132 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45133 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45134 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45135 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45136 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45137 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45138 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45139 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45140 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45141 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45142 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45143 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45144 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45145 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45146 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45147 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45148 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45149 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45150 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45151 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45152 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45153 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45154 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45155 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45156 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45157 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45158 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45159 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45160 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45161 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45162 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45163 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45164 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45165 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45166 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45167 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45168 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45169 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45170 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45171 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45172 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45173 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45174 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45175 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
45176 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45177 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
45178 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45179 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
45180 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45181 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
45182 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45183 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
45184 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45185 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
45186 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45187 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
45188 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45189 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
45190 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45191 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
45192 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45193 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
45194 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45195 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
45196 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45197 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
45198 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45199 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
45200 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45201 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45202 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45203 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45204 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45205 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45206 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45207 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45208 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45209 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45210 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45211 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45212 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45213 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
45214 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45215 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45216 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45217 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45218 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45219 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45220 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45221 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45222 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45223 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45224 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45225 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45226 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45227 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45228 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45229 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45230 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45231 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
45232 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45233 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45234 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
45235 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45236 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45237 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
45238 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45239 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45240 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45241 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45242 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45243 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45244 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45245 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45246 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45247 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45248 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45249 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
45250 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45251 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45252 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45253 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45254 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
45255 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45256 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45257 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45258 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45259 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45260 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
45261 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45262 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45263 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45264 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45265 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45266 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
45267 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45268 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45269 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45270 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45271 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45272 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45273 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45274 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45275 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45276 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45277 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45278 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45279 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45280 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45281 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45282 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45283 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45284 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45285 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45286 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45287 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45288 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45289 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45290 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45291 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45292 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45293 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45294 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45295 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45296 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45297 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45298 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45299 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45300 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45301 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45302 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45303 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45304 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45305 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45306 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45307 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45308 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45309 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45310 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45311 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45312 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45313 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45314 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45315 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45316 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45317 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45318 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45319 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45320 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45321 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45322 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45323 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45324 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45325 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45326 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45327 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45328 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45329 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
45330 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45331 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45332 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45333 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45334 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45335 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
45337 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45339 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45340 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45341 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45343 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45344 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45345 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45346 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45347 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45348 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45349 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45350 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45351 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45352 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45353 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45355 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45356 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45358 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45359 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45360 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45363 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45369 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45371 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
45373 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45374 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45378 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45380 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45381 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
45383 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45385 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45386 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45387 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
45389 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
45391 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45392 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
45393 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
45396 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
45400 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45402 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
45403 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45404 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
45406 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45407 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
45408 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45411 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
45413 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45417 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45419 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
45421 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
45425 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45427 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
45428 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
45430 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
45434 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45437 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45446 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
45451 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45453 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45455 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45456 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45458 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45462 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
45466 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_IsFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
45477 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
45480 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
45483 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45484 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
45487 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
45494 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45496 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
45499 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
45504 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"DateEvent_GetDate", (PyCFunction
) _wrap_DateEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
45508 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45551 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
45553 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45560 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45565 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45566 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45567 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45568 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
45573 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45574 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
45580 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
45584 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
45594 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45601 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45604 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45608 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45610 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45612 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45613 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45614 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45615 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45616 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45618 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45619 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45621 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45623 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45624 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45625 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45629 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45630 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45633 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45634 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45640 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45641 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45642 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45644 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45646 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45647 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45648 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45649 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45650 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45651 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45652 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45654 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45657 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45658 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45659 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45662 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45664 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45668 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45669 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45672 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45675 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45678 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45690 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45692 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45693 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45695 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45697 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45698 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45699 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45700 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45702 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45706 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45707 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45711 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45721 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45727 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45729 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45734 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
) _wrap_Window_InheritsBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"Window_UseBgCol", (PyCFunction
) _wrap_Window_UseBgCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45745 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45761 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45764 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
45766 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45767 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45769 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45770 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45771 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45774 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45777 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45778 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45780 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45791 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45801 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
45808 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
45822 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
45825 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45827 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45828 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45829 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45833 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45834 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45837 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45842 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45843 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45846 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45851 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45853 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45859 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45860 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45861 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45863 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45864 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45866 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45867 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45868 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45870 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45873 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45874 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45875 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45878 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
45880 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45881 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45883 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45885 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45886 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45887 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45891 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45892 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45893 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45895 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45899 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45901 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45906 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
45907 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45909 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45911 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45913 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45914 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45916 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45918 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45920 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45922 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45923 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45925 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45926 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45927 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45931 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45936 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45941 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45948 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
45951 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45958 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
45959 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
45978 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
45979 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45986 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45988 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45990 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45994 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46003 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
46016 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46029 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46040 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
46046 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
46049 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
46053 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
46056 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
46066 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
46078 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
) _wrap_StdDialogButtonSizer_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46087 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
46090 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
46100 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46108 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
46110 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46114 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46116 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46117 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
46124 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46128 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46129 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
46131 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
46132 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
46133 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
46134 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
46135 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46136 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46137 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46138 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
46140 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46141 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46148 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46150 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46151 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46158 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46160 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46161 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46162 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46164 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46165 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46166 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
46167 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46168 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46169 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46171 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46172 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46173 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46174 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46177 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46178 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
46179 { NULL
, NULL
, 0, NULL
}
46183 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46185 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
46186 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
46188 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
46189 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
46191 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
46192 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46194 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
46195 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46197 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
46198 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46200 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
46201 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
46203 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
46204 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46206 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
46207 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
46209 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
46210 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46212 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
46213 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46215 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46216 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46218 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46219 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46221 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46222 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46224 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46225 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46227 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46228 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46230 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46231 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46233 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46234 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46236 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46237 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46239 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46240 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46242 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46243 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46245 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46246 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46248 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46249 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46251 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46252 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46254 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46255 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46257 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46258 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46260 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46261 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46263 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46264 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46266 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46267 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46269 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46270 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46272 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46273 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46275 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46276 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46278 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46279 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46281 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46282 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46284 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46285 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46287 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46288 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46290 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46291 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46293 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46294 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46296 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46297 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46299 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46300 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46302 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46303 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46305 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46306 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46308 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46309 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46311 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46312 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46314 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46315 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46317 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46318 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46320 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46321 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46323 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
46324 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46326 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
46327 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46329 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
46330 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46332 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46333 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46335 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46336 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46338 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46339 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46341 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46342 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46344 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46345 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46347 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46348 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46350 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46351 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46353 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46354 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46356 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46357 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46359 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46360 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46362 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
46363 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
46365 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
46366 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
46368 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
46369 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
46371 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
46372 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
46374 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
46375 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
46377 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
46378 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46380 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
46381 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
46383 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
46384 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
46386 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
46387 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46389 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
46390 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46392 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
46393 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
46395 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
46396 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
46398 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
46399 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
46401 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
46402 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
46404 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
46405 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
46407 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
46408 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
46410 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
46411 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
46413 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
46414 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
46416 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46417 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
46419 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46420 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
46422 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46423 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
46425 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46426 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46428 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46429 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46431 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46432 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46434 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46435 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46437 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46438 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46440 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46441 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46443 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46444 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46446 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46447 return (void *)((wxObject
*) ((wxSizer
*) x
));
46449 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46450 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46452 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46453 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46455 static void *_p_wxEventTo_p_wxObject(void *x
) {
46456 return (void *)((wxObject
*) ((wxEvent
*) x
));
46458 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46459 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46461 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46462 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46464 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46465 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46467 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46468 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46470 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46471 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46473 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46474 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46476 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46477 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46479 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46480 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46482 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46483 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46485 static void *_p_wxControlTo_p_wxObject(void *x
) {
46486 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46488 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46489 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46491 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46492 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46494 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46495 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46497 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46498 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46500 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46501 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46503 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46504 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46506 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46507 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46509 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46510 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46512 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46513 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46515 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46516 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46518 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46519 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46521 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46522 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46524 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46525 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46527 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
46528 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
46530 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
46531 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
46533 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
46534 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
46536 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
46537 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
46539 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
46540 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
46542 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
46543 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
46545 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
46546 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
46548 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
46549 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
46551 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
46552 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
46554 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
46555 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46557 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
46558 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46560 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
46561 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
46563 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
46564 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
46566 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
46567 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
46569 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
46570 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
46572 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
46573 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
46575 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
46576 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46578 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
46579 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
46581 static void *_p_wxImageTo_p_wxObject(void *x
) {
46582 return (void *)((wxObject
*) ((wxImage
*) x
));
46584 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
46585 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
46587 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
46588 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46590 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
46591 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46593 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
46594 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
46596 static void *_p_wxWindowTo_p_wxObject(void *x
) {
46597 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
46599 static void *_p_wxMenuTo_p_wxObject(void *x
) {
46600 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
46602 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
46603 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
46605 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
46606 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
46608 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
46609 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46611 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
46612 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
46614 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
46615 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
46617 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
46618 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
46620 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
46621 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
46623 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
46624 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
46626 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
46627 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46629 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
46630 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
46632 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
46633 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
46635 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
46636 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
46638 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
46639 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46641 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
46642 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46644 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
46645 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
46647 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
46648 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
46650 static void *_p_wxControlTo_p_wxWindow(void *x
) {
46651 return (void *)((wxWindow
*) ((wxControl
*) x
));
46653 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
46654 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
46656 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
46657 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
46659 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
46660 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46662 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
46663 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
46665 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
46666 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46668 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
46669 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
46671 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
46672 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46674 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
46675 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46677 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
46678 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46680 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
46681 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46683 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
46684 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46686 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
46687 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
46689 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}};
46690 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}};
46691 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}};
46692 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}};
46693 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}};
46694 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}};
46695 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}};
46696 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}};
46697 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}};
46698 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}};
46699 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}};
46700 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}};
46701 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}};
46702 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}};
46703 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}};
46704 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}};
46705 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}};
46706 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}};
46707 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}};
46708 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}};
46709 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}};
46710 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}};
46711 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}};
46712 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}};
46713 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}};
46714 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}};
46715 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}};
46716 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}};
46717 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}};
46718 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}};
46719 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}};
46720 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}};
46721 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}};
46722 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}};
46723 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}};
46724 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}};
46725 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}};
46726 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}};
46727 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}};
46728 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}};
46729 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}};
46730 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}};
46731 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}};
46732 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}};
46733 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}};
46734 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}};
46735 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}};
46736 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}};
46737 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}};
46738 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}};
46739 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}};
46740 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}};
46741 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}};
46742 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}};
46743 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}};
46744 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}};
46745 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}};
46746 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}};
46747 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}};
46748 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}};
46749 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}};
46750 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}};
46751 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}};
46752 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}};
46753 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}};
46754 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}};
46755 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}};
46756 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}};
46757 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}};
46758 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}};
46759 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}};
46760 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}};
46761 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}};
46762 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}};
46763 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}};
46764 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}};
46765 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}};
46766 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}};
46767 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}};
46768 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}};
46769 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}};
46770 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}};
46771 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}};
46772 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}};
46773 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}};
46774 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}};
46775 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}};
46776 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}};
46777 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}};
46778 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}};
46779 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}};
46780 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}};
46781 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}};
46782 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}};
46783 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}};
46784 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}};
46785 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}};
46786 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}};
46787 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}};
46788 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}};
46789 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}};
46790 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}};
46791 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}};
46792 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}};
46793 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}};
46794 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}};
46795 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}};
46796 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}};
46797 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}};
46798 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}};
46799 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}};
46800 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}};
46801 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}};
46802 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}};
46803 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}};
46804 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}};
46805 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}};
46806 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}};
46807 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}};
46808 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}};
46809 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}};
46810 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}};
46811 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}};
46812 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}};
46813 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}};
46814 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}};
46815 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}};
46817 static swig_type_info
*swig_types_initial
[] = {
46818 _swigt__p_wxLayoutConstraints
,
46819 _swigt__p_wxRealPoint
,
46820 _swigt__p_wxSizerItem
,
46821 _swigt__p_wxGBSizerItem
,
46822 _swigt__p_wxScrollEvent
,
46823 _swigt__p_wxEventLoop
,
46824 _swigt__p_wxIndividualLayoutConstraint
,
46826 _swigt__p_wxBoxSizer
,
46827 _swigt__p_wxStaticBoxSizer
,
46828 _swigt__p_wxGridBagSizer
,
46829 _swigt__p_wxAcceleratorEntry
,
46830 _swigt__p_wxUpdateUIEvent
,
46833 _swigt__p_wxGridSizer
,
46834 _swigt__p_wxFlexGridSizer
,
46835 _swigt__p_wxInitDialogEvent
,
46836 _swigt__p_wxItemContainer
,
46837 _swigt__p_wxNcPaintEvent
,
46838 _swigt__p_wxPaintEvent
,
46839 _swigt__p_wxSysColourChangedEvent
,
46840 _swigt__p_wxMouseCaptureChangedEvent
,
46841 _swigt__p_wxDisplayChangedEvent
,
46842 _swigt__p_wxPaletteChangedEvent
,
46843 _swigt__p_wxControl
,
46845 _swigt__p_wxMenuBarBase
,
46846 _swigt__p_wxSetCursorEvent
,
46847 _swigt__p_wxFSFile
,
46850 _swigt__std__ptrdiff_t
,
46851 _swigt__p_wxRegion
,
46852 _swigt__p_wxPoint2D
,
46856 _swigt__p_wxPySizer
,
46857 _swigt__p_wxVisualAttributes
,
46858 _swigt__p_wxNotifyEvent
,
46859 _swigt__p_wxPyEvent
,
46860 _swigt__p_wxPropagationDisabler
,
46861 _swigt__p_form_ops_t
,
46862 _swigt__p_wxAppTraits
,
46863 _swigt__p_wxArrayString
,
46864 _swigt__p_wxShowEvent
,
46865 _swigt__p_wxToolTip
,
46866 _swigt__p_wxMoveEvent
,
46867 _swigt__p_wxSizeEvent
,
46868 _swigt__p_wxActivateEvent
,
46869 _swigt__p_wxIconizeEvent
,
46870 _swigt__p_wxMaximizeEvent
,
46871 _swigt__p_wxQueryNewPaletteEvent
,
46872 _swigt__p_wxWindowCreateEvent
,
46873 _swigt__p_wxIdleEvent
,
46874 _swigt__p_wxDateEvent
,
46875 _swigt__p_wxMenuItem
,
46876 _swigt__p_wxStaticBox
,
46878 _swigt__p_wxDuplexMode
,
46879 _swigt__p_wxTIFFHandler
,
46880 _swigt__p_wxXPMHandler
,
46881 _swigt__p_wxPNMHandler
,
46882 _swigt__p_wxJPEGHandler
,
46883 _swigt__p_wxPCXHandler
,
46884 _swigt__p_wxGIFHandler
,
46885 _swigt__p_wxPNGHandler
,
46886 _swigt__p_wxANIHandler
,
46887 _swigt__p_wxMemoryFSHandler
,
46888 _swigt__p_wxZipFSHandler
,
46889 _swigt__p_wxInternetFSHandler
,
46890 _swigt__p_wxPyFileSystemHandler
,
46891 _swigt__p_wxEvtHandler
,
46892 _swigt__p_wxCURHandler
,
46893 _swigt__p_wxICOHandler
,
46894 _swigt__p_wxBMPHandler
,
46895 _swigt__p_wxImageHandler
,
46896 _swigt__p_wxFileSystemHandler
,
46898 _swigt__p_wxButton
,
46899 _swigt__p_wxGBSpan
,
46900 _swigt__p_wxPropagateOnce
,
46901 _swigt__p_wxAcceleratorTable
,
46902 _swigt__p_wxStdDialogButtonSizer
,
46904 _swigt__p_wxGBPosition
,
46907 _swigt__p_wxScrollWinEvent
,
46908 _swigt__p_wxPaperSize
,
46909 _swigt__p_wxImageHistogram
,
46911 _swigt__p_wxCursor
,
46912 _swigt__p_wxObject
,
46913 _swigt__p_wxInputStream
,
46914 _swigt__p_wxOutputStream
,
46915 _swigt__p_wxPyInputStream
,
46916 _swigt__p_wxDateTime
,
46917 _swigt__p_wxKeyEvent
,
46918 _swigt__p_wxNavigationKeyEvent
,
46919 _swigt__p_wxWindowDestroyEvent
,
46920 _swigt__p_unsigned_long
,
46921 _swigt__p_wxWindow
,
46922 _swigt__p_wxMenuBar
,
46923 _swigt__p_wxFileSystem
,
46924 _swigt__p_wxBitmap
,
46925 _swigt__unsigned_int
,
46926 _swigt__p_unsigned_int
,
46927 _swigt__p_wxMenuEvent
,
46928 _swigt__p_wxContextMenuEvent
,
46929 _swigt__p_unsigned_char
,
46930 _swigt__p_wxEraseEvent
,
46931 _swigt__p_wxMouseEvent
,
46932 _swigt__p_wxCloseEvent
,
46934 _swigt__p_wxCommandEvent
,
46935 _swigt__p_wxPyCommandEvent
,
46936 _swigt__p_wxPyDropTarget
,
46937 _swigt__p_wxQuantize
,
46938 _swigt__p_wxChildFocusEvent
,
46939 _swigt__p_wxFocusEvent
,
46940 _swigt__p_wxDropFilesEvent
,
46941 _swigt__p_wxControlWithItems
,
46942 _swigt__p_wxColour
,
46943 _swigt__p_wxValidator
,
46944 _swigt__p_wxPyValidator
,
46949 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
46951 static swig_const_info swig_const_table
[] = {
46952 {0, 0, 0, 0.0, 0, 0}};
46963 /* Python-specific SWIG API */
46964 #define SWIG_newvarlink() SWIG_Python_newvarlink()
46965 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
46966 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
46968 /* -----------------------------------------------------------------------------
46969 * global variable support code.
46970 * ----------------------------------------------------------------------------- */
46972 typedef struct swig_globalvar
{
46973 char *name
; /* Name of global variable */
46974 PyObject
*(*get_attr
)(); /* Return the current value */
46975 int (*set_attr
)(PyObject
*); /* Set the value */
46976 struct swig_globalvar
*next
;
46979 typedef struct swig_varlinkobject
{
46981 swig_globalvar
*vars
;
46982 } swig_varlinkobject
;
46985 swig_varlink_repr(swig_varlinkobject
*v
) {
46987 return PyString_FromString("<Swig global variables>");
46991 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
46992 swig_globalvar
*var
;
46994 fprintf(fp
,"Swig global variables { ");
46995 for (var
= v
->vars
; var
; var
=var
->next
) {
46996 fprintf(fp
,"%s", var
->name
);
46997 if (var
->next
) fprintf(fp
,", ");
46999 fprintf(fp
," }\n");
47004 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
47005 swig_globalvar
*var
= v
->vars
;
47007 if (strcmp(var
->name
,n
) == 0) {
47008 return (*var
->get_attr
)();
47012 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47017 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
47018 swig_globalvar
*var
= v
->vars
;
47020 if (strcmp(var
->name
,n
) == 0) {
47021 return (*var
->set_attr
)(p
);
47025 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47029 static PyTypeObject varlinktype
= {
47030 PyObject_HEAD_INIT(0)
47031 0, /* Number of items in variable part (ob_size) */
47032 (char *)"swigvarlink", /* Type name (tp_name) */
47033 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
47034 0, /* Itemsize (tp_itemsize) */
47035 0, /* Deallocator (tp_dealloc) */
47036 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
47037 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
47038 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
47039 0, /* tp_compare */
47040 (reprfunc
) swig_varlink_repr
, /* tp_repr */
47041 0, /* tp_as_number */
47042 0, /* tp_as_sequence */
47043 0, /* tp_as_mapping */
47047 0, /* tp_getattro */
47048 0, /* tp_setattro */
47049 0, /* tp_as_buffer */
47052 #if PY_VERSION_HEX >= 0x02000000
47053 0, /* tp_traverse */
47056 #if PY_VERSION_HEX >= 0x02010000
47057 0, /* tp_richcompare */
47058 0, /* tp_weaklistoffset */
47060 #if PY_VERSION_HEX >= 0x02020000
47061 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
47063 #if PY_VERSION_HEX >= 0x02030000
47066 #ifdef COUNT_ALLOCS
47067 0,0,0,0 /* tp_alloc -> tp_next */
47071 /* Create a variable linking object for use later */
47073 SWIG_Python_newvarlink(void) {
47074 swig_varlinkobject
*result
= 0;
47075 result
= PyMem_NEW(swig_varlinkobject
,1);
47076 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
47077 result
->ob_type
= &varlinktype
;
47079 result
->ob_refcnt
= 0;
47080 Py_XINCREF((PyObject
*) result
);
47081 return ((PyObject
*) result
);
47085 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
47086 swig_varlinkobject
*v
;
47087 swig_globalvar
*gv
;
47088 v
= (swig_varlinkobject
*) p
;
47089 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
47090 gv
->name
= (char *) malloc(strlen(name
)+1);
47091 strcpy(gv
->name
,name
);
47092 gv
->get_attr
= get_attr
;
47093 gv
->set_attr
= set_attr
;
47094 gv
->next
= v
->vars
;
47098 /* -----------------------------------------------------------------------------
47099 * constants/methods manipulation
47100 * ----------------------------------------------------------------------------- */
47102 /* Install Constants */
47104 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
47107 for (i
= 0; constants
[i
].type
; i
++) {
47108 switch(constants
[i
].type
) {
47110 obj
= PyInt_FromLong(constants
[i
].lvalue
);
47112 case SWIG_PY_FLOAT
:
47113 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
47115 case SWIG_PY_STRING
:
47116 if (constants
[i
].pvalue
) {
47117 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
47119 Py_INCREF(Py_None
);
47123 case SWIG_PY_POINTER
:
47124 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
47126 case SWIG_PY_BINARY
:
47127 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
47134 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
47140 /* -----------------------------------------------------------------------------*/
47141 /* Fix SwigMethods to carry the callback ptrs when needed */
47142 /* -----------------------------------------------------------------------------*/
47145 SWIG_Python_FixMethods(PyMethodDef
*methods
,
47146 swig_const_info
*const_table
,
47147 swig_type_info
**types
,
47148 swig_type_info
**types_initial
) {
47150 for (i
= 0; methods
[i
].ml_name
; ++i
) {
47151 char *c
= methods
[i
].ml_doc
;
47152 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
47154 swig_const_info
*ci
= 0;
47155 char *name
= c
+ 10;
47156 for (j
= 0; const_table
[j
].type
; j
++) {
47157 if (strncmp(const_table
[j
].name
, name
,
47158 strlen(const_table
[j
].name
)) == 0) {
47159 ci
= &(const_table
[j
]);
47164 size_t shift
= (ci
->ptype
) - types
;
47165 swig_type_info
*ty
= types_initial
[shift
];
47166 size_t ldoc
= (c
- methods
[i
].ml_doc
);
47167 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
47168 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
47170 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
47171 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
47173 strncpy(buff
, "swig_ptr: ", 10);
47175 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
47176 methods
[i
].ml_doc
= ndoc
;
47182 /* -----------------------------------------------------------------------------*
47183 * Initialize type list
47184 * -----------------------------------------------------------------------------*/
47186 #if PY_MAJOR_VERSION < 2
47187 /* PyModule_AddObject function was introduced in Python 2.0. The following function
47188 is copied out of Python/modsupport.c in python version 2.3.4 */
47190 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
47193 if (!PyModule_Check(m
)) {
47194 PyErr_SetString(PyExc_TypeError
,
47195 "PyModule_AddObject() needs module as first arg");
47199 PyErr_SetString(PyExc_TypeError
,
47200 "PyModule_AddObject() needs non-NULL value");
47204 dict
= PyModule_GetDict(m
);
47205 if (dict
== NULL
) {
47206 /* Internal error -- modules must have a dict! */
47207 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
47208 PyModule_GetName(m
));
47211 if (PyDict_SetItemString(dict
, name
, o
))
47218 static swig_type_info
**
47219 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
47220 static PyMethodDef swig_empty_runtime_method_table
[] = {
47222 NULL
, NULL
, 0, NULL
47226 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
47227 swig_empty_runtime_method_table
);
47228 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
47229 if (pointer
&& module) {
47230 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
47232 return type_list_handle
;
47235 static swig_type_info
**
47236 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
47237 swig_type_info
**type_pointer
;
47239 /* first check if module already created */
47240 type_pointer
= SWIG_Python_GetTypeListHandle();
47241 if (type_pointer
) {
47242 return type_pointer
;
47244 /* create a new module and variable */
47245 return SWIG_Python_SetTypeListHandle(type_list_handle
);
47253 /* -----------------------------------------------------------------------------*
47254 * Partial Init method
47255 * -----------------------------------------------------------------------------*/
47257 #ifdef SWIG_LINK_RUNTIME
47261 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
47267 SWIGEXPORT(void) SWIG_init(void) {
47268 static PyObject
*SWIG_globals
= 0;
47269 static int typeinit
= 0;
47272 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
47274 /* Fix SwigMethods to carry the callback ptrs when needed */
47275 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
47277 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
47278 d
= PyModule_GetDict(m
);
47281 #ifdef SWIG_LINK_RUNTIME
47282 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
47284 # ifndef SWIG_STATIC_RUNTIME
47285 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
47288 for (i
= 0; swig_types_initial
[i
]; i
++) {
47289 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
47293 SWIG_InstallConstants(d
,swig_const_table
);
47296 #ifndef wxPyUSE_EXPORT
47297 // Make our API structure a CObject so other modules can import it
47298 // from this module.
47299 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
47300 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
47305 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
47308 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
47311 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
47314 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
47317 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
47320 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
47323 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
47326 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
47329 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
47332 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
47335 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
47338 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
47341 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
47344 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
47347 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
47350 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
47353 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
47356 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
47359 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)(wxED_CLIENT_MARGIN
)));
47362 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)(wxED_BUTTONS_BOTTOM
)));
47365 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)(wxED_BUTTONS_RIGHT
)));
47368 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)(wxED_STATIC_LINE
)));
47371 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)(wxEXT_DIALOG_STYLE
)));
47374 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
47377 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
47380 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
47383 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
47386 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
47389 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
47392 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
47395 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
47398 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
47401 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
47404 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
47407 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
47410 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
47413 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
47416 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
47419 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
47422 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
47425 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
47428 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
47431 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
47434 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
47437 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
47440 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
47443 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
47446 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
47449 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
47452 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
47455 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
47458 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
47461 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
47464 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
47467 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
47470 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
47473 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
47476 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
47479 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
47482 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
47485 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
47488 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
47491 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
47494 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
47497 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
47500 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
47503 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
47506 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
47509 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
47512 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
47515 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
47518 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
47521 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
47524 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
47527 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
47530 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
47533 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
47536 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
47539 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
47542 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
47545 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
47548 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
47551 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
47554 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
47557 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
47560 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
47563 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
47566 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
47569 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
47572 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
47575 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
47578 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
47581 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
47584 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
47587 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
47590 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
47593 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
47596 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
47599 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
47602 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
47605 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
47608 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
47611 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
47614 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
47617 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
47620 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
47623 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
47626 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
47629 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
47632 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
47635 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
47638 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
47641 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
47644 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
47647 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
47650 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
47653 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
47656 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
47659 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
47662 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
47665 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
47668 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
47671 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
47674 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
47677 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
47680 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
47683 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
47686 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
47689 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
47692 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
47695 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
47698 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
47701 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
47704 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
47707 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
47710 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
47713 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
47716 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
47719 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
47722 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
47725 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
47728 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
47731 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
47734 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
47737 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
47740 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
47743 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
47746 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
47749 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
47752 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
47755 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
47758 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
47761 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
47764 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
47767 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
47770 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
47773 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
47776 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
47779 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
47782 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
47785 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
47788 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
47791 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
47794 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
47797 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
47800 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
47803 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
47806 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
47809 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
47812 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
47815 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
47818 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
47821 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
47824 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
47827 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
47830 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
47833 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
47836 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
47839 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
47842 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
47845 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
47848 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
47851 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
47854 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
47857 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
47860 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
47863 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
47866 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
47869 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
47872 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
47875 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
47878 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
47881 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
47884 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
47887 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
47890 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
47893 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
47896 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
47899 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
47902 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
47905 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
47908 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
47911 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
47914 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
47917 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
47920 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
47923 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
47926 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
47929 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
47932 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
47935 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
47938 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
47941 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
47944 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
47947 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
47950 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
47953 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
47956 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
47959 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
47962 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
47965 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
47968 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
47971 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
47974 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
47977 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
47980 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
47983 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
47986 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
47989 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
47992 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
47995 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
47998 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
48001 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
48004 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
48007 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
48010 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
48013 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
48016 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
48019 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
48022 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
48025 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
48028 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
48031 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
48034 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
48037 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
48040 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
48043 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
48046 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
48049 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
48052 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
48055 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
48058 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
48061 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
48064 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
48067 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
48070 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
48073 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
48076 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
48079 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
48082 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
48085 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
48088 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
48091 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
48094 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
48097 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
48100 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
48103 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
48106 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
48109 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
48112 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
48115 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
48118 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
48121 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
48124 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
48127 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
48130 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
48133 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
48136 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
48139 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
48142 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
48145 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
48148 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
48151 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
48154 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
48157 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
48160 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
48163 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
48166 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
48169 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
48172 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
48175 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
48178 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
48181 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
48184 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
48187 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
48190 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
48193 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
48196 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
48199 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
48202 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
48205 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
48208 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
48211 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
48214 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
48217 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
48220 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
48223 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
48226 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
48229 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
48232 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
48235 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
48238 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
48241 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
48244 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
48247 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
48250 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
48253 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
48256 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
48259 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
48262 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
48265 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
48268 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
48271 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
48274 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
48277 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
48280 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
48283 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
48286 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
48289 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
48292 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
48295 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
48298 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
48301 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
48304 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
48307 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
48310 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
48313 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
48316 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
48319 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
48322 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
48325 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
48328 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
48331 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
48334 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
48337 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
48340 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
48343 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
48346 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
48349 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
48352 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
48355 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
48358 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
48361 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
48364 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
48367 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
48370 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
48373 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
48376 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
48379 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
48382 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
48385 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
48388 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
48391 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
48394 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
48397 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
48400 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
48403 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
48406 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
48409 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
48412 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
48415 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
48418 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
48421 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
48424 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
48427 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
48430 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
48433 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
48436 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
48439 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
48442 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
48445 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
48448 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
48451 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
48454 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
48457 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
48460 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
48463 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
48466 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
48469 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
48472 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
48475 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
48478 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
48481 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
48484 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
48487 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
48490 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
48493 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
48496 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
48499 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
48502 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
48505 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
48508 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
48511 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
48514 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
48517 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
48520 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
48523 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
48526 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
48529 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
48532 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
48535 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
48538 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
48541 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
48544 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
48547 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
48550 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
48553 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
48556 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
48559 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
48562 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
48565 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
48568 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
48571 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
48574 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
48577 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
48580 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
48583 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
48586 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
48589 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
48592 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
48595 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
48598 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
48601 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
48604 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
48607 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
48610 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
48613 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
48616 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
48619 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
48622 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
48625 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
48628 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
48631 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
48634 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
48637 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
48640 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
48643 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
48646 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
48649 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
48652 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
48655 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
48658 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
48661 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
48664 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
48667 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
48670 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
48673 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
48676 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
48679 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
48682 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
48685 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
48688 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
48691 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
48694 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
48697 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
48700 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
48703 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
48706 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
48709 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
48712 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
48715 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
48718 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
48721 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
48724 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
48727 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
48730 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
48733 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
48736 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
48739 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
48742 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
48745 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
48748 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
48751 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
48754 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
48757 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
48760 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
48763 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
48766 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
48769 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
48772 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
48775 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
48778 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
48781 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
48784 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
48787 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
48790 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
48793 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
48796 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
48799 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
48802 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
48805 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
48808 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
48811 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
48814 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
48817 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
48820 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
48823 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
48826 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
48829 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
48832 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
48835 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
48838 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
48841 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
48844 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
48847 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
48850 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
48853 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
48856 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
48859 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
48862 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
48865 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
48868 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
48871 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
48874 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
48877 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
48880 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
48883 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
48886 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
48889 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
48892 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
48895 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
48898 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
48901 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
48904 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
48907 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
48909 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
48910 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
48912 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
48915 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
48918 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
48921 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
48924 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
48927 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
48930 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
48933 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
48936 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
48939 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
48942 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
48945 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
48948 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
48951 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
48954 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
48957 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
48960 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
48963 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
48966 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
48969 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
48972 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
48975 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
48978 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
48981 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
48984 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
48987 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
48990 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
48993 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
48996 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
48999 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
49002 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
49005 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
49008 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
49011 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
49014 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
49017 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
49020 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
49023 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
49026 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
49029 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
49032 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
49035 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
49038 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
49041 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
49044 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
49047 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
49050 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
49053 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
49056 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
49059 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
49062 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
49064 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
49065 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
49067 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
49070 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
49073 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
49076 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
49079 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
49081 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
49082 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get
, _wrap_IMAGE_OPTION_FILENAME_set
);
49083 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
49084 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
49085 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
49086 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
49087 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get
, _wrap_IMAGE_OPTION_RESOLUTIONX_set
);
49088 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get
, _wrap_IMAGE_OPTION_RESOLUTIONY_set
);
49089 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
49090 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get
, _wrap_IMAGE_OPTION_QUALITY_set
);
49092 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
49095 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
49097 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get
, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set
);
49098 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get
, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set
);
49099 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get
, _wrap_IMAGE_OPTION_COMPRESSION_set
);
49100 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get
, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
49101 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get
, _wrap_IMAGE_OPTION_PNG_FORMAT_set
);
49102 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get
, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set
);
49104 PyDict_SetItemString(d
,"PNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR
)));
49107 PyDict_SetItemString(d
,"PNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY
)));
49110 PyDict_SetItemString(d
,"PNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED
)));
49113 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
49116 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
49119 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
49122 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
49125 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
49128 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
49131 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
49134 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
49137 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
49140 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
49143 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
49146 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
49149 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
49151 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
49152 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
49153 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
49154 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
49155 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
49156 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
49157 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
49158 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
49159 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
49160 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
49161 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
49162 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
49163 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
49164 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
49165 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
49166 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
49167 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
49168 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
49169 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
49170 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
49171 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
49172 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
49173 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
49174 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
49175 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
49176 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
49177 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
49178 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
49179 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
49180 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
49181 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
49182 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
49183 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
49184 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
49185 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
49186 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
49187 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
49188 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
49189 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
49190 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
49191 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
49192 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
49193 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
49194 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
49195 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
49196 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
49197 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
49198 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
49199 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
49200 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
49201 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
49202 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
49203 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
49204 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
49205 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
49206 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
49207 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
49208 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
49209 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
49210 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
49211 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
49212 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
49213 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
49214 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
49215 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
49216 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
49217 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
49218 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
49219 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
49220 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
49221 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
49222 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
49223 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
49224 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
49225 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
49226 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
49227 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
49228 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
49229 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
49230 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
49231 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
49232 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
49233 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
49234 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
49235 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
49236 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
49237 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
49238 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
49239 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
49240 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
49241 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
49242 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
49243 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
49244 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
49245 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
49246 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
49247 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
49248 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
49249 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
49250 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
49251 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
49252 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
49253 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
49254 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
49255 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
49256 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
49257 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
49258 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
49259 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
49260 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
49261 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
49262 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
49263 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
49264 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
49266 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
49269 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
49272 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
49275 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
49278 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
49281 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
49284 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
49287 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
49290 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
49293 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
49296 PyDict_SetItemString(d
,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab
)));
49299 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
49302 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
49304 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
49306 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
49309 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
49312 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
49315 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
49318 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
49321 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
49323 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
49324 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
49326 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
49329 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
49332 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
49335 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
49338 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
49340 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
49341 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
49343 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
49346 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
49349 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
49351 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
49353 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
49356 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
49359 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
49362 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
49365 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
49368 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
49371 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
49374 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
49377 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
49380 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
49383 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
49386 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
49389 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
49392 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
49395 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
49398 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
49401 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
49404 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
49407 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
49410 // Initialize threading, some globals and such
49414 // Although these are defined in __version__ they need to be here too so
49415 // that an assert can be done to ensure that the wxPython and the wxWindows
49417 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
49418 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
49419 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));