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_buffer swig_types[14]
1356 #define SWIGTYPE_p_wxMenu swig_types[15]
1357 #define SWIGTYPE_p_wxGridSizer swig_types[16]
1358 #define SWIGTYPE_p_wxFlexGridSizer swig_types[17]
1359 #define SWIGTYPE_p_wxInitDialogEvent swig_types[18]
1360 #define SWIGTYPE_p_wxItemContainer swig_types[19]
1361 #define SWIGTYPE_p_wxNcPaintEvent swig_types[20]
1362 #define SWIGTYPE_p_wxPaintEvent swig_types[21]
1363 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[22]
1364 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[23]
1365 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[24]
1366 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[25]
1367 #define SWIGTYPE_p_wxControl swig_types[26]
1368 #define SWIGTYPE_p_wxFont swig_types[27]
1369 #define SWIGTYPE_p_wxMenuBarBase swig_types[28]
1370 #define SWIGTYPE_p_wxSetCursorEvent swig_types[29]
1371 #define SWIGTYPE_p_wxFSFile swig_types[30]
1372 #define SWIGTYPE_p_wxCaret swig_types[31]
1373 #define SWIGTYPE_ptrdiff_t swig_types[32]
1374 #define SWIGTYPE_std__ptrdiff_t swig_types[33]
1375 #define SWIGTYPE_p_wxRegion swig_types[34]
1376 #define SWIGTYPE_p_wxPoint2D swig_types[35]
1377 #define SWIGTYPE_p_int swig_types[36]
1378 #define SWIGTYPE_p_wxSize swig_types[37]
1379 #define SWIGTYPE_p_wxDC swig_types[38]
1380 #define SWIGTYPE_p_wxPySizer swig_types[39]
1381 #define SWIGTYPE_p_wxVisualAttributes swig_types[40]
1382 #define SWIGTYPE_p_wxNotifyEvent swig_types[41]
1383 #define SWIGTYPE_p_wxPyEvent swig_types[42]
1384 #define SWIGTYPE_p_wxPropagationDisabler swig_types[43]
1385 #define SWIGTYPE_p_form_ops_t swig_types[44]
1386 #define SWIGTYPE_p_wxAppTraits swig_types[45]
1387 #define SWIGTYPE_p_wxArrayString swig_types[46]
1388 #define SWIGTYPE_p_wxShowEvent swig_types[47]
1389 #define SWIGTYPE_p_wxToolTip swig_types[48]
1390 #define SWIGTYPE_p_wxMoveEvent swig_types[49]
1391 #define SWIGTYPE_p_wxSizeEvent swig_types[50]
1392 #define SWIGTYPE_p_wxActivateEvent swig_types[51]
1393 #define SWIGTYPE_p_wxIconizeEvent swig_types[52]
1394 #define SWIGTYPE_p_wxMaximizeEvent swig_types[53]
1395 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[54]
1396 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[55]
1397 #define SWIGTYPE_p_wxIdleEvent swig_types[56]
1398 #define SWIGTYPE_p_wxDateEvent swig_types[57]
1399 #define SWIGTYPE_p_wxMenuItem swig_types[58]
1400 #define SWIGTYPE_p_wxStaticBox swig_types[59]
1401 #define SWIGTYPE_p_long swig_types[60]
1402 #define SWIGTYPE_p_wxDuplexMode swig_types[61]
1403 #define SWIGTYPE_p_wxTIFFHandler swig_types[62]
1404 #define SWIGTYPE_p_wxXPMHandler swig_types[63]
1405 #define SWIGTYPE_p_wxPNMHandler swig_types[64]
1406 #define SWIGTYPE_p_wxJPEGHandler swig_types[65]
1407 #define SWIGTYPE_p_wxPCXHandler swig_types[66]
1408 #define SWIGTYPE_p_wxGIFHandler swig_types[67]
1409 #define SWIGTYPE_p_wxPNGHandler swig_types[68]
1410 #define SWIGTYPE_p_wxANIHandler swig_types[69]
1411 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[70]
1412 #define SWIGTYPE_p_wxZipFSHandler swig_types[71]
1413 #define SWIGTYPE_p_wxInternetFSHandler swig_types[72]
1414 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[73]
1415 #define SWIGTYPE_p_wxEvtHandler swig_types[74]
1416 #define SWIGTYPE_p_wxCURHandler swig_types[75]
1417 #define SWIGTYPE_p_wxICOHandler swig_types[76]
1418 #define SWIGTYPE_p_wxBMPHandler swig_types[77]
1419 #define SWIGTYPE_p_wxImageHandler swig_types[78]
1420 #define SWIGTYPE_p_wxFileSystemHandler swig_types[79]
1421 #define SWIGTYPE_p_wxRect swig_types[80]
1422 #define SWIGTYPE_p_wxButton swig_types[81]
1423 #define SWIGTYPE_p_wxGBSpan swig_types[82]
1424 #define SWIGTYPE_p_wxPropagateOnce swig_types[83]
1425 #define SWIGTYPE_p_wxAcceleratorTable swig_types[84]
1426 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[85]
1427 #define SWIGTYPE_p_char swig_types[86]
1428 #define SWIGTYPE_p_wxGBPosition swig_types[87]
1429 #define SWIGTYPE_p_wxImage swig_types[88]
1430 #define SWIGTYPE_p_wxFrame swig_types[89]
1431 #define SWIGTYPE_p_wxScrollWinEvent swig_types[90]
1432 #define SWIGTYPE_p_wxPaperSize swig_types[91]
1433 #define SWIGTYPE_p_wxImageHistogram swig_types[92]
1434 #define SWIGTYPE_p_wxPoint swig_types[93]
1435 #define SWIGTYPE_p_wxCursor swig_types[94]
1436 #define SWIGTYPE_p_wxObject swig_types[95]
1437 #define SWIGTYPE_p_wxInputStream swig_types[96]
1438 #define SWIGTYPE_p_wxOutputStream swig_types[97]
1439 #define SWIGTYPE_p_wxPyInputStream swig_types[98]
1440 #define SWIGTYPE_p_wxDateTime swig_types[99]
1441 #define SWIGTYPE_p_wxKeyEvent swig_types[100]
1442 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[101]
1443 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[102]
1444 #define SWIGTYPE_p_unsigned_long swig_types[103]
1445 #define SWIGTYPE_p_wxWindow swig_types[104]
1446 #define SWIGTYPE_p_wxMenuBar swig_types[105]
1447 #define SWIGTYPE_p_wxFileSystem swig_types[106]
1448 #define SWIGTYPE_p_wxBitmap swig_types[107]
1449 #define SWIGTYPE_unsigned_int swig_types[108]
1450 #define SWIGTYPE_p_unsigned_int swig_types[109]
1451 #define SWIGTYPE_p_wxMenuEvent swig_types[110]
1452 #define SWIGTYPE_p_wxContextMenuEvent swig_types[111]
1453 #define SWIGTYPE_p_unsigned_char swig_types[112]
1454 #define SWIGTYPE_p_wxEraseEvent swig_types[113]
1455 #define SWIGTYPE_p_wxMouseEvent swig_types[114]
1456 #define SWIGTYPE_p_wxCloseEvent swig_types[115]
1457 #define SWIGTYPE_p_wxPyApp swig_types[116]
1458 #define SWIGTYPE_p_wxCommandEvent swig_types[117]
1459 #define SWIGTYPE_p_wxPyCommandEvent swig_types[118]
1460 #define SWIGTYPE_p_wxPyDropTarget swig_types[119]
1461 #define SWIGTYPE_p_wxQuantize swig_types[120]
1462 #define SWIGTYPE_p_wxFocusEvent swig_types[121]
1463 #define SWIGTYPE_p_wxChildFocusEvent swig_types[122]
1464 #define SWIGTYPE_p_wxDropFilesEvent swig_types[123]
1465 #define SWIGTYPE_p_wxControlWithItems swig_types[124]
1466 #define SWIGTYPE_p_wxColour swig_types[125]
1467 #define SWIGTYPE_p_wxValidator swig_types[126]
1468 #define SWIGTYPE_p_wxPyValidator swig_types[127]
1469 static swig_type_info
*swig_types
[129];
1471 /* -------- TYPES TABLE (END) -------- */
1474 /*-----------------------------------------------
1475 @(target):= __core.so
1476 ------------------------------------------------*/
1477 #define SWIG_init init__core
1479 #define SWIG_name "__core"
1481 #include "wx/wxPython/wxPython_int.h"
1482 #include "wx/wxPython/pyclasses.h"
1485 #ifndef wxPyUSE_EXPORT
1486 // Helper functions for dealing with SWIG objects and such. These are
1487 // located here so they know about the SWIG types and functions declared
1488 // in the wrapper code.
1490 #include <wx/hashmap.h>
1491 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
1494 // Maintains a hashmap of className to swig_type_info pointers. Given the
1495 // name of a class either looks up the type info in the cache, or scans the
1496 // SWIG tables for it.
1497 extern PyObject
* wxPyPtrTypeMap
;
1499 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
1501 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
1503 if (typeInfoCache
== NULL
)
1504 typeInfoCache
= new wxPyTypeInfoHashMap
;
1506 wxString
name(className
);
1507 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
1510 // it wasn't in the cache, so look it up from SWIG
1511 name
.Append(wxT(" *"));
1512 swigType
= SWIG_TypeQuery(name
.mb_str());
1514 // if it still wasn't found, try looking for a mapped name
1519 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
1520 (char*)(const char*)name
.mbc_str())) != NULL
) {
1521 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
1522 name
.Append(wxT(" *"));
1523 swigType
= SWIG_TypeQuery(name
.mb_str());
1527 // and add it to the map if found
1528 (*typeInfoCache
)[className
] = swigType
;
1535 // Check if a class name is a type known to SWIG
1536 bool wxPyCheckSwigType(const wxChar
* className
) {
1538 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1539 return swigType
!= NULL
;
1543 // Given a pointer to a C++ object and a class name, construct a Python proxy
1545 PyObject
* wxPyConstructObject(void* ptr
,
1546 const wxChar
* className
,
1549 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1550 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
1552 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
1556 // Extract a pointer to the wrapped C++ object from a Python proxy object.
1557 // Ensures that the proxy object is of the specified (or derived) type. If
1558 // not able to perform the conversion then a Python exception is set and the
1559 // error should be handled properly in the caller. Returns True on success.
1560 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
1561 const wxChar
* className
) {
1563 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1564 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
1566 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
1570 // Make a SWIGified pointer object suitable for a .this attribute
1571 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
1573 PyObject
* robj
= NULL
;
1575 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1576 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
1578 #ifdef SWIG_COBJECT_TYPES
1579 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)swigType
->name
);
1583 robj
= SWIG_PackVoidPtr(result
, ptr
, swigType
->name
, sizeof(result
)) ?
1584 PyString_FromString(result
) : 0;
1594 // Export a C API in a struct. Other modules will be able to load this from
1595 // the wx._core_ module and will then have safe access to these functions,
1596 // even if they are located in another shared library.
1597 static wxPyCoreAPI API
= {
1600 wxPyConstructObject
,
1604 wxPyBeginAllowThreads
,
1605 wxPyEndAllowThreads
,
1606 wxPyBeginBlockThreads
,
1607 wxPyEndBlockThreads
,
1619 wxPoint_LIST_helper
,
1620 wxBitmap_LIST_helper
,
1621 wxString_LIST_helper
,
1622 wxAcceleratorEntry_LIST_helper
,
1631 wxPySimple_typecheck
,
1634 wxPyCBH_setCallbackInfo
,
1635 wxPyCBH_findCallback
,
1636 wxPyCBH_callCallback
,
1637 wxPyCBH_callCallbackObj
,
1643 wxPy2int_seq_helper
,
1644 wxPy4int_seq_helper
,
1645 wxArrayString2PyList_helper
,
1646 wxArrayInt2PyList_helper
,
1648 wxPyClientData_dtor
,
1650 wxPyOORClientData_dtor
,
1652 wxPyCBInputStream_create
,
1653 wxPyCBInputStream_copy
,
1656 wxPySwigInstance_Check
,
1665 #if !WXWIN_COMPATIBILITY_2_4
1666 #define wxHIDE_READONLY 0
1670 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1671 #define SWIG_From_int PyInt_FromLong
1676 enum wxHotkeyModifier
1684 #define wxEVT_HOTKEY 9999
1687 static const wxString
wxPyEmptyString(wxEmptyString
);
1688 static wxString
wxObject_GetClassName(wxObject
*self
){
1689 return self
->GetClassInfo()->GetClassName();
1691 static void wxObject_Destroy(wxObject
*self
){
1696 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1704 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1707 if (value
< min_value
) {
1709 PyErr_Format(PyExc_OverflowError
,
1710 "value %ld is less than '%s' minimum %ld",
1711 value
, errmsg
, min_value
);
1714 } else if (value
> max_value
) {
1716 PyErr_Format(PyExc_OverflowError
,
1717 "value %ld is greater than '%s' maximum %ld",
1718 value
, errmsg
, max_value
);
1727 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1729 if (PyNumber_Check(obj
)) {
1730 if (val
) *val
= PyInt_AsLong(obj
);
1734 SWIG_type_error("number", obj
);
1740 #if INT_MAX != LONG_MAX
1742 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1744 const char* errmsg
= val
? "int" : (char*)0;
1746 if (SWIG_AsVal_long(obj
, &v
)) {
1747 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1748 if (val
) *val
= (int)(v
);
1757 SWIG_type_error(errmsg
, obj
);
1763 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1765 return SWIG_AsVal_long(obj
,(long*)val
);
1771 SWIG_As_int(PyObject
* obj
)
1774 if (!SWIG_AsVal_int(obj
, &v
)) {
1776 this is needed to make valgrind/purify happier.
1778 memset((void*)&v
, 0, sizeof(int));
1785 SWIG_Check_int(PyObject
* obj
)
1787 return SWIG_AsVal_int(obj
, (int*)0);
1790 static PyObject
*wxSize_Get(wxSize
*self
){
1791 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1792 PyObject
* tup
= PyTuple_New(2);
1793 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1794 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1795 wxPyEndBlockThreads(blocked
);
1800 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1802 if (PyNumber_Check(obj
)) {
1803 if (val
) *val
= PyFloat_AsDouble(obj
);
1807 SWIG_type_error("number", obj
);
1813 SWIGINTERNSHORT
double
1814 SWIG_As_double(PyObject
* obj
)
1817 if (!SWIG_AsVal_double(obj
, &v
)) {
1819 this is needed to make valgrind/purify happier.
1821 memset((void*)&v
, 0, sizeof(double));
1828 SWIG_Check_double(PyObject
* obj
)
1830 return SWIG_AsVal_double(obj
, (double*)0);
1834 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1835 #define SWIG_From_double PyFloat_FromDouble
1838 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
1842 static PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
1843 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1844 PyObject
* tup
= PyTuple_New(2);
1845 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1846 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1847 wxPyEndBlockThreads(blocked
);
1851 SWIGINTERNSHORT
long
1852 SWIG_As_long(PyObject
* obj
)
1855 if (!SWIG_AsVal_long(obj
, &v
)) {
1857 this is needed to make valgrind/purify happier.
1859 memset((void*)&v
, 0, sizeof(long));
1866 SWIG_Check_long(PyObject
* obj
)
1868 return SWIG_AsVal_long(obj
, (long*)0);
1871 static void wxPoint_Set(wxPoint
*self
,long x
,long y
){
1875 static PyObject
*wxPoint_Get(wxPoint
*self
){
1876 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1877 PyObject
* tup
= PyTuple_New(2);
1878 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1879 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1880 wxPyEndBlockThreads(blocked
);
1883 static void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
1886 self
->width
= width
;
1887 self
->height
= height
;
1889 static PyObject
*wxRect_Get(wxRect
*self
){
1890 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1891 PyObject
* tup
= PyTuple_New(4);
1892 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1893 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1894 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
1895 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
1896 wxPyEndBlockThreads(blocked
);
1900 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
1903 wxRect
dest(0,0,0,0);
1906 reg1
.Intersect(reg2
);
1907 dest
= reg1
.GetBox();
1909 if (dest
!= wxRect(0,0,0,0)) {
1910 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1911 wxRect
* newRect
= new wxRect(dest
);
1912 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
1913 wxPyEndBlockThreads(blocked
);
1921 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1927 } else if (target
== Py_None
) {
1931 if (!PyTuple_Check(target
)) {
1933 target
= PyTuple_New(1);
1934 PyTuple_SetItem(target
, 0, o2
);
1936 o3
= PyTuple_New(1);
1937 PyTuple_SetItem(o3
, 0, o
);
1940 target
= PySequence_Concat(o2
, o3
);
1948 static void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
1952 static PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
1953 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1954 PyObject
* tup
= PyTuple_New(2);
1955 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
1956 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
1957 wxPyEndBlockThreads(blocked
);
1961 #include "wx/wxPython/pyistream.h"
1963 static wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
1964 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
1966 return new wxPyInputStream(wxis
);
1971 SWIGINTERNSHORT PyObject
*
1972 SWIG_From_char(char c
)
1974 return PyString_FromStringAndSize(&c
,1);
1978 SWIGINTERNSHORT PyObject
*
1979 SWIG_From_unsigned_SS_long(unsigned long value
)
1981 return (value
> LONG_MAX
) ?
1982 PyLong_FromUnsignedLong(value
)
1983 : PyInt_FromLong((long)(value
));
1987 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1989 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
1991 static swig_type_info
* pchar_info
= 0;
1993 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
1994 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
1995 if (cptr
) *cptr
= vptr
;
1996 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
2000 if (PyString_Check(obj
)) {
2002 *cptr
= PyString_AS_STRING(obj
);
2004 *psize
= PyString_GET_SIZE(obj
) + 1;
2011 SWIG_type_error("char *", obj
);
2018 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
2020 char* cptr
; size_t csize
;
2021 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
2024 char x[5] = "hello";
2026 ie, assing the array using an extra '0' char.
2028 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
2029 if (csize
<= size
) {
2031 if (csize
) memcpy(val
, cptr
, csize
);
2032 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
2038 PyErr_Format(PyExc_TypeError
,
2039 "a char array of maximum size %lu is expected",
2040 (unsigned long) size
);
2047 SWIG_AsVal_char(PyObject
*obj
, char *val
)
2049 const char* errmsg
= val
? "char" : (char*)0;
2051 if (SWIG_AsVal_long(obj
, &v
)) {
2052 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
2053 if (val
) *val
= (char)(v
);
2060 return SWIG_AsCharArray(obj
, val
, 1);
2065 SWIGINTERNSHORT
char
2066 SWIG_As_char(PyObject
* obj
)
2069 if (!SWIG_AsVal_char(obj
, &v
)) {
2071 this is needed to make valgrind/purify happier.
2073 memset((void*)&v
, 0, sizeof(char));
2080 SWIG_Check_char(PyObject
* obj
)
2082 return SWIG_AsVal_char(obj
, (char*)0);
2086 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2087 #define SWIG_From_long PyInt_FromLong
2090 static void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
2091 // We use only strings for the streams, not unicode
2092 PyObject
* str
= PyObject_Str(obj
);
2094 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
2097 self
->Write(PyString_AS_STRING(str
),
2098 PyString_GET_SIZE(str
));
2102 #include "wx/wxPython/pyistream.h"
2105 class wxPyFileSystemHandler
: public wxFileSystemHandler
2108 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2110 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
2111 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
2112 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
2113 DEC_PYCALLBACK_STRING__pure(FindNext
);
2115 wxString
GetProtocol(const wxString
& location
) {
2116 return wxFileSystemHandler::GetProtocol(location
);
2119 wxString
GetLeftLocation(const wxString
& location
) {
2120 return wxFileSystemHandler::GetLeftLocation(location
);
2123 wxString
GetAnchor(const wxString
& location
) {
2124 return wxFileSystemHandler::GetAnchor(location
);
2127 wxString
GetRightLocation(const wxString
& location
) {
2128 return wxFileSystemHandler::GetRightLocation(location
);
2131 wxString
GetMimeTypeFromExt(const wxString
& location
) {
2132 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
2139 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
2140 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
2141 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
2142 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
2146 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2148 if (obj
== Py_True
) {
2149 if (val
) *val
= true;
2152 if (obj
== Py_False
) {
2153 if (val
) *val
= false;
2157 if (SWIG_AsVal_int(obj
, &res
)) {
2158 if (val
) *val
= res
? true : false;
2164 SWIG_type_error("bool", obj
);
2170 SWIGINTERNSHORT
bool
2171 SWIG_As_bool(PyObject
* obj
)
2174 if (!SWIG_AsVal_bool(obj
, &v
)) {
2176 this is needed to make valgrind/purify happier.
2178 memset((void*)&v
, 0, sizeof(bool));
2185 SWIG_Check_bool(PyObject
* obj
)
2187 return SWIG_AsVal_bool(obj
, (bool*)0);
2190 static wxString
wxFileSystem_URLToFileName(wxString
const &url
){
2191 wxFileName fname
= wxFileSystem::URLToFileName(url
);
2192 return fname
.GetFullPath();
2195 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
2198 wxMemoryFSHandler::AddFile(filename
, image
, type
);
2201 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
2202 const wxBitmap
& bitmap
,
2204 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
2207 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
2209 if (! PyString_Check(data
)) {
2210 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2211 "Expected string object"));
2215 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2216 void* ptr
= (void*)PyString_AsString(data
);
2217 size_t size
= PyString_Size(data
);
2218 wxPyEndBlockThreads(blocked
);
2220 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
2224 #include "wx/wxPython/pyistream.h"
2228 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2231 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2232 SWIG_type_error("unsigned number", obj
);
2235 *val
= (unsigned long)v
;
2241 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2242 unsigned long max_value
,
2245 if (value
> max_value
) {
2247 PyErr_Format(PyExc_OverflowError
,
2248 "value %lu is greater than '%s' minimum %lu",
2249 value
, errmsg
, max_value
);
2258 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
2260 const char* errmsg
= val
? "unsigned char" : (char*)0;
2262 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2263 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
2264 if (val
) *val
= (unsigned char)(v
);
2273 SWIG_type_error(errmsg
, obj
);
2279 SWIGINTERNSHORT
unsigned char
2280 SWIG_As_unsigned_SS_char(PyObject
* obj
)
2283 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
2285 this is needed to make valgrind/purify happier.
2287 memset((void*)&v
, 0, sizeof(unsigned char));
2294 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
2296 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
2300 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2301 #define SWIG_From_unsigned_SS_char PyInt_FromLong
2306 SWIGINTERNSHORT
unsigned long
2307 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2310 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2312 this is needed to make valgrind/purify happier.
2314 memset((void*)&v
, 0, sizeof(unsigned long));
2321 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2323 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2326 static unsigned long wxImageHistogram_GetCount(wxImageHistogram
*self
,unsigned long key
){
2327 wxImageHistogramEntry e
= (*self
)[key
];
2330 static unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram
*self
,unsigned char r
,unsigned char g
,unsigned char b
){
2331 unsigned long key
= wxImageHistogram::MakeKey(r
, g
, b
);
2332 wxImageHistogramEntry e
= (*self
)[key
];
2335 static unsigned long wxImageHistogram_GetCountColour(wxImageHistogram
*self
,wxColour
const &colour
){
2336 unsigned long key
= wxImageHistogram::MakeKey(colour
.Red(),
2339 wxImageHistogramEntry e
= (*self
)[key
];
2343 typedef unsigned char* buffer
;
2345 static wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
2346 if (width
> 0 && height
> 0)
2347 return new wxImage(width
, height
, clear
);
2351 static wxImage
*new_wxImage(wxBitmap
const &bitmap
){
2352 return new wxImage(bitmap
.ConvertToImage());
2354 static wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
){
2355 if (DATASIZE
!= width
*height
*3) {
2356 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2360 // Copy the source data so the wxImage can clean it up later
2361 buffer copy
= (buffer
)malloc(DATASIZE
);
2363 wxPyBLOCK_THREADS(PyErr_NoMemory());
2366 memcpy(copy
, data
, DATASIZE
);
2367 return new wxImage(width
, height
, copy
, false);
2369 static wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
,buffer alpha
,int ALPHASIZE
){
2370 if (DATASIZE
!= width
*height
*3) {
2371 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2374 if (ALPHASIZE
!= width
*height
) {
2375 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2379 // Copy the source data so the wxImage can clean it up later
2380 buffer dcopy
= (buffer
)malloc(DATASIZE
);
2381 if (dcopy
== NULL
) {
2382 wxPyBLOCK_THREADS(PyErr_NoMemory());
2385 memcpy(dcopy
, data
, DATASIZE
);
2387 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2388 if (acopy
== NULL
) {
2389 wxPyBLOCK_THREADS(PyErr_NoMemory());
2392 memcpy(acopy
, alpha
, ALPHASIZE
);
2394 return new wxImage(width
, height
, dcopy
, acopy
, false);
2396 static wxSize
wxImage_GetSize(wxImage
*self
){
2397 wxSize
size(self
->GetWidth(), self
->GetHeight());
2400 static PyObject
*wxImage_GetData(wxImage
*self
){
2401 buffer data
= self
->GetData();
2402 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2404 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
2407 static void wxImage_SetData(wxImage
*self
,buffer data
,int DATASIZE
){
2408 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
2409 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2412 buffer copy
= (buffer
)malloc(DATASIZE
);
2414 wxPyBLOCK_THREADS(PyErr_NoMemory());
2417 memcpy(copy
, data
, DATASIZE
);
2418 self
->SetData(copy
, false);
2419 // wxImage takes ownership of copy...
2421 static PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
2422 buffer data
= self
->GetData();
2423 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2425 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2428 static void wxImage_SetDataBuffer(wxImage
*self
,buffer data
,int DATASIZE
){
2429 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
2430 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2433 self
->SetData(data
, true);
2435 static PyObject
*wxImage_GetAlphaData(wxImage
*self
){
2436 buffer data
= self
->GetAlpha();
2440 int len
= self
->GetWidth() * self
->GetHeight();
2442 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
2446 static void wxImage_SetAlphaData(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
2447 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
2448 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2451 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2452 if (acopy
== NULL
) {
2453 wxPyBLOCK_THREADS(PyErr_NoMemory());
2456 memcpy(acopy
, alpha
, ALPHASIZE
);
2457 self
->SetAlpha(acopy
, false);
2458 // wxImage takes ownership of acopy...
2460 static PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
2461 buffer data
= self
->GetAlpha();
2462 int len
= self
->GetWidth() * self
->GetHeight();
2464 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2467 static void wxImage_SetAlphaBuffer(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
2468 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
2469 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2472 self
->SetAlpha(alpha
, true);
2474 static wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
2475 wxBitmap
bitmap(*self
, depth
);
2478 static wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
2479 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
2480 wxBitmap
bitmap( mono
, 1 );
2483 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
2484 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
2485 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
2486 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
2487 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
2488 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
2489 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
2490 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
2491 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
2492 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
2493 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
2494 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
2495 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
2496 static const wxString
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);
2497 static const wxString
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);
2499 #include <wx/quantize.h>
2501 static bool wxQuantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
2502 return wxQuantize::Quantize(src
, dest
,
2505 NULL
, // eightBitData
2508 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
2509 if (PyCallable_Check(func
)) {
2510 self
->Connect(id
, lastId
, eventType
,
2511 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
2512 new wxPyCallback(func
));
2514 else if (func
== Py_None
) {
2515 self
->Disconnect(id
, lastId
, eventType
,
2516 (wxObjectEventFunction
)
2517 &wxPyCallback::EventThunker
);
2521 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
2524 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
2525 return self
->Disconnect(id
, lastId
, eventType
,
2526 (wxObjectEventFunction
)
2527 &wxPyCallback::EventThunker
);
2529 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
2530 if (_self
&& _self
!= Py_None
) {
2531 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
2534 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
2536 self
->SetClientObject(NULL
); // This will delete it too
2541 static int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
2543 return self
->GetUnicodeKey();
2549 #if UINT_MAX < LONG_MAX
2550 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2551 #define SWIG_From_unsigned_SS_int SWIG_From_long
2554 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2555 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2560 #if UINT_MAX != ULONG_MAX
2562 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2564 const char* errmsg
= val
? "unsigned int" : (char*)0;
2566 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2567 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2568 if (val
) *val
= (unsigned int)(v
);
2575 SWIG_type_error(errmsg
, obj
);
2580 SWIGINTERNSHORT
unsigned int
2581 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2583 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2588 SWIGINTERNSHORT
unsigned int
2589 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2592 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2594 this is needed to make valgrind/purify happier.
2596 memset((void*)&v
, 0, sizeof(unsigned int));
2603 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2605 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2608 static void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
2609 self
->m_size
= size
;
2611 static PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
2612 int count
= self
->GetNumberOfFiles();
2613 wxString
* files
= self
->GetFiles();
2614 PyObject
* list
= PyList_New(count
);
2617 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2621 for (int i
=0; i
<count
; i
++) {
2622 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
2628 static wxPyApp
*new_wxPyApp(){
2629 wxPythonApp
= new wxPyApp();
2632 static int wxPyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
2634 void wxApp_CleanUp() {
2639 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2643 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2645 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2650 SWIG_type_error("char *", obj
);
2656 SWIGINTERN PyObject
*
2657 SWIG_FromCharPtr(const char* cptr
)
2660 size_t size
= strlen(cptr
);
2661 if (size
> INT_MAX
) {
2662 return SWIG_NewPointerObj((char*)(cptr
),
2663 SWIG_TypeQuery("char *"), 0);
2666 return PyString_FromStringAndSize(cptr
, size
);
2668 return PyString_FromString(cptr
);
2679 // A dummy class that raises an exception if used...
2683 wxEventLoop() { wxPyRaiseNotImplemented(); }
2684 int Run() { return 0; }
2685 void Exit(int rc
= 0) {}
2686 bool Pending() const { return false; }
2687 bool Dispatch() { return false; }
2688 bool IsRunning() const { return false; }
2689 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2690 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2695 #include <wx/evtloop.h>
2701 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2702 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2703 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2704 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2705 wxWindowList
& list
= self
->GetChildren();
2706 return wxPy_ConvertList(&list
);
2708 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2710 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2715 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2722 static long wxWindow_GetHandle(wxWindow
*self
){
2723 return wxPyGetWinHandle(self
);
2725 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2726 self
->AssociateHandle((WXWidget
)handle
);
2729 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2730 return wxWindow::FindWindowById(id
, parent
);
2733 wxWindow
* wxFindWindowByName( const wxString
& name
,
2734 const wxWindow
*parent
= NULL
) {
2735 return wxWindow::FindWindowByName(name
, parent
);
2738 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2739 const wxWindow
*parent
= NULL
) {
2740 return wxWindow::FindWindowByLabel(label
, parent
);
2745 #include <wx/msw/private.h> // to get wxGetWindowId
2749 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2751 WXHWND hWnd
= (WXHWND
)_hWnd
;
2752 long id
= wxGetWindowId(hWnd
);
2753 wxWindow
* win
= new wxWindow
;
2754 parent
->AddChild(win
);
2755 win
->SetEventHandler(win
);
2758 win
->SubclassWin(hWnd
);
2759 win
->AdoptAttributesFromHWND();
2760 win
->SetupColours();
2763 wxPyRaiseNotImplemented();
2769 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2770 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2771 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2773 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2775 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2776 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2777 wxMenuItemList
& list
= self
->GetMenuItems();
2778 return wxPy_ConvertList(&list
);
2780 static void wxMenuItem_SetFont(wxMenuItem
*self
,wxFont
const &font
){}
2781 static wxFont
wxMenuItem_GetFont(wxMenuItem
*self
){ return wxNullFont
; }
2782 static void wxMenuItem_SetTextColour(wxMenuItem
*self
,wxColour
const &colText
){}
2783 static wxColour
wxMenuItem_GetTextColour(wxMenuItem
*self
){ return wxNullColour
; }
2784 static void wxMenuItem_SetBackgroundColour(wxMenuItem
*self
,wxColour
const &colBack
){}
2785 static wxColour
wxMenuItem_GetBackgroundColour(wxMenuItem
*self
){ return wxNullColour
; }
2786 static void wxMenuItem_SetBitmaps(wxMenuItem
*self
,wxBitmap
const &bmpChecked
,wxBitmap
const &bmpUnchecked
=wxNullBitmap
){}
2787 static void wxMenuItem_SetDisabledBitmap(wxMenuItem
*self
,wxBitmap
const &bmpDisabled
){}
2788 static wxBitmap
const &wxMenuItem_GetDisabledBitmap(wxMenuItem
const *self
){ return wxNullBitmap
; }
2789 static void wxMenuItem_SetMarginWidth(wxMenuItem
*self
,int nWidth
){}
2790 static int wxMenuItem_GetMarginWidth(wxMenuItem
*self
){ return 0; }
2791 static int wxMenuItem_GetDefaultMarginWidth(){ return 0; }
2792 static bool wxMenuItem_IsOwnerDrawn(wxMenuItem
*self
){ return false; }
2793 static void wxMenuItem_SetOwnerDrawn(wxMenuItem
*self
,bool ownerDrawn
=true){}
2794 static void wxMenuItem_ResetOwnerDrawn(wxMenuItem
*self
){}
2795 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2796 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2798 wxPyClientData
* data
= new wxPyClientData(clientData
);
2799 return self
->Append(item
, data
);
2801 return self
->Append(item
);
2803 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2805 wxPyClientData
* data
= new wxPyClientData(clientData
);
2806 return self
->Insert(item
, pos
, data
);
2808 return self
->Insert(item
, pos
);
2810 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2811 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2813 Py_INCREF(data
->m_obj
);
2820 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2821 wxPyClientData
* data
= new wxPyClientData(clientData
);
2822 self
->SetClientObject(n
, data
);
2826 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2827 wxPyUserData
* data
= NULL
;
2829 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2830 data
= new wxPyUserData(userData
);
2831 wxPyEndBlockThreads(blocked
);
2833 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2835 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2836 wxPyUserData
* data
= NULL
;
2838 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2839 data
= new wxPyUserData(userData
);
2840 wxPyEndBlockThreads(blocked
);
2842 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2844 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2845 wxPyUserData
* data
= NULL
;
2847 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2848 data
= new wxPyUserData(userData
);
2849 wxPyEndBlockThreads(blocked
);
2851 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2856 SWIG_CheckDoubleInRange(double value
, double min_value
,
2857 double max_value
, const char* errmsg
)
2859 if (value
< min_value
) {
2861 PyErr_Format(PyExc_OverflowError
,
2862 "value %g is less than %s minimum %g",
2863 value
, errmsg
, min_value
);
2866 } else if (value
> max_value
) {
2868 PyErr_Format(PyExc_OverflowError
,
2869 "value %g is greater than %s maximum %g",
2870 value
, errmsg
, max_value
);
2879 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2881 const char* errmsg
= val
? "float" : (char*)0;
2883 if (SWIG_AsVal_double(obj
, &v
)) {
2884 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2885 if (val
) *val
= (float)(v
);
2894 SWIG_type_error(errmsg
, obj
);
2900 SWIGINTERNSHORT
float
2901 SWIG_As_float(PyObject
* obj
)
2904 if (!SWIG_AsVal_float(obj
, &v
)) {
2906 this is needed to make valgrind/purify happier.
2908 memset((void*)&v
, 0, sizeof(float));
2915 SWIG_Check_float(PyObject
* obj
)
2917 return SWIG_AsVal_float(obj
, (float*)0);
2921 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2922 #define SWIG_From_float PyFloat_FromDouble
2925 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2926 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2928 Py_INCREF(data
->m_obj
);
2936 // Figure out the type of the sizer item
2938 struct wxPySizerItemInfo
{
2940 : window(NULL
), sizer(NULL
), gotSize(false),
2941 size(wxDefaultSize
), gotPos(false), pos(-1)
2952 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2954 wxPySizerItemInfo info
;
2956 wxSize
* sizePtr
= &size
;
2958 // Find out what the type of the item is
2960 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2965 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2969 // try wxSize or (w,h)
2970 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2971 info
.size
= *sizePtr
;
2972 info
.gotSize
= true;
2976 if (checkIdx
&& PyInt_Check(item
)) {
2977 info
.pos
= PyInt_AsLong(item
);
2983 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2984 // no expected type, figure out what kind of error message to generate
2985 if ( !checkSize
&& !checkIdx
)
2986 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2987 else if ( checkSize
&& !checkIdx
)
2988 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2989 else if ( !checkSize
&& checkIdx
)
2990 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
2992 // can this one happen?
2993 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
2999 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
3000 if (!self
->GetClientObject())
3001 self
->SetClientObject(new wxPyOORClientData(_self
));
3003 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3005 wxPyUserData
* data
= NULL
;
3006 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3007 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3008 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3009 data
= new wxPyUserData(userData
);
3010 wxPyEndBlockThreads(blocked
);
3012 // Now call the real Add method if a valid item type was found
3014 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
3015 else if ( info
.sizer
)
3016 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
3017 else if (info
.gotSize
)
3018 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3019 proportion
, flag
, border
, data
);
3023 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3025 wxPyUserData
* data
= NULL
;
3026 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3027 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3028 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3029 data
= new wxPyUserData(userData
);
3030 wxPyEndBlockThreads(blocked
);
3032 // Now call the real Insert method if a valid item type was found
3034 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
3035 else if ( info
.sizer
)
3036 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
3037 else if (info
.gotSize
)
3038 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
3039 proportion
, flag
, border
, data
);
3043 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3045 wxPyUserData
* data
= NULL
;
3046 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3047 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3048 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3049 data
= new wxPyUserData(userData
);
3050 wxPyEndBlockThreads(blocked
);
3052 // Now call the real Prepend method if a valid item type was found
3054 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3055 else if ( info
.sizer
)
3056 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3057 else if (info
.gotSize
)
3058 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3059 proportion
, flag
, border
, data
);
3063 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3064 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3065 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3066 wxPyEndBlockThreads(blocked
);
3068 return self
->Remove(info
.window
);
3069 else if ( info
.sizer
)
3070 return self
->Remove(info
.sizer
);
3071 else if ( info
.gotPos
)
3072 return self
->Remove(info
.pos
);
3076 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3077 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3078 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3079 wxPyEndBlockThreads(blocked
);
3081 return self
->Detach(info
.window
);
3082 else if ( info
.sizer
)
3083 return self
->Detach(info
.sizer
);
3084 else if ( info
.gotPos
)
3085 return self
->Detach(info
.pos
);
3089 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3090 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3091 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3092 wxPyEndBlockThreads(blocked
);
3094 return self
->GetItem(info
.window
);
3095 else if ( info
.sizer
)
3096 return self
->GetItem(info
.sizer
);
3097 else if ( info
.gotPos
)
3098 return self
->GetItem(info
.pos
);
3102 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3103 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3104 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3105 wxPyEndBlockThreads(blocked
);
3107 self
->SetItemMinSize(info
.window
, size
);
3108 else if ( info
.sizer
)
3109 self
->SetItemMinSize(info
.sizer
, size
);
3110 else if ( info
.gotPos
)
3111 self
->SetItemMinSize(info
.pos
, size
);
3113 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3114 wxSizerItemList
& list
= self
->GetChildren();
3115 return wxPy_ConvertList(&list
);
3117 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3118 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3119 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3120 wxPyEndBlockThreads(blocked
);
3122 return self
->Show(info
.window
, show
, recursive
);
3123 else if ( info
.sizer
)
3124 return self
->Show(info
.sizer
, show
, recursive
);
3125 else if ( info
.gotPos
)
3126 return self
->Show(info
.pos
, show
);
3130 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3131 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3132 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3133 wxPyEndBlockThreads(blocked
);
3135 return self
->IsShown(info
.window
);
3136 else if ( info
.sizer
)
3137 return self
->IsShown(info
.sizer
);
3138 else if ( info
.gotPos
)
3139 return self
->IsShown(info
.pos
);
3145 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3146 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3147 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3152 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3154 if (source
== Py_None
) {
3155 **obj
= wxGBPosition(-1,-1);
3158 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3161 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3163 if (source
== Py_None
) {
3164 **obj
= wxGBSpan(-1,-1);
3167 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3171 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3175 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3176 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3177 PyObject
* tup
= PyTuple_New(2);
3178 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3179 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3180 wxPyEndBlockThreads(blocked
);
3183 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3184 self
->SetRowspan(rowspan
);
3185 self
->SetColspan(colspan
);
3187 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3188 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3189 PyObject
* tup
= PyTuple_New(2);
3190 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3191 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3192 wxPyEndBlockThreads(blocked
);
3195 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3196 wxPyUserData
* data
= NULL
;
3198 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3199 data
= new wxPyUserData(userData
);
3200 wxPyEndBlockThreads(blocked
);
3202 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3204 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3205 wxPyUserData
* data
= NULL
;
3207 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3208 data
= new wxPyUserData(userData
);
3209 wxPyEndBlockThreads(blocked
);
3211 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3213 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3214 wxPyUserData
* data
= NULL
;
3216 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3217 data
= new wxPyUserData(userData
);
3218 wxPyEndBlockThreads(blocked
);
3220 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3222 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3224 self
->GetEndPos(row
, col
);
3225 return wxGBPosition(row
, col
);
3227 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3229 wxPyUserData
* data
= NULL
;
3230 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3231 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3232 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3233 data
= new wxPyUserData(userData
);
3234 wxPyEndBlockThreads(blocked
);
3236 // Now call the real Add method if a valid item type was found
3238 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3239 else if ( info
.sizer
)
3240 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3241 else if (info
.gotSize
)
3242 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3243 pos
, span
, flag
, border
, data
);
3251 static int _wrap_EmptyString_set(PyObject
*) {
3252 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3257 static PyObject
*_wrap_EmptyString_get(void) {
3262 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3264 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3271 static PyObject
*_wrap_wxObject_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3272 PyObject
*resultobj
;
3273 wxObject
*arg1
= (wxObject
*) 0 ;
3275 PyObject
* obj0
= 0 ;
3277 (char *) "self", NULL
3280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxObject_GetClassName",kwnames
,&obj0
)) goto fail
;
3281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3282 if (SWIG_arg_fail(1)) SWIG_fail
;
3284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3285 result
= wxObject_GetClassName(arg1
);
3287 wxPyEndAllowThreads(__tstate
);
3288 if (PyErr_Occurred()) SWIG_fail
;
3292 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3294 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3303 static PyObject
*_wrap_wxObject_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3304 PyObject
*resultobj
;
3305 wxObject
*arg1
= (wxObject
*) 0 ;
3306 PyObject
* obj0
= 0 ;
3308 (char *) "self", NULL
3311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxObject_Destroy",kwnames
,&obj0
)) goto fail
;
3312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3313 if (SWIG_arg_fail(1)) SWIG_fail
;
3315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3316 wxObject_Destroy(arg1
);
3318 wxPyEndAllowThreads(__tstate
);
3319 if (PyErr_Occurred()) SWIG_fail
;
3321 Py_INCREF(Py_None
); resultobj
= Py_None
;
3328 static PyObject
* wxObject_swigregister(PyObject
*, PyObject
*args
) {
3330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3331 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3333 return Py_BuildValue((char *)"");
3335 static PyObject
*_wrap_wxSize_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3336 PyObject
*resultobj
;
3337 wxSize
*arg1
= (wxSize
*) 0 ;
3339 PyObject
* obj0
= 0 ;
3340 PyObject
* obj1
= 0 ;
3342 (char *) "self",(char *) "x", NULL
3345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSize_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3347 if (SWIG_arg_fail(1)) SWIG_fail
;
3349 arg2
= (int)(SWIG_As_int(obj1
));
3350 if (SWIG_arg_fail(2)) SWIG_fail
;
3352 if (arg1
) (arg1
)->x
= arg2
;
3354 Py_INCREF(Py_None
); resultobj
= Py_None
;
3361 static PyObject
*_wrap_wxSize_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
*resultobj
;
3363 wxSize
*arg1
= (wxSize
*) 0 ;
3365 PyObject
* obj0
= 0 ;
3367 (char *) "self", NULL
3370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSize_width_get",kwnames
,&obj0
)) goto fail
;
3371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3372 if (SWIG_arg_fail(1)) SWIG_fail
;
3373 result
= (int) ((arg1
)->x
);
3376 resultobj
= SWIG_From_int((int)(result
));
3384 static PyObject
*_wrap_wxSize_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3385 PyObject
*resultobj
;
3386 wxSize
*arg1
= (wxSize
*) 0 ;
3388 PyObject
* obj0
= 0 ;
3389 PyObject
* obj1
= 0 ;
3391 (char *) "self",(char *) "y", NULL
3394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSize_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3396 if (SWIG_arg_fail(1)) SWIG_fail
;
3398 arg2
= (int)(SWIG_As_int(obj1
));
3399 if (SWIG_arg_fail(2)) SWIG_fail
;
3401 if (arg1
) (arg1
)->y
= arg2
;
3403 Py_INCREF(Py_None
); resultobj
= Py_None
;
3410 static PyObject
*_wrap_wxSize_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3411 PyObject
*resultobj
;
3412 wxSize
*arg1
= (wxSize
*) 0 ;
3414 PyObject
* obj0
= 0 ;
3416 (char *) "self", NULL
3419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSize_height_get",kwnames
,&obj0
)) goto fail
;
3420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3421 if (SWIG_arg_fail(1)) SWIG_fail
;
3422 result
= (int) ((arg1
)->y
);
3425 resultobj
= SWIG_From_int((int)(result
));
3433 static PyObject
*_wrap_new_wxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3434 PyObject
*resultobj
;
3435 int arg1
= (int) 0 ;
3436 int arg2
= (int) 0 ;
3438 PyObject
* obj0
= 0 ;
3439 PyObject
* obj1
= 0 ;
3441 (char *) "w",(char *) "h", NULL
3444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_wxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3447 arg1
= (int)(SWIG_As_int(obj0
));
3448 if (SWIG_arg_fail(1)) SWIG_fail
;
3453 arg2
= (int)(SWIG_As_int(obj1
));
3454 if (SWIG_arg_fail(2)) SWIG_fail
;
3458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3459 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3461 wxPyEndAllowThreads(__tstate
);
3462 if (PyErr_Occurred()) SWIG_fail
;
3464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3471 static PyObject
*_wrap_delete_wxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3472 PyObject
*resultobj
;
3473 wxSize
*arg1
= (wxSize
*) 0 ;
3474 PyObject
* obj0
= 0 ;
3476 (char *) "self", NULL
3479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_wxSize",kwnames
,&obj0
)) goto fail
;
3480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3481 if (SWIG_arg_fail(1)) SWIG_fail
;
3483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3486 wxPyEndAllowThreads(__tstate
);
3487 if (PyErr_Occurred()) SWIG_fail
;
3489 Py_INCREF(Py_None
); resultobj
= Py_None
;
3496 static PyObject
*_wrap_wxSize___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3497 PyObject
*resultobj
;
3498 wxSize
*arg1
= (wxSize
*) 0 ;
3502 PyObject
* obj0
= 0 ;
3503 PyObject
* obj1
= 0 ;
3505 (char *) "self",(char *) "sz", NULL
3508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSize___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3510 if (SWIG_arg_fail(1)) SWIG_fail
;
3513 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3517 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3519 wxPyEndAllowThreads(__tstate
);
3520 if (PyErr_Occurred()) SWIG_fail
;
3523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3531 static PyObject
*_wrap_wxSize___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3532 PyObject
*resultobj
;
3533 wxSize
*arg1
= (wxSize
*) 0 ;
3537 PyObject
* obj0
= 0 ;
3538 PyObject
* obj1
= 0 ;
3540 (char *) "self",(char *) "sz", NULL
3543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSize___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3545 if (SWIG_arg_fail(1)) SWIG_fail
;
3548 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3552 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3554 wxPyEndAllowThreads(__tstate
);
3555 if (PyErr_Occurred()) SWIG_fail
;
3558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3566 static PyObject
*_wrap_wxSize___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3567 PyObject
*resultobj
;
3568 wxSize
*arg1
= (wxSize
*) 0 ;
3572 PyObject
* obj0
= 0 ;
3573 PyObject
* obj1
= 0 ;
3575 (char *) "self",(char *) "sz", NULL
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSize___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3580 if (SWIG_arg_fail(1)) SWIG_fail
;
3583 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3587 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3589 wxPyEndAllowThreads(__tstate
);
3590 if (PyErr_Occurred()) SWIG_fail
;
3594 resultptr
= new wxSize((wxSize
&)(result
));
3595 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3603 static PyObject
*_wrap_wxSize___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3604 PyObject
*resultobj
;
3605 wxSize
*arg1
= (wxSize
*) 0 ;
3609 PyObject
* obj0
= 0 ;
3610 PyObject
* obj1
= 0 ;
3612 (char *) "self",(char *) "sz", NULL
3615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSize___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3617 if (SWIG_arg_fail(1)) SWIG_fail
;
3620 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3624 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3626 wxPyEndAllowThreads(__tstate
);
3627 if (PyErr_Occurred()) SWIG_fail
;
3631 resultptr
= new wxSize((wxSize
&)(result
));
3632 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3640 static PyObject
*_wrap_wxSize_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3641 PyObject
*resultobj
;
3642 wxSize
*arg1
= (wxSize
*) 0 ;
3645 PyObject
* obj0
= 0 ;
3646 PyObject
* obj1
= 0 ;
3648 (char *) "self",(char *) "sz", NULL
3651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSize_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3653 if (SWIG_arg_fail(1)) SWIG_fail
;
3656 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3660 (arg1
)->IncTo((wxSize
const &)*arg2
);
3662 wxPyEndAllowThreads(__tstate
);
3663 if (PyErr_Occurred()) SWIG_fail
;
3665 Py_INCREF(Py_None
); resultobj
= Py_None
;
3672 static PyObject
*_wrap_wxSize_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3673 PyObject
*resultobj
;
3674 wxSize
*arg1
= (wxSize
*) 0 ;
3677 PyObject
* obj0
= 0 ;
3678 PyObject
* obj1
= 0 ;
3680 (char *) "self",(char *) "sz", NULL
3683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSize_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3685 if (SWIG_arg_fail(1)) SWIG_fail
;
3688 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3692 (arg1
)->DecTo((wxSize
const &)*arg2
);
3694 wxPyEndAllowThreads(__tstate
);
3695 if (PyErr_Occurred()) SWIG_fail
;
3697 Py_INCREF(Py_None
); resultobj
= Py_None
;
3704 static PyObject
*_wrap_wxSize_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
*resultobj
;
3706 wxSize
*arg1
= (wxSize
*) 0 ;
3709 PyObject
* obj0
= 0 ;
3710 PyObject
* obj1
= 0 ;
3711 PyObject
* obj2
= 0 ;
3713 (char *) "self",(char *) "w",(char *) "h", NULL
3716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxSize_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3718 if (SWIG_arg_fail(1)) SWIG_fail
;
3720 arg2
= (int)(SWIG_As_int(obj1
));
3721 if (SWIG_arg_fail(2)) SWIG_fail
;
3724 arg3
= (int)(SWIG_As_int(obj2
));
3725 if (SWIG_arg_fail(3)) SWIG_fail
;
3728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3729 (arg1
)->Set(arg2
,arg3
);
3731 wxPyEndAllowThreads(__tstate
);
3732 if (PyErr_Occurred()) SWIG_fail
;
3734 Py_INCREF(Py_None
); resultobj
= Py_None
;
3741 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3742 PyObject
*resultobj
;
3743 wxSize
*arg1
= (wxSize
*) 0 ;
3745 PyObject
* obj0
= 0 ;
3746 PyObject
* obj1
= 0 ;
3748 (char *) "self",(char *) "w", NULL
3751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSize_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3753 if (SWIG_arg_fail(1)) SWIG_fail
;
3755 arg2
= (int)(SWIG_As_int(obj1
));
3756 if (SWIG_arg_fail(2)) SWIG_fail
;
3759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3760 (arg1
)->SetWidth(arg2
);
3762 wxPyEndAllowThreads(__tstate
);
3763 if (PyErr_Occurred()) SWIG_fail
;
3765 Py_INCREF(Py_None
); resultobj
= Py_None
;
3772 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3773 PyObject
*resultobj
;
3774 wxSize
*arg1
= (wxSize
*) 0 ;
3776 PyObject
* obj0
= 0 ;
3777 PyObject
* obj1
= 0 ;
3779 (char *) "self",(char *) "h", NULL
3782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSize_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3784 if (SWIG_arg_fail(1)) SWIG_fail
;
3786 arg2
= (int)(SWIG_As_int(obj1
));
3787 if (SWIG_arg_fail(2)) SWIG_fail
;
3790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3791 (arg1
)->SetHeight(arg2
);
3793 wxPyEndAllowThreads(__tstate
);
3794 if (PyErr_Occurred()) SWIG_fail
;
3796 Py_INCREF(Py_None
); resultobj
= Py_None
;
3803 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3804 PyObject
*resultobj
;
3805 wxSize
*arg1
= (wxSize
*) 0 ;
3807 PyObject
* obj0
= 0 ;
3809 (char *) "self", NULL
3812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSize_GetWidth",kwnames
,&obj0
)) goto fail
;
3813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3814 if (SWIG_arg_fail(1)) SWIG_fail
;
3816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3817 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3819 wxPyEndAllowThreads(__tstate
);
3820 if (PyErr_Occurred()) SWIG_fail
;
3823 resultobj
= SWIG_From_int((int)(result
));
3831 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3832 PyObject
*resultobj
;
3833 wxSize
*arg1
= (wxSize
*) 0 ;
3835 PyObject
* obj0
= 0 ;
3837 (char *) "self", NULL
3840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSize_GetHeight",kwnames
,&obj0
)) goto fail
;
3841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3842 if (SWIG_arg_fail(1)) SWIG_fail
;
3844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3845 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3847 wxPyEndAllowThreads(__tstate
);
3848 if (PyErr_Occurred()) SWIG_fail
;
3851 resultobj
= SWIG_From_int((int)(result
));
3859 static PyObject
*_wrap_wxSize_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
*resultobj
;
3861 wxSize
*arg1
= (wxSize
*) 0 ;
3863 PyObject
* obj0
= 0 ;
3865 (char *) "self", NULL
3868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSize_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3870 if (SWIG_arg_fail(1)) SWIG_fail
;
3872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3873 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3875 wxPyEndAllowThreads(__tstate
);
3876 if (PyErr_Occurred()) SWIG_fail
;
3879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3887 static PyObject
*_wrap_wxSize_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3888 PyObject
*resultobj
;
3889 wxSize
*arg1
= (wxSize
*) 0 ;
3892 PyObject
* obj0
= 0 ;
3893 PyObject
* obj1
= 0 ;
3895 (char *) "self",(char *) "size", NULL
3898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSize_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3900 if (SWIG_arg_fail(1)) SWIG_fail
;
3903 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3907 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3909 wxPyEndAllowThreads(__tstate
);
3910 if (PyErr_Occurred()) SWIG_fail
;
3912 Py_INCREF(Py_None
); resultobj
= Py_None
;
3919 static PyObject
*_wrap_wxSize_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3920 PyObject
*resultobj
;
3921 wxSize
*arg1
= (wxSize
*) 0 ;
3923 PyObject
* obj0
= 0 ;
3925 (char *) "self", NULL
3928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSize_Get",kwnames
,&obj0
)) goto fail
;
3929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3930 if (SWIG_arg_fail(1)) SWIG_fail
;
3932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3933 result
= (PyObject
*)wxSize_Get(arg1
);
3935 wxPyEndAllowThreads(__tstate
);
3936 if (PyErr_Occurred()) SWIG_fail
;
3945 static PyObject
* wxSize_swigregister(PyObject
*, PyObject
*args
) {
3947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3948 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3950 return Py_BuildValue((char *)"");
3952 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3953 PyObject
*resultobj
;
3954 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3956 PyObject
* obj0
= 0 ;
3957 PyObject
* obj1
= 0 ;
3959 (char *) "self",(char *) "x", NULL
3962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxRealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3964 if (SWIG_arg_fail(1)) SWIG_fail
;
3966 arg2
= (double)(SWIG_As_double(obj1
));
3967 if (SWIG_arg_fail(2)) SWIG_fail
;
3969 if (arg1
) (arg1
)->x
= arg2
;
3971 Py_INCREF(Py_None
); resultobj
= Py_None
;
3978 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3979 PyObject
*resultobj
;
3980 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3982 PyObject
* obj0
= 0 ;
3984 (char *) "self", NULL
3987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxRealPoint_x_get",kwnames
,&obj0
)) goto fail
;
3988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3989 if (SWIG_arg_fail(1)) SWIG_fail
;
3990 result
= (double) ((arg1
)->x
);
3993 resultobj
= SWIG_From_double((double)(result
));
4001 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4002 PyObject
*resultobj
;
4003 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4005 PyObject
* obj0
= 0 ;
4006 PyObject
* obj1
= 0 ;
4008 (char *) "self",(char *) "y", NULL
4011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxRealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4013 if (SWIG_arg_fail(1)) SWIG_fail
;
4015 arg2
= (double)(SWIG_As_double(obj1
));
4016 if (SWIG_arg_fail(2)) SWIG_fail
;
4018 if (arg1
) (arg1
)->y
= arg2
;
4020 Py_INCREF(Py_None
); resultobj
= Py_None
;
4027 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4028 PyObject
*resultobj
;
4029 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4031 PyObject
* obj0
= 0 ;
4033 (char *) "self", NULL
4036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxRealPoint_y_get",kwnames
,&obj0
)) goto fail
;
4037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4038 if (SWIG_arg_fail(1)) SWIG_fail
;
4039 result
= (double) ((arg1
)->y
);
4042 resultobj
= SWIG_From_double((double)(result
));
4050 static PyObject
*_wrap_new_wxRealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
;
4052 double arg1
= (double) 0.0 ;
4053 double arg2
= (double) 0.0 ;
4054 wxRealPoint
*result
;
4055 PyObject
* obj0
= 0 ;
4056 PyObject
* obj1
= 0 ;
4058 (char *) "x",(char *) "y", NULL
4061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_wxRealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4064 arg1
= (double)(SWIG_As_double(obj0
));
4065 if (SWIG_arg_fail(1)) SWIG_fail
;
4070 arg2
= (double)(SWIG_As_double(obj1
));
4071 if (SWIG_arg_fail(2)) SWIG_fail
;
4075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4076 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4078 wxPyEndAllowThreads(__tstate
);
4079 if (PyErr_Occurred()) SWIG_fail
;
4081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4088 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4089 PyObject
*resultobj
;
4090 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4091 PyObject
* obj0
= 0 ;
4093 (char *) "self", NULL
4096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_wxRealPoint",kwnames
,&obj0
)) goto fail
;
4097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4098 if (SWIG_arg_fail(1)) SWIG_fail
;
4100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4103 wxPyEndAllowThreads(__tstate
);
4104 if (PyErr_Occurred()) SWIG_fail
;
4106 Py_INCREF(Py_None
); resultobj
= Py_None
;
4113 static PyObject
*_wrap_wxRealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4114 PyObject
*resultobj
;
4115 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4116 wxRealPoint
*arg2
= 0 ;
4119 PyObject
* obj0
= 0 ;
4120 PyObject
* obj1
= 0 ;
4122 (char *) "self",(char *) "pt", NULL
4125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxRealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4127 if (SWIG_arg_fail(1)) SWIG_fail
;
4130 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4134 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4136 wxPyEndAllowThreads(__tstate
);
4137 if (PyErr_Occurred()) SWIG_fail
;
4140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4148 static PyObject
*_wrap_wxRealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4149 PyObject
*resultobj
;
4150 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4151 wxRealPoint
*arg2
= 0 ;
4154 PyObject
* obj0
= 0 ;
4155 PyObject
* obj1
= 0 ;
4157 (char *) "self",(char *) "pt", NULL
4160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxRealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4162 if (SWIG_arg_fail(1)) SWIG_fail
;
4165 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4169 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4171 wxPyEndAllowThreads(__tstate
);
4172 if (PyErr_Occurred()) SWIG_fail
;
4175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4183 static PyObject
*_wrap_wxRealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4184 PyObject
*resultobj
;
4185 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4186 wxRealPoint
*arg2
= 0 ;
4189 PyObject
* obj0
= 0 ;
4190 PyObject
* obj1
= 0 ;
4192 (char *) "self",(char *) "pt", NULL
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxRealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4197 if (SWIG_arg_fail(1)) SWIG_fail
;
4200 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4204 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4206 wxPyEndAllowThreads(__tstate
);
4207 if (PyErr_Occurred()) SWIG_fail
;
4210 wxRealPoint
* resultptr
;
4211 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4212 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4220 static PyObject
*_wrap_wxRealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4221 PyObject
*resultobj
;
4222 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4223 wxRealPoint
*arg2
= 0 ;
4226 PyObject
* obj0
= 0 ;
4227 PyObject
* obj1
= 0 ;
4229 (char *) "self",(char *) "pt", NULL
4232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxRealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4234 if (SWIG_arg_fail(1)) SWIG_fail
;
4237 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4241 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4243 wxPyEndAllowThreads(__tstate
);
4244 if (PyErr_Occurred()) SWIG_fail
;
4247 wxRealPoint
* resultptr
;
4248 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4249 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4257 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4258 PyObject
*resultobj
;
4259 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4262 PyObject
* obj0
= 0 ;
4263 PyObject
* obj1
= 0 ;
4264 PyObject
* obj2
= 0 ;
4266 (char *) "self",(char *) "x",(char *) "y", NULL
4269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxRealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4271 if (SWIG_arg_fail(1)) SWIG_fail
;
4273 arg2
= (double)(SWIG_As_double(obj1
));
4274 if (SWIG_arg_fail(2)) SWIG_fail
;
4277 arg3
= (double)(SWIG_As_double(obj2
));
4278 if (SWIG_arg_fail(3)) SWIG_fail
;
4281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4282 wxRealPoint_Set(arg1
,arg2
,arg3
);
4284 wxPyEndAllowThreads(__tstate
);
4285 if (PyErr_Occurred()) SWIG_fail
;
4287 Py_INCREF(Py_None
); resultobj
= Py_None
;
4294 static PyObject
*_wrap_wxRealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
*resultobj
;
4296 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4298 PyObject
* obj0
= 0 ;
4300 (char *) "self", NULL
4303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxRealPoint_Get",kwnames
,&obj0
)) goto fail
;
4304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4305 if (SWIG_arg_fail(1)) SWIG_fail
;
4307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4308 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4310 wxPyEndAllowThreads(__tstate
);
4311 if (PyErr_Occurred()) SWIG_fail
;
4320 static PyObject
* wxRealPoint_swigregister(PyObject
*, PyObject
*args
) {
4322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4323 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4325 return Py_BuildValue((char *)"");
4327 static PyObject
*_wrap_wxPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4328 PyObject
*resultobj
;
4329 wxPoint
*arg1
= (wxPoint
*) 0 ;
4331 PyObject
* obj0
= 0 ;
4332 PyObject
* obj1
= 0 ;
4334 (char *) "self",(char *) "x", NULL
4337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4339 if (SWIG_arg_fail(1)) SWIG_fail
;
4341 arg2
= (int)(SWIG_As_int(obj1
));
4342 if (SWIG_arg_fail(2)) SWIG_fail
;
4344 if (arg1
) (arg1
)->x
= arg2
;
4346 Py_INCREF(Py_None
); resultobj
= Py_None
;
4353 static PyObject
*_wrap_wxPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
*resultobj
;
4355 wxPoint
*arg1
= (wxPoint
*) 0 ;
4357 PyObject
* obj0
= 0 ;
4359 (char *) "self", NULL
4362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPoint_x_get",kwnames
,&obj0
)) goto fail
;
4363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4364 if (SWIG_arg_fail(1)) SWIG_fail
;
4365 result
= (int) ((arg1
)->x
);
4368 resultobj
= SWIG_From_int((int)(result
));
4376 static PyObject
*_wrap_wxPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
*resultobj
;
4378 wxPoint
*arg1
= (wxPoint
*) 0 ;
4380 PyObject
* obj0
= 0 ;
4381 PyObject
* obj1
= 0 ;
4383 (char *) "self",(char *) "y", NULL
4386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4388 if (SWIG_arg_fail(1)) SWIG_fail
;
4390 arg2
= (int)(SWIG_As_int(obj1
));
4391 if (SWIG_arg_fail(2)) SWIG_fail
;
4393 if (arg1
) (arg1
)->y
= arg2
;
4395 Py_INCREF(Py_None
); resultobj
= Py_None
;
4402 static PyObject
*_wrap_wxPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4403 PyObject
*resultobj
;
4404 wxPoint
*arg1
= (wxPoint
*) 0 ;
4406 PyObject
* obj0
= 0 ;
4408 (char *) "self", NULL
4411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPoint_y_get",kwnames
,&obj0
)) goto fail
;
4412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4413 if (SWIG_arg_fail(1)) SWIG_fail
;
4414 result
= (int) ((arg1
)->y
);
4417 resultobj
= SWIG_From_int((int)(result
));
4425 static PyObject
*_wrap_new_wxPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4426 PyObject
*resultobj
;
4427 int arg1
= (int) 0 ;
4428 int arg2
= (int) 0 ;
4430 PyObject
* obj0
= 0 ;
4431 PyObject
* obj1
= 0 ;
4433 (char *) "x",(char *) "y", NULL
4436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_wxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4439 arg1
= (int)(SWIG_As_int(obj0
));
4440 if (SWIG_arg_fail(1)) SWIG_fail
;
4445 arg2
= (int)(SWIG_As_int(obj1
));
4446 if (SWIG_arg_fail(2)) SWIG_fail
;
4450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4451 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4453 wxPyEndAllowThreads(__tstate
);
4454 if (PyErr_Occurred()) SWIG_fail
;
4456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4463 static PyObject
*_wrap_delete_wxPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4464 PyObject
*resultobj
;
4465 wxPoint
*arg1
= (wxPoint
*) 0 ;
4466 PyObject
* obj0
= 0 ;
4468 (char *) "self", NULL
4471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_wxPoint",kwnames
,&obj0
)) goto fail
;
4472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4473 if (SWIG_arg_fail(1)) SWIG_fail
;
4475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 wxPyEndAllowThreads(__tstate
);
4479 if (PyErr_Occurred()) SWIG_fail
;
4481 Py_INCREF(Py_None
); resultobj
= Py_None
;
4488 static PyObject
*_wrap_wxPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
*resultobj
;
4490 wxPoint
*arg1
= (wxPoint
*) 0 ;
4494 PyObject
* obj0
= 0 ;
4495 PyObject
* obj1
= 0 ;
4497 (char *) "self",(char *) "pt", NULL
4500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4502 if (SWIG_arg_fail(1)) SWIG_fail
;
4505 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4509 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4511 wxPyEndAllowThreads(__tstate
);
4512 if (PyErr_Occurred()) SWIG_fail
;
4515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4523 static PyObject
*_wrap_wxPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4524 PyObject
*resultobj
;
4525 wxPoint
*arg1
= (wxPoint
*) 0 ;
4529 PyObject
* obj0
= 0 ;
4530 PyObject
* obj1
= 0 ;
4532 (char *) "self",(char *) "pt", NULL
4535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4537 if (SWIG_arg_fail(1)) SWIG_fail
;
4540 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4544 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4546 wxPyEndAllowThreads(__tstate
);
4547 if (PyErr_Occurred()) SWIG_fail
;
4550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4558 static PyObject
*_wrap_wxPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4559 PyObject
*resultobj
;
4560 wxPoint
*arg1
= (wxPoint
*) 0 ;
4564 PyObject
* obj0
= 0 ;
4565 PyObject
* obj1
= 0 ;
4567 (char *) "self",(char *) "pt", NULL
4570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4572 if (SWIG_arg_fail(1)) SWIG_fail
;
4575 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4579 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4581 wxPyEndAllowThreads(__tstate
);
4582 if (PyErr_Occurred()) SWIG_fail
;
4585 wxPoint
* resultptr
;
4586 resultptr
= new wxPoint((wxPoint
&)(result
));
4587 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4595 static PyObject
*_wrap_wxPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4596 PyObject
*resultobj
;
4597 wxPoint
*arg1
= (wxPoint
*) 0 ;
4601 PyObject
* obj0
= 0 ;
4602 PyObject
* obj1
= 0 ;
4604 (char *) "self",(char *) "pt", NULL
4607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4609 if (SWIG_arg_fail(1)) SWIG_fail
;
4612 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4616 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4618 wxPyEndAllowThreads(__tstate
);
4619 if (PyErr_Occurred()) SWIG_fail
;
4622 wxPoint
* resultptr
;
4623 resultptr
= new wxPoint((wxPoint
&)(result
));
4624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4632 static PyObject
*_wrap_wxPoint___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4633 PyObject
*resultobj
;
4634 wxPoint
*arg1
= (wxPoint
*) 0 ;
4638 PyObject
* obj0
= 0 ;
4639 PyObject
* obj1
= 0 ;
4641 (char *) "self",(char *) "pt", NULL
4644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxPoint___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4646 if (SWIG_arg_fail(1)) SWIG_fail
;
4649 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4654 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4655 result
= (wxPoint
*) &_result_ref
;
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) SWIG_fail
;
4661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4668 static PyObject
*_wrap_wxPoint___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4669 PyObject
*resultobj
;
4670 wxPoint
*arg1
= (wxPoint
*) 0 ;
4674 PyObject
* obj0
= 0 ;
4675 PyObject
* obj1
= 0 ;
4677 (char *) "self",(char *) "pt", NULL
4680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxPoint___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4682 if (SWIG_arg_fail(1)) SWIG_fail
;
4685 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4690 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4691 result
= (wxPoint
*) &_result_ref
;
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4704 static PyObject
*_wrap_wxPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4705 PyObject
*resultobj
;
4706 wxPoint
*arg1
= (wxPoint
*) 0 ;
4709 PyObject
* obj0
= 0 ;
4710 PyObject
* obj1
= 0 ;
4711 PyObject
* obj2
= 0 ;
4713 (char *) "self",(char *) "x",(char *) "y", NULL
4716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4718 if (SWIG_arg_fail(1)) SWIG_fail
;
4720 arg2
= (long)(SWIG_As_long(obj1
));
4721 if (SWIG_arg_fail(2)) SWIG_fail
;
4724 arg3
= (long)(SWIG_As_long(obj2
));
4725 if (SWIG_arg_fail(3)) SWIG_fail
;
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 wxPoint_Set(arg1
,arg2
,arg3
);
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4734 Py_INCREF(Py_None
); resultobj
= Py_None
;
4741 static PyObject
*_wrap_wxPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4742 PyObject
*resultobj
;
4743 wxPoint
*arg1
= (wxPoint
*) 0 ;
4745 PyObject
* obj0
= 0 ;
4747 (char *) "self", NULL
4750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPoint_Get",kwnames
,&obj0
)) goto fail
;
4751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4752 if (SWIG_arg_fail(1)) SWIG_fail
;
4754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4755 result
= (PyObject
*)wxPoint_Get(arg1
);
4757 wxPyEndAllowThreads(__tstate
);
4758 if (PyErr_Occurred()) SWIG_fail
;
4767 static PyObject
* wxPoint_swigregister(PyObject
*, PyObject
*args
) {
4769 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4770 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4772 return Py_BuildValue((char *)"");
4774 static PyObject
*_wrap_new_wxRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
*resultobj
;
4776 int arg1
= (int) 0 ;
4777 int arg2
= (int) 0 ;
4778 int arg3
= (int) 0 ;
4779 int arg4
= (int) 0 ;
4781 PyObject
* obj0
= 0 ;
4782 PyObject
* obj1
= 0 ;
4783 PyObject
* obj2
= 0 ;
4784 PyObject
* obj3
= 0 ;
4786 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_wxRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4792 arg1
= (int)(SWIG_As_int(obj0
));
4793 if (SWIG_arg_fail(1)) SWIG_fail
;
4798 arg2
= (int)(SWIG_As_int(obj1
));
4799 if (SWIG_arg_fail(2)) SWIG_fail
;
4804 arg3
= (int)(SWIG_As_int(obj2
));
4805 if (SWIG_arg_fail(3)) SWIG_fail
;
4810 arg4
= (int)(SWIG_As_int(obj3
));
4811 if (SWIG_arg_fail(4)) SWIG_fail
;
4815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4816 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4818 wxPyEndAllowThreads(__tstate
);
4819 if (PyErr_Occurred()) SWIG_fail
;
4821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4828 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4829 PyObject
*resultobj
;
4835 PyObject
* obj0
= 0 ;
4836 PyObject
* obj1
= 0 ;
4838 (char *) "topLeft",(char *) "bottomRight", NULL
4841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4844 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4848 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4852 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4854 wxPyEndAllowThreads(__tstate
);
4855 if (PyErr_Occurred()) SWIG_fail
;
4857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4864 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
*resultobj
;
4871 PyObject
* obj0
= 0 ;
4872 PyObject
* obj1
= 0 ;
4874 (char *) "pos",(char *) "size", NULL
4877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4880 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4884 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4900 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
*resultobj
;
4905 PyObject
* obj0
= 0 ;
4907 (char *) "size", NULL
4910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4913 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4917 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4919 wxPyEndAllowThreads(__tstate
);
4920 if (PyErr_Occurred()) SWIG_fail
;
4922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4929 static PyObject
*_wrap_delete_wxRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4930 PyObject
*resultobj
;
4931 wxRect
*arg1
= (wxRect
*) 0 ;
4932 PyObject
* obj0
= 0 ;
4934 (char *) "self", NULL
4937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_wxRect",kwnames
,&obj0
)) goto fail
;
4938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4939 if (SWIG_arg_fail(1)) SWIG_fail
;
4941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4944 wxPyEndAllowThreads(__tstate
);
4945 if (PyErr_Occurred()) SWIG_fail
;
4947 Py_INCREF(Py_None
); resultobj
= Py_None
;
4954 static PyObject
*_wrap_wxRect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4955 PyObject
*resultobj
;
4956 wxRect
*arg1
= (wxRect
*) 0 ;
4958 PyObject
* obj0
= 0 ;
4960 (char *) "self", NULL
4963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxRect_GetX",kwnames
,&obj0
)) goto fail
;
4964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4965 if (SWIG_arg_fail(1)) SWIG_fail
;
4967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4968 result
= (int)((wxRect
const *)arg1
)->GetX();
4970 wxPyEndAllowThreads(__tstate
);
4971 if (PyErr_Occurred()) SWIG_fail
;
4974 resultobj
= SWIG_From_int((int)(result
));
4982 static PyObject
*_wrap_wxRect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
*resultobj
;
4984 wxRect
*arg1
= (wxRect
*) 0 ;
4986 PyObject
* obj0
= 0 ;
4987 PyObject
* obj1
= 0 ;
4989 (char *) "self",(char *) "x", NULL
4992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxRect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
4993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4994 if (SWIG_arg_fail(1)) SWIG_fail
;
4996 arg2
= (int)(SWIG_As_int(obj1
));
4997 if (SWIG_arg_fail(2)) SWIG_fail
;
5000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5003 wxPyEndAllowThreads(__tstate
);
5004 if (PyErr_Occurred()) SWIG_fail
;
5006 Py_INCREF(Py_None
); resultobj
= Py_None
;
5013 static PyObject
*_wrap_wxRect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5014 PyObject
*resultobj
;
5015 wxRect
*arg1
= (wxRect
*) 0 ;
5017 PyObject
* obj0
= 0 ;
5019 (char *) "self", NULL
5022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxRect_GetY",kwnames
,&obj0
)) goto fail
;
5023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5024 if (SWIG_arg_fail(1)) SWIG_fail
;
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5027 result
= (int)(arg1
)->GetY();
5029 wxPyEndAllowThreads(__tstate
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5033 resultobj
= SWIG_From_int((int)(result
));
5041 static PyObject
*_wrap_wxRect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5042 PyObject
*resultobj
;
5043 wxRect
*arg1
= (wxRect
*) 0 ;
5045 PyObject
* obj0
= 0 ;
5046 PyObject
* obj1
= 0 ;
5048 (char *) "self",(char *) "y", NULL
5051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxRect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5053 if (SWIG_arg_fail(1)) SWIG_fail
;
5055 arg2
= (int)(SWIG_As_int(obj1
));
5056 if (SWIG_arg_fail(2)) SWIG_fail
;
5059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5062 wxPyEndAllowThreads(__tstate
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5065 Py_INCREF(Py_None
); resultobj
= Py_None
;
5072 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5073 PyObject
*resultobj
;
5074 wxRect
*arg1
= (wxRect
*) 0 ;
5076 PyObject
* obj0
= 0 ;
5078 (char *) "self", NULL
5081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxRect_GetWidth",kwnames
,&obj0
)) goto fail
;
5082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5083 if (SWIG_arg_fail(1)) SWIG_fail
;
5085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5086 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5088 wxPyEndAllowThreads(__tstate
);
5089 if (PyErr_Occurred()) SWIG_fail
;
5092 resultobj
= SWIG_From_int((int)(result
));
5100 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5101 PyObject
*resultobj
;
5102 wxRect
*arg1
= (wxRect
*) 0 ;
5104 PyObject
* obj0
= 0 ;
5105 PyObject
* obj1
= 0 ;
5107 (char *) "self",(char *) "w", NULL
5110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxRect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5112 if (SWIG_arg_fail(1)) SWIG_fail
;
5114 arg2
= (int)(SWIG_As_int(obj1
));
5115 if (SWIG_arg_fail(2)) SWIG_fail
;
5118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5119 (arg1
)->SetWidth(arg2
);
5121 wxPyEndAllowThreads(__tstate
);
5122 if (PyErr_Occurred()) SWIG_fail
;
5124 Py_INCREF(Py_None
); resultobj
= Py_None
;
5131 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
*resultobj
;
5133 wxRect
*arg1
= (wxRect
*) 0 ;
5135 PyObject
* obj0
= 0 ;
5137 (char *) "self", NULL
5140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxRect_GetHeight",kwnames
,&obj0
)) goto fail
;
5141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5142 if (SWIG_arg_fail(1)) SWIG_fail
;
5144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5145 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5147 wxPyEndAllowThreads(__tstate
);
5148 if (PyErr_Occurred()) SWIG_fail
;
5151 resultobj
= SWIG_From_int((int)(result
));
5159 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5160 PyObject
*resultobj
;
5161 wxRect
*arg1
= (wxRect
*) 0 ;
5163 PyObject
* obj0
= 0 ;
5164 PyObject
* obj1
= 0 ;
5166 (char *) "self",(char *) "h", NULL
5169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxRect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5171 if (SWIG_arg_fail(1)) SWIG_fail
;
5173 arg2
= (int)(SWIG_As_int(obj1
));
5174 if (SWIG_arg_fail(2)) SWIG_fail
;
5177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5178 (arg1
)->SetHeight(arg2
);
5180 wxPyEndAllowThreads(__tstate
);
5181 if (PyErr_Occurred()) SWIG_fail
;
5183 Py_INCREF(Py_None
); resultobj
= Py_None
;
5190 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5191 PyObject
*resultobj
;
5192 wxRect
*arg1
= (wxRect
*) 0 ;
5194 PyObject
* obj0
= 0 ;
5196 (char *) "self", NULL
5199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxRect_GetPosition",kwnames
,&obj0
)) goto fail
;
5200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5201 if (SWIG_arg_fail(1)) SWIG_fail
;
5203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5204 result
= ((wxRect
const *)arg1
)->GetPosition();
5206 wxPyEndAllowThreads(__tstate
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5210 wxPoint
* resultptr
;
5211 resultptr
= new wxPoint((wxPoint
&)(result
));
5212 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5220 static PyObject
*_wrap_wxRect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5221 PyObject
*resultobj
;
5222 wxRect
*arg1
= (wxRect
*) 0 ;
5225 PyObject
* obj0
= 0 ;
5226 PyObject
* obj1
= 0 ;
5228 (char *) "self",(char *) "p", NULL
5231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxRect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5233 if (SWIG_arg_fail(1)) SWIG_fail
;
5236 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5240 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5242 wxPyEndAllowThreads(__tstate
);
5243 if (PyErr_Occurred()) SWIG_fail
;
5245 Py_INCREF(Py_None
); resultobj
= Py_None
;
5252 static PyObject
*_wrap_wxRect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5253 PyObject
*resultobj
;
5254 wxRect
*arg1
= (wxRect
*) 0 ;
5256 PyObject
* obj0
= 0 ;
5258 (char *) "self", NULL
5261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxRect_GetSize",kwnames
,&obj0
)) goto fail
;
5262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5263 if (SWIG_arg_fail(1)) SWIG_fail
;
5265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5266 result
= ((wxRect
const *)arg1
)->GetSize();
5268 wxPyEndAllowThreads(__tstate
);
5269 if (PyErr_Occurred()) SWIG_fail
;
5273 resultptr
= new wxSize((wxSize
&)(result
));
5274 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5282 static PyObject
*_wrap_wxRect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5283 PyObject
*resultobj
;
5284 wxRect
*arg1
= (wxRect
*) 0 ;
5287 PyObject
* obj0
= 0 ;
5288 PyObject
* obj1
= 0 ;
5290 (char *) "self",(char *) "s", NULL
5293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxRect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5295 if (SWIG_arg_fail(1)) SWIG_fail
;
5298 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5302 (arg1
)->SetSize((wxSize
const &)*arg2
);
5304 wxPyEndAllowThreads(__tstate
);
5305 if (PyErr_Occurred()) SWIG_fail
;
5307 Py_INCREF(Py_None
); resultobj
= Py_None
;
5314 static PyObject
*_wrap_wxRect_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5315 PyObject
*resultobj
;
5316 wxRect
*arg1
= (wxRect
*) 0 ;
5318 PyObject
* obj0
= 0 ;
5320 (char *) "self", NULL
5323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxRect_IsEmpty",kwnames
,&obj0
)) goto fail
;
5324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5325 if (SWIG_arg_fail(1)) SWIG_fail
;
5327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5328 result
= (bool)((wxRect
const *)arg1
)->IsEmpty();
5330 wxPyEndAllowThreads(__tstate
);
5331 if (PyErr_Occurred()) SWIG_fail
;
5334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5342 static PyObject
*_wrap_wxRect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5343 PyObject
*resultobj
;
5344 wxRect
*arg1
= (wxRect
*) 0 ;
5346 PyObject
* obj0
= 0 ;
5348 (char *) "self", NULL
5351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxRect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5353 if (SWIG_arg_fail(1)) SWIG_fail
;
5355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5356 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5358 wxPyEndAllowThreads(__tstate
);
5359 if (PyErr_Occurred()) SWIG_fail
;
5362 wxPoint
* resultptr
;
5363 resultptr
= new wxPoint((wxPoint
&)(result
));
5364 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5372 static PyObject
*_wrap_wxRect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5373 PyObject
*resultobj
;
5374 wxRect
*arg1
= (wxRect
*) 0 ;
5377 PyObject
* obj0
= 0 ;
5378 PyObject
* obj1
= 0 ;
5380 (char *) "self",(char *) "p", NULL
5383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxRect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5385 if (SWIG_arg_fail(1)) SWIG_fail
;
5388 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5392 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5394 wxPyEndAllowThreads(__tstate
);
5395 if (PyErr_Occurred()) SWIG_fail
;
5397 Py_INCREF(Py_None
); resultobj
= Py_None
;
5404 static PyObject
*_wrap_wxRect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5405 PyObject
*resultobj
;
5406 wxRect
*arg1
= (wxRect
*) 0 ;
5408 PyObject
* obj0
= 0 ;
5410 (char *) "self", NULL
5413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxRect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5415 if (SWIG_arg_fail(1)) SWIG_fail
;
5417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5418 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5420 wxPyEndAllowThreads(__tstate
);
5421 if (PyErr_Occurred()) SWIG_fail
;
5424 wxPoint
* resultptr
;
5425 resultptr
= new wxPoint((wxPoint
&)(result
));
5426 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5434 static PyObject
*_wrap_wxRect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5435 PyObject
*resultobj
;
5436 wxRect
*arg1
= (wxRect
*) 0 ;
5439 PyObject
* obj0
= 0 ;
5440 PyObject
* obj1
= 0 ;
5442 (char *) "self",(char *) "p", NULL
5445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxRect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5447 if (SWIG_arg_fail(1)) SWIG_fail
;
5450 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5454 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5456 wxPyEndAllowThreads(__tstate
);
5457 if (PyErr_Occurred()) SWIG_fail
;
5459 Py_INCREF(Py_None
); resultobj
= Py_None
;
5466 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5467 PyObject
*resultobj
;
5468 wxRect
*arg1
= (wxRect
*) 0 ;
5470 PyObject
* obj0
= 0 ;
5472 (char *) "self", NULL
5475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxRect_GetLeft",kwnames
,&obj0
)) goto fail
;
5476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5477 if (SWIG_arg_fail(1)) SWIG_fail
;
5479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5480 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5482 wxPyEndAllowThreads(__tstate
);
5483 if (PyErr_Occurred()) SWIG_fail
;
5486 resultobj
= SWIG_From_int((int)(result
));
5494 static PyObject
*_wrap_wxRect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5495 PyObject
*resultobj
;
5496 wxRect
*arg1
= (wxRect
*) 0 ;
5498 PyObject
* obj0
= 0 ;
5500 (char *) "self", NULL
5503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxRect_GetTop",kwnames
,&obj0
)) goto fail
;
5504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5505 if (SWIG_arg_fail(1)) SWIG_fail
;
5507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5508 result
= (int)((wxRect
const *)arg1
)->GetTop();
5510 wxPyEndAllowThreads(__tstate
);
5511 if (PyErr_Occurred()) SWIG_fail
;
5514 resultobj
= SWIG_From_int((int)(result
));
5522 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5523 PyObject
*resultobj
;
5524 wxRect
*arg1
= (wxRect
*) 0 ;
5526 PyObject
* obj0
= 0 ;
5528 (char *) "self", NULL
5531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxRect_GetBottom",kwnames
,&obj0
)) goto fail
;
5532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5533 if (SWIG_arg_fail(1)) SWIG_fail
;
5535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5536 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5542 resultobj
= SWIG_From_int((int)(result
));
5550 static PyObject
*_wrap_wxRect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5551 PyObject
*resultobj
;
5552 wxRect
*arg1
= (wxRect
*) 0 ;
5554 PyObject
* obj0
= 0 ;
5556 (char *) "self", NULL
5559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxRect_GetRight",kwnames
,&obj0
)) goto fail
;
5560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5561 if (SWIG_arg_fail(1)) SWIG_fail
;
5563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5564 result
= (int)((wxRect
const *)arg1
)->GetRight();
5566 wxPyEndAllowThreads(__tstate
);
5567 if (PyErr_Occurred()) SWIG_fail
;
5570 resultobj
= SWIG_From_int((int)(result
));
5578 static PyObject
*_wrap_wxRect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5579 PyObject
*resultobj
;
5580 wxRect
*arg1
= (wxRect
*) 0 ;
5582 PyObject
* obj0
= 0 ;
5583 PyObject
* obj1
= 0 ;
5585 (char *) "self",(char *) "left", NULL
5588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxRect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5590 if (SWIG_arg_fail(1)) SWIG_fail
;
5592 arg2
= (int)(SWIG_As_int(obj1
));
5593 if (SWIG_arg_fail(2)) SWIG_fail
;
5596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5597 (arg1
)->SetLeft(arg2
);
5599 wxPyEndAllowThreads(__tstate
);
5600 if (PyErr_Occurred()) SWIG_fail
;
5602 Py_INCREF(Py_None
); resultobj
= Py_None
;
5609 static PyObject
*_wrap_wxRect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5610 PyObject
*resultobj
;
5611 wxRect
*arg1
= (wxRect
*) 0 ;
5613 PyObject
* obj0
= 0 ;
5614 PyObject
* obj1
= 0 ;
5616 (char *) "self",(char *) "right", NULL
5619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxRect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5621 if (SWIG_arg_fail(1)) SWIG_fail
;
5623 arg2
= (int)(SWIG_As_int(obj1
));
5624 if (SWIG_arg_fail(2)) SWIG_fail
;
5627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5628 (arg1
)->SetRight(arg2
);
5630 wxPyEndAllowThreads(__tstate
);
5631 if (PyErr_Occurred()) SWIG_fail
;
5633 Py_INCREF(Py_None
); resultobj
= Py_None
;
5640 static PyObject
*_wrap_wxRect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5641 PyObject
*resultobj
;
5642 wxRect
*arg1
= (wxRect
*) 0 ;
5644 PyObject
* obj0
= 0 ;
5645 PyObject
* obj1
= 0 ;
5647 (char *) "self",(char *) "top", NULL
5650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxRect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5652 if (SWIG_arg_fail(1)) SWIG_fail
;
5654 arg2
= (int)(SWIG_As_int(obj1
));
5655 if (SWIG_arg_fail(2)) SWIG_fail
;
5658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5659 (arg1
)->SetTop(arg2
);
5661 wxPyEndAllowThreads(__tstate
);
5662 if (PyErr_Occurred()) SWIG_fail
;
5664 Py_INCREF(Py_None
); resultobj
= Py_None
;
5671 static PyObject
*_wrap_wxRect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5672 PyObject
*resultobj
;
5673 wxRect
*arg1
= (wxRect
*) 0 ;
5675 PyObject
* obj0
= 0 ;
5676 PyObject
* obj1
= 0 ;
5678 (char *) "self",(char *) "bottom", NULL
5681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxRect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5683 if (SWIG_arg_fail(1)) SWIG_fail
;
5685 arg2
= (int)(SWIG_As_int(obj1
));
5686 if (SWIG_arg_fail(2)) SWIG_fail
;
5689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5690 (arg1
)->SetBottom(arg2
);
5692 wxPyEndAllowThreads(__tstate
);
5693 if (PyErr_Occurred()) SWIG_fail
;
5695 Py_INCREF(Py_None
); resultobj
= Py_None
;
5702 static PyObject
*_wrap_wxRect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5703 PyObject
*resultobj
;
5704 wxRect
*arg1
= (wxRect
*) 0 ;
5708 PyObject
* obj0
= 0 ;
5709 PyObject
* obj1
= 0 ;
5710 PyObject
* obj2
= 0 ;
5712 (char *) "self",(char *) "dx",(char *) "dy", NULL
5715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxRect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5717 if (SWIG_arg_fail(1)) SWIG_fail
;
5719 arg2
= (int)(SWIG_As_int(obj1
));
5720 if (SWIG_arg_fail(2)) SWIG_fail
;
5723 arg3
= (int)(SWIG_As_int(obj2
));
5724 if (SWIG_arg_fail(3)) SWIG_fail
;
5727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5729 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5730 result
= (wxRect
*) &_result_ref
;
5733 wxPyEndAllowThreads(__tstate
);
5734 if (PyErr_Occurred()) SWIG_fail
;
5736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5743 static PyObject
*_wrap_wxRect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5744 PyObject
*resultobj
;
5745 wxRect
*arg1
= (wxRect
*) 0 ;
5749 PyObject
* obj0
= 0 ;
5750 PyObject
* obj1
= 0 ;
5751 PyObject
* obj2
= 0 ;
5753 (char *) "self",(char *) "dx",(char *) "dy", NULL
5756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxRect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5758 if (SWIG_arg_fail(1)) SWIG_fail
;
5760 arg2
= (int)(SWIG_As_int(obj1
));
5761 if (SWIG_arg_fail(2)) SWIG_fail
;
5764 arg3
= (int)(SWIG_As_int(obj2
));
5765 if (SWIG_arg_fail(3)) SWIG_fail
;
5768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5770 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5771 result
= (wxRect
*) &_result_ref
;
5774 wxPyEndAllowThreads(__tstate
);
5775 if (PyErr_Occurred()) SWIG_fail
;
5777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5784 static PyObject
*_wrap_wxRect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5785 PyObject
*resultobj
;
5786 wxRect
*arg1
= (wxRect
*) 0 ;
5789 PyObject
* obj0
= 0 ;
5790 PyObject
* obj1
= 0 ;
5791 PyObject
* obj2
= 0 ;
5793 (char *) "self",(char *) "dx",(char *) "dy", NULL
5796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxRect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5798 if (SWIG_arg_fail(1)) SWIG_fail
;
5800 arg2
= (int)(SWIG_As_int(obj1
));
5801 if (SWIG_arg_fail(2)) SWIG_fail
;
5804 arg3
= (int)(SWIG_As_int(obj2
));
5805 if (SWIG_arg_fail(3)) SWIG_fail
;
5808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5809 (arg1
)->Offset(arg2
,arg3
);
5811 wxPyEndAllowThreads(__tstate
);
5812 if (PyErr_Occurred()) SWIG_fail
;
5814 Py_INCREF(Py_None
); resultobj
= Py_None
;
5821 static PyObject
*_wrap_wxRect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5822 PyObject
*resultobj
;
5823 wxRect
*arg1
= (wxRect
*) 0 ;
5826 PyObject
* obj0
= 0 ;
5827 PyObject
* obj1
= 0 ;
5829 (char *) "self",(char *) "pt", NULL
5832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxRect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5834 if (SWIG_arg_fail(1)) SWIG_fail
;
5837 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5841 (arg1
)->Offset((wxPoint
const &)*arg2
);
5843 wxPyEndAllowThreads(__tstate
);
5844 if (PyErr_Occurred()) SWIG_fail
;
5846 Py_INCREF(Py_None
); resultobj
= Py_None
;
5853 static PyObject
*_wrap_wxRect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5854 PyObject
*resultobj
;
5855 wxRect
*arg1
= (wxRect
*) 0 ;
5859 PyObject
* obj0
= 0 ;
5860 PyObject
* obj1
= 0 ;
5862 (char *) "self",(char *) "rect", NULL
5865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxRect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5867 if (SWIG_arg_fail(1)) SWIG_fail
;
5870 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5874 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5876 wxPyEndAllowThreads(__tstate
);
5877 if (PyErr_Occurred()) SWIG_fail
;
5881 resultptr
= new wxRect((wxRect
&)(result
));
5882 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5890 static PyObject
*_wrap_wxRect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5891 PyObject
*resultobj
;
5892 wxRect
*arg1
= (wxRect
*) 0 ;
5896 PyObject
* obj0
= 0 ;
5897 PyObject
* obj1
= 0 ;
5899 (char *) "self",(char *) "rect", NULL
5902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxRect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5904 if (SWIG_arg_fail(1)) SWIG_fail
;
5907 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5911 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) SWIG_fail
;
5918 resultptr
= new wxRect((wxRect
&)(result
));
5919 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5927 static PyObject
*_wrap_wxRect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
*resultobj
;
5929 wxRect
*arg1
= (wxRect
*) 0 ;
5933 PyObject
* obj0
= 0 ;
5934 PyObject
* obj1
= 0 ;
5936 (char *) "self",(char *) "rect", NULL
5939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxRect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5941 if (SWIG_arg_fail(1)) SWIG_fail
;
5944 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5948 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5950 wxPyEndAllowThreads(__tstate
);
5951 if (PyErr_Occurred()) SWIG_fail
;
5955 resultptr
= new wxRect((wxRect
&)(result
));
5956 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5964 static PyObject
*_wrap_wxRect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5965 PyObject
*resultobj
;
5966 wxRect
*arg1
= (wxRect
*) 0 ;
5970 PyObject
* obj0
= 0 ;
5971 PyObject
* obj1
= 0 ;
5973 (char *) "self",(char *) "rect", NULL
5976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxRect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5978 if (SWIG_arg_fail(1)) SWIG_fail
;
5981 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5986 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5987 result
= (wxRect
*) &_result_ref
;
5990 wxPyEndAllowThreads(__tstate
);
5991 if (PyErr_Occurred()) SWIG_fail
;
5993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
6000 static PyObject
*_wrap_wxRect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6001 PyObject
*resultobj
;
6002 wxRect
*arg1
= (wxRect
*) 0 ;
6006 PyObject
* obj0
= 0 ;
6007 PyObject
* obj1
= 0 ;
6009 (char *) "self",(char *) "rect", NULL
6012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxRect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
6013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6014 if (SWIG_arg_fail(1)) SWIG_fail
;
6017 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6021 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
6023 wxPyEndAllowThreads(__tstate
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6035 static PyObject
*_wrap_wxRect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
*resultobj
;
6037 wxRect
*arg1
= (wxRect
*) 0 ;
6041 PyObject
* obj0
= 0 ;
6042 PyObject
* obj1
= 0 ;
6044 (char *) "self",(char *) "rect", NULL
6047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxRect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
6048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6049 if (SWIG_arg_fail(1)) SWIG_fail
;
6052 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6056 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
6058 wxPyEndAllowThreads(__tstate
);
6059 if (PyErr_Occurred()) SWIG_fail
;
6062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6070 static PyObject
*_wrap_wxRect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6071 PyObject
*resultobj
;
6072 wxRect
*arg1
= (wxRect
*) 0 ;
6076 PyObject
* obj0
= 0 ;
6077 PyObject
* obj1
= 0 ;
6078 PyObject
* obj2
= 0 ;
6080 (char *) "self",(char *) "x",(char *) "y", NULL
6083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxRect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6085 if (SWIG_arg_fail(1)) SWIG_fail
;
6087 arg2
= (int)(SWIG_As_int(obj1
));
6088 if (SWIG_arg_fail(2)) SWIG_fail
;
6091 arg3
= (int)(SWIG_As_int(obj2
));
6092 if (SWIG_arg_fail(3)) SWIG_fail
;
6095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6096 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6098 wxPyEndAllowThreads(__tstate
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6110 static PyObject
*_wrap_wxRect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6111 PyObject
*resultobj
;
6112 wxRect
*arg1
= (wxRect
*) 0 ;
6116 PyObject
* obj0
= 0 ;
6117 PyObject
* obj1
= 0 ;
6119 (char *) "self",(char *) "pt", NULL
6122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxRect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6124 if (SWIG_arg_fail(1)) SWIG_fail
;
6127 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6131 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6133 wxPyEndAllowThreads(__tstate
);
6134 if (PyErr_Occurred()) SWIG_fail
;
6137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6145 static PyObject
*_wrap_wxRect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
*resultobj
;
6147 wxRect
*arg1
= (wxRect
*) 0 ;
6151 PyObject
* obj0
= 0 ;
6152 PyObject
* obj1
= 0 ;
6154 (char *) "self",(char *) "rect", NULL
6157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxRect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6159 if (SWIG_arg_fail(1)) SWIG_fail
;
6162 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6166 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6168 wxPyEndAllowThreads(__tstate
);
6169 if (PyErr_Occurred()) SWIG_fail
;
6172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6180 static PyObject
*_wrap_wxRect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6181 PyObject
*resultobj
;
6182 wxRect
*arg1
= (wxRect
*) 0 ;
6184 PyObject
* obj0
= 0 ;
6185 PyObject
* obj1
= 0 ;
6187 (char *) "self",(char *) "x", NULL
6190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxRect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6192 if (SWIG_arg_fail(1)) SWIG_fail
;
6194 arg2
= (int)(SWIG_As_int(obj1
));
6195 if (SWIG_arg_fail(2)) SWIG_fail
;
6197 if (arg1
) (arg1
)->x
= arg2
;
6199 Py_INCREF(Py_None
); resultobj
= Py_None
;
6206 static PyObject
*_wrap_wxRect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6207 PyObject
*resultobj
;
6208 wxRect
*arg1
= (wxRect
*) 0 ;
6210 PyObject
* obj0
= 0 ;
6212 (char *) "self", NULL
6215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxRect_x_get",kwnames
,&obj0
)) goto fail
;
6216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6217 if (SWIG_arg_fail(1)) SWIG_fail
;
6218 result
= (int) ((arg1
)->x
);
6221 resultobj
= SWIG_From_int((int)(result
));
6229 static PyObject
*_wrap_wxRect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6230 PyObject
*resultobj
;
6231 wxRect
*arg1
= (wxRect
*) 0 ;
6233 PyObject
* obj0
= 0 ;
6234 PyObject
* obj1
= 0 ;
6236 (char *) "self",(char *) "y", NULL
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxRect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6241 if (SWIG_arg_fail(1)) SWIG_fail
;
6243 arg2
= (int)(SWIG_As_int(obj1
));
6244 if (SWIG_arg_fail(2)) SWIG_fail
;
6246 if (arg1
) (arg1
)->y
= arg2
;
6248 Py_INCREF(Py_None
); resultobj
= Py_None
;
6255 static PyObject
*_wrap_wxRect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
*resultobj
;
6257 wxRect
*arg1
= (wxRect
*) 0 ;
6259 PyObject
* obj0
= 0 ;
6261 (char *) "self", NULL
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxRect_y_get",kwnames
,&obj0
)) goto fail
;
6265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6266 if (SWIG_arg_fail(1)) SWIG_fail
;
6267 result
= (int) ((arg1
)->y
);
6270 resultobj
= SWIG_From_int((int)(result
));
6278 static PyObject
*_wrap_wxRect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6279 PyObject
*resultobj
;
6280 wxRect
*arg1
= (wxRect
*) 0 ;
6282 PyObject
* obj0
= 0 ;
6283 PyObject
* obj1
= 0 ;
6285 (char *) "self",(char *) "width", NULL
6288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxRect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6290 if (SWIG_arg_fail(1)) SWIG_fail
;
6292 arg2
= (int)(SWIG_As_int(obj1
));
6293 if (SWIG_arg_fail(2)) SWIG_fail
;
6295 if (arg1
) (arg1
)->width
= arg2
;
6297 Py_INCREF(Py_None
); resultobj
= Py_None
;
6304 static PyObject
*_wrap_wxRect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6305 PyObject
*resultobj
;
6306 wxRect
*arg1
= (wxRect
*) 0 ;
6308 PyObject
* obj0
= 0 ;
6310 (char *) "self", NULL
6313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxRect_width_get",kwnames
,&obj0
)) goto fail
;
6314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6315 if (SWIG_arg_fail(1)) SWIG_fail
;
6316 result
= (int) ((arg1
)->width
);
6319 resultobj
= SWIG_From_int((int)(result
));
6327 static PyObject
*_wrap_wxRect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6328 PyObject
*resultobj
;
6329 wxRect
*arg1
= (wxRect
*) 0 ;
6331 PyObject
* obj0
= 0 ;
6332 PyObject
* obj1
= 0 ;
6334 (char *) "self",(char *) "height", NULL
6337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxRect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6339 if (SWIG_arg_fail(1)) SWIG_fail
;
6341 arg2
= (int)(SWIG_As_int(obj1
));
6342 if (SWIG_arg_fail(2)) SWIG_fail
;
6344 if (arg1
) (arg1
)->height
= arg2
;
6346 Py_INCREF(Py_None
); resultobj
= Py_None
;
6353 static PyObject
*_wrap_wxRect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6354 PyObject
*resultobj
;
6355 wxRect
*arg1
= (wxRect
*) 0 ;
6357 PyObject
* obj0
= 0 ;
6359 (char *) "self", NULL
6362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxRect_height_get",kwnames
,&obj0
)) goto fail
;
6363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6364 if (SWIG_arg_fail(1)) SWIG_fail
;
6365 result
= (int) ((arg1
)->height
);
6368 resultobj
= SWIG_From_int((int)(result
));
6376 static PyObject
*_wrap_wxRect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
*resultobj
;
6378 wxRect
*arg1
= (wxRect
*) 0 ;
6379 int arg2
= (int) 0 ;
6380 int arg3
= (int) 0 ;
6381 int arg4
= (int) 0 ;
6382 int arg5
= (int) 0 ;
6383 PyObject
* obj0
= 0 ;
6384 PyObject
* obj1
= 0 ;
6385 PyObject
* obj2
= 0 ;
6386 PyObject
* obj3
= 0 ;
6387 PyObject
* obj4
= 0 ;
6389 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:wxRect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6394 if (SWIG_arg_fail(1)) SWIG_fail
;
6397 arg2
= (int)(SWIG_As_int(obj1
));
6398 if (SWIG_arg_fail(2)) SWIG_fail
;
6403 arg3
= (int)(SWIG_As_int(obj2
));
6404 if (SWIG_arg_fail(3)) SWIG_fail
;
6409 arg4
= (int)(SWIG_As_int(obj3
));
6410 if (SWIG_arg_fail(4)) SWIG_fail
;
6415 arg5
= (int)(SWIG_As_int(obj4
));
6416 if (SWIG_arg_fail(5)) SWIG_fail
;
6420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6421 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6423 wxPyEndAllowThreads(__tstate
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6426 Py_INCREF(Py_None
); resultobj
= Py_None
;
6433 static PyObject
*_wrap_wxRect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6434 PyObject
*resultobj
;
6435 wxRect
*arg1
= (wxRect
*) 0 ;
6437 PyObject
* obj0
= 0 ;
6439 (char *) "self", NULL
6442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxRect_Get",kwnames
,&obj0
)) goto fail
;
6443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6444 if (SWIG_arg_fail(1)) SWIG_fail
;
6446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6447 result
= (PyObject
*)wxRect_Get(arg1
);
6449 wxPyEndAllowThreads(__tstate
);
6450 if (PyErr_Occurred()) SWIG_fail
;
6459 static PyObject
* wxRect_swigregister(PyObject
*, PyObject
*args
) {
6461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6462 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6464 return Py_BuildValue((char *)"");
6466 static PyObject
*_wrap_wxIntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6467 PyObject
*resultobj
;
6468 wxRect
*arg1
= (wxRect
*) 0 ;
6469 wxRect
*arg2
= (wxRect
*) 0 ;
6471 PyObject
* obj0
= 0 ;
6472 PyObject
* obj1
= 0 ;
6474 (char *) "r1",(char *) "r2", NULL
6477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxIntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6479 if (SWIG_arg_fail(1)) SWIG_fail
;
6480 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6481 if (SWIG_arg_fail(2)) SWIG_fail
;
6483 if (!wxPyCheckForApp()) SWIG_fail
;
6484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6485 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6487 wxPyEndAllowThreads(__tstate
);
6488 if (PyErr_Occurred()) SWIG_fail
;
6497 static PyObject
*_wrap_new_wxPoint2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6498 PyObject
*resultobj
;
6499 double arg1
= (double) 0.0 ;
6500 double arg2
= (double) 0.0 ;
6502 PyObject
* obj0
= 0 ;
6503 PyObject
* obj1
= 0 ;
6505 (char *) "x",(char *) "y", NULL
6508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_wxPoint2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6511 arg1
= (double)(SWIG_As_double(obj0
));
6512 if (SWIG_arg_fail(1)) SWIG_fail
;
6517 arg2
= (double)(SWIG_As_double(obj1
));
6518 if (SWIG_arg_fail(2)) SWIG_fail
;
6522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6523 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6525 wxPyEndAllowThreads(__tstate
);
6526 if (PyErr_Occurred()) SWIG_fail
;
6528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6535 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6536 PyObject
*resultobj
;
6537 wxPoint2D
*arg1
= 0 ;
6540 PyObject
* obj0
= 0 ;
6545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6548 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6552 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6554 wxPyEndAllowThreads(__tstate
);
6555 if (PyErr_Occurred()) SWIG_fail
;
6557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6564 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6565 PyObject
*resultobj
;
6569 PyObject
* obj0
= 0 ;
6574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6577 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6581 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6583 wxPyEndAllowThreads(__tstate
);
6584 if (PyErr_Occurred()) SWIG_fail
;
6586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6593 static PyObject
*_wrap_wxPoint2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6594 PyObject
*resultobj
;
6595 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6596 int *arg2
= (int *) 0 ;
6597 int *arg3
= (int *) 0 ;
6602 PyObject
* obj0
= 0 ;
6604 (char *) "self", NULL
6607 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6608 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPoint2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6611 if (SWIG_arg_fail(1)) SWIG_fail
;
6613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6614 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6616 wxPyEndAllowThreads(__tstate
);
6617 if (PyErr_Occurred()) SWIG_fail
;
6619 Py_INCREF(Py_None
); resultobj
= Py_None
;
6620 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6621 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6622 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6623 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6630 static PyObject
*_wrap_wxPoint2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
*resultobj
;
6632 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6633 int *arg2
= (int *) 0 ;
6634 int *arg3
= (int *) 0 ;
6639 PyObject
* obj0
= 0 ;
6641 (char *) "self", NULL
6644 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6645 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPoint2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6648 if (SWIG_arg_fail(1)) SWIG_fail
;
6650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6651 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6653 wxPyEndAllowThreads(__tstate
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6656 Py_INCREF(Py_None
); resultobj
= Py_None
;
6657 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6658 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6659 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6660 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6667 static PyObject
*_wrap_wxPoint2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6668 PyObject
*resultobj
;
6669 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6671 PyObject
* obj0
= 0 ;
6673 (char *) "self", NULL
6676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPoint2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6678 if (SWIG_arg_fail(1)) SWIG_fail
;
6680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6681 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6683 wxPyEndAllowThreads(__tstate
);
6684 if (PyErr_Occurred()) SWIG_fail
;
6687 resultobj
= SWIG_From_double((double)(result
));
6695 static PyObject
*_wrap_wxPoint2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6696 PyObject
*resultobj
;
6697 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6699 PyObject
* obj0
= 0 ;
6701 (char *) "self", NULL
6704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPoint2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6706 if (SWIG_arg_fail(1)) SWIG_fail
;
6708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6709 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6711 wxPyEndAllowThreads(__tstate
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6715 resultobj
= SWIG_From_double((double)(result
));
6723 static PyObject
*_wrap_wxPoint2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6724 PyObject
*resultobj
;
6725 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6727 PyObject
* obj0
= 0 ;
6728 PyObject
* obj1
= 0 ;
6730 (char *) "self",(char *) "length", NULL
6733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxPoint2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6735 if (SWIG_arg_fail(1)) SWIG_fail
;
6737 arg2
= (double)(SWIG_As_double(obj1
));
6738 if (SWIG_arg_fail(2)) SWIG_fail
;
6741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6742 (arg1
)->SetVectorLength(arg2
);
6744 wxPyEndAllowThreads(__tstate
);
6745 if (PyErr_Occurred()) SWIG_fail
;
6747 Py_INCREF(Py_None
); resultobj
= Py_None
;
6754 static PyObject
*_wrap_wxPoint2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6755 PyObject
*resultobj
;
6756 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6758 PyObject
* obj0
= 0 ;
6759 PyObject
* obj1
= 0 ;
6761 (char *) "self",(char *) "degrees", NULL
6764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxPoint2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6766 if (SWIG_arg_fail(1)) SWIG_fail
;
6768 arg2
= (double)(SWIG_As_double(obj1
));
6769 if (SWIG_arg_fail(2)) SWIG_fail
;
6772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6773 (arg1
)->SetVectorAngle(arg2
);
6775 wxPyEndAllowThreads(__tstate
);
6776 if (PyErr_Occurred()) SWIG_fail
;
6778 Py_INCREF(Py_None
); resultobj
= Py_None
;
6785 static PyObject
*_wrap_wxPoint2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
*resultobj
;
6787 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6788 wxPoint2D
*arg2
= 0 ;
6791 PyObject
* obj0
= 0 ;
6792 PyObject
* obj1
= 0 ;
6794 (char *) "self",(char *) "pt", NULL
6797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxPoint2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6799 if (SWIG_arg_fail(1)) SWIG_fail
;
6802 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6806 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6808 wxPyEndAllowThreads(__tstate
);
6809 if (PyErr_Occurred()) SWIG_fail
;
6812 resultobj
= SWIG_From_double((double)(result
));
6820 static PyObject
*_wrap_wxPoint2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6821 PyObject
*resultobj
;
6822 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6823 wxPoint2D
*arg2
= 0 ;
6826 PyObject
* obj0
= 0 ;
6827 PyObject
* obj1
= 0 ;
6829 (char *) "self",(char *) "pt", NULL
6832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxPoint2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6834 if (SWIG_arg_fail(1)) SWIG_fail
;
6837 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6841 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6843 wxPyEndAllowThreads(__tstate
);
6844 if (PyErr_Occurred()) SWIG_fail
;
6847 resultobj
= SWIG_From_double((double)(result
));
6855 static PyObject
*_wrap_wxPoint2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6856 PyObject
*resultobj
;
6857 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6858 wxPoint2D
*arg2
= 0 ;
6861 PyObject
* obj0
= 0 ;
6862 PyObject
* obj1
= 0 ;
6864 (char *) "self",(char *) "vec", NULL
6867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxPoint2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6869 if (SWIG_arg_fail(1)) SWIG_fail
;
6872 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6876 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6878 wxPyEndAllowThreads(__tstate
);
6879 if (PyErr_Occurred()) SWIG_fail
;
6882 resultobj
= SWIG_From_double((double)(result
));
6890 static PyObject
*_wrap_wxPoint2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6891 PyObject
*resultobj
;
6892 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6893 wxPoint2D
*arg2
= 0 ;
6896 PyObject
* obj0
= 0 ;
6897 PyObject
* obj1
= 0 ;
6899 (char *) "self",(char *) "vec", NULL
6902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxPoint2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6904 if (SWIG_arg_fail(1)) SWIG_fail
;
6907 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6911 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6913 wxPyEndAllowThreads(__tstate
);
6914 if (PyErr_Occurred()) SWIG_fail
;
6917 resultobj
= SWIG_From_double((double)(result
));
6925 static PyObject
*_wrap_wxPoint2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6926 PyObject
*resultobj
;
6927 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6929 PyObject
* obj0
= 0 ;
6931 (char *) "self", NULL
6934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPoint2D___neg__",kwnames
,&obj0
)) goto fail
;
6935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6936 if (SWIG_arg_fail(1)) SWIG_fail
;
6938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6939 result
= (arg1
)->operator -();
6941 wxPyEndAllowThreads(__tstate
);
6942 if (PyErr_Occurred()) SWIG_fail
;
6945 wxPoint2D
* resultptr
;
6946 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6947 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6955 static PyObject
*_wrap_wxPoint2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
*resultobj
;
6957 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6958 wxPoint2D
*arg2
= 0 ;
6961 PyObject
* obj0
= 0 ;
6962 PyObject
* obj1
= 0 ;
6964 (char *) "self",(char *) "pt", NULL
6967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxPoint2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6969 if (SWIG_arg_fail(1)) SWIG_fail
;
6972 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6977 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6978 result
= (wxPoint2D
*) &_result_ref
;
6981 wxPyEndAllowThreads(__tstate
);
6982 if (PyErr_Occurred()) SWIG_fail
;
6984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6991 static PyObject
*_wrap_wxPoint2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6992 PyObject
*resultobj
;
6993 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6994 wxPoint2D
*arg2
= 0 ;
6997 PyObject
* obj0
= 0 ;
6998 PyObject
* obj1
= 0 ;
7000 (char *) "self",(char *) "pt", NULL
7003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxPoint2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
7004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7005 if (SWIG_arg_fail(1)) SWIG_fail
;
7008 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7013 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
7014 result
= (wxPoint2D
*) &_result_ref
;
7017 wxPyEndAllowThreads(__tstate
);
7018 if (PyErr_Occurred()) SWIG_fail
;
7020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7027 static PyObject
*_wrap_wxPoint2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7028 PyObject
*resultobj
;
7029 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7030 wxPoint2D
*arg2
= 0 ;
7033 PyObject
* obj0
= 0 ;
7034 PyObject
* obj1
= 0 ;
7036 (char *) "self",(char *) "pt", NULL
7039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxPoint2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
7040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7041 if (SWIG_arg_fail(1)) SWIG_fail
;
7044 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7049 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
7050 result
= (wxPoint2D
*) &_result_ref
;
7053 wxPyEndAllowThreads(__tstate
);
7054 if (PyErr_Occurred()) SWIG_fail
;
7056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7063 static PyObject
*_wrap_wxPoint2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7064 PyObject
*resultobj
;
7065 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7066 wxPoint2D
*arg2
= 0 ;
7069 PyObject
* obj0
= 0 ;
7070 PyObject
* obj1
= 0 ;
7072 (char *) "self",(char *) "pt", NULL
7075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxPoint2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7077 if (SWIG_arg_fail(1)) SWIG_fail
;
7080 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7085 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7086 result
= (wxPoint2D
*) &_result_ref
;
7089 wxPyEndAllowThreads(__tstate
);
7090 if (PyErr_Occurred()) SWIG_fail
;
7092 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7099 static PyObject
*_wrap_wxPoint2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7100 PyObject
*resultobj
;
7101 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7102 wxPoint2D
*arg2
= 0 ;
7105 PyObject
* obj0
= 0 ;
7106 PyObject
* obj1
= 0 ;
7108 (char *) "self",(char *) "pt", NULL
7111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxPoint2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7113 if (SWIG_arg_fail(1)) SWIG_fail
;
7116 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7120 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7122 wxPyEndAllowThreads(__tstate
);
7123 if (PyErr_Occurred()) SWIG_fail
;
7126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7134 static PyObject
*_wrap_wxPoint2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7135 PyObject
*resultobj
;
7136 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7137 wxPoint2D
*arg2
= 0 ;
7140 PyObject
* obj0
= 0 ;
7141 PyObject
* obj1
= 0 ;
7143 (char *) "self",(char *) "pt", NULL
7146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxPoint2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7148 if (SWIG_arg_fail(1)) SWIG_fail
;
7151 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7155 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7157 wxPyEndAllowThreads(__tstate
);
7158 if (PyErr_Occurred()) SWIG_fail
;
7161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7169 static PyObject
*_wrap_wxPoint2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7170 PyObject
*resultobj
;
7171 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7173 PyObject
* obj0
= 0 ;
7174 PyObject
* obj1
= 0 ;
7176 (char *) "self",(char *) "m_x", NULL
7179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxPoint2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7181 if (SWIG_arg_fail(1)) SWIG_fail
;
7183 arg2
= (double)(SWIG_As_double(obj1
));
7184 if (SWIG_arg_fail(2)) SWIG_fail
;
7186 if (arg1
) (arg1
)->m_x
= arg2
;
7188 Py_INCREF(Py_None
); resultobj
= Py_None
;
7195 static PyObject
*_wrap_wxPoint2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7196 PyObject
*resultobj
;
7197 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7199 PyObject
* obj0
= 0 ;
7201 (char *) "self", NULL
7204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPoint2D_x_get",kwnames
,&obj0
)) goto fail
;
7205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7206 if (SWIG_arg_fail(1)) SWIG_fail
;
7207 result
= (double) ((arg1
)->m_x
);
7210 resultobj
= SWIG_From_double((double)(result
));
7218 static PyObject
*_wrap_wxPoint2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7219 PyObject
*resultobj
;
7220 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7222 PyObject
* obj0
= 0 ;
7223 PyObject
* obj1
= 0 ;
7225 (char *) "self",(char *) "m_y", NULL
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxPoint2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7230 if (SWIG_arg_fail(1)) SWIG_fail
;
7232 arg2
= (double)(SWIG_As_double(obj1
));
7233 if (SWIG_arg_fail(2)) SWIG_fail
;
7235 if (arg1
) (arg1
)->m_y
= arg2
;
7237 Py_INCREF(Py_None
); resultobj
= Py_None
;
7244 static PyObject
*_wrap_wxPoint2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7245 PyObject
*resultobj
;
7246 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7248 PyObject
* obj0
= 0 ;
7250 (char *) "self", NULL
7253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPoint2D_y_get",kwnames
,&obj0
)) goto fail
;
7254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7255 if (SWIG_arg_fail(1)) SWIG_fail
;
7256 result
= (double) ((arg1
)->m_y
);
7259 resultobj
= SWIG_From_double((double)(result
));
7267 static PyObject
*_wrap_wxPoint2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7268 PyObject
*resultobj
;
7269 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7270 double arg2
= (double) 0 ;
7271 double arg3
= (double) 0 ;
7272 PyObject
* obj0
= 0 ;
7273 PyObject
* obj1
= 0 ;
7274 PyObject
* obj2
= 0 ;
7276 (char *) "self",(char *) "x",(char *) "y", NULL
7279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:wxPoint2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7281 if (SWIG_arg_fail(1)) SWIG_fail
;
7284 arg2
= (double)(SWIG_As_double(obj1
));
7285 if (SWIG_arg_fail(2)) SWIG_fail
;
7290 arg3
= (double)(SWIG_As_double(obj2
));
7291 if (SWIG_arg_fail(3)) SWIG_fail
;
7295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7296 wxPoint2D_Set(arg1
,arg2
,arg3
);
7298 wxPyEndAllowThreads(__tstate
);
7299 if (PyErr_Occurred()) SWIG_fail
;
7301 Py_INCREF(Py_None
); resultobj
= Py_None
;
7308 static PyObject
*_wrap_wxPoint2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7309 PyObject
*resultobj
;
7310 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7312 PyObject
* obj0
= 0 ;
7314 (char *) "self", NULL
7317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPoint2D_Get",kwnames
,&obj0
)) goto fail
;
7318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7319 if (SWIG_arg_fail(1)) SWIG_fail
;
7321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7322 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7324 wxPyEndAllowThreads(__tstate
);
7325 if (PyErr_Occurred()) SWIG_fail
;
7334 static PyObject
* wxPoint2D_swigregister(PyObject
*, PyObject
*args
) {
7336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7337 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7339 return Py_BuildValue((char *)"");
7341 static int _wrap_wxDefaultPosition_set(PyObject
*) {
7342 PyErr_SetString(PyExc_TypeError
,"Variable wxDefaultPosition is read-only.");
7347 static PyObject
*_wrap_wxDefaultPosition_get(void) {
7350 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7355 static int _wrap_wxDefaultSize_set(PyObject
*) {
7356 PyErr_SetString(PyExc_TypeError
,"Variable wxDefaultSize is read-only.");
7361 static PyObject
*_wrap_wxDefaultSize_get(void) {
7364 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7369 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7370 PyObject
*resultobj
;
7371 PyObject
*arg1
= (PyObject
*) 0 ;
7372 wxPyInputStream
*result
;
7373 PyObject
* obj0
= 0 ;
7378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7382 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7384 wxPyEndAllowThreads(__tstate
);
7385 if (PyErr_Occurred()) SWIG_fail
;
7387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7394 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7395 PyObject
*resultobj
;
7396 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7397 PyObject
* obj0
= 0 ;
7399 (char *) "self", NULL
7402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7404 if (SWIG_arg_fail(1)) SWIG_fail
;
7406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7409 wxPyEndAllowThreads(__tstate
);
7410 if (PyErr_Occurred()) SWIG_fail
;
7412 Py_INCREF(Py_None
); resultobj
= Py_None
;
7419 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7420 PyObject
*resultobj
;
7421 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7422 PyObject
* obj0
= 0 ;
7424 (char *) "self", NULL
7427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7429 if (SWIG_arg_fail(1)) SWIG_fail
;
7431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7434 wxPyEndAllowThreads(__tstate
);
7435 if (PyErr_Occurred()) SWIG_fail
;
7437 Py_INCREF(Py_None
); resultobj
= Py_None
;
7444 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7445 PyObject
*resultobj
;
7446 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7447 PyObject
* obj0
= 0 ;
7449 (char *) "self", NULL
7452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7454 if (SWIG_arg_fail(1)) SWIG_fail
;
7456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7459 wxPyEndAllowThreads(__tstate
);
7460 if (PyErr_Occurred()) SWIG_fail
;
7462 Py_INCREF(Py_None
); resultobj
= Py_None
;
7469 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7470 PyObject
*resultobj
;
7471 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7473 PyObject
* obj0
= 0 ;
7475 (char *) "self", NULL
7478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7480 if (SWIG_arg_fail(1)) SWIG_fail
;
7482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7483 result
= (bool)(arg1
)->eof();
7485 wxPyEndAllowThreads(__tstate
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7497 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7498 PyObject
*resultobj
;
7499 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7500 int arg2
= (int) -1 ;
7502 PyObject
* obj0
= 0 ;
7503 PyObject
* obj1
= 0 ;
7505 (char *) "self",(char *) "size", NULL
7508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7510 if (SWIG_arg_fail(1)) SWIG_fail
;
7513 arg2
= (int)(SWIG_As_int(obj1
));
7514 if (SWIG_arg_fail(2)) SWIG_fail
;
7518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7519 result
= (PyObject
*)(arg1
)->read(arg2
);
7521 wxPyEndAllowThreads(__tstate
);
7522 if (PyErr_Occurred()) SWIG_fail
;
7531 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7532 PyObject
*resultobj
;
7533 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7534 int arg2
= (int) -1 ;
7536 PyObject
* obj0
= 0 ;
7537 PyObject
* obj1
= 0 ;
7539 (char *) "self",(char *) "size", NULL
7542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7544 if (SWIG_arg_fail(1)) SWIG_fail
;
7547 arg2
= (int)(SWIG_As_int(obj1
));
7548 if (SWIG_arg_fail(2)) SWIG_fail
;
7552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7553 result
= (PyObject
*)(arg1
)->readline(arg2
);
7555 wxPyEndAllowThreads(__tstate
);
7556 if (PyErr_Occurred()) SWIG_fail
;
7565 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7566 PyObject
*resultobj
;
7567 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7568 int arg2
= (int) -1 ;
7570 PyObject
* obj0
= 0 ;
7571 PyObject
* obj1
= 0 ;
7573 (char *) "self",(char *) "sizehint", NULL
7576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7578 if (SWIG_arg_fail(1)) SWIG_fail
;
7581 arg2
= (int)(SWIG_As_int(obj1
));
7582 if (SWIG_arg_fail(2)) SWIG_fail
;
7586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7587 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7589 wxPyEndAllowThreads(__tstate
);
7590 if (PyErr_Occurred()) SWIG_fail
;
7599 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7600 PyObject
*resultobj
;
7601 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7603 int arg3
= (int) 0 ;
7604 PyObject
* obj0
= 0 ;
7605 PyObject
* obj1
= 0 ;
7606 PyObject
* obj2
= 0 ;
7608 (char *) "self",(char *) "offset",(char *) "whence", NULL
7611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7613 if (SWIG_arg_fail(1)) SWIG_fail
;
7615 arg2
= (int)(SWIG_As_int(obj1
));
7616 if (SWIG_arg_fail(2)) SWIG_fail
;
7620 arg3
= (int)(SWIG_As_int(obj2
));
7621 if (SWIG_arg_fail(3)) SWIG_fail
;
7625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7626 (arg1
)->seek(arg2
,arg3
);
7628 wxPyEndAllowThreads(__tstate
);
7629 if (PyErr_Occurred()) SWIG_fail
;
7631 Py_INCREF(Py_None
); resultobj
= Py_None
;
7638 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7639 PyObject
*resultobj
;
7640 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7642 PyObject
* obj0
= 0 ;
7644 (char *) "self", NULL
7647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7649 if (SWIG_arg_fail(1)) SWIG_fail
;
7651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7652 result
= (int)(arg1
)->tell();
7654 wxPyEndAllowThreads(__tstate
);
7655 if (PyErr_Occurred()) SWIG_fail
;
7658 resultobj
= SWIG_From_int((int)(result
));
7666 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7667 PyObject
*resultobj
;
7668 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7670 PyObject
* obj0
= 0 ;
7672 (char *) "self", NULL
7675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7677 if (SWIG_arg_fail(1)) SWIG_fail
;
7679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7680 result
= (char)(arg1
)->Peek();
7682 wxPyEndAllowThreads(__tstate
);
7683 if (PyErr_Occurred()) SWIG_fail
;
7686 resultobj
= SWIG_From_char((char)(result
));
7694 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7695 PyObject
*resultobj
;
7696 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7698 PyObject
* obj0
= 0 ;
7700 (char *) "self", NULL
7703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7705 if (SWIG_arg_fail(1)) SWIG_fail
;
7707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7708 result
= (char)(arg1
)->GetC();
7710 wxPyEndAllowThreads(__tstate
);
7711 if (PyErr_Occurred()) SWIG_fail
;
7714 resultobj
= SWIG_From_char((char)(result
));
7722 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7723 PyObject
*resultobj
;
7724 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7726 PyObject
* obj0
= 0 ;
7728 (char *) "self", NULL
7731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7733 if (SWIG_arg_fail(1)) SWIG_fail
;
7735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7736 result
= (size_t)(arg1
)->LastRead();
7738 wxPyEndAllowThreads(__tstate
);
7739 if (PyErr_Occurred()) SWIG_fail
;
7742 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7750 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7751 PyObject
*resultobj
;
7752 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7754 PyObject
* obj0
= 0 ;
7756 (char *) "self", NULL
7759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7761 if (SWIG_arg_fail(1)) SWIG_fail
;
7763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7764 result
= (bool)(arg1
)->CanRead();
7766 wxPyEndAllowThreads(__tstate
);
7767 if (PyErr_Occurred()) SWIG_fail
;
7770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7778 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7779 PyObject
*resultobj
;
7780 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7782 PyObject
* obj0
= 0 ;
7784 (char *) "self", NULL
7787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7789 if (SWIG_arg_fail(1)) SWIG_fail
;
7791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7792 result
= (bool)(arg1
)->Eof();
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) SWIG_fail
;
7798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7806 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
*resultobj
;
7808 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7811 PyObject
* obj0
= 0 ;
7812 PyObject
* obj1
= 0 ;
7814 (char *) "self",(char *) "c", NULL
7817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7819 if (SWIG_arg_fail(1)) SWIG_fail
;
7821 arg2
= (char)(SWIG_As_char(obj1
));
7822 if (SWIG_arg_fail(2)) SWIG_fail
;
7825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7826 result
= (bool)(arg1
)->Ungetch(arg2
);
7828 wxPyEndAllowThreads(__tstate
);
7829 if (PyErr_Occurred()) SWIG_fail
;
7832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7840 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7841 PyObject
*resultobj
;
7842 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7844 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7846 PyObject
* obj0
= 0 ;
7847 PyObject
* obj1
= 0 ;
7848 PyObject
* obj2
= 0 ;
7850 (char *) "self",(char *) "pos",(char *) "mode", NULL
7853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7855 if (SWIG_arg_fail(1)) SWIG_fail
;
7857 arg2
= (long)(SWIG_As_long(obj1
));
7858 if (SWIG_arg_fail(2)) SWIG_fail
;
7862 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7863 if (SWIG_arg_fail(3)) SWIG_fail
;
7867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7868 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7870 wxPyEndAllowThreads(__tstate
);
7871 if (PyErr_Occurred()) SWIG_fail
;
7874 resultobj
= SWIG_From_long((long)(result
));
7882 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7883 PyObject
*resultobj
;
7884 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7886 PyObject
* obj0
= 0 ;
7888 (char *) "self", NULL
7891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7893 if (SWIG_arg_fail(1)) SWIG_fail
;
7895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7896 result
= (long)(arg1
)->TellI();
7898 wxPyEndAllowThreads(__tstate
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7902 resultobj
= SWIG_From_long((long)(result
));
7910 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7912 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7913 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7915 return Py_BuildValue((char *)"");
7917 static PyObject
*_wrap_wxOutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7918 PyObject
*resultobj
;
7919 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7920 PyObject
*arg2
= (PyObject
*) 0 ;
7921 PyObject
* obj0
= 0 ;
7922 PyObject
* obj1
= 0 ;
7924 (char *) "self",(char *) "obj", NULL
7927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxOutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7929 if (SWIG_arg_fail(1)) SWIG_fail
;
7932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7933 wxOutputStream_write(arg1
,arg2
);
7935 wxPyEndAllowThreads(__tstate
);
7936 if (PyErr_Occurred()) SWIG_fail
;
7938 Py_INCREF(Py_None
); resultobj
= Py_None
;
7945 static PyObject
* wxOutputStream_swigregister(PyObject
*, PyObject
*args
) {
7947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7948 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7950 return Py_BuildValue((char *)"");
7952 static PyObject
*_wrap_new_wxFSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7953 PyObject
*resultobj
;
7954 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7955 wxString
*arg2
= 0 ;
7956 wxString
*arg3
= 0 ;
7957 wxString
*arg4
= 0 ;
7960 wxPyInputStream
*temp1
;
7961 bool temp2
= false ;
7962 bool temp3
= false ;
7963 bool temp4
= false ;
7964 PyObject
* obj0
= 0 ;
7965 PyObject
* obj1
= 0 ;
7966 PyObject
* obj2
= 0 ;
7967 PyObject
* obj3
= 0 ;
7968 PyObject
* obj4
= 0 ;
7970 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_wxFSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7975 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7976 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
7978 PyErr_Clear(); // clear the failure of the wxPyConvert above
7979 arg1
= wxPyCBInputStream_create(obj0
, true);
7981 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
7987 arg2
= wxString_in_helper(obj1
);
7988 if (arg2
== NULL
) SWIG_fail
;
7992 arg3
= wxString_in_helper(obj2
);
7993 if (arg3
== NULL
) SWIG_fail
;
7997 arg4
= wxString_in_helper(obj3
);
7998 if (arg4
== NULL
) SWIG_fail
;
8003 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
8004 if (SWIG_arg_fail(5)) SWIG_fail
;
8006 SWIG_null_ref("wxDateTime");
8008 if (SWIG_arg_fail(5)) SWIG_fail
;
8012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8013 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
8015 wxPyEndAllowThreads(__tstate
);
8016 if (PyErr_Occurred()) SWIG_fail
;
8019 resultobj
= wxPyMake_wxObject(result
, 1);
8051 static PyObject
*_wrap_delete_wxFSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8052 PyObject
*resultobj
;
8053 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8054 PyObject
* obj0
= 0 ;
8056 (char *) "self", NULL
8059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_wxFSFile",kwnames
,&obj0
)) goto fail
;
8060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8061 if (SWIG_arg_fail(1)) SWIG_fail
;
8063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8066 wxPyEndAllowThreads(__tstate
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8069 Py_INCREF(Py_None
); resultobj
= Py_None
;
8076 static PyObject
*_wrap_wxFSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8077 PyObject
*resultobj
;
8078 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8079 wxInputStream
*result
;
8080 PyObject
* obj0
= 0 ;
8082 (char *) "self", NULL
8085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxFSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8087 if (SWIG_arg_fail(1)) SWIG_fail
;
8089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8090 result
= (wxInputStream
*)(arg1
)->GetStream();
8092 wxPyEndAllowThreads(__tstate
);
8093 if (PyErr_Occurred()) SWIG_fail
;
8096 wxPyInputStream
* _ptr
= NULL
;
8099 _ptr
= new wxPyInputStream(result
);
8101 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8109 static PyObject
*_wrap_wxFSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8110 PyObject
*resultobj
;
8111 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8113 PyObject
* obj0
= 0 ;
8115 (char *) "self", NULL
8118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxFSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8120 if (SWIG_arg_fail(1)) SWIG_fail
;
8122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8124 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8125 result
= (wxString
*) &_result_ref
;
8128 wxPyEndAllowThreads(__tstate
);
8129 if (PyErr_Occurred()) SWIG_fail
;
8133 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8135 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8144 static PyObject
*_wrap_wxFSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8145 PyObject
*resultobj
;
8146 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8148 PyObject
* obj0
= 0 ;
8150 (char *) "self", NULL
8153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxFSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8155 if (SWIG_arg_fail(1)) SWIG_fail
;
8157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8159 wxString
const &_result_ref
= (arg1
)->GetLocation();
8160 result
= (wxString
*) &_result_ref
;
8163 wxPyEndAllowThreads(__tstate
);
8164 if (PyErr_Occurred()) SWIG_fail
;
8168 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8170 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8179 static PyObject
*_wrap_wxFSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8180 PyObject
*resultobj
;
8181 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8183 PyObject
* obj0
= 0 ;
8185 (char *) "self", NULL
8188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxFSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8190 if (SWIG_arg_fail(1)) SWIG_fail
;
8192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8194 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8195 result
= (wxString
*) &_result_ref
;
8198 wxPyEndAllowThreads(__tstate
);
8199 if (PyErr_Occurred()) SWIG_fail
;
8203 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8205 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8214 static PyObject
*_wrap_wxFSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8215 PyObject
*resultobj
;
8216 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8218 PyObject
* obj0
= 0 ;
8220 (char *) "self", NULL
8223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxFSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8225 if (SWIG_arg_fail(1)) SWIG_fail
;
8227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8228 result
= (arg1
)->GetModificationTime();
8230 wxPyEndAllowThreads(__tstate
);
8231 if (PyErr_Occurred()) SWIG_fail
;
8234 wxDateTime
* resultptr
;
8235 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8236 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8244 static PyObject
* wxFSFile_swigregister(PyObject
*, PyObject
*args
) {
8246 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8247 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8249 return Py_BuildValue((char *)"");
8251 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8253 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8254 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8256 return Py_BuildValue((char *)"");
8258 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8259 PyObject
*resultobj
;
8260 wxPyFileSystemHandler
*result
;
8265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8268 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8270 wxPyEndAllowThreads(__tstate
);
8271 if (PyErr_Occurred()) SWIG_fail
;
8273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8280 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8281 PyObject
*resultobj
;
8282 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8283 PyObject
*arg2
= (PyObject
*) 0 ;
8284 PyObject
*arg3
= (PyObject
*) 0 ;
8285 PyObject
* obj0
= 0 ;
8286 PyObject
* obj1
= 0 ;
8287 PyObject
* obj2
= 0 ;
8289 (char *) "self",(char *) "self",(char *) "_class", NULL
8292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8294 if (SWIG_arg_fail(1)) SWIG_fail
;
8298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8299 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8301 wxPyEndAllowThreads(__tstate
);
8302 if (PyErr_Occurred()) SWIG_fail
;
8304 Py_INCREF(Py_None
); resultobj
= Py_None
;
8311 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8312 PyObject
*resultobj
;
8313 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8314 wxString
*arg2
= 0 ;
8316 bool temp2
= false ;
8317 PyObject
* obj0
= 0 ;
8318 PyObject
* obj1
= 0 ;
8320 (char *) "self",(char *) "location", NULL
8323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8325 if (SWIG_arg_fail(1)) SWIG_fail
;
8327 arg2
= wxString_in_helper(obj1
);
8328 if (arg2
== NULL
) SWIG_fail
;
8332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8333 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8335 wxPyEndAllowThreads(__tstate
);
8336 if (PyErr_Occurred()) SWIG_fail
;
8339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8355 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8356 PyObject
*resultobj
;
8357 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8358 wxFileSystem
*arg2
= 0 ;
8359 wxString
*arg3
= 0 ;
8361 bool temp3
= false ;
8362 PyObject
* obj0
= 0 ;
8363 PyObject
* obj1
= 0 ;
8364 PyObject
* obj2
= 0 ;
8366 (char *) "self",(char *) "fs",(char *) "location", NULL
8369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8371 if (SWIG_arg_fail(1)) SWIG_fail
;
8373 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8374 if (SWIG_arg_fail(2)) SWIG_fail
;
8376 SWIG_null_ref("wxFileSystem");
8378 if (SWIG_arg_fail(2)) SWIG_fail
;
8381 arg3
= wxString_in_helper(obj2
);
8382 if (arg3
== NULL
) SWIG_fail
;
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8393 resultobj
= wxPyMake_wxObject(result
, 1);
8409 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8410 PyObject
*resultobj
;
8411 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8412 wxString
*arg2
= 0 ;
8413 int arg3
= (int) 0 ;
8415 bool temp2
= false ;
8416 PyObject
* obj0
= 0 ;
8417 PyObject
* obj1
= 0 ;
8418 PyObject
* obj2
= 0 ;
8420 (char *) "self",(char *) "spec",(char *) "flags", NULL
8423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8425 if (SWIG_arg_fail(1)) SWIG_fail
;
8427 arg2
= wxString_in_helper(obj1
);
8428 if (arg2
== NULL
) SWIG_fail
;
8433 arg3
= (int)(SWIG_As_int(obj2
));
8434 if (SWIG_arg_fail(3)) SWIG_fail
;
8438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8439 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8441 wxPyEndAllowThreads(__tstate
);
8442 if (PyErr_Occurred()) SWIG_fail
;
8446 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8448 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8465 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8466 PyObject
*resultobj
;
8467 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8469 PyObject
* obj0
= 0 ;
8471 (char *) "self", NULL
8474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8476 if (SWIG_arg_fail(1)) SWIG_fail
;
8478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8479 result
= (arg1
)->FindNext();
8481 wxPyEndAllowThreads(__tstate
);
8482 if (PyErr_Occurred()) SWIG_fail
;
8486 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8488 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8497 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8498 PyObject
*resultobj
;
8499 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8500 wxString
*arg2
= 0 ;
8502 bool temp2
= false ;
8503 PyObject
* obj0
= 0 ;
8504 PyObject
* obj1
= 0 ;
8506 (char *) "self",(char *) "location", NULL
8509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8511 if (SWIG_arg_fail(1)) SWIG_fail
;
8513 arg2
= wxString_in_helper(obj1
);
8514 if (arg2
== NULL
) SWIG_fail
;
8518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8519 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8521 wxPyEndAllowThreads(__tstate
);
8522 if (PyErr_Occurred()) SWIG_fail
;
8526 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8528 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8545 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8546 PyObject
*resultobj
;
8547 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8548 wxString
*arg2
= 0 ;
8550 bool temp2
= false ;
8551 PyObject
* obj0
= 0 ;
8552 PyObject
* obj1
= 0 ;
8554 (char *) "self",(char *) "location", NULL
8557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8559 if (SWIG_arg_fail(1)) SWIG_fail
;
8561 arg2
= wxString_in_helper(obj1
);
8562 if (arg2
== NULL
) SWIG_fail
;
8566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8567 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8569 wxPyEndAllowThreads(__tstate
);
8570 if (PyErr_Occurred()) SWIG_fail
;
8574 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8576 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8593 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8594 PyObject
*resultobj
;
8595 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8596 wxString
*arg2
= 0 ;
8598 bool temp2
= false ;
8599 PyObject
* obj0
= 0 ;
8600 PyObject
* obj1
= 0 ;
8602 (char *) "self",(char *) "location", NULL
8605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8607 if (SWIG_arg_fail(1)) SWIG_fail
;
8609 arg2
= wxString_in_helper(obj1
);
8610 if (arg2
== NULL
) SWIG_fail
;
8614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8615 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8617 wxPyEndAllowThreads(__tstate
);
8618 if (PyErr_Occurred()) SWIG_fail
;
8622 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8624 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8641 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8642 PyObject
*resultobj
;
8643 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8644 wxString
*arg2
= 0 ;
8646 bool temp2
= false ;
8647 PyObject
* obj0
= 0 ;
8648 PyObject
* obj1
= 0 ;
8650 (char *) "self",(char *) "location", NULL
8653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8655 if (SWIG_arg_fail(1)) SWIG_fail
;
8657 arg2
= wxString_in_helper(obj1
);
8658 if (arg2
== NULL
) SWIG_fail
;
8662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8663 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8665 wxPyEndAllowThreads(__tstate
);
8666 if (PyErr_Occurred()) SWIG_fail
;
8670 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8672 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8689 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8690 PyObject
*resultobj
;
8691 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8692 wxString
*arg2
= 0 ;
8694 bool temp2
= false ;
8695 PyObject
* obj0
= 0 ;
8696 PyObject
* obj1
= 0 ;
8698 (char *) "self",(char *) "location", NULL
8701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8703 if (SWIG_arg_fail(1)) SWIG_fail
;
8705 arg2
= wxString_in_helper(obj1
);
8706 if (arg2
== NULL
) SWIG_fail
;
8710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8711 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8713 wxPyEndAllowThreads(__tstate
);
8714 if (PyErr_Occurred()) SWIG_fail
;
8718 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8720 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8737 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8740 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8742 return Py_BuildValue((char *)"");
8744 static PyObject
*_wrap_new_wxFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8745 PyObject
*resultobj
;
8746 wxFileSystem
*result
;
8751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_wxFileSystem",kwnames
)) goto fail
;
8753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8754 result
= (wxFileSystem
*)new wxFileSystem();
8756 wxPyEndAllowThreads(__tstate
);
8757 if (PyErr_Occurred()) SWIG_fail
;
8760 resultobj
= wxPyMake_wxObject(result
, 1);
8768 static PyObject
*_wrap_delete_wxFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8769 PyObject
*resultobj
;
8770 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8771 PyObject
* obj0
= 0 ;
8773 (char *) "self", NULL
8776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_wxFileSystem",kwnames
,&obj0
)) goto fail
;
8777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8778 if (SWIG_arg_fail(1)) SWIG_fail
;
8780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8783 wxPyEndAllowThreads(__tstate
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8786 Py_INCREF(Py_None
); resultobj
= Py_None
;
8793 static PyObject
*_wrap_wxFileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8794 PyObject
*resultobj
;
8795 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8796 wxString
*arg2
= 0 ;
8797 bool arg3
= (bool) false ;
8798 bool temp2
= false ;
8799 PyObject
* obj0
= 0 ;
8800 PyObject
* obj1
= 0 ;
8801 PyObject
* obj2
= 0 ;
8803 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:wxFileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8808 if (SWIG_arg_fail(1)) SWIG_fail
;
8810 arg2
= wxString_in_helper(obj1
);
8811 if (arg2
== NULL
) SWIG_fail
;
8816 arg3
= (bool)(SWIG_As_bool(obj2
));
8817 if (SWIG_arg_fail(3)) SWIG_fail
;
8821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8822 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8824 wxPyEndAllowThreads(__tstate
);
8825 if (PyErr_Occurred()) SWIG_fail
;
8827 Py_INCREF(Py_None
); resultobj
= Py_None
;
8842 static PyObject
*_wrap_wxFileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8843 PyObject
*resultobj
;
8844 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8846 PyObject
* obj0
= 0 ;
8848 (char *) "self", NULL
8851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxFileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8853 if (SWIG_arg_fail(1)) SWIG_fail
;
8855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8856 result
= (arg1
)->GetPath();
8858 wxPyEndAllowThreads(__tstate
);
8859 if (PyErr_Occurred()) SWIG_fail
;
8863 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8865 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8874 static PyObject
*_wrap_wxFileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8875 PyObject
*resultobj
;
8876 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8877 wxString
*arg2
= 0 ;
8879 bool temp2
= false ;
8880 PyObject
* obj0
= 0 ;
8881 PyObject
* obj1
= 0 ;
8883 (char *) "self",(char *) "location", NULL
8886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxFileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8888 if (SWIG_arg_fail(1)) SWIG_fail
;
8890 arg2
= wxString_in_helper(obj1
);
8891 if (arg2
== NULL
) SWIG_fail
;
8895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8896 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8898 wxPyEndAllowThreads(__tstate
);
8899 if (PyErr_Occurred()) SWIG_fail
;
8902 resultobj
= wxPyMake_wxObject(result
, 1);
8918 static PyObject
*_wrap_wxFileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8919 PyObject
*resultobj
;
8920 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8921 wxString
*arg2
= 0 ;
8922 int arg3
= (int) 0 ;
8924 bool temp2
= false ;
8925 PyObject
* obj0
= 0 ;
8926 PyObject
* obj1
= 0 ;
8927 PyObject
* obj2
= 0 ;
8929 (char *) "self",(char *) "spec",(char *) "flags", NULL
8932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:wxFileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8934 if (SWIG_arg_fail(1)) SWIG_fail
;
8936 arg2
= wxString_in_helper(obj1
);
8937 if (arg2
== NULL
) SWIG_fail
;
8942 arg3
= (int)(SWIG_As_int(obj2
));
8943 if (SWIG_arg_fail(3)) SWIG_fail
;
8947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8948 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8950 wxPyEndAllowThreads(__tstate
);
8951 if (PyErr_Occurred()) SWIG_fail
;
8955 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8957 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8974 static PyObject
*_wrap_wxFileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8975 PyObject
*resultobj
;
8976 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8978 PyObject
* obj0
= 0 ;
8980 (char *) "self", NULL
8983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxFileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8985 if (SWIG_arg_fail(1)) SWIG_fail
;
8987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8988 result
= (arg1
)->FindNext();
8990 wxPyEndAllowThreads(__tstate
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8995 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8997 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9006 static PyObject
*_wrap_wxFileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9007 PyObject
*resultobj
;
9008 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
9009 PyObject
* obj0
= 0 ;
9011 (char *) "handler", NULL
9014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxFileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
9015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
9016 if (SWIG_arg_fail(1)) SWIG_fail
;
9018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9019 wxFileSystem::AddHandler(arg1
);
9021 wxPyEndAllowThreads(__tstate
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9024 Py_INCREF(Py_None
); resultobj
= Py_None
;
9031 static PyObject
*_wrap_wxFileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9032 PyObject
*resultobj
;
9037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":wxFileSystem_CleanUpHandlers",kwnames
)) goto fail
;
9039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9040 wxFileSystem::CleanUpHandlers();
9042 wxPyEndAllowThreads(__tstate
);
9043 if (PyErr_Occurred()) SWIG_fail
;
9045 Py_INCREF(Py_None
); resultobj
= Py_None
;
9052 static PyObject
*_wrap_wxFileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9053 PyObject
*resultobj
;
9054 wxString
*arg1
= 0 ;
9056 bool temp1
= false ;
9057 PyObject
* obj0
= 0 ;
9059 (char *) "filename", NULL
9062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxFileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9064 arg1
= wxString_in_helper(obj0
);
9065 if (arg1
== NULL
) SWIG_fail
;
9069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9070 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9072 wxPyEndAllowThreads(__tstate
);
9073 if (PyErr_Occurred()) SWIG_fail
;
9077 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9079 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9096 static PyObject
*_wrap_wxFileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9097 PyObject
*resultobj
;
9098 wxString
*arg1
= 0 ;
9100 bool temp1
= false ;
9101 PyObject
* obj0
= 0 ;
9103 (char *) "url", NULL
9106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxFileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9108 arg1
= wxString_in_helper(obj0
);
9109 if (arg1
== NULL
) SWIG_fail
;
9113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9114 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
9116 wxPyEndAllowThreads(__tstate
);
9117 if (PyErr_Occurred()) SWIG_fail
;
9121 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9123 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9140 static PyObject
* wxFileSystem_swigregister(PyObject
*, PyObject
*args
) {
9142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9143 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9145 return Py_BuildValue((char *)"");
9147 static PyObject
*_wrap_new_wxInternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9148 PyObject
*resultobj
;
9149 wxInternetFSHandler
*result
;
9154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_wxInternetFSHandler",kwnames
)) goto fail
;
9156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9157 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9159 wxPyEndAllowThreads(__tstate
);
9160 if (PyErr_Occurred()) SWIG_fail
;
9162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9169 static PyObject
*_wrap_wxInternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9170 PyObject
*resultobj
;
9171 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9172 wxString
*arg2
= 0 ;
9174 bool temp2
= false ;
9175 PyObject
* obj0
= 0 ;
9176 PyObject
* obj1
= 0 ;
9178 (char *) "self",(char *) "location", NULL
9181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxInternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9183 if (SWIG_arg_fail(1)) SWIG_fail
;
9185 arg2
= wxString_in_helper(obj1
);
9186 if (arg2
== NULL
) SWIG_fail
;
9190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9191 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9193 wxPyEndAllowThreads(__tstate
);
9194 if (PyErr_Occurred()) SWIG_fail
;
9197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9213 static PyObject
*_wrap_wxInternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
*resultobj
;
9215 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9216 wxFileSystem
*arg2
= 0 ;
9217 wxString
*arg3
= 0 ;
9219 bool temp3
= false ;
9220 PyObject
* obj0
= 0 ;
9221 PyObject
* obj1
= 0 ;
9222 PyObject
* obj2
= 0 ;
9224 (char *) "self",(char *) "fs",(char *) "location", NULL
9227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxInternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9229 if (SWIG_arg_fail(1)) SWIG_fail
;
9231 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9232 if (SWIG_arg_fail(2)) SWIG_fail
;
9234 SWIG_null_ref("wxFileSystem");
9236 if (SWIG_arg_fail(2)) SWIG_fail
;
9239 arg3
= wxString_in_helper(obj2
);
9240 if (arg3
== NULL
) SWIG_fail
;
9244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9245 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9247 wxPyEndAllowThreads(__tstate
);
9248 if (PyErr_Occurred()) SWIG_fail
;
9251 resultobj
= wxPyMake_wxObject(result
, 1);
9267 static PyObject
* wxInternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9269 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9270 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9272 return Py_BuildValue((char *)"");
9274 static PyObject
*_wrap_new_wxZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9275 PyObject
*resultobj
;
9276 wxZipFSHandler
*result
;
9281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_wxZipFSHandler",kwnames
)) goto fail
;
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9284 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9286 wxPyEndAllowThreads(__tstate
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9296 static PyObject
*_wrap_wxZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9297 PyObject
*resultobj
;
9298 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9299 wxString
*arg2
= 0 ;
9301 bool temp2
= false ;
9302 PyObject
* obj0
= 0 ;
9303 PyObject
* obj1
= 0 ;
9305 (char *) "self",(char *) "location", NULL
9308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9310 if (SWIG_arg_fail(1)) SWIG_fail
;
9312 arg2
= wxString_in_helper(obj1
);
9313 if (arg2
== NULL
) SWIG_fail
;
9317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9318 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9320 wxPyEndAllowThreads(__tstate
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9340 static PyObject
*_wrap_wxZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9341 PyObject
*resultobj
;
9342 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9343 wxFileSystem
*arg2
= 0 ;
9344 wxString
*arg3
= 0 ;
9346 bool temp3
= false ;
9347 PyObject
* obj0
= 0 ;
9348 PyObject
* obj1
= 0 ;
9349 PyObject
* obj2
= 0 ;
9351 (char *) "self",(char *) "fs",(char *) "location", NULL
9354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9356 if (SWIG_arg_fail(1)) SWIG_fail
;
9358 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9359 if (SWIG_arg_fail(2)) SWIG_fail
;
9361 SWIG_null_ref("wxFileSystem");
9363 if (SWIG_arg_fail(2)) SWIG_fail
;
9366 arg3
= wxString_in_helper(obj2
);
9367 if (arg3
== NULL
) SWIG_fail
;
9371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9372 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9374 wxPyEndAllowThreads(__tstate
);
9375 if (PyErr_Occurred()) SWIG_fail
;
9378 resultobj
= wxPyMake_wxObject(result
, 1);
9394 static PyObject
*_wrap_wxZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9395 PyObject
*resultobj
;
9396 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9397 wxString
*arg2
= 0 ;
9398 int arg3
= (int) 0 ;
9400 bool temp2
= false ;
9401 PyObject
* obj0
= 0 ;
9402 PyObject
* obj1
= 0 ;
9403 PyObject
* obj2
= 0 ;
9405 (char *) "self",(char *) "spec",(char *) "flags", NULL
9408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:wxZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9410 if (SWIG_arg_fail(1)) SWIG_fail
;
9412 arg2
= wxString_in_helper(obj1
);
9413 if (arg2
== NULL
) SWIG_fail
;
9418 arg3
= (int)(SWIG_As_int(obj2
));
9419 if (SWIG_arg_fail(3)) SWIG_fail
;
9423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9424 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9426 wxPyEndAllowThreads(__tstate
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9431 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9433 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9450 static PyObject
*_wrap_wxZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9451 PyObject
*resultobj
;
9452 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9454 PyObject
* obj0
= 0 ;
9456 (char *) "self", NULL
9459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9461 if (SWIG_arg_fail(1)) SWIG_fail
;
9463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9464 result
= (arg1
)->FindNext();
9466 wxPyEndAllowThreads(__tstate
);
9467 if (PyErr_Occurred()) SWIG_fail
;
9471 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9473 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9482 static PyObject
* wxZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9484 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9485 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9487 return Py_BuildValue((char *)"");
9489 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9490 PyObject
*resultobj
;
9491 wxString
*arg1
= 0 ;
9494 bool temp1
= false ;
9495 PyObject
* obj0
= 0 ;
9496 PyObject
* obj1
= 0 ;
9497 PyObject
* obj2
= 0 ;
9499 (char *) "filename",(char *) "image",(char *) "type", NULL
9502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9504 arg1
= wxString_in_helper(obj0
);
9505 if (arg1
== NULL
) SWIG_fail
;
9509 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9510 if (SWIG_arg_fail(2)) SWIG_fail
;
9512 SWIG_null_ref("wxImage");
9514 if (SWIG_arg_fail(2)) SWIG_fail
;
9517 arg3
= (long)(SWIG_As_long(obj2
));
9518 if (SWIG_arg_fail(3)) SWIG_fail
;
9521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9522 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9524 wxPyEndAllowThreads(__tstate
);
9525 if (PyErr_Occurred()) SWIG_fail
;
9527 Py_INCREF(Py_None
); resultobj
= Py_None
;
9542 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9543 PyObject
*resultobj
;
9544 wxString
*arg1
= 0 ;
9545 wxBitmap
*arg2
= 0 ;
9547 bool temp1
= false ;
9548 PyObject
* obj0
= 0 ;
9549 PyObject
* obj1
= 0 ;
9550 PyObject
* obj2
= 0 ;
9552 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9557 arg1
= wxString_in_helper(obj0
);
9558 if (arg1
== NULL
) SWIG_fail
;
9562 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9563 if (SWIG_arg_fail(2)) SWIG_fail
;
9565 SWIG_null_ref("wxBitmap");
9567 if (SWIG_arg_fail(2)) SWIG_fail
;
9570 arg3
= (long)(SWIG_As_long(obj2
));
9571 if (SWIG_arg_fail(3)) SWIG_fail
;
9574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9575 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9577 wxPyEndAllowThreads(__tstate
);
9578 if (PyErr_Occurred()) SWIG_fail
;
9580 Py_INCREF(Py_None
); resultobj
= Py_None
;
9595 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9596 PyObject
*resultobj
;
9597 wxString
*arg1
= 0 ;
9598 PyObject
*arg2
= (PyObject
*) 0 ;
9599 bool temp1
= false ;
9600 PyObject
* obj0
= 0 ;
9601 PyObject
* obj1
= 0 ;
9603 (char *) "filename",(char *) "data", NULL
9606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9608 arg1
= wxString_in_helper(obj0
);
9609 if (arg1
== NULL
) SWIG_fail
;
9614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9615 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9617 wxPyEndAllowThreads(__tstate
);
9618 if (PyErr_Occurred()) SWIG_fail
;
9620 Py_INCREF(Py_None
); resultobj
= Py_None
;
9635 static PyObject
*_wrap_new_wxMemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9636 PyObject
*resultobj
;
9637 wxMemoryFSHandler
*result
;
9642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_wxMemoryFSHandler",kwnames
)) goto fail
;
9644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9645 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9647 wxPyEndAllowThreads(__tstate
);
9648 if (PyErr_Occurred()) SWIG_fail
;
9650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9657 static PyObject
*_wrap_wxMemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9658 PyObject
*resultobj
;
9659 wxString
*arg1
= 0 ;
9660 bool temp1
= false ;
9661 PyObject
* obj0
= 0 ;
9663 (char *) "filename", NULL
9666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9668 arg1
= wxString_in_helper(obj0
);
9669 if (arg1
== NULL
) SWIG_fail
;
9673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9674 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9676 wxPyEndAllowThreads(__tstate
);
9677 if (PyErr_Occurred()) SWIG_fail
;
9679 Py_INCREF(Py_None
); resultobj
= Py_None
;
9694 static PyObject
*_wrap_wxMemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9695 PyObject
*resultobj
;
9696 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9697 wxString
*arg2
= 0 ;
9699 bool temp2
= false ;
9700 PyObject
* obj0
= 0 ;
9701 PyObject
* obj1
= 0 ;
9703 (char *) "self",(char *) "location", NULL
9706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9708 if (SWIG_arg_fail(1)) SWIG_fail
;
9710 arg2
= wxString_in_helper(obj1
);
9711 if (arg2
== NULL
) SWIG_fail
;
9715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9716 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9718 wxPyEndAllowThreads(__tstate
);
9719 if (PyErr_Occurred()) SWIG_fail
;
9722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9738 static PyObject
*_wrap_wxMemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9739 PyObject
*resultobj
;
9740 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9741 wxFileSystem
*arg2
= 0 ;
9742 wxString
*arg3
= 0 ;
9744 bool temp3
= false ;
9745 PyObject
* obj0
= 0 ;
9746 PyObject
* obj1
= 0 ;
9747 PyObject
* obj2
= 0 ;
9749 (char *) "self",(char *) "fs",(char *) "location", NULL
9752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxMemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9754 if (SWIG_arg_fail(1)) SWIG_fail
;
9756 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9757 if (SWIG_arg_fail(2)) SWIG_fail
;
9759 SWIG_null_ref("wxFileSystem");
9761 if (SWIG_arg_fail(2)) SWIG_fail
;
9764 arg3
= wxString_in_helper(obj2
);
9765 if (arg3
== NULL
) SWIG_fail
;
9769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9770 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9772 wxPyEndAllowThreads(__tstate
);
9773 if (PyErr_Occurred()) SWIG_fail
;
9776 resultobj
= wxPyMake_wxObject(result
, 1);
9792 static PyObject
*_wrap_wxMemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9793 PyObject
*resultobj
;
9794 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9795 wxString
*arg2
= 0 ;
9796 int arg3
= (int) 0 ;
9798 bool temp2
= false ;
9799 PyObject
* obj0
= 0 ;
9800 PyObject
* obj1
= 0 ;
9801 PyObject
* obj2
= 0 ;
9803 (char *) "self",(char *) "spec",(char *) "flags", NULL
9806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:wxMemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9808 if (SWIG_arg_fail(1)) SWIG_fail
;
9810 arg2
= wxString_in_helper(obj1
);
9811 if (arg2
== NULL
) SWIG_fail
;
9816 arg3
= (int)(SWIG_As_int(obj2
));
9817 if (SWIG_arg_fail(3)) SWIG_fail
;
9821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9822 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9824 wxPyEndAllowThreads(__tstate
);
9825 if (PyErr_Occurred()) SWIG_fail
;
9829 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9831 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9848 static PyObject
*_wrap_wxMemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9849 PyObject
*resultobj
;
9850 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9852 PyObject
* obj0
= 0 ;
9854 (char *) "self", NULL
9857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9859 if (SWIG_arg_fail(1)) SWIG_fail
;
9861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9862 result
= (arg1
)->FindNext();
9864 wxPyEndAllowThreads(__tstate
);
9865 if (PyErr_Occurred()) SWIG_fail
;
9869 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9871 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9880 static PyObject
* wxMemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9882 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9883 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9885 return Py_BuildValue((char *)"");
9887 static PyObject
*_wrap_wxImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9888 PyObject
*resultobj
;
9889 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9891 PyObject
* obj0
= 0 ;
9893 (char *) "self", NULL
9896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9898 if (SWIG_arg_fail(1)) SWIG_fail
;
9900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9901 result
= (arg1
)->GetName();
9903 wxPyEndAllowThreads(__tstate
);
9904 if (PyErr_Occurred()) SWIG_fail
;
9908 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9910 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9919 static PyObject
*_wrap_wxImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9920 PyObject
*resultobj
;
9921 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9923 PyObject
* obj0
= 0 ;
9925 (char *) "self", NULL
9928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9930 if (SWIG_arg_fail(1)) SWIG_fail
;
9932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9933 result
= (arg1
)->GetExtension();
9935 wxPyEndAllowThreads(__tstate
);
9936 if (PyErr_Occurred()) SWIG_fail
;
9940 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9942 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9951 static PyObject
*_wrap_wxImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9952 PyObject
*resultobj
;
9953 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9955 PyObject
* obj0
= 0 ;
9957 (char *) "self", NULL
9960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9962 if (SWIG_arg_fail(1)) SWIG_fail
;
9964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9965 result
= (long)(arg1
)->GetType();
9967 wxPyEndAllowThreads(__tstate
);
9968 if (PyErr_Occurred()) SWIG_fail
;
9971 resultobj
= SWIG_From_long((long)(result
));
9979 static PyObject
*_wrap_wxImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9980 PyObject
*resultobj
;
9981 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9983 PyObject
* obj0
= 0 ;
9985 (char *) "self", NULL
9988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
9989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9990 if (SWIG_arg_fail(1)) SWIG_fail
;
9992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9993 result
= (arg1
)->GetMimeType();
9995 wxPyEndAllowThreads(__tstate
);
9996 if (PyErr_Occurred()) SWIG_fail
;
10000 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10002 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10011 static PyObject
*_wrap_wxImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10012 PyObject
*resultobj
;
10013 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10014 wxString
*arg2
= 0 ;
10016 bool temp2
= false ;
10017 PyObject
* obj0
= 0 ;
10018 PyObject
* obj1
= 0 ;
10019 char *kwnames
[] = {
10020 (char *) "self",(char *) "name", NULL
10023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
10024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10025 if (SWIG_arg_fail(1)) SWIG_fail
;
10027 arg2
= wxString_in_helper(obj1
);
10028 if (arg2
== NULL
) SWIG_fail
;
10032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10033 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
10035 wxPyEndAllowThreads(__tstate
);
10036 if (PyErr_Occurred()) SWIG_fail
;
10039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10055 static PyObject
*_wrap_wxImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10056 PyObject
*resultobj
;
10057 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10058 wxString
*arg2
= 0 ;
10059 bool temp2
= false ;
10060 PyObject
* obj0
= 0 ;
10061 PyObject
* obj1
= 0 ;
10062 char *kwnames
[] = {
10063 (char *) "self",(char *) "name", NULL
10066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10068 if (SWIG_arg_fail(1)) SWIG_fail
;
10070 arg2
= wxString_in_helper(obj1
);
10071 if (arg2
== NULL
) SWIG_fail
;
10075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10076 (arg1
)->SetName((wxString
const &)*arg2
);
10078 wxPyEndAllowThreads(__tstate
);
10079 if (PyErr_Occurred()) SWIG_fail
;
10081 Py_INCREF(Py_None
); resultobj
= Py_None
;
10096 static PyObject
*_wrap_wxImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10097 PyObject
*resultobj
;
10098 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10099 wxString
*arg2
= 0 ;
10100 bool temp2
= false ;
10101 PyObject
* obj0
= 0 ;
10102 PyObject
* obj1
= 0 ;
10103 char *kwnames
[] = {
10104 (char *) "self",(char *) "extension", NULL
10107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10109 if (SWIG_arg_fail(1)) SWIG_fail
;
10111 arg2
= wxString_in_helper(obj1
);
10112 if (arg2
== NULL
) SWIG_fail
;
10116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10117 (arg1
)->SetExtension((wxString
const &)*arg2
);
10119 wxPyEndAllowThreads(__tstate
);
10120 if (PyErr_Occurred()) SWIG_fail
;
10122 Py_INCREF(Py_None
); resultobj
= Py_None
;
10137 static PyObject
*_wrap_wxImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10138 PyObject
*resultobj
;
10139 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10141 PyObject
* obj0
= 0 ;
10142 PyObject
* obj1
= 0 ;
10143 char *kwnames
[] = {
10144 (char *) "self",(char *) "type", NULL
10147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10149 if (SWIG_arg_fail(1)) SWIG_fail
;
10151 arg2
= (long)(SWIG_As_long(obj1
));
10152 if (SWIG_arg_fail(2)) SWIG_fail
;
10155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10156 (arg1
)->SetType(arg2
);
10158 wxPyEndAllowThreads(__tstate
);
10159 if (PyErr_Occurred()) SWIG_fail
;
10161 Py_INCREF(Py_None
); resultobj
= Py_None
;
10168 static PyObject
*_wrap_wxImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10169 PyObject
*resultobj
;
10170 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10171 wxString
*arg2
= 0 ;
10172 bool temp2
= false ;
10173 PyObject
* obj0
= 0 ;
10174 PyObject
* obj1
= 0 ;
10175 char *kwnames
[] = {
10176 (char *) "self",(char *) "mimetype", NULL
10179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10181 if (SWIG_arg_fail(1)) SWIG_fail
;
10183 arg2
= wxString_in_helper(obj1
);
10184 if (arg2
== NULL
) SWIG_fail
;
10188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10189 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10191 wxPyEndAllowThreads(__tstate
);
10192 if (PyErr_Occurred()) SWIG_fail
;
10194 Py_INCREF(Py_None
); resultobj
= Py_None
;
10209 static PyObject
* wxImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10212 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10214 return Py_BuildValue((char *)"");
10216 static PyObject
*_wrap_new_wxImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10217 PyObject
*resultobj
;
10218 wxImageHistogram
*result
;
10219 char *kwnames
[] = {
10223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_wxImageHistogram",kwnames
)) goto fail
;
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10226 result
= (wxImageHistogram
*)new wxImageHistogram();
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10238 static PyObject
*_wrap_wxImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10239 PyObject
*resultobj
;
10240 unsigned char arg1
;
10241 unsigned char arg2
;
10242 unsigned char arg3
;
10243 unsigned long result
;
10244 PyObject
* obj0
= 0 ;
10245 PyObject
* obj1
= 0 ;
10246 PyObject
* obj2
= 0 ;
10247 char *kwnames
[] = {
10248 (char *) "r",(char *) "g",(char *) "b", NULL
10251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10253 arg1
= (unsigned char)(SWIG_As_unsigned_SS_char(obj0
));
10254 if (SWIG_arg_fail(1)) SWIG_fail
;
10257 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10258 if (SWIG_arg_fail(2)) SWIG_fail
;
10261 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10262 if (SWIG_arg_fail(3)) SWIG_fail
;
10265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10266 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10268 wxPyEndAllowThreads(__tstate
);
10269 if (PyErr_Occurred()) SWIG_fail
;
10272 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10280 static PyObject
*_wrap_wxImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10281 PyObject
*resultobj
;
10282 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10283 unsigned char *arg2
= (unsigned char *) 0 ;
10284 unsigned char *arg3
= (unsigned char *) 0 ;
10285 unsigned char *arg4
= (unsigned char *) 0 ;
10286 unsigned char arg5
= (unsigned char) 1 ;
10287 unsigned char arg6
= (unsigned char) 0 ;
10288 unsigned char arg7
= (unsigned char) 0 ;
10290 unsigned char temp2
;
10292 unsigned char temp3
;
10294 unsigned char temp4
;
10296 PyObject
* obj0
= 0 ;
10297 PyObject
* obj1
= 0 ;
10298 PyObject
* obj2
= 0 ;
10299 PyObject
* obj3
= 0 ;
10300 char *kwnames
[] = {
10301 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10304 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10305 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10306 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:wxImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10309 if (SWIG_arg_fail(1)) SWIG_fail
;
10312 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10313 if (SWIG_arg_fail(5)) SWIG_fail
;
10318 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10319 if (SWIG_arg_fail(6)) SWIG_fail
;
10324 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10325 if (SWIG_arg_fail(7)) SWIG_fail
;
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10332 wxPyEndAllowThreads(__tstate
);
10333 if (PyErr_Occurred()) SWIG_fail
;
10336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10338 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10339 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10340 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10341 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10342 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10343 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10350 static PyObject
*_wrap_wxImageHistogram_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
*resultobj
;
10352 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10353 unsigned long arg2
;
10354 unsigned long result
;
10355 PyObject
* obj0
= 0 ;
10356 PyObject
* obj1
= 0 ;
10357 char *kwnames
[] = {
10358 (char *) "self",(char *) "key", NULL
10361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxImageHistogram_GetCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10363 if (SWIG_arg_fail(1)) SWIG_fail
;
10365 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10366 if (SWIG_arg_fail(2)) SWIG_fail
;
10369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10370 result
= (unsigned long)wxImageHistogram_GetCount(arg1
,arg2
);
10372 wxPyEndAllowThreads(__tstate
);
10373 if (PyErr_Occurred()) SWIG_fail
;
10376 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10384 static PyObject
*_wrap_wxImageHistogram_GetCountRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10385 PyObject
*resultobj
;
10386 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10387 unsigned char arg2
;
10388 unsigned char arg3
;
10389 unsigned char arg4
;
10390 unsigned long result
;
10391 PyObject
* obj0
= 0 ;
10392 PyObject
* obj1
= 0 ;
10393 PyObject
* obj2
= 0 ;
10394 PyObject
* obj3
= 0 ;
10395 char *kwnames
[] = {
10396 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:wxImageHistogram_GetCountRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10401 if (SWIG_arg_fail(1)) SWIG_fail
;
10403 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10404 if (SWIG_arg_fail(2)) SWIG_fail
;
10407 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10408 if (SWIG_arg_fail(3)) SWIG_fail
;
10411 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10412 if (SWIG_arg_fail(4)) SWIG_fail
;
10415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10416 result
= (unsigned long)wxImageHistogram_GetCountRGB(arg1
,arg2
,arg3
,arg4
);
10418 wxPyEndAllowThreads(__tstate
);
10419 if (PyErr_Occurred()) SWIG_fail
;
10422 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10430 static PyObject
*_wrap_wxImageHistogram_GetCountColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10431 PyObject
*resultobj
;
10432 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10433 wxColour
*arg2
= 0 ;
10434 unsigned long result
;
10436 PyObject
* obj0
= 0 ;
10437 PyObject
* obj1
= 0 ;
10438 char *kwnames
[] = {
10439 (char *) "self",(char *) "colour", NULL
10442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxImageHistogram_GetCountColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10444 if (SWIG_arg_fail(1)) SWIG_fail
;
10447 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10451 result
= (unsigned long)wxImageHistogram_GetCountColour(arg1
,(wxColour
const &)*arg2
);
10453 wxPyEndAllowThreads(__tstate
);
10454 if (PyErr_Occurred()) SWIG_fail
;
10457 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10465 static PyObject
* wxImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10468 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10470 return Py_BuildValue((char *)"");
10472 static PyObject
*_wrap_new_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10473 PyObject
*resultobj
;
10474 wxString
*arg1
= 0 ;
10475 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10476 int arg3
= (int) -1 ;
10478 bool temp1
= false ;
10479 PyObject
* obj0
= 0 ;
10480 PyObject
* obj1
= 0 ;
10481 PyObject
* obj2
= 0 ;
10482 char *kwnames
[] = {
10483 (char *) "name",(char *) "type",(char *) "index", NULL
10486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10488 arg1
= wxString_in_helper(obj0
);
10489 if (arg1
== NULL
) SWIG_fail
;
10494 arg2
= (long)(SWIG_As_long(obj1
));
10495 if (SWIG_arg_fail(2)) SWIG_fail
;
10500 arg3
= (int)(SWIG_As_int(obj2
));
10501 if (SWIG_arg_fail(3)) SWIG_fail
;
10505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10506 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10508 wxPyEndAllowThreads(__tstate
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10526 static PyObject
*_wrap_delete_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10527 PyObject
*resultobj
;
10528 wxImage
*arg1
= (wxImage
*) 0 ;
10529 PyObject
* obj0
= 0 ;
10530 char *kwnames
[] = {
10531 (char *) "self", NULL
10534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_wxImage",kwnames
,&obj0
)) goto fail
;
10535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10536 if (SWIG_arg_fail(1)) SWIG_fail
;
10538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10541 wxPyEndAllowThreads(__tstate
);
10542 if (PyErr_Occurred()) SWIG_fail
;
10544 Py_INCREF(Py_None
); resultobj
= Py_None
;
10551 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10552 PyObject
*resultobj
;
10553 wxString
*arg1
= 0 ;
10554 wxString
*arg2
= 0 ;
10555 int arg3
= (int) -1 ;
10557 bool temp1
= false ;
10558 bool temp2
= false ;
10559 PyObject
* obj0
= 0 ;
10560 PyObject
* obj1
= 0 ;
10561 PyObject
* obj2
= 0 ;
10562 char *kwnames
[] = {
10563 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10568 arg1
= wxString_in_helper(obj0
);
10569 if (arg1
== NULL
) SWIG_fail
;
10573 arg2
= wxString_in_helper(obj1
);
10574 if (arg2
== NULL
) SWIG_fail
;
10579 arg3
= (int)(SWIG_As_int(obj2
));
10580 if (SWIG_arg_fail(3)) SWIG_fail
;
10584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10585 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10587 wxPyEndAllowThreads(__tstate
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10613 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10614 PyObject
*resultobj
;
10615 wxInputStream
*arg1
= 0 ;
10616 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10617 int arg3
= (int) -1 ;
10619 wxPyInputStream
*temp1
;
10621 PyObject
* obj0
= 0 ;
10622 PyObject
* obj1
= 0 ;
10623 PyObject
* obj2
= 0 ;
10624 char *kwnames
[] = {
10625 (char *) "stream",(char *) "type",(char *) "index", NULL
10628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10630 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10631 arg1
= temp1
->m_wxis
;
10634 PyErr_Clear(); // clear the failure of the wxPyConvert above
10635 arg1
= wxPyCBInputStream_create(obj0
, false);
10636 if (arg1
== NULL
) {
10637 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10645 arg2
= (long)(SWIG_As_long(obj1
));
10646 if (SWIG_arg_fail(2)) SWIG_fail
;
10651 arg3
= (int)(SWIG_As_int(obj2
));
10652 if (SWIG_arg_fail(3)) SWIG_fail
;
10656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10657 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
10659 wxPyEndAllowThreads(__tstate
);
10660 if (PyErr_Occurred()) SWIG_fail
;
10662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10664 if (created1
) delete arg1
;
10669 if (created1
) delete arg1
;
10675 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10676 PyObject
*resultobj
;
10677 wxInputStream
*arg1
= 0 ;
10678 wxString
*arg2
= 0 ;
10679 int arg3
= (int) -1 ;
10681 wxPyInputStream
*temp1
;
10683 bool temp2
= false ;
10684 PyObject
* obj0
= 0 ;
10685 PyObject
* obj1
= 0 ;
10686 PyObject
* obj2
= 0 ;
10687 char *kwnames
[] = {
10688 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10693 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10694 arg1
= temp1
->m_wxis
;
10697 PyErr_Clear(); // clear the failure of the wxPyConvert above
10698 arg1
= wxPyCBInputStream_create(obj0
, false);
10699 if (arg1
== NULL
) {
10700 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10707 arg2
= wxString_in_helper(obj1
);
10708 if (arg2
== NULL
) SWIG_fail
;
10713 arg3
= (int)(SWIG_As_int(obj2
));
10714 if (SWIG_arg_fail(3)) SWIG_fail
;
10718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10719 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
10721 wxPyEndAllowThreads(__tstate
);
10722 if (PyErr_Occurred()) SWIG_fail
;
10724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10726 if (created1
) delete arg1
;
10735 if (created1
) delete arg1
;
10745 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10746 PyObject
*resultobj
;
10747 int arg1
= (int) 0 ;
10748 int arg2
= (int) 0 ;
10749 bool arg3
= (bool) true ;
10751 PyObject
* obj0
= 0 ;
10752 PyObject
* obj1
= 0 ;
10753 PyObject
* obj2
= 0 ;
10754 char *kwnames
[] = {
10755 (char *) "width",(char *) "height",(char *) "clear", NULL
10758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10761 arg1
= (int)(SWIG_As_int(obj0
));
10762 if (SWIG_arg_fail(1)) SWIG_fail
;
10767 arg2
= (int)(SWIG_As_int(obj1
));
10768 if (SWIG_arg_fail(2)) SWIG_fail
;
10773 arg3
= (bool)(SWIG_As_bool(obj2
));
10774 if (SWIG_arg_fail(3)) SWIG_fail
;
10778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10779 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10791 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10792 PyObject
*resultobj
;
10793 wxBitmap
*arg1
= 0 ;
10795 PyObject
* obj0
= 0 ;
10796 char *kwnames
[] = {
10797 (char *) "bitmap", NULL
10800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
10802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
10803 if (SWIG_arg_fail(1)) SWIG_fail
;
10804 if (arg1
== NULL
) {
10805 SWIG_null_ref("wxBitmap");
10807 if (SWIG_arg_fail(1)) SWIG_fail
;
10810 if (!wxPyCheckForApp()) SWIG_fail
;
10811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10812 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
10814 wxPyEndAllowThreads(__tstate
);
10815 if (PyErr_Occurred()) SWIG_fail
;
10817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10824 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10825 PyObject
*resultobj
;
10831 PyObject
* obj0
= 0 ;
10832 PyObject
* obj1
= 0 ;
10833 PyObject
* obj2
= 0 ;
10834 char *kwnames
[] = {
10835 (char *) "width",(char *) "height",(char *) "data", NULL
10838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10840 arg1
= (int)(SWIG_As_int(obj0
));
10841 if (SWIG_arg_fail(1)) SWIG_fail
;
10844 arg2
= (int)(SWIG_As_int(obj1
));
10845 if (SWIG_arg_fail(2)) SWIG_fail
;
10848 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
10851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10852 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
10854 wxPyEndAllowThreads(__tstate
);
10855 if (PyErr_Occurred()) SWIG_fail
;
10857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10864 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10865 PyObject
*resultobj
;
10873 PyObject
* obj0
= 0 ;
10874 PyObject
* obj1
= 0 ;
10875 PyObject
* obj2
= 0 ;
10876 PyObject
* obj3
= 0 ;
10877 char *kwnames
[] = {
10878 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10883 arg1
= (int)(SWIG_As_int(obj0
));
10884 if (SWIG_arg_fail(1)) SWIG_fail
;
10887 arg2
= (int)(SWIG_As_int(obj1
));
10888 if (SWIG_arg_fail(2)) SWIG_fail
;
10891 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
10894 if (!PyArg_Parse(obj3
, "t#", &arg5
, &arg6
)) SWIG_fail
;
10897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10898 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
10900 wxPyEndAllowThreads(__tstate
);
10901 if (PyErr_Occurred()) SWIG_fail
;
10903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10910 static PyObject
*_wrap_wxImage_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10911 PyObject
*resultobj
;
10912 wxImage
*arg1
= (wxImage
*) 0 ;
10915 PyObject
* obj0
= 0 ;
10916 PyObject
* obj1
= 0 ;
10917 PyObject
* obj2
= 0 ;
10918 char *kwnames
[] = {
10919 (char *) "self",(char *) "width",(char *) "height", NULL
10922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxImage_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10924 if (SWIG_arg_fail(1)) SWIG_fail
;
10926 arg2
= (int)(SWIG_As_int(obj1
));
10927 if (SWIG_arg_fail(2)) SWIG_fail
;
10930 arg3
= (int)(SWIG_As_int(obj2
));
10931 if (SWIG_arg_fail(3)) SWIG_fail
;
10934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10935 (arg1
)->Create(arg2
,arg3
);
10937 wxPyEndAllowThreads(__tstate
);
10938 if (PyErr_Occurred()) SWIG_fail
;
10940 Py_INCREF(Py_None
); resultobj
= Py_None
;
10947 static PyObject
*_wrap_wxImage_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10948 PyObject
*resultobj
;
10949 wxImage
*arg1
= (wxImage
*) 0 ;
10950 PyObject
* obj0
= 0 ;
10951 char *kwnames
[] = {
10952 (char *) "self", NULL
10955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxImage_Destroy",kwnames
,&obj0
)) goto fail
;
10956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10957 if (SWIG_arg_fail(1)) SWIG_fail
;
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10965 Py_INCREF(Py_None
); resultobj
= Py_None
;
10972 static PyObject
*_wrap_wxImage_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10973 PyObject
*resultobj
;
10974 wxImage
*arg1
= (wxImage
*) 0 ;
10977 SwigValueWrapper
<wxImage
> result
;
10978 PyObject
* obj0
= 0 ;
10979 PyObject
* obj1
= 0 ;
10980 PyObject
* obj2
= 0 ;
10981 char *kwnames
[] = {
10982 (char *) "self",(char *) "width",(char *) "height", NULL
10985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxImage_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10987 if (SWIG_arg_fail(1)) SWIG_fail
;
10989 arg2
= (int)(SWIG_As_int(obj1
));
10990 if (SWIG_arg_fail(2)) SWIG_fail
;
10993 arg3
= (int)(SWIG_As_int(obj2
));
10994 if (SWIG_arg_fail(3)) SWIG_fail
;
10997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10998 result
= (arg1
)->Scale(arg2
,arg3
);
11000 wxPyEndAllowThreads(__tstate
);
11001 if (PyErr_Occurred()) SWIG_fail
;
11004 wxImage
* resultptr
;
11005 resultptr
= new wxImage((wxImage
&)(result
));
11006 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11014 static PyObject
*_wrap_wxImage_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11015 PyObject
*resultobj
;
11016 wxImage
*arg1
= (wxImage
*) 0 ;
11019 SwigValueWrapper
<wxImage
> result
;
11020 PyObject
* obj0
= 0 ;
11021 PyObject
* obj1
= 0 ;
11022 PyObject
* obj2
= 0 ;
11023 char *kwnames
[] = {
11024 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
11027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxImage_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11029 if (SWIG_arg_fail(1)) SWIG_fail
;
11031 arg2
= (int)(SWIG_As_int(obj1
));
11032 if (SWIG_arg_fail(2)) SWIG_fail
;
11035 arg3
= (int)(SWIG_As_int(obj2
));
11036 if (SWIG_arg_fail(3)) SWIG_fail
;
11039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11040 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
11042 wxPyEndAllowThreads(__tstate
);
11043 if (PyErr_Occurred()) SWIG_fail
;
11046 wxImage
* resultptr
;
11047 resultptr
= new wxImage((wxImage
&)(result
));
11048 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11056 static PyObject
*_wrap_wxImage_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11057 PyObject
*resultobj
;
11058 wxImage
*arg1
= (wxImage
*) 0 ;
11062 PyObject
* obj0
= 0 ;
11063 PyObject
* obj1
= 0 ;
11064 PyObject
* obj2
= 0 ;
11065 char *kwnames
[] = {
11066 (char *) "self",(char *) "width",(char *) "height", NULL
11069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxImage_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11071 if (SWIG_arg_fail(1)) SWIG_fail
;
11073 arg2
= (int)(SWIG_As_int(obj1
));
11074 if (SWIG_arg_fail(2)) SWIG_fail
;
11077 arg3
= (int)(SWIG_As_int(obj2
));
11078 if (SWIG_arg_fail(3)) SWIG_fail
;
11081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11083 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
11084 result
= (wxImage
*) &_result_ref
;
11087 wxPyEndAllowThreads(__tstate
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11097 static PyObject
*_wrap_wxImage_Resize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11098 PyObject
*resultobj
;
11099 wxImage
*arg1
= (wxImage
*) 0 ;
11101 wxPoint
*arg3
= 0 ;
11102 int arg4
= (int) -1 ;
11103 int arg5
= (int) -1 ;
11104 int arg6
= (int) -1 ;
11108 PyObject
* obj0
= 0 ;
11109 PyObject
* obj1
= 0 ;
11110 PyObject
* obj2
= 0 ;
11111 PyObject
* obj3
= 0 ;
11112 PyObject
* obj4
= 0 ;
11113 PyObject
* obj5
= 0 ;
11114 char *kwnames
[] = {
11115 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
11118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:wxImage_Resize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11120 if (SWIG_arg_fail(1)) SWIG_fail
;
11123 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11127 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11131 arg4
= (int)(SWIG_As_int(obj3
));
11132 if (SWIG_arg_fail(4)) SWIG_fail
;
11137 arg5
= (int)(SWIG_As_int(obj4
));
11138 if (SWIG_arg_fail(5)) SWIG_fail
;
11143 arg6
= (int)(SWIG_As_int(obj5
));
11144 if (SWIG_arg_fail(6)) SWIG_fail
;
11148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11150 wxImage
&_result_ref
= (arg1
)->Resize((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
11151 result
= (wxImage
*) &_result_ref
;
11154 wxPyEndAllowThreads(__tstate
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11164 static PyObject
*_wrap_wxImage_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11165 PyObject
*resultobj
;
11166 wxImage
*arg1
= (wxImage
*) 0 ;
11169 unsigned char arg4
;
11170 unsigned char arg5
;
11171 unsigned char arg6
;
11172 PyObject
* obj0
= 0 ;
11173 PyObject
* obj1
= 0 ;
11174 PyObject
* obj2
= 0 ;
11175 PyObject
* obj3
= 0 ;
11176 PyObject
* obj4
= 0 ;
11177 PyObject
* obj5
= 0 ;
11178 char *kwnames
[] = {
11179 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
11182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:wxImage_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11184 if (SWIG_arg_fail(1)) SWIG_fail
;
11186 arg2
= (int)(SWIG_As_int(obj1
));
11187 if (SWIG_arg_fail(2)) SWIG_fail
;
11190 arg3
= (int)(SWIG_As_int(obj2
));
11191 if (SWIG_arg_fail(3)) SWIG_fail
;
11194 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11195 if (SWIG_arg_fail(4)) SWIG_fail
;
11198 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
11199 if (SWIG_arg_fail(5)) SWIG_fail
;
11202 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
11203 if (SWIG_arg_fail(6)) SWIG_fail
;
11206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11207 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
11209 wxPyEndAllowThreads(__tstate
);
11210 if (PyErr_Occurred()) SWIG_fail
;
11212 Py_INCREF(Py_None
); resultobj
= Py_None
;
11219 static PyObject
*_wrap_wxImage_SetRGBRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11220 PyObject
*resultobj
;
11221 wxImage
*arg1
= (wxImage
*) 0 ;
11223 unsigned char arg3
;
11224 unsigned char arg4
;
11225 unsigned char arg5
;
11227 PyObject
* obj0
= 0 ;
11228 PyObject
* obj1
= 0 ;
11229 PyObject
* obj2
= 0 ;
11230 PyObject
* obj3
= 0 ;
11231 PyObject
* obj4
= 0 ;
11232 char *kwnames
[] = {
11233 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
11236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:wxImage_SetRGBRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11238 if (SWIG_arg_fail(1)) SWIG_fail
;
11241 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11244 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11245 if (SWIG_arg_fail(3)) SWIG_fail
;
11248 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11249 if (SWIG_arg_fail(4)) SWIG_fail
;
11252 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
11253 if (SWIG_arg_fail(5)) SWIG_fail
;
11256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11257 (arg1
)->SetRGB((wxRect
const &)*arg2
,arg3
,arg4
,arg5
);
11259 wxPyEndAllowThreads(__tstate
);
11260 if (PyErr_Occurred()) SWIG_fail
;
11262 Py_INCREF(Py_None
); resultobj
= Py_None
;
11269 static PyObject
*_wrap_wxImage_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11270 PyObject
*resultobj
;
11271 wxImage
*arg1
= (wxImage
*) 0 ;
11274 unsigned char result
;
11275 PyObject
* obj0
= 0 ;
11276 PyObject
* obj1
= 0 ;
11277 PyObject
* obj2
= 0 ;
11278 char *kwnames
[] = {
11279 (char *) "self",(char *) "x",(char *) "y", NULL
11282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxImage_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11284 if (SWIG_arg_fail(1)) SWIG_fail
;
11286 arg2
= (int)(SWIG_As_int(obj1
));
11287 if (SWIG_arg_fail(2)) SWIG_fail
;
11290 arg3
= (int)(SWIG_As_int(obj2
));
11291 if (SWIG_arg_fail(3)) SWIG_fail
;
11294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11295 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
11297 wxPyEndAllowThreads(__tstate
);
11298 if (PyErr_Occurred()) SWIG_fail
;
11301 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11309 static PyObject
*_wrap_wxImage_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11310 PyObject
*resultobj
;
11311 wxImage
*arg1
= (wxImage
*) 0 ;
11314 unsigned char result
;
11315 PyObject
* obj0
= 0 ;
11316 PyObject
* obj1
= 0 ;
11317 PyObject
* obj2
= 0 ;
11318 char *kwnames
[] = {
11319 (char *) "self",(char *) "x",(char *) "y", NULL
11322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxImage_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11324 if (SWIG_arg_fail(1)) SWIG_fail
;
11326 arg2
= (int)(SWIG_As_int(obj1
));
11327 if (SWIG_arg_fail(2)) SWIG_fail
;
11330 arg3
= (int)(SWIG_As_int(obj2
));
11331 if (SWIG_arg_fail(3)) SWIG_fail
;
11334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11335 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
11337 wxPyEndAllowThreads(__tstate
);
11338 if (PyErr_Occurred()) SWIG_fail
;
11341 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11349 static PyObject
*_wrap_wxImage_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11350 PyObject
*resultobj
;
11351 wxImage
*arg1
= (wxImage
*) 0 ;
11354 unsigned char result
;
11355 PyObject
* obj0
= 0 ;
11356 PyObject
* obj1
= 0 ;
11357 PyObject
* obj2
= 0 ;
11358 char *kwnames
[] = {
11359 (char *) "self",(char *) "x",(char *) "y", NULL
11362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxImage_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) 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
= (int)(SWIG_As_int(obj1
));
11367 if (SWIG_arg_fail(2)) SWIG_fail
;
11370 arg3
= (int)(SWIG_As_int(obj2
));
11371 if (SWIG_arg_fail(3)) SWIG_fail
;
11374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11375 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
11377 wxPyEndAllowThreads(__tstate
);
11378 if (PyErr_Occurred()) SWIG_fail
;
11381 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11389 static PyObject
*_wrap_wxImage_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11390 PyObject
*resultobj
;
11391 wxImage
*arg1
= (wxImage
*) 0 ;
11394 unsigned char arg4
;
11395 PyObject
* obj0
= 0 ;
11396 PyObject
* obj1
= 0 ;
11397 PyObject
* obj2
= 0 ;
11398 PyObject
* obj3
= 0 ;
11399 char *kwnames
[] = {
11400 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:wxImage_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11405 if (SWIG_arg_fail(1)) SWIG_fail
;
11407 arg2
= (int)(SWIG_As_int(obj1
));
11408 if (SWIG_arg_fail(2)) SWIG_fail
;
11411 arg3
= (int)(SWIG_As_int(obj2
));
11412 if (SWIG_arg_fail(3)) SWIG_fail
;
11415 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11416 if (SWIG_arg_fail(4)) SWIG_fail
;
11419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11420 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11422 wxPyEndAllowThreads(__tstate
);
11423 if (PyErr_Occurred()) SWIG_fail
;
11425 Py_INCREF(Py_None
); resultobj
= Py_None
;
11432 static PyObject
*_wrap_wxImage_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11433 PyObject
*resultobj
;
11434 wxImage
*arg1
= (wxImage
*) 0 ;
11437 unsigned char result
;
11438 PyObject
* obj0
= 0 ;
11439 PyObject
* obj1
= 0 ;
11440 PyObject
* obj2
= 0 ;
11441 char *kwnames
[] = {
11442 (char *) "self",(char *) "x",(char *) "y", NULL
11445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxImage_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11447 if (SWIG_arg_fail(1)) SWIG_fail
;
11449 arg2
= (int)(SWIG_As_int(obj1
));
11450 if (SWIG_arg_fail(2)) SWIG_fail
;
11453 arg3
= (int)(SWIG_As_int(obj2
));
11454 if (SWIG_arg_fail(3)) SWIG_fail
;
11457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11458 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
11460 wxPyEndAllowThreads(__tstate
);
11461 if (PyErr_Occurred()) SWIG_fail
;
11464 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11472 static PyObject
*_wrap_wxImage_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11473 PyObject
*resultobj
;
11474 wxImage
*arg1
= (wxImage
*) 0 ;
11476 PyObject
* obj0
= 0 ;
11477 char *kwnames
[] = {
11478 (char *) "self", NULL
11481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxImage_HasAlpha",kwnames
,&obj0
)) goto fail
;
11482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11483 if (SWIG_arg_fail(1)) SWIG_fail
;
11485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11486 result
= (bool)(arg1
)->HasAlpha();
11488 wxPyEndAllowThreads(__tstate
);
11489 if (PyErr_Occurred()) SWIG_fail
;
11492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11500 static PyObject
*_wrap_wxImage_InitAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11501 PyObject
*resultobj
;
11502 wxImage
*arg1
= (wxImage
*) 0 ;
11503 PyObject
* obj0
= 0 ;
11504 char *kwnames
[] = {
11505 (char *) "self", NULL
11508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxImage_InitAlpha",kwnames
,&obj0
)) goto fail
;
11509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11510 if (SWIG_arg_fail(1)) SWIG_fail
;
11512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11513 (arg1
)->InitAlpha();
11515 wxPyEndAllowThreads(__tstate
);
11516 if (PyErr_Occurred()) SWIG_fail
;
11518 Py_INCREF(Py_None
); resultobj
= Py_None
;
11525 static PyObject
*_wrap_wxImage_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11526 PyObject
*resultobj
;
11527 wxImage
*arg1
= (wxImage
*) 0 ;
11528 byte
*arg2
= (byte
*) 0 ;
11529 byte
*arg3
= (byte
*) 0 ;
11530 byte
*arg4
= (byte
*) 0 ;
11531 byte arg5
= (byte
) 0 ;
11532 byte arg6
= (byte
) 0 ;
11533 byte arg7
= (byte
) 0 ;
11541 PyObject
* obj0
= 0 ;
11542 PyObject
* obj1
= 0 ;
11543 PyObject
* obj2
= 0 ;
11544 PyObject
* obj3
= 0 ;
11545 char *kwnames
[] = {
11546 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11549 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11550 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11551 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:wxImage_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11554 if (SWIG_arg_fail(1)) SWIG_fail
;
11557 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11558 if (SWIG_arg_fail(5)) SWIG_fail
;
11563 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11564 if (SWIG_arg_fail(6)) SWIG_fail
;
11569 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11570 if (SWIG_arg_fail(7)) SWIG_fail
;
11574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11575 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11577 wxPyEndAllowThreads(__tstate
);
11578 if (PyErr_Occurred()) SWIG_fail
;
11581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11583 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11584 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
11585 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11586 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
11587 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11588 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
11595 static PyObject
*_wrap_wxImage_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11596 PyObject
*resultobj
;
11597 wxImage
*arg1
= (wxImage
*) 0 ;
11598 byte arg2
= (byte
) 128 ;
11600 PyObject
* obj0
= 0 ;
11601 PyObject
* obj1
= 0 ;
11602 char *kwnames
[] = {
11603 (char *) "self",(char *) "threshold", NULL
11606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:wxImage_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11608 if (SWIG_arg_fail(1)) SWIG_fail
;
11611 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11612 if (SWIG_arg_fail(2)) SWIG_fail
;
11616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11617 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
11619 wxPyEndAllowThreads(__tstate
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11631 static PyObject
*_wrap_wxImage_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11632 PyObject
*resultobj
;
11633 wxImage
*arg1
= (wxImage
*) 0 ;
11634 unsigned char arg2
;
11635 unsigned char arg3
;
11636 unsigned char arg4
;
11638 PyObject
* obj0
= 0 ;
11639 PyObject
* obj1
= 0 ;
11640 PyObject
* obj2
= 0 ;
11641 PyObject
* obj3
= 0 ;
11642 char *kwnames
[] = {
11643 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:wxImage_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11648 if (SWIG_arg_fail(1)) SWIG_fail
;
11650 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
11651 if (SWIG_arg_fail(2)) SWIG_fail
;
11654 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11655 if (SWIG_arg_fail(3)) SWIG_fail
;
11658 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11659 if (SWIG_arg_fail(4)) SWIG_fail
;
11662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11663 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
11665 wxPyEndAllowThreads(__tstate
);
11666 if (PyErr_Occurred()) SWIG_fail
;
11669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11677 static PyObject
*_wrap_wxImage_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11678 PyObject
*resultobj
;
11679 wxImage
*arg1
= (wxImage
*) 0 ;
11680 wxImage
*arg2
= 0 ;
11685 PyObject
* obj0
= 0 ;
11686 PyObject
* obj1
= 0 ;
11687 PyObject
* obj2
= 0 ;
11688 PyObject
* obj3
= 0 ;
11689 PyObject
* obj4
= 0 ;
11690 char *kwnames
[] = {
11691 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:wxImage_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11696 if (SWIG_arg_fail(1)) SWIG_fail
;
11698 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11699 if (SWIG_arg_fail(2)) SWIG_fail
;
11700 if (arg2
== NULL
) {
11701 SWIG_null_ref("wxImage");
11703 if (SWIG_arg_fail(2)) SWIG_fail
;
11706 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11707 if (SWIG_arg_fail(3)) SWIG_fail
;
11710 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11711 if (SWIG_arg_fail(4)) SWIG_fail
;
11714 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11715 if (SWIG_arg_fail(5)) SWIG_fail
;
11718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11719 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
11721 wxPyEndAllowThreads(__tstate
);
11722 if (PyErr_Occurred()) SWIG_fail
;
11725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11733 static PyObject
*_wrap_wxImage_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11734 PyObject
*resultobj
;
11735 wxString
*arg1
= 0 ;
11737 bool temp1
= false ;
11738 PyObject
* obj0
= 0 ;
11739 char *kwnames
[] = {
11740 (char *) "name", NULL
11743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxImage_CanRead",kwnames
,&obj0
)) goto fail
;
11745 arg1
= wxString_in_helper(obj0
);
11746 if (arg1
== NULL
) SWIG_fail
;
11750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11751 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
11753 wxPyEndAllowThreads(__tstate
);
11754 if (PyErr_Occurred()) SWIG_fail
;
11757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11773 static PyObject
*_wrap_wxImage_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11774 PyObject
*resultobj
;
11775 wxString
*arg1
= 0 ;
11776 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11778 bool temp1
= false ;
11779 PyObject
* obj0
= 0 ;
11780 PyObject
* obj1
= 0 ;
11781 char *kwnames
[] = {
11782 (char *) "name",(char *) "type", NULL
11785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:wxImage_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11787 arg1
= wxString_in_helper(obj0
);
11788 if (arg1
== NULL
) SWIG_fail
;
11793 arg2
= (long)(SWIG_As_long(obj1
));
11794 if (SWIG_arg_fail(2)) SWIG_fail
;
11798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11799 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
11801 wxPyEndAllowThreads(__tstate
);
11802 if (PyErr_Occurred()) SWIG_fail
;
11805 resultobj
= SWIG_From_int((int)(result
));
11821 static PyObject
*_wrap_wxImage_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11822 PyObject
*resultobj
;
11823 wxImage
*arg1
= (wxImage
*) 0 ;
11824 wxString
*arg2
= 0 ;
11825 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11826 int arg4
= (int) -1 ;
11828 bool temp2
= false ;
11829 PyObject
* obj0
= 0 ;
11830 PyObject
* obj1
= 0 ;
11831 PyObject
* obj2
= 0 ;
11832 PyObject
* obj3
= 0 ;
11833 char *kwnames
[] = {
11834 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:wxImage_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11839 if (SWIG_arg_fail(1)) SWIG_fail
;
11841 arg2
= wxString_in_helper(obj1
);
11842 if (arg2
== NULL
) SWIG_fail
;
11847 arg3
= (long)(SWIG_As_long(obj2
));
11848 if (SWIG_arg_fail(3)) SWIG_fail
;
11853 arg4
= (int)(SWIG_As_int(obj3
));
11854 if (SWIG_arg_fail(4)) SWIG_fail
;
11858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11859 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
11861 wxPyEndAllowThreads(__tstate
);
11862 if (PyErr_Occurred()) SWIG_fail
;
11865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11881 static PyObject
*_wrap_wxImage_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11882 PyObject
*resultobj
;
11883 wxImage
*arg1
= (wxImage
*) 0 ;
11884 wxString
*arg2
= 0 ;
11885 wxString
*arg3
= 0 ;
11886 int arg4
= (int) -1 ;
11888 bool temp2
= false ;
11889 bool temp3
= false ;
11890 PyObject
* obj0
= 0 ;
11891 PyObject
* obj1
= 0 ;
11892 PyObject
* obj2
= 0 ;
11893 PyObject
* obj3
= 0 ;
11894 char *kwnames
[] = {
11895 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:wxImage_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11900 if (SWIG_arg_fail(1)) SWIG_fail
;
11902 arg2
= wxString_in_helper(obj1
);
11903 if (arg2
== NULL
) SWIG_fail
;
11907 arg3
= wxString_in_helper(obj2
);
11908 if (arg3
== NULL
) SWIG_fail
;
11913 arg4
= (int)(SWIG_As_int(obj3
));
11914 if (SWIG_arg_fail(4)) SWIG_fail
;
11918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11919 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11921 wxPyEndAllowThreads(__tstate
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11949 static PyObject
*_wrap_wxImage_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11950 PyObject
*resultobj
;
11951 wxImage
*arg1
= (wxImage
*) 0 ;
11952 wxString
*arg2
= 0 ;
11955 bool temp2
= false ;
11956 PyObject
* obj0
= 0 ;
11957 PyObject
* obj1
= 0 ;
11958 PyObject
* obj2
= 0 ;
11959 char *kwnames
[] = {
11960 (char *) "self",(char *) "name",(char *) "type", NULL
11963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxImage_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11965 if (SWIG_arg_fail(1)) SWIG_fail
;
11967 arg2
= wxString_in_helper(obj1
);
11968 if (arg2
== NULL
) SWIG_fail
;
11972 arg3
= (int)(SWIG_As_int(obj2
));
11973 if (SWIG_arg_fail(3)) SWIG_fail
;
11976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11977 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
11979 wxPyEndAllowThreads(__tstate
);
11980 if (PyErr_Occurred()) SWIG_fail
;
11983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11999 static PyObject
*_wrap_wxImage_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12000 PyObject
*resultobj
;
12001 wxImage
*arg1
= (wxImage
*) 0 ;
12002 wxString
*arg2
= 0 ;
12003 wxString
*arg3
= 0 ;
12005 bool temp2
= false ;
12006 bool temp3
= false ;
12007 PyObject
* obj0
= 0 ;
12008 PyObject
* obj1
= 0 ;
12009 PyObject
* obj2
= 0 ;
12010 char *kwnames
[] = {
12011 (char *) "self",(char *) "name",(char *) "mimetype", NULL
12014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxImage_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12016 if (SWIG_arg_fail(1)) SWIG_fail
;
12018 arg2
= wxString_in_helper(obj1
);
12019 if (arg2
== NULL
) SWIG_fail
;
12023 arg3
= wxString_in_helper(obj2
);
12024 if (arg3
== NULL
) SWIG_fail
;
12028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12029 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12031 wxPyEndAllowThreads(__tstate
);
12032 if (PyErr_Occurred()) SWIG_fail
;
12035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12059 static PyObject
*_wrap_wxImage_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12060 PyObject
*resultobj
;
12061 wxInputStream
*arg1
= 0 ;
12063 wxPyInputStream
*temp1
;
12065 PyObject
* obj0
= 0 ;
12066 char *kwnames
[] = {
12067 (char *) "stream", NULL
12070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxImage_CanReadStream",kwnames
,&obj0
)) goto fail
;
12072 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
12073 arg1
= temp1
->m_wxis
;
12076 PyErr_Clear(); // clear the failure of the wxPyConvert above
12077 arg1
= wxPyCBInputStream_create(obj0
, false);
12078 if (arg1
== NULL
) {
12079 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12087 result
= (bool)wxImage::CanRead(*arg1
);
12089 wxPyEndAllowThreads(__tstate
);
12090 if (PyErr_Occurred()) SWIG_fail
;
12093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12096 if (created1
) delete arg1
;
12101 if (created1
) delete arg1
;
12107 static PyObject
*_wrap_wxImage_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12108 PyObject
*resultobj
;
12109 wxImage
*arg1
= (wxImage
*) 0 ;
12110 wxInputStream
*arg2
= 0 ;
12111 long arg3
= (long) wxBITMAP_TYPE_ANY
;
12112 int arg4
= (int) -1 ;
12114 wxPyInputStream
*temp2
;
12116 PyObject
* obj0
= 0 ;
12117 PyObject
* obj1
= 0 ;
12118 PyObject
* obj2
= 0 ;
12119 PyObject
* obj3
= 0 ;
12120 char *kwnames
[] = {
12121 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
12124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:wxImage_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12126 if (SWIG_arg_fail(1)) SWIG_fail
;
12128 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12129 arg2
= temp2
->m_wxis
;
12132 PyErr_Clear(); // clear the failure of the wxPyConvert above
12133 arg2
= wxPyCBInputStream_create(obj1
, false);
12134 if (arg2
== NULL
) {
12135 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12143 arg3
= (long)(SWIG_As_long(obj2
));
12144 if (SWIG_arg_fail(3)) SWIG_fail
;
12149 arg4
= (int)(SWIG_As_int(obj3
));
12150 if (SWIG_arg_fail(4)) SWIG_fail
;
12154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12155 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
12157 wxPyEndAllowThreads(__tstate
);
12158 if (PyErr_Occurred()) SWIG_fail
;
12161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12164 if (created2
) delete arg2
;
12169 if (created2
) delete arg2
;
12175 static PyObject
*_wrap_wxImage_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12176 PyObject
*resultobj
;
12177 wxImage
*arg1
= (wxImage
*) 0 ;
12178 wxInputStream
*arg2
= 0 ;
12179 wxString
*arg3
= 0 ;
12180 int arg4
= (int) -1 ;
12182 wxPyInputStream
*temp2
;
12184 bool temp3
= false ;
12185 PyObject
* obj0
= 0 ;
12186 PyObject
* obj1
= 0 ;
12187 PyObject
* obj2
= 0 ;
12188 PyObject
* obj3
= 0 ;
12189 char *kwnames
[] = {
12190 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
12193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:wxImage_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12195 if (SWIG_arg_fail(1)) SWIG_fail
;
12197 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12198 arg2
= temp2
->m_wxis
;
12201 PyErr_Clear(); // clear the failure of the wxPyConvert above
12202 arg2
= wxPyCBInputStream_create(obj1
, false);
12203 if (arg2
== NULL
) {
12204 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12211 arg3
= wxString_in_helper(obj2
);
12212 if (arg3
== NULL
) SWIG_fail
;
12217 arg4
= (int)(SWIG_As_int(obj3
));
12218 if (SWIG_arg_fail(4)) SWIG_fail
;
12222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12223 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
12225 wxPyEndAllowThreads(__tstate
);
12226 if (PyErr_Occurred()) SWIG_fail
;
12229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12232 if (created2
) delete arg2
;
12241 if (created2
) delete arg2
;
12251 static PyObject
*_wrap_wxImage_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12252 PyObject
*resultobj
;
12253 wxImage
*arg1
= (wxImage
*) 0 ;
12255 PyObject
* obj0
= 0 ;
12256 char *kwnames
[] = {
12257 (char *) "self", NULL
12260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxImage_Ok",kwnames
,&obj0
)) goto fail
;
12261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12262 if (SWIG_arg_fail(1)) SWIG_fail
;
12264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12265 result
= (bool)(arg1
)->Ok();
12267 wxPyEndAllowThreads(__tstate
);
12268 if (PyErr_Occurred()) SWIG_fail
;
12271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12279 static PyObject
*_wrap_wxImage_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12280 PyObject
*resultobj
;
12281 wxImage
*arg1
= (wxImage
*) 0 ;
12283 PyObject
* obj0
= 0 ;
12284 char *kwnames
[] = {
12285 (char *) "self", NULL
12288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxImage_GetWidth",kwnames
,&obj0
)) goto fail
;
12289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12290 if (SWIG_arg_fail(1)) SWIG_fail
;
12292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12293 result
= (int)(arg1
)->GetWidth();
12295 wxPyEndAllowThreads(__tstate
);
12296 if (PyErr_Occurred()) SWIG_fail
;
12299 resultobj
= SWIG_From_int((int)(result
));
12307 static PyObject
*_wrap_wxImage_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12308 PyObject
*resultobj
;
12309 wxImage
*arg1
= (wxImage
*) 0 ;
12311 PyObject
* obj0
= 0 ;
12312 char *kwnames
[] = {
12313 (char *) "self", NULL
12316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxImage_GetHeight",kwnames
,&obj0
)) goto fail
;
12317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12318 if (SWIG_arg_fail(1)) SWIG_fail
;
12320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12321 result
= (int)(arg1
)->GetHeight();
12323 wxPyEndAllowThreads(__tstate
);
12324 if (PyErr_Occurred()) SWIG_fail
;
12327 resultobj
= SWIG_From_int((int)(result
));
12335 static PyObject
*_wrap_wxImage_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12336 PyObject
*resultobj
;
12337 wxImage
*arg1
= (wxImage
*) 0 ;
12339 PyObject
* obj0
= 0 ;
12340 char *kwnames
[] = {
12341 (char *) "self", NULL
12344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxImage_GetSize",kwnames
,&obj0
)) goto fail
;
12345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12346 if (SWIG_arg_fail(1)) SWIG_fail
;
12348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12349 result
= wxImage_GetSize(arg1
);
12351 wxPyEndAllowThreads(__tstate
);
12352 if (PyErr_Occurred()) SWIG_fail
;
12355 wxSize
* resultptr
;
12356 resultptr
= new wxSize((wxSize
&)(result
));
12357 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12365 static PyObject
*_wrap_wxImage_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12366 PyObject
*resultobj
;
12367 wxImage
*arg1
= (wxImage
*) 0 ;
12369 SwigValueWrapper
<wxImage
> result
;
12371 PyObject
* obj0
= 0 ;
12372 PyObject
* obj1
= 0 ;
12373 char *kwnames
[] = {
12374 (char *) "self",(char *) "rect", NULL
12377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxImage_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12379 if (SWIG_arg_fail(1)) SWIG_fail
;
12382 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12386 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12388 wxPyEndAllowThreads(__tstate
);
12389 if (PyErr_Occurred()) SWIG_fail
;
12392 wxImage
* resultptr
;
12393 resultptr
= new wxImage((wxImage
&)(result
));
12394 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12402 static PyObject
*_wrap_wxImage_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12403 PyObject
*resultobj
;
12404 wxImage
*arg1
= (wxImage
*) 0 ;
12406 wxPoint
*arg3
= 0 ;
12407 int arg4
= (int) -1 ;
12408 int arg5
= (int) -1 ;
12409 int arg6
= (int) -1 ;
12410 SwigValueWrapper
<wxImage
> result
;
12413 PyObject
* obj0
= 0 ;
12414 PyObject
* obj1
= 0 ;
12415 PyObject
* obj2
= 0 ;
12416 PyObject
* obj3
= 0 ;
12417 PyObject
* obj4
= 0 ;
12418 PyObject
* obj5
= 0 ;
12419 char *kwnames
[] = {
12420 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
12423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:wxImage_Size",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12425 if (SWIG_arg_fail(1)) SWIG_fail
;
12428 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12432 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12436 arg4
= (int)(SWIG_As_int(obj3
));
12437 if (SWIG_arg_fail(4)) SWIG_fail
;
12442 arg5
= (int)(SWIG_As_int(obj4
));
12443 if (SWIG_arg_fail(5)) SWIG_fail
;
12448 arg6
= (int)(SWIG_As_int(obj5
));
12449 if (SWIG_arg_fail(6)) SWIG_fail
;
12453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12454 result
= ((wxImage
const *)arg1
)->Size((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
12456 wxPyEndAllowThreads(__tstate
);
12457 if (PyErr_Occurred()) SWIG_fail
;
12460 wxImage
* resultptr
;
12461 resultptr
= new wxImage((wxImage
&)(result
));
12462 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12470 static PyObject
*_wrap_wxImage_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12471 PyObject
*resultobj
;
12472 wxImage
*arg1
= (wxImage
*) 0 ;
12473 SwigValueWrapper
<wxImage
> result
;
12474 PyObject
* obj0
= 0 ;
12475 char *kwnames
[] = {
12476 (char *) "self", NULL
12479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxImage_Copy",kwnames
,&obj0
)) goto fail
;
12480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12481 if (SWIG_arg_fail(1)) SWIG_fail
;
12483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12484 result
= (arg1
)->Copy();
12486 wxPyEndAllowThreads(__tstate
);
12487 if (PyErr_Occurred()) SWIG_fail
;
12490 wxImage
* resultptr
;
12491 resultptr
= new wxImage((wxImage
&)(result
));
12492 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12500 static PyObject
*_wrap_wxImage_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12501 PyObject
*resultobj
;
12502 wxImage
*arg1
= (wxImage
*) 0 ;
12503 wxImage
*arg2
= 0 ;
12506 PyObject
* obj0
= 0 ;
12507 PyObject
* obj1
= 0 ;
12508 PyObject
* obj2
= 0 ;
12509 PyObject
* obj3
= 0 ;
12510 char *kwnames
[] = {
12511 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:wxImage_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12516 if (SWIG_arg_fail(1)) SWIG_fail
;
12518 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12519 if (SWIG_arg_fail(2)) SWIG_fail
;
12520 if (arg2
== NULL
) {
12521 SWIG_null_ref("wxImage");
12523 if (SWIG_arg_fail(2)) SWIG_fail
;
12526 arg3
= (int)(SWIG_As_int(obj2
));
12527 if (SWIG_arg_fail(3)) SWIG_fail
;
12530 arg4
= (int)(SWIG_As_int(obj3
));
12531 if (SWIG_arg_fail(4)) SWIG_fail
;
12534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12535 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12537 wxPyEndAllowThreads(__tstate
);
12538 if (PyErr_Occurred()) SWIG_fail
;
12540 Py_INCREF(Py_None
); resultobj
= Py_None
;
12547 static PyObject
*_wrap_wxImage_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12548 PyObject
*resultobj
;
12549 wxImage
*arg1
= (wxImage
*) 0 ;
12551 PyObject
* obj0
= 0 ;
12552 char *kwnames
[] = {
12553 (char *) "self", NULL
12556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxImage_GetData",kwnames
,&obj0
)) goto fail
;
12557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12558 if (SWIG_arg_fail(1)) SWIG_fail
;
12560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12561 result
= (PyObject
*)wxImage_GetData(arg1
);
12563 wxPyEndAllowThreads(__tstate
);
12564 if (PyErr_Occurred()) SWIG_fail
;
12566 resultobj
= result
;
12573 static PyObject
*_wrap_wxImage_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12574 PyObject
*resultobj
;
12575 wxImage
*arg1
= (wxImage
*) 0 ;
12578 PyObject
* obj0
= 0 ;
12579 PyObject
* obj1
= 0 ;
12580 char *kwnames
[] = {
12581 (char *) "self",(char *) "data", NULL
12584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxImage_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12586 if (SWIG_arg_fail(1)) SWIG_fail
;
12588 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12592 wxImage_SetData(arg1
,arg2
,arg3
);
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12597 Py_INCREF(Py_None
); resultobj
= Py_None
;
12604 static PyObject
*_wrap_wxImage_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12605 PyObject
*resultobj
;
12606 wxImage
*arg1
= (wxImage
*) 0 ;
12608 PyObject
* obj0
= 0 ;
12609 char *kwnames
[] = {
12610 (char *) "self", NULL
12613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxImage_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
12614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12615 if (SWIG_arg_fail(1)) SWIG_fail
;
12617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12618 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
12620 wxPyEndAllowThreads(__tstate
);
12621 if (PyErr_Occurred()) SWIG_fail
;
12623 resultobj
= result
;
12630 static PyObject
*_wrap_wxImage_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12631 PyObject
*resultobj
;
12632 wxImage
*arg1
= (wxImage
*) 0 ;
12635 PyObject
* obj0
= 0 ;
12636 PyObject
* obj1
= 0 ;
12637 char *kwnames
[] = {
12638 (char *) "self",(char *) "data", NULL
12641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxImage_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12643 if (SWIG_arg_fail(1)) SWIG_fail
;
12645 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12649 wxImage_SetDataBuffer(arg1
,arg2
,arg3
);
12651 wxPyEndAllowThreads(__tstate
);
12652 if (PyErr_Occurred()) SWIG_fail
;
12654 Py_INCREF(Py_None
); resultobj
= Py_None
;
12661 static PyObject
*_wrap_wxImage_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12662 PyObject
*resultobj
;
12663 wxImage
*arg1
= (wxImage
*) 0 ;
12665 PyObject
* obj0
= 0 ;
12666 char *kwnames
[] = {
12667 (char *) "self", NULL
12670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxImage_GetAlphaData",kwnames
,&obj0
)) goto fail
;
12671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12672 if (SWIG_arg_fail(1)) SWIG_fail
;
12674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12675 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
12677 wxPyEndAllowThreads(__tstate
);
12678 if (PyErr_Occurred()) SWIG_fail
;
12680 resultobj
= result
;
12687 static PyObject
*_wrap_wxImage_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12688 PyObject
*resultobj
;
12689 wxImage
*arg1
= (wxImage
*) 0 ;
12692 PyObject
* obj0
= 0 ;
12693 PyObject
* obj1
= 0 ;
12694 char *kwnames
[] = {
12695 (char *) "self",(char *) "alpha", NULL
12698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxImage_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
12699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12700 if (SWIG_arg_fail(1)) SWIG_fail
;
12702 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12706 wxImage_SetAlphaData(arg1
,arg2
,arg3
);
12708 wxPyEndAllowThreads(__tstate
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12711 Py_INCREF(Py_None
); resultobj
= Py_None
;
12718 static PyObject
*_wrap_wxImage_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12719 PyObject
*resultobj
;
12720 wxImage
*arg1
= (wxImage
*) 0 ;
12722 PyObject
* obj0
= 0 ;
12723 char *kwnames
[] = {
12724 (char *) "self", NULL
12727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxImage_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
12728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12729 if (SWIG_arg_fail(1)) SWIG_fail
;
12731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12732 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
12734 wxPyEndAllowThreads(__tstate
);
12735 if (PyErr_Occurred()) SWIG_fail
;
12737 resultobj
= result
;
12744 static PyObject
*_wrap_wxImage_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12745 PyObject
*resultobj
;
12746 wxImage
*arg1
= (wxImage
*) 0 ;
12749 PyObject
* obj0
= 0 ;
12750 PyObject
* obj1
= 0 ;
12751 char *kwnames
[] = {
12752 (char *) "self",(char *) "alpha", NULL
12755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxImage_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12757 if (SWIG_arg_fail(1)) SWIG_fail
;
12759 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12763 wxImage_SetAlphaBuffer(arg1
,arg2
,arg3
);
12765 wxPyEndAllowThreads(__tstate
);
12766 if (PyErr_Occurred()) SWIG_fail
;
12768 Py_INCREF(Py_None
); resultobj
= Py_None
;
12775 static PyObject
*_wrap_wxImage_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12776 PyObject
*resultobj
;
12777 wxImage
*arg1
= (wxImage
*) 0 ;
12778 unsigned char arg2
;
12779 unsigned char arg3
;
12780 unsigned char arg4
;
12781 PyObject
* obj0
= 0 ;
12782 PyObject
* obj1
= 0 ;
12783 PyObject
* obj2
= 0 ;
12784 PyObject
* obj3
= 0 ;
12785 char *kwnames
[] = {
12786 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:wxImage_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12791 if (SWIG_arg_fail(1)) SWIG_fail
;
12793 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12794 if (SWIG_arg_fail(2)) SWIG_fail
;
12797 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12798 if (SWIG_arg_fail(3)) SWIG_fail
;
12801 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12802 if (SWIG_arg_fail(4)) SWIG_fail
;
12805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12806 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
12808 wxPyEndAllowThreads(__tstate
);
12809 if (PyErr_Occurred()) SWIG_fail
;
12811 Py_INCREF(Py_None
); resultobj
= Py_None
;
12818 static PyObject
*_wrap_wxImage_GetOrFindMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12819 PyObject
*resultobj
;
12820 wxImage
*arg1
= (wxImage
*) 0 ;
12821 unsigned char *arg2
= (unsigned char *) 0 ;
12822 unsigned char *arg3
= (unsigned char *) 0 ;
12823 unsigned char *arg4
= (unsigned char *) 0 ;
12824 unsigned char temp2
;
12826 unsigned char temp3
;
12828 unsigned char temp4
;
12830 PyObject
* obj0
= 0 ;
12831 char *kwnames
[] = {
12832 (char *) "self", NULL
12835 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
12836 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
12837 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
12838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxImage_GetOrFindMaskColour",kwnames
,&obj0
)) goto fail
;
12839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12840 if (SWIG_arg_fail(1)) SWIG_fail
;
12842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12843 ((wxImage
const *)arg1
)->GetOrFindMaskColour(arg2
,arg3
,arg4
);
12845 wxPyEndAllowThreads(__tstate
);
12846 if (PyErr_Occurred()) SWIG_fail
;
12848 Py_INCREF(Py_None
); resultobj
= Py_None
;
12849 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
12850 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
12851 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
12852 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
12853 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
12854 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
12861 static PyObject
*_wrap_wxImage_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12862 PyObject
*resultobj
;
12863 wxImage
*arg1
= (wxImage
*) 0 ;
12864 unsigned char result
;
12865 PyObject
* obj0
= 0 ;
12866 char *kwnames
[] = {
12867 (char *) "self", NULL
12870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxImage_GetMaskRed",kwnames
,&obj0
)) goto fail
;
12871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12872 if (SWIG_arg_fail(1)) SWIG_fail
;
12874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12875 result
= (unsigned char)(arg1
)->GetMaskRed();
12877 wxPyEndAllowThreads(__tstate
);
12878 if (PyErr_Occurred()) SWIG_fail
;
12881 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12889 static PyObject
*_wrap_wxImage_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12890 PyObject
*resultobj
;
12891 wxImage
*arg1
= (wxImage
*) 0 ;
12892 unsigned char result
;
12893 PyObject
* obj0
= 0 ;
12894 char *kwnames
[] = {
12895 (char *) "self", NULL
12898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxImage_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
12899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12900 if (SWIG_arg_fail(1)) SWIG_fail
;
12902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12903 result
= (unsigned char)(arg1
)->GetMaskGreen();
12905 wxPyEndAllowThreads(__tstate
);
12906 if (PyErr_Occurred()) SWIG_fail
;
12909 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12917 static PyObject
*_wrap_wxImage_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12918 PyObject
*resultobj
;
12919 wxImage
*arg1
= (wxImage
*) 0 ;
12920 unsigned char result
;
12921 PyObject
* obj0
= 0 ;
12922 char *kwnames
[] = {
12923 (char *) "self", NULL
12926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxImage_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
12927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12928 if (SWIG_arg_fail(1)) SWIG_fail
;
12930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12931 result
= (unsigned char)(arg1
)->GetMaskBlue();
12933 wxPyEndAllowThreads(__tstate
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12937 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12945 static PyObject
*_wrap_wxImage_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12946 PyObject
*resultobj
;
12947 wxImage
*arg1
= (wxImage
*) 0 ;
12948 bool arg2
= (bool) true ;
12949 PyObject
* obj0
= 0 ;
12950 PyObject
* obj1
= 0 ;
12951 char *kwnames
[] = {
12952 (char *) "self",(char *) "mask", NULL
12955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:wxImage_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
12956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12957 if (SWIG_arg_fail(1)) SWIG_fail
;
12960 arg2
= (bool)(SWIG_As_bool(obj1
));
12961 if (SWIG_arg_fail(2)) SWIG_fail
;
12965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12966 (arg1
)->SetMask(arg2
);
12968 wxPyEndAllowThreads(__tstate
);
12969 if (PyErr_Occurred()) SWIG_fail
;
12971 Py_INCREF(Py_None
); resultobj
= Py_None
;
12978 static PyObject
*_wrap_wxImage_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12979 PyObject
*resultobj
;
12980 wxImage
*arg1
= (wxImage
*) 0 ;
12982 PyObject
* obj0
= 0 ;
12983 char *kwnames
[] = {
12984 (char *) "self", NULL
12987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxImage_HasMask",kwnames
,&obj0
)) goto fail
;
12988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12989 if (SWIG_arg_fail(1)) SWIG_fail
;
12991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12992 result
= (bool)(arg1
)->HasMask();
12994 wxPyEndAllowThreads(__tstate
);
12995 if (PyErr_Occurred()) SWIG_fail
;
12998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13006 static PyObject
*_wrap_wxImage_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13007 PyObject
*resultobj
;
13008 wxImage
*arg1
= (wxImage
*) 0 ;
13010 wxPoint
*arg3
= 0 ;
13011 bool arg4
= (bool) true ;
13012 wxPoint
*arg5
= (wxPoint
*) NULL
;
13013 SwigValueWrapper
<wxImage
> result
;
13015 PyObject
* obj0
= 0 ;
13016 PyObject
* obj1
= 0 ;
13017 PyObject
* obj2
= 0 ;
13018 PyObject
* obj3
= 0 ;
13019 PyObject
* obj4
= 0 ;
13020 char *kwnames
[] = {
13021 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
13024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:wxImage_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13026 if (SWIG_arg_fail(1)) SWIG_fail
;
13028 arg2
= (double)(SWIG_As_double(obj1
));
13029 if (SWIG_arg_fail(2)) SWIG_fail
;
13033 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13037 arg4
= (bool)(SWIG_As_bool(obj3
));
13038 if (SWIG_arg_fail(4)) SWIG_fail
;
13042 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
13043 if (SWIG_arg_fail(5)) SWIG_fail
;
13046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13047 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
13049 wxPyEndAllowThreads(__tstate
);
13050 if (PyErr_Occurred()) SWIG_fail
;
13053 wxImage
* resultptr
;
13054 resultptr
= new wxImage((wxImage
&)(result
));
13055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13063 static PyObject
*_wrap_wxImage_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13064 PyObject
*resultobj
;
13065 wxImage
*arg1
= (wxImage
*) 0 ;
13066 bool arg2
= (bool) true ;
13067 SwigValueWrapper
<wxImage
> result
;
13068 PyObject
* obj0
= 0 ;
13069 PyObject
* obj1
= 0 ;
13070 char *kwnames
[] = {
13071 (char *) "self",(char *) "clockwise", NULL
13074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:wxImage_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
13075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13076 if (SWIG_arg_fail(1)) SWIG_fail
;
13079 arg2
= (bool)(SWIG_As_bool(obj1
));
13080 if (SWIG_arg_fail(2)) SWIG_fail
;
13084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13085 result
= (arg1
)->Rotate90(arg2
);
13087 wxPyEndAllowThreads(__tstate
);
13088 if (PyErr_Occurred()) SWIG_fail
;
13091 wxImage
* resultptr
;
13092 resultptr
= new wxImage((wxImage
&)(result
));
13093 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13101 static PyObject
*_wrap_wxImage_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13102 PyObject
*resultobj
;
13103 wxImage
*arg1
= (wxImage
*) 0 ;
13104 bool arg2
= (bool) true ;
13105 SwigValueWrapper
<wxImage
> result
;
13106 PyObject
* obj0
= 0 ;
13107 PyObject
* obj1
= 0 ;
13108 char *kwnames
[] = {
13109 (char *) "self",(char *) "horizontally", NULL
13112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:wxImage_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
13113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13114 if (SWIG_arg_fail(1)) SWIG_fail
;
13117 arg2
= (bool)(SWIG_As_bool(obj1
));
13118 if (SWIG_arg_fail(2)) SWIG_fail
;
13122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13123 result
= (arg1
)->Mirror(arg2
);
13125 wxPyEndAllowThreads(__tstate
);
13126 if (PyErr_Occurred()) SWIG_fail
;
13129 wxImage
* resultptr
;
13130 resultptr
= new wxImage((wxImage
&)(result
));
13131 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13139 static PyObject
*_wrap_wxImage_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13140 PyObject
*resultobj
;
13141 wxImage
*arg1
= (wxImage
*) 0 ;
13142 unsigned char arg2
;
13143 unsigned char arg3
;
13144 unsigned char arg4
;
13145 unsigned char arg5
;
13146 unsigned char arg6
;
13147 unsigned char arg7
;
13148 PyObject
* obj0
= 0 ;
13149 PyObject
* obj1
= 0 ;
13150 PyObject
* obj2
= 0 ;
13151 PyObject
* obj3
= 0 ;
13152 PyObject
* obj4
= 0 ;
13153 PyObject
* obj5
= 0 ;
13154 PyObject
* obj6
= 0 ;
13155 char *kwnames
[] = {
13156 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
13159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:wxImage_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13161 if (SWIG_arg_fail(1)) SWIG_fail
;
13163 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13164 if (SWIG_arg_fail(2)) SWIG_fail
;
13167 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13168 if (SWIG_arg_fail(3)) SWIG_fail
;
13171 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13172 if (SWIG_arg_fail(4)) SWIG_fail
;
13175 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
13176 if (SWIG_arg_fail(5)) SWIG_fail
;
13179 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
13180 if (SWIG_arg_fail(6)) SWIG_fail
;
13183 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj6
));
13184 if (SWIG_arg_fail(7)) SWIG_fail
;
13187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13188 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13190 wxPyEndAllowThreads(__tstate
);
13191 if (PyErr_Occurred()) SWIG_fail
;
13193 Py_INCREF(Py_None
); resultobj
= Py_None
;
13200 static PyObject
*_wrap_wxImage_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13201 PyObject
*resultobj
;
13202 wxImage
*arg1
= (wxImage
*) 0 ;
13203 unsigned char arg2
;
13204 unsigned char arg3
;
13205 unsigned char arg4
;
13206 SwigValueWrapper
<wxImage
> result
;
13207 PyObject
* obj0
= 0 ;
13208 PyObject
* obj1
= 0 ;
13209 PyObject
* obj2
= 0 ;
13210 PyObject
* obj3
= 0 ;
13211 char *kwnames
[] = {
13212 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
13215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:wxImage_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13217 if (SWIG_arg_fail(1)) SWIG_fail
;
13219 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13220 if (SWIG_arg_fail(2)) SWIG_fail
;
13223 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13224 if (SWIG_arg_fail(3)) SWIG_fail
;
13227 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13228 if (SWIG_arg_fail(4)) SWIG_fail
;
13231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13232 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
13234 wxPyEndAllowThreads(__tstate
);
13235 if (PyErr_Occurred()) SWIG_fail
;
13238 wxImage
* resultptr
;
13239 resultptr
= new wxImage((wxImage
&)(result
));
13240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13248 static PyObject
*_wrap_wxImage_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13249 PyObject
*resultobj
;
13250 wxImage
*arg1
= (wxImage
*) 0 ;
13251 wxString
*arg2
= 0 ;
13252 wxString
*arg3
= 0 ;
13253 bool temp2
= false ;
13254 bool temp3
= false ;
13255 PyObject
* obj0
= 0 ;
13256 PyObject
* obj1
= 0 ;
13257 PyObject
* obj2
= 0 ;
13258 char *kwnames
[] = {
13259 (char *) "self",(char *) "name",(char *) "value", NULL
13262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxImage_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13264 if (SWIG_arg_fail(1)) SWIG_fail
;
13266 arg2
= wxString_in_helper(obj1
);
13267 if (arg2
== NULL
) SWIG_fail
;
13271 arg3
= wxString_in_helper(obj2
);
13272 if (arg3
== NULL
) SWIG_fail
;
13276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13277 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13279 wxPyEndAllowThreads(__tstate
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13282 Py_INCREF(Py_None
); resultobj
= Py_None
;
13305 static PyObject
*_wrap_wxImage_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13306 PyObject
*resultobj
;
13307 wxImage
*arg1
= (wxImage
*) 0 ;
13308 wxString
*arg2
= 0 ;
13310 bool temp2
= false ;
13311 PyObject
* obj0
= 0 ;
13312 PyObject
* obj1
= 0 ;
13313 PyObject
* obj2
= 0 ;
13314 char *kwnames
[] = {
13315 (char *) "self",(char *) "name",(char *) "value", NULL
13318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxImage_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13320 if (SWIG_arg_fail(1)) SWIG_fail
;
13322 arg2
= wxString_in_helper(obj1
);
13323 if (arg2
== NULL
) SWIG_fail
;
13327 arg3
= (int)(SWIG_As_int(obj2
));
13328 if (SWIG_arg_fail(3)) SWIG_fail
;
13331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13332 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
13334 wxPyEndAllowThreads(__tstate
);
13335 if (PyErr_Occurred()) SWIG_fail
;
13337 Py_INCREF(Py_None
); resultobj
= Py_None
;
13352 static PyObject
*_wrap_wxImage_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13353 PyObject
*resultobj
;
13354 wxImage
*arg1
= (wxImage
*) 0 ;
13355 wxString
*arg2
= 0 ;
13357 bool temp2
= false ;
13358 PyObject
* obj0
= 0 ;
13359 PyObject
* obj1
= 0 ;
13360 char *kwnames
[] = {
13361 (char *) "self",(char *) "name", NULL
13364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxImage_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13366 if (SWIG_arg_fail(1)) SWIG_fail
;
13368 arg2
= wxString_in_helper(obj1
);
13369 if (arg2
== NULL
) SWIG_fail
;
13373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13374 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
13376 wxPyEndAllowThreads(__tstate
);
13377 if (PyErr_Occurred()) SWIG_fail
;
13381 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13383 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13400 static PyObject
*_wrap_wxImage_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13401 PyObject
*resultobj
;
13402 wxImage
*arg1
= (wxImage
*) 0 ;
13403 wxString
*arg2
= 0 ;
13405 bool temp2
= false ;
13406 PyObject
* obj0
= 0 ;
13407 PyObject
* obj1
= 0 ;
13408 char *kwnames
[] = {
13409 (char *) "self",(char *) "name", NULL
13412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxImage_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13414 if (SWIG_arg_fail(1)) SWIG_fail
;
13416 arg2
= wxString_in_helper(obj1
);
13417 if (arg2
== NULL
) SWIG_fail
;
13421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13422 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
13424 wxPyEndAllowThreads(__tstate
);
13425 if (PyErr_Occurred()) SWIG_fail
;
13428 resultobj
= SWIG_From_int((int)(result
));
13444 static PyObject
*_wrap_wxImage_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13445 PyObject
*resultobj
;
13446 wxImage
*arg1
= (wxImage
*) 0 ;
13447 wxString
*arg2
= 0 ;
13449 bool temp2
= false ;
13450 PyObject
* obj0
= 0 ;
13451 PyObject
* obj1
= 0 ;
13452 char *kwnames
[] = {
13453 (char *) "self",(char *) "name", NULL
13456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxImage_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13458 if (SWIG_arg_fail(1)) SWIG_fail
;
13460 arg2
= wxString_in_helper(obj1
);
13461 if (arg2
== NULL
) SWIG_fail
;
13465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13466 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13468 wxPyEndAllowThreads(__tstate
);
13469 if (PyErr_Occurred()) SWIG_fail
;
13472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13488 static PyObject
*_wrap_wxImage_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13489 PyObject
*resultobj
;
13490 wxImage
*arg1
= (wxImage
*) 0 ;
13491 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13492 unsigned long result
;
13493 PyObject
* obj0
= 0 ;
13494 PyObject
* obj1
= 0 ;
13495 char *kwnames
[] = {
13496 (char *) "self",(char *) "stopafter", NULL
13499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:wxImage_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13501 if (SWIG_arg_fail(1)) SWIG_fail
;
13504 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13505 if (SWIG_arg_fail(2)) SWIG_fail
;
13509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13510 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13512 wxPyEndAllowThreads(__tstate
);
13513 if (PyErr_Occurred()) SWIG_fail
;
13516 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13524 static PyObject
*_wrap_wxImage_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13525 PyObject
*resultobj
;
13526 wxImage
*arg1
= (wxImage
*) 0 ;
13527 wxImageHistogram
*arg2
= 0 ;
13528 unsigned long result
;
13529 PyObject
* obj0
= 0 ;
13530 PyObject
* obj1
= 0 ;
13531 char *kwnames
[] = {
13532 (char *) "self",(char *) "h", NULL
13535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxImage_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13537 if (SWIG_arg_fail(1)) SWIG_fail
;
13539 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13540 if (SWIG_arg_fail(2)) SWIG_fail
;
13541 if (arg2
== NULL
) {
13542 SWIG_null_ref("wxImageHistogram");
13544 if (SWIG_arg_fail(2)) SWIG_fail
;
13547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13548 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
13550 wxPyEndAllowThreads(__tstate
);
13551 if (PyErr_Occurred()) SWIG_fail
;
13554 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13562 static PyObject
*_wrap_wxImage_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13563 PyObject
*resultobj
;
13564 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13565 PyObject
* obj0
= 0 ;
13566 char *kwnames
[] = {
13567 (char *) "handler", NULL
13570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxImage_AddHandler",kwnames
,&obj0
)) goto fail
;
13571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13572 if (SWIG_arg_fail(1)) SWIG_fail
;
13574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13575 wxImage::AddHandler(arg1
);
13577 wxPyEndAllowThreads(__tstate
);
13578 if (PyErr_Occurred()) SWIG_fail
;
13580 Py_INCREF(Py_None
); resultobj
= Py_None
;
13587 static PyObject
*_wrap_wxImage_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13588 PyObject
*resultobj
;
13589 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13590 PyObject
* obj0
= 0 ;
13591 char *kwnames
[] = {
13592 (char *) "handler", NULL
13595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxImage_InsertHandler",kwnames
,&obj0
)) goto fail
;
13596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13597 if (SWIG_arg_fail(1)) SWIG_fail
;
13599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13600 wxImage::InsertHandler(arg1
);
13602 wxPyEndAllowThreads(__tstate
);
13603 if (PyErr_Occurred()) SWIG_fail
;
13605 Py_INCREF(Py_None
); resultobj
= Py_None
;
13612 static PyObject
*_wrap_wxImage_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13613 PyObject
*resultobj
;
13614 wxString
*arg1
= 0 ;
13616 bool temp1
= false ;
13617 PyObject
* obj0
= 0 ;
13618 char *kwnames
[] = {
13619 (char *) "name", NULL
13622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxImage_RemoveHandler",kwnames
,&obj0
)) goto fail
;
13624 arg1
= wxString_in_helper(obj0
);
13625 if (arg1
== NULL
) SWIG_fail
;
13629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13630 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
13632 wxPyEndAllowThreads(__tstate
);
13633 if (PyErr_Occurred()) SWIG_fail
;
13636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13652 static PyObject
*_wrap_wxImage_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13653 PyObject
*resultobj
;
13655 char *kwnames
[] = {
13659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":wxImage_GetImageExtWildcard",kwnames
)) goto fail
;
13661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13662 result
= wxImage::GetImageExtWildcard();
13664 wxPyEndAllowThreads(__tstate
);
13665 if (PyErr_Occurred()) SWIG_fail
;
13669 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13671 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13680 static PyObject
*_wrap_wxImage_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13681 PyObject
*resultobj
;
13682 wxImage
*arg1
= (wxImage
*) 0 ;
13683 int arg2
= (int) -1 ;
13685 PyObject
* obj0
= 0 ;
13686 PyObject
* obj1
= 0 ;
13687 char *kwnames
[] = {
13688 (char *) "self",(char *) "depth", NULL
13691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:wxImage_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13693 if (SWIG_arg_fail(1)) SWIG_fail
;
13696 arg2
= (int)(SWIG_As_int(obj1
));
13697 if (SWIG_arg_fail(2)) SWIG_fail
;
13701 if (!wxPyCheckForApp()) SWIG_fail
;
13702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13703 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
13705 wxPyEndAllowThreads(__tstate
);
13706 if (PyErr_Occurred()) SWIG_fail
;
13709 wxBitmap
* resultptr
;
13710 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13711 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13719 static PyObject
*_wrap_wxImage_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13720 PyObject
*resultobj
;
13721 wxImage
*arg1
= (wxImage
*) 0 ;
13722 unsigned char arg2
;
13723 unsigned char arg3
;
13724 unsigned char arg4
;
13726 PyObject
* obj0
= 0 ;
13727 PyObject
* obj1
= 0 ;
13728 PyObject
* obj2
= 0 ;
13729 PyObject
* obj3
= 0 ;
13730 char *kwnames
[] = {
13731 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:wxImage_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13736 if (SWIG_arg_fail(1)) SWIG_fail
;
13738 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13739 if (SWIG_arg_fail(2)) SWIG_fail
;
13742 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13743 if (SWIG_arg_fail(3)) SWIG_fail
;
13746 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13747 if (SWIG_arg_fail(4)) SWIG_fail
;
13750 if (!wxPyCheckForApp()) SWIG_fail
;
13751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13752 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
13754 wxPyEndAllowThreads(__tstate
);
13755 if (PyErr_Occurred()) SWIG_fail
;
13758 wxBitmap
* resultptr
;
13759 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13760 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13768 static PyObject
* wxImage_swigregister(PyObject
*, PyObject
*args
) {
13770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13771 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
13773 return Py_BuildValue((char *)"");
13775 static int _wrap_wxNullImage_set(PyObject
*) {
13776 PyErr_SetString(PyExc_TypeError
,"Variable wxNullImage is read-only.");
13781 static PyObject
*_wrap_wxNullImage_get(void) {
13784 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
13789 static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject
*) {
13790 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
13795 static PyObject
*_wrap_IMAGE_OPTION_FILENAME_get(void) {
13800 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13802 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13809 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
13810 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13815 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13820 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13822 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13829 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
13830 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13835 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13840 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13842 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13849 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
13850 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13855 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13860 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13862 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13869 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
13870 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13875 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13880 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13882 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13889 static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
13890 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
13895 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
13900 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13902 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13909 static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
13910 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
13915 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
13920 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13922 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13929 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
13930 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
13935 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
13940 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13942 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13949 static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject
*) {
13950 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
13955 static PyObject
*_wrap_IMAGE_OPTION_QUALITY_get(void) {
13960 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
13962 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
13969 static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
13970 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
13975 static PyObject
*_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
13980 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
13982 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
13989 static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
13990 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
13995 static PyObject
*_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
14000 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14002 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14009 static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
14010 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
14015 static PyObject
*_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
14020 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14022 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14029 static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
14030 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
14035 static PyObject
*_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
14040 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14042 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14049 static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
14050 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
14055 static PyObject
*_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) {
14060 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14062 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14069 static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
14070 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
14075 static PyObject
*_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) {
14080 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14082 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14089 static PyObject
*_wrap_new_wxBMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14090 PyObject
*resultobj
;
14091 wxBMPHandler
*result
;
14092 char *kwnames
[] = {
14096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_wxBMPHandler",kwnames
)) goto fail
;
14098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14099 result
= (wxBMPHandler
*)new wxBMPHandler();
14101 wxPyEndAllowThreads(__tstate
);
14102 if (PyErr_Occurred()) SWIG_fail
;
14104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
14111 static PyObject
* wxBMPHandler_swigregister(PyObject
*, PyObject
*args
) {
14113 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14114 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
14116 return Py_BuildValue((char *)"");
14118 static PyObject
*_wrap_new_wxICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14119 PyObject
*resultobj
;
14120 wxICOHandler
*result
;
14121 char *kwnames
[] = {
14125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_wxICOHandler",kwnames
)) goto fail
;
14127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14128 result
= (wxICOHandler
*)new wxICOHandler();
14130 wxPyEndAllowThreads(__tstate
);
14131 if (PyErr_Occurred()) SWIG_fail
;
14133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
14140 static PyObject
* wxICOHandler_swigregister(PyObject
*, PyObject
*args
) {
14142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14143 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
14145 return Py_BuildValue((char *)"");
14147 static PyObject
*_wrap_new_wxCURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14148 PyObject
*resultobj
;
14149 wxCURHandler
*result
;
14150 char *kwnames
[] = {
14154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_wxCURHandler",kwnames
)) goto fail
;
14156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14157 result
= (wxCURHandler
*)new wxCURHandler();
14159 wxPyEndAllowThreads(__tstate
);
14160 if (PyErr_Occurred()) SWIG_fail
;
14162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
14169 static PyObject
* wxCURHandler_swigregister(PyObject
*, PyObject
*args
) {
14171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14172 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
14174 return Py_BuildValue((char *)"");
14176 static PyObject
*_wrap_new_wxANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14177 PyObject
*resultobj
;
14178 wxANIHandler
*result
;
14179 char *kwnames
[] = {
14183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_wxANIHandler",kwnames
)) goto fail
;
14185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14186 result
= (wxANIHandler
*)new wxANIHandler();
14188 wxPyEndAllowThreads(__tstate
);
14189 if (PyErr_Occurred()) SWIG_fail
;
14191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
14198 static PyObject
* wxANIHandler_swigregister(PyObject
*, PyObject
*args
) {
14200 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14201 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
14203 return Py_BuildValue((char *)"");
14205 static PyObject
*_wrap_new_wxPNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14206 PyObject
*resultobj
;
14207 wxPNGHandler
*result
;
14208 char *kwnames
[] = {
14212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_wxPNGHandler",kwnames
)) goto fail
;
14214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14215 result
= (wxPNGHandler
*)new wxPNGHandler();
14217 wxPyEndAllowThreads(__tstate
);
14218 if (PyErr_Occurred()) SWIG_fail
;
14220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
14227 static PyObject
* wxPNGHandler_swigregister(PyObject
*, PyObject
*args
) {
14229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14230 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
14232 return Py_BuildValue((char *)"");
14234 static PyObject
*_wrap_new_wxGIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14235 PyObject
*resultobj
;
14236 wxGIFHandler
*result
;
14237 char *kwnames
[] = {
14241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_wxGIFHandler",kwnames
)) goto fail
;
14243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14244 result
= (wxGIFHandler
*)new wxGIFHandler();
14246 wxPyEndAllowThreads(__tstate
);
14247 if (PyErr_Occurred()) SWIG_fail
;
14249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
14256 static PyObject
* wxGIFHandler_swigregister(PyObject
*, PyObject
*args
) {
14258 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14259 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
14261 return Py_BuildValue((char *)"");
14263 static PyObject
*_wrap_new_wxPCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14264 PyObject
*resultobj
;
14265 wxPCXHandler
*result
;
14266 char *kwnames
[] = {
14270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_wxPCXHandler",kwnames
)) goto fail
;
14272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14273 result
= (wxPCXHandler
*)new wxPCXHandler();
14275 wxPyEndAllowThreads(__tstate
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
14285 static PyObject
* wxPCXHandler_swigregister(PyObject
*, PyObject
*args
) {
14287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14288 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
14290 return Py_BuildValue((char *)"");
14292 static PyObject
*_wrap_new_wxJPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14293 PyObject
*resultobj
;
14294 wxJPEGHandler
*result
;
14295 char *kwnames
[] = {
14299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_wxJPEGHandler",kwnames
)) goto fail
;
14301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14302 result
= (wxJPEGHandler
*)new wxJPEGHandler();
14304 wxPyEndAllowThreads(__tstate
);
14305 if (PyErr_Occurred()) SWIG_fail
;
14307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
14314 static PyObject
* wxJPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
14316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14317 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
14319 return Py_BuildValue((char *)"");
14321 static PyObject
*_wrap_new_wxPNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14322 PyObject
*resultobj
;
14323 wxPNMHandler
*result
;
14324 char *kwnames
[] = {
14328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_wxPNMHandler",kwnames
)) goto fail
;
14330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14331 result
= (wxPNMHandler
*)new wxPNMHandler();
14333 wxPyEndAllowThreads(__tstate
);
14334 if (PyErr_Occurred()) SWIG_fail
;
14336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
14343 static PyObject
* wxPNMHandler_swigregister(PyObject
*, PyObject
*args
) {
14345 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14346 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
14348 return Py_BuildValue((char *)"");
14350 static PyObject
*_wrap_new_wxXPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14351 PyObject
*resultobj
;
14352 wxXPMHandler
*result
;
14353 char *kwnames
[] = {
14357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_wxXPMHandler",kwnames
)) goto fail
;
14359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14360 result
= (wxXPMHandler
*)new wxXPMHandler();
14362 wxPyEndAllowThreads(__tstate
);
14363 if (PyErr_Occurred()) SWIG_fail
;
14365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
14372 static PyObject
* wxXPMHandler_swigregister(PyObject
*, PyObject
*args
) {
14374 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14375 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
14377 return Py_BuildValue((char *)"");
14379 static PyObject
*_wrap_new_wxTIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14380 PyObject
*resultobj
;
14381 wxTIFFHandler
*result
;
14382 char *kwnames
[] = {
14386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_wxTIFFHandler",kwnames
)) goto fail
;
14388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14389 result
= (wxTIFFHandler
*)new wxTIFFHandler();
14391 wxPyEndAllowThreads(__tstate
);
14392 if (PyErr_Occurred()) SWIG_fail
;
14394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
14401 static PyObject
* wxTIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
14403 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14404 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
14406 return Py_BuildValue((char *)"");
14408 static PyObject
*_wrap_wxQuantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14409 PyObject
*resultobj
;
14410 wxImage
*arg1
= 0 ;
14411 wxImage
*arg2
= 0 ;
14412 int arg3
= (int) 236 ;
14413 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
14415 PyObject
* obj0
= 0 ;
14416 PyObject
* obj1
= 0 ;
14417 PyObject
* obj2
= 0 ;
14418 PyObject
* obj3
= 0 ;
14419 char *kwnames
[] = {
14420 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
14423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:wxQuantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14426 if (SWIG_arg_fail(1)) SWIG_fail
;
14427 if (arg1
== NULL
) {
14428 SWIG_null_ref("wxImage");
14430 if (SWIG_arg_fail(1)) SWIG_fail
;
14433 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14434 if (SWIG_arg_fail(2)) SWIG_fail
;
14435 if (arg2
== NULL
) {
14436 SWIG_null_ref("wxImage");
14438 if (SWIG_arg_fail(2)) SWIG_fail
;
14442 arg3
= (int)(SWIG_As_int(obj2
));
14443 if (SWIG_arg_fail(3)) SWIG_fail
;
14448 arg4
= (int)(SWIG_As_int(obj3
));
14449 if (SWIG_arg_fail(4)) SWIG_fail
;
14453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14454 result
= (bool)wxQuantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
14456 wxPyEndAllowThreads(__tstate
);
14457 if (PyErr_Occurred()) SWIG_fail
;
14460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14468 static PyObject
* wxQuantize_swigregister(PyObject
*, PyObject
*args
) {
14470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14471 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
14473 return Py_BuildValue((char *)"");
14475 static PyObject
*_wrap_new_wxEvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14476 PyObject
*resultobj
;
14477 wxEvtHandler
*result
;
14478 char *kwnames
[] = {
14482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_wxEvtHandler",kwnames
)) goto fail
;
14484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14485 result
= (wxEvtHandler
*)new wxEvtHandler();
14487 wxPyEndAllowThreads(__tstate
);
14488 if (PyErr_Occurred()) SWIG_fail
;
14490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
14497 static PyObject
*_wrap_wxEvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14498 PyObject
*resultobj
;
14499 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14500 wxEvtHandler
*result
;
14501 PyObject
* obj0
= 0 ;
14502 char *kwnames
[] = {
14503 (char *) "self", NULL
14506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxEvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
14507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14508 if (SWIG_arg_fail(1)) SWIG_fail
;
14510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14511 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
14513 wxPyEndAllowThreads(__tstate
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14517 resultobj
= wxPyMake_wxObject(result
, 0);
14525 static PyObject
*_wrap_wxEvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14526 PyObject
*resultobj
;
14527 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14528 wxEvtHandler
*result
;
14529 PyObject
* obj0
= 0 ;
14530 char *kwnames
[] = {
14531 (char *) "self", NULL
14534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxEvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
14535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14536 if (SWIG_arg_fail(1)) SWIG_fail
;
14538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14539 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
14541 wxPyEndAllowThreads(__tstate
);
14542 if (PyErr_Occurred()) SWIG_fail
;
14545 resultobj
= wxPyMake_wxObject(result
, 0);
14553 static PyObject
*_wrap_wxEvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14554 PyObject
*resultobj
;
14555 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14556 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14557 PyObject
* obj0
= 0 ;
14558 PyObject
* obj1
= 0 ;
14559 char *kwnames
[] = {
14560 (char *) "self",(char *) "handler", NULL
14563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxEvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14565 if (SWIG_arg_fail(1)) SWIG_fail
;
14566 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14567 if (SWIG_arg_fail(2)) SWIG_fail
;
14569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14570 (arg1
)->SetNextHandler(arg2
);
14572 wxPyEndAllowThreads(__tstate
);
14573 if (PyErr_Occurred()) SWIG_fail
;
14575 Py_INCREF(Py_None
); resultobj
= Py_None
;
14582 static PyObject
*_wrap_wxEvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14583 PyObject
*resultobj
;
14584 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14585 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14586 PyObject
* obj0
= 0 ;
14587 PyObject
* obj1
= 0 ;
14588 char *kwnames
[] = {
14589 (char *) "self",(char *) "handler", NULL
14592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxEvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14594 if (SWIG_arg_fail(1)) SWIG_fail
;
14595 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14596 if (SWIG_arg_fail(2)) SWIG_fail
;
14598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14599 (arg1
)->SetPreviousHandler(arg2
);
14601 wxPyEndAllowThreads(__tstate
);
14602 if (PyErr_Occurred()) SWIG_fail
;
14604 Py_INCREF(Py_None
); resultobj
= Py_None
;
14611 static PyObject
*_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14612 PyObject
*resultobj
;
14613 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14615 PyObject
* obj0
= 0 ;
14616 char *kwnames
[] = {
14617 (char *) "self", NULL
14620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxEvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
14621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14622 if (SWIG_arg_fail(1)) SWIG_fail
;
14624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14625 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
14627 wxPyEndAllowThreads(__tstate
);
14628 if (PyErr_Occurred()) SWIG_fail
;
14631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14639 static PyObject
*_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14640 PyObject
*resultobj
;
14641 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14643 PyObject
* obj0
= 0 ;
14644 PyObject
* obj1
= 0 ;
14645 char *kwnames
[] = {
14646 (char *) "self",(char *) "enabled", NULL
14649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxEvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
14650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14651 if (SWIG_arg_fail(1)) SWIG_fail
;
14653 arg2
= (bool)(SWIG_As_bool(obj1
));
14654 if (SWIG_arg_fail(2)) SWIG_fail
;
14657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14658 (arg1
)->SetEvtHandlerEnabled(arg2
);
14660 wxPyEndAllowThreads(__tstate
);
14661 if (PyErr_Occurred()) SWIG_fail
;
14663 Py_INCREF(Py_None
); resultobj
= Py_None
;
14670 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14671 PyObject
*resultobj
;
14672 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14673 wxEvent
*arg2
= 0 ;
14675 PyObject
* obj0
= 0 ;
14676 PyObject
* obj1
= 0 ;
14677 char *kwnames
[] = {
14678 (char *) "self",(char *) "event", NULL
14681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxEvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14683 if (SWIG_arg_fail(1)) SWIG_fail
;
14685 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14686 if (SWIG_arg_fail(2)) SWIG_fail
;
14687 if (arg2
== NULL
) {
14688 SWIG_null_ref("wxEvent");
14690 if (SWIG_arg_fail(2)) SWIG_fail
;
14693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14694 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
14696 wxPyEndAllowThreads(__tstate
);
14697 if (PyErr_Occurred()) SWIG_fail
;
14700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14708 static PyObject
*_wrap_wxEvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14709 PyObject
*resultobj
;
14710 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14711 wxEvent
*arg2
= 0 ;
14712 PyObject
* obj0
= 0 ;
14713 PyObject
* obj1
= 0 ;
14714 char *kwnames
[] = {
14715 (char *) "self",(char *) "event", NULL
14718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxEvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14720 if (SWIG_arg_fail(1)) SWIG_fail
;
14722 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14723 if (SWIG_arg_fail(2)) SWIG_fail
;
14724 if (arg2
== NULL
) {
14725 SWIG_null_ref("wxEvent");
14727 if (SWIG_arg_fail(2)) SWIG_fail
;
14730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14731 (arg1
)->AddPendingEvent(*arg2
);
14733 wxPyEndAllowThreads(__tstate
);
14734 if (PyErr_Occurred()) SWIG_fail
;
14736 Py_INCREF(Py_None
); resultobj
= Py_None
;
14743 static PyObject
*_wrap_wxEvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14744 PyObject
*resultobj
;
14745 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14746 PyObject
* obj0
= 0 ;
14747 char *kwnames
[] = {
14748 (char *) "self", NULL
14751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxEvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
14752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14753 if (SWIG_arg_fail(1)) SWIG_fail
;
14755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14756 (arg1
)->ProcessPendingEvents();
14758 wxPyEndAllowThreads(__tstate
);
14759 if (PyErr_Occurred()) SWIG_fail
;
14761 Py_INCREF(Py_None
); resultobj
= Py_None
;
14768 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14769 PyObject
*resultobj
;
14770 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14774 PyObject
*arg5
= (PyObject
*) 0 ;
14775 PyObject
* obj0
= 0 ;
14776 PyObject
* obj1
= 0 ;
14777 PyObject
* obj2
= 0 ;
14778 PyObject
* obj3
= 0 ;
14779 PyObject
* obj4
= 0 ;
14780 char *kwnames
[] = {
14781 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:wxEvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14786 if (SWIG_arg_fail(1)) SWIG_fail
;
14788 arg2
= (int)(SWIG_As_int(obj1
));
14789 if (SWIG_arg_fail(2)) SWIG_fail
;
14792 arg3
= (int)(SWIG_As_int(obj2
));
14793 if (SWIG_arg_fail(3)) SWIG_fail
;
14796 arg4
= (int)(SWIG_As_int(obj3
));
14797 if (SWIG_arg_fail(4)) SWIG_fail
;
14801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14802 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
14804 wxPyEndAllowThreads(__tstate
);
14805 if (PyErr_Occurred()) SWIG_fail
;
14807 Py_INCREF(Py_None
); resultobj
= Py_None
;
14814 static PyObject
*_wrap_wxEvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14815 PyObject
*resultobj
;
14816 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14818 int arg3
= (int) -1 ;
14819 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
14821 PyObject
* obj0
= 0 ;
14822 PyObject
* obj1
= 0 ;
14823 PyObject
* obj2
= 0 ;
14824 PyObject
* obj3
= 0 ;
14825 char *kwnames
[] = {
14826 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:wxEvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14831 if (SWIG_arg_fail(1)) SWIG_fail
;
14833 arg2
= (int)(SWIG_As_int(obj1
));
14834 if (SWIG_arg_fail(2)) SWIG_fail
;
14838 arg3
= (int)(SWIG_As_int(obj2
));
14839 if (SWIG_arg_fail(3)) SWIG_fail
;
14844 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
14845 if (SWIG_arg_fail(4)) SWIG_fail
;
14849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14850 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
14852 wxPyEndAllowThreads(__tstate
);
14853 if (PyErr_Occurred()) SWIG_fail
;
14856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14864 static PyObject
*_wrap_wxEvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14865 PyObject
*resultobj
;
14866 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14867 PyObject
*arg2
= (PyObject
*) 0 ;
14868 bool arg3
= (bool) true ;
14869 PyObject
* obj0
= 0 ;
14870 PyObject
* obj1
= 0 ;
14871 PyObject
* obj2
= 0 ;
14872 char *kwnames
[] = {
14873 (char *) "self",(char *) "_self",(char *) "incref", NULL
14876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:wxEvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14878 if (SWIG_arg_fail(1)) SWIG_fail
;
14882 arg3
= (bool)(SWIG_As_bool(obj2
));
14883 if (SWIG_arg_fail(3)) SWIG_fail
;
14887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14888 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
14890 wxPyEndAllowThreads(__tstate
);
14891 if (PyErr_Occurred()) SWIG_fail
;
14893 Py_INCREF(Py_None
); resultobj
= Py_None
;
14900 static PyObject
* wxEvtHandler_swigregister(PyObject
*, PyObject
*args
) {
14902 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14903 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
14905 return Py_BuildValue((char *)"");
14907 static PyObject
*_wrap_wxNewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14908 PyObject
*resultobj
;
14909 wxEventType result
;
14910 char *kwnames
[] = {
14914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":wxNewEventType",kwnames
)) goto fail
;
14916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14917 result
= (wxEventType
)wxNewEventType();
14919 wxPyEndAllowThreads(__tstate
);
14920 if (PyErr_Occurred()) SWIG_fail
;
14923 resultobj
= SWIG_From_int((int)(result
));
14931 static PyObject
*_wrap_delete_wxEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14932 PyObject
*resultobj
;
14933 wxEvent
*arg1
= (wxEvent
*) 0 ;
14934 PyObject
* obj0
= 0 ;
14935 char *kwnames
[] = {
14936 (char *) "self", NULL
14939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_wxEvent",kwnames
,&obj0
)) goto fail
;
14940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14941 if (SWIG_arg_fail(1)) SWIG_fail
;
14943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14946 wxPyEndAllowThreads(__tstate
);
14947 if (PyErr_Occurred()) SWIG_fail
;
14949 Py_INCREF(Py_None
); resultobj
= Py_None
;
14956 static PyObject
*_wrap_wxEvent_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14957 PyObject
*resultobj
;
14958 wxEvent
*arg1
= (wxEvent
*) 0 ;
14960 PyObject
* obj0
= 0 ;
14961 PyObject
* obj1
= 0 ;
14962 char *kwnames
[] = {
14963 (char *) "self",(char *) "typ", NULL
14966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxEvent_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
14967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14968 if (SWIG_arg_fail(1)) SWIG_fail
;
14970 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
14971 if (SWIG_arg_fail(2)) SWIG_fail
;
14974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14975 (arg1
)->SetEventType(arg2
);
14977 wxPyEndAllowThreads(__tstate
);
14978 if (PyErr_Occurred()) SWIG_fail
;
14980 Py_INCREF(Py_None
); resultobj
= Py_None
;
14987 static PyObject
*_wrap_wxEvent_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14988 PyObject
*resultobj
;
14989 wxEvent
*arg1
= (wxEvent
*) 0 ;
14990 wxEventType result
;
14991 PyObject
* obj0
= 0 ;
14992 char *kwnames
[] = {
14993 (char *) "self", NULL
14996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxEvent_GetEventType",kwnames
,&obj0
)) goto fail
;
14997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14998 if (SWIG_arg_fail(1)) SWIG_fail
;
15000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15001 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
15003 wxPyEndAllowThreads(__tstate
);
15004 if (PyErr_Occurred()) SWIG_fail
;
15007 resultobj
= SWIG_From_int((int)(result
));
15015 static PyObject
*_wrap_wxEvent_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15016 PyObject
*resultobj
;
15017 wxEvent
*arg1
= (wxEvent
*) 0 ;
15019 PyObject
* obj0
= 0 ;
15020 char *kwnames
[] = {
15021 (char *) "self", NULL
15024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxEvent_GetEventObject",kwnames
,&obj0
)) goto fail
;
15025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15026 if (SWIG_arg_fail(1)) SWIG_fail
;
15028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15029 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
15031 wxPyEndAllowThreads(__tstate
);
15032 if (PyErr_Occurred()) SWIG_fail
;
15035 resultobj
= wxPyMake_wxObject(result
, 0);
15043 static PyObject
*_wrap_wxEvent_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15044 PyObject
*resultobj
;
15045 wxEvent
*arg1
= (wxEvent
*) 0 ;
15046 wxObject
*arg2
= (wxObject
*) 0 ;
15047 PyObject
* obj0
= 0 ;
15048 PyObject
* obj1
= 0 ;
15049 char *kwnames
[] = {
15050 (char *) "self",(char *) "obj", NULL
15053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxEvent_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15055 if (SWIG_arg_fail(1)) SWIG_fail
;
15056 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
15057 if (SWIG_arg_fail(2)) SWIG_fail
;
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15060 (arg1
)->SetEventObject(arg2
);
15062 wxPyEndAllowThreads(__tstate
);
15063 if (PyErr_Occurred()) SWIG_fail
;
15065 Py_INCREF(Py_None
); resultobj
= Py_None
;
15072 static PyObject
*_wrap_wxEvent_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15073 PyObject
*resultobj
;
15074 wxEvent
*arg1
= (wxEvent
*) 0 ;
15076 PyObject
* obj0
= 0 ;
15077 char *kwnames
[] = {
15078 (char *) "self", NULL
15081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxEvent_GetTimestamp",kwnames
,&obj0
)) goto fail
;
15082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15083 if (SWIG_arg_fail(1)) SWIG_fail
;
15085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15086 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
15088 wxPyEndAllowThreads(__tstate
);
15089 if (PyErr_Occurred()) SWIG_fail
;
15092 resultobj
= SWIG_From_long((long)(result
));
15100 static PyObject
*_wrap_wxEvent_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15101 PyObject
*resultobj
;
15102 wxEvent
*arg1
= (wxEvent
*) 0 ;
15103 long arg2
= (long) 0 ;
15104 PyObject
* obj0
= 0 ;
15105 PyObject
* obj1
= 0 ;
15106 char *kwnames
[] = {
15107 (char *) "self",(char *) "ts", NULL
15110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:wxEvent_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
15111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15112 if (SWIG_arg_fail(1)) SWIG_fail
;
15115 arg2
= (long)(SWIG_As_long(obj1
));
15116 if (SWIG_arg_fail(2)) SWIG_fail
;
15120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15121 (arg1
)->SetTimestamp(arg2
);
15123 wxPyEndAllowThreads(__tstate
);
15124 if (PyErr_Occurred()) SWIG_fail
;
15126 Py_INCREF(Py_None
); resultobj
= Py_None
;
15133 static PyObject
*_wrap_wxEvent_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15134 PyObject
*resultobj
;
15135 wxEvent
*arg1
= (wxEvent
*) 0 ;
15137 PyObject
* obj0
= 0 ;
15138 char *kwnames
[] = {
15139 (char *) "self", NULL
15142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxEvent_GetId",kwnames
,&obj0
)) goto fail
;
15143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15144 if (SWIG_arg_fail(1)) SWIG_fail
;
15146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15147 result
= (int)((wxEvent
const *)arg1
)->GetId();
15149 wxPyEndAllowThreads(__tstate
);
15150 if (PyErr_Occurred()) SWIG_fail
;
15153 resultobj
= SWIG_From_int((int)(result
));
15161 static PyObject
*_wrap_wxEvent_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15162 PyObject
*resultobj
;
15163 wxEvent
*arg1
= (wxEvent
*) 0 ;
15165 PyObject
* obj0
= 0 ;
15166 PyObject
* obj1
= 0 ;
15167 char *kwnames
[] = {
15168 (char *) "self",(char *) "Id", NULL
15171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxEvent_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
15172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15173 if (SWIG_arg_fail(1)) SWIG_fail
;
15175 arg2
= (int)(SWIG_As_int(obj1
));
15176 if (SWIG_arg_fail(2)) SWIG_fail
;
15179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15180 (arg1
)->SetId(arg2
);
15182 wxPyEndAllowThreads(__tstate
);
15183 if (PyErr_Occurred()) SWIG_fail
;
15185 Py_INCREF(Py_None
); resultobj
= Py_None
;
15192 static PyObject
*_wrap_wxEvent_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15193 PyObject
*resultobj
;
15194 wxEvent
*arg1
= (wxEvent
*) 0 ;
15196 PyObject
* obj0
= 0 ;
15197 char *kwnames
[] = {
15198 (char *) "self", NULL
15201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxEvent_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
15202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15203 if (SWIG_arg_fail(1)) SWIG_fail
;
15205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15206 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
15208 wxPyEndAllowThreads(__tstate
);
15209 if (PyErr_Occurred()) SWIG_fail
;
15212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15220 static PyObject
*_wrap_wxEvent_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15221 PyObject
*resultobj
;
15222 wxEvent
*arg1
= (wxEvent
*) 0 ;
15223 bool arg2
= (bool) true ;
15224 PyObject
* obj0
= 0 ;
15225 PyObject
* obj1
= 0 ;
15226 char *kwnames
[] = {
15227 (char *) "self",(char *) "skip", NULL
15230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:wxEvent_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
15231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15232 if (SWIG_arg_fail(1)) SWIG_fail
;
15235 arg2
= (bool)(SWIG_As_bool(obj1
));
15236 if (SWIG_arg_fail(2)) SWIG_fail
;
15240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15241 (arg1
)->Skip(arg2
);
15243 wxPyEndAllowThreads(__tstate
);
15244 if (PyErr_Occurred()) SWIG_fail
;
15246 Py_INCREF(Py_None
); resultobj
= Py_None
;
15253 static PyObject
*_wrap_wxEvent_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15254 PyObject
*resultobj
;
15255 wxEvent
*arg1
= (wxEvent
*) 0 ;
15257 PyObject
* obj0
= 0 ;
15258 char *kwnames
[] = {
15259 (char *) "self", NULL
15262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxEvent_GetSkipped",kwnames
,&obj0
)) goto fail
;
15263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15264 if (SWIG_arg_fail(1)) SWIG_fail
;
15266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15267 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
15269 wxPyEndAllowThreads(__tstate
);
15270 if (PyErr_Occurred()) SWIG_fail
;
15273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15281 static PyObject
*_wrap_wxEvent_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15282 PyObject
*resultobj
;
15283 wxEvent
*arg1
= (wxEvent
*) 0 ;
15285 PyObject
* obj0
= 0 ;
15286 char *kwnames
[] = {
15287 (char *) "self", NULL
15290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxEvent_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
15291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15292 if (SWIG_arg_fail(1)) SWIG_fail
;
15294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15295 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
15297 wxPyEndAllowThreads(__tstate
);
15298 if (PyErr_Occurred()) SWIG_fail
;
15301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15309 static PyObject
*_wrap_wxEvent_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15310 PyObject
*resultobj
;
15311 wxEvent
*arg1
= (wxEvent
*) 0 ;
15313 PyObject
* obj0
= 0 ;
15314 char *kwnames
[] = {
15315 (char *) "self", NULL
15318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxEvent_StopPropagation",kwnames
,&obj0
)) goto fail
;
15319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15320 if (SWIG_arg_fail(1)) SWIG_fail
;
15322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15323 result
= (int)(arg1
)->StopPropagation();
15325 wxPyEndAllowThreads(__tstate
);
15326 if (PyErr_Occurred()) SWIG_fail
;
15329 resultobj
= SWIG_From_int((int)(result
));
15337 static PyObject
*_wrap_wxEvent_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15338 PyObject
*resultobj
;
15339 wxEvent
*arg1
= (wxEvent
*) 0 ;
15341 PyObject
* obj0
= 0 ;
15342 PyObject
* obj1
= 0 ;
15343 char *kwnames
[] = {
15344 (char *) "self",(char *) "propagationLevel", NULL
15347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxEvent_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
15348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15349 if (SWIG_arg_fail(1)) SWIG_fail
;
15351 arg2
= (int)(SWIG_As_int(obj1
));
15352 if (SWIG_arg_fail(2)) SWIG_fail
;
15355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15356 (arg1
)->ResumePropagation(arg2
);
15358 wxPyEndAllowThreads(__tstate
);
15359 if (PyErr_Occurred()) SWIG_fail
;
15361 Py_INCREF(Py_None
); resultobj
= Py_None
;
15368 static PyObject
*_wrap_wxEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15369 PyObject
*resultobj
;
15370 wxEvent
*arg1
= (wxEvent
*) 0 ;
15372 PyObject
* obj0
= 0 ;
15373 char *kwnames
[] = {
15374 (char *) "self", NULL
15377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxEvent_Clone",kwnames
,&obj0
)) goto fail
;
15378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15379 if (SWIG_arg_fail(1)) SWIG_fail
;
15381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15382 result
= (wxEvent
*)(arg1
)->Clone();
15384 wxPyEndAllowThreads(__tstate
);
15385 if (PyErr_Occurred()) SWIG_fail
;
15387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15394 static PyObject
* wxEvent_swigregister(PyObject
*, PyObject
*args
) {
15396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15397 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
15399 return Py_BuildValue((char *)"");
15401 static PyObject
*_wrap_new_wxPropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15402 PyObject
*resultobj
;
15403 wxEvent
*arg1
= 0 ;
15404 wxPropagationDisabler
*result
;
15405 PyObject
* obj0
= 0 ;
15406 char *kwnames
[] = {
15407 (char *) "event", NULL
15410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_wxPropagationDisabler",kwnames
,&obj0
)) goto fail
;
15412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15413 if (SWIG_arg_fail(1)) SWIG_fail
;
15414 if (arg1
== NULL
) {
15415 SWIG_null_ref("wxEvent");
15417 if (SWIG_arg_fail(1)) SWIG_fail
;
15420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15421 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
15423 wxPyEndAllowThreads(__tstate
);
15424 if (PyErr_Occurred()) SWIG_fail
;
15426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
15433 static PyObject
*_wrap_delete_wxPropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15434 PyObject
*resultobj
;
15435 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
15436 PyObject
* obj0
= 0 ;
15437 char *kwnames
[] = {
15438 (char *) "self", NULL
15441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_wxPropagationDisabler",kwnames
,&obj0
)) goto fail
;
15442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
15443 if (SWIG_arg_fail(1)) SWIG_fail
;
15445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 wxPyEndAllowThreads(__tstate
);
15449 if (PyErr_Occurred()) SWIG_fail
;
15451 Py_INCREF(Py_None
); resultobj
= Py_None
;
15458 static PyObject
* wxPropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
15460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15461 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
15463 return Py_BuildValue((char *)"");
15465 static PyObject
*_wrap_new_wxPropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15466 PyObject
*resultobj
;
15467 wxEvent
*arg1
= 0 ;
15468 wxPropagateOnce
*result
;
15469 PyObject
* obj0
= 0 ;
15470 char *kwnames
[] = {
15471 (char *) "event", NULL
15474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_wxPropagateOnce",kwnames
,&obj0
)) goto fail
;
15476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15477 if (SWIG_arg_fail(1)) SWIG_fail
;
15478 if (arg1
== NULL
) {
15479 SWIG_null_ref("wxEvent");
15481 if (SWIG_arg_fail(1)) SWIG_fail
;
15484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15485 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
15487 wxPyEndAllowThreads(__tstate
);
15488 if (PyErr_Occurred()) SWIG_fail
;
15490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
15497 static PyObject
*_wrap_delete_wxPropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15498 PyObject
*resultobj
;
15499 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
15500 PyObject
* obj0
= 0 ;
15501 char *kwnames
[] = {
15502 (char *) "self", NULL
15505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_wxPropagateOnce",kwnames
,&obj0
)) goto fail
;
15506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
15507 if (SWIG_arg_fail(1)) SWIG_fail
;
15509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15512 wxPyEndAllowThreads(__tstate
);
15513 if (PyErr_Occurred()) SWIG_fail
;
15515 Py_INCREF(Py_None
); resultobj
= Py_None
;
15522 static PyObject
* wxPropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
15524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15525 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
15527 return Py_BuildValue((char *)"");
15529 static PyObject
*_wrap_new_wxCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15530 PyObject
*resultobj
;
15531 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15532 int arg2
= (int) 0 ;
15533 wxCommandEvent
*result
;
15534 PyObject
* obj0
= 0 ;
15535 PyObject
* obj1
= 0 ;
15536 char *kwnames
[] = {
15537 (char *) "commandType",(char *) "winid", NULL
15540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_wxCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15543 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15544 if (SWIG_arg_fail(1)) SWIG_fail
;
15549 arg2
= (int)(SWIG_As_int(obj1
));
15550 if (SWIG_arg_fail(2)) SWIG_fail
;
15554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15555 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
15557 wxPyEndAllowThreads(__tstate
);
15558 if (PyErr_Occurred()) SWIG_fail
;
15560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
15567 static PyObject
*_wrap_wxCommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15568 PyObject
*resultobj
;
15569 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15571 PyObject
* obj0
= 0 ;
15572 char *kwnames
[] = {
15573 (char *) "self", NULL
15576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxCommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15578 if (SWIG_arg_fail(1)) SWIG_fail
;
15580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15581 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
15583 wxPyEndAllowThreads(__tstate
);
15584 if (PyErr_Occurred()) SWIG_fail
;
15587 resultobj
= SWIG_From_int((int)(result
));
15595 static PyObject
*_wrap_wxCommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15596 PyObject
*resultobj
;
15597 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15598 wxString
*arg2
= 0 ;
15599 bool temp2
= false ;
15600 PyObject
* obj0
= 0 ;
15601 PyObject
* obj1
= 0 ;
15602 char *kwnames
[] = {
15603 (char *) "self",(char *) "s", NULL
15606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxCommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
15607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15608 if (SWIG_arg_fail(1)) SWIG_fail
;
15610 arg2
= wxString_in_helper(obj1
);
15611 if (arg2
== NULL
) SWIG_fail
;
15615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15616 (arg1
)->SetString((wxString
const &)*arg2
);
15618 wxPyEndAllowThreads(__tstate
);
15619 if (PyErr_Occurred()) SWIG_fail
;
15621 Py_INCREF(Py_None
); resultobj
= Py_None
;
15636 static PyObject
*_wrap_wxCommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15637 PyObject
*resultobj
;
15638 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15640 PyObject
* obj0
= 0 ;
15641 char *kwnames
[] = {
15642 (char *) "self", NULL
15645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxCommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
15646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15647 if (SWIG_arg_fail(1)) SWIG_fail
;
15649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15650 result
= ((wxCommandEvent
const *)arg1
)->GetString();
15652 wxPyEndAllowThreads(__tstate
);
15653 if (PyErr_Occurred()) SWIG_fail
;
15657 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15659 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15668 static PyObject
*_wrap_wxCommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15669 PyObject
*resultobj
;
15670 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15672 PyObject
* obj0
= 0 ;
15673 char *kwnames
[] = {
15674 (char *) "self", NULL
15677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxCommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
15678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15679 if (SWIG_arg_fail(1)) SWIG_fail
;
15681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15682 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
15684 wxPyEndAllowThreads(__tstate
);
15685 if (PyErr_Occurred()) SWIG_fail
;
15688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15696 static PyObject
*_wrap_wxCommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15697 PyObject
*resultobj
;
15698 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15700 PyObject
* obj0
= 0 ;
15701 char *kwnames
[] = {
15702 (char *) "self", NULL
15705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxCommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
15706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15707 if (SWIG_arg_fail(1)) SWIG_fail
;
15709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15710 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
15712 wxPyEndAllowThreads(__tstate
);
15713 if (PyErr_Occurred()) SWIG_fail
;
15716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15724 static PyObject
*_wrap_wxCommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15725 PyObject
*resultobj
;
15726 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15728 PyObject
* obj0
= 0 ;
15729 PyObject
* obj1
= 0 ;
15730 char *kwnames
[] = {
15731 (char *) "self",(char *) "extraLong", NULL
15734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxCommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
15735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15736 if (SWIG_arg_fail(1)) SWIG_fail
;
15738 arg2
= (long)(SWIG_As_long(obj1
));
15739 if (SWIG_arg_fail(2)) SWIG_fail
;
15742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15743 (arg1
)->SetExtraLong(arg2
);
15745 wxPyEndAllowThreads(__tstate
);
15746 if (PyErr_Occurred()) SWIG_fail
;
15748 Py_INCREF(Py_None
); resultobj
= Py_None
;
15755 static PyObject
*_wrap_wxCommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15756 PyObject
*resultobj
;
15757 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15759 PyObject
* obj0
= 0 ;
15760 char *kwnames
[] = {
15761 (char *) "self", NULL
15764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxCommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
15765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15766 if (SWIG_arg_fail(1)) SWIG_fail
;
15768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15769 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
15771 wxPyEndAllowThreads(__tstate
);
15772 if (PyErr_Occurred()) SWIG_fail
;
15775 resultobj
= SWIG_From_long((long)(result
));
15783 static PyObject
*_wrap_wxCommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15784 PyObject
*resultobj
;
15785 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15787 PyObject
* obj0
= 0 ;
15788 PyObject
* obj1
= 0 ;
15789 char *kwnames
[] = {
15790 (char *) "self",(char *) "i", NULL
15793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxCommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
15794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15795 if (SWIG_arg_fail(1)) SWIG_fail
;
15797 arg2
= (int)(SWIG_As_int(obj1
));
15798 if (SWIG_arg_fail(2)) SWIG_fail
;
15801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15802 (arg1
)->SetInt(arg2
);
15804 wxPyEndAllowThreads(__tstate
);
15805 if (PyErr_Occurred()) SWIG_fail
;
15807 Py_INCREF(Py_None
); resultobj
= Py_None
;
15814 static PyObject
*_wrap_wxCommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15815 PyObject
*resultobj
;
15816 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15818 PyObject
* obj0
= 0 ;
15819 char *kwnames
[] = {
15820 (char *) "self", NULL
15823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxCommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
15824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15825 if (SWIG_arg_fail(1)) SWIG_fail
;
15827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15828 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
15830 wxPyEndAllowThreads(__tstate
);
15831 if (PyErr_Occurred()) SWIG_fail
;
15834 resultobj
= SWIG_From_long((long)(result
));
15842 static PyObject
*_wrap_wxCommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15843 PyObject
*resultobj
;
15844 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15846 PyObject
* obj0
= 0 ;
15847 char *kwnames
[] = {
15848 (char *) "self", NULL
15851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxCommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
15852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15853 if (SWIG_arg_fail(1)) SWIG_fail
;
15855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15856 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
15858 wxPyEndAllowThreads(__tstate
);
15859 if (PyErr_Occurred()) SWIG_fail
;
15861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15868 static PyObject
* wxCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
15870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15871 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
15873 return Py_BuildValue((char *)"");
15875 static PyObject
*_wrap_new_wxNotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15876 PyObject
*resultobj
;
15877 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15878 int arg2
= (int) 0 ;
15879 wxNotifyEvent
*result
;
15880 PyObject
* obj0
= 0 ;
15881 PyObject
* obj1
= 0 ;
15882 char *kwnames
[] = {
15883 (char *) "commandType",(char *) "winid", NULL
15886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_wxNotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15889 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15890 if (SWIG_arg_fail(1)) SWIG_fail
;
15895 arg2
= (int)(SWIG_As_int(obj1
));
15896 if (SWIG_arg_fail(2)) SWIG_fail
;
15900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15901 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
15903 wxPyEndAllowThreads(__tstate
);
15904 if (PyErr_Occurred()) SWIG_fail
;
15906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
15913 static PyObject
*_wrap_wxNotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15914 PyObject
*resultobj
;
15915 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15916 PyObject
* obj0
= 0 ;
15917 char *kwnames
[] = {
15918 (char *) "self", NULL
15921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxNotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
15922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15923 if (SWIG_arg_fail(1)) SWIG_fail
;
15925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15928 wxPyEndAllowThreads(__tstate
);
15929 if (PyErr_Occurred()) SWIG_fail
;
15931 Py_INCREF(Py_None
); resultobj
= Py_None
;
15938 static PyObject
*_wrap_wxNotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15939 PyObject
*resultobj
;
15940 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15941 PyObject
* obj0
= 0 ;
15942 char *kwnames
[] = {
15943 (char *) "self", NULL
15946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxNotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
15947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15948 if (SWIG_arg_fail(1)) SWIG_fail
;
15950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15953 wxPyEndAllowThreads(__tstate
);
15954 if (PyErr_Occurred()) SWIG_fail
;
15956 Py_INCREF(Py_None
); resultobj
= Py_None
;
15963 static PyObject
*_wrap_wxNotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15964 PyObject
*resultobj
;
15965 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15967 PyObject
* obj0
= 0 ;
15968 char *kwnames
[] = {
15969 (char *) "self", NULL
15972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxNotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
15973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15974 if (SWIG_arg_fail(1)) SWIG_fail
;
15976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15977 result
= (bool)(arg1
)->IsAllowed();
15979 wxPyEndAllowThreads(__tstate
);
15980 if (PyErr_Occurred()) SWIG_fail
;
15983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15991 static PyObject
* wxNotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
15993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15994 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
15996 return Py_BuildValue((char *)"");
15998 static PyObject
*_wrap_new_wxScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15999 PyObject
*resultobj
;
16000 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16001 int arg2
= (int) 0 ;
16002 int arg3
= (int) 0 ;
16003 int arg4
= (int) 0 ;
16004 wxScrollEvent
*result
;
16005 PyObject
* obj0
= 0 ;
16006 PyObject
* obj1
= 0 ;
16007 PyObject
* obj2
= 0 ;
16008 PyObject
* obj3
= 0 ;
16009 char *kwnames
[] = {
16010 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
16013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_wxScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16016 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16017 if (SWIG_arg_fail(1)) SWIG_fail
;
16022 arg2
= (int)(SWIG_As_int(obj1
));
16023 if (SWIG_arg_fail(2)) SWIG_fail
;
16028 arg3
= (int)(SWIG_As_int(obj2
));
16029 if (SWIG_arg_fail(3)) SWIG_fail
;
16034 arg4
= (int)(SWIG_As_int(obj3
));
16035 if (SWIG_arg_fail(4)) SWIG_fail
;
16039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16040 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
16042 wxPyEndAllowThreads(__tstate
);
16043 if (PyErr_Occurred()) SWIG_fail
;
16045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
16052 static PyObject
*_wrap_wxScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16053 PyObject
*resultobj
;
16054 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16056 PyObject
* obj0
= 0 ;
16057 char *kwnames
[] = {
16058 (char *) "self", NULL
16061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16063 if (SWIG_arg_fail(1)) SWIG_fail
;
16065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16066 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
16068 wxPyEndAllowThreads(__tstate
);
16069 if (PyErr_Occurred()) SWIG_fail
;
16072 resultobj
= SWIG_From_int((int)(result
));
16080 static PyObject
*_wrap_wxScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16081 PyObject
*resultobj
;
16082 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16084 PyObject
* obj0
= 0 ;
16085 char *kwnames
[] = {
16086 (char *) "self", NULL
16089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16091 if (SWIG_arg_fail(1)) SWIG_fail
;
16093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16094 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
16096 wxPyEndAllowThreads(__tstate
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16100 resultobj
= SWIG_From_int((int)(result
));
16108 static PyObject
*_wrap_wxScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16109 PyObject
*resultobj
;
16110 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16112 PyObject
* obj0
= 0 ;
16113 PyObject
* obj1
= 0 ;
16114 char *kwnames
[] = {
16115 (char *) "self",(char *) "orient", NULL
16118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16120 if (SWIG_arg_fail(1)) SWIG_fail
;
16122 arg2
= (int)(SWIG_As_int(obj1
));
16123 if (SWIG_arg_fail(2)) SWIG_fail
;
16126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16127 (arg1
)->SetOrientation(arg2
);
16129 wxPyEndAllowThreads(__tstate
);
16130 if (PyErr_Occurred()) SWIG_fail
;
16132 Py_INCREF(Py_None
); resultobj
= Py_None
;
16139 static PyObject
*_wrap_wxScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16140 PyObject
*resultobj
;
16141 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16143 PyObject
* obj0
= 0 ;
16144 PyObject
* obj1
= 0 ;
16145 char *kwnames
[] = {
16146 (char *) "self",(char *) "pos", NULL
16149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16151 if (SWIG_arg_fail(1)) SWIG_fail
;
16153 arg2
= (int)(SWIG_As_int(obj1
));
16154 if (SWIG_arg_fail(2)) SWIG_fail
;
16157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16158 (arg1
)->SetPosition(arg2
);
16160 wxPyEndAllowThreads(__tstate
);
16161 if (PyErr_Occurred()) SWIG_fail
;
16163 Py_INCREF(Py_None
); resultobj
= Py_None
;
16170 static PyObject
* wxScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
16172 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16173 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
16175 return Py_BuildValue((char *)"");
16177 static PyObject
*_wrap_new_wxScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16178 PyObject
*resultobj
;
16179 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16180 int arg2
= (int) 0 ;
16181 int arg3
= (int) 0 ;
16182 wxScrollWinEvent
*result
;
16183 PyObject
* obj0
= 0 ;
16184 PyObject
* obj1
= 0 ;
16185 PyObject
* obj2
= 0 ;
16186 char *kwnames
[] = {
16187 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
16190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_wxScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16193 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16194 if (SWIG_arg_fail(1)) SWIG_fail
;
16199 arg2
= (int)(SWIG_As_int(obj1
));
16200 if (SWIG_arg_fail(2)) SWIG_fail
;
16205 arg3
= (int)(SWIG_As_int(obj2
));
16206 if (SWIG_arg_fail(3)) SWIG_fail
;
16210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16211 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
16213 wxPyEndAllowThreads(__tstate
);
16214 if (PyErr_Occurred()) SWIG_fail
;
16216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
16223 static PyObject
*_wrap_wxScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16224 PyObject
*resultobj
;
16225 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16227 PyObject
* obj0
= 0 ;
16228 char *kwnames
[] = {
16229 (char *) "self", NULL
16232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16234 if (SWIG_arg_fail(1)) SWIG_fail
;
16236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16237 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
16239 wxPyEndAllowThreads(__tstate
);
16240 if (PyErr_Occurred()) SWIG_fail
;
16243 resultobj
= SWIG_From_int((int)(result
));
16251 static PyObject
*_wrap_wxScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16252 PyObject
*resultobj
;
16253 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16255 PyObject
* obj0
= 0 ;
16256 char *kwnames
[] = {
16257 (char *) "self", NULL
16260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16262 if (SWIG_arg_fail(1)) SWIG_fail
;
16264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16265 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
16267 wxPyEndAllowThreads(__tstate
);
16268 if (PyErr_Occurred()) SWIG_fail
;
16271 resultobj
= SWIG_From_int((int)(result
));
16279 static PyObject
*_wrap_wxScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16280 PyObject
*resultobj
;
16281 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16283 PyObject
* obj0
= 0 ;
16284 PyObject
* obj1
= 0 ;
16285 char *kwnames
[] = {
16286 (char *) "self",(char *) "orient", NULL
16289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16291 if (SWIG_arg_fail(1)) SWIG_fail
;
16293 arg2
= (int)(SWIG_As_int(obj1
));
16294 if (SWIG_arg_fail(2)) SWIG_fail
;
16297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16298 (arg1
)->SetOrientation(arg2
);
16300 wxPyEndAllowThreads(__tstate
);
16301 if (PyErr_Occurred()) SWIG_fail
;
16303 Py_INCREF(Py_None
); resultobj
= Py_None
;
16310 static PyObject
*_wrap_wxScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16311 PyObject
*resultobj
;
16312 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16314 PyObject
* obj0
= 0 ;
16315 PyObject
* obj1
= 0 ;
16316 char *kwnames
[] = {
16317 (char *) "self",(char *) "pos", NULL
16320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16322 if (SWIG_arg_fail(1)) SWIG_fail
;
16324 arg2
= (int)(SWIG_As_int(obj1
));
16325 if (SWIG_arg_fail(2)) SWIG_fail
;
16328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16329 (arg1
)->SetPosition(arg2
);
16331 wxPyEndAllowThreads(__tstate
);
16332 if (PyErr_Occurred()) SWIG_fail
;
16334 Py_INCREF(Py_None
); resultobj
= Py_None
;
16341 static PyObject
* wxScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
16343 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16344 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
16346 return Py_BuildValue((char *)"");
16348 static PyObject
*_wrap_new_wxMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16349 PyObject
*resultobj
;
16350 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16351 wxMouseEvent
*result
;
16352 PyObject
* obj0
= 0 ;
16353 char *kwnames
[] = {
16354 (char *) "mouseType", NULL
16357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_wxMouseEvent",kwnames
,&obj0
)) goto fail
;
16360 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16361 if (SWIG_arg_fail(1)) SWIG_fail
;
16365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16366 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
16368 wxPyEndAllowThreads(__tstate
);
16369 if (PyErr_Occurred()) SWIG_fail
;
16372 resultobj
= wxPyMake_wxObject(result
, 1);
16380 static PyObject
*_wrap_wxMouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16381 PyObject
*resultobj
;
16382 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16384 PyObject
* obj0
= 0 ;
16385 char *kwnames
[] = {
16386 (char *) "self", NULL
16389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
16390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16391 if (SWIG_arg_fail(1)) SWIG_fail
;
16393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16394 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
16396 wxPyEndAllowThreads(__tstate
);
16397 if (PyErr_Occurred()) SWIG_fail
;
16400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16408 static PyObject
*_wrap_wxMouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16409 PyObject
*resultobj
;
16410 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16411 int arg2
= (int) wxMOUSE_BTN_ANY
;
16413 PyObject
* obj0
= 0 ;
16414 PyObject
* obj1
= 0 ;
16415 char *kwnames
[] = {
16416 (char *) "self",(char *) "but", NULL
16419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:wxMouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16421 if (SWIG_arg_fail(1)) SWIG_fail
;
16424 arg2
= (int)(SWIG_As_int(obj1
));
16425 if (SWIG_arg_fail(2)) SWIG_fail
;
16429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16430 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
16432 wxPyEndAllowThreads(__tstate
);
16433 if (PyErr_Occurred()) SWIG_fail
;
16436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16444 static PyObject
*_wrap_wxMouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16445 PyObject
*resultobj
;
16446 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16447 int arg2
= (int) wxMOUSE_BTN_ANY
;
16449 PyObject
* obj0
= 0 ;
16450 PyObject
* obj1
= 0 ;
16451 char *kwnames
[] = {
16452 (char *) "self",(char *) "but", NULL
16455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:wxMouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
16456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16457 if (SWIG_arg_fail(1)) SWIG_fail
;
16460 arg2
= (int)(SWIG_As_int(obj1
));
16461 if (SWIG_arg_fail(2)) SWIG_fail
;
16465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16466 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
16468 wxPyEndAllowThreads(__tstate
);
16469 if (PyErr_Occurred()) SWIG_fail
;
16472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16480 static PyObject
*_wrap_wxMouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16481 PyObject
*resultobj
;
16482 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16483 int arg2
= (int) wxMOUSE_BTN_ANY
;
16485 PyObject
* obj0
= 0 ;
16486 PyObject
* obj1
= 0 ;
16487 char *kwnames
[] = {
16488 (char *) "self",(char *) "but", NULL
16491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:wxMouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
16492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16493 if (SWIG_arg_fail(1)) SWIG_fail
;
16496 arg2
= (int)(SWIG_As_int(obj1
));
16497 if (SWIG_arg_fail(2)) SWIG_fail
;
16501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16502 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
16504 wxPyEndAllowThreads(__tstate
);
16505 if (PyErr_Occurred()) SWIG_fail
;
16508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16516 static PyObject
*_wrap_wxMouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16517 PyObject
*resultobj
;
16518 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16521 PyObject
* obj0
= 0 ;
16522 PyObject
* obj1
= 0 ;
16523 char *kwnames
[] = {
16524 (char *) "self",(char *) "but", NULL
16527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
16528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16529 if (SWIG_arg_fail(1)) SWIG_fail
;
16531 arg2
= (int)(SWIG_As_int(obj1
));
16532 if (SWIG_arg_fail(2)) SWIG_fail
;
16535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16536 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
16538 wxPyEndAllowThreads(__tstate
);
16539 if (PyErr_Occurred()) SWIG_fail
;
16542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16550 static PyObject
*_wrap_wxMouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16551 PyObject
*resultobj
;
16552 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16555 PyObject
* obj0
= 0 ;
16556 PyObject
* obj1
= 0 ;
16557 char *kwnames
[] = {
16558 (char *) "self",(char *) "but", NULL
16561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16563 if (SWIG_arg_fail(1)) SWIG_fail
;
16565 arg2
= (int)(SWIG_As_int(obj1
));
16566 if (SWIG_arg_fail(2)) SWIG_fail
;
16569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16570 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
16572 wxPyEndAllowThreads(__tstate
);
16573 if (PyErr_Occurred()) SWIG_fail
;
16576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16584 static PyObject
*_wrap_wxMouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16585 PyObject
*resultobj
;
16586 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16588 PyObject
* obj0
= 0 ;
16589 char *kwnames
[] = {
16590 (char *) "self", NULL
16593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
16594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16595 if (SWIG_arg_fail(1)) SWIG_fail
;
16597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16598 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
16600 wxPyEndAllowThreads(__tstate
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16604 resultobj
= SWIG_From_int((int)(result
));
16612 static PyObject
*_wrap_wxMouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16613 PyObject
*resultobj
;
16614 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16616 PyObject
* obj0
= 0 ;
16617 char *kwnames
[] = {
16618 (char *) "self", NULL
16621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
16622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16623 if (SWIG_arg_fail(1)) SWIG_fail
;
16625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16626 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
16628 wxPyEndAllowThreads(__tstate
);
16629 if (PyErr_Occurred()) SWIG_fail
;
16632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16640 static PyObject
*_wrap_wxMouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16641 PyObject
*resultobj
;
16642 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16644 PyObject
* obj0
= 0 ;
16645 char *kwnames
[] = {
16646 (char *) "self", NULL
16649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16651 if (SWIG_arg_fail(1)) SWIG_fail
;
16653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16654 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
16656 wxPyEndAllowThreads(__tstate
);
16657 if (PyErr_Occurred()) SWIG_fail
;
16660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16668 static PyObject
*_wrap_wxMouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16669 PyObject
*resultobj
;
16670 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16672 PyObject
* obj0
= 0 ;
16673 char *kwnames
[] = {
16674 (char *) "self", NULL
16677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16679 if (SWIG_arg_fail(1)) SWIG_fail
;
16681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16682 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
16684 wxPyEndAllowThreads(__tstate
);
16685 if (PyErr_Occurred()) SWIG_fail
;
16688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16696 static PyObject
*_wrap_wxMouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16697 PyObject
*resultobj
;
16698 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16700 PyObject
* obj0
= 0 ;
16701 char *kwnames
[] = {
16702 (char *) "self", NULL
16705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16707 if (SWIG_arg_fail(1)) SWIG_fail
;
16709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16710 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
16712 wxPyEndAllowThreads(__tstate
);
16713 if (PyErr_Occurred()) SWIG_fail
;
16716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16724 static PyObject
*_wrap_wxMouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16725 PyObject
*resultobj
;
16726 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16728 PyObject
* obj0
= 0 ;
16729 char *kwnames
[] = {
16730 (char *) "self", NULL
16733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16735 if (SWIG_arg_fail(1)) SWIG_fail
;
16737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16738 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
16740 wxPyEndAllowThreads(__tstate
);
16741 if (PyErr_Occurred()) SWIG_fail
;
16744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16752 static PyObject
*_wrap_wxMouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16753 PyObject
*resultobj
;
16754 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16756 PyObject
* obj0
= 0 ;
16757 char *kwnames
[] = {
16758 (char *) "self", NULL
16761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
16762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16763 if (SWIG_arg_fail(1)) SWIG_fail
;
16765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16766 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
16768 wxPyEndAllowThreads(__tstate
);
16769 if (PyErr_Occurred()) SWIG_fail
;
16772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16780 static PyObject
*_wrap_wxMouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16781 PyObject
*resultobj
;
16782 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16784 PyObject
* obj0
= 0 ;
16785 char *kwnames
[] = {
16786 (char *) "self", NULL
16789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
16790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16791 if (SWIG_arg_fail(1)) SWIG_fail
;
16793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16794 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
16796 wxPyEndAllowThreads(__tstate
);
16797 if (PyErr_Occurred()) SWIG_fail
;
16800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16808 static PyObject
*_wrap_wxMouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16809 PyObject
*resultobj
;
16810 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16812 PyObject
* obj0
= 0 ;
16813 char *kwnames
[] = {
16814 (char *) "self", NULL
16817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
16818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16819 if (SWIG_arg_fail(1)) SWIG_fail
;
16821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16822 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
16824 wxPyEndAllowThreads(__tstate
);
16825 if (PyErr_Occurred()) SWIG_fail
;
16828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16836 static PyObject
*_wrap_wxMouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16837 PyObject
*resultobj
;
16838 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16840 PyObject
* obj0
= 0 ;
16841 char *kwnames
[] = {
16842 (char *) "self", NULL
16845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_LeftUp",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 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
16852 wxPyEndAllowThreads(__tstate
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16864 static PyObject
*_wrap_wxMouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16865 PyObject
*resultobj
;
16866 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16868 PyObject
* obj0
= 0 ;
16869 char *kwnames
[] = {
16870 (char *) "self", NULL
16873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
16874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16875 if (SWIG_arg_fail(1)) SWIG_fail
;
16877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16878 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
16880 wxPyEndAllowThreads(__tstate
);
16881 if (PyErr_Occurred()) SWIG_fail
;
16884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16892 static PyObject
*_wrap_wxMouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16893 PyObject
*resultobj
;
16894 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16896 PyObject
* obj0
= 0 ;
16897 char *kwnames
[] = {
16898 (char *) "self", NULL
16901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
16902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16903 if (SWIG_arg_fail(1)) SWIG_fail
;
16905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16906 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
16908 wxPyEndAllowThreads(__tstate
);
16909 if (PyErr_Occurred()) SWIG_fail
;
16912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16920 static PyObject
*_wrap_wxMouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16921 PyObject
*resultobj
;
16922 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16924 PyObject
* obj0
= 0 ;
16925 char *kwnames
[] = {
16926 (char *) "self", NULL
16929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
16930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16931 if (SWIG_arg_fail(1)) SWIG_fail
;
16933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16934 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
16936 wxPyEndAllowThreads(__tstate
);
16937 if (PyErr_Occurred()) SWIG_fail
;
16940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16948 static PyObject
*_wrap_wxMouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16949 PyObject
*resultobj
;
16950 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16952 PyObject
* obj0
= 0 ;
16953 char *kwnames
[] = {
16954 (char *) "self", NULL
16957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
16958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16959 if (SWIG_arg_fail(1)) SWIG_fail
;
16961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16962 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
16964 wxPyEndAllowThreads(__tstate
);
16965 if (PyErr_Occurred()) SWIG_fail
;
16968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16976 static PyObject
*_wrap_wxMouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16977 PyObject
*resultobj
;
16978 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16980 PyObject
* obj0
= 0 ;
16981 char *kwnames
[] = {
16982 (char *) "self", NULL
16985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
16986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16987 if (SWIG_arg_fail(1)) SWIG_fail
;
16989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16990 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
16992 wxPyEndAllowThreads(__tstate
);
16993 if (PyErr_Occurred()) SWIG_fail
;
16996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17004 static PyObject
*_wrap_wxMouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17005 PyObject
*resultobj
;
17006 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17008 PyObject
* obj0
= 0 ;
17009 char *kwnames
[] = {
17010 (char *) "self", NULL
17013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
17014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17015 if (SWIG_arg_fail(1)) SWIG_fail
;
17017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17018 result
= (bool)(arg1
)->LeftIsDown();
17020 wxPyEndAllowThreads(__tstate
);
17021 if (PyErr_Occurred()) SWIG_fail
;
17024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17032 static PyObject
*_wrap_wxMouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17033 PyObject
*resultobj
;
17034 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17036 PyObject
* obj0
= 0 ;
17037 char *kwnames
[] = {
17038 (char *) "self", NULL
17041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
17042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17043 if (SWIG_arg_fail(1)) SWIG_fail
;
17045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17046 result
= (bool)(arg1
)->MiddleIsDown();
17048 wxPyEndAllowThreads(__tstate
);
17049 if (PyErr_Occurred()) SWIG_fail
;
17052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17060 static PyObject
*_wrap_wxMouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17061 PyObject
*resultobj
;
17062 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17064 PyObject
* obj0
= 0 ;
17065 char *kwnames
[] = {
17066 (char *) "self", NULL
17069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
17070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17071 if (SWIG_arg_fail(1)) SWIG_fail
;
17073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17074 result
= (bool)(arg1
)->RightIsDown();
17076 wxPyEndAllowThreads(__tstate
);
17077 if (PyErr_Occurred()) SWIG_fail
;
17080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17088 static PyObject
*_wrap_wxMouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17089 PyObject
*resultobj
;
17090 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17092 PyObject
* obj0
= 0 ;
17093 char *kwnames
[] = {
17094 (char *) "self", NULL
17097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
17098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17099 if (SWIG_arg_fail(1)) SWIG_fail
;
17101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17102 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
17104 wxPyEndAllowThreads(__tstate
);
17105 if (PyErr_Occurred()) SWIG_fail
;
17108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17116 static PyObject
*_wrap_wxMouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17117 PyObject
*resultobj
;
17118 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17120 PyObject
* obj0
= 0 ;
17121 char *kwnames
[] = {
17122 (char *) "self", NULL
17125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
17126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17127 if (SWIG_arg_fail(1)) SWIG_fail
;
17129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17130 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
17132 wxPyEndAllowThreads(__tstate
);
17133 if (PyErr_Occurred()) SWIG_fail
;
17136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17144 static PyObject
*_wrap_wxMouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17145 PyObject
*resultobj
;
17146 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17148 PyObject
* obj0
= 0 ;
17149 char *kwnames
[] = {
17150 (char *) "self", NULL
17153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
17154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17155 if (SWIG_arg_fail(1)) SWIG_fail
;
17157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17158 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
17160 wxPyEndAllowThreads(__tstate
);
17161 if (PyErr_Occurred()) SWIG_fail
;
17164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17172 static PyObject
*_wrap_wxMouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17173 PyObject
*resultobj
;
17174 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17176 PyObject
* obj0
= 0 ;
17177 char *kwnames
[] = {
17178 (char *) "self", NULL
17181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
17182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17183 if (SWIG_arg_fail(1)) SWIG_fail
;
17185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17186 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
17188 wxPyEndAllowThreads(__tstate
);
17189 if (PyErr_Occurred()) SWIG_fail
;
17192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17200 static PyObject
*_wrap_wxMouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17201 PyObject
*resultobj
;
17202 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17204 PyObject
* obj0
= 0 ;
17205 char *kwnames
[] = {
17206 (char *) "self", NULL
17209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17211 if (SWIG_arg_fail(1)) SWIG_fail
;
17213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17214 result
= (arg1
)->GetPosition();
17216 wxPyEndAllowThreads(__tstate
);
17217 if (PyErr_Occurred()) SWIG_fail
;
17220 wxPoint
* resultptr
;
17221 resultptr
= new wxPoint((wxPoint
&)(result
));
17222 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17230 static PyObject
*_wrap_wxMouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17231 PyObject
*resultobj
;
17232 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17233 long *arg2
= (long *) 0 ;
17234 long *arg3
= (long *) 0 ;
17239 PyObject
* obj0
= 0 ;
17240 char *kwnames
[] = {
17241 (char *) "self", NULL
17244 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17245 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
17247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17248 if (SWIG_arg_fail(1)) SWIG_fail
;
17250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17251 (arg1
)->GetPosition(arg2
,arg3
);
17253 wxPyEndAllowThreads(__tstate
);
17254 if (PyErr_Occurred()) SWIG_fail
;
17256 Py_INCREF(Py_None
); resultobj
= Py_None
;
17257 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17258 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
17259 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17260 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17267 static PyObject
*_wrap_wxMouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17268 PyObject
*resultobj
;
17269 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17272 PyObject
* obj0
= 0 ;
17273 PyObject
* obj1
= 0 ;
17274 char *kwnames
[] = {
17275 (char *) "self",(char *) "dc", NULL
17278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17280 if (SWIG_arg_fail(1)) SWIG_fail
;
17282 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17283 if (SWIG_arg_fail(2)) SWIG_fail
;
17284 if (arg2
== NULL
) {
17285 SWIG_null_ref("wxDC");
17287 if (SWIG_arg_fail(2)) SWIG_fail
;
17290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17291 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
17293 wxPyEndAllowThreads(__tstate
);
17294 if (PyErr_Occurred()) SWIG_fail
;
17297 wxPoint
* resultptr
;
17298 resultptr
= new wxPoint((wxPoint
&)(result
));
17299 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17307 static PyObject
*_wrap_wxMouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17308 PyObject
*resultobj
;
17309 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17311 PyObject
* obj0
= 0 ;
17312 char *kwnames
[] = {
17313 (char *) "self", NULL
17316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
17317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17318 if (SWIG_arg_fail(1)) SWIG_fail
;
17320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17321 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
17323 wxPyEndAllowThreads(__tstate
);
17324 if (PyErr_Occurred()) SWIG_fail
;
17327 resultobj
= SWIG_From_int((int)(result
));
17335 static PyObject
*_wrap_wxMouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17336 PyObject
*resultobj
;
17337 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17339 PyObject
* obj0
= 0 ;
17340 char *kwnames
[] = {
17341 (char *) "self", NULL
17344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
17345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17346 if (SWIG_arg_fail(1)) SWIG_fail
;
17348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17349 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
17351 wxPyEndAllowThreads(__tstate
);
17352 if (PyErr_Occurred()) SWIG_fail
;
17355 resultobj
= SWIG_From_int((int)(result
));
17363 static PyObject
*_wrap_wxMouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17364 PyObject
*resultobj
;
17365 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17367 PyObject
* obj0
= 0 ;
17368 char *kwnames
[] = {
17369 (char *) "self", NULL
17372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
17373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17374 if (SWIG_arg_fail(1)) SWIG_fail
;
17376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17377 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
17379 wxPyEndAllowThreads(__tstate
);
17380 if (PyErr_Occurred()) SWIG_fail
;
17383 resultobj
= SWIG_From_int((int)(result
));
17391 static PyObject
*_wrap_wxMouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17392 PyObject
*resultobj
;
17393 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17395 PyObject
* obj0
= 0 ;
17396 char *kwnames
[] = {
17397 (char *) "self", NULL
17400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
17401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17402 if (SWIG_arg_fail(1)) SWIG_fail
;
17404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17405 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
17407 wxPyEndAllowThreads(__tstate
);
17408 if (PyErr_Occurred()) SWIG_fail
;
17411 resultobj
= SWIG_From_int((int)(result
));
17419 static PyObject
*_wrap_wxMouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17420 PyObject
*resultobj
;
17421 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17423 PyObject
* obj0
= 0 ;
17424 char *kwnames
[] = {
17425 (char *) "self", NULL
17428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
17429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17430 if (SWIG_arg_fail(1)) SWIG_fail
;
17432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17433 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
17435 wxPyEndAllowThreads(__tstate
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17439 resultobj
= SWIG_From_int((int)(result
));
17447 static PyObject
*_wrap_wxMouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17448 PyObject
*resultobj
;
17449 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17451 PyObject
* obj0
= 0 ;
17452 char *kwnames
[] = {
17453 (char *) "self", NULL
17456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
17457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17458 if (SWIG_arg_fail(1)) SWIG_fail
;
17460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17461 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
17463 wxPyEndAllowThreads(__tstate
);
17464 if (PyErr_Occurred()) SWIG_fail
;
17467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17475 static PyObject
*_wrap_wxMouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17476 PyObject
*resultobj
;
17477 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17479 PyObject
* obj0
= 0 ;
17480 PyObject
* obj1
= 0 ;
17481 char *kwnames
[] = {
17482 (char *) "self",(char *) "m_x", NULL
17485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17487 if (SWIG_arg_fail(1)) SWIG_fail
;
17489 arg2
= (int)(SWIG_As_int(obj1
));
17490 if (SWIG_arg_fail(2)) SWIG_fail
;
17492 if (arg1
) (arg1
)->m_x
= arg2
;
17494 Py_INCREF(Py_None
); resultobj
= Py_None
;
17501 static PyObject
*_wrap_wxMouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17502 PyObject
*resultobj
;
17503 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17505 PyObject
* obj0
= 0 ;
17506 char *kwnames
[] = {
17507 (char *) "self", NULL
17510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
17511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17512 if (SWIG_arg_fail(1)) SWIG_fail
;
17513 result
= (int) ((arg1
)->m_x
);
17516 resultobj
= SWIG_From_int((int)(result
));
17524 static PyObject
*_wrap_wxMouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17525 PyObject
*resultobj
;
17526 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17528 PyObject
* obj0
= 0 ;
17529 PyObject
* obj1
= 0 ;
17530 char *kwnames
[] = {
17531 (char *) "self",(char *) "m_y", NULL
17534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17536 if (SWIG_arg_fail(1)) SWIG_fail
;
17538 arg2
= (int)(SWIG_As_int(obj1
));
17539 if (SWIG_arg_fail(2)) SWIG_fail
;
17541 if (arg1
) (arg1
)->m_y
= arg2
;
17543 Py_INCREF(Py_None
); resultobj
= Py_None
;
17550 static PyObject
*_wrap_wxMouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17551 PyObject
*resultobj
;
17552 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17554 PyObject
* obj0
= 0 ;
17555 char *kwnames
[] = {
17556 (char *) "self", NULL
17559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
17560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17561 if (SWIG_arg_fail(1)) SWIG_fail
;
17562 result
= (int) ((arg1
)->m_y
);
17565 resultobj
= SWIG_From_int((int)(result
));
17573 static PyObject
*_wrap_wxMouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17574 PyObject
*resultobj
;
17575 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17577 PyObject
* obj0
= 0 ;
17578 PyObject
* obj1
= 0 ;
17579 char *kwnames
[] = {
17580 (char *) "self",(char *) "m_leftDown", NULL
17583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17585 if (SWIG_arg_fail(1)) SWIG_fail
;
17587 arg2
= (bool)(SWIG_As_bool(obj1
));
17588 if (SWIG_arg_fail(2)) SWIG_fail
;
17590 if (arg1
) (arg1
)->m_leftDown
= arg2
;
17592 Py_INCREF(Py_None
); resultobj
= Py_None
;
17599 static PyObject
*_wrap_wxMouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17600 PyObject
*resultobj
;
17601 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17603 PyObject
* obj0
= 0 ;
17604 char *kwnames
[] = {
17605 (char *) "self", NULL
17608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
17609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17610 if (SWIG_arg_fail(1)) SWIG_fail
;
17611 result
= (bool) ((arg1
)->m_leftDown
);
17614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17622 static PyObject
*_wrap_wxMouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17623 PyObject
*resultobj
;
17624 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17626 PyObject
* obj0
= 0 ;
17627 PyObject
* obj1
= 0 ;
17628 char *kwnames
[] = {
17629 (char *) "self",(char *) "m_middleDown", NULL
17632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17634 if (SWIG_arg_fail(1)) SWIG_fail
;
17636 arg2
= (bool)(SWIG_As_bool(obj1
));
17637 if (SWIG_arg_fail(2)) SWIG_fail
;
17639 if (arg1
) (arg1
)->m_middleDown
= arg2
;
17641 Py_INCREF(Py_None
); resultobj
= Py_None
;
17648 static PyObject
*_wrap_wxMouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17649 PyObject
*resultobj
;
17650 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17652 PyObject
* obj0
= 0 ;
17653 char *kwnames
[] = {
17654 (char *) "self", NULL
17657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
17658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17659 if (SWIG_arg_fail(1)) SWIG_fail
;
17660 result
= (bool) ((arg1
)->m_middleDown
);
17663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17671 static PyObject
*_wrap_wxMouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17672 PyObject
*resultobj
;
17673 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17675 PyObject
* obj0
= 0 ;
17676 PyObject
* obj1
= 0 ;
17677 char *kwnames
[] = {
17678 (char *) "self",(char *) "m_rightDown", NULL
17681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17683 if (SWIG_arg_fail(1)) SWIG_fail
;
17685 arg2
= (bool)(SWIG_As_bool(obj1
));
17686 if (SWIG_arg_fail(2)) SWIG_fail
;
17688 if (arg1
) (arg1
)->m_rightDown
= arg2
;
17690 Py_INCREF(Py_None
); resultobj
= Py_None
;
17697 static PyObject
*_wrap_wxMouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17698 PyObject
*resultobj
;
17699 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17701 PyObject
* obj0
= 0 ;
17702 char *kwnames
[] = {
17703 (char *) "self", NULL
17706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
17707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17708 if (SWIG_arg_fail(1)) SWIG_fail
;
17709 result
= (bool) ((arg1
)->m_rightDown
);
17712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17720 static PyObject
*_wrap_wxMouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17721 PyObject
*resultobj
;
17722 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17724 PyObject
* obj0
= 0 ;
17725 PyObject
* obj1
= 0 ;
17726 char *kwnames
[] = {
17727 (char *) "self",(char *) "m_controlDown", NULL
17730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17732 if (SWIG_arg_fail(1)) SWIG_fail
;
17734 arg2
= (bool)(SWIG_As_bool(obj1
));
17735 if (SWIG_arg_fail(2)) SWIG_fail
;
17737 if (arg1
) (arg1
)->m_controlDown
= arg2
;
17739 Py_INCREF(Py_None
); resultobj
= Py_None
;
17746 static PyObject
*_wrap_wxMouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17747 PyObject
*resultobj
;
17748 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17750 PyObject
* obj0
= 0 ;
17751 char *kwnames
[] = {
17752 (char *) "self", NULL
17755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
17756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17757 if (SWIG_arg_fail(1)) SWIG_fail
;
17758 result
= (bool) ((arg1
)->m_controlDown
);
17761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17769 static PyObject
*_wrap_wxMouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17770 PyObject
*resultobj
;
17771 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17773 PyObject
* obj0
= 0 ;
17774 PyObject
* obj1
= 0 ;
17775 char *kwnames
[] = {
17776 (char *) "self",(char *) "m_shiftDown", NULL
17779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17781 if (SWIG_arg_fail(1)) SWIG_fail
;
17783 arg2
= (bool)(SWIG_As_bool(obj1
));
17784 if (SWIG_arg_fail(2)) SWIG_fail
;
17786 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
17788 Py_INCREF(Py_None
); resultobj
= Py_None
;
17795 static PyObject
*_wrap_wxMouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17796 PyObject
*resultobj
;
17797 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17799 PyObject
* obj0
= 0 ;
17800 char *kwnames
[] = {
17801 (char *) "self", NULL
17804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
17805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17806 if (SWIG_arg_fail(1)) SWIG_fail
;
17807 result
= (bool) ((arg1
)->m_shiftDown
);
17810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17818 static PyObject
*_wrap_wxMouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17819 PyObject
*resultobj
;
17820 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17822 PyObject
* obj0
= 0 ;
17823 PyObject
* obj1
= 0 ;
17824 char *kwnames
[] = {
17825 (char *) "self",(char *) "m_altDown", NULL
17828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17830 if (SWIG_arg_fail(1)) SWIG_fail
;
17832 arg2
= (bool)(SWIG_As_bool(obj1
));
17833 if (SWIG_arg_fail(2)) SWIG_fail
;
17835 if (arg1
) (arg1
)->m_altDown
= arg2
;
17837 Py_INCREF(Py_None
); resultobj
= Py_None
;
17844 static PyObject
*_wrap_wxMouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17845 PyObject
*resultobj
;
17846 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17848 PyObject
* obj0
= 0 ;
17849 char *kwnames
[] = {
17850 (char *) "self", NULL
17853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
17854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17855 if (SWIG_arg_fail(1)) SWIG_fail
;
17856 result
= (bool) ((arg1
)->m_altDown
);
17859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17867 static PyObject
*_wrap_wxMouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17868 PyObject
*resultobj
;
17869 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17871 PyObject
* obj0
= 0 ;
17872 PyObject
* obj1
= 0 ;
17873 char *kwnames
[] = {
17874 (char *) "self",(char *) "m_metaDown", NULL
17877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17879 if (SWIG_arg_fail(1)) SWIG_fail
;
17881 arg2
= (bool)(SWIG_As_bool(obj1
));
17882 if (SWIG_arg_fail(2)) SWIG_fail
;
17884 if (arg1
) (arg1
)->m_metaDown
= arg2
;
17886 Py_INCREF(Py_None
); resultobj
= Py_None
;
17893 static PyObject
*_wrap_wxMouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17894 PyObject
*resultobj
;
17895 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17897 PyObject
* obj0
= 0 ;
17898 char *kwnames
[] = {
17899 (char *) "self", NULL
17902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
17903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17904 if (SWIG_arg_fail(1)) SWIG_fail
;
17905 result
= (bool) ((arg1
)->m_metaDown
);
17908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17916 static PyObject
*_wrap_wxMouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17917 PyObject
*resultobj
;
17918 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17920 PyObject
* obj0
= 0 ;
17921 PyObject
* obj1
= 0 ;
17922 char *kwnames
[] = {
17923 (char *) "self",(char *) "m_wheelRotation", NULL
17926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17928 if (SWIG_arg_fail(1)) SWIG_fail
;
17930 arg2
= (int)(SWIG_As_int(obj1
));
17931 if (SWIG_arg_fail(2)) SWIG_fail
;
17933 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
17935 Py_INCREF(Py_None
); resultobj
= Py_None
;
17942 static PyObject
*_wrap_wxMouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17943 PyObject
*resultobj
;
17944 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17946 PyObject
* obj0
= 0 ;
17947 char *kwnames
[] = {
17948 (char *) "self", NULL
17951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
17952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17953 if (SWIG_arg_fail(1)) SWIG_fail
;
17954 result
= (int) ((arg1
)->m_wheelRotation
);
17957 resultobj
= SWIG_From_int((int)(result
));
17965 static PyObject
*_wrap_wxMouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17966 PyObject
*resultobj
;
17967 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17969 PyObject
* obj0
= 0 ;
17970 PyObject
* obj1
= 0 ;
17971 char *kwnames
[] = {
17972 (char *) "self",(char *) "m_wheelDelta", NULL
17975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17977 if (SWIG_arg_fail(1)) SWIG_fail
;
17979 arg2
= (int)(SWIG_As_int(obj1
));
17980 if (SWIG_arg_fail(2)) SWIG_fail
;
17982 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
17984 Py_INCREF(Py_None
); resultobj
= Py_None
;
17991 static PyObject
*_wrap_wxMouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17992 PyObject
*resultobj
;
17993 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17995 PyObject
* obj0
= 0 ;
17996 char *kwnames
[] = {
17997 (char *) "self", NULL
18000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
18001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18002 if (SWIG_arg_fail(1)) SWIG_fail
;
18003 result
= (int) ((arg1
)->m_wheelDelta
);
18006 resultobj
= SWIG_From_int((int)(result
));
18014 static PyObject
*_wrap_wxMouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18015 PyObject
*resultobj
;
18016 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18018 PyObject
* obj0
= 0 ;
18019 PyObject
* obj1
= 0 ;
18020 char *kwnames
[] = {
18021 (char *) "self",(char *) "m_linesPerAction", NULL
18024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18026 if (SWIG_arg_fail(1)) SWIG_fail
;
18028 arg2
= (int)(SWIG_As_int(obj1
));
18029 if (SWIG_arg_fail(2)) SWIG_fail
;
18031 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
18033 Py_INCREF(Py_None
); resultobj
= Py_None
;
18040 static PyObject
*_wrap_wxMouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18041 PyObject
*resultobj
;
18042 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18044 PyObject
* obj0
= 0 ;
18045 char *kwnames
[] = {
18046 (char *) "self", NULL
18049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
18050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18051 if (SWIG_arg_fail(1)) SWIG_fail
;
18052 result
= (int) ((arg1
)->m_linesPerAction
);
18055 resultobj
= SWIG_From_int((int)(result
));
18063 static PyObject
* wxMouseEvent_swigregister(PyObject
*, PyObject
*args
) {
18065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18066 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
18068 return Py_BuildValue((char *)"");
18070 static PyObject
*_wrap_new_wxSetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18071 PyObject
*resultobj
;
18072 int arg1
= (int) 0 ;
18073 int arg2
= (int) 0 ;
18074 wxSetCursorEvent
*result
;
18075 PyObject
* obj0
= 0 ;
18076 PyObject
* obj1
= 0 ;
18077 char *kwnames
[] = {
18078 (char *) "x",(char *) "y", NULL
18081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_wxSetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18084 arg1
= (int)(SWIG_As_int(obj0
));
18085 if (SWIG_arg_fail(1)) SWIG_fail
;
18090 arg2
= (int)(SWIG_As_int(obj1
));
18091 if (SWIG_arg_fail(2)) SWIG_fail
;
18095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18096 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
18098 wxPyEndAllowThreads(__tstate
);
18099 if (PyErr_Occurred()) SWIG_fail
;
18101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
18108 static PyObject
*_wrap_wxSetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18109 PyObject
*resultobj
;
18110 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18112 PyObject
* obj0
= 0 ;
18113 char *kwnames
[] = {
18114 (char *) "self", NULL
18117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
18118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18119 if (SWIG_arg_fail(1)) SWIG_fail
;
18121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18122 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
18124 wxPyEndAllowThreads(__tstate
);
18125 if (PyErr_Occurred()) SWIG_fail
;
18128 resultobj
= SWIG_From_int((int)(result
));
18136 static PyObject
*_wrap_wxSetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18137 PyObject
*resultobj
;
18138 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18140 PyObject
* obj0
= 0 ;
18141 char *kwnames
[] = {
18142 (char *) "self", NULL
18145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
18146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18147 if (SWIG_arg_fail(1)) SWIG_fail
;
18149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18150 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
18152 wxPyEndAllowThreads(__tstate
);
18153 if (PyErr_Occurred()) SWIG_fail
;
18156 resultobj
= SWIG_From_int((int)(result
));
18164 static PyObject
*_wrap_wxSetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18165 PyObject
*resultobj
;
18166 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18167 wxCursor
*arg2
= 0 ;
18168 PyObject
* obj0
= 0 ;
18169 PyObject
* obj1
= 0 ;
18170 char *kwnames
[] = {
18171 (char *) "self",(char *) "cursor", NULL
18174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
18175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18176 if (SWIG_arg_fail(1)) SWIG_fail
;
18178 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
18179 if (SWIG_arg_fail(2)) SWIG_fail
;
18180 if (arg2
== NULL
) {
18181 SWIG_null_ref("wxCursor");
18183 if (SWIG_arg_fail(2)) SWIG_fail
;
18186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18187 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
18189 wxPyEndAllowThreads(__tstate
);
18190 if (PyErr_Occurred()) SWIG_fail
;
18192 Py_INCREF(Py_None
); resultobj
= Py_None
;
18199 static PyObject
*_wrap_wxSetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18200 PyObject
*resultobj
;
18201 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18203 PyObject
* obj0
= 0 ;
18204 char *kwnames
[] = {
18205 (char *) "self", NULL
18208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
18209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18210 if (SWIG_arg_fail(1)) SWIG_fail
;
18212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18214 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
18215 result
= (wxCursor
*) &_result_ref
;
18218 wxPyEndAllowThreads(__tstate
);
18219 if (PyErr_Occurred()) SWIG_fail
;
18222 wxCursor
* resultptr
= new wxCursor(*result
);
18223 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
18231 static PyObject
*_wrap_wxSetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18232 PyObject
*resultobj
;
18233 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18235 PyObject
* obj0
= 0 ;
18236 char *kwnames
[] = {
18237 (char *) "self", NULL
18240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
18241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18242 if (SWIG_arg_fail(1)) SWIG_fail
;
18244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18245 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
18247 wxPyEndAllowThreads(__tstate
);
18248 if (PyErr_Occurred()) SWIG_fail
;
18251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18259 static PyObject
* wxSetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
18261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18262 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
18264 return Py_BuildValue((char *)"");
18266 static PyObject
*_wrap_new_wxKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18267 PyObject
*resultobj
;
18268 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18269 wxKeyEvent
*result
;
18270 PyObject
* obj0
= 0 ;
18271 char *kwnames
[] = {
18272 (char *) "keyType", NULL
18275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_wxKeyEvent",kwnames
,&obj0
)) goto fail
;
18278 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18279 if (SWIG_arg_fail(1)) SWIG_fail
;
18283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18284 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
18286 wxPyEndAllowThreads(__tstate
);
18287 if (PyErr_Occurred()) SWIG_fail
;
18289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
18296 static PyObject
*_wrap_wxKeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18297 PyObject
*resultobj
;
18298 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18300 PyObject
* obj0
= 0 ;
18301 char *kwnames
[] = {
18302 (char *) "self", NULL
18305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxKeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
18306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18307 if (SWIG_arg_fail(1)) SWIG_fail
;
18309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18310 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
18312 wxPyEndAllowThreads(__tstate
);
18313 if (PyErr_Occurred()) SWIG_fail
;
18316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18324 static PyObject
*_wrap_wxKeyEvent_MetaDown(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:wxKeyEvent_MetaDown",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
;
18337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18338 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
18340 wxPyEndAllowThreads(__tstate
);
18341 if (PyErr_Occurred()) SWIG_fail
;
18344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18352 static PyObject
*_wrap_wxKeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18353 PyObject
*resultobj
;
18354 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18356 PyObject
* obj0
= 0 ;
18357 char *kwnames
[] = {
18358 (char *) "self", NULL
18361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxKeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
18362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18363 if (SWIG_arg_fail(1)) SWIG_fail
;
18365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18366 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
18368 wxPyEndAllowThreads(__tstate
);
18369 if (PyErr_Occurred()) SWIG_fail
;
18372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18380 static PyObject
*_wrap_wxKeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18381 PyObject
*resultobj
;
18382 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18384 PyObject
* obj0
= 0 ;
18385 char *kwnames
[] = {
18386 (char *) "self", NULL
18389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxKeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
18390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18391 if (SWIG_arg_fail(1)) SWIG_fail
;
18393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18394 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
18396 wxPyEndAllowThreads(__tstate
);
18397 if (PyErr_Occurred()) SWIG_fail
;
18400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18408 static PyObject
*_wrap_wxKeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18409 PyObject
*resultobj
;
18410 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18412 PyObject
* obj0
= 0 ;
18413 char *kwnames
[] = {
18414 (char *) "self", NULL
18417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxKeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
18418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18419 if (SWIG_arg_fail(1)) SWIG_fail
;
18421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18422 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
18424 wxPyEndAllowThreads(__tstate
);
18425 if (PyErr_Occurred()) SWIG_fail
;
18428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18436 static PyObject
*_wrap_wxKeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18437 PyObject
*resultobj
;
18438 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18440 PyObject
* obj0
= 0 ;
18441 char *kwnames
[] = {
18442 (char *) "self", NULL
18445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxKeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
18446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18447 if (SWIG_arg_fail(1)) SWIG_fail
;
18449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18450 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
18452 wxPyEndAllowThreads(__tstate
);
18453 if (PyErr_Occurred()) SWIG_fail
;
18456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18464 static PyObject
*_wrap_wxKeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18465 PyObject
*resultobj
;
18466 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18468 PyObject
* obj0
= 0 ;
18469 char *kwnames
[] = {
18470 (char *) "self", NULL
18473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxKeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
18474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18475 if (SWIG_arg_fail(1)) SWIG_fail
;
18477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18478 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
18480 wxPyEndAllowThreads(__tstate
);
18481 if (PyErr_Occurred()) SWIG_fail
;
18484 resultobj
= SWIG_From_int((int)(result
));
18492 static PyObject
*_wrap_wxKeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18493 PyObject
*resultobj
;
18494 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18496 PyObject
* obj0
= 0 ;
18497 char *kwnames
[] = {
18498 (char *) "self", NULL
18501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxKeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
18502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18503 if (SWIG_arg_fail(1)) SWIG_fail
;
18505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18506 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
18508 wxPyEndAllowThreads(__tstate
);
18509 if (PyErr_Occurred()) SWIG_fail
;
18512 resultobj
= SWIG_From_int((int)(result
));
18520 static PyObject
*_wrap_wxKeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18521 PyObject
*resultobj
;
18522 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18523 unsigned int result
;
18524 PyObject
* obj0
= 0 ;
18525 char *kwnames
[] = {
18526 (char *) "self", NULL
18529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxKeyEvent_GetRawKeyCode",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
;
18533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18534 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
18536 wxPyEndAllowThreads(__tstate
);
18537 if (PyErr_Occurred()) SWIG_fail
;
18540 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18548 static PyObject
*_wrap_wxKeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18549 PyObject
*resultobj
;
18550 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18551 unsigned int result
;
18552 PyObject
* obj0
= 0 ;
18553 char *kwnames
[] = {
18554 (char *) "self", NULL
18557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxKeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
18558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18559 if (SWIG_arg_fail(1)) SWIG_fail
;
18561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18562 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
18564 wxPyEndAllowThreads(__tstate
);
18565 if (PyErr_Occurred()) SWIG_fail
;
18568 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18576 static PyObject
*_wrap_wxKeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18577 PyObject
*resultobj
;
18578 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18580 PyObject
* obj0
= 0 ;
18581 char *kwnames
[] = {
18582 (char *) "self", NULL
18585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxKeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18587 if (SWIG_arg_fail(1)) SWIG_fail
;
18589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18590 result
= (arg1
)->GetPosition();
18592 wxPyEndAllowThreads(__tstate
);
18593 if (PyErr_Occurred()) SWIG_fail
;
18596 wxPoint
* resultptr
;
18597 resultptr
= new wxPoint((wxPoint
&)(result
));
18598 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18606 static PyObject
*_wrap_wxKeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18607 PyObject
*resultobj
;
18608 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18609 long *arg2
= (long *) 0 ;
18610 long *arg3
= (long *) 0 ;
18615 PyObject
* obj0
= 0 ;
18616 char *kwnames
[] = {
18617 (char *) "self", NULL
18620 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18621 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxKeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
18623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18624 if (SWIG_arg_fail(1)) SWIG_fail
;
18626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18627 (arg1
)->GetPosition(arg2
,arg3
);
18629 wxPyEndAllowThreads(__tstate
);
18630 if (PyErr_Occurred()) SWIG_fail
;
18632 Py_INCREF(Py_None
); resultobj
= Py_None
;
18633 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18634 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
18635 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18636 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
18643 static PyObject
*_wrap_wxKeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18644 PyObject
*resultobj
;
18645 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18647 PyObject
* obj0
= 0 ;
18648 char *kwnames
[] = {
18649 (char *) "self", NULL
18652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxKeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
18653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18654 if (SWIG_arg_fail(1)) SWIG_fail
;
18656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18657 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
18659 wxPyEndAllowThreads(__tstate
);
18660 if (PyErr_Occurred()) SWIG_fail
;
18663 resultobj
= SWIG_From_int((int)(result
));
18671 static PyObject
*_wrap_wxKeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18672 PyObject
*resultobj
;
18673 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18675 PyObject
* obj0
= 0 ;
18676 char *kwnames
[] = {
18677 (char *) "self", NULL
18680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxKeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
18681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18682 if (SWIG_arg_fail(1)) SWIG_fail
;
18684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18685 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
18687 wxPyEndAllowThreads(__tstate
);
18688 if (PyErr_Occurred()) SWIG_fail
;
18691 resultobj
= SWIG_From_int((int)(result
));
18699 static PyObject
*_wrap_wxKeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18700 PyObject
*resultobj
;
18701 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18703 PyObject
* obj0
= 0 ;
18704 PyObject
* obj1
= 0 ;
18705 char *kwnames
[] = {
18706 (char *) "self",(char *) "m_x", NULL
18709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxKeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18711 if (SWIG_arg_fail(1)) SWIG_fail
;
18713 arg2
= (int)(SWIG_As_int(obj1
));
18714 if (SWIG_arg_fail(2)) SWIG_fail
;
18716 if (arg1
) (arg1
)->m_x
= arg2
;
18718 Py_INCREF(Py_None
); resultobj
= Py_None
;
18725 static PyObject
*_wrap_wxKeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18726 PyObject
*resultobj
;
18727 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18729 PyObject
* obj0
= 0 ;
18730 char *kwnames
[] = {
18731 (char *) "self", NULL
18734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxKeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18736 if (SWIG_arg_fail(1)) SWIG_fail
;
18737 result
= (int) ((arg1
)->m_x
);
18740 resultobj
= SWIG_From_int((int)(result
));
18748 static PyObject
*_wrap_wxKeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18749 PyObject
*resultobj
;
18750 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18752 PyObject
* obj0
= 0 ;
18753 PyObject
* obj1
= 0 ;
18754 char *kwnames
[] = {
18755 (char *) "self",(char *) "m_y", NULL
18758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxKeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18760 if (SWIG_arg_fail(1)) SWIG_fail
;
18762 arg2
= (int)(SWIG_As_int(obj1
));
18763 if (SWIG_arg_fail(2)) SWIG_fail
;
18765 if (arg1
) (arg1
)->m_y
= arg2
;
18767 Py_INCREF(Py_None
); resultobj
= Py_None
;
18774 static PyObject
*_wrap_wxKeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18775 PyObject
*resultobj
;
18776 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18778 PyObject
* obj0
= 0 ;
18779 char *kwnames
[] = {
18780 (char *) "self", NULL
18783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxKeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18785 if (SWIG_arg_fail(1)) SWIG_fail
;
18786 result
= (int) ((arg1
)->m_y
);
18789 resultobj
= SWIG_From_int((int)(result
));
18797 static PyObject
*_wrap_wxKeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18798 PyObject
*resultobj
;
18799 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18801 PyObject
* obj0
= 0 ;
18802 PyObject
* obj1
= 0 ;
18803 char *kwnames
[] = {
18804 (char *) "self",(char *) "m_keyCode", NULL
18807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxKeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18809 if (SWIG_arg_fail(1)) SWIG_fail
;
18811 arg2
= (long)(SWIG_As_long(obj1
));
18812 if (SWIG_arg_fail(2)) SWIG_fail
;
18814 if (arg1
) (arg1
)->m_keyCode
= arg2
;
18816 Py_INCREF(Py_None
); resultobj
= Py_None
;
18823 static PyObject
*_wrap_wxKeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18824 PyObject
*resultobj
;
18825 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18827 PyObject
* obj0
= 0 ;
18828 char *kwnames
[] = {
18829 (char *) "self", NULL
18832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxKeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
18833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18834 if (SWIG_arg_fail(1)) SWIG_fail
;
18835 result
= (long) ((arg1
)->m_keyCode
);
18838 resultobj
= SWIG_From_long((long)(result
));
18846 static PyObject
*_wrap_wxKeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18847 PyObject
*resultobj
;
18848 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18850 PyObject
* obj0
= 0 ;
18851 PyObject
* obj1
= 0 ;
18852 char *kwnames
[] = {
18853 (char *) "self",(char *) "m_controlDown", NULL
18856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxKeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18858 if (SWIG_arg_fail(1)) SWIG_fail
;
18860 arg2
= (bool)(SWIG_As_bool(obj1
));
18861 if (SWIG_arg_fail(2)) SWIG_fail
;
18863 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18865 Py_INCREF(Py_None
); resultobj
= Py_None
;
18872 static PyObject
*_wrap_wxKeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18873 PyObject
*resultobj
;
18874 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18876 PyObject
* obj0
= 0 ;
18877 char *kwnames
[] = {
18878 (char *) "self", NULL
18881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxKeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18883 if (SWIG_arg_fail(1)) SWIG_fail
;
18884 result
= (bool) ((arg1
)->m_controlDown
);
18887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18895 static PyObject
*_wrap_wxKeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18896 PyObject
*resultobj
;
18897 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18899 PyObject
* obj0
= 0 ;
18900 PyObject
* obj1
= 0 ;
18901 char *kwnames
[] = {
18902 (char *) "self",(char *) "m_shiftDown", NULL
18905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxKeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18907 if (SWIG_arg_fail(1)) SWIG_fail
;
18909 arg2
= (bool)(SWIG_As_bool(obj1
));
18910 if (SWIG_arg_fail(2)) SWIG_fail
;
18912 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18914 Py_INCREF(Py_None
); resultobj
= Py_None
;
18921 static PyObject
*_wrap_wxKeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18922 PyObject
*resultobj
;
18923 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18925 PyObject
* obj0
= 0 ;
18926 char *kwnames
[] = {
18927 (char *) "self", NULL
18930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxKeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18932 if (SWIG_arg_fail(1)) SWIG_fail
;
18933 result
= (bool) ((arg1
)->m_shiftDown
);
18936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18944 static PyObject
*_wrap_wxKeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18945 PyObject
*resultobj
;
18946 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18948 PyObject
* obj0
= 0 ;
18949 PyObject
* obj1
= 0 ;
18950 char *kwnames
[] = {
18951 (char *) "self",(char *) "m_altDown", NULL
18954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxKeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18956 if (SWIG_arg_fail(1)) SWIG_fail
;
18958 arg2
= (bool)(SWIG_As_bool(obj1
));
18959 if (SWIG_arg_fail(2)) SWIG_fail
;
18961 if (arg1
) (arg1
)->m_altDown
= arg2
;
18963 Py_INCREF(Py_None
); resultobj
= Py_None
;
18970 static PyObject
*_wrap_wxKeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18971 PyObject
*resultobj
;
18972 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18974 PyObject
* obj0
= 0 ;
18975 char *kwnames
[] = {
18976 (char *) "self", NULL
18979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxKeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
18980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18981 if (SWIG_arg_fail(1)) SWIG_fail
;
18982 result
= (bool) ((arg1
)->m_altDown
);
18985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18993 static PyObject
*_wrap_wxKeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18994 PyObject
*resultobj
;
18995 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18997 PyObject
* obj0
= 0 ;
18998 PyObject
* obj1
= 0 ;
18999 char *kwnames
[] = {
19000 (char *) "self",(char *) "m_metaDown", NULL
19003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxKeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19005 if (SWIG_arg_fail(1)) SWIG_fail
;
19007 arg2
= (bool)(SWIG_As_bool(obj1
));
19008 if (SWIG_arg_fail(2)) SWIG_fail
;
19010 if (arg1
) (arg1
)->m_metaDown
= arg2
;
19012 Py_INCREF(Py_None
); resultobj
= Py_None
;
19019 static PyObject
*_wrap_wxKeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19020 PyObject
*resultobj
;
19021 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19023 PyObject
* obj0
= 0 ;
19024 char *kwnames
[] = {
19025 (char *) "self", NULL
19028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxKeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
19029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19030 if (SWIG_arg_fail(1)) SWIG_fail
;
19031 result
= (bool) ((arg1
)->m_metaDown
);
19034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19042 static PyObject
*_wrap_wxKeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19043 PyObject
*resultobj
;
19044 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19046 PyObject
* obj0
= 0 ;
19047 PyObject
* obj1
= 0 ;
19048 char *kwnames
[] = {
19049 (char *) "self",(char *) "m_scanCode", NULL
19052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxKeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19054 if (SWIG_arg_fail(1)) SWIG_fail
;
19056 arg2
= (bool)(SWIG_As_bool(obj1
));
19057 if (SWIG_arg_fail(2)) SWIG_fail
;
19059 if (arg1
) (arg1
)->m_scanCode
= arg2
;
19061 Py_INCREF(Py_None
); resultobj
= Py_None
;
19068 static PyObject
*_wrap_wxKeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19069 PyObject
*resultobj
;
19070 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19072 PyObject
* obj0
= 0 ;
19073 char *kwnames
[] = {
19074 (char *) "self", NULL
19077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxKeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
19078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19079 if (SWIG_arg_fail(1)) SWIG_fail
;
19080 result
= (bool) ((arg1
)->m_scanCode
);
19083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19091 static PyObject
*_wrap_wxKeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19092 PyObject
*resultobj
;
19093 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19094 unsigned int arg2
;
19095 PyObject
* obj0
= 0 ;
19096 PyObject
* obj1
= 0 ;
19097 char *kwnames
[] = {
19098 (char *) "self",(char *) "m_rawCode", NULL
19101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxKeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19103 if (SWIG_arg_fail(1)) SWIG_fail
;
19105 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19106 if (SWIG_arg_fail(2)) SWIG_fail
;
19108 if (arg1
) (arg1
)->m_rawCode
= arg2
;
19110 Py_INCREF(Py_None
); resultobj
= Py_None
;
19117 static PyObject
*_wrap_wxKeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19118 PyObject
*resultobj
;
19119 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19120 unsigned int result
;
19121 PyObject
* obj0
= 0 ;
19122 char *kwnames
[] = {
19123 (char *) "self", NULL
19126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxKeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
19127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19128 if (SWIG_arg_fail(1)) SWIG_fail
;
19129 result
= (unsigned int) ((arg1
)->m_rawCode
);
19132 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19140 static PyObject
*_wrap_wxKeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19141 PyObject
*resultobj
;
19142 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19143 unsigned int arg2
;
19144 PyObject
* obj0
= 0 ;
19145 PyObject
* obj1
= 0 ;
19146 char *kwnames
[] = {
19147 (char *) "self",(char *) "m_rawFlags", NULL
19150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxKeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19152 if (SWIG_arg_fail(1)) SWIG_fail
;
19154 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19155 if (SWIG_arg_fail(2)) SWIG_fail
;
19157 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
19159 Py_INCREF(Py_None
); resultobj
= Py_None
;
19166 static PyObject
*_wrap_wxKeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19167 PyObject
*resultobj
;
19168 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19169 unsigned int result
;
19170 PyObject
* obj0
= 0 ;
19171 char *kwnames
[] = {
19172 (char *) "self", NULL
19175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxKeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
19176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19177 if (SWIG_arg_fail(1)) SWIG_fail
;
19178 result
= (unsigned int) ((arg1
)->m_rawFlags
);
19181 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19189 static PyObject
* wxKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19191 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19192 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
19194 return Py_BuildValue((char *)"");
19196 static PyObject
*_wrap_new_wxSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19197 PyObject
*resultobj
;
19198 wxSize
const &arg1_defvalue
= wxDefaultSize
;
19199 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
19200 int arg2
= (int) 0 ;
19201 wxSizeEvent
*result
;
19203 PyObject
* obj0
= 0 ;
19204 PyObject
* obj1
= 0 ;
19205 char *kwnames
[] = {
19206 (char *) "sz",(char *) "winid", NULL
19209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_wxSizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19213 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
19218 arg2
= (int)(SWIG_As_int(obj1
));
19219 if (SWIG_arg_fail(2)) SWIG_fail
;
19223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19224 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
19226 wxPyEndAllowThreads(__tstate
);
19227 if (PyErr_Occurred()) SWIG_fail
;
19229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
19236 static PyObject
*_wrap_wxSizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19237 PyObject
*resultobj
;
19238 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19240 PyObject
* obj0
= 0 ;
19241 char *kwnames
[] = {
19242 (char *) "self", NULL
19245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
19246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19247 if (SWIG_arg_fail(1)) SWIG_fail
;
19249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19250 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
19252 wxPyEndAllowThreads(__tstate
);
19253 if (PyErr_Occurred()) SWIG_fail
;
19256 wxSize
* resultptr
;
19257 resultptr
= new wxSize((wxSize
&)(result
));
19258 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19266 static PyObject
*_wrap_wxSizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19267 PyObject
*resultobj
;
19268 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19270 PyObject
* obj0
= 0 ;
19271 char *kwnames
[] = {
19272 (char *) "self", NULL
19275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19277 if (SWIG_arg_fail(1)) SWIG_fail
;
19279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19280 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
19282 wxPyEndAllowThreads(__tstate
);
19283 if (PyErr_Occurred()) SWIG_fail
;
19286 wxRect
* resultptr
;
19287 resultptr
= new wxRect((wxRect
&)(result
));
19288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19296 static PyObject
*_wrap_wxSizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19297 PyObject
*resultobj
;
19298 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19300 PyObject
* obj0
= 0 ;
19301 PyObject
* obj1
= 0 ;
19302 char *kwnames
[] = {
19303 (char *) "self",(char *) "rect", NULL
19306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19308 if (SWIG_arg_fail(1)) SWIG_fail
;
19311 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
19312 if (SWIG_arg_fail(2)) SWIG_fail
;
19313 if (argp
== NULL
) {
19314 SWIG_null_ref("wxRect");
19316 if (SWIG_arg_fail(2)) SWIG_fail
;
19320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19321 (arg1
)->SetRect(arg2
);
19323 wxPyEndAllowThreads(__tstate
);
19324 if (PyErr_Occurred()) SWIG_fail
;
19326 Py_INCREF(Py_None
); resultobj
= Py_None
;
19333 static PyObject
*_wrap_wxSizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19334 PyObject
*resultobj
;
19335 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19337 PyObject
* obj0
= 0 ;
19338 PyObject
* obj1
= 0 ;
19339 char *kwnames
[] = {
19340 (char *) "self",(char *) "size", NULL
19343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19345 if (SWIG_arg_fail(1)) SWIG_fail
;
19348 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
19349 if (SWIG_arg_fail(2)) SWIG_fail
;
19350 if (argp
== NULL
) {
19351 SWIG_null_ref("wxSize");
19353 if (SWIG_arg_fail(2)) SWIG_fail
;
19357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19358 wxSizeEvent_SetSize(arg1
,arg2
);
19360 wxPyEndAllowThreads(__tstate
);
19361 if (PyErr_Occurred()) SWIG_fail
;
19363 Py_INCREF(Py_None
); resultobj
= Py_None
;
19370 static PyObject
*_wrap_wxSizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19371 PyObject
*resultobj
;
19372 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19373 wxSize
*arg2
= (wxSize
*) 0 ;
19374 PyObject
* obj0
= 0 ;
19375 PyObject
* obj1
= 0 ;
19376 char *kwnames
[] = {
19377 (char *) "self",(char *) "m_size", NULL
19380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19382 if (SWIG_arg_fail(1)) SWIG_fail
;
19383 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
19384 if (SWIG_arg_fail(2)) SWIG_fail
;
19385 if (arg1
) (arg1
)->m_size
= *arg2
;
19387 Py_INCREF(Py_None
); resultobj
= Py_None
;
19394 static PyObject
*_wrap_wxSizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19395 PyObject
*resultobj
;
19396 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19398 PyObject
* obj0
= 0 ;
19399 char *kwnames
[] = {
19400 (char *) "self", NULL
19403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
19404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19405 if (SWIG_arg_fail(1)) SWIG_fail
;
19406 result
= (wxSize
*)& ((arg1
)->m_size
);
19408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
19415 static PyObject
*_wrap_wxSizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19416 PyObject
*resultobj
;
19417 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19418 wxRect
*arg2
= (wxRect
*) 0 ;
19419 PyObject
* obj0
= 0 ;
19420 PyObject
* obj1
= 0 ;
19421 char *kwnames
[] = {
19422 (char *) "self",(char *) "m_rect", NULL
19425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19427 if (SWIG_arg_fail(1)) SWIG_fail
;
19428 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
19429 if (SWIG_arg_fail(2)) SWIG_fail
;
19430 if (arg1
) (arg1
)->m_rect
= *arg2
;
19432 Py_INCREF(Py_None
); resultobj
= Py_None
;
19439 static PyObject
*_wrap_wxSizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19440 PyObject
*resultobj
;
19441 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19443 PyObject
* obj0
= 0 ;
19444 char *kwnames
[] = {
19445 (char *) "self", NULL
19448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
19449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19450 if (SWIG_arg_fail(1)) SWIG_fail
;
19451 result
= (wxRect
*)& ((arg1
)->m_rect
);
19453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
19460 static PyObject
* wxSizeEvent_swigregister(PyObject
*, PyObject
*args
) {
19462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19463 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
19465 return Py_BuildValue((char *)"");
19467 static PyObject
*_wrap_new_wxMoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19468 PyObject
*resultobj
;
19469 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
19470 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
19471 int arg2
= (int) 0 ;
19472 wxMoveEvent
*result
;
19474 PyObject
* obj0
= 0 ;
19475 PyObject
* obj1
= 0 ;
19476 char *kwnames
[] = {
19477 (char *) "pos",(char *) "winid", NULL
19480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_wxMoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19484 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
19489 arg2
= (int)(SWIG_As_int(obj1
));
19490 if (SWIG_arg_fail(2)) SWIG_fail
;
19494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19495 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
19497 wxPyEndAllowThreads(__tstate
);
19498 if (PyErr_Occurred()) SWIG_fail
;
19500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
19507 static PyObject
*_wrap_wxMoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19508 PyObject
*resultobj
;
19509 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19511 PyObject
* obj0
= 0 ;
19512 char *kwnames
[] = {
19513 (char *) "self", NULL
19516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19518 if (SWIG_arg_fail(1)) SWIG_fail
;
19520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19521 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
19523 wxPyEndAllowThreads(__tstate
);
19524 if (PyErr_Occurred()) SWIG_fail
;
19527 wxPoint
* resultptr
;
19528 resultptr
= new wxPoint((wxPoint
&)(result
));
19529 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19537 static PyObject
*_wrap_wxMoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19538 PyObject
*resultobj
;
19539 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19541 PyObject
* obj0
= 0 ;
19542 char *kwnames
[] = {
19543 (char *) "self", NULL
19546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19548 if (SWIG_arg_fail(1)) SWIG_fail
;
19550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19551 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
19553 wxPyEndAllowThreads(__tstate
);
19554 if (PyErr_Occurred()) SWIG_fail
;
19557 wxRect
* resultptr
;
19558 resultptr
= new wxRect((wxRect
&)(result
));
19559 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19567 static PyObject
*_wrap_wxMoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19568 PyObject
*resultobj
;
19569 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19572 PyObject
* obj0
= 0 ;
19573 PyObject
* obj1
= 0 ;
19574 char *kwnames
[] = {
19575 (char *) "self",(char *) "rect", NULL
19578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19580 if (SWIG_arg_fail(1)) SWIG_fail
;
19583 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19587 (arg1
)->SetRect((wxRect
const &)*arg2
);
19589 wxPyEndAllowThreads(__tstate
);
19590 if (PyErr_Occurred()) SWIG_fail
;
19592 Py_INCREF(Py_None
); resultobj
= Py_None
;
19599 static PyObject
*_wrap_wxMoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19600 PyObject
*resultobj
;
19601 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19602 wxPoint
*arg2
= 0 ;
19604 PyObject
* obj0
= 0 ;
19605 PyObject
* obj1
= 0 ;
19606 char *kwnames
[] = {
19607 (char *) "self",(char *) "pos", NULL
19610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19612 if (SWIG_arg_fail(1)) SWIG_fail
;
19615 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19619 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19621 wxPyEndAllowThreads(__tstate
);
19622 if (PyErr_Occurred()) SWIG_fail
;
19624 Py_INCREF(Py_None
); resultobj
= Py_None
;
19631 static PyObject
* wxMoveEvent_swigregister(PyObject
*, PyObject
*args
) {
19633 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19634 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
19636 return Py_BuildValue((char *)"");
19638 static PyObject
*_wrap_new_wxPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19639 PyObject
*resultobj
;
19640 int arg1
= (int) 0 ;
19641 wxPaintEvent
*result
;
19642 PyObject
* obj0
= 0 ;
19643 char *kwnames
[] = {
19644 (char *) "Id", NULL
19647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_wxPaintEvent",kwnames
,&obj0
)) goto fail
;
19650 arg1
= (int)(SWIG_As_int(obj0
));
19651 if (SWIG_arg_fail(1)) SWIG_fail
;
19655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19656 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
19658 wxPyEndAllowThreads(__tstate
);
19659 if (PyErr_Occurred()) SWIG_fail
;
19661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
19668 static PyObject
* wxPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19671 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
19673 return Py_BuildValue((char *)"");
19675 static PyObject
*_wrap_new_wxNcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19676 PyObject
*resultobj
;
19677 int arg1
= (int) 0 ;
19678 wxNcPaintEvent
*result
;
19679 PyObject
* obj0
= 0 ;
19680 char *kwnames
[] = {
19681 (char *) "winid", NULL
19684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_wxNcPaintEvent",kwnames
,&obj0
)) goto fail
;
19687 arg1
= (int)(SWIG_As_int(obj0
));
19688 if (SWIG_arg_fail(1)) SWIG_fail
;
19692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19693 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
19695 wxPyEndAllowThreads(__tstate
);
19696 if (PyErr_Occurred()) SWIG_fail
;
19698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
19705 static PyObject
* wxNcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19708 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
19710 return Py_BuildValue((char *)"");
19712 static PyObject
*_wrap_new_wxEraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19713 PyObject
*resultobj
;
19714 int arg1
= (int) 0 ;
19715 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
19716 wxEraseEvent
*result
;
19717 PyObject
* obj0
= 0 ;
19718 PyObject
* obj1
= 0 ;
19719 char *kwnames
[] = {
19720 (char *) "Id",(char *) "dc", NULL
19723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_wxEraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19726 arg1
= (int)(SWIG_As_int(obj0
));
19727 if (SWIG_arg_fail(1)) SWIG_fail
;
19731 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19732 if (SWIG_arg_fail(2)) SWIG_fail
;
19735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19736 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
19738 wxPyEndAllowThreads(__tstate
);
19739 if (PyErr_Occurred()) SWIG_fail
;
19741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
19748 static PyObject
*_wrap_wxEraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19749 PyObject
*resultobj
;
19750 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
19752 PyObject
* obj0
= 0 ;
19753 char *kwnames
[] = {
19754 (char *) "self", NULL
19757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxEraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
19758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19759 if (SWIG_arg_fail(1)) SWIG_fail
;
19761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19762 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
19764 wxPyEndAllowThreads(__tstate
);
19765 if (PyErr_Occurred()) SWIG_fail
;
19768 resultobj
= wxPyMake_wxObject(result
, 0);
19776 static PyObject
* wxEraseEvent_swigregister(PyObject
*, PyObject
*args
) {
19778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19779 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
19781 return Py_BuildValue((char *)"");
19783 static PyObject
*_wrap_new_wxFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19784 PyObject
*resultobj
;
19785 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19786 int arg2
= (int) 0 ;
19787 wxFocusEvent
*result
;
19788 PyObject
* obj0
= 0 ;
19789 PyObject
* obj1
= 0 ;
19790 char *kwnames
[] = {
19791 (char *) "type",(char *) "winid", NULL
19794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_wxFocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19797 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19798 if (SWIG_arg_fail(1)) SWIG_fail
;
19803 arg2
= (int)(SWIG_As_int(obj1
));
19804 if (SWIG_arg_fail(2)) SWIG_fail
;
19808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19809 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
19811 wxPyEndAllowThreads(__tstate
);
19812 if (PyErr_Occurred()) SWIG_fail
;
19814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
19821 static PyObject
*_wrap_wxFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19822 PyObject
*resultobj
;
19823 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19825 PyObject
* obj0
= 0 ;
19826 char *kwnames
[] = {
19827 (char *) "self", NULL
19830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19832 if (SWIG_arg_fail(1)) SWIG_fail
;
19834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19835 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
19837 wxPyEndAllowThreads(__tstate
);
19838 if (PyErr_Occurred()) SWIG_fail
;
19841 resultobj
= wxPyMake_wxObject(result
, 0);
19849 static PyObject
*_wrap_wxFocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19850 PyObject
*resultobj
;
19851 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19852 wxWindow
*arg2
= (wxWindow
*) 0 ;
19853 PyObject
* obj0
= 0 ;
19854 PyObject
* obj1
= 0 ;
19855 char *kwnames
[] = {
19856 (char *) "self",(char *) "win", NULL
19859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxFocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19861 if (SWIG_arg_fail(1)) SWIG_fail
;
19862 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19863 if (SWIG_arg_fail(2)) SWIG_fail
;
19865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19866 (arg1
)->SetWindow(arg2
);
19868 wxPyEndAllowThreads(__tstate
);
19869 if (PyErr_Occurred()) SWIG_fail
;
19871 Py_INCREF(Py_None
); resultobj
= Py_None
;
19878 static PyObject
* wxFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19881 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
19883 return Py_BuildValue((char *)"");
19885 static PyObject
*_wrap_new_wxChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19886 PyObject
*resultobj
;
19887 wxWindow
*arg1
= (wxWindow
*) NULL
;
19888 wxChildFocusEvent
*result
;
19889 PyObject
* obj0
= 0 ;
19890 char *kwnames
[] = {
19891 (char *) "win", NULL
19894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_wxChildFocusEvent",kwnames
,&obj0
)) goto fail
;
19896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19897 if (SWIG_arg_fail(1)) SWIG_fail
;
19900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19901 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
19903 wxPyEndAllowThreads(__tstate
);
19904 if (PyErr_Occurred()) SWIG_fail
;
19906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
19913 static PyObject
*_wrap_wxChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19914 PyObject
*resultobj
;
19915 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
19917 PyObject
* obj0
= 0 ;
19918 char *kwnames
[] = {
19919 (char *) "self", NULL
19922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19924 if (SWIG_arg_fail(1)) SWIG_fail
;
19926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19927 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
19929 wxPyEndAllowThreads(__tstate
);
19930 if (PyErr_Occurred()) SWIG_fail
;
19933 resultobj
= wxPyMake_wxObject(result
, 0);
19941 static PyObject
* wxChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19944 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
19946 return Py_BuildValue((char *)"");
19948 static PyObject
*_wrap_new_wxActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19949 PyObject
*resultobj
;
19950 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19951 bool arg2
= (bool) true ;
19952 int arg3
= (int) 0 ;
19953 wxActivateEvent
*result
;
19954 PyObject
* obj0
= 0 ;
19955 PyObject
* obj1
= 0 ;
19956 PyObject
* obj2
= 0 ;
19957 char *kwnames
[] = {
19958 (char *) "type",(char *) "active",(char *) "Id", NULL
19961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_wxActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19964 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19965 if (SWIG_arg_fail(1)) SWIG_fail
;
19970 arg2
= (bool)(SWIG_As_bool(obj1
));
19971 if (SWIG_arg_fail(2)) SWIG_fail
;
19976 arg3
= (int)(SWIG_As_int(obj2
));
19977 if (SWIG_arg_fail(3)) SWIG_fail
;
19981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19982 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
19984 wxPyEndAllowThreads(__tstate
);
19985 if (PyErr_Occurred()) SWIG_fail
;
19987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
19994 static PyObject
*_wrap_wxActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19995 PyObject
*resultobj
;
19996 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
19998 PyObject
* obj0
= 0 ;
19999 char *kwnames
[] = {
20000 (char *) "self", NULL
20003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
20004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
20005 if (SWIG_arg_fail(1)) SWIG_fail
;
20007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20008 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
20010 wxPyEndAllowThreads(__tstate
);
20011 if (PyErr_Occurred()) SWIG_fail
;
20014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20022 static PyObject
* wxActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
20024 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20025 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
20027 return Py_BuildValue((char *)"");
20029 static PyObject
*_wrap_new_wxInitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20030 PyObject
*resultobj
;
20031 int arg1
= (int) 0 ;
20032 wxInitDialogEvent
*result
;
20033 PyObject
* obj0
= 0 ;
20034 char *kwnames
[] = {
20035 (char *) "Id", NULL
20038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_wxInitDialogEvent",kwnames
,&obj0
)) goto fail
;
20041 arg1
= (int)(SWIG_As_int(obj0
));
20042 if (SWIG_arg_fail(1)) SWIG_fail
;
20046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20047 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
20049 wxPyEndAllowThreads(__tstate
);
20050 if (PyErr_Occurred()) SWIG_fail
;
20052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
20059 static PyObject
* wxInitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
20061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20062 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
20064 return Py_BuildValue((char *)"");
20066 static PyObject
*_wrap_new_wxMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20067 PyObject
*resultobj
;
20068 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20069 int arg2
= (int) 0 ;
20070 wxMenu
*arg3
= (wxMenu
*) NULL
;
20071 wxMenuEvent
*result
;
20072 PyObject
* obj0
= 0 ;
20073 PyObject
* obj1
= 0 ;
20074 PyObject
* obj2
= 0 ;
20075 char *kwnames
[] = {
20076 (char *) "type",(char *) "winid",(char *) "menu", NULL
20079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_wxMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20082 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20083 if (SWIG_arg_fail(1)) SWIG_fail
;
20088 arg2
= (int)(SWIG_As_int(obj1
));
20089 if (SWIG_arg_fail(2)) SWIG_fail
;
20093 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
20094 if (SWIG_arg_fail(3)) SWIG_fail
;
20097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20098 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
20100 wxPyEndAllowThreads(__tstate
);
20101 if (PyErr_Occurred()) SWIG_fail
;
20103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
20110 static PyObject
*_wrap_wxMenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20111 PyObject
*resultobj
;
20112 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20114 PyObject
* obj0
= 0 ;
20115 char *kwnames
[] = {
20116 (char *) "self", NULL
20119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
20120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20121 if (SWIG_arg_fail(1)) SWIG_fail
;
20123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20124 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
20126 wxPyEndAllowThreads(__tstate
);
20127 if (PyErr_Occurred()) SWIG_fail
;
20130 resultobj
= SWIG_From_int((int)(result
));
20138 static PyObject
*_wrap_wxMenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20139 PyObject
*resultobj
;
20140 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20142 PyObject
* obj0
= 0 ;
20143 char *kwnames
[] = {
20144 (char *) "self", NULL
20147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
20148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20149 if (SWIG_arg_fail(1)) SWIG_fail
;
20151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20152 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
20154 wxPyEndAllowThreads(__tstate
);
20155 if (PyErr_Occurred()) SWIG_fail
;
20158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20166 static PyObject
*_wrap_wxMenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20167 PyObject
*resultobj
;
20168 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20170 PyObject
* obj0
= 0 ;
20171 char *kwnames
[] = {
20172 (char *) "self", NULL
20175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
20176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20177 if (SWIG_arg_fail(1)) SWIG_fail
;
20179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20180 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
20182 wxPyEndAllowThreads(__tstate
);
20183 if (PyErr_Occurred()) SWIG_fail
;
20186 resultobj
= wxPyMake_wxObject(result
, 0);
20194 static PyObject
* wxMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
20196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20197 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
20199 return Py_BuildValue((char *)"");
20201 static PyObject
*_wrap_new_wxCloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20202 PyObject
*resultobj
;
20203 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20204 int arg2
= (int) 0 ;
20205 wxCloseEvent
*result
;
20206 PyObject
* obj0
= 0 ;
20207 PyObject
* obj1
= 0 ;
20208 char *kwnames
[] = {
20209 (char *) "type",(char *) "winid", NULL
20212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_wxCloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20215 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20216 if (SWIG_arg_fail(1)) SWIG_fail
;
20221 arg2
= (int)(SWIG_As_int(obj1
));
20222 if (SWIG_arg_fail(2)) SWIG_fail
;
20226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20227 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
20229 wxPyEndAllowThreads(__tstate
);
20230 if (PyErr_Occurred()) SWIG_fail
;
20232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
20239 static PyObject
*_wrap_wxCloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20240 PyObject
*resultobj
;
20241 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20243 PyObject
* obj0
= 0 ;
20244 PyObject
* obj1
= 0 ;
20245 char *kwnames
[] = {
20246 (char *) "self",(char *) "logOff", NULL
20249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxCloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
20250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20251 if (SWIG_arg_fail(1)) SWIG_fail
;
20253 arg2
= (bool)(SWIG_As_bool(obj1
));
20254 if (SWIG_arg_fail(2)) SWIG_fail
;
20257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20258 (arg1
)->SetLoggingOff(arg2
);
20260 wxPyEndAllowThreads(__tstate
);
20261 if (PyErr_Occurred()) SWIG_fail
;
20263 Py_INCREF(Py_None
); resultobj
= Py_None
;
20270 static PyObject
*_wrap_wxCloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20271 PyObject
*resultobj
;
20272 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20274 PyObject
* obj0
= 0 ;
20275 char *kwnames
[] = {
20276 (char *) "self", NULL
20279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxCloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
20280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20281 if (SWIG_arg_fail(1)) SWIG_fail
;
20283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20284 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
20286 wxPyEndAllowThreads(__tstate
);
20287 if (PyErr_Occurred()) SWIG_fail
;
20290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20298 static PyObject
*_wrap_wxCloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20299 PyObject
*resultobj
;
20300 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20301 bool arg2
= (bool) true ;
20302 PyObject
* obj0
= 0 ;
20303 PyObject
* obj1
= 0 ;
20304 char *kwnames
[] = {
20305 (char *) "self",(char *) "veto", NULL
20308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:wxCloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
20309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20310 if (SWIG_arg_fail(1)) SWIG_fail
;
20313 arg2
= (bool)(SWIG_As_bool(obj1
));
20314 if (SWIG_arg_fail(2)) SWIG_fail
;
20318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20319 (arg1
)->Veto(arg2
);
20321 wxPyEndAllowThreads(__tstate
);
20322 if (PyErr_Occurred()) SWIG_fail
;
20324 Py_INCREF(Py_None
); resultobj
= Py_None
;
20331 static PyObject
*_wrap_wxCloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20332 PyObject
*resultobj
;
20333 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20335 PyObject
* obj0
= 0 ;
20336 PyObject
* obj1
= 0 ;
20337 char *kwnames
[] = {
20338 (char *) "self",(char *) "canVeto", NULL
20341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxCloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
20342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20343 if (SWIG_arg_fail(1)) SWIG_fail
;
20345 arg2
= (bool)(SWIG_As_bool(obj1
));
20346 if (SWIG_arg_fail(2)) SWIG_fail
;
20349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20350 (arg1
)->SetCanVeto(arg2
);
20352 wxPyEndAllowThreads(__tstate
);
20353 if (PyErr_Occurred()) SWIG_fail
;
20355 Py_INCREF(Py_None
); resultobj
= Py_None
;
20362 static PyObject
*_wrap_wxCloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20363 PyObject
*resultobj
;
20364 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20366 PyObject
* obj0
= 0 ;
20367 char *kwnames
[] = {
20368 (char *) "self", NULL
20371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxCloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
20372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20373 if (SWIG_arg_fail(1)) SWIG_fail
;
20375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20376 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
20378 wxPyEndAllowThreads(__tstate
);
20379 if (PyErr_Occurred()) SWIG_fail
;
20382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20390 static PyObject
*_wrap_wxCloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20391 PyObject
*resultobj
;
20392 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20394 PyObject
* obj0
= 0 ;
20395 char *kwnames
[] = {
20396 (char *) "self", NULL
20399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxCloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
20400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20401 if (SWIG_arg_fail(1)) SWIG_fail
;
20403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20404 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
20406 wxPyEndAllowThreads(__tstate
);
20407 if (PyErr_Occurred()) SWIG_fail
;
20410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20418 static PyObject
* wxCloseEvent_swigregister(PyObject
*, PyObject
*args
) {
20420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20421 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
20423 return Py_BuildValue((char *)"");
20425 static PyObject
*_wrap_new_wxShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20426 PyObject
*resultobj
;
20427 int arg1
= (int) 0 ;
20428 bool arg2
= (bool) false ;
20429 wxShowEvent
*result
;
20430 PyObject
* obj0
= 0 ;
20431 PyObject
* obj1
= 0 ;
20432 char *kwnames
[] = {
20433 (char *) "winid",(char *) "show", NULL
20436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_wxShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20439 arg1
= (int)(SWIG_As_int(obj0
));
20440 if (SWIG_arg_fail(1)) SWIG_fail
;
20445 arg2
= (bool)(SWIG_As_bool(obj1
));
20446 if (SWIG_arg_fail(2)) SWIG_fail
;
20450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20451 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
20453 wxPyEndAllowThreads(__tstate
);
20454 if (PyErr_Occurred()) SWIG_fail
;
20456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
20463 static PyObject
*_wrap_wxShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20464 PyObject
*resultobj
;
20465 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20467 PyObject
* obj0
= 0 ;
20468 PyObject
* obj1
= 0 ;
20469 char *kwnames
[] = {
20470 (char *) "self",(char *) "show", NULL
20473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
20474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20475 if (SWIG_arg_fail(1)) SWIG_fail
;
20477 arg2
= (bool)(SWIG_As_bool(obj1
));
20478 if (SWIG_arg_fail(2)) SWIG_fail
;
20481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20482 (arg1
)->SetShow(arg2
);
20484 wxPyEndAllowThreads(__tstate
);
20485 if (PyErr_Occurred()) SWIG_fail
;
20487 Py_INCREF(Py_None
); resultobj
= Py_None
;
20494 static PyObject
*_wrap_wxShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20495 PyObject
*resultobj
;
20496 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20498 PyObject
* obj0
= 0 ;
20499 char *kwnames
[] = {
20500 (char *) "self", NULL
20503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
20504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20505 if (SWIG_arg_fail(1)) SWIG_fail
;
20507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20508 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
20510 wxPyEndAllowThreads(__tstate
);
20511 if (PyErr_Occurred()) SWIG_fail
;
20514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20522 static PyObject
* wxShowEvent_swigregister(PyObject
*, PyObject
*args
) {
20524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20525 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
20527 return Py_BuildValue((char *)"");
20529 static PyObject
*_wrap_new_wxIconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20530 PyObject
*resultobj
;
20531 int arg1
= (int) 0 ;
20532 bool arg2
= (bool) true ;
20533 wxIconizeEvent
*result
;
20534 PyObject
* obj0
= 0 ;
20535 PyObject
* obj1
= 0 ;
20536 char *kwnames
[] = {
20537 (char *) "id",(char *) "iconized", NULL
20540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_wxIconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20543 arg1
= (int)(SWIG_As_int(obj0
));
20544 if (SWIG_arg_fail(1)) SWIG_fail
;
20549 arg2
= (bool)(SWIG_As_bool(obj1
));
20550 if (SWIG_arg_fail(2)) SWIG_fail
;
20554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20555 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
20557 wxPyEndAllowThreads(__tstate
);
20558 if (PyErr_Occurred()) SWIG_fail
;
20560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
20567 static PyObject
*_wrap_wxIconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20568 PyObject
*resultobj
;
20569 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
20571 PyObject
* obj0
= 0 ;
20572 char *kwnames
[] = {
20573 (char *) "self", NULL
20576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxIconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
20577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20578 if (SWIG_arg_fail(1)) SWIG_fail
;
20580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20581 result
= (bool)(arg1
)->Iconized();
20583 wxPyEndAllowThreads(__tstate
);
20584 if (PyErr_Occurred()) SWIG_fail
;
20587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20595 static PyObject
* wxIconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20597 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20598 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
20600 return Py_BuildValue((char *)"");
20602 static PyObject
*_wrap_new_wxMaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20603 PyObject
*resultobj
;
20604 int arg1
= (int) 0 ;
20605 wxMaximizeEvent
*result
;
20606 PyObject
* obj0
= 0 ;
20607 char *kwnames
[] = {
20608 (char *) "id", NULL
20611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_wxMaximizeEvent",kwnames
,&obj0
)) goto fail
;
20614 arg1
= (int)(SWIG_As_int(obj0
));
20615 if (SWIG_arg_fail(1)) SWIG_fail
;
20619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20620 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
20622 wxPyEndAllowThreads(__tstate
);
20623 if (PyErr_Occurred()) SWIG_fail
;
20625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
20632 static PyObject
* wxMaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20635 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
20637 return Py_BuildValue((char *)"");
20639 static PyObject
*_wrap_wxDropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20640 PyObject
*resultobj
;
20641 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20643 PyObject
* obj0
= 0 ;
20644 char *kwnames
[] = {
20645 (char *) "self", NULL
20648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxDropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20650 if (SWIG_arg_fail(1)) SWIG_fail
;
20652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20653 result
= (arg1
)->GetPosition();
20655 wxPyEndAllowThreads(__tstate
);
20656 if (PyErr_Occurred()) SWIG_fail
;
20659 wxPoint
* resultptr
;
20660 resultptr
= new wxPoint((wxPoint
&)(result
));
20661 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20669 static PyObject
*_wrap_wxDropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20670 PyObject
*resultobj
;
20671 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20673 PyObject
* obj0
= 0 ;
20674 char *kwnames
[] = {
20675 (char *) "self", NULL
20678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxDropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
20679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20680 if (SWIG_arg_fail(1)) SWIG_fail
;
20682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20683 result
= (int)(arg1
)->GetNumberOfFiles();
20685 wxPyEndAllowThreads(__tstate
);
20686 if (PyErr_Occurred()) SWIG_fail
;
20689 resultobj
= SWIG_From_int((int)(result
));
20697 static PyObject
*_wrap_wxDropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20698 PyObject
*resultobj
;
20699 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20701 PyObject
* obj0
= 0 ;
20702 char *kwnames
[] = {
20703 (char *) "self", NULL
20706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxDropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
20707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20708 if (SWIG_arg_fail(1)) SWIG_fail
;
20710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20711 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
20713 wxPyEndAllowThreads(__tstate
);
20714 if (PyErr_Occurred()) SWIG_fail
;
20716 resultobj
= result
;
20723 static PyObject
* wxDropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
20725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20726 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
20728 return Py_BuildValue((char *)"");
20730 static PyObject
*_wrap_new_wxUpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20731 PyObject
*resultobj
;
20732 int arg1
= (int) 0 ;
20733 wxUpdateUIEvent
*result
;
20734 PyObject
* obj0
= 0 ;
20735 char *kwnames
[] = {
20736 (char *) "commandId", NULL
20739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_wxUpdateUIEvent",kwnames
,&obj0
)) goto fail
;
20742 arg1
= (int)(SWIG_As_int(obj0
));
20743 if (SWIG_arg_fail(1)) SWIG_fail
;
20747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20748 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
20750 wxPyEndAllowThreads(__tstate
);
20751 if (PyErr_Occurred()) SWIG_fail
;
20753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
20760 static PyObject
*_wrap_wxUpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20761 PyObject
*resultobj
;
20762 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20764 PyObject
* obj0
= 0 ;
20765 char *kwnames
[] = {
20766 (char *) "self", NULL
20769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxUpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
20770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20771 if (SWIG_arg_fail(1)) SWIG_fail
;
20773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20774 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
20776 wxPyEndAllowThreads(__tstate
);
20777 if (PyErr_Occurred()) SWIG_fail
;
20780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20788 static PyObject
*_wrap_wxUpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20789 PyObject
*resultobj
;
20790 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20792 PyObject
* obj0
= 0 ;
20793 char *kwnames
[] = {
20794 (char *) "self", NULL
20797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxUpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
20798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20799 if (SWIG_arg_fail(1)) SWIG_fail
;
20801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20802 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
20804 wxPyEndAllowThreads(__tstate
);
20805 if (PyErr_Occurred()) SWIG_fail
;
20808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20816 static PyObject
*_wrap_wxUpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20817 PyObject
*resultobj
;
20818 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20820 PyObject
* obj0
= 0 ;
20821 char *kwnames
[] = {
20822 (char *) "self", NULL
20825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxUpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
20826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20827 if (SWIG_arg_fail(1)) SWIG_fail
;
20829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20830 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
20832 wxPyEndAllowThreads(__tstate
);
20833 if (PyErr_Occurred()) SWIG_fail
;
20837 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20839 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20848 static PyObject
*_wrap_wxUpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20849 PyObject
*resultobj
;
20850 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20852 PyObject
* obj0
= 0 ;
20853 char *kwnames
[] = {
20854 (char *) "self", NULL
20857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxUpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
20858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20859 if (SWIG_arg_fail(1)) SWIG_fail
;
20861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20862 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
20864 wxPyEndAllowThreads(__tstate
);
20865 if (PyErr_Occurred()) SWIG_fail
;
20868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20876 static PyObject
*_wrap_wxUpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20877 PyObject
*resultobj
;
20878 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20880 PyObject
* obj0
= 0 ;
20881 char *kwnames
[] = {
20882 (char *) "self", NULL
20885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxUpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
20886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20887 if (SWIG_arg_fail(1)) SWIG_fail
;
20889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20890 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
20892 wxPyEndAllowThreads(__tstate
);
20893 if (PyErr_Occurred()) SWIG_fail
;
20896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20904 static PyObject
*_wrap_wxUpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20905 PyObject
*resultobj
;
20906 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20908 PyObject
* obj0
= 0 ;
20909 char *kwnames
[] = {
20910 (char *) "self", NULL
20913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxUpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
20914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20915 if (SWIG_arg_fail(1)) SWIG_fail
;
20917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20918 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
20920 wxPyEndAllowThreads(__tstate
);
20921 if (PyErr_Occurred()) SWIG_fail
;
20924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20932 static PyObject
*_wrap_wxUpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20933 PyObject
*resultobj
;
20934 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20936 PyObject
* obj0
= 0 ;
20937 PyObject
* obj1
= 0 ;
20938 char *kwnames
[] = {
20939 (char *) "self",(char *) "check", NULL
20942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxUpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
20943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20944 if (SWIG_arg_fail(1)) SWIG_fail
;
20946 arg2
= (bool)(SWIG_As_bool(obj1
));
20947 if (SWIG_arg_fail(2)) SWIG_fail
;
20950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20951 (arg1
)->Check(arg2
);
20953 wxPyEndAllowThreads(__tstate
);
20954 if (PyErr_Occurred()) SWIG_fail
;
20956 Py_INCREF(Py_None
); resultobj
= Py_None
;
20963 static PyObject
*_wrap_wxUpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20964 PyObject
*resultobj
;
20965 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20967 PyObject
* obj0
= 0 ;
20968 PyObject
* obj1
= 0 ;
20969 char *kwnames
[] = {
20970 (char *) "self",(char *) "enable", NULL
20973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxUpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
20974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20975 if (SWIG_arg_fail(1)) SWIG_fail
;
20977 arg2
= (bool)(SWIG_As_bool(obj1
));
20978 if (SWIG_arg_fail(2)) SWIG_fail
;
20981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20982 (arg1
)->Enable(arg2
);
20984 wxPyEndAllowThreads(__tstate
);
20985 if (PyErr_Occurred()) SWIG_fail
;
20987 Py_INCREF(Py_None
); resultobj
= Py_None
;
20994 static PyObject
*_wrap_wxUpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20995 PyObject
*resultobj
;
20996 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20997 wxString
*arg2
= 0 ;
20998 bool temp2
= false ;
20999 PyObject
* obj0
= 0 ;
21000 PyObject
* obj1
= 0 ;
21001 char *kwnames
[] = {
21002 (char *) "self",(char *) "text", NULL
21005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxUpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21007 if (SWIG_arg_fail(1)) SWIG_fail
;
21009 arg2
= wxString_in_helper(obj1
);
21010 if (arg2
== NULL
) SWIG_fail
;
21014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21015 (arg1
)->SetText((wxString
const &)*arg2
);
21017 wxPyEndAllowThreads(__tstate
);
21018 if (PyErr_Occurred()) SWIG_fail
;
21020 Py_INCREF(Py_None
); resultobj
= Py_None
;
21035 static PyObject
*_wrap_wxUpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21036 PyObject
*resultobj
;
21038 PyObject
* obj0
= 0 ;
21039 char *kwnames
[] = {
21040 (char *) "updateInterval", NULL
21043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxUpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
21045 arg1
= (long)(SWIG_As_long(obj0
));
21046 if (SWIG_arg_fail(1)) SWIG_fail
;
21049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21050 wxUpdateUIEvent::SetUpdateInterval(arg1
);
21052 wxPyEndAllowThreads(__tstate
);
21053 if (PyErr_Occurred()) SWIG_fail
;
21055 Py_INCREF(Py_None
); resultobj
= Py_None
;
21062 static PyObject
*_wrap_wxUpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21063 PyObject
*resultobj
;
21065 char *kwnames
[] = {
21069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":wxUpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
21071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21072 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
21074 wxPyEndAllowThreads(__tstate
);
21075 if (PyErr_Occurred()) SWIG_fail
;
21078 resultobj
= SWIG_From_long((long)(result
));
21086 static PyObject
*_wrap_wxUpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21087 PyObject
*resultobj
;
21088 wxWindow
*arg1
= (wxWindow
*) 0 ;
21090 PyObject
* obj0
= 0 ;
21091 char *kwnames
[] = {
21092 (char *) "win", NULL
21095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxUpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
21096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21097 if (SWIG_arg_fail(1)) SWIG_fail
;
21099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21100 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
21102 wxPyEndAllowThreads(__tstate
);
21103 if (PyErr_Occurred()) SWIG_fail
;
21106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21114 static PyObject
*_wrap_wxUpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21115 PyObject
*resultobj
;
21116 char *kwnames
[] = {
21120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":wxUpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
21122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21123 wxUpdateUIEvent::ResetUpdateTime();
21125 wxPyEndAllowThreads(__tstate
);
21126 if (PyErr_Occurred()) SWIG_fail
;
21128 Py_INCREF(Py_None
); resultobj
= Py_None
;
21135 static PyObject
*_wrap_wxUpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21136 PyObject
*resultobj
;
21137 wxUpdateUIMode arg1
;
21138 PyObject
* obj0
= 0 ;
21139 char *kwnames
[] = {
21140 (char *) "mode", NULL
21143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxUpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21145 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
21146 if (SWIG_arg_fail(1)) SWIG_fail
;
21149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21150 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
21152 wxPyEndAllowThreads(__tstate
);
21153 if (PyErr_Occurred()) SWIG_fail
;
21155 Py_INCREF(Py_None
); resultobj
= Py_None
;
21162 static PyObject
*_wrap_wxUpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21163 PyObject
*resultobj
;
21164 wxUpdateUIMode result
;
21165 char *kwnames
[] = {
21169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":wxUpdateUIEvent_GetMode",kwnames
)) goto fail
;
21171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21172 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
21174 wxPyEndAllowThreads(__tstate
);
21175 if (PyErr_Occurred()) SWIG_fail
;
21177 resultobj
= SWIG_From_int((result
));
21184 static PyObject
* wxUpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
21186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21187 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
21189 return Py_BuildValue((char *)"");
21191 static PyObject
*_wrap_new_wxSysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21192 PyObject
*resultobj
;
21193 wxSysColourChangedEvent
*result
;
21194 char *kwnames
[] = {
21198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_wxSysColourChangedEvent",kwnames
)) goto fail
;
21200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21201 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
21203 wxPyEndAllowThreads(__tstate
);
21204 if (PyErr_Occurred()) SWIG_fail
;
21206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
21213 static PyObject
* wxSysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21216 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
21218 return Py_BuildValue((char *)"");
21220 static PyObject
*_wrap_new_wxMouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21221 PyObject
*resultobj
;
21222 int arg1
= (int) 0 ;
21223 wxWindow
*arg2
= (wxWindow
*) NULL
;
21224 wxMouseCaptureChangedEvent
*result
;
21225 PyObject
* obj0
= 0 ;
21226 PyObject
* obj1
= 0 ;
21227 char *kwnames
[] = {
21228 (char *) "winid",(char *) "gainedCapture", NULL
21231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_wxMouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21234 arg1
= (int)(SWIG_As_int(obj0
));
21235 if (SWIG_arg_fail(1)) SWIG_fail
;
21239 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21240 if (SWIG_arg_fail(2)) SWIG_fail
;
21243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21244 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
21246 wxPyEndAllowThreads(__tstate
);
21247 if (PyErr_Occurred()) SWIG_fail
;
21249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
21256 static PyObject
*_wrap_wxMouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21257 PyObject
*resultobj
;
21258 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
21260 PyObject
* obj0
= 0 ;
21261 char *kwnames
[] = {
21262 (char *) "self", NULL
21265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
21266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21267 if (SWIG_arg_fail(1)) SWIG_fail
;
21269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21270 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
21272 wxPyEndAllowThreads(__tstate
);
21273 if (PyErr_Occurred()) SWIG_fail
;
21276 resultobj
= wxPyMake_wxObject(result
, 0);
21284 static PyObject
* wxMouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21286 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21287 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
21289 return Py_BuildValue((char *)"");
21291 static PyObject
*_wrap_new_wxDisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21292 PyObject
*resultobj
;
21293 wxDisplayChangedEvent
*result
;
21294 char *kwnames
[] = {
21298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_wxDisplayChangedEvent",kwnames
)) goto fail
;
21300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21301 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
21303 wxPyEndAllowThreads(__tstate
);
21304 if (PyErr_Occurred()) SWIG_fail
;
21306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
21313 static PyObject
* wxDisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21316 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
21318 return Py_BuildValue((char *)"");
21320 static PyObject
*_wrap_new_wxPaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21321 PyObject
*resultobj
;
21322 int arg1
= (int) 0 ;
21323 wxPaletteChangedEvent
*result
;
21324 PyObject
* obj0
= 0 ;
21325 char *kwnames
[] = {
21326 (char *) "id", NULL
21329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_wxPaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
21332 arg1
= (int)(SWIG_As_int(obj0
));
21333 if (SWIG_arg_fail(1)) SWIG_fail
;
21337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21338 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
21340 wxPyEndAllowThreads(__tstate
);
21341 if (PyErr_Occurred()) SWIG_fail
;
21343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
21350 static PyObject
*_wrap_wxPaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21351 PyObject
*resultobj
;
21352 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21353 wxWindow
*arg2
= (wxWindow
*) 0 ;
21354 PyObject
* obj0
= 0 ;
21355 PyObject
* obj1
= 0 ;
21356 char *kwnames
[] = {
21357 (char *) "self",(char *) "win", NULL
21360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxPaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
21361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21362 if (SWIG_arg_fail(1)) SWIG_fail
;
21363 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21364 if (SWIG_arg_fail(2)) SWIG_fail
;
21366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21367 (arg1
)->SetChangedWindow(arg2
);
21369 wxPyEndAllowThreads(__tstate
);
21370 if (PyErr_Occurred()) SWIG_fail
;
21372 Py_INCREF(Py_None
); resultobj
= Py_None
;
21379 static PyObject
*_wrap_wxPaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21380 PyObject
*resultobj
;
21381 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21383 PyObject
* obj0
= 0 ;
21384 char *kwnames
[] = {
21385 (char *) "self", NULL
21388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
21389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21390 if (SWIG_arg_fail(1)) SWIG_fail
;
21392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21393 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
21395 wxPyEndAllowThreads(__tstate
);
21396 if (PyErr_Occurred()) SWIG_fail
;
21399 resultobj
= wxPyMake_wxObject(result
, 0);
21407 static PyObject
* wxPaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21410 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
21412 return Py_BuildValue((char *)"");
21414 static PyObject
*_wrap_new_wxQueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21415 PyObject
*resultobj
;
21416 int arg1
= (int) 0 ;
21417 wxQueryNewPaletteEvent
*result
;
21418 PyObject
* obj0
= 0 ;
21419 char *kwnames
[] = {
21420 (char *) "winid", NULL
21423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_wxQueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
21426 arg1
= (int)(SWIG_As_int(obj0
));
21427 if (SWIG_arg_fail(1)) SWIG_fail
;
21431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21432 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
21434 wxPyEndAllowThreads(__tstate
);
21435 if (PyErr_Occurred()) SWIG_fail
;
21437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
21444 static PyObject
*_wrap_wxQueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21445 PyObject
*resultobj
;
21446 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21448 PyObject
* obj0
= 0 ;
21449 PyObject
* obj1
= 0 ;
21450 char *kwnames
[] = {
21451 (char *) "self",(char *) "realized", NULL
21454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxQueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
21455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21456 if (SWIG_arg_fail(1)) SWIG_fail
;
21458 arg2
= (bool)(SWIG_As_bool(obj1
));
21459 if (SWIG_arg_fail(2)) SWIG_fail
;
21462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21463 (arg1
)->SetPaletteRealized(arg2
);
21465 wxPyEndAllowThreads(__tstate
);
21466 if (PyErr_Occurred()) SWIG_fail
;
21468 Py_INCREF(Py_None
); resultobj
= Py_None
;
21475 static PyObject
*_wrap_wxQueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21476 PyObject
*resultobj
;
21477 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21479 PyObject
* obj0
= 0 ;
21480 char *kwnames
[] = {
21481 (char *) "self", NULL
21484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxQueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
21485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21486 if (SWIG_arg_fail(1)) SWIG_fail
;
21488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21489 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
21491 wxPyEndAllowThreads(__tstate
);
21492 if (PyErr_Occurred()) SWIG_fail
;
21495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21503 static PyObject
* wxQueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
21505 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21506 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
21508 return Py_BuildValue((char *)"");
21510 static PyObject
*_wrap_new_wxNavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21511 PyObject
*resultobj
;
21512 wxNavigationKeyEvent
*result
;
21513 char *kwnames
[] = {
21517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_wxNavigationKeyEvent",kwnames
)) goto fail
;
21519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21520 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
21522 wxPyEndAllowThreads(__tstate
);
21523 if (PyErr_Occurred()) SWIG_fail
;
21525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
21532 static PyObject
*_wrap_wxNavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21533 PyObject
*resultobj
;
21534 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21536 PyObject
* obj0
= 0 ;
21537 char *kwnames
[] = {
21538 (char *) "self", NULL
21541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxNavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
21542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21543 if (SWIG_arg_fail(1)) SWIG_fail
;
21545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21546 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
21548 wxPyEndAllowThreads(__tstate
);
21549 if (PyErr_Occurred()) SWIG_fail
;
21552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21560 static PyObject
*_wrap_wxNavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21561 PyObject
*resultobj
;
21562 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21564 PyObject
* obj0
= 0 ;
21565 PyObject
* obj1
= 0 ;
21566 char *kwnames
[] = {
21567 (char *) "self",(char *) "forward", NULL
21570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxNavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
21571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21572 if (SWIG_arg_fail(1)) SWIG_fail
;
21574 arg2
= (bool)(SWIG_As_bool(obj1
));
21575 if (SWIG_arg_fail(2)) SWIG_fail
;
21578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21579 (arg1
)->SetDirection(arg2
);
21581 wxPyEndAllowThreads(__tstate
);
21582 if (PyErr_Occurred()) SWIG_fail
;
21584 Py_INCREF(Py_None
); resultobj
= Py_None
;
21591 static PyObject
*_wrap_wxNavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21592 PyObject
*resultobj
;
21593 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21595 PyObject
* obj0
= 0 ;
21596 char *kwnames
[] = {
21597 (char *) "self", NULL
21600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxNavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
21601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21602 if (SWIG_arg_fail(1)) SWIG_fail
;
21604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21605 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
21607 wxPyEndAllowThreads(__tstate
);
21608 if (PyErr_Occurred()) SWIG_fail
;
21611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21619 static PyObject
*_wrap_wxNavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21620 PyObject
*resultobj
;
21621 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21623 PyObject
* obj0
= 0 ;
21624 PyObject
* obj1
= 0 ;
21625 char *kwnames
[] = {
21626 (char *) "self",(char *) "ischange", NULL
21629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxNavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
21630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21631 if (SWIG_arg_fail(1)) SWIG_fail
;
21633 arg2
= (bool)(SWIG_As_bool(obj1
));
21634 if (SWIG_arg_fail(2)) SWIG_fail
;
21637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21638 (arg1
)->SetWindowChange(arg2
);
21640 wxPyEndAllowThreads(__tstate
);
21641 if (PyErr_Occurred()) SWIG_fail
;
21643 Py_INCREF(Py_None
); resultobj
= Py_None
;
21650 static PyObject
*_wrap_wxNavigationKeyEvent_IsFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21651 PyObject
*resultobj
;
21652 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21654 PyObject
* obj0
= 0 ;
21655 char *kwnames
[] = {
21656 (char *) "self", NULL
21659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxNavigationKeyEvent_IsFromTab",kwnames
,&obj0
)) goto fail
;
21660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21661 if (SWIG_arg_fail(1)) SWIG_fail
;
21663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21664 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
21666 wxPyEndAllowThreads(__tstate
);
21667 if (PyErr_Occurred()) SWIG_fail
;
21670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21678 static PyObject
*_wrap_wxNavigationKeyEvent_SetFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21679 PyObject
*resultobj
;
21680 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21682 PyObject
* obj0
= 0 ;
21683 PyObject
* obj1
= 0 ;
21684 char *kwnames
[] = {
21685 (char *) "self",(char *) "bIs", NULL
21688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxNavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) goto fail
;
21689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21690 if (SWIG_arg_fail(1)) SWIG_fail
;
21692 arg2
= (bool)(SWIG_As_bool(obj1
));
21693 if (SWIG_arg_fail(2)) SWIG_fail
;
21696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21697 (arg1
)->SetFromTab(arg2
);
21699 wxPyEndAllowThreads(__tstate
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21702 Py_INCREF(Py_None
); resultobj
= Py_None
;
21709 static PyObject
*_wrap_wxNavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21710 PyObject
*resultobj
;
21711 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21713 PyObject
* obj0
= 0 ;
21714 PyObject
* obj1
= 0 ;
21715 char *kwnames
[] = {
21716 (char *) "self",(char *) "flags", NULL
21719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxNavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
21720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21721 if (SWIG_arg_fail(1)) SWIG_fail
;
21723 arg2
= (long)(SWIG_As_long(obj1
));
21724 if (SWIG_arg_fail(2)) SWIG_fail
;
21727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21728 (arg1
)->SetFlags(arg2
);
21730 wxPyEndAllowThreads(__tstate
);
21731 if (PyErr_Occurred()) SWIG_fail
;
21733 Py_INCREF(Py_None
); resultobj
= Py_None
;
21740 static PyObject
*_wrap_wxNavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21741 PyObject
*resultobj
;
21742 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21744 PyObject
* obj0
= 0 ;
21745 char *kwnames
[] = {
21746 (char *) "self", NULL
21749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxNavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
21750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21751 if (SWIG_arg_fail(1)) SWIG_fail
;
21753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21754 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
21756 wxPyEndAllowThreads(__tstate
);
21757 if (PyErr_Occurred()) SWIG_fail
;
21760 resultobj
= wxPyMake_wxObject(result
, 0);
21768 static PyObject
*_wrap_wxNavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21769 PyObject
*resultobj
;
21770 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21771 wxWindow
*arg2
= (wxWindow
*) 0 ;
21772 PyObject
* obj0
= 0 ;
21773 PyObject
* obj1
= 0 ;
21774 char *kwnames
[] = {
21775 (char *) "self",(char *) "win", NULL
21778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxNavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
21779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21780 if (SWIG_arg_fail(1)) SWIG_fail
;
21781 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21782 if (SWIG_arg_fail(2)) SWIG_fail
;
21784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21785 (arg1
)->SetCurrentFocus(arg2
);
21787 wxPyEndAllowThreads(__tstate
);
21788 if (PyErr_Occurred()) SWIG_fail
;
21790 Py_INCREF(Py_None
); resultobj
= Py_None
;
21797 static PyObject
* wxNavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
21799 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21800 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
21802 return Py_BuildValue((char *)"");
21804 static PyObject
*_wrap_new_wxWindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21805 PyObject
*resultobj
;
21806 wxWindow
*arg1
= (wxWindow
*) NULL
;
21807 wxWindowCreateEvent
*result
;
21808 PyObject
* obj0
= 0 ;
21809 char *kwnames
[] = {
21810 (char *) "win", NULL
21813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_wxWindowCreateEvent",kwnames
,&obj0
)) goto fail
;
21815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21816 if (SWIG_arg_fail(1)) SWIG_fail
;
21819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21820 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
21822 wxPyEndAllowThreads(__tstate
);
21823 if (PyErr_Occurred()) SWIG_fail
;
21825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
21832 static PyObject
*_wrap_wxWindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21833 PyObject
*resultobj
;
21834 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
21836 PyObject
* obj0
= 0 ;
21837 char *kwnames
[] = {
21838 (char *) "self", NULL
21841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21843 if (SWIG_arg_fail(1)) SWIG_fail
;
21845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21846 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
21848 wxPyEndAllowThreads(__tstate
);
21849 if (PyErr_Occurred()) SWIG_fail
;
21852 resultobj
= wxPyMake_wxObject(result
, 0);
21860 static PyObject
* wxWindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
21862 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21863 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
21865 return Py_BuildValue((char *)"");
21867 static PyObject
*_wrap_new_wxWindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21868 PyObject
*resultobj
;
21869 wxWindow
*arg1
= (wxWindow
*) NULL
;
21870 wxWindowDestroyEvent
*result
;
21871 PyObject
* obj0
= 0 ;
21872 char *kwnames
[] = {
21873 (char *) "win", NULL
21876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_wxWindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
21878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21879 if (SWIG_arg_fail(1)) SWIG_fail
;
21882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21883 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
21885 wxPyEndAllowThreads(__tstate
);
21886 if (PyErr_Occurred()) SWIG_fail
;
21888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
21895 static PyObject
*_wrap_wxWindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21896 PyObject
*resultobj
;
21897 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
21899 PyObject
* obj0
= 0 ;
21900 char *kwnames
[] = {
21901 (char *) "self", NULL
21904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21906 if (SWIG_arg_fail(1)) SWIG_fail
;
21908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21909 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
21911 wxPyEndAllowThreads(__tstate
);
21912 if (PyErr_Occurred()) SWIG_fail
;
21915 resultobj
= wxPyMake_wxObject(result
, 0);
21923 static PyObject
* wxWindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
21925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21926 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
21928 return Py_BuildValue((char *)"");
21930 static PyObject
*_wrap_new_wxContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21931 PyObject
*resultobj
;
21932 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21933 int arg2
= (int) 0 ;
21934 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21935 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21936 wxContextMenuEvent
*result
;
21938 PyObject
* obj0
= 0 ;
21939 PyObject
* obj1
= 0 ;
21940 PyObject
* obj2
= 0 ;
21941 char *kwnames
[] = {
21942 (char *) "type",(char *) "winid",(char *) "pt", NULL
21945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_wxContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21948 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21949 if (SWIG_arg_fail(1)) SWIG_fail
;
21954 arg2
= (int)(SWIG_As_int(obj1
));
21955 if (SWIG_arg_fail(2)) SWIG_fail
;
21961 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21966 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
21968 wxPyEndAllowThreads(__tstate
);
21969 if (PyErr_Occurred()) SWIG_fail
;
21971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
21978 static PyObject
*_wrap_wxContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21979 PyObject
*resultobj
;
21980 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21982 PyObject
* obj0
= 0 ;
21983 char *kwnames
[] = {
21984 (char *) "self", NULL
21987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
21988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21989 if (SWIG_arg_fail(1)) SWIG_fail
;
21991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21993 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
21994 result
= (wxPoint
*) &_result_ref
;
21997 wxPyEndAllowThreads(__tstate
);
21998 if (PyErr_Occurred()) SWIG_fail
;
22000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
22007 static PyObject
*_wrap_wxContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22008 PyObject
*resultobj
;
22009 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22010 wxPoint
*arg2
= 0 ;
22012 PyObject
* obj0
= 0 ;
22013 PyObject
* obj1
= 0 ;
22014 char *kwnames
[] = {
22015 (char *) "self",(char *) "pos", NULL
22018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22020 if (SWIG_arg_fail(1)) SWIG_fail
;
22023 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22027 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
22029 wxPyEndAllowThreads(__tstate
);
22030 if (PyErr_Occurred()) SWIG_fail
;
22032 Py_INCREF(Py_None
); resultobj
= Py_None
;
22039 static PyObject
* wxContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
22041 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22042 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
22044 return Py_BuildValue((char *)"");
22046 static PyObject
*_wrap_new_wxIdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22047 PyObject
*resultobj
;
22048 wxIdleEvent
*result
;
22049 char *kwnames
[] = {
22053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_wxIdleEvent",kwnames
)) goto fail
;
22055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22056 result
= (wxIdleEvent
*)new wxIdleEvent();
22058 wxPyEndAllowThreads(__tstate
);
22059 if (PyErr_Occurred()) SWIG_fail
;
22061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
22068 static PyObject
*_wrap_wxIdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22069 PyObject
*resultobj
;
22070 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22071 bool arg2
= (bool) true ;
22072 PyObject
* obj0
= 0 ;
22073 PyObject
* obj1
= 0 ;
22074 char *kwnames
[] = {
22075 (char *) "self",(char *) "needMore", NULL
22078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:wxIdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
22079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22080 if (SWIG_arg_fail(1)) SWIG_fail
;
22083 arg2
= (bool)(SWIG_As_bool(obj1
));
22084 if (SWIG_arg_fail(2)) SWIG_fail
;
22088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22089 (arg1
)->RequestMore(arg2
);
22091 wxPyEndAllowThreads(__tstate
);
22092 if (PyErr_Occurred()) SWIG_fail
;
22094 Py_INCREF(Py_None
); resultobj
= Py_None
;
22101 static PyObject
*_wrap_wxIdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22102 PyObject
*resultobj
;
22103 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22105 PyObject
* obj0
= 0 ;
22106 char *kwnames
[] = {
22107 (char *) "self", NULL
22110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxIdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
22111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22112 if (SWIG_arg_fail(1)) SWIG_fail
;
22114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22115 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
22117 wxPyEndAllowThreads(__tstate
);
22118 if (PyErr_Occurred()) SWIG_fail
;
22121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22129 static PyObject
*_wrap_wxIdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22130 PyObject
*resultobj
;
22132 PyObject
* obj0
= 0 ;
22133 char *kwnames
[] = {
22134 (char *) "mode", NULL
22137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxIdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
22139 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
22140 if (SWIG_arg_fail(1)) SWIG_fail
;
22143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22144 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
22146 wxPyEndAllowThreads(__tstate
);
22147 if (PyErr_Occurred()) SWIG_fail
;
22149 Py_INCREF(Py_None
); resultobj
= Py_None
;
22156 static PyObject
*_wrap_wxIdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22157 PyObject
*resultobj
;
22159 char *kwnames
[] = {
22163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":wxIdleEvent_GetMode",kwnames
)) goto fail
;
22165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22166 result
= (wxIdleMode
)wxIdleEvent::GetMode();
22168 wxPyEndAllowThreads(__tstate
);
22169 if (PyErr_Occurred()) SWIG_fail
;
22171 resultobj
= SWIG_From_int((result
));
22178 static PyObject
*_wrap_wxIdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22179 PyObject
*resultobj
;
22180 wxWindow
*arg1
= (wxWindow
*) 0 ;
22182 PyObject
* obj0
= 0 ;
22183 char *kwnames
[] = {
22184 (char *) "win", NULL
22187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxIdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
22188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22189 if (SWIG_arg_fail(1)) SWIG_fail
;
22191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22192 result
= (bool)wxIdleEvent::CanSend(arg1
);
22194 wxPyEndAllowThreads(__tstate
);
22195 if (PyErr_Occurred()) SWIG_fail
;
22198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22206 static PyObject
* wxIdleEvent_swigregister(PyObject
*, PyObject
*args
) {
22208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22209 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
22211 return Py_BuildValue((char *)"");
22213 static PyObject
*_wrap_new_wxPyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22214 PyObject
*resultobj
;
22215 int arg1
= (int) 0 ;
22216 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
22218 PyObject
* obj0
= 0 ;
22219 PyObject
* obj1
= 0 ;
22220 char *kwnames
[] = {
22221 (char *) "winid",(char *) "commandType", NULL
22224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_wxPyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22227 arg1
= (int)(SWIG_As_int(obj0
));
22228 if (SWIG_arg_fail(1)) SWIG_fail
;
22233 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
22234 if (SWIG_arg_fail(2)) SWIG_fail
;
22238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22239 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
22241 wxPyEndAllowThreads(__tstate
);
22242 if (PyErr_Occurred()) SWIG_fail
;
22244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
22251 static PyObject
*_wrap_delete_wxPyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22252 PyObject
*resultobj
;
22253 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22254 PyObject
* obj0
= 0 ;
22255 char *kwnames
[] = {
22256 (char *) "self", NULL
22259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_wxPyEvent",kwnames
,&obj0
)) goto fail
;
22260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22261 if (SWIG_arg_fail(1)) SWIG_fail
;
22263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22266 wxPyEndAllowThreads(__tstate
);
22267 if (PyErr_Occurred()) SWIG_fail
;
22269 Py_INCREF(Py_None
); resultobj
= Py_None
;
22276 static PyObject
*_wrap_wxPyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22277 PyObject
*resultobj
;
22278 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22279 PyObject
*arg2
= (PyObject
*) 0 ;
22280 PyObject
* obj0
= 0 ;
22281 PyObject
* obj1
= 0 ;
22282 char *kwnames
[] = {
22283 (char *) "self",(char *) "self", NULL
22286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxPyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22288 if (SWIG_arg_fail(1)) SWIG_fail
;
22291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22292 (arg1
)->SetSelf(arg2
);
22294 wxPyEndAllowThreads(__tstate
);
22295 if (PyErr_Occurred()) SWIG_fail
;
22297 Py_INCREF(Py_None
); resultobj
= Py_None
;
22304 static PyObject
*_wrap_wxPyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22305 PyObject
*resultobj
;
22306 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22308 PyObject
* obj0
= 0 ;
22309 char *kwnames
[] = {
22310 (char *) "self", NULL
22313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
22314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22315 if (SWIG_arg_fail(1)) SWIG_fail
;
22317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22318 result
= (PyObject
*)(arg1
)->GetSelf();
22320 wxPyEndAllowThreads(__tstate
);
22321 if (PyErr_Occurred()) SWIG_fail
;
22323 resultobj
= result
;
22330 static PyObject
* wxPyEvent_swigregister(PyObject
*, PyObject
*args
) {
22332 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22333 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
22335 return Py_BuildValue((char *)"");
22337 static PyObject
*_wrap_new_wxPyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22338 PyObject
*resultobj
;
22339 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22340 int arg2
= (int) 0 ;
22341 wxPyCommandEvent
*result
;
22342 PyObject
* obj0
= 0 ;
22343 PyObject
* obj1
= 0 ;
22344 char *kwnames
[] = {
22345 (char *) "commandType",(char *) "id", NULL
22348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_wxPyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22351 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22352 if (SWIG_arg_fail(1)) SWIG_fail
;
22357 arg2
= (int)(SWIG_As_int(obj1
));
22358 if (SWIG_arg_fail(2)) SWIG_fail
;
22362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22363 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
22365 wxPyEndAllowThreads(__tstate
);
22366 if (PyErr_Occurred()) SWIG_fail
;
22368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
22375 static PyObject
*_wrap_delete_wxPyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22376 PyObject
*resultobj
;
22377 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22378 PyObject
* obj0
= 0 ;
22379 char *kwnames
[] = {
22380 (char *) "self", NULL
22383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_wxPyCommandEvent",kwnames
,&obj0
)) goto fail
;
22384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22385 if (SWIG_arg_fail(1)) SWIG_fail
;
22387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22390 wxPyEndAllowThreads(__tstate
);
22391 if (PyErr_Occurred()) SWIG_fail
;
22393 Py_INCREF(Py_None
); resultobj
= Py_None
;
22400 static PyObject
*_wrap_wxPyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22401 PyObject
*resultobj
;
22402 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22403 PyObject
*arg2
= (PyObject
*) 0 ;
22404 PyObject
* obj0
= 0 ;
22405 PyObject
* obj1
= 0 ;
22406 char *kwnames
[] = {
22407 (char *) "self",(char *) "self", NULL
22410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxPyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22412 if (SWIG_arg_fail(1)) SWIG_fail
;
22415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22416 (arg1
)->SetSelf(arg2
);
22418 wxPyEndAllowThreads(__tstate
);
22419 if (PyErr_Occurred()) SWIG_fail
;
22421 Py_INCREF(Py_None
); resultobj
= Py_None
;
22428 static PyObject
*_wrap_wxPyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22429 PyObject
*resultobj
;
22430 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22432 PyObject
* obj0
= 0 ;
22433 char *kwnames
[] = {
22434 (char *) "self", NULL
22437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
22438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22439 if (SWIG_arg_fail(1)) SWIG_fail
;
22441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22442 result
= (PyObject
*)(arg1
)->GetSelf();
22444 wxPyEndAllowThreads(__tstate
);
22445 if (PyErr_Occurred()) SWIG_fail
;
22447 resultobj
= result
;
22454 static PyObject
* wxPyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
22456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22457 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
22459 return Py_BuildValue((char *)"");
22461 static PyObject
*_wrap_new_wxDateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22462 PyObject
*resultobj
;
22463 wxWindow
*arg1
= (wxWindow
*) 0 ;
22464 wxDateTime
*arg2
= 0 ;
22466 wxDateEvent
*result
;
22467 PyObject
* obj0
= 0 ;
22468 PyObject
* obj1
= 0 ;
22469 PyObject
* obj2
= 0 ;
22470 char *kwnames
[] = {
22471 (char *) "win",(char *) "dt",(char *) "type", NULL
22474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_wxDateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22476 if (SWIG_arg_fail(1)) SWIG_fail
;
22478 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22479 if (SWIG_arg_fail(2)) SWIG_fail
;
22480 if (arg2
== NULL
) {
22481 SWIG_null_ref("wxDateTime");
22483 if (SWIG_arg_fail(2)) SWIG_fail
;
22486 arg3
= (wxEventType
)(SWIG_As_int(obj2
));
22487 if (SWIG_arg_fail(3)) SWIG_fail
;
22490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22491 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
22493 wxPyEndAllowThreads(__tstate
);
22494 if (PyErr_Occurred()) SWIG_fail
;
22496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateEvent
, 1);
22503 static PyObject
*_wrap_wxDateEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22504 PyObject
*resultobj
;
22505 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22506 wxDateTime
*result
;
22507 PyObject
* obj0
= 0 ;
22508 char *kwnames
[] = {
22509 (char *) "self", NULL
22512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxDateEvent_GetDate",kwnames
,&obj0
)) goto fail
;
22513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22514 if (SWIG_arg_fail(1)) SWIG_fail
;
22516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22518 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
22519 result
= (wxDateTime
*) &_result_ref
;
22522 wxPyEndAllowThreads(__tstate
);
22523 if (PyErr_Occurred()) SWIG_fail
;
22525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22532 static PyObject
*_wrap_wxDateEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22533 PyObject
*resultobj
;
22534 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22535 wxDateTime
*arg2
= 0 ;
22536 PyObject
* obj0
= 0 ;
22537 PyObject
* obj1
= 0 ;
22538 char *kwnames
[] = {
22539 (char *) "self",(char *) "date", NULL
22542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxDateEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22544 if (SWIG_arg_fail(1)) SWIG_fail
;
22546 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22547 if (SWIG_arg_fail(2)) SWIG_fail
;
22548 if (arg2
== NULL
) {
22549 SWIG_null_ref("wxDateTime");
22551 if (SWIG_arg_fail(2)) SWIG_fail
;
22554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22555 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
22557 wxPyEndAllowThreads(__tstate
);
22558 if (PyErr_Occurred()) SWIG_fail
;
22560 Py_INCREF(Py_None
); resultobj
= Py_None
;
22567 static PyObject
* wxDateEvent_swigregister(PyObject
*, PyObject
*args
) {
22569 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22570 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent
, obj
);
22572 return Py_BuildValue((char *)"");
22574 static PyObject
*_wrap_new_wxPyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22575 PyObject
*resultobj
;
22577 char *kwnames
[] = {
22581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_wxPyApp",kwnames
)) goto fail
;
22583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22584 result
= (wxPyApp
*)new_wxPyApp();
22586 wxPyEndAllowThreads(__tstate
);
22587 if (PyErr_Occurred()) SWIG_fail
;
22589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
22596 static PyObject
*_wrap_delete_wxPyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22597 PyObject
*resultobj
;
22598 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22599 PyObject
* obj0
= 0 ;
22600 char *kwnames
[] = {
22601 (char *) "self", NULL
22604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_wxPyApp",kwnames
,&obj0
)) goto fail
;
22605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22606 if (SWIG_arg_fail(1)) SWIG_fail
;
22608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22611 wxPyEndAllowThreads(__tstate
);
22612 if (PyErr_Occurred()) SWIG_fail
;
22614 Py_INCREF(Py_None
); resultobj
= Py_None
;
22621 static PyObject
*_wrap_wxPyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22622 PyObject
*resultobj
;
22623 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22624 PyObject
*arg2
= (PyObject
*) 0 ;
22625 PyObject
*arg3
= (PyObject
*) 0 ;
22626 PyObject
* obj0
= 0 ;
22627 PyObject
* obj1
= 0 ;
22628 PyObject
* obj2
= 0 ;
22629 char *kwnames
[] = {
22630 (char *) "self",(char *) "self",(char *) "_class", NULL
22633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxPyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22635 if (SWIG_arg_fail(1)) SWIG_fail
;
22639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22640 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22642 wxPyEndAllowThreads(__tstate
);
22643 if (PyErr_Occurred()) SWIG_fail
;
22645 Py_INCREF(Py_None
); resultobj
= Py_None
;
22652 static PyObject
*_wrap_wxPyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22653 PyObject
*resultobj
;
22654 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22656 PyObject
* obj0
= 0 ;
22657 char *kwnames
[] = {
22658 (char *) "self", NULL
22661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
22662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22663 if (SWIG_arg_fail(1)) SWIG_fail
;
22665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22666 result
= ((wxPyApp
const *)arg1
)->GetAppName();
22668 wxPyEndAllowThreads(__tstate
);
22669 if (PyErr_Occurred()) SWIG_fail
;
22673 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22675 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22684 static PyObject
*_wrap_wxPyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22685 PyObject
*resultobj
;
22686 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22687 wxString
*arg2
= 0 ;
22688 bool temp2
= false ;
22689 PyObject
* obj0
= 0 ;
22690 PyObject
* obj1
= 0 ;
22691 char *kwnames
[] = {
22692 (char *) "self",(char *) "name", NULL
22695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxPyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
22696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22697 if (SWIG_arg_fail(1)) SWIG_fail
;
22699 arg2
= wxString_in_helper(obj1
);
22700 if (arg2
== NULL
) SWIG_fail
;
22704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22705 (arg1
)->SetAppName((wxString
const &)*arg2
);
22707 wxPyEndAllowThreads(__tstate
);
22708 if (PyErr_Occurred()) SWIG_fail
;
22710 Py_INCREF(Py_None
); resultobj
= Py_None
;
22725 static PyObject
*_wrap_wxPyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22726 PyObject
*resultobj
;
22727 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22729 PyObject
* obj0
= 0 ;
22730 char *kwnames
[] = {
22731 (char *) "self", NULL
22734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
22735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22736 if (SWIG_arg_fail(1)) SWIG_fail
;
22738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22739 result
= ((wxPyApp
const *)arg1
)->GetClassName();
22741 wxPyEndAllowThreads(__tstate
);
22742 if (PyErr_Occurred()) SWIG_fail
;
22746 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22748 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22757 static PyObject
*_wrap_wxPyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22758 PyObject
*resultobj
;
22759 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22760 wxString
*arg2
= 0 ;
22761 bool temp2
= false ;
22762 PyObject
* obj0
= 0 ;
22763 PyObject
* obj1
= 0 ;
22764 char *kwnames
[] = {
22765 (char *) "self",(char *) "name", NULL
22768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxPyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
22769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22770 if (SWIG_arg_fail(1)) SWIG_fail
;
22772 arg2
= wxString_in_helper(obj1
);
22773 if (arg2
== NULL
) SWIG_fail
;
22777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22778 (arg1
)->SetClassName((wxString
const &)*arg2
);
22780 wxPyEndAllowThreads(__tstate
);
22781 if (PyErr_Occurred()) SWIG_fail
;
22783 Py_INCREF(Py_None
); resultobj
= Py_None
;
22798 static PyObject
*_wrap_wxPyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22799 PyObject
*resultobj
;
22800 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22802 PyObject
* obj0
= 0 ;
22803 char *kwnames
[] = {
22804 (char *) "self", NULL
22807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
22808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22809 if (SWIG_arg_fail(1)) SWIG_fail
;
22811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22813 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
22814 result
= (wxString
*) &_result_ref
;
22817 wxPyEndAllowThreads(__tstate
);
22818 if (PyErr_Occurred()) SWIG_fail
;
22822 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22824 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22833 static PyObject
*_wrap_wxPyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22834 PyObject
*resultobj
;
22835 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22836 wxString
*arg2
= 0 ;
22837 bool temp2
= false ;
22838 PyObject
* obj0
= 0 ;
22839 PyObject
* obj1
= 0 ;
22840 char *kwnames
[] = {
22841 (char *) "self",(char *) "name", NULL
22844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxPyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
22845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22846 if (SWIG_arg_fail(1)) SWIG_fail
;
22848 arg2
= wxString_in_helper(obj1
);
22849 if (arg2
== NULL
) SWIG_fail
;
22853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22854 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22856 wxPyEndAllowThreads(__tstate
);
22857 if (PyErr_Occurred()) SWIG_fail
;
22859 Py_INCREF(Py_None
); resultobj
= Py_None
;
22874 static PyObject
*_wrap_wxPyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22875 PyObject
*resultobj
;
22876 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22877 wxAppTraits
*result
;
22878 PyObject
* obj0
= 0 ;
22879 char *kwnames
[] = {
22880 (char *) "self", NULL
22883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
22884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22885 if (SWIG_arg_fail(1)) SWIG_fail
;
22887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22888 result
= (wxAppTraits
*)(arg1
)->GetTraits();
22890 wxPyEndAllowThreads(__tstate
);
22891 if (PyErr_Occurred()) SWIG_fail
;
22893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
22900 static PyObject
*_wrap_wxPyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22901 PyObject
*resultobj
;
22902 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22903 PyObject
* obj0
= 0 ;
22904 char *kwnames
[] = {
22905 (char *) "self", NULL
22908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPyApp_ProcessPendingEvents",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22913 (arg1
)->ProcessPendingEvents();
22915 wxPyEndAllowThreads(__tstate
);
22916 if (PyErr_Occurred()) SWIG_fail
;
22918 Py_INCREF(Py_None
); resultobj
= Py_None
;
22925 static PyObject
*_wrap_wxPyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22926 PyObject
*resultobj
;
22927 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22928 bool arg2
= (bool) false ;
22930 PyObject
* obj0
= 0 ;
22931 PyObject
* obj1
= 0 ;
22932 char *kwnames
[] = {
22933 (char *) "self",(char *) "onlyIfNeeded", NULL
22936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:wxPyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
22937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22938 if (SWIG_arg_fail(1)) SWIG_fail
;
22941 arg2
= (bool)(SWIG_As_bool(obj1
));
22942 if (SWIG_arg_fail(2)) SWIG_fail
;
22946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22947 result
= (bool)(arg1
)->Yield(arg2
);
22949 wxPyEndAllowThreads(__tstate
);
22950 if (PyErr_Occurred()) SWIG_fail
;
22953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22961 static PyObject
*_wrap_wxPyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22962 PyObject
*resultobj
;
22963 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22964 PyObject
* obj0
= 0 ;
22965 char *kwnames
[] = {
22966 (char *) "self", NULL
22969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
22970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22971 if (SWIG_arg_fail(1)) SWIG_fail
;
22973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22974 (arg1
)->WakeUpIdle();
22976 wxPyEndAllowThreads(__tstate
);
22977 if (PyErr_Occurred()) SWIG_fail
;
22979 Py_INCREF(Py_None
); resultobj
= Py_None
;
22986 static PyObject
*_wrap_wxPyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22987 PyObject
*resultobj
;
22989 char *kwnames
[] = {
22993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":wxPyApp_IsMainLoopRunning",kwnames
)) goto fail
;
22995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22996 result
= (bool)wxPyApp::IsMainLoopRunning();
22998 wxPyEndAllowThreads(__tstate
);
22999 if (PyErr_Occurred()) SWIG_fail
;
23002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23010 static PyObject
*_wrap_wxPyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23011 PyObject
*resultobj
;
23012 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23014 PyObject
* obj0
= 0 ;
23015 char *kwnames
[] = {
23016 (char *) "self", NULL
23019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
23020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23021 if (SWIG_arg_fail(1)) SWIG_fail
;
23023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23024 result
= (int)(arg1
)->MainLoop();
23026 wxPyEndAllowThreads(__tstate
);
23027 if (PyErr_Occurred()) SWIG_fail
;
23030 resultobj
= SWIG_From_int((int)(result
));
23038 static PyObject
*_wrap_wxPyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23039 PyObject
*resultobj
;
23040 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23041 PyObject
* obj0
= 0 ;
23042 char *kwnames
[] = {
23043 (char *) "self", NULL
23046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPyApp_Exit",kwnames
,&obj0
)) goto fail
;
23047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23048 if (SWIG_arg_fail(1)) SWIG_fail
;
23050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23053 wxPyEndAllowThreads(__tstate
);
23054 if (PyErr_Occurred()) SWIG_fail
;
23056 Py_INCREF(Py_None
); resultobj
= Py_None
;
23063 static PyObject
*_wrap_wxPyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23064 PyObject
*resultobj
;
23065 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23066 PyObject
* obj0
= 0 ;
23067 char *kwnames
[] = {
23068 (char *) "self", NULL
23071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
23072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23073 if (SWIG_arg_fail(1)) SWIG_fail
;
23075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23076 (arg1
)->ExitMainLoop();
23078 wxPyEndAllowThreads(__tstate
);
23079 if (PyErr_Occurred()) SWIG_fail
;
23081 Py_INCREF(Py_None
); resultobj
= Py_None
;
23088 static PyObject
*_wrap_wxPyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23089 PyObject
*resultobj
;
23090 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23092 PyObject
* obj0
= 0 ;
23093 char *kwnames
[] = {
23094 (char *) "self", NULL
23097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPyApp_Pending",kwnames
,&obj0
)) goto fail
;
23098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23099 if (SWIG_arg_fail(1)) SWIG_fail
;
23101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23102 result
= (bool)(arg1
)->Pending();
23104 wxPyEndAllowThreads(__tstate
);
23105 if (PyErr_Occurred()) SWIG_fail
;
23108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23116 static PyObject
*_wrap_wxPyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23117 PyObject
*resultobj
;
23118 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23120 PyObject
* obj0
= 0 ;
23121 char *kwnames
[] = {
23122 (char *) "self", NULL
23125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
23126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23127 if (SWIG_arg_fail(1)) SWIG_fail
;
23129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23130 result
= (bool)(arg1
)->Dispatch();
23132 wxPyEndAllowThreads(__tstate
);
23133 if (PyErr_Occurred()) SWIG_fail
;
23136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23144 static PyObject
*_wrap_wxPyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23145 PyObject
*resultobj
;
23146 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23148 PyObject
* obj0
= 0 ;
23149 char *kwnames
[] = {
23150 (char *) "self", NULL
23153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
23154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23155 if (SWIG_arg_fail(1)) SWIG_fail
;
23157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23158 result
= (bool)(arg1
)->ProcessIdle();
23160 wxPyEndAllowThreads(__tstate
);
23161 if (PyErr_Occurred()) SWIG_fail
;
23164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23172 static PyObject
*_wrap_wxPyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23173 PyObject
*resultobj
;
23174 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23175 wxWindow
*arg2
= (wxWindow
*) 0 ;
23176 wxIdleEvent
*arg3
= 0 ;
23178 PyObject
* obj0
= 0 ;
23179 PyObject
* obj1
= 0 ;
23180 PyObject
* obj2
= 0 ;
23181 char *kwnames
[] = {
23182 (char *) "self",(char *) "win",(char *) "event", NULL
23185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxPyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23187 if (SWIG_arg_fail(1)) SWIG_fail
;
23188 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23189 if (SWIG_arg_fail(2)) SWIG_fail
;
23191 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
23192 if (SWIG_arg_fail(3)) SWIG_fail
;
23193 if (arg3
== NULL
) {
23194 SWIG_null_ref("wxIdleEvent");
23196 if (SWIG_arg_fail(3)) SWIG_fail
;
23199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23200 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
23202 wxPyEndAllowThreads(__tstate
);
23203 if (PyErr_Occurred()) SWIG_fail
;
23206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23214 static PyObject
*_wrap_wxPyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23215 PyObject
*resultobj
;
23216 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23218 PyObject
* obj0
= 0 ;
23219 char *kwnames
[] = {
23220 (char *) "self", NULL
23223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPyApp_IsActive",kwnames
,&obj0
)) goto fail
;
23224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23225 if (SWIG_arg_fail(1)) SWIG_fail
;
23227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23228 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
23230 wxPyEndAllowThreads(__tstate
);
23231 if (PyErr_Occurred()) SWIG_fail
;
23234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23242 static PyObject
*_wrap_wxPyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23243 PyObject
*resultobj
;
23244 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23245 wxWindow
*arg2
= (wxWindow
*) 0 ;
23246 PyObject
* obj0
= 0 ;
23247 PyObject
* obj1
= 0 ;
23248 char *kwnames
[] = {
23249 (char *) "self",(char *) "win", NULL
23252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxPyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
23253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23254 if (SWIG_arg_fail(1)) SWIG_fail
;
23255 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23256 if (SWIG_arg_fail(2)) SWIG_fail
;
23258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23259 (arg1
)->SetTopWindow(arg2
);
23261 wxPyEndAllowThreads(__tstate
);
23262 if (PyErr_Occurred()) SWIG_fail
;
23264 Py_INCREF(Py_None
); resultobj
= Py_None
;
23271 static PyObject
*_wrap_wxPyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23272 PyObject
*resultobj
;
23273 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23275 PyObject
* obj0
= 0 ;
23276 char *kwnames
[] = {
23277 (char *) "self", NULL
23280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
23281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23282 if (SWIG_arg_fail(1)) SWIG_fail
;
23284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23285 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
23287 wxPyEndAllowThreads(__tstate
);
23288 if (PyErr_Occurred()) SWIG_fail
;
23291 resultobj
= wxPyMake_wxObject(result
, 0);
23299 static PyObject
*_wrap_wxPyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23300 PyObject
*resultobj
;
23301 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23303 PyObject
* obj0
= 0 ;
23304 PyObject
* obj1
= 0 ;
23305 char *kwnames
[] = {
23306 (char *) "self",(char *) "flag", NULL
23309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxPyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
23310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23311 if (SWIG_arg_fail(1)) SWIG_fail
;
23313 arg2
= (bool)(SWIG_As_bool(obj1
));
23314 if (SWIG_arg_fail(2)) SWIG_fail
;
23317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23318 (arg1
)->SetExitOnFrameDelete(arg2
);
23320 wxPyEndAllowThreads(__tstate
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23323 Py_INCREF(Py_None
); resultobj
= Py_None
;
23330 static PyObject
*_wrap_wxPyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23331 PyObject
*resultobj
;
23332 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23334 PyObject
* obj0
= 0 ;
23335 char *kwnames
[] = {
23336 (char *) "self", NULL
23339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
23340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23341 if (SWIG_arg_fail(1)) SWIG_fail
;
23343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23344 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
23346 wxPyEndAllowThreads(__tstate
);
23347 if (PyErr_Occurred()) SWIG_fail
;
23350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23358 static PyObject
*_wrap_wxPyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23359 PyObject
*resultobj
;
23360 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23362 PyObject
* obj0
= 0 ;
23363 PyObject
* obj1
= 0 ;
23364 char *kwnames
[] = {
23365 (char *) "self",(char *) "flag", NULL
23368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxPyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
23369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23370 if (SWIG_arg_fail(1)) SWIG_fail
;
23372 arg2
= (bool)(SWIG_As_bool(obj1
));
23373 if (SWIG_arg_fail(2)) SWIG_fail
;
23376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23377 (arg1
)->SetUseBestVisual(arg2
);
23379 wxPyEndAllowThreads(__tstate
);
23380 if (PyErr_Occurred()) SWIG_fail
;
23382 Py_INCREF(Py_None
); resultobj
= Py_None
;
23389 static PyObject
*_wrap_wxPyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23390 PyObject
*resultobj
;
23391 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23393 PyObject
* obj0
= 0 ;
23394 char *kwnames
[] = {
23395 (char *) "self", NULL
23398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
23399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23400 if (SWIG_arg_fail(1)) SWIG_fail
;
23402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23403 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
23405 wxPyEndAllowThreads(__tstate
);
23406 if (PyErr_Occurred()) SWIG_fail
;
23409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23417 static PyObject
*_wrap_wxPyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23418 PyObject
*resultobj
;
23419 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23421 PyObject
* obj0
= 0 ;
23422 PyObject
* obj1
= 0 ;
23423 char *kwnames
[] = {
23424 (char *) "self",(char *) "mode", NULL
23427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxPyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23429 if (SWIG_arg_fail(1)) SWIG_fail
;
23431 arg2
= (int)(SWIG_As_int(obj1
));
23432 if (SWIG_arg_fail(2)) SWIG_fail
;
23435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23436 (arg1
)->SetPrintMode(arg2
);
23438 wxPyEndAllowThreads(__tstate
);
23439 if (PyErr_Occurred()) SWIG_fail
;
23441 Py_INCREF(Py_None
); resultobj
= Py_None
;
23448 static PyObject
*_wrap_wxPyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23449 PyObject
*resultobj
;
23450 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23452 PyObject
* obj0
= 0 ;
23453 char *kwnames
[] = {
23454 (char *) "self", NULL
23457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
23458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23459 if (SWIG_arg_fail(1)) SWIG_fail
;
23461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23462 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
23464 wxPyEndAllowThreads(__tstate
);
23465 if (PyErr_Occurred()) SWIG_fail
;
23468 resultobj
= SWIG_From_int((int)(result
));
23476 static PyObject
*_wrap_wxPyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23477 PyObject
*resultobj
;
23478 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23480 PyObject
* obj0
= 0 ;
23481 PyObject
* obj1
= 0 ;
23482 char *kwnames
[] = {
23483 (char *) "self",(char *) "mode", NULL
23486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxPyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23488 if (SWIG_arg_fail(1)) SWIG_fail
;
23490 arg2
= (int)(SWIG_As_int(obj1
));
23491 if (SWIG_arg_fail(2)) SWIG_fail
;
23494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23495 (arg1
)->SetAssertMode(arg2
);
23497 wxPyEndAllowThreads(__tstate
);
23498 if (PyErr_Occurred()) SWIG_fail
;
23500 Py_INCREF(Py_None
); resultobj
= Py_None
;
23507 static PyObject
*_wrap_wxPyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23508 PyObject
*resultobj
;
23509 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23511 PyObject
* obj0
= 0 ;
23512 char *kwnames
[] = {
23513 (char *) "self", NULL
23516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
23517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23518 if (SWIG_arg_fail(1)) SWIG_fail
;
23520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23521 result
= (int)(arg1
)->GetAssertMode();
23523 wxPyEndAllowThreads(__tstate
);
23524 if (PyErr_Occurred()) SWIG_fail
;
23527 resultobj
= SWIG_From_int((int)(result
));
23535 static PyObject
*_wrap_wxPyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23536 PyObject
*resultobj
;
23538 char *kwnames
[] = {
23542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":wxPyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
23544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23545 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
23547 wxPyEndAllowThreads(__tstate
);
23548 if (PyErr_Occurred()) SWIG_fail
;
23551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23559 static PyObject
*_wrap_wxPyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23560 PyObject
*resultobj
;
23562 char *kwnames
[] = {
23566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":wxPyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
23568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23569 result
= (long)wxPyApp::GetMacAboutMenuItemId();
23571 wxPyEndAllowThreads(__tstate
);
23572 if (PyErr_Occurred()) SWIG_fail
;
23575 resultobj
= SWIG_From_long((long)(result
));
23583 static PyObject
*_wrap_wxPyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23584 PyObject
*resultobj
;
23586 char *kwnames
[] = {
23590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":wxPyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
23592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23593 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
23595 wxPyEndAllowThreads(__tstate
);
23596 if (PyErr_Occurred()) SWIG_fail
;
23599 resultobj
= SWIG_From_long((long)(result
));
23607 static PyObject
*_wrap_wxPyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23608 PyObject
*resultobj
;
23610 char *kwnames
[] = {
23614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":wxPyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
23616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23617 result
= (long)wxPyApp::GetMacExitMenuItemId();
23619 wxPyEndAllowThreads(__tstate
);
23620 if (PyErr_Occurred()) SWIG_fail
;
23623 resultobj
= SWIG_From_long((long)(result
));
23631 static PyObject
*_wrap_wxPyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23632 PyObject
*resultobj
;
23634 char *kwnames
[] = {
23638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":wxPyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
23640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23641 result
= wxPyApp::GetMacHelpMenuTitleName();
23643 wxPyEndAllowThreads(__tstate
);
23644 if (PyErr_Occurred()) SWIG_fail
;
23648 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23650 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23659 static PyObject
*_wrap_wxPyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23660 PyObject
*resultobj
;
23662 PyObject
* obj0
= 0 ;
23663 char *kwnames
[] = {
23664 (char *) "val", NULL
23667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
23669 arg1
= (bool)(SWIG_As_bool(obj0
));
23670 if (SWIG_arg_fail(1)) SWIG_fail
;
23673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23674 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
23676 wxPyEndAllowThreads(__tstate
);
23677 if (PyErr_Occurred()) SWIG_fail
;
23679 Py_INCREF(Py_None
); resultobj
= Py_None
;
23686 static PyObject
*_wrap_wxPyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23687 PyObject
*resultobj
;
23689 PyObject
* obj0
= 0 ;
23690 char *kwnames
[] = {
23691 (char *) "val", NULL
23694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
23696 arg1
= (long)(SWIG_As_long(obj0
));
23697 if (SWIG_arg_fail(1)) SWIG_fail
;
23700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23701 wxPyApp::SetMacAboutMenuItemId(arg1
);
23703 wxPyEndAllowThreads(__tstate
);
23704 if (PyErr_Occurred()) SWIG_fail
;
23706 Py_INCREF(Py_None
); resultobj
= Py_None
;
23713 static PyObject
*_wrap_wxPyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23714 PyObject
*resultobj
;
23716 PyObject
* obj0
= 0 ;
23717 char *kwnames
[] = {
23718 (char *) "val", NULL
23721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
23723 arg1
= (long)(SWIG_As_long(obj0
));
23724 if (SWIG_arg_fail(1)) SWIG_fail
;
23727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23728 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
23730 wxPyEndAllowThreads(__tstate
);
23731 if (PyErr_Occurred()) SWIG_fail
;
23733 Py_INCREF(Py_None
); resultobj
= Py_None
;
23740 static PyObject
*_wrap_wxPyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23741 PyObject
*resultobj
;
23743 PyObject
* obj0
= 0 ;
23744 char *kwnames
[] = {
23745 (char *) "val", NULL
23748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
23750 arg1
= (long)(SWIG_As_long(obj0
));
23751 if (SWIG_arg_fail(1)) SWIG_fail
;
23754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23755 wxPyApp::SetMacExitMenuItemId(arg1
);
23757 wxPyEndAllowThreads(__tstate
);
23758 if (PyErr_Occurred()) SWIG_fail
;
23760 Py_INCREF(Py_None
); resultobj
= Py_None
;
23767 static PyObject
*_wrap_wxPyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23768 PyObject
*resultobj
;
23769 wxString
*arg1
= 0 ;
23770 bool temp1
= false ;
23771 PyObject
* obj0
= 0 ;
23772 char *kwnames
[] = {
23773 (char *) "val", NULL
23776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
23778 arg1
= wxString_in_helper(obj0
);
23779 if (arg1
== NULL
) SWIG_fail
;
23783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23784 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
23786 wxPyEndAllowThreads(__tstate
);
23787 if (PyErr_Occurred()) SWIG_fail
;
23789 Py_INCREF(Py_None
); resultobj
= Py_None
;
23804 static PyObject
*_wrap_wxPyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23805 PyObject
*resultobj
;
23806 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23807 PyObject
* obj0
= 0 ;
23808 char *kwnames
[] = {
23809 (char *) "self", NULL
23812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxPyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
23813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23814 if (SWIG_arg_fail(1)) SWIG_fail
;
23816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23817 (arg1
)->_BootstrapApp();
23819 wxPyEndAllowThreads(__tstate
);
23820 if (PyErr_Occurred()) SWIG_fail
;
23822 Py_INCREF(Py_None
); resultobj
= Py_None
;
23829 static PyObject
*_wrap_wxPyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23830 PyObject
*resultobj
;
23832 char *kwnames
[] = {
23836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":wxPyApp_GetComCtl32Version",kwnames
)) goto fail
;
23838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23839 result
= (int)wxPyApp_GetComCtl32Version();
23841 wxPyEndAllowThreads(__tstate
);
23842 if (PyErr_Occurred()) SWIG_fail
;
23845 resultobj
= SWIG_From_int((int)(result
));
23853 static PyObject
* wxPyApp_swigregister(PyObject
*, PyObject
*args
) {
23855 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23856 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
23858 return Py_BuildValue((char *)"");
23860 static PyObject
*_wrap_wxExit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23861 PyObject
*resultobj
;
23862 char *kwnames
[] = {
23866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":wxExit",kwnames
)) goto fail
;
23868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23871 wxPyEndAllowThreads(__tstate
);
23872 if (PyErr_Occurred()) SWIG_fail
;
23874 Py_INCREF(Py_None
); resultobj
= Py_None
;
23881 static PyObject
*_wrap_wxYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23882 PyObject
*resultobj
;
23884 char *kwnames
[] = {
23888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":wxYield",kwnames
)) goto fail
;
23890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23891 result
= (bool)wxYield();
23893 wxPyEndAllowThreads(__tstate
);
23894 if (PyErr_Occurred()) SWIG_fail
;
23897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23905 static PyObject
*_wrap_wxYieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23906 PyObject
*resultobj
;
23908 char *kwnames
[] = {
23912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":wxYieldIfNeeded",kwnames
)) goto fail
;
23914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23915 result
= (bool)wxYieldIfNeeded();
23917 wxPyEndAllowThreads(__tstate
);
23918 if (PyErr_Occurred()) SWIG_fail
;
23921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23929 static PyObject
*_wrap_wxSafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23930 PyObject
*resultobj
;
23931 wxWindow
*arg1
= (wxWindow
*) NULL
;
23932 bool arg2
= (bool) false ;
23934 PyObject
* obj0
= 0 ;
23935 PyObject
* obj1
= 0 ;
23936 char *kwnames
[] = {
23937 (char *) "win",(char *) "onlyIfNeeded", NULL
23940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:wxSafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
23942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23943 if (SWIG_arg_fail(1)) SWIG_fail
;
23947 arg2
= (bool)(SWIG_As_bool(obj1
));
23948 if (SWIG_arg_fail(2)) SWIG_fail
;
23952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23953 result
= (bool)wxSafeYield(arg1
,arg2
);
23955 wxPyEndAllowThreads(__tstate
);
23956 if (PyErr_Occurred()) SWIG_fail
;
23959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23967 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23968 PyObject
*resultobj
;
23969 char *kwnames
[] = {
23973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":wxWakeUpIdle",kwnames
)) goto fail
;
23975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23978 wxPyEndAllowThreads(__tstate
);
23979 if (PyErr_Occurred()) SWIG_fail
;
23981 Py_INCREF(Py_None
); resultobj
= Py_None
;
23988 static PyObject
*_wrap_wxPostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23989 PyObject
*resultobj
;
23990 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
23991 wxEvent
*arg2
= 0 ;
23992 PyObject
* obj0
= 0 ;
23993 PyObject
* obj1
= 0 ;
23994 char *kwnames
[] = {
23995 (char *) "dest",(char *) "event", NULL
23998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxPostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
24000 if (SWIG_arg_fail(1)) SWIG_fail
;
24002 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
24003 if (SWIG_arg_fail(2)) SWIG_fail
;
24004 if (arg2
== NULL
) {
24005 SWIG_null_ref("wxEvent");
24007 if (SWIG_arg_fail(2)) SWIG_fail
;
24010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24011 wxPostEvent(arg1
,*arg2
);
24013 wxPyEndAllowThreads(__tstate
);
24014 if (PyErr_Occurred()) SWIG_fail
;
24016 Py_INCREF(Py_None
); resultobj
= Py_None
;
24023 static PyObject
*_wrap_wxApp_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24024 PyObject
*resultobj
;
24025 char *kwnames
[] = {
24029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":wxApp_CleanUp",kwnames
)) goto fail
;
24031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24034 wxPyEndAllowThreads(__tstate
);
24035 if (PyErr_Occurred()) SWIG_fail
;
24037 Py_INCREF(Py_None
); resultobj
= Py_None
;
24044 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24045 PyObject
*resultobj
;
24047 char *kwnames
[] = {
24051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
24053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24054 result
= (wxPyApp
*)wxPyGetApp();
24056 wxPyEndAllowThreads(__tstate
);
24057 if (PyErr_Occurred()) SWIG_fail
;
24060 resultobj
= wxPyMake_wxObject(result
, 0);
24068 static PyObject
*_wrap_wxSetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24069 PyObject
*resultobj
;
24070 char *arg1
= (char *) 0 ;
24071 PyObject
* obj0
= 0 ;
24072 char *kwnames
[] = {
24073 (char *) "encoding", NULL
24076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
24077 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
24078 SWIG_arg_fail(1);SWIG_fail
;
24081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24082 wxSetDefaultPyEncoding((char const *)arg1
);
24084 wxPyEndAllowThreads(__tstate
);
24085 if (PyErr_Occurred()) SWIG_fail
;
24087 Py_INCREF(Py_None
); resultobj
= Py_None
;
24094 static PyObject
*_wrap_wxGetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24095 PyObject
*resultobj
;
24097 char *kwnames
[] = {
24101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":wxGetDefaultPyEncoding",kwnames
)) goto fail
;
24103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24104 result
= (char *)wxGetDefaultPyEncoding();
24106 wxPyEndAllowThreads(__tstate
);
24107 if (PyErr_Occurred()) SWIG_fail
;
24109 resultobj
= SWIG_FromCharPtr(result
);
24116 static PyObject
*_wrap_new_wxEventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24117 PyObject
*resultobj
;
24118 wxEventLoop
*result
;
24119 char *kwnames
[] = {
24123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_wxEventLoop",kwnames
)) goto fail
;
24125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24126 result
= (wxEventLoop
*)new wxEventLoop();
24128 wxPyEndAllowThreads(__tstate
);
24129 if (PyErr_Occurred()) SWIG_fail
;
24131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
24138 static PyObject
*_wrap_delete_wxEventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24139 PyObject
*resultobj
;
24140 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24141 PyObject
* obj0
= 0 ;
24142 char *kwnames
[] = {
24143 (char *) "self", NULL
24146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_wxEventLoop",kwnames
,&obj0
)) goto fail
;
24147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24148 if (SWIG_arg_fail(1)) SWIG_fail
;
24150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24153 wxPyEndAllowThreads(__tstate
);
24154 if (PyErr_Occurred()) SWIG_fail
;
24156 Py_INCREF(Py_None
); resultobj
= Py_None
;
24163 static PyObject
*_wrap_wxEventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24164 PyObject
*resultobj
;
24165 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24167 PyObject
* obj0
= 0 ;
24168 char *kwnames
[] = {
24169 (char *) "self", NULL
24172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxEventLoop_Run",kwnames
,&obj0
)) goto fail
;
24173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24174 if (SWIG_arg_fail(1)) SWIG_fail
;
24176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24177 result
= (int)(arg1
)->Run();
24179 wxPyEndAllowThreads(__tstate
);
24180 if (PyErr_Occurred()) SWIG_fail
;
24183 resultobj
= SWIG_From_int((int)(result
));
24191 static PyObject
*_wrap_wxEventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24192 PyObject
*resultobj
;
24193 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24194 int arg2
= (int) 0 ;
24195 PyObject
* obj0
= 0 ;
24196 PyObject
* obj1
= 0 ;
24197 char *kwnames
[] = {
24198 (char *) "self",(char *) "rc", NULL
24201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:wxEventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
24202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24203 if (SWIG_arg_fail(1)) SWIG_fail
;
24206 arg2
= (int)(SWIG_As_int(obj1
));
24207 if (SWIG_arg_fail(2)) SWIG_fail
;
24211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24212 (arg1
)->Exit(arg2
);
24214 wxPyEndAllowThreads(__tstate
);
24215 if (PyErr_Occurred()) SWIG_fail
;
24217 Py_INCREF(Py_None
); resultobj
= Py_None
;
24224 static PyObject
*_wrap_wxEventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24225 PyObject
*resultobj
;
24226 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24228 PyObject
* obj0
= 0 ;
24229 char *kwnames
[] = {
24230 (char *) "self", NULL
24233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxEventLoop_Pending",kwnames
,&obj0
)) goto fail
;
24234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24235 if (SWIG_arg_fail(1)) SWIG_fail
;
24237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24238 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
24240 wxPyEndAllowThreads(__tstate
);
24241 if (PyErr_Occurred()) SWIG_fail
;
24244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24252 static PyObject
*_wrap_wxEventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24253 PyObject
*resultobj
;
24254 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24256 PyObject
* obj0
= 0 ;
24257 char *kwnames
[] = {
24258 (char *) "self", NULL
24261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxEventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
24262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24263 if (SWIG_arg_fail(1)) SWIG_fail
;
24265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24266 result
= (bool)(arg1
)->Dispatch();
24268 wxPyEndAllowThreads(__tstate
);
24269 if (PyErr_Occurred()) SWIG_fail
;
24272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24280 static PyObject
*_wrap_wxEventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24281 PyObject
*resultobj
;
24282 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24284 PyObject
* obj0
= 0 ;
24285 char *kwnames
[] = {
24286 (char *) "self", NULL
24289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxEventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
24290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24291 if (SWIG_arg_fail(1)) SWIG_fail
;
24293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24294 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
24296 wxPyEndAllowThreads(__tstate
);
24297 if (PyErr_Occurred()) SWIG_fail
;
24300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24308 static PyObject
*_wrap_wxEventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24309 PyObject
*resultobj
;
24310 wxEventLoop
*result
;
24311 char *kwnames
[] = {
24315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":wxEventLoop_GetActive",kwnames
)) goto fail
;
24317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24318 result
= (wxEventLoop
*)wxEventLoop::GetActive();
24320 wxPyEndAllowThreads(__tstate
);
24321 if (PyErr_Occurred()) SWIG_fail
;
24323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
24330 static PyObject
*_wrap_wxEventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24331 PyObject
*resultobj
;
24332 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24333 PyObject
* obj0
= 0 ;
24334 char *kwnames
[] = {
24335 (char *) "loop", NULL
24338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxEventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
24339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24340 if (SWIG_arg_fail(1)) SWIG_fail
;
24342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24343 wxEventLoop::SetActive(arg1
);
24345 wxPyEndAllowThreads(__tstate
);
24346 if (PyErr_Occurred()) SWIG_fail
;
24348 Py_INCREF(Py_None
); resultobj
= Py_None
;
24355 static PyObject
* wxEventLoop_swigregister(PyObject
*, PyObject
*args
) {
24357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24358 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
24360 return Py_BuildValue((char *)"");
24362 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24363 PyObject
*resultobj
;
24364 int arg1
= (int) 0 ;
24365 int arg2
= (int) 0 ;
24366 int arg3
= (int) 0 ;
24367 wxAcceleratorEntry
*result
;
24368 PyObject
* obj0
= 0 ;
24369 PyObject
* obj1
= 0 ;
24370 PyObject
* obj2
= 0 ;
24371 char *kwnames
[] = {
24372 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
24375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_wxAcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24378 arg1
= (int)(SWIG_As_int(obj0
));
24379 if (SWIG_arg_fail(1)) SWIG_fail
;
24384 arg2
= (int)(SWIG_As_int(obj1
));
24385 if (SWIG_arg_fail(2)) SWIG_fail
;
24390 arg3
= (int)(SWIG_As_int(obj2
));
24391 if (SWIG_arg_fail(3)) SWIG_fail
;
24395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24396 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
24398 wxPyEndAllowThreads(__tstate
);
24399 if (PyErr_Occurred()) SWIG_fail
;
24401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
24408 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24409 PyObject
*resultobj
;
24410 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24411 PyObject
* obj0
= 0 ;
24412 char *kwnames
[] = {
24413 (char *) "self", NULL
24416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_wxAcceleratorEntry",kwnames
,&obj0
)) goto fail
;
24417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24418 if (SWIG_arg_fail(1)) SWIG_fail
;
24420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24423 wxPyEndAllowThreads(__tstate
);
24424 if (PyErr_Occurred()) SWIG_fail
;
24426 Py_INCREF(Py_None
); resultobj
= Py_None
;
24433 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24434 PyObject
*resultobj
;
24435 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24439 PyObject
* obj0
= 0 ;
24440 PyObject
* obj1
= 0 ;
24441 PyObject
* obj2
= 0 ;
24442 PyObject
* obj3
= 0 ;
24443 char *kwnames
[] = {
24444 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
24447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:wxAcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24449 if (SWIG_arg_fail(1)) SWIG_fail
;
24451 arg2
= (int)(SWIG_As_int(obj1
));
24452 if (SWIG_arg_fail(2)) SWIG_fail
;
24455 arg3
= (int)(SWIG_As_int(obj2
));
24456 if (SWIG_arg_fail(3)) SWIG_fail
;
24459 arg4
= (int)(SWIG_As_int(obj3
));
24460 if (SWIG_arg_fail(4)) SWIG_fail
;
24463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24464 (arg1
)->Set(arg2
,arg3
,arg4
);
24466 wxPyEndAllowThreads(__tstate
);
24467 if (PyErr_Occurred()) SWIG_fail
;
24469 Py_INCREF(Py_None
); resultobj
= Py_None
;
24476 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24477 PyObject
*resultobj
;
24478 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24480 PyObject
* obj0
= 0 ;
24481 char *kwnames
[] = {
24482 (char *) "self", NULL
24485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxAcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
24486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24487 if (SWIG_arg_fail(1)) SWIG_fail
;
24489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24490 result
= (int)(arg1
)->GetFlags();
24492 wxPyEndAllowThreads(__tstate
);
24493 if (PyErr_Occurred()) SWIG_fail
;
24496 resultobj
= SWIG_From_int((int)(result
));
24504 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24505 PyObject
*resultobj
;
24506 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24508 PyObject
* obj0
= 0 ;
24509 char *kwnames
[] = {
24510 (char *) "self", NULL
24513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxAcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24515 if (SWIG_arg_fail(1)) SWIG_fail
;
24517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24518 result
= (int)(arg1
)->GetKeyCode();
24520 wxPyEndAllowThreads(__tstate
);
24521 if (PyErr_Occurred()) SWIG_fail
;
24524 resultobj
= SWIG_From_int((int)(result
));
24532 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24533 PyObject
*resultobj
;
24534 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24536 PyObject
* obj0
= 0 ;
24537 char *kwnames
[] = {
24538 (char *) "self", NULL
24541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxAcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
24542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24543 if (SWIG_arg_fail(1)) SWIG_fail
;
24545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24546 result
= (int)(arg1
)->GetCommand();
24548 wxPyEndAllowThreads(__tstate
);
24549 if (PyErr_Occurred()) SWIG_fail
;
24552 resultobj
= SWIG_From_int((int)(result
));
24560 static PyObject
* wxAcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
24562 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24563 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
24565 return Py_BuildValue((char *)"");
24567 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24568 PyObject
*resultobj
;
24570 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
24571 wxAcceleratorTable
*result
;
24572 PyObject
* obj0
= 0 ;
24573 char *kwnames
[] = {
24577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_wxAcceleratorTable",kwnames
,&obj0
)) goto fail
;
24579 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
24580 if (arg2
) arg1
= PyList_Size(obj0
);
24584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24585 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
24587 wxPyEndAllowThreads(__tstate
);
24588 if (PyErr_Occurred()) SWIG_fail
;
24590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
24603 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24604 PyObject
*resultobj
;
24605 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24606 PyObject
* obj0
= 0 ;
24607 char *kwnames
[] = {
24608 (char *) "self", NULL
24611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_wxAcceleratorTable",kwnames
,&obj0
)) goto fail
;
24612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24613 if (SWIG_arg_fail(1)) SWIG_fail
;
24615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24618 wxPyEndAllowThreads(__tstate
);
24619 if (PyErr_Occurred()) SWIG_fail
;
24621 Py_INCREF(Py_None
); resultobj
= Py_None
;
24628 static PyObject
*_wrap_wxAcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24629 PyObject
*resultobj
;
24630 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24632 PyObject
* obj0
= 0 ;
24633 char *kwnames
[] = {
24634 (char *) "self", NULL
24637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxAcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
24638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24639 if (SWIG_arg_fail(1)) SWIG_fail
;
24641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24642 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
24644 wxPyEndAllowThreads(__tstate
);
24645 if (PyErr_Occurred()) SWIG_fail
;
24648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24656 static PyObject
* wxAcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
24658 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24659 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
24661 return Py_BuildValue((char *)"");
24663 static int _wrap_wxNullAcceleratorTable_set(PyObject
*) {
24664 PyErr_SetString(PyExc_TypeError
,"Variable wxNullAcceleratorTable is read-only.");
24669 static PyObject
*_wrap_wxNullAcceleratorTable_get(void) {
24672 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24677 static PyObject
*_wrap_wxGetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24678 PyObject
*resultobj
;
24679 wxString
*arg1
= 0 ;
24680 wxAcceleratorEntry
*result
;
24681 bool temp1
= false ;
24682 PyObject
* obj0
= 0 ;
24683 char *kwnames
[] = {
24684 (char *) "label", NULL
24687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxGetAccelFromString",kwnames
,&obj0
)) goto fail
;
24689 arg1
= wxString_in_helper(obj0
);
24690 if (arg1
== NULL
) SWIG_fail
;
24694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24695 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
24697 wxPyEndAllowThreads(__tstate
);
24698 if (PyErr_Occurred()) SWIG_fail
;
24700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
24715 static int _wrap_PanelNameStr_set(PyObject
*) {
24716 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
24721 static PyObject
*_wrap_PanelNameStr_get(void) {
24726 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24728 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24735 static PyObject
*_wrap_new_wxVisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24736 PyObject
*resultobj
;
24737 wxVisualAttributes
*result
;
24738 char *kwnames
[] = {
24742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_wxVisualAttributes",kwnames
)) goto fail
;
24744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24745 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
24747 wxPyEndAllowThreads(__tstate
);
24748 if (PyErr_Occurred()) SWIG_fail
;
24750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
24757 static PyObject
*_wrap_delete_wxVisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24758 PyObject
*resultobj
;
24759 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24760 PyObject
* obj0
= 0 ;
24761 char *kwnames
[] = {
24762 (char *) "self", NULL
24765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_wxVisualAttributes",kwnames
,&obj0
)) goto fail
;
24766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24767 if (SWIG_arg_fail(1)) SWIG_fail
;
24769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24770 delete_wxVisualAttributes(arg1
);
24772 wxPyEndAllowThreads(__tstate
);
24773 if (PyErr_Occurred()) SWIG_fail
;
24775 Py_INCREF(Py_None
); resultobj
= Py_None
;
24782 static PyObject
*_wrap_wxVisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24783 PyObject
*resultobj
;
24784 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24786 PyObject
* obj0
= 0 ;
24787 PyObject
* obj1
= 0 ;
24788 char *kwnames
[] = {
24789 (char *) "self",(char *) "font", NULL
24792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxVisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24794 if (SWIG_arg_fail(1)) SWIG_fail
;
24797 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
);
24798 if (SWIG_arg_fail(2)) SWIG_fail
;
24799 if (argp
== NULL
) {
24800 SWIG_null_ref("wxFont");
24802 if (SWIG_arg_fail(2)) SWIG_fail
;
24805 if (arg1
) (arg1
)->font
= arg2
;
24807 Py_INCREF(Py_None
); resultobj
= Py_None
;
24814 static PyObject
*_wrap_wxVisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24815 PyObject
*resultobj
;
24816 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24818 PyObject
* obj0
= 0 ;
24819 char *kwnames
[] = {
24820 (char *) "self", NULL
24823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxVisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
24824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24825 if (SWIG_arg_fail(1)) SWIG_fail
;
24826 result
= ((arg1
)->font
);
24829 wxFont
* resultptr
;
24830 resultptr
= new wxFont((wxFont
&)(result
));
24831 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
24839 static PyObject
*_wrap_wxVisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24840 PyObject
*resultobj
;
24841 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24843 PyObject
* obj0
= 0 ;
24844 PyObject
* obj1
= 0 ;
24845 char *kwnames
[] = {
24846 (char *) "self",(char *) "colFg", NULL
24849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxVisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24851 if (SWIG_arg_fail(1)) SWIG_fail
;
24854 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
);
24855 if (SWIG_arg_fail(2)) SWIG_fail
;
24856 if (argp
== NULL
) {
24857 SWIG_null_ref("wxColour");
24859 if (SWIG_arg_fail(2)) SWIG_fail
;
24862 if (arg1
) (arg1
)->colFg
= arg2
;
24864 Py_INCREF(Py_None
); resultobj
= Py_None
;
24871 static PyObject
*_wrap_wxVisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24872 PyObject
*resultobj
;
24873 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24875 PyObject
* obj0
= 0 ;
24876 char *kwnames
[] = {
24877 (char *) "self", NULL
24880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxVisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
24881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24882 if (SWIG_arg_fail(1)) SWIG_fail
;
24883 result
= ((arg1
)->colFg
);
24886 wxColour
* resultptr
;
24887 resultptr
= new wxColour((wxColour
&)(result
));
24888 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24896 static PyObject
*_wrap_wxVisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24897 PyObject
*resultobj
;
24898 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24900 PyObject
* obj0
= 0 ;
24901 PyObject
* obj1
= 0 ;
24902 char *kwnames
[] = {
24903 (char *) "self",(char *) "colBg", NULL
24906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxVisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24908 if (SWIG_arg_fail(1)) SWIG_fail
;
24911 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
);
24912 if (SWIG_arg_fail(2)) SWIG_fail
;
24913 if (argp
== NULL
) {
24914 SWIG_null_ref("wxColour");
24916 if (SWIG_arg_fail(2)) SWIG_fail
;
24919 if (arg1
) (arg1
)->colBg
= arg2
;
24921 Py_INCREF(Py_None
); resultobj
= Py_None
;
24928 static PyObject
*_wrap_wxVisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24929 PyObject
*resultobj
;
24930 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24932 PyObject
* obj0
= 0 ;
24933 char *kwnames
[] = {
24934 (char *) "self", NULL
24937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxVisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
24938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24939 if (SWIG_arg_fail(1)) SWIG_fail
;
24940 result
= ((arg1
)->colBg
);
24943 wxColour
* resultptr
;
24944 resultptr
= new wxColour((wxColour
&)(result
));
24945 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24953 static PyObject
* wxVisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
24955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24956 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
24958 return Py_BuildValue((char *)"");
24960 static PyObject
*_wrap_new_wxWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24961 PyObject
*resultobj
;
24962 wxWindow
*arg1
= (wxWindow
*) 0 ;
24963 int arg2
= (int) (int)-1 ;
24964 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24965 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24966 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24967 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24968 long arg5
= (long) 0 ;
24969 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24970 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24974 bool temp6
= false ;
24975 PyObject
* obj0
= 0 ;
24976 PyObject
* obj1
= 0 ;
24977 PyObject
* obj2
= 0 ;
24978 PyObject
* obj3
= 0 ;
24979 PyObject
* obj4
= 0 ;
24980 PyObject
* obj5
= 0 ;
24981 char *kwnames
[] = {
24982 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_wxWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24987 if (SWIG_arg_fail(1)) SWIG_fail
;
24990 arg2
= (int const)(SWIG_As_int(obj1
));
24991 if (SWIG_arg_fail(2)) SWIG_fail
;
24997 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25003 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25008 arg5
= (long)(SWIG_As_long(obj4
));
25009 if (SWIG_arg_fail(5)) SWIG_fail
;
25014 arg6
= wxString_in_helper(obj5
);
25015 if (arg6
== NULL
) SWIG_fail
;
25020 if (!wxPyCheckForApp()) SWIG_fail
;
25021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25022 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25024 wxPyEndAllowThreads(__tstate
);
25025 if (PyErr_Occurred()) SWIG_fail
;
25027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25042 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25043 PyObject
*resultobj
;
25045 char *kwnames
[] = {
25049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
25051 if (!wxPyCheckForApp()) SWIG_fail
;
25052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25053 result
= (wxWindow
*)new wxWindow();
25055 wxPyEndAllowThreads(__tstate
);
25056 if (PyErr_Occurred()) SWIG_fail
;
25058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25065 static PyObject
*_wrap_wxWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25066 PyObject
*resultobj
;
25067 wxWindow
*arg1
= (wxWindow
*) 0 ;
25068 wxWindow
*arg2
= (wxWindow
*) 0 ;
25069 int arg3
= (int) (int)-1 ;
25070 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25071 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25072 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25073 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25074 long arg6
= (long) 0 ;
25075 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25076 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25080 bool temp7
= false ;
25081 PyObject
* obj0
= 0 ;
25082 PyObject
* obj1
= 0 ;
25083 PyObject
* obj2
= 0 ;
25084 PyObject
* obj3
= 0 ;
25085 PyObject
* obj4
= 0 ;
25086 PyObject
* obj5
= 0 ;
25087 PyObject
* obj6
= 0 ;
25088 char *kwnames
[] = {
25089 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:wxWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25094 if (SWIG_arg_fail(1)) SWIG_fail
;
25095 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25096 if (SWIG_arg_fail(2)) SWIG_fail
;
25099 arg3
= (int const)(SWIG_As_int(obj2
));
25100 if (SWIG_arg_fail(3)) SWIG_fail
;
25106 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25112 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25117 arg6
= (long)(SWIG_As_long(obj5
));
25118 if (SWIG_arg_fail(6)) SWIG_fail
;
25123 arg7
= wxString_in_helper(obj6
);
25124 if (arg7
== NULL
) SWIG_fail
;
25129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25130 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25132 wxPyEndAllowThreads(__tstate
);
25133 if (PyErr_Occurred()) SWIG_fail
;
25136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25152 static PyObject
*_wrap_wxWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25153 PyObject
*resultobj
;
25154 wxWindow
*arg1
= (wxWindow
*) 0 ;
25155 bool arg2
= (bool) false ;
25157 PyObject
* obj0
= 0 ;
25158 PyObject
* obj1
= 0 ;
25159 char *kwnames
[] = {
25160 (char *) "self",(char *) "force", NULL
25163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:wxWindow_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
25164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25165 if (SWIG_arg_fail(1)) SWIG_fail
;
25168 arg2
= (bool)(SWIG_As_bool(obj1
));
25169 if (SWIG_arg_fail(2)) SWIG_fail
;
25173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25174 result
= (bool)(arg1
)->Close(arg2
);
25176 wxPyEndAllowThreads(__tstate
);
25177 if (PyErr_Occurred()) SWIG_fail
;
25180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25188 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25189 PyObject
*resultobj
;
25190 wxWindow
*arg1
= (wxWindow
*) 0 ;
25192 PyObject
* obj0
= 0 ;
25193 char *kwnames
[] = {
25194 (char *) "self", NULL
25197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_Destroy",kwnames
,&obj0
)) goto fail
;
25198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25199 if (SWIG_arg_fail(1)) SWIG_fail
;
25201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25202 result
= (bool)(arg1
)->Destroy();
25204 wxPyEndAllowThreads(__tstate
);
25205 if (PyErr_Occurred()) SWIG_fail
;
25208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25216 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25217 PyObject
*resultobj
;
25218 wxWindow
*arg1
= (wxWindow
*) 0 ;
25220 PyObject
* obj0
= 0 ;
25221 char *kwnames
[] = {
25222 (char *) "self", NULL
25225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_DestroyChildren",kwnames
,&obj0
)) goto fail
;
25226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25227 if (SWIG_arg_fail(1)) SWIG_fail
;
25229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25230 result
= (bool)(arg1
)->DestroyChildren();
25232 wxPyEndAllowThreads(__tstate
);
25233 if (PyErr_Occurred()) SWIG_fail
;
25236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25244 static PyObject
*_wrap_wxWindow_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25245 PyObject
*resultobj
;
25246 wxWindow
*arg1
= (wxWindow
*) 0 ;
25248 PyObject
* obj0
= 0 ;
25249 char *kwnames
[] = {
25250 (char *) "self", NULL
25253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
25254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25255 if (SWIG_arg_fail(1)) SWIG_fail
;
25257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25258 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
25260 wxPyEndAllowThreads(__tstate
);
25261 if (PyErr_Occurred()) SWIG_fail
;
25264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25272 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25273 PyObject
*resultobj
;
25274 wxWindow
*arg1
= (wxWindow
*) 0 ;
25275 wxString
*arg2
= 0 ;
25276 bool temp2
= false ;
25277 PyObject
* obj0
= 0 ;
25278 PyObject
* obj1
= 0 ;
25279 char *kwnames
[] = {
25280 (char *) "self",(char *) "title", NULL
25283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
25284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25285 if (SWIG_arg_fail(1)) SWIG_fail
;
25287 arg2
= wxString_in_helper(obj1
);
25288 if (arg2
== NULL
) SWIG_fail
;
25292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25293 (arg1
)->SetTitle((wxString
const &)*arg2
);
25295 wxPyEndAllowThreads(__tstate
);
25296 if (PyErr_Occurred()) SWIG_fail
;
25298 Py_INCREF(Py_None
); resultobj
= Py_None
;
25313 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25314 PyObject
*resultobj
;
25315 wxWindow
*arg1
= (wxWindow
*) 0 ;
25317 PyObject
* obj0
= 0 ;
25318 char *kwnames
[] = {
25319 (char *) "self", NULL
25322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
25323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25324 if (SWIG_arg_fail(1)) SWIG_fail
;
25326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25327 result
= ((wxWindow
const *)arg1
)->GetTitle();
25329 wxPyEndAllowThreads(__tstate
);
25330 if (PyErr_Occurred()) SWIG_fail
;
25334 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25336 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25345 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25346 PyObject
*resultobj
;
25347 wxWindow
*arg1
= (wxWindow
*) 0 ;
25348 wxString
*arg2
= 0 ;
25349 bool temp2
= false ;
25350 PyObject
* obj0
= 0 ;
25351 PyObject
* obj1
= 0 ;
25352 char *kwnames
[] = {
25353 (char *) "self",(char *) "label", NULL
25356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25358 if (SWIG_arg_fail(1)) SWIG_fail
;
25360 arg2
= wxString_in_helper(obj1
);
25361 if (arg2
== NULL
) SWIG_fail
;
25365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25366 (arg1
)->SetLabel((wxString
const &)*arg2
);
25368 wxPyEndAllowThreads(__tstate
);
25369 if (PyErr_Occurred()) SWIG_fail
;
25371 Py_INCREF(Py_None
); resultobj
= Py_None
;
25386 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25387 PyObject
*resultobj
;
25388 wxWindow
*arg1
= (wxWindow
*) 0 ;
25390 PyObject
* obj0
= 0 ;
25391 char *kwnames
[] = {
25392 (char *) "self", NULL
25395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetLabel",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25400 result
= ((wxWindow
const *)arg1
)->GetLabel();
25402 wxPyEndAllowThreads(__tstate
);
25403 if (PyErr_Occurred()) SWIG_fail
;
25407 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25409 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25418 static PyObject
*_wrap_wxWindow_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25419 PyObject
*resultobj
;
25420 wxWindow
*arg1
= (wxWindow
*) 0 ;
25421 wxString
*arg2
= 0 ;
25422 bool temp2
= false ;
25423 PyObject
* obj0
= 0 ;
25424 PyObject
* obj1
= 0 ;
25425 char *kwnames
[] = {
25426 (char *) "self",(char *) "name", NULL
25429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
25430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25431 if (SWIG_arg_fail(1)) SWIG_fail
;
25433 arg2
= wxString_in_helper(obj1
);
25434 if (arg2
== NULL
) SWIG_fail
;
25438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25439 (arg1
)->SetName((wxString
const &)*arg2
);
25441 wxPyEndAllowThreads(__tstate
);
25442 if (PyErr_Occurred()) SWIG_fail
;
25444 Py_INCREF(Py_None
); resultobj
= Py_None
;
25459 static PyObject
*_wrap_wxWindow_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25460 PyObject
*resultobj
;
25461 wxWindow
*arg1
= (wxWindow
*) 0 ;
25463 PyObject
* obj0
= 0 ;
25464 char *kwnames
[] = {
25465 (char *) "self", NULL
25468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetName",kwnames
,&obj0
)) goto fail
;
25469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25470 if (SWIG_arg_fail(1)) SWIG_fail
;
25472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25473 result
= ((wxWindow
const *)arg1
)->GetName();
25475 wxPyEndAllowThreads(__tstate
);
25476 if (PyErr_Occurred()) SWIG_fail
;
25480 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25482 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25491 static PyObject
*_wrap_wxWindow_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25492 PyObject
*resultobj
;
25493 wxWindow
*arg1
= (wxWindow
*) 0 ;
25494 wxWindowVariant arg2
;
25495 PyObject
* obj0
= 0 ;
25496 PyObject
* obj1
= 0 ;
25497 char *kwnames
[] = {
25498 (char *) "self",(char *) "variant", NULL
25501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
25502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25503 if (SWIG_arg_fail(1)) SWIG_fail
;
25505 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
25506 if (SWIG_arg_fail(2)) SWIG_fail
;
25509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25510 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
25512 wxPyEndAllowThreads(__tstate
);
25513 if (PyErr_Occurred()) SWIG_fail
;
25515 Py_INCREF(Py_None
); resultobj
= Py_None
;
25522 static PyObject
*_wrap_wxWindow_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25523 PyObject
*resultobj
;
25524 wxWindow
*arg1
= (wxWindow
*) 0 ;
25525 wxWindowVariant result
;
25526 PyObject
* obj0
= 0 ;
25527 char *kwnames
[] = {
25528 (char *) "self", NULL
25531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
25532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25533 if (SWIG_arg_fail(1)) SWIG_fail
;
25535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25536 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
25538 wxPyEndAllowThreads(__tstate
);
25539 if (PyErr_Occurred()) SWIG_fail
;
25541 resultobj
= SWIG_From_int((result
));
25548 static PyObject
*_wrap_wxWindow_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25549 PyObject
*resultobj
;
25550 wxWindow
*arg1
= (wxWindow
*) 0 ;
25552 PyObject
* obj0
= 0 ;
25553 PyObject
* obj1
= 0 ;
25554 char *kwnames
[] = {
25555 (char *) "self",(char *) "winid", NULL
25558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
25559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25560 if (SWIG_arg_fail(1)) SWIG_fail
;
25562 arg2
= (int)(SWIG_As_int(obj1
));
25563 if (SWIG_arg_fail(2)) SWIG_fail
;
25566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25567 (arg1
)->SetId(arg2
);
25569 wxPyEndAllowThreads(__tstate
);
25570 if (PyErr_Occurred()) SWIG_fail
;
25572 Py_INCREF(Py_None
); resultobj
= Py_None
;
25579 static PyObject
*_wrap_wxWindow_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25580 PyObject
*resultobj
;
25581 wxWindow
*arg1
= (wxWindow
*) 0 ;
25583 PyObject
* obj0
= 0 ;
25584 char *kwnames
[] = {
25585 (char *) "self", NULL
25588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetId",kwnames
,&obj0
)) goto fail
;
25589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25590 if (SWIG_arg_fail(1)) SWIG_fail
;
25592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25593 result
= (int)((wxWindow
const *)arg1
)->GetId();
25595 wxPyEndAllowThreads(__tstate
);
25596 if (PyErr_Occurred()) SWIG_fail
;
25599 resultobj
= SWIG_From_int((int)(result
));
25607 static PyObject
*_wrap_wxWindow_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25608 PyObject
*resultobj
;
25610 char *kwnames
[] = {
25614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":wxWindow_NewControlId",kwnames
)) goto fail
;
25616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25617 result
= (int)wxWindow::NewControlId();
25619 wxPyEndAllowThreads(__tstate
);
25620 if (PyErr_Occurred()) SWIG_fail
;
25623 resultobj
= SWIG_From_int((int)(result
));
25631 static PyObject
*_wrap_wxWindow_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25632 PyObject
*resultobj
;
25635 PyObject
* obj0
= 0 ;
25636 char *kwnames
[] = {
25637 (char *) "winid", NULL
25640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_NextControlId",kwnames
,&obj0
)) goto fail
;
25642 arg1
= (int)(SWIG_As_int(obj0
));
25643 if (SWIG_arg_fail(1)) SWIG_fail
;
25646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25647 result
= (int)wxWindow::NextControlId(arg1
);
25649 wxPyEndAllowThreads(__tstate
);
25650 if (PyErr_Occurred()) SWIG_fail
;
25653 resultobj
= SWIG_From_int((int)(result
));
25661 static PyObject
*_wrap_wxWindow_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25662 PyObject
*resultobj
;
25665 PyObject
* obj0
= 0 ;
25666 char *kwnames
[] = {
25667 (char *) "winid", NULL
25670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_PrevControlId",kwnames
,&obj0
)) goto fail
;
25672 arg1
= (int)(SWIG_As_int(obj0
));
25673 if (SWIG_arg_fail(1)) SWIG_fail
;
25676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25677 result
= (int)wxWindow::PrevControlId(arg1
);
25679 wxPyEndAllowThreads(__tstate
);
25680 if (PyErr_Occurred()) SWIG_fail
;
25683 resultobj
= SWIG_From_int((int)(result
));
25691 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25692 PyObject
*resultobj
;
25693 wxWindow
*arg1
= (wxWindow
*) 0 ;
25696 PyObject
* obj0
= 0 ;
25697 PyObject
* obj1
= 0 ;
25698 char *kwnames
[] = {
25699 (char *) "self",(char *) "size", NULL
25702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25704 if (SWIG_arg_fail(1)) SWIG_fail
;
25707 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25711 (arg1
)->SetSize((wxSize
const &)*arg2
);
25713 wxPyEndAllowThreads(__tstate
);
25714 if (PyErr_Occurred()) SWIG_fail
;
25716 Py_INCREF(Py_None
); resultobj
= Py_None
;
25723 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25724 PyObject
*resultobj
;
25725 wxWindow
*arg1
= (wxWindow
*) 0 ;
25730 int arg6
= (int) wxSIZE_AUTO
;
25731 PyObject
* obj0
= 0 ;
25732 PyObject
* obj1
= 0 ;
25733 PyObject
* obj2
= 0 ;
25734 PyObject
* obj3
= 0 ;
25735 PyObject
* obj4
= 0 ;
25736 PyObject
* obj5
= 0 ;
25737 char *kwnames
[] = {
25738 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:wxWindow_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25743 if (SWIG_arg_fail(1)) SWIG_fail
;
25745 arg2
= (int)(SWIG_As_int(obj1
));
25746 if (SWIG_arg_fail(2)) SWIG_fail
;
25749 arg3
= (int)(SWIG_As_int(obj2
));
25750 if (SWIG_arg_fail(3)) SWIG_fail
;
25753 arg4
= (int)(SWIG_As_int(obj3
));
25754 if (SWIG_arg_fail(4)) SWIG_fail
;
25757 arg5
= (int)(SWIG_As_int(obj4
));
25758 if (SWIG_arg_fail(5)) SWIG_fail
;
25762 arg6
= (int)(SWIG_As_int(obj5
));
25763 if (SWIG_arg_fail(6)) SWIG_fail
;
25767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25768 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25770 wxPyEndAllowThreads(__tstate
);
25771 if (PyErr_Occurred()) SWIG_fail
;
25773 Py_INCREF(Py_None
); resultobj
= Py_None
;
25780 static PyObject
*_wrap_wxWindow_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25781 PyObject
*resultobj
;
25782 wxWindow
*arg1
= (wxWindow
*) 0 ;
25784 int arg3
= (int) wxSIZE_AUTO
;
25786 PyObject
* obj0
= 0 ;
25787 PyObject
* obj1
= 0 ;
25788 PyObject
* obj2
= 0 ;
25789 char *kwnames
[] = {
25790 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
25793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:wxWindow_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25795 if (SWIG_arg_fail(1)) SWIG_fail
;
25798 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25802 arg3
= (int)(SWIG_As_int(obj2
));
25803 if (SWIG_arg_fail(3)) SWIG_fail
;
25807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25808 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
25810 wxPyEndAllowThreads(__tstate
);
25811 if (PyErr_Occurred()) SWIG_fail
;
25813 Py_INCREF(Py_None
); resultobj
= Py_None
;
25820 static PyObject
*_wrap_wxWindow_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25821 PyObject
*resultobj
;
25822 wxWindow
*arg1
= (wxWindow
*) 0 ;
25825 PyObject
* obj0
= 0 ;
25826 PyObject
* obj1
= 0 ;
25827 PyObject
* obj2
= 0 ;
25828 char *kwnames
[] = {
25829 (char *) "self",(char *) "width",(char *) "height", NULL
25832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxWindow_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25834 if (SWIG_arg_fail(1)) SWIG_fail
;
25836 arg2
= (int)(SWIG_As_int(obj1
));
25837 if (SWIG_arg_fail(2)) SWIG_fail
;
25840 arg3
= (int)(SWIG_As_int(obj2
));
25841 if (SWIG_arg_fail(3)) SWIG_fail
;
25844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25845 (arg1
)->SetSize(arg2
,arg3
);
25847 wxPyEndAllowThreads(__tstate
);
25848 if (PyErr_Occurred()) SWIG_fail
;
25850 Py_INCREF(Py_None
); resultobj
= Py_None
;
25857 static PyObject
*_wrap_wxWindow_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25858 PyObject
*resultobj
;
25859 wxWindow
*arg1
= (wxWindow
*) 0 ;
25860 wxPoint
*arg2
= 0 ;
25861 int arg3
= (int) wxSIZE_USE_EXISTING
;
25863 PyObject
* obj0
= 0 ;
25864 PyObject
* obj1
= 0 ;
25865 PyObject
* obj2
= 0 ;
25866 char *kwnames
[] = {
25867 (char *) "self",(char *) "pt",(char *) "flags", NULL
25870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:wxWindow_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25872 if (SWIG_arg_fail(1)) SWIG_fail
;
25875 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25879 arg3
= (int)(SWIG_As_int(obj2
));
25880 if (SWIG_arg_fail(3)) SWIG_fail
;
25884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25885 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
25887 wxPyEndAllowThreads(__tstate
);
25888 if (PyErr_Occurred()) SWIG_fail
;
25890 Py_INCREF(Py_None
); resultobj
= Py_None
;
25897 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25898 PyObject
*resultobj
;
25899 wxWindow
*arg1
= (wxWindow
*) 0 ;
25902 int arg4
= (int) wxSIZE_USE_EXISTING
;
25903 PyObject
* obj0
= 0 ;
25904 PyObject
* obj1
= 0 ;
25905 PyObject
* obj2
= 0 ;
25906 PyObject
* obj3
= 0 ;
25907 char *kwnames
[] = {
25908 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:wxWindow_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25913 if (SWIG_arg_fail(1)) SWIG_fail
;
25915 arg2
= (int)(SWIG_As_int(obj1
));
25916 if (SWIG_arg_fail(2)) SWIG_fail
;
25919 arg3
= (int)(SWIG_As_int(obj2
));
25920 if (SWIG_arg_fail(3)) SWIG_fail
;
25924 arg4
= (int)(SWIG_As_int(obj3
));
25925 if (SWIG_arg_fail(4)) SWIG_fail
;
25929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25930 (arg1
)->Move(arg2
,arg3
,arg4
);
25932 wxPyEndAllowThreads(__tstate
);
25933 if (PyErr_Occurred()) SWIG_fail
;
25935 Py_INCREF(Py_None
); resultobj
= Py_None
;
25942 static PyObject
*_wrap_wxWindow_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25943 PyObject
*resultobj
;
25944 wxWindow
*arg1
= (wxWindow
*) 0 ;
25945 wxSize
const &arg2_defvalue
= wxDefaultSize
;
25946 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
25948 PyObject
* obj0
= 0 ;
25949 PyObject
* obj1
= 0 ;
25950 char *kwnames
[] = {
25951 (char *) "self",(char *) "size", NULL
25954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:wxWindow_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25956 if (SWIG_arg_fail(1)) SWIG_fail
;
25960 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25965 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
25967 wxPyEndAllowThreads(__tstate
);
25968 if (PyErr_Occurred()) SWIG_fail
;
25970 Py_INCREF(Py_None
); resultobj
= Py_None
;
25977 static PyObject
*_wrap_wxWindow_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25978 PyObject
*resultobj
;
25979 wxWindow
*arg1
= (wxWindow
*) 0 ;
25980 PyObject
* obj0
= 0 ;
25981 char *kwnames
[] = {
25982 (char *) "self", NULL
25985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_Raise",kwnames
,&obj0
)) goto fail
;
25986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25987 if (SWIG_arg_fail(1)) SWIG_fail
;
25989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25992 wxPyEndAllowThreads(__tstate
);
25993 if (PyErr_Occurred()) SWIG_fail
;
25995 Py_INCREF(Py_None
); resultobj
= Py_None
;
26002 static PyObject
*_wrap_wxWindow_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26003 PyObject
*resultobj
;
26004 wxWindow
*arg1
= (wxWindow
*) 0 ;
26005 PyObject
* obj0
= 0 ;
26006 char *kwnames
[] = {
26007 (char *) "self", NULL
26010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_Lower",kwnames
,&obj0
)) goto fail
;
26011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26012 if (SWIG_arg_fail(1)) SWIG_fail
;
26014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26017 wxPyEndAllowThreads(__tstate
);
26018 if (PyErr_Occurred()) SWIG_fail
;
26020 Py_INCREF(Py_None
); resultobj
= Py_None
;
26027 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26028 PyObject
*resultobj
;
26029 wxWindow
*arg1
= (wxWindow
*) 0 ;
26032 PyObject
* obj0
= 0 ;
26033 PyObject
* obj1
= 0 ;
26034 char *kwnames
[] = {
26035 (char *) "self",(char *) "size", NULL
26038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26040 if (SWIG_arg_fail(1)) SWIG_fail
;
26043 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26047 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
26049 wxPyEndAllowThreads(__tstate
);
26050 if (PyErr_Occurred()) SWIG_fail
;
26052 Py_INCREF(Py_None
); resultobj
= Py_None
;
26059 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26060 PyObject
*resultobj
;
26061 wxWindow
*arg1
= (wxWindow
*) 0 ;
26064 PyObject
* obj0
= 0 ;
26065 PyObject
* obj1
= 0 ;
26066 PyObject
* obj2
= 0 ;
26067 char *kwnames
[] = {
26068 (char *) "self",(char *) "width",(char *) "height", NULL
26071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxWindow_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26073 if (SWIG_arg_fail(1)) SWIG_fail
;
26075 arg2
= (int)(SWIG_As_int(obj1
));
26076 if (SWIG_arg_fail(2)) SWIG_fail
;
26079 arg3
= (int)(SWIG_As_int(obj2
));
26080 if (SWIG_arg_fail(3)) SWIG_fail
;
26083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26084 (arg1
)->SetClientSize(arg2
,arg3
);
26086 wxPyEndAllowThreads(__tstate
);
26087 if (PyErr_Occurred()) SWIG_fail
;
26089 Py_INCREF(Py_None
); resultobj
= Py_None
;
26096 static PyObject
*_wrap_wxWindow_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26097 PyObject
*resultobj
;
26098 wxWindow
*arg1
= (wxWindow
*) 0 ;
26101 PyObject
* obj0
= 0 ;
26102 PyObject
* obj1
= 0 ;
26103 char *kwnames
[] = {
26104 (char *) "self",(char *) "rect", NULL
26107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26109 if (SWIG_arg_fail(1)) SWIG_fail
;
26112 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26116 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
26118 wxPyEndAllowThreads(__tstate
);
26119 if (PyErr_Occurred()) SWIG_fail
;
26121 Py_INCREF(Py_None
); resultobj
= Py_None
;
26128 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26129 PyObject
*resultobj
;
26130 wxWindow
*arg1
= (wxWindow
*) 0 ;
26132 PyObject
* obj0
= 0 ;
26133 char *kwnames
[] = {
26134 (char *) "self", NULL
26137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetPosition",kwnames
,&obj0
)) goto fail
;
26138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26139 if (SWIG_arg_fail(1)) SWIG_fail
;
26141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26142 result
= (arg1
)->GetPosition();
26144 wxPyEndAllowThreads(__tstate
);
26145 if (PyErr_Occurred()) SWIG_fail
;
26148 wxPoint
* resultptr
;
26149 resultptr
= new wxPoint((wxPoint
&)(result
));
26150 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26158 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26159 PyObject
*resultobj
;
26160 wxWindow
*arg1
= (wxWindow
*) 0 ;
26161 int *arg2
= (int *) 0 ;
26162 int *arg3
= (int *) 0 ;
26167 PyObject
* obj0
= 0 ;
26168 char *kwnames
[] = {
26169 (char *) "self", NULL
26172 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26173 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
26175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26176 if (SWIG_arg_fail(1)) SWIG_fail
;
26178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26179 (arg1
)->GetPosition(arg2
,arg3
);
26181 wxPyEndAllowThreads(__tstate
);
26182 if (PyErr_Occurred()) SWIG_fail
;
26184 Py_INCREF(Py_None
); resultobj
= Py_None
;
26185 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26186 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26187 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26188 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26195 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26196 PyObject
*resultobj
;
26197 wxWindow
*arg1
= (wxWindow
*) 0 ;
26199 PyObject
* obj0
= 0 ;
26200 char *kwnames
[] = {
26201 (char *) "self", NULL
26204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetSize",kwnames
,&obj0
)) goto fail
;
26205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26206 if (SWIG_arg_fail(1)) SWIG_fail
;
26208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26209 result
= ((wxWindow
const *)arg1
)->GetSize();
26211 wxPyEndAllowThreads(__tstate
);
26212 if (PyErr_Occurred()) SWIG_fail
;
26215 wxSize
* resultptr
;
26216 resultptr
= new wxSize((wxSize
&)(result
));
26217 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26225 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26226 PyObject
*resultobj
;
26227 wxWindow
*arg1
= (wxWindow
*) 0 ;
26228 int *arg2
= (int *) 0 ;
26229 int *arg3
= (int *) 0 ;
26234 PyObject
* obj0
= 0 ;
26235 char *kwnames
[] = {
26236 (char *) "self", NULL
26239 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26240 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetSizeTuple",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();
26246 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
26248 wxPyEndAllowThreads(__tstate
);
26249 if (PyErr_Occurred()) SWIG_fail
;
26251 Py_INCREF(Py_None
); resultobj
= Py_None
;
26252 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26253 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26254 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26255 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26262 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26263 PyObject
*resultobj
;
26264 wxWindow
*arg1
= (wxWindow
*) 0 ;
26266 PyObject
* obj0
= 0 ;
26267 char *kwnames
[] = {
26268 (char *) "self", NULL
26271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetRect",kwnames
,&obj0
)) goto fail
;
26272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26273 if (SWIG_arg_fail(1)) SWIG_fail
;
26275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26276 result
= ((wxWindow
const *)arg1
)->GetRect();
26278 wxPyEndAllowThreads(__tstate
);
26279 if (PyErr_Occurred()) SWIG_fail
;
26282 wxRect
* resultptr
;
26283 resultptr
= new wxRect((wxRect
&)(result
));
26284 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26292 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26293 PyObject
*resultobj
;
26294 wxWindow
*arg1
= (wxWindow
*) 0 ;
26296 PyObject
* obj0
= 0 ;
26297 char *kwnames
[] = {
26298 (char *) "self", NULL
26301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetClientSize",kwnames
,&obj0
)) goto fail
;
26302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26303 if (SWIG_arg_fail(1)) SWIG_fail
;
26305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26306 result
= ((wxWindow
const *)arg1
)->GetClientSize();
26308 wxPyEndAllowThreads(__tstate
);
26309 if (PyErr_Occurred()) SWIG_fail
;
26312 wxSize
* resultptr
;
26313 resultptr
= new wxSize((wxSize
&)(result
));
26314 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26322 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26323 PyObject
*resultobj
;
26324 wxWindow
*arg1
= (wxWindow
*) 0 ;
26325 int *arg2
= (int *) 0 ;
26326 int *arg3
= (int *) 0 ;
26331 PyObject
* obj0
= 0 ;
26332 char *kwnames
[] = {
26333 (char *) "self", NULL
26336 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26337 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
26339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26340 if (SWIG_arg_fail(1)) SWIG_fail
;
26342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26343 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
26345 wxPyEndAllowThreads(__tstate
);
26346 if (PyErr_Occurred()) SWIG_fail
;
26348 Py_INCREF(Py_None
); resultobj
= Py_None
;
26349 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26350 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26351 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26352 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26359 static PyObject
*_wrap_wxWindow_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26360 PyObject
*resultobj
;
26361 wxWindow
*arg1
= (wxWindow
*) 0 ;
26363 PyObject
* obj0
= 0 ;
26364 char *kwnames
[] = {
26365 (char *) "self", NULL
26368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
26369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26370 if (SWIG_arg_fail(1)) SWIG_fail
;
26372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26373 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
26375 wxPyEndAllowThreads(__tstate
);
26376 if (PyErr_Occurred()) SWIG_fail
;
26379 wxPoint
* resultptr
;
26380 resultptr
= new wxPoint((wxPoint
&)(result
));
26381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26389 static PyObject
*_wrap_wxWindow_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26390 PyObject
*resultobj
;
26391 wxWindow
*arg1
= (wxWindow
*) 0 ;
26393 PyObject
* obj0
= 0 ;
26394 char *kwnames
[] = {
26395 (char *) "self", NULL
26398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetClientRect",kwnames
,&obj0
)) goto fail
;
26399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26400 if (SWIG_arg_fail(1)) SWIG_fail
;
26402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26403 result
= ((wxWindow
const *)arg1
)->GetClientRect();
26405 wxPyEndAllowThreads(__tstate
);
26406 if (PyErr_Occurred()) SWIG_fail
;
26409 wxRect
* resultptr
;
26410 resultptr
= new wxRect((wxRect
&)(result
));
26411 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26419 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26420 PyObject
*resultobj
;
26421 wxWindow
*arg1
= (wxWindow
*) 0 ;
26423 PyObject
* obj0
= 0 ;
26424 char *kwnames
[] = {
26425 (char *) "self", NULL
26428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetBestSize",kwnames
,&obj0
)) goto fail
;
26429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26430 if (SWIG_arg_fail(1)) SWIG_fail
;
26432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26433 result
= ((wxWindow
const *)arg1
)->GetBestSize();
26435 wxPyEndAllowThreads(__tstate
);
26436 if (PyErr_Occurred()) SWIG_fail
;
26439 wxSize
* resultptr
;
26440 resultptr
= new wxSize((wxSize
&)(result
));
26441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26449 static PyObject
*_wrap_wxWindow_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26450 PyObject
*resultobj
;
26451 wxWindow
*arg1
= (wxWindow
*) 0 ;
26452 int *arg2
= (int *) 0 ;
26453 int *arg3
= (int *) 0 ;
26458 PyObject
* obj0
= 0 ;
26459 char *kwnames
[] = {
26460 (char *) "self", NULL
26463 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26464 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
26466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26467 if (SWIG_arg_fail(1)) SWIG_fail
;
26469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26470 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
26472 wxPyEndAllowThreads(__tstate
);
26473 if (PyErr_Occurred()) SWIG_fail
;
26475 Py_INCREF(Py_None
); resultobj
= Py_None
;
26476 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26477 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26478 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26479 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26486 static PyObject
*_wrap_wxWindow_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26487 PyObject
*resultobj
;
26488 wxWindow
*arg1
= (wxWindow
*) 0 ;
26489 PyObject
* obj0
= 0 ;
26490 char *kwnames
[] = {
26491 (char *) "self", NULL
26494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
26495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26496 if (SWIG_arg_fail(1)) SWIG_fail
;
26498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26499 (arg1
)->InvalidateBestSize();
26501 wxPyEndAllowThreads(__tstate
);
26502 if (PyErr_Occurred()) SWIG_fail
;
26504 Py_INCREF(Py_None
); resultobj
= Py_None
;
26511 static PyObject
*_wrap_wxWindow_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26512 PyObject
*resultobj
;
26513 wxWindow
*arg1
= (wxWindow
*) 0 ;
26515 PyObject
* obj0
= 0 ;
26516 char *kwnames
[] = {
26517 (char *) "self", NULL
26520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
26521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26522 if (SWIG_arg_fail(1)) SWIG_fail
;
26524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26525 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
26527 wxPyEndAllowThreads(__tstate
);
26528 if (PyErr_Occurred()) SWIG_fail
;
26531 wxSize
* resultptr
;
26532 resultptr
= new wxSize((wxSize
&)(result
));
26533 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26541 static PyObject
*_wrap_wxWindow_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26542 PyObject
*resultobj
;
26543 wxWindow
*arg1
= (wxWindow
*) 0 ;
26545 PyObject
* obj0
= 0 ;
26546 char *kwnames
[] = {
26547 (char *) "self", NULL
26550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
26551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26552 if (SWIG_arg_fail(1)) SWIG_fail
;
26554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26555 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
26557 wxPyEndAllowThreads(__tstate
);
26558 if (PyErr_Occurred()) SWIG_fail
;
26561 wxSize
* resultptr
;
26562 resultptr
= new wxSize((wxSize
&)(result
));
26563 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26571 static PyObject
*_wrap_wxWindow_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26572 PyObject
*resultobj
;
26573 wxWindow
*arg1
= (wxWindow
*) 0 ;
26574 int arg2
= (int) wxBOTH
;
26575 PyObject
* obj0
= 0 ;
26576 PyObject
* obj1
= 0 ;
26577 char *kwnames
[] = {
26578 (char *) "self",(char *) "direction", NULL
26581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:wxWindow_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
26582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26583 if (SWIG_arg_fail(1)) SWIG_fail
;
26586 arg2
= (int)(SWIG_As_int(obj1
));
26587 if (SWIG_arg_fail(2)) SWIG_fail
;
26591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26592 (arg1
)->Center(arg2
);
26594 wxPyEndAllowThreads(__tstate
);
26595 if (PyErr_Occurred()) SWIG_fail
;
26597 Py_INCREF(Py_None
); resultobj
= Py_None
;
26604 static PyObject
*_wrap_wxWindow_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26605 PyObject
*resultobj
;
26606 wxWindow
*arg1
= (wxWindow
*) 0 ;
26607 int arg2
= (int) wxBOTH
;
26608 PyObject
* obj0
= 0 ;
26609 PyObject
* obj1
= 0 ;
26610 char *kwnames
[] = {
26611 (char *) "self",(char *) "dir", NULL
26614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:wxWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26616 if (SWIG_arg_fail(1)) SWIG_fail
;
26619 arg2
= (int)(SWIG_As_int(obj1
));
26620 if (SWIG_arg_fail(2)) SWIG_fail
;
26624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26625 (arg1
)->CenterOnScreen(arg2
);
26627 wxPyEndAllowThreads(__tstate
);
26628 if (PyErr_Occurred()) SWIG_fail
;
26630 Py_INCREF(Py_None
); resultobj
= Py_None
;
26637 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26638 PyObject
*resultobj
;
26639 wxWindow
*arg1
= (wxWindow
*) 0 ;
26640 int arg2
= (int) wxBOTH
;
26641 PyObject
* obj0
= 0 ;
26642 PyObject
* obj1
= 0 ;
26643 char *kwnames
[] = {
26644 (char *) "self",(char *) "dir", NULL
26647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:wxWindow_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26649 if (SWIG_arg_fail(1)) SWIG_fail
;
26652 arg2
= (int)(SWIG_As_int(obj1
));
26653 if (SWIG_arg_fail(2)) SWIG_fail
;
26657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26658 (arg1
)->CenterOnParent(arg2
);
26660 wxPyEndAllowThreads(__tstate
);
26661 if (PyErr_Occurred()) SWIG_fail
;
26663 Py_INCREF(Py_None
); resultobj
= Py_None
;
26670 static PyObject
*_wrap_wxWindow_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26671 PyObject
*resultobj
;
26672 wxWindow
*arg1
= (wxWindow
*) 0 ;
26673 PyObject
* obj0
= 0 ;
26674 char *kwnames
[] = {
26675 (char *) "self", NULL
26678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_Fit",kwnames
,&obj0
)) goto fail
;
26679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26680 if (SWIG_arg_fail(1)) SWIG_fail
;
26682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26685 wxPyEndAllowThreads(__tstate
);
26686 if (PyErr_Occurred()) SWIG_fail
;
26688 Py_INCREF(Py_None
); resultobj
= Py_None
;
26695 static PyObject
*_wrap_wxWindow_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26696 PyObject
*resultobj
;
26697 wxWindow
*arg1
= (wxWindow
*) 0 ;
26698 PyObject
* obj0
= 0 ;
26699 char *kwnames
[] = {
26700 (char *) "self", NULL
26703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_FitInside",kwnames
,&obj0
)) goto fail
;
26704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26705 if (SWIG_arg_fail(1)) SWIG_fail
;
26707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26708 (arg1
)->FitInside();
26710 wxPyEndAllowThreads(__tstate
);
26711 if (PyErr_Occurred()) SWIG_fail
;
26713 Py_INCREF(Py_None
); resultobj
= Py_None
;
26720 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26721 PyObject
*resultobj
;
26722 wxWindow
*arg1
= (wxWindow
*) 0 ;
26725 int arg4
= (int) -1 ;
26726 int arg5
= (int) -1 ;
26727 int arg6
= (int) -1 ;
26728 int arg7
= (int) -1 ;
26729 PyObject
* obj0
= 0 ;
26730 PyObject
* obj1
= 0 ;
26731 PyObject
* obj2
= 0 ;
26732 PyObject
* obj3
= 0 ;
26733 PyObject
* obj4
= 0 ;
26734 PyObject
* obj5
= 0 ;
26735 PyObject
* obj6
= 0 ;
26736 char *kwnames
[] = {
26737 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
26740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:wxWindow_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26742 if (SWIG_arg_fail(1)) SWIG_fail
;
26744 arg2
= (int)(SWIG_As_int(obj1
));
26745 if (SWIG_arg_fail(2)) SWIG_fail
;
26748 arg3
= (int)(SWIG_As_int(obj2
));
26749 if (SWIG_arg_fail(3)) SWIG_fail
;
26753 arg4
= (int)(SWIG_As_int(obj3
));
26754 if (SWIG_arg_fail(4)) SWIG_fail
;
26759 arg5
= (int)(SWIG_As_int(obj4
));
26760 if (SWIG_arg_fail(5)) SWIG_fail
;
26765 arg6
= (int)(SWIG_As_int(obj5
));
26766 if (SWIG_arg_fail(6)) SWIG_fail
;
26771 arg7
= (int)(SWIG_As_int(obj6
));
26772 if (SWIG_arg_fail(7)) SWIG_fail
;
26776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26777 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26779 wxPyEndAllowThreads(__tstate
);
26780 if (PyErr_Occurred()) SWIG_fail
;
26782 Py_INCREF(Py_None
); resultobj
= Py_None
;
26789 static PyObject
*_wrap_wxWindow_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26790 PyObject
*resultobj
;
26791 wxWindow
*arg1
= (wxWindow
*) 0 ;
26793 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26794 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26795 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26796 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26800 PyObject
* obj0
= 0 ;
26801 PyObject
* obj1
= 0 ;
26802 PyObject
* obj2
= 0 ;
26803 PyObject
* obj3
= 0 ;
26804 char *kwnames
[] = {
26805 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
26808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:wxWindow_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26810 if (SWIG_arg_fail(1)) SWIG_fail
;
26813 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26818 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26824 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26829 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
26831 wxPyEndAllowThreads(__tstate
);
26832 if (PyErr_Occurred()) SWIG_fail
;
26834 Py_INCREF(Py_None
); resultobj
= Py_None
;
26841 static PyObject
*_wrap_wxWindow_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26842 PyObject
*resultobj
;
26843 wxWindow
*arg1
= (wxWindow
*) 0 ;
26846 int arg4
= (int) -1 ;
26847 int arg5
= (int) -1 ;
26848 PyObject
* obj0
= 0 ;
26849 PyObject
* obj1
= 0 ;
26850 PyObject
* obj2
= 0 ;
26851 PyObject
* obj3
= 0 ;
26852 PyObject
* obj4
= 0 ;
26853 char *kwnames
[] = {
26854 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:wxWindow_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26859 if (SWIG_arg_fail(1)) SWIG_fail
;
26861 arg2
= (int)(SWIG_As_int(obj1
));
26862 if (SWIG_arg_fail(2)) SWIG_fail
;
26865 arg3
= (int)(SWIG_As_int(obj2
));
26866 if (SWIG_arg_fail(3)) SWIG_fail
;
26870 arg4
= (int)(SWIG_As_int(obj3
));
26871 if (SWIG_arg_fail(4)) SWIG_fail
;
26876 arg5
= (int)(SWIG_As_int(obj4
));
26877 if (SWIG_arg_fail(5)) SWIG_fail
;
26881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26882 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
26884 wxPyEndAllowThreads(__tstate
);
26885 if (PyErr_Occurred()) SWIG_fail
;
26887 Py_INCREF(Py_None
); resultobj
= Py_None
;
26894 static PyObject
*_wrap_wxWindow_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26895 PyObject
*resultobj
;
26896 wxWindow
*arg1
= (wxWindow
*) 0 ;
26898 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26899 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26902 PyObject
* obj0
= 0 ;
26903 PyObject
* obj1
= 0 ;
26904 PyObject
* obj2
= 0 ;
26905 char *kwnames
[] = {
26906 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:wxWindow_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26911 if (SWIG_arg_fail(1)) SWIG_fail
;
26914 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26919 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26924 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
26926 wxPyEndAllowThreads(__tstate
);
26927 if (PyErr_Occurred()) SWIG_fail
;
26929 Py_INCREF(Py_None
); resultobj
= Py_None
;
26936 static PyObject
*_wrap_wxWindow_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26937 PyObject
*resultobj
;
26938 wxWindow
*arg1
= (wxWindow
*) 0 ;
26940 PyObject
* obj0
= 0 ;
26941 char *kwnames
[] = {
26942 (char *) "self", NULL
26945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetMaxSize",kwnames
,&obj0
)) goto fail
;
26946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26947 if (SWIG_arg_fail(1)) SWIG_fail
;
26949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26950 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
26952 wxPyEndAllowThreads(__tstate
);
26953 if (PyErr_Occurred()) SWIG_fail
;
26956 wxSize
* resultptr
;
26957 resultptr
= new wxSize((wxSize
&)(result
));
26958 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26966 static PyObject
*_wrap_wxWindow_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26967 PyObject
*resultobj
;
26968 wxWindow
*arg1
= (wxWindow
*) 0 ;
26970 PyObject
* obj0
= 0 ;
26971 char *kwnames
[] = {
26972 (char *) "self", NULL
26975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetMinSize",kwnames
,&obj0
)) goto fail
;
26976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26977 if (SWIG_arg_fail(1)) SWIG_fail
;
26979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26980 result
= ((wxWindow
const *)arg1
)->GetMinSize();
26982 wxPyEndAllowThreads(__tstate
);
26983 if (PyErr_Occurred()) SWIG_fail
;
26986 wxSize
* resultptr
;
26987 resultptr
= new wxSize((wxSize
&)(result
));
26988 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26996 static PyObject
*_wrap_wxWindow_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26997 PyObject
*resultobj
;
26998 wxWindow
*arg1
= (wxWindow
*) 0 ;
27001 PyObject
* obj0
= 0 ;
27002 PyObject
* obj1
= 0 ;
27003 char *kwnames
[] = {
27004 (char *) "self",(char *) "minSize", NULL
27007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27009 if (SWIG_arg_fail(1)) SWIG_fail
;
27012 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27016 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
27018 wxPyEndAllowThreads(__tstate
);
27019 if (PyErr_Occurred()) SWIG_fail
;
27021 Py_INCREF(Py_None
); resultobj
= Py_None
;
27028 static PyObject
*_wrap_wxWindow_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27029 PyObject
*resultobj
;
27030 wxWindow
*arg1
= (wxWindow
*) 0 ;
27033 PyObject
* obj0
= 0 ;
27034 PyObject
* obj1
= 0 ;
27035 char *kwnames
[] = {
27036 (char *) "self",(char *) "maxSize", NULL
27039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27041 if (SWIG_arg_fail(1)) SWIG_fail
;
27044 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27048 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
27050 wxPyEndAllowThreads(__tstate
);
27051 if (PyErr_Occurred()) SWIG_fail
;
27053 Py_INCREF(Py_None
); resultobj
= Py_None
;
27060 static PyObject
*_wrap_wxWindow_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27061 PyObject
*resultobj
;
27062 wxWindow
*arg1
= (wxWindow
*) 0 ;
27064 PyObject
* obj0
= 0 ;
27065 char *kwnames
[] = {
27066 (char *) "self", NULL
27069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetMinWidth",kwnames
,&obj0
)) goto fail
;
27070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27071 if (SWIG_arg_fail(1)) SWIG_fail
;
27073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27074 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
27076 wxPyEndAllowThreads(__tstate
);
27077 if (PyErr_Occurred()) SWIG_fail
;
27080 resultobj
= SWIG_From_int((int)(result
));
27088 static PyObject
*_wrap_wxWindow_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27089 PyObject
*resultobj
;
27090 wxWindow
*arg1
= (wxWindow
*) 0 ;
27092 PyObject
* obj0
= 0 ;
27093 char *kwnames
[] = {
27094 (char *) "self", NULL
27097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetMinHeight",kwnames
,&obj0
)) goto fail
;
27098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27099 if (SWIG_arg_fail(1)) SWIG_fail
;
27101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27102 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
27104 wxPyEndAllowThreads(__tstate
);
27105 if (PyErr_Occurred()) SWIG_fail
;
27108 resultobj
= SWIG_From_int((int)(result
));
27116 static PyObject
*_wrap_wxWindow_GetMaxWidth(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:wxWindow_GetMaxWidth",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
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
27132 wxPyEndAllowThreads(__tstate
);
27133 if (PyErr_Occurred()) SWIG_fail
;
27136 resultobj
= SWIG_From_int((int)(result
));
27144 static PyObject
*_wrap_wxWindow_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27145 PyObject
*resultobj
;
27146 wxWindow
*arg1
= (wxWindow
*) 0 ;
27148 PyObject
* obj0
= 0 ;
27149 char *kwnames
[] = {
27150 (char *) "self", NULL
27153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
27154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27155 if (SWIG_arg_fail(1)) SWIG_fail
;
27157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27158 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
27160 wxPyEndAllowThreads(__tstate
);
27161 if (PyErr_Occurred()) SWIG_fail
;
27164 resultobj
= SWIG_From_int((int)(result
));
27172 static PyObject
*_wrap_wxWindow_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27173 PyObject
*resultobj
;
27174 wxWindow
*arg1
= (wxWindow
*) 0 ;
27177 PyObject
* obj0
= 0 ;
27178 PyObject
* obj1
= 0 ;
27179 char *kwnames
[] = {
27180 (char *) "self",(char *) "size", NULL
27183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27185 if (SWIG_arg_fail(1)) SWIG_fail
;
27188 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27192 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
27194 wxPyEndAllowThreads(__tstate
);
27195 if (PyErr_Occurred()) SWIG_fail
;
27197 Py_INCREF(Py_None
); resultobj
= Py_None
;
27204 static PyObject
*_wrap_wxWindow_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27205 PyObject
*resultobj
;
27206 wxWindow
*arg1
= (wxWindow
*) 0 ;
27209 PyObject
* obj0
= 0 ;
27210 PyObject
* obj1
= 0 ;
27211 PyObject
* obj2
= 0 ;
27212 char *kwnames
[] = {
27213 (char *) "self",(char *) "w",(char *) "h", NULL
27216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxWindow_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) 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
= (int)(SWIG_As_int(obj1
));
27221 if (SWIG_arg_fail(2)) SWIG_fail
;
27224 arg3
= (int)(SWIG_As_int(obj2
));
27225 if (SWIG_arg_fail(3)) SWIG_fail
;
27228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27229 (arg1
)->SetVirtualSize(arg2
,arg3
);
27231 wxPyEndAllowThreads(__tstate
);
27232 if (PyErr_Occurred()) SWIG_fail
;
27234 Py_INCREF(Py_None
); resultobj
= Py_None
;
27241 static PyObject
*_wrap_wxWindow_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27242 PyObject
*resultobj
;
27243 wxWindow
*arg1
= (wxWindow
*) 0 ;
27245 PyObject
* obj0
= 0 ;
27246 char *kwnames
[] = {
27247 (char *) "self", NULL
27250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
27251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27252 if (SWIG_arg_fail(1)) SWIG_fail
;
27254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27255 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
27257 wxPyEndAllowThreads(__tstate
);
27258 if (PyErr_Occurred()) SWIG_fail
;
27261 wxSize
* resultptr
;
27262 resultptr
= new wxSize((wxSize
&)(result
));
27263 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27271 static PyObject
*_wrap_wxWindow_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27272 PyObject
*resultobj
;
27273 wxWindow
*arg1
= (wxWindow
*) 0 ;
27274 int *arg2
= (int *) 0 ;
27275 int *arg3
= (int *) 0 ;
27280 PyObject
* obj0
= 0 ;
27281 char *kwnames
[] = {
27282 (char *) "self", NULL
27285 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
27286 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
27288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27289 if (SWIG_arg_fail(1)) SWIG_fail
;
27291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27292 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
27294 wxPyEndAllowThreads(__tstate
);
27295 if (PyErr_Occurred()) SWIG_fail
;
27297 Py_INCREF(Py_None
); resultobj
= Py_None
;
27298 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27299 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27300 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27301 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27308 static PyObject
*_wrap_wxWindow_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27309 PyObject
*resultobj
;
27310 wxWindow
*arg1
= (wxWindow
*) 0 ;
27312 PyObject
* obj0
= 0 ;
27313 char *kwnames
[] = {
27314 (char *) "self", NULL
27317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
27318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27319 if (SWIG_arg_fail(1)) SWIG_fail
;
27321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27322 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
27324 wxPyEndAllowThreads(__tstate
);
27325 if (PyErr_Occurred()) SWIG_fail
;
27328 wxSize
* resultptr
;
27329 resultptr
= new wxSize((wxSize
&)(result
));
27330 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27338 static PyObject
*_wrap_wxWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27339 PyObject
*resultobj
;
27340 wxWindow
*arg1
= (wxWindow
*) 0 ;
27341 bool arg2
= (bool) true ;
27343 PyObject
* obj0
= 0 ;
27344 PyObject
* obj1
= 0 ;
27345 char *kwnames
[] = {
27346 (char *) "self",(char *) "show", NULL
27349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:wxWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
27350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27351 if (SWIG_arg_fail(1)) SWIG_fail
;
27354 arg2
= (bool)(SWIG_As_bool(obj1
));
27355 if (SWIG_arg_fail(2)) SWIG_fail
;
27359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27360 result
= (bool)(arg1
)->Show(arg2
);
27362 wxPyEndAllowThreads(__tstate
);
27363 if (PyErr_Occurred()) SWIG_fail
;
27366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27374 static PyObject
*_wrap_wxWindow_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27375 PyObject
*resultobj
;
27376 wxWindow
*arg1
= (wxWindow
*) 0 ;
27378 PyObject
* obj0
= 0 ;
27379 char *kwnames
[] = {
27380 (char *) "self", NULL
27383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_Hide",kwnames
,&obj0
)) goto fail
;
27384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27385 if (SWIG_arg_fail(1)) SWIG_fail
;
27387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27388 result
= (bool)(arg1
)->Hide();
27390 wxPyEndAllowThreads(__tstate
);
27391 if (PyErr_Occurred()) SWIG_fail
;
27394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27402 static PyObject
*_wrap_wxWindow_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27403 PyObject
*resultobj
;
27404 wxWindow
*arg1
= (wxWindow
*) 0 ;
27405 bool arg2
= (bool) true ;
27407 PyObject
* obj0
= 0 ;
27408 PyObject
* obj1
= 0 ;
27409 char *kwnames
[] = {
27410 (char *) "self",(char *) "enable", NULL
27413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:wxWindow_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
27414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27415 if (SWIG_arg_fail(1)) SWIG_fail
;
27418 arg2
= (bool)(SWIG_As_bool(obj1
));
27419 if (SWIG_arg_fail(2)) SWIG_fail
;
27423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27424 result
= (bool)(arg1
)->Enable(arg2
);
27426 wxPyEndAllowThreads(__tstate
);
27427 if (PyErr_Occurred()) SWIG_fail
;
27430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27438 static PyObject
*_wrap_wxWindow_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27439 PyObject
*resultobj
;
27440 wxWindow
*arg1
= (wxWindow
*) 0 ;
27442 PyObject
* obj0
= 0 ;
27443 char *kwnames
[] = {
27444 (char *) "self", NULL
27447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_Disable",kwnames
,&obj0
)) goto fail
;
27448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27449 if (SWIG_arg_fail(1)) SWIG_fail
;
27451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27452 result
= (bool)(arg1
)->Disable();
27454 wxPyEndAllowThreads(__tstate
);
27455 if (PyErr_Occurred()) SWIG_fail
;
27458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27466 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27467 PyObject
*resultobj
;
27468 wxWindow
*arg1
= (wxWindow
*) 0 ;
27470 PyObject
* obj0
= 0 ;
27471 char *kwnames
[] = {
27472 (char *) "self", NULL
27475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_IsShown",kwnames
,&obj0
)) goto fail
;
27476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27477 if (SWIG_arg_fail(1)) SWIG_fail
;
27479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27480 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
27482 wxPyEndAllowThreads(__tstate
);
27483 if (PyErr_Occurred()) SWIG_fail
;
27486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27494 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27495 PyObject
*resultobj
;
27496 wxWindow
*arg1
= (wxWindow
*) 0 ;
27498 PyObject
* obj0
= 0 ;
27499 char *kwnames
[] = {
27500 (char *) "self", NULL
27503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_IsEnabled",kwnames
,&obj0
)) goto fail
;
27504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27505 if (SWIG_arg_fail(1)) SWIG_fail
;
27507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27508 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
27510 wxPyEndAllowThreads(__tstate
);
27511 if (PyErr_Occurred()) SWIG_fail
;
27514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27522 static PyObject
*_wrap_wxWindow_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27523 PyObject
*resultobj
;
27524 wxWindow
*arg1
= (wxWindow
*) 0 ;
27526 PyObject
* obj0
= 0 ;
27527 PyObject
* obj1
= 0 ;
27528 char *kwnames
[] = {
27529 (char *) "self",(char *) "style", NULL
27532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27534 if (SWIG_arg_fail(1)) SWIG_fail
;
27536 arg2
= (long)(SWIG_As_long(obj1
));
27537 if (SWIG_arg_fail(2)) SWIG_fail
;
27540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27541 (arg1
)->SetWindowStyleFlag(arg2
);
27543 wxPyEndAllowThreads(__tstate
);
27544 if (PyErr_Occurred()) SWIG_fail
;
27546 Py_INCREF(Py_None
); resultobj
= Py_None
;
27553 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27554 PyObject
*resultobj
;
27555 wxWindow
*arg1
= (wxWindow
*) 0 ;
27557 PyObject
* obj0
= 0 ;
27558 char *kwnames
[] = {
27559 (char *) "self", NULL
27562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
27563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27564 if (SWIG_arg_fail(1)) SWIG_fail
;
27566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27567 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
27569 wxPyEndAllowThreads(__tstate
);
27570 if (PyErr_Occurred()) SWIG_fail
;
27573 resultobj
= SWIG_From_long((long)(result
));
27581 static PyObject
*_wrap_wxWindow_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27582 PyObject
*resultobj
;
27583 wxWindow
*arg1
= (wxWindow
*) 0 ;
27586 PyObject
* obj0
= 0 ;
27587 PyObject
* obj1
= 0 ;
27588 char *kwnames
[] = {
27589 (char *) "self",(char *) "flag", NULL
27592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27594 if (SWIG_arg_fail(1)) SWIG_fail
;
27596 arg2
= (int)(SWIG_As_int(obj1
));
27597 if (SWIG_arg_fail(2)) SWIG_fail
;
27600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27601 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
27603 wxPyEndAllowThreads(__tstate
);
27604 if (PyErr_Occurred()) SWIG_fail
;
27607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27615 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27616 PyObject
*resultobj
;
27617 wxWindow
*arg1
= (wxWindow
*) 0 ;
27619 PyObject
* obj0
= 0 ;
27620 char *kwnames
[] = {
27621 (char *) "self", NULL
27624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_IsRetained",kwnames
,&obj0
)) goto fail
;
27625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27626 if (SWIG_arg_fail(1)) SWIG_fail
;
27628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27629 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
27631 wxPyEndAllowThreads(__tstate
);
27632 if (PyErr_Occurred()) SWIG_fail
;
27635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27643 static PyObject
*_wrap_wxWindow_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27644 PyObject
*resultobj
;
27645 wxWindow
*arg1
= (wxWindow
*) 0 ;
27647 PyObject
* obj0
= 0 ;
27648 PyObject
* obj1
= 0 ;
27649 char *kwnames
[] = {
27650 (char *) "self",(char *) "exStyle", NULL
27653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
27654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27655 if (SWIG_arg_fail(1)) SWIG_fail
;
27657 arg2
= (long)(SWIG_As_long(obj1
));
27658 if (SWIG_arg_fail(2)) SWIG_fail
;
27661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27662 (arg1
)->SetExtraStyle(arg2
);
27664 wxPyEndAllowThreads(__tstate
);
27665 if (PyErr_Occurred()) SWIG_fail
;
27667 Py_INCREF(Py_None
); resultobj
= Py_None
;
27674 static PyObject
*_wrap_wxWindow_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27675 PyObject
*resultobj
;
27676 wxWindow
*arg1
= (wxWindow
*) 0 ;
27678 PyObject
* obj0
= 0 ;
27679 char *kwnames
[] = {
27680 (char *) "self", NULL
27683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
27684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27685 if (SWIG_arg_fail(1)) SWIG_fail
;
27687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27688 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
27690 wxPyEndAllowThreads(__tstate
);
27691 if (PyErr_Occurred()) SWIG_fail
;
27694 resultobj
= SWIG_From_long((long)(result
));
27702 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27703 PyObject
*resultobj
;
27704 wxWindow
*arg1
= (wxWindow
*) 0 ;
27705 bool arg2
= (bool) true ;
27706 PyObject
* obj0
= 0 ;
27707 PyObject
* obj1
= 0 ;
27708 char *kwnames
[] = {
27709 (char *) "self",(char *) "modal", NULL
27712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:wxWindow_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
27713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27714 if (SWIG_arg_fail(1)) SWIG_fail
;
27717 arg2
= (bool)(SWIG_As_bool(obj1
));
27718 if (SWIG_arg_fail(2)) SWIG_fail
;
27722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27723 (arg1
)->MakeModal(arg2
);
27725 wxPyEndAllowThreads(__tstate
);
27726 if (PyErr_Occurred()) SWIG_fail
;
27728 Py_INCREF(Py_None
); resultobj
= Py_None
;
27735 static PyObject
*_wrap_wxWindow_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27736 PyObject
*resultobj
;
27737 wxWindow
*arg1
= (wxWindow
*) 0 ;
27739 PyObject
* obj0
= 0 ;
27740 PyObject
* obj1
= 0 ;
27741 char *kwnames
[] = {
27742 (char *) "self",(char *) "enableTheme", NULL
27745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
27746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27747 if (SWIG_arg_fail(1)) SWIG_fail
;
27749 arg2
= (bool)(SWIG_As_bool(obj1
));
27750 if (SWIG_arg_fail(2)) SWIG_fail
;
27753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27754 (arg1
)->SetThemeEnabled(arg2
);
27756 wxPyEndAllowThreads(__tstate
);
27757 if (PyErr_Occurred()) SWIG_fail
;
27759 Py_INCREF(Py_None
); resultobj
= Py_None
;
27766 static PyObject
*_wrap_wxWindow_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27767 PyObject
*resultobj
;
27768 wxWindow
*arg1
= (wxWindow
*) 0 ;
27770 PyObject
* obj0
= 0 ;
27771 char *kwnames
[] = {
27772 (char *) "self", NULL
27775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
27776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27777 if (SWIG_arg_fail(1)) SWIG_fail
;
27779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27780 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
27782 wxPyEndAllowThreads(__tstate
);
27783 if (PyErr_Occurred()) SWIG_fail
;
27786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27794 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27795 PyObject
*resultobj
;
27796 wxWindow
*arg1
= (wxWindow
*) 0 ;
27797 PyObject
* obj0
= 0 ;
27798 char *kwnames
[] = {
27799 (char *) "self", NULL
27802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_SetFocus",kwnames
,&obj0
)) goto fail
;
27803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27804 if (SWIG_arg_fail(1)) SWIG_fail
;
27806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27807 (arg1
)->SetFocus();
27809 wxPyEndAllowThreads(__tstate
);
27810 if (PyErr_Occurred()) SWIG_fail
;
27812 Py_INCREF(Py_None
); resultobj
= Py_None
;
27819 static PyObject
*_wrap_wxWindow_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27820 PyObject
*resultobj
;
27821 wxWindow
*arg1
= (wxWindow
*) 0 ;
27822 PyObject
* obj0
= 0 ;
27823 char *kwnames
[] = {
27824 (char *) "self", NULL
27827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
27828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27829 if (SWIG_arg_fail(1)) SWIG_fail
;
27831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27832 (arg1
)->SetFocusFromKbd();
27834 wxPyEndAllowThreads(__tstate
);
27835 if (PyErr_Occurred()) SWIG_fail
;
27837 Py_INCREF(Py_None
); resultobj
= Py_None
;
27844 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27845 PyObject
*resultobj
;
27847 char *kwnames
[] = {
27851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":wxWindow_FindFocus",kwnames
)) goto fail
;
27853 if (!wxPyCheckForApp()) SWIG_fail
;
27854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27855 result
= (wxWindow
*)wxWindow::FindFocus();
27857 wxPyEndAllowThreads(__tstate
);
27858 if (PyErr_Occurred()) SWIG_fail
;
27861 resultobj
= wxPyMake_wxObject(result
, 0);
27869 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27870 PyObject
*resultobj
;
27871 wxWindow
*arg1
= (wxWindow
*) 0 ;
27873 PyObject
* obj0
= 0 ;
27874 char *kwnames
[] = {
27875 (char *) "self", NULL
27878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27880 if (SWIG_arg_fail(1)) SWIG_fail
;
27882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27883 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
27885 wxPyEndAllowThreads(__tstate
);
27886 if (PyErr_Occurred()) SWIG_fail
;
27889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27897 static PyObject
*_wrap_wxWindow_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27898 PyObject
*resultobj
;
27899 wxWindow
*arg1
= (wxWindow
*) 0 ;
27901 PyObject
* obj0
= 0 ;
27902 char *kwnames
[] = {
27903 (char *) "self", NULL
27906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27908 if (SWIG_arg_fail(1)) SWIG_fail
;
27910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27911 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
27913 wxPyEndAllowThreads(__tstate
);
27914 if (PyErr_Occurred()) SWIG_fail
;
27917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27925 static PyObject
*_wrap_wxWindow_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27926 PyObject
*resultobj
;
27927 wxWindow
*arg1
= (wxWindow
*) 0 ;
27929 PyObject
* obj0
= 0 ;
27930 char *kwnames
[] = {
27931 (char *) "self", NULL
27934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
27935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27936 if (SWIG_arg_fail(1)) SWIG_fail
;
27938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27939 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
27941 wxPyEndAllowThreads(__tstate
);
27942 if (PyErr_Occurred()) SWIG_fail
;
27945 resultobj
= wxPyMake_wxObject(result
, 0);
27953 static PyObject
*_wrap_wxWindow_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27954 PyObject
*resultobj
;
27955 wxWindow
*arg1
= (wxWindow
*) 0 ;
27956 wxWindow
*arg2
= (wxWindow
*) 0 ;
27958 PyObject
* obj0
= 0 ;
27959 PyObject
* obj1
= 0 ;
27960 char *kwnames
[] = {
27961 (char *) "self",(char *) "child", NULL
27964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27966 if (SWIG_arg_fail(1)) SWIG_fail
;
27967 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27968 if (SWIG_arg_fail(2)) SWIG_fail
;
27970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27971 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
27973 wxPyEndAllowThreads(__tstate
);
27974 if (PyErr_Occurred()) SWIG_fail
;
27977 resultobj
= wxPyMake_wxObject(result
, 0);
27985 static PyObject
*_wrap_wxWindow_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27986 PyObject
*resultobj
;
27987 wxWindow
*arg1
= (wxWindow
*) 0 ;
27988 wxWindow
*arg2
= (wxWindow
*) 0 ;
27989 PyObject
* obj0
= 0 ;
27990 PyObject
* obj1
= 0 ;
27991 char *kwnames
[] = {
27992 (char *) "self",(char *) "win", NULL
27995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27997 if (SWIG_arg_fail(1)) SWIG_fail
;
27998 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27999 if (SWIG_arg_fail(2)) SWIG_fail
;
28001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28002 (arg1
)->SetTmpDefaultItem(arg2
);
28004 wxPyEndAllowThreads(__tstate
);
28005 if (PyErr_Occurred()) SWIG_fail
;
28007 Py_INCREF(Py_None
); resultobj
= Py_None
;
28014 static PyObject
*_wrap_wxWindow_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28015 PyObject
*resultobj
;
28016 wxWindow
*arg1
= (wxWindow
*) 0 ;
28017 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
28019 PyObject
* obj0
= 0 ;
28020 PyObject
* obj1
= 0 ;
28021 char *kwnames
[] = {
28022 (char *) "self",(char *) "flags", NULL
28025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:wxWindow_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
28026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28027 if (SWIG_arg_fail(1)) SWIG_fail
;
28030 arg2
= (int)(SWIG_As_int(obj1
));
28031 if (SWIG_arg_fail(2)) SWIG_fail
;
28035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28036 result
= (bool)(arg1
)->Navigate(arg2
);
28038 wxPyEndAllowThreads(__tstate
);
28039 if (PyErr_Occurred()) SWIG_fail
;
28042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28050 static PyObject
*_wrap_wxWindow_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28051 PyObject
*resultobj
;
28052 wxWindow
*arg1
= (wxWindow
*) 0 ;
28053 wxWindow
*arg2
= (wxWindow
*) 0 ;
28054 PyObject
* obj0
= 0 ;
28055 PyObject
* obj1
= 0 ;
28056 char *kwnames
[] = {
28057 (char *) "self",(char *) "win", NULL
28060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28062 if (SWIG_arg_fail(1)) SWIG_fail
;
28063 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28064 if (SWIG_arg_fail(2)) SWIG_fail
;
28066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28067 (arg1
)->MoveAfterInTabOrder(arg2
);
28069 wxPyEndAllowThreads(__tstate
);
28070 if (PyErr_Occurred()) SWIG_fail
;
28072 Py_INCREF(Py_None
); resultobj
= Py_None
;
28079 static PyObject
*_wrap_wxWindow_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28080 PyObject
*resultobj
;
28081 wxWindow
*arg1
= (wxWindow
*) 0 ;
28082 wxWindow
*arg2
= (wxWindow
*) 0 ;
28083 PyObject
* obj0
= 0 ;
28084 PyObject
* obj1
= 0 ;
28085 char *kwnames
[] = {
28086 (char *) "self",(char *) "win", NULL
28089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28091 if (SWIG_arg_fail(1)) SWIG_fail
;
28092 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28093 if (SWIG_arg_fail(2)) SWIG_fail
;
28095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28096 (arg1
)->MoveBeforeInTabOrder(arg2
);
28098 wxPyEndAllowThreads(__tstate
);
28099 if (PyErr_Occurred()) SWIG_fail
;
28101 Py_INCREF(Py_None
); resultobj
= Py_None
;
28108 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28109 PyObject
*resultobj
;
28110 wxWindow
*arg1
= (wxWindow
*) 0 ;
28112 PyObject
* obj0
= 0 ;
28113 char *kwnames
[] = {
28114 (char *) "self", NULL
28117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetChildren",kwnames
,&obj0
)) goto fail
;
28118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28119 if (SWIG_arg_fail(1)) SWIG_fail
;
28121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28122 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
28124 wxPyEndAllowThreads(__tstate
);
28125 if (PyErr_Occurred()) SWIG_fail
;
28127 resultobj
= result
;
28134 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28135 PyObject
*resultobj
;
28136 wxWindow
*arg1
= (wxWindow
*) 0 ;
28138 PyObject
* obj0
= 0 ;
28139 char *kwnames
[] = {
28140 (char *) "self", NULL
28143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetParent",kwnames
,&obj0
)) goto fail
;
28144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28145 if (SWIG_arg_fail(1)) SWIG_fail
;
28147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28148 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
28150 wxPyEndAllowThreads(__tstate
);
28151 if (PyErr_Occurred()) SWIG_fail
;
28154 resultobj
= wxPyMake_wxObject(result
, 0);
28162 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28163 PyObject
*resultobj
;
28164 wxWindow
*arg1
= (wxWindow
*) 0 ;
28166 PyObject
* obj0
= 0 ;
28167 char *kwnames
[] = {
28168 (char *) "self", NULL
28171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetGrandParent",kwnames
,&obj0
)) goto fail
;
28172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28173 if (SWIG_arg_fail(1)) SWIG_fail
;
28175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28176 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
28178 wxPyEndAllowThreads(__tstate
);
28179 if (PyErr_Occurred()) SWIG_fail
;
28182 resultobj
= wxPyMake_wxObject(result
, 0);
28190 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28191 PyObject
*resultobj
;
28192 wxWindow
*arg1
= (wxWindow
*) 0 ;
28194 PyObject
* obj0
= 0 ;
28195 char *kwnames
[] = {
28196 (char *) "self", NULL
28199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_IsTopLevel",kwnames
,&obj0
)) goto fail
;
28200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28201 if (SWIG_arg_fail(1)) SWIG_fail
;
28203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28204 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
28206 wxPyEndAllowThreads(__tstate
);
28207 if (PyErr_Occurred()) SWIG_fail
;
28210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28218 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28219 PyObject
*resultobj
;
28220 wxWindow
*arg1
= (wxWindow
*) 0 ;
28221 wxWindow
*arg2
= (wxWindow
*) 0 ;
28223 PyObject
* obj0
= 0 ;
28224 PyObject
* obj1
= 0 ;
28225 char *kwnames
[] = {
28226 (char *) "self",(char *) "newParent", NULL
28229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
28230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28231 if (SWIG_arg_fail(1)) SWIG_fail
;
28232 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28233 if (SWIG_arg_fail(2)) SWIG_fail
;
28235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28236 result
= (bool)(arg1
)->Reparent(arg2
);
28238 wxPyEndAllowThreads(__tstate
);
28239 if (PyErr_Occurred()) SWIG_fail
;
28242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28250 static PyObject
*_wrap_wxWindow_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28251 PyObject
*resultobj
;
28252 wxWindow
*arg1
= (wxWindow
*) 0 ;
28253 wxWindow
*arg2
= (wxWindow
*) 0 ;
28254 PyObject
* obj0
= 0 ;
28255 PyObject
* obj1
= 0 ;
28256 char *kwnames
[] = {
28257 (char *) "self",(char *) "child", NULL
28260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28262 if (SWIG_arg_fail(1)) SWIG_fail
;
28263 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28264 if (SWIG_arg_fail(2)) SWIG_fail
;
28266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28267 (arg1
)->AddChild(arg2
);
28269 wxPyEndAllowThreads(__tstate
);
28270 if (PyErr_Occurred()) SWIG_fail
;
28272 Py_INCREF(Py_None
); resultobj
= Py_None
;
28279 static PyObject
*_wrap_wxWindow_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28280 PyObject
*resultobj
;
28281 wxWindow
*arg1
= (wxWindow
*) 0 ;
28282 wxWindow
*arg2
= (wxWindow
*) 0 ;
28283 PyObject
* obj0
= 0 ;
28284 PyObject
* obj1
= 0 ;
28285 char *kwnames
[] = {
28286 (char *) "self",(char *) "child", NULL
28289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28291 if (SWIG_arg_fail(1)) SWIG_fail
;
28292 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28293 if (SWIG_arg_fail(2)) SWIG_fail
;
28295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28296 (arg1
)->RemoveChild(arg2
);
28298 wxPyEndAllowThreads(__tstate
);
28299 if (PyErr_Occurred()) SWIG_fail
;
28301 Py_INCREF(Py_None
); resultobj
= Py_None
;
28308 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28309 PyObject
*resultobj
;
28310 wxWindow
*arg1
= (wxWindow
*) 0 ;
28313 PyObject
* obj0
= 0 ;
28314 PyObject
* obj1
= 0 ;
28315 char *kwnames
[] = {
28316 (char *) "self",(char *) "winid", NULL
28319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28321 if (SWIG_arg_fail(1)) SWIG_fail
;
28323 arg2
= (long)(SWIG_As_long(obj1
));
28324 if (SWIG_arg_fail(2)) SWIG_fail
;
28327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28328 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
28330 wxPyEndAllowThreads(__tstate
);
28331 if (PyErr_Occurred()) SWIG_fail
;
28334 resultobj
= wxPyMake_wxObject(result
, 0);
28342 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28343 PyObject
*resultobj
;
28344 wxWindow
*arg1
= (wxWindow
*) 0 ;
28345 wxString
*arg2
= 0 ;
28347 bool temp2
= false ;
28348 PyObject
* obj0
= 0 ;
28349 PyObject
* obj1
= 0 ;
28350 char *kwnames
[] = {
28351 (char *) "self",(char *) "name", NULL
28354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28356 if (SWIG_arg_fail(1)) SWIG_fail
;
28358 arg2
= wxString_in_helper(obj1
);
28359 if (arg2
== NULL
) SWIG_fail
;
28363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28364 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
28366 wxPyEndAllowThreads(__tstate
);
28367 if (PyErr_Occurred()) SWIG_fail
;
28370 resultobj
= wxPyMake_wxObject(result
, 0);
28386 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28387 PyObject
*resultobj
;
28388 wxWindow
*arg1
= (wxWindow
*) 0 ;
28389 wxEvtHandler
*result
;
28390 PyObject
* obj0
= 0 ;
28391 char *kwnames
[] = {
28392 (char *) "self", NULL
28395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetEventHandler",kwnames
,&obj0
)) goto fail
;
28396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28397 if (SWIG_arg_fail(1)) SWIG_fail
;
28399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28400 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
28402 wxPyEndAllowThreads(__tstate
);
28403 if (PyErr_Occurred()) SWIG_fail
;
28406 resultobj
= wxPyMake_wxObject(result
, 0);
28414 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28415 PyObject
*resultobj
;
28416 wxWindow
*arg1
= (wxWindow
*) 0 ;
28417 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28418 PyObject
* obj0
= 0 ;
28419 PyObject
* obj1
= 0 ;
28420 char *kwnames
[] = {
28421 (char *) "self",(char *) "handler", NULL
28424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28426 if (SWIG_arg_fail(1)) SWIG_fail
;
28427 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28428 if (SWIG_arg_fail(2)) SWIG_fail
;
28430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28431 (arg1
)->SetEventHandler(arg2
);
28433 wxPyEndAllowThreads(__tstate
);
28434 if (PyErr_Occurred()) SWIG_fail
;
28436 Py_INCREF(Py_None
); resultobj
= Py_None
;
28443 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28444 PyObject
*resultobj
;
28445 wxWindow
*arg1
= (wxWindow
*) 0 ;
28446 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28447 PyObject
* obj0
= 0 ;
28448 PyObject
* obj1
= 0 ;
28449 char *kwnames
[] = {
28450 (char *) "self",(char *) "handler", NULL
28453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28455 if (SWIG_arg_fail(1)) SWIG_fail
;
28456 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28457 if (SWIG_arg_fail(2)) SWIG_fail
;
28459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28460 (arg1
)->PushEventHandler(arg2
);
28462 wxPyEndAllowThreads(__tstate
);
28463 if (PyErr_Occurred()) SWIG_fail
;
28465 Py_INCREF(Py_None
); resultobj
= Py_None
;
28472 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28473 PyObject
*resultobj
;
28474 wxWindow
*arg1
= (wxWindow
*) 0 ;
28475 bool arg2
= (bool) false ;
28476 wxEvtHandler
*result
;
28477 PyObject
* obj0
= 0 ;
28478 PyObject
* obj1
= 0 ;
28479 char *kwnames
[] = {
28480 (char *) "self",(char *) "deleteHandler", NULL
28483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:wxWindow_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28485 if (SWIG_arg_fail(1)) SWIG_fail
;
28488 arg2
= (bool)(SWIG_As_bool(obj1
));
28489 if (SWIG_arg_fail(2)) SWIG_fail
;
28493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28494 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
28496 wxPyEndAllowThreads(__tstate
);
28497 if (PyErr_Occurred()) SWIG_fail
;
28500 resultobj
= wxPyMake_wxObject(result
, 0);
28508 static PyObject
*_wrap_wxWindow_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28509 PyObject
*resultobj
;
28510 wxWindow
*arg1
= (wxWindow
*) 0 ;
28511 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28513 PyObject
* obj0
= 0 ;
28514 PyObject
* obj1
= 0 ;
28515 char *kwnames
[] = {
28516 (char *) "self",(char *) "handler", NULL
28519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28521 if (SWIG_arg_fail(1)) SWIG_fail
;
28522 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28523 if (SWIG_arg_fail(2)) SWIG_fail
;
28525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28526 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
28528 wxPyEndAllowThreads(__tstate
);
28529 if (PyErr_Occurred()) SWIG_fail
;
28532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28540 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28541 PyObject
*resultobj
;
28542 wxWindow
*arg1
= (wxWindow
*) 0 ;
28543 wxValidator
*arg2
= 0 ;
28544 PyObject
* obj0
= 0 ;
28545 PyObject
* obj1
= 0 ;
28546 char *kwnames
[] = {
28547 (char *) "self",(char *) "validator", NULL
28550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
28551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28552 if (SWIG_arg_fail(1)) SWIG_fail
;
28554 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28555 if (SWIG_arg_fail(2)) SWIG_fail
;
28556 if (arg2
== NULL
) {
28557 SWIG_null_ref("wxValidator");
28559 if (SWIG_arg_fail(2)) SWIG_fail
;
28562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28563 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
28565 wxPyEndAllowThreads(__tstate
);
28566 if (PyErr_Occurred()) SWIG_fail
;
28568 Py_INCREF(Py_None
); resultobj
= Py_None
;
28575 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28576 PyObject
*resultobj
;
28577 wxWindow
*arg1
= (wxWindow
*) 0 ;
28578 wxValidator
*result
;
28579 PyObject
* obj0
= 0 ;
28580 char *kwnames
[] = {
28581 (char *) "self", NULL
28584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetValidator",kwnames
,&obj0
)) goto fail
;
28585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28586 if (SWIG_arg_fail(1)) SWIG_fail
;
28588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28589 result
= (wxValidator
*)(arg1
)->GetValidator();
28591 wxPyEndAllowThreads(__tstate
);
28592 if (PyErr_Occurred()) SWIG_fail
;
28595 resultobj
= wxPyMake_wxObject(result
, 0);
28603 static PyObject
*_wrap_wxWindow_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28604 PyObject
*resultobj
;
28605 wxWindow
*arg1
= (wxWindow
*) 0 ;
28607 PyObject
* obj0
= 0 ;
28608 char *kwnames
[] = {
28609 (char *) "self", NULL
28612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_Validate",kwnames
,&obj0
)) goto fail
;
28613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28614 if (SWIG_arg_fail(1)) SWIG_fail
;
28616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28617 result
= (bool)(arg1
)->Validate();
28619 wxPyEndAllowThreads(__tstate
);
28620 if (PyErr_Occurred()) SWIG_fail
;
28623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28631 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28632 PyObject
*resultobj
;
28633 wxWindow
*arg1
= (wxWindow
*) 0 ;
28635 PyObject
* obj0
= 0 ;
28636 char *kwnames
[] = {
28637 (char *) "self", NULL
28640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28642 if (SWIG_arg_fail(1)) SWIG_fail
;
28644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28645 result
= (bool)(arg1
)->TransferDataToWindow();
28647 wxPyEndAllowThreads(__tstate
);
28648 if (PyErr_Occurred()) SWIG_fail
;
28651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28659 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28660 PyObject
*resultobj
;
28661 wxWindow
*arg1
= (wxWindow
*) 0 ;
28663 PyObject
* obj0
= 0 ;
28664 char *kwnames
[] = {
28665 (char *) "self", NULL
28668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28670 if (SWIG_arg_fail(1)) SWIG_fail
;
28672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28673 result
= (bool)(arg1
)->TransferDataFromWindow();
28675 wxPyEndAllowThreads(__tstate
);
28676 if (PyErr_Occurred()) SWIG_fail
;
28679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28687 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28688 PyObject
*resultobj
;
28689 wxWindow
*arg1
= (wxWindow
*) 0 ;
28690 PyObject
* obj0
= 0 ;
28691 char *kwnames
[] = {
28692 (char *) "self", NULL
28695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_InitDialog",kwnames
,&obj0
)) goto fail
;
28696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28697 if (SWIG_arg_fail(1)) SWIG_fail
;
28699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28700 (arg1
)->InitDialog();
28702 wxPyEndAllowThreads(__tstate
);
28703 if (PyErr_Occurred()) SWIG_fail
;
28705 Py_INCREF(Py_None
); resultobj
= Py_None
;
28712 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28713 PyObject
*resultobj
;
28714 wxWindow
*arg1
= (wxWindow
*) 0 ;
28715 wxAcceleratorTable
*arg2
= 0 ;
28716 PyObject
* obj0
= 0 ;
28717 PyObject
* obj1
= 0 ;
28718 char *kwnames
[] = {
28719 (char *) "self",(char *) "accel", NULL
28722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
28723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28724 if (SWIG_arg_fail(1)) SWIG_fail
;
28726 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
28727 if (SWIG_arg_fail(2)) SWIG_fail
;
28728 if (arg2
== NULL
) {
28729 SWIG_null_ref("wxAcceleratorTable");
28731 if (SWIG_arg_fail(2)) SWIG_fail
;
28734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28735 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
28737 wxPyEndAllowThreads(__tstate
);
28738 if (PyErr_Occurred()) SWIG_fail
;
28740 Py_INCREF(Py_None
); resultobj
= Py_None
;
28747 static PyObject
*_wrap_wxWindow_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28748 PyObject
*resultobj
;
28749 wxWindow
*arg1
= (wxWindow
*) 0 ;
28750 wxAcceleratorTable
*result
;
28751 PyObject
* obj0
= 0 ;
28752 char *kwnames
[] = {
28753 (char *) "self", NULL
28756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
28757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28758 if (SWIG_arg_fail(1)) SWIG_fail
;
28760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28761 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
28763 wxPyEndAllowThreads(__tstate
);
28764 if (PyErr_Occurred()) SWIG_fail
;
28766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
28773 static PyObject
*_wrap_wxWindow_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28774 PyObject
*resultobj
;
28775 wxWindow
*arg1
= (wxWindow
*) 0 ;
28780 PyObject
* obj0
= 0 ;
28781 PyObject
* obj1
= 0 ;
28782 PyObject
* obj2
= 0 ;
28783 PyObject
* obj3
= 0 ;
28784 char *kwnames
[] = {
28785 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
28788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:wxWindow_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28790 if (SWIG_arg_fail(1)) SWIG_fail
;
28792 arg2
= (int)(SWIG_As_int(obj1
));
28793 if (SWIG_arg_fail(2)) SWIG_fail
;
28796 arg3
= (int)(SWIG_As_int(obj2
));
28797 if (SWIG_arg_fail(3)) SWIG_fail
;
28800 arg4
= (int)(SWIG_As_int(obj3
));
28801 if (SWIG_arg_fail(4)) SWIG_fail
;
28804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28805 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
28807 wxPyEndAllowThreads(__tstate
);
28808 if (PyErr_Occurred()) SWIG_fail
;
28811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28819 static PyObject
*_wrap_wxWindow_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28820 PyObject
*resultobj
;
28821 wxWindow
*arg1
= (wxWindow
*) 0 ;
28824 PyObject
* obj0
= 0 ;
28825 PyObject
* obj1
= 0 ;
28826 char *kwnames
[] = {
28827 (char *) "self",(char *) "hotkeyId", NULL
28830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
28831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28832 if (SWIG_arg_fail(1)) SWIG_fail
;
28834 arg2
= (int)(SWIG_As_int(obj1
));
28835 if (SWIG_arg_fail(2)) SWIG_fail
;
28838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28839 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
28841 wxPyEndAllowThreads(__tstate
);
28842 if (PyErr_Occurred()) SWIG_fail
;
28845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28853 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28854 PyObject
*resultobj
;
28855 wxWindow
*arg1
= (wxWindow
*) 0 ;
28856 wxPoint
*arg2
= 0 ;
28859 PyObject
* obj0
= 0 ;
28860 PyObject
* obj1
= 0 ;
28861 char *kwnames
[] = {
28862 (char *) "self",(char *) "pt", NULL
28865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28867 if (SWIG_arg_fail(1)) SWIG_fail
;
28870 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28874 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28876 wxPyEndAllowThreads(__tstate
);
28877 if (PyErr_Occurred()) SWIG_fail
;
28880 wxPoint
* resultptr
;
28881 resultptr
= new wxPoint((wxPoint
&)(result
));
28882 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28890 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28891 PyObject
*resultobj
;
28892 wxWindow
*arg1
= (wxWindow
*) 0 ;
28896 PyObject
* obj0
= 0 ;
28897 PyObject
* obj1
= 0 ;
28898 char *kwnames
[] = {
28899 (char *) "self",(char *) "sz", NULL
28902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28904 if (SWIG_arg_fail(1)) SWIG_fail
;
28907 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28911 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28913 wxPyEndAllowThreads(__tstate
);
28914 if (PyErr_Occurred()) SWIG_fail
;
28917 wxSize
* resultptr
;
28918 resultptr
= new wxSize((wxSize
&)(result
));
28919 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28927 static PyObject
*_wrap_wxWindow_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28928 PyObject
*resultobj
;
28929 wxWindow
*arg1
= (wxWindow
*) 0 ;
28930 wxPoint
*arg2
= 0 ;
28933 PyObject
* obj0
= 0 ;
28934 PyObject
* obj1
= 0 ;
28935 char *kwnames
[] = {
28936 (char *) "self",(char *) "pt", NULL
28939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
28940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28941 if (SWIG_arg_fail(1)) SWIG_fail
;
28944 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28948 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28950 wxPyEndAllowThreads(__tstate
);
28951 if (PyErr_Occurred()) SWIG_fail
;
28954 wxPoint
* resultptr
;
28955 resultptr
= new wxPoint((wxPoint
&)(result
));
28956 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28964 static PyObject
*_wrap_wxWindow_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28965 PyObject
*resultobj
;
28966 wxWindow
*arg1
= (wxWindow
*) 0 ;
28970 PyObject
* obj0
= 0 ;
28971 PyObject
* obj1
= 0 ;
28972 char *kwnames
[] = {
28973 (char *) "self",(char *) "sz", NULL
28976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
28977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28978 if (SWIG_arg_fail(1)) SWIG_fail
;
28981 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28985 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28987 wxPyEndAllowThreads(__tstate
);
28988 if (PyErr_Occurred()) SWIG_fail
;
28991 wxSize
* resultptr
;
28992 resultptr
= new wxSize((wxSize
&)(result
));
28993 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29001 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29002 PyObject
*resultobj
;
29003 wxWindow
*arg1
= (wxWindow
*) 0 ;
29004 wxPoint
*arg2
= 0 ;
29007 PyObject
* obj0
= 0 ;
29008 PyObject
* obj1
= 0 ;
29009 char *kwnames
[] = {
29010 (char *) "self",(char *) "pt", NULL
29013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29015 if (SWIG_arg_fail(1)) SWIG_fail
;
29018 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29022 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
29024 wxPyEndAllowThreads(__tstate
);
29025 if (PyErr_Occurred()) SWIG_fail
;
29028 wxPoint
* resultptr
;
29029 resultptr
= new wxPoint((wxPoint
&)(result
));
29030 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29038 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29039 PyObject
*resultobj
;
29040 wxWindow
*arg1
= (wxWindow
*) 0 ;
29044 PyObject
* obj0
= 0 ;
29045 PyObject
* obj1
= 0 ;
29046 char *kwnames
[] = {
29047 (char *) "self",(char *) "sz", NULL
29050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29052 if (SWIG_arg_fail(1)) SWIG_fail
;
29055 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29059 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
29061 wxPyEndAllowThreads(__tstate
);
29062 if (PyErr_Occurred()) SWIG_fail
;
29065 wxSize
* resultptr
;
29066 resultptr
= new wxSize((wxSize
&)(result
));
29067 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29075 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29076 PyObject
*resultobj
;
29077 wxWindow
*arg1
= (wxWindow
*) 0 ;
29080 PyObject
* obj0
= 0 ;
29081 PyObject
* obj1
= 0 ;
29082 PyObject
* obj2
= 0 ;
29083 char *kwnames
[] = {
29084 (char *) "self",(char *) "x",(char *) "y", NULL
29087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxWindow_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29089 if (SWIG_arg_fail(1)) SWIG_fail
;
29091 arg2
= (int)(SWIG_As_int(obj1
));
29092 if (SWIG_arg_fail(2)) SWIG_fail
;
29095 arg3
= (int)(SWIG_As_int(obj2
));
29096 if (SWIG_arg_fail(3)) SWIG_fail
;
29099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29100 (arg1
)->WarpPointer(arg2
,arg3
);
29102 wxPyEndAllowThreads(__tstate
);
29103 if (PyErr_Occurred()) SWIG_fail
;
29105 Py_INCREF(Py_None
); resultobj
= Py_None
;
29112 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29113 PyObject
*resultobj
;
29114 wxWindow
*arg1
= (wxWindow
*) 0 ;
29115 PyObject
* obj0
= 0 ;
29116 char *kwnames
[] = {
29117 (char *) "self", NULL
29120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_CaptureMouse",kwnames
,&obj0
)) goto fail
;
29121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29122 if (SWIG_arg_fail(1)) SWIG_fail
;
29124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29125 (arg1
)->CaptureMouse();
29127 wxPyEndAllowThreads(__tstate
);
29128 if (PyErr_Occurred()) SWIG_fail
;
29130 Py_INCREF(Py_None
); resultobj
= Py_None
;
29137 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29138 PyObject
*resultobj
;
29139 wxWindow
*arg1
= (wxWindow
*) 0 ;
29140 PyObject
* obj0
= 0 ;
29141 char *kwnames
[] = {
29142 (char *) "self", NULL
29145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
29146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29147 if (SWIG_arg_fail(1)) SWIG_fail
;
29149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29150 (arg1
)->ReleaseMouse();
29152 wxPyEndAllowThreads(__tstate
);
29153 if (PyErr_Occurred()) SWIG_fail
;
29155 Py_INCREF(Py_None
); resultobj
= Py_None
;
29162 static PyObject
*_wrap_wxWindow_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29163 PyObject
*resultobj
;
29165 char *kwnames
[] = {
29169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":wxWindow_GetCapture",kwnames
)) goto fail
;
29171 if (!wxPyCheckForApp()) SWIG_fail
;
29172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29173 result
= (wxWindow
*)wxWindow::GetCapture();
29175 wxPyEndAllowThreads(__tstate
);
29176 if (PyErr_Occurred()) SWIG_fail
;
29179 resultobj
= wxPyMake_wxObject(result
, 0);
29187 static PyObject
*_wrap_wxWindow_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29188 PyObject
*resultobj
;
29189 wxWindow
*arg1
= (wxWindow
*) 0 ;
29191 PyObject
* obj0
= 0 ;
29192 char *kwnames
[] = {
29193 (char *) "self", NULL
29196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_HasCapture",kwnames
,&obj0
)) goto fail
;
29197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29198 if (SWIG_arg_fail(1)) SWIG_fail
;
29200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29201 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
29203 wxPyEndAllowThreads(__tstate
);
29204 if (PyErr_Occurred()) SWIG_fail
;
29207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29215 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29216 PyObject
*resultobj
;
29217 wxWindow
*arg1
= (wxWindow
*) 0 ;
29218 bool arg2
= (bool) true ;
29219 wxRect
*arg3
= (wxRect
*) NULL
;
29220 PyObject
* obj0
= 0 ;
29221 PyObject
* obj1
= 0 ;
29222 PyObject
* obj2
= 0 ;
29223 char *kwnames
[] = {
29224 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
29227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:wxWindow_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29229 if (SWIG_arg_fail(1)) SWIG_fail
;
29232 arg2
= (bool)(SWIG_As_bool(obj1
));
29233 if (SWIG_arg_fail(2)) SWIG_fail
;
29237 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
29238 if (SWIG_arg_fail(3)) SWIG_fail
;
29241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29242 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
29244 wxPyEndAllowThreads(__tstate
);
29245 if (PyErr_Occurred()) SWIG_fail
;
29247 Py_INCREF(Py_None
); resultobj
= Py_None
;
29254 static PyObject
*_wrap_wxWindow_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29255 PyObject
*resultobj
;
29256 wxWindow
*arg1
= (wxWindow
*) 0 ;
29258 bool arg3
= (bool) true ;
29260 PyObject
* obj0
= 0 ;
29261 PyObject
* obj1
= 0 ;
29262 PyObject
* obj2
= 0 ;
29263 char *kwnames
[] = {
29264 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
29267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:wxWindow_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29269 if (SWIG_arg_fail(1)) SWIG_fail
;
29272 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29276 arg3
= (bool)(SWIG_As_bool(obj2
));
29277 if (SWIG_arg_fail(3)) SWIG_fail
;
29281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29282 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
29284 wxPyEndAllowThreads(__tstate
);
29285 if (PyErr_Occurred()) SWIG_fail
;
29287 Py_INCREF(Py_None
); resultobj
= Py_None
;
29294 static PyObject
*_wrap_wxWindow_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29295 PyObject
*resultobj
;
29296 wxWindow
*arg1
= (wxWindow
*) 0 ;
29297 PyObject
* obj0
= 0 ;
29298 char *kwnames
[] = {
29299 (char *) "self", NULL
29302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_Update",kwnames
,&obj0
)) goto fail
;
29303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29304 if (SWIG_arg_fail(1)) SWIG_fail
;
29306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29309 wxPyEndAllowThreads(__tstate
);
29310 if (PyErr_Occurred()) SWIG_fail
;
29312 Py_INCREF(Py_None
); resultobj
= Py_None
;
29319 static PyObject
*_wrap_wxWindow_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29320 PyObject
*resultobj
;
29321 wxWindow
*arg1
= (wxWindow
*) 0 ;
29322 PyObject
* obj0
= 0 ;
29323 char *kwnames
[] = {
29324 (char *) "self", NULL
29327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_ClearBackground",kwnames
,&obj0
)) goto fail
;
29328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29329 if (SWIG_arg_fail(1)) SWIG_fail
;
29331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29332 (arg1
)->ClearBackground();
29334 wxPyEndAllowThreads(__tstate
);
29335 if (PyErr_Occurred()) SWIG_fail
;
29337 Py_INCREF(Py_None
); resultobj
= Py_None
;
29344 static PyObject
*_wrap_wxWindow_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29345 PyObject
*resultobj
;
29346 wxWindow
*arg1
= (wxWindow
*) 0 ;
29347 PyObject
* obj0
= 0 ;
29348 char *kwnames
[] = {
29349 (char *) "self", NULL
29352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_Freeze",kwnames
,&obj0
)) goto fail
;
29353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29354 if (SWIG_arg_fail(1)) SWIG_fail
;
29356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29359 wxPyEndAllowThreads(__tstate
);
29360 if (PyErr_Occurred()) SWIG_fail
;
29362 Py_INCREF(Py_None
); resultobj
= Py_None
;
29369 static PyObject
*_wrap_wxWindow_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29370 PyObject
*resultobj
;
29371 wxWindow
*arg1
= (wxWindow
*) 0 ;
29372 PyObject
* obj0
= 0 ;
29373 char *kwnames
[] = {
29374 (char *) "self", NULL
29377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_Thaw",kwnames
,&obj0
)) goto fail
;
29378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29379 if (SWIG_arg_fail(1)) SWIG_fail
;
29381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29384 wxPyEndAllowThreads(__tstate
);
29385 if (PyErr_Occurred()) SWIG_fail
;
29387 Py_INCREF(Py_None
); resultobj
= Py_None
;
29394 static PyObject
*_wrap_wxWindow_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29395 PyObject
*resultobj
;
29396 wxWindow
*arg1
= (wxWindow
*) 0 ;
29398 PyObject
* obj0
= 0 ;
29399 PyObject
* obj1
= 0 ;
29400 char *kwnames
[] = {
29401 (char *) "self",(char *) "dc", NULL
29404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
29405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29406 if (SWIG_arg_fail(1)) SWIG_fail
;
29408 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
29409 if (SWIG_arg_fail(2)) SWIG_fail
;
29410 if (arg2
== NULL
) {
29411 SWIG_null_ref("wxDC");
29413 if (SWIG_arg_fail(2)) SWIG_fail
;
29416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29417 (arg1
)->PrepareDC(*arg2
);
29419 wxPyEndAllowThreads(__tstate
);
29420 if (PyErr_Occurred()) SWIG_fail
;
29422 Py_INCREF(Py_None
); resultobj
= Py_None
;
29429 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29430 PyObject
*resultobj
;
29431 wxWindow
*arg1
= (wxWindow
*) 0 ;
29433 PyObject
* obj0
= 0 ;
29434 char *kwnames
[] = {
29435 (char *) "self", NULL
29438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
29439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29440 if (SWIG_arg_fail(1)) SWIG_fail
;
29442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29444 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
29445 result
= (wxRegion
*) &_result_ref
;
29448 wxPyEndAllowThreads(__tstate
);
29449 if (PyErr_Occurred()) SWIG_fail
;
29451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
29458 static PyObject
*_wrap_wxWindow_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29459 PyObject
*resultobj
;
29460 wxWindow
*arg1
= (wxWindow
*) 0 ;
29462 PyObject
* obj0
= 0 ;
29463 char *kwnames
[] = {
29464 (char *) "self", NULL
29467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
29468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29469 if (SWIG_arg_fail(1)) SWIG_fail
;
29471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29472 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
29474 wxPyEndAllowThreads(__tstate
);
29475 if (PyErr_Occurred()) SWIG_fail
;
29478 wxRect
* resultptr
;
29479 resultptr
= new wxRect((wxRect
&)(result
));
29480 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29488 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29489 PyObject
*resultobj
;
29490 wxWindow
*arg1
= (wxWindow
*) 0 ;
29493 int arg4
= (int) 1 ;
29494 int arg5
= (int) 1 ;
29496 PyObject
* obj0
= 0 ;
29497 PyObject
* obj1
= 0 ;
29498 PyObject
* obj2
= 0 ;
29499 PyObject
* obj3
= 0 ;
29500 PyObject
* obj4
= 0 ;
29501 char *kwnames
[] = {
29502 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:wxWindow_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29507 if (SWIG_arg_fail(1)) SWIG_fail
;
29509 arg2
= (int)(SWIG_As_int(obj1
));
29510 if (SWIG_arg_fail(2)) SWIG_fail
;
29513 arg3
= (int)(SWIG_As_int(obj2
));
29514 if (SWIG_arg_fail(3)) SWIG_fail
;
29518 arg4
= (int)(SWIG_As_int(obj3
));
29519 if (SWIG_arg_fail(4)) SWIG_fail
;
29524 arg5
= (int)(SWIG_As_int(obj4
));
29525 if (SWIG_arg_fail(5)) SWIG_fail
;
29529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29530 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
29532 wxPyEndAllowThreads(__tstate
);
29533 if (PyErr_Occurred()) SWIG_fail
;
29536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29544 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29545 PyObject
*resultobj
;
29546 wxWindow
*arg1
= (wxWindow
*) 0 ;
29547 wxPoint
*arg2
= 0 ;
29550 PyObject
* obj0
= 0 ;
29551 PyObject
* obj1
= 0 ;
29552 char *kwnames
[] = {
29553 (char *) "self",(char *) "pt", NULL
29556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
29557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29558 if (SWIG_arg_fail(1)) SWIG_fail
;
29561 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29565 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
29567 wxPyEndAllowThreads(__tstate
);
29568 if (PyErr_Occurred()) SWIG_fail
;
29571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29579 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29580 PyObject
*resultobj
;
29581 wxWindow
*arg1
= (wxWindow
*) 0 ;
29585 PyObject
* obj0
= 0 ;
29586 PyObject
* obj1
= 0 ;
29587 char *kwnames
[] = {
29588 (char *) "self",(char *) "rect", NULL
29591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_IsExposedRect",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
;
29596 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29600 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
29602 wxPyEndAllowThreads(__tstate
);
29603 if (PyErr_Occurred()) SWIG_fail
;
29606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29614 static PyObject
*_wrap_wxWindow_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29615 PyObject
*resultobj
;
29616 wxWindow
*arg1
= (wxWindow
*) 0 ;
29617 wxVisualAttributes result
;
29618 PyObject
* obj0
= 0 ;
29619 char *kwnames
[] = {
29620 (char *) "self", NULL
29623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29625 if (SWIG_arg_fail(1)) SWIG_fail
;
29627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29628 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
29630 wxPyEndAllowThreads(__tstate
);
29631 if (PyErr_Occurred()) SWIG_fail
;
29634 wxVisualAttributes
* resultptr
;
29635 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29636 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29644 static PyObject
*_wrap_wxWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29645 PyObject
*resultobj
;
29646 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
29647 wxVisualAttributes result
;
29648 PyObject
* obj0
= 0 ;
29649 char *kwnames
[] = {
29650 (char *) "variant", NULL
29653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:wxWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29656 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
29657 if (SWIG_arg_fail(1)) SWIG_fail
;
29661 if (!wxPyCheckForApp()) SWIG_fail
;
29662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29663 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
29665 wxPyEndAllowThreads(__tstate
);
29666 if (PyErr_Occurred()) SWIG_fail
;
29669 wxVisualAttributes
* resultptr
;
29670 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29671 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29679 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29680 PyObject
*resultobj
;
29681 wxWindow
*arg1
= (wxWindow
*) 0 ;
29682 wxColour
*arg2
= 0 ;
29685 PyObject
* obj0
= 0 ;
29686 PyObject
* obj1
= 0 ;
29687 char *kwnames
[] = {
29688 (char *) "self",(char *) "colour", NULL
29691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29693 if (SWIG_arg_fail(1)) SWIG_fail
;
29696 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29700 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
29702 wxPyEndAllowThreads(__tstate
);
29703 if (PyErr_Occurred()) SWIG_fail
;
29706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29714 static PyObject
*_wrap_wxWindow_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29715 PyObject
*resultobj
;
29716 wxWindow
*arg1
= (wxWindow
*) 0 ;
29717 wxColour
*arg2
= 0 ;
29719 PyObject
* obj0
= 0 ;
29720 PyObject
* obj1
= 0 ;
29721 char *kwnames
[] = {
29722 (char *) "self",(char *) "colour", NULL
29725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29727 if (SWIG_arg_fail(1)) SWIG_fail
;
29730 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29734 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
29736 wxPyEndAllowThreads(__tstate
);
29737 if (PyErr_Occurred()) SWIG_fail
;
29739 Py_INCREF(Py_None
); resultobj
= Py_None
;
29746 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29747 PyObject
*resultobj
;
29748 wxWindow
*arg1
= (wxWindow
*) 0 ;
29749 wxColour
*arg2
= 0 ;
29752 PyObject
* obj0
= 0 ;
29753 PyObject
* obj1
= 0 ;
29754 char *kwnames
[] = {
29755 (char *) "self",(char *) "colour", NULL
29758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29760 if (SWIG_arg_fail(1)) SWIG_fail
;
29763 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29767 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
29769 wxPyEndAllowThreads(__tstate
);
29770 if (PyErr_Occurred()) SWIG_fail
;
29773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29781 static PyObject
*_wrap_wxWindow_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29782 PyObject
*resultobj
;
29783 wxWindow
*arg1
= (wxWindow
*) 0 ;
29784 wxColour
*arg2
= 0 ;
29786 PyObject
* obj0
= 0 ;
29787 PyObject
* obj1
= 0 ;
29788 char *kwnames
[] = {
29789 (char *) "self",(char *) "colour", NULL
29792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29794 if (SWIG_arg_fail(1)) SWIG_fail
;
29797 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29801 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
29803 wxPyEndAllowThreads(__tstate
);
29804 if (PyErr_Occurred()) SWIG_fail
;
29806 Py_INCREF(Py_None
); resultobj
= Py_None
;
29813 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29814 PyObject
*resultobj
;
29815 wxWindow
*arg1
= (wxWindow
*) 0 ;
29817 PyObject
* obj0
= 0 ;
29818 char *kwnames
[] = {
29819 (char *) "self", NULL
29822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
29823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29824 if (SWIG_arg_fail(1)) SWIG_fail
;
29826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29827 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
29829 wxPyEndAllowThreads(__tstate
);
29830 if (PyErr_Occurred()) SWIG_fail
;
29833 wxColour
* resultptr
;
29834 resultptr
= new wxColour((wxColour
&)(result
));
29835 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29843 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29844 PyObject
*resultobj
;
29845 wxWindow
*arg1
= (wxWindow
*) 0 ;
29847 PyObject
* obj0
= 0 ;
29848 char *kwnames
[] = {
29849 (char *) "self", NULL
29852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
29853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29854 if (SWIG_arg_fail(1)) SWIG_fail
;
29856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29857 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
29859 wxPyEndAllowThreads(__tstate
);
29860 if (PyErr_Occurred()) SWIG_fail
;
29863 wxColour
* resultptr
;
29864 resultptr
= new wxColour((wxColour
&)(result
));
29865 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29873 static PyObject
*_wrap_wxWindow_InheritsBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29874 PyObject
*resultobj
;
29875 wxWindow
*arg1
= (wxWindow
*) 0 ;
29877 PyObject
* obj0
= 0 ;
29878 char *kwnames
[] = {
29879 (char *) "self", NULL
29882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_InheritsBackgroundColour",kwnames
,&obj0
)) goto fail
;
29883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29884 if (SWIG_arg_fail(1)) SWIG_fail
;
29886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29887 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
29889 wxPyEndAllowThreads(__tstate
);
29890 if (PyErr_Occurred()) SWIG_fail
;
29893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29901 static PyObject
*_wrap_wxWindow_UseBgCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29902 PyObject
*resultobj
;
29903 wxWindow
*arg1
= (wxWindow
*) 0 ;
29905 PyObject
* obj0
= 0 ;
29906 char *kwnames
[] = {
29907 (char *) "self", NULL
29910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_UseBgCol",kwnames
,&obj0
)) goto fail
;
29911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29912 if (SWIG_arg_fail(1)) SWIG_fail
;
29914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29915 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
29917 wxPyEndAllowThreads(__tstate
);
29918 if (PyErr_Occurred()) SWIG_fail
;
29921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29929 static PyObject
*_wrap_wxWindow_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29930 PyObject
*resultobj
;
29931 wxWindow
*arg1
= (wxWindow
*) 0 ;
29932 wxBackgroundStyle arg2
;
29934 PyObject
* obj0
= 0 ;
29935 PyObject
* obj1
= 0 ;
29936 char *kwnames
[] = {
29937 (char *) "self",(char *) "style", NULL
29940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
29941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29942 if (SWIG_arg_fail(1)) SWIG_fail
;
29944 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
29945 if (SWIG_arg_fail(2)) SWIG_fail
;
29948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29949 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
29951 wxPyEndAllowThreads(__tstate
);
29952 if (PyErr_Occurred()) SWIG_fail
;
29955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29963 static PyObject
*_wrap_wxWindow_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29964 PyObject
*resultobj
;
29965 wxWindow
*arg1
= (wxWindow
*) 0 ;
29966 wxBackgroundStyle result
;
29967 PyObject
* obj0
= 0 ;
29968 char *kwnames
[] = {
29969 (char *) "self", NULL
29972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
29973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29974 if (SWIG_arg_fail(1)) SWIG_fail
;
29976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29977 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
29979 wxPyEndAllowThreads(__tstate
);
29980 if (PyErr_Occurred()) SWIG_fail
;
29982 resultobj
= SWIG_From_int((result
));
29989 static PyObject
*_wrap_wxWindow_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29990 PyObject
*resultobj
;
29991 wxWindow
*arg1
= (wxWindow
*) 0 ;
29993 PyObject
* obj0
= 0 ;
29994 char *kwnames
[] = {
29995 (char *) "self", NULL
29998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
29999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30000 if (SWIG_arg_fail(1)) SWIG_fail
;
30002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30003 result
= (bool)(arg1
)->HasTransparentBackground();
30005 wxPyEndAllowThreads(__tstate
);
30006 if (PyErr_Occurred()) SWIG_fail
;
30009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30017 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30018 PyObject
*resultobj
;
30019 wxWindow
*arg1
= (wxWindow
*) 0 ;
30020 wxCursor
*arg2
= 0 ;
30022 PyObject
* obj0
= 0 ;
30023 PyObject
* obj1
= 0 ;
30024 char *kwnames
[] = {
30025 (char *) "self",(char *) "cursor", NULL
30028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
30029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30030 if (SWIG_arg_fail(1)) SWIG_fail
;
30032 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
30033 if (SWIG_arg_fail(2)) SWIG_fail
;
30034 if (arg2
== NULL
) {
30035 SWIG_null_ref("wxCursor");
30037 if (SWIG_arg_fail(2)) SWIG_fail
;
30040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30041 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
30043 wxPyEndAllowThreads(__tstate
);
30044 if (PyErr_Occurred()) SWIG_fail
;
30047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30055 static PyObject
*_wrap_wxWindow_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30056 PyObject
*resultobj
;
30057 wxWindow
*arg1
= (wxWindow
*) 0 ;
30059 PyObject
* obj0
= 0 ;
30060 char *kwnames
[] = {
30061 (char *) "self", NULL
30064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetCursor",kwnames
,&obj0
)) goto fail
;
30065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30066 if (SWIG_arg_fail(1)) SWIG_fail
;
30068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30069 result
= (arg1
)->GetCursor();
30071 wxPyEndAllowThreads(__tstate
);
30072 if (PyErr_Occurred()) SWIG_fail
;
30075 wxCursor
* resultptr
;
30076 resultptr
= new wxCursor((wxCursor
&)(result
));
30077 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
30085 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30086 PyObject
*resultobj
;
30087 wxWindow
*arg1
= (wxWindow
*) 0 ;
30090 PyObject
* obj0
= 0 ;
30091 PyObject
* obj1
= 0 ;
30092 char *kwnames
[] = {
30093 (char *) "self",(char *) "font", NULL
30096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30098 if (SWIG_arg_fail(1)) SWIG_fail
;
30100 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30101 if (SWIG_arg_fail(2)) SWIG_fail
;
30102 if (arg2
== NULL
) {
30103 SWIG_null_ref("wxFont");
30105 if (SWIG_arg_fail(2)) SWIG_fail
;
30108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30109 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
30111 wxPyEndAllowThreads(__tstate
);
30112 if (PyErr_Occurred()) SWIG_fail
;
30115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30123 static PyObject
*_wrap_wxWindow_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30124 PyObject
*resultobj
;
30125 wxWindow
*arg1
= (wxWindow
*) 0 ;
30127 PyObject
* obj0
= 0 ;
30128 PyObject
* obj1
= 0 ;
30129 char *kwnames
[] = {
30130 (char *) "self",(char *) "font", NULL
30133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30135 if (SWIG_arg_fail(1)) SWIG_fail
;
30137 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30138 if (SWIG_arg_fail(2)) SWIG_fail
;
30139 if (arg2
== NULL
) {
30140 SWIG_null_ref("wxFont");
30142 if (SWIG_arg_fail(2)) SWIG_fail
;
30145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30146 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
30148 wxPyEndAllowThreads(__tstate
);
30149 if (PyErr_Occurred()) SWIG_fail
;
30151 Py_INCREF(Py_None
); resultobj
= Py_None
;
30158 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30159 PyObject
*resultobj
;
30160 wxWindow
*arg1
= (wxWindow
*) 0 ;
30162 PyObject
* obj0
= 0 ;
30163 char *kwnames
[] = {
30164 (char *) "self", NULL
30167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetFont",kwnames
,&obj0
)) goto fail
;
30168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30169 if (SWIG_arg_fail(1)) SWIG_fail
;
30171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30172 result
= (arg1
)->GetFont();
30174 wxPyEndAllowThreads(__tstate
);
30175 if (PyErr_Occurred()) SWIG_fail
;
30178 wxFont
* resultptr
;
30179 resultptr
= new wxFont((wxFont
&)(result
));
30180 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
30188 static PyObject
*_wrap_wxWindow_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30189 PyObject
*resultobj
;
30190 wxWindow
*arg1
= (wxWindow
*) 0 ;
30191 wxCaret
*arg2
= (wxCaret
*) 0 ;
30192 PyObject
* obj0
= 0 ;
30193 PyObject
* obj1
= 0 ;
30194 char *kwnames
[] = {
30195 (char *) "self",(char *) "caret", NULL
30198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
30199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30200 if (SWIG_arg_fail(1)) SWIG_fail
;
30201 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
30202 if (SWIG_arg_fail(2)) SWIG_fail
;
30204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30205 (arg1
)->SetCaret(arg2
);
30207 wxPyEndAllowThreads(__tstate
);
30208 if (PyErr_Occurred()) SWIG_fail
;
30210 Py_INCREF(Py_None
); resultobj
= Py_None
;
30217 static PyObject
*_wrap_wxWindow_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30218 PyObject
*resultobj
;
30219 wxWindow
*arg1
= (wxWindow
*) 0 ;
30221 PyObject
* obj0
= 0 ;
30222 char *kwnames
[] = {
30223 (char *) "self", NULL
30226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetCaret",kwnames
,&obj0
)) goto fail
;
30227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30228 if (SWIG_arg_fail(1)) SWIG_fail
;
30230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30231 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
30233 wxPyEndAllowThreads(__tstate
);
30234 if (PyErr_Occurred()) SWIG_fail
;
30236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
30243 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30244 PyObject
*resultobj
;
30245 wxWindow
*arg1
= (wxWindow
*) 0 ;
30247 PyObject
* obj0
= 0 ;
30248 char *kwnames
[] = {
30249 (char *) "self", NULL
30252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetCharHeight",kwnames
,&obj0
)) goto fail
;
30253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30254 if (SWIG_arg_fail(1)) SWIG_fail
;
30256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30257 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
30259 wxPyEndAllowThreads(__tstate
);
30260 if (PyErr_Occurred()) SWIG_fail
;
30263 resultobj
= SWIG_From_int((int)(result
));
30271 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30272 PyObject
*resultobj
;
30273 wxWindow
*arg1
= (wxWindow
*) 0 ;
30275 PyObject
* obj0
= 0 ;
30276 char *kwnames
[] = {
30277 (char *) "self", NULL
30280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetCharWidth",kwnames
,&obj0
)) goto fail
;
30281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30282 if (SWIG_arg_fail(1)) SWIG_fail
;
30284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30285 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
30287 wxPyEndAllowThreads(__tstate
);
30288 if (PyErr_Occurred()) SWIG_fail
;
30291 resultobj
= SWIG_From_int((int)(result
));
30299 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30300 PyObject
*resultobj
;
30301 wxWindow
*arg1
= (wxWindow
*) 0 ;
30302 wxString
*arg2
= 0 ;
30303 int *arg3
= (int *) 0 ;
30304 int *arg4
= (int *) 0 ;
30305 bool temp2
= false ;
30310 PyObject
* obj0
= 0 ;
30311 PyObject
* obj1
= 0 ;
30312 char *kwnames
[] = {
30313 (char *) "self",(char *) "string", NULL
30316 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30317 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
30319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30320 if (SWIG_arg_fail(1)) SWIG_fail
;
30322 arg2
= wxString_in_helper(obj1
);
30323 if (arg2
== NULL
) SWIG_fail
;
30327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30328 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
30330 wxPyEndAllowThreads(__tstate
);
30331 if (PyErr_Occurred()) SWIG_fail
;
30333 Py_INCREF(Py_None
); resultobj
= Py_None
;
30334 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30335 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30336 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30337 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30352 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30353 PyObject
*resultobj
;
30354 wxWindow
*arg1
= (wxWindow
*) 0 ;
30355 wxString
*arg2
= 0 ;
30356 int *arg3
= (int *) 0 ;
30357 int *arg4
= (int *) 0 ;
30358 int *arg5
= (int *) 0 ;
30359 int *arg6
= (int *) 0 ;
30360 wxFont
*arg7
= (wxFont
*) NULL
;
30361 bool temp2
= false ;
30370 PyObject
* obj0
= 0 ;
30371 PyObject
* obj1
= 0 ;
30372 PyObject
* obj2
= 0 ;
30373 char *kwnames
[] = {
30374 (char *) "self",(char *) "string",(char *) "font", NULL
30377 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30378 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30379 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
30380 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
30381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:wxWindow_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30383 if (SWIG_arg_fail(1)) SWIG_fail
;
30385 arg2
= wxString_in_helper(obj1
);
30386 if (arg2
== NULL
) SWIG_fail
;
30390 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30391 if (SWIG_arg_fail(7)) SWIG_fail
;
30394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30395 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
30397 wxPyEndAllowThreads(__tstate
);
30398 if (PyErr_Occurred()) SWIG_fail
;
30400 Py_INCREF(Py_None
); resultobj
= Py_None
;
30401 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30402 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30403 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30404 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30405 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
30406 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
30407 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
30408 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
30423 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30424 PyObject
*resultobj
;
30425 wxWindow
*arg1
= (wxWindow
*) 0 ;
30426 int *arg2
= (int *) 0 ;
30427 int *arg3
= (int *) 0 ;
30432 PyObject
* obj0
= 0 ;
30433 PyObject
* obj1
= 0 ;
30434 PyObject
* obj2
= 0 ;
30435 char *kwnames
[] = {
30436 (char *) "self",(char *) "x",(char *) "y", NULL
30439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxWindow_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30441 if (SWIG_arg_fail(1)) SWIG_fail
;
30443 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30444 temp2
= SWIG_As_int(obj1
);
30445 if (SWIG_arg_fail(2)) SWIG_fail
;
30447 res2
= SWIG_NEWOBJ
;
30451 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30452 temp3
= SWIG_As_int(obj2
);
30453 if (SWIG_arg_fail(3)) SWIG_fail
;
30455 res3
= SWIG_NEWOBJ
;
30459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30460 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
30462 wxPyEndAllowThreads(__tstate
);
30463 if (PyErr_Occurred()) SWIG_fail
;
30465 Py_INCREF(Py_None
); resultobj
= Py_None
;
30466 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30467 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30468 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30469 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30476 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30477 PyObject
*resultobj
;
30478 wxWindow
*arg1
= (wxWindow
*) 0 ;
30479 int *arg2
= (int *) 0 ;
30480 int *arg3
= (int *) 0 ;
30485 PyObject
* obj0
= 0 ;
30486 PyObject
* obj1
= 0 ;
30487 PyObject
* obj2
= 0 ;
30488 char *kwnames
[] = {
30489 (char *) "self",(char *) "x",(char *) "y", NULL
30492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxWindow_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30494 if (SWIG_arg_fail(1)) SWIG_fail
;
30496 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30497 temp2
= SWIG_As_int(obj1
);
30498 if (SWIG_arg_fail(2)) SWIG_fail
;
30500 res2
= SWIG_NEWOBJ
;
30504 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30505 temp3
= SWIG_As_int(obj2
);
30506 if (SWIG_arg_fail(3)) SWIG_fail
;
30508 res3
= SWIG_NEWOBJ
;
30512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30513 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
30515 wxPyEndAllowThreads(__tstate
);
30516 if (PyErr_Occurred()) SWIG_fail
;
30518 Py_INCREF(Py_None
); resultobj
= Py_None
;
30519 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30520 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30521 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30522 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30529 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30530 PyObject
*resultobj
;
30531 wxWindow
*arg1
= (wxWindow
*) 0 ;
30532 wxPoint
*arg2
= 0 ;
30535 PyObject
* obj0
= 0 ;
30536 PyObject
* obj1
= 0 ;
30537 char *kwnames
[] = {
30538 (char *) "self",(char *) "pt", NULL
30541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
30542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30543 if (SWIG_arg_fail(1)) SWIG_fail
;
30546 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30550 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
30552 wxPyEndAllowThreads(__tstate
);
30553 if (PyErr_Occurred()) SWIG_fail
;
30556 wxPoint
* resultptr
;
30557 resultptr
= new wxPoint((wxPoint
&)(result
));
30558 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30566 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30567 PyObject
*resultobj
;
30568 wxWindow
*arg1
= (wxWindow
*) 0 ;
30569 wxPoint
*arg2
= 0 ;
30572 PyObject
* obj0
= 0 ;
30573 PyObject
* obj1
= 0 ;
30574 char *kwnames
[] = {
30575 (char *) "self",(char *) "pt", NULL
30578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
30579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30580 if (SWIG_arg_fail(1)) SWIG_fail
;
30583 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30587 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
30589 wxPyEndAllowThreads(__tstate
);
30590 if (PyErr_Occurred()) SWIG_fail
;
30593 wxPoint
* resultptr
;
30594 resultptr
= new wxPoint((wxPoint
&)(result
));
30595 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30603 static PyObject
*_wrap_wxWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30604 PyObject
*resultobj
;
30605 wxWindow
*arg1
= (wxWindow
*) 0 ;
30609 PyObject
* obj0
= 0 ;
30610 PyObject
* obj1
= 0 ;
30611 PyObject
* obj2
= 0 ;
30612 char *kwnames
[] = {
30613 (char *) "self",(char *) "x",(char *) "y", NULL
30616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30618 if (SWIG_arg_fail(1)) SWIG_fail
;
30620 arg2
= (int)(SWIG_As_int(obj1
));
30621 if (SWIG_arg_fail(2)) SWIG_fail
;
30624 arg3
= (int)(SWIG_As_int(obj2
));
30625 if (SWIG_arg_fail(3)) SWIG_fail
;
30628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30629 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
30631 wxPyEndAllowThreads(__tstate
);
30632 if (PyErr_Occurred()) SWIG_fail
;
30634 resultobj
= SWIG_From_int((result
));
30641 static PyObject
*_wrap_wxWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30642 PyObject
*resultobj
;
30643 wxWindow
*arg1
= (wxWindow
*) 0 ;
30644 wxPoint
*arg2
= 0 ;
30647 PyObject
* obj0
= 0 ;
30648 PyObject
* obj1
= 0 ;
30649 char *kwnames
[] = {
30650 (char *) "self",(char *) "pt", NULL
30653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30655 if (SWIG_arg_fail(1)) SWIG_fail
;
30658 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30662 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
30664 wxPyEndAllowThreads(__tstate
);
30665 if (PyErr_Occurred()) SWIG_fail
;
30667 resultobj
= SWIG_From_int((result
));
30674 static PyObject
*_wrap_wxWindow_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
30675 PyObject
*resultobj
;
30676 wxWindow
*arg1
= (wxWindow
*) 0 ;
30679 PyObject
* obj0
= 0 ;
30680 PyObject
* obj1
= 0 ;
30682 if(!PyArg_ParseTuple(args
,(char *)"OO:wxWindow_GetBorder",&obj0
,&obj1
)) goto fail
;
30683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30684 if (SWIG_arg_fail(1)) SWIG_fail
;
30686 arg2
= (long)(SWIG_As_long(obj1
));
30687 if (SWIG_arg_fail(2)) SWIG_fail
;
30690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30691 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
30693 wxPyEndAllowThreads(__tstate
);
30694 if (PyErr_Occurred()) SWIG_fail
;
30696 resultobj
= SWIG_From_int((result
));
30703 static PyObject
*_wrap_wxWindow_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
30704 PyObject
*resultobj
;
30705 wxWindow
*arg1
= (wxWindow
*) 0 ;
30707 PyObject
* obj0
= 0 ;
30709 if(!PyArg_ParseTuple(args
,(char *)"O:wxWindow_GetBorder",&obj0
)) goto fail
;
30710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30711 if (SWIG_arg_fail(1)) SWIG_fail
;
30713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30714 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
30716 wxPyEndAllowThreads(__tstate
);
30717 if (PyErr_Occurred()) SWIG_fail
;
30719 resultobj
= SWIG_From_int((result
));
30726 static PyObject
*_wrap_wxWindow_GetBorder(PyObject
*self
, PyObject
*args
) {
30731 argc
= PyObject_Length(args
);
30732 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
30733 argv
[ii
] = PyTuple_GetItem(args
,ii
);
30739 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30747 return _wrap_wxWindow_GetBorder__SWIG_1(self
,args
);
30754 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30762 _v
= SWIG_Check_long(argv
[1]);
30764 return _wrap_wxWindow_GetBorder__SWIG_0(self
,args
);
30769 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'wxWindow_GetBorder'");
30774 static PyObject
*_wrap_wxWindow_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30775 PyObject
*resultobj
;
30776 wxWindow
*arg1
= (wxWindow
*) 0 ;
30777 long arg2
= (long) wxUPDATE_UI_NONE
;
30778 PyObject
* obj0
= 0 ;
30779 PyObject
* obj1
= 0 ;
30780 char *kwnames
[] = {
30781 (char *) "self",(char *) "flags", NULL
30784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:wxWindow_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30786 if (SWIG_arg_fail(1)) SWIG_fail
;
30789 arg2
= (long)(SWIG_As_long(obj1
));
30790 if (SWIG_arg_fail(2)) SWIG_fail
;
30794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30795 (arg1
)->UpdateWindowUI(arg2
);
30797 wxPyEndAllowThreads(__tstate
);
30798 if (PyErr_Occurred()) SWIG_fail
;
30800 Py_INCREF(Py_None
); resultobj
= Py_None
;
30807 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30808 PyObject
*resultobj
;
30809 wxWindow
*arg1
= (wxWindow
*) 0 ;
30810 wxMenu
*arg2
= (wxMenu
*) 0 ;
30811 int arg3
= (int) -1 ;
30812 int arg4
= (int) -1 ;
30814 PyObject
* obj0
= 0 ;
30815 PyObject
* obj1
= 0 ;
30816 PyObject
* obj2
= 0 ;
30817 PyObject
* obj3
= 0 ;
30818 char *kwnames
[] = {
30819 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
30822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:wxWindow_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30824 if (SWIG_arg_fail(1)) SWIG_fail
;
30825 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30826 if (SWIG_arg_fail(2)) SWIG_fail
;
30829 arg3
= (int)(SWIG_As_int(obj2
));
30830 if (SWIG_arg_fail(3)) SWIG_fail
;
30835 arg4
= (int)(SWIG_As_int(obj3
));
30836 if (SWIG_arg_fail(4)) SWIG_fail
;
30840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30841 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
30843 wxPyEndAllowThreads(__tstate
);
30844 if (PyErr_Occurred()) SWIG_fail
;
30847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30855 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30856 PyObject
*resultobj
;
30857 wxWindow
*arg1
= (wxWindow
*) 0 ;
30858 wxMenu
*arg2
= (wxMenu
*) 0 ;
30859 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30860 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30863 PyObject
* obj0
= 0 ;
30864 PyObject
* obj1
= 0 ;
30865 PyObject
* obj2
= 0 ;
30866 char *kwnames
[] = {
30867 (char *) "self",(char *) "menu",(char *) "pos", NULL
30870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:wxWindow_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30872 if (SWIG_arg_fail(1)) SWIG_fail
;
30873 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30874 if (SWIG_arg_fail(2)) SWIG_fail
;
30878 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30883 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
30885 wxPyEndAllowThreads(__tstate
);
30886 if (PyErr_Occurred()) SWIG_fail
;
30889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30897 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30898 PyObject
*resultobj
;
30899 wxWindow
*arg1
= (wxWindow
*) 0 ;
30901 PyObject
* obj0
= 0 ;
30902 char *kwnames
[] = {
30903 (char *) "self", NULL
30906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetHandle",kwnames
,&obj0
)) goto fail
;
30907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30908 if (SWIG_arg_fail(1)) SWIG_fail
;
30910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30911 result
= (long)wxWindow_GetHandle(arg1
);
30913 wxPyEndAllowThreads(__tstate
);
30914 if (PyErr_Occurred()) SWIG_fail
;
30917 resultobj
= SWIG_From_long((long)(result
));
30925 static PyObject
*_wrap_wxWindow_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30926 PyObject
*resultobj
;
30927 wxWindow
*arg1
= (wxWindow
*) 0 ;
30929 PyObject
* obj0
= 0 ;
30930 PyObject
* obj1
= 0 ;
30931 char *kwnames
[] = {
30932 (char *) "self",(char *) "handle", NULL
30935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
30936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30937 if (SWIG_arg_fail(1)) SWIG_fail
;
30939 arg2
= (long)(SWIG_As_long(obj1
));
30940 if (SWIG_arg_fail(2)) SWIG_fail
;
30943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30944 wxWindow_AssociateHandle(arg1
,arg2
);
30946 wxPyEndAllowThreads(__tstate
);
30947 if (PyErr_Occurred()) SWIG_fail
;
30949 Py_INCREF(Py_None
); resultobj
= Py_None
;
30956 static PyObject
*_wrap_wxWindow_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30957 PyObject
*resultobj
;
30958 wxWindow
*arg1
= (wxWindow
*) 0 ;
30959 PyObject
* obj0
= 0 ;
30960 char *kwnames
[] = {
30961 (char *) "self", NULL
30964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_DissociateHandle",kwnames
,&obj0
)) goto fail
;
30965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30966 if (SWIG_arg_fail(1)) SWIG_fail
;
30968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30969 (arg1
)->DissociateHandle();
30971 wxPyEndAllowThreads(__tstate
);
30972 if (PyErr_Occurred()) SWIG_fail
;
30974 Py_INCREF(Py_None
); resultobj
= Py_None
;
30981 static PyObject
*_wrap_wxWindow_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30982 PyObject
*resultobj
;
30983 wxWindow
*arg1
= (wxWindow
*) 0 ;
30986 PyObject
* obj0
= 0 ;
30987 PyObject
* obj1
= 0 ;
30988 char *kwnames
[] = {
30989 (char *) "self",(char *) "orient", NULL
30992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
30993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30994 if (SWIG_arg_fail(1)) SWIG_fail
;
30996 arg2
= (int)(SWIG_As_int(obj1
));
30997 if (SWIG_arg_fail(2)) SWIG_fail
;
31000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31001 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
31003 wxPyEndAllowThreads(__tstate
);
31004 if (PyErr_Occurred()) SWIG_fail
;
31007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31015 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31016 PyObject
*resultobj
;
31017 wxWindow
*arg1
= (wxWindow
*) 0 ;
31022 bool arg6
= (bool) true ;
31023 PyObject
* obj0
= 0 ;
31024 PyObject
* obj1
= 0 ;
31025 PyObject
* obj2
= 0 ;
31026 PyObject
* obj3
= 0 ;
31027 PyObject
* obj4
= 0 ;
31028 PyObject
* obj5
= 0 ;
31029 char *kwnames
[] = {
31030 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
31033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:wxWindow_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31035 if (SWIG_arg_fail(1)) SWIG_fail
;
31037 arg2
= (int)(SWIG_As_int(obj1
));
31038 if (SWIG_arg_fail(2)) SWIG_fail
;
31041 arg3
= (int)(SWIG_As_int(obj2
));
31042 if (SWIG_arg_fail(3)) SWIG_fail
;
31045 arg4
= (int)(SWIG_As_int(obj3
));
31046 if (SWIG_arg_fail(4)) SWIG_fail
;
31049 arg5
= (int)(SWIG_As_int(obj4
));
31050 if (SWIG_arg_fail(5)) SWIG_fail
;
31054 arg6
= (bool)(SWIG_As_bool(obj5
));
31055 if (SWIG_arg_fail(6)) SWIG_fail
;
31059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31060 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
31062 wxPyEndAllowThreads(__tstate
);
31063 if (PyErr_Occurred()) SWIG_fail
;
31065 Py_INCREF(Py_None
); resultobj
= Py_None
;
31072 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31073 PyObject
*resultobj
;
31074 wxWindow
*arg1
= (wxWindow
*) 0 ;
31077 bool arg4
= (bool) true ;
31078 PyObject
* obj0
= 0 ;
31079 PyObject
* obj1
= 0 ;
31080 PyObject
* obj2
= 0 ;
31081 PyObject
* obj3
= 0 ;
31082 char *kwnames
[] = {
31083 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
31086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:wxWindow_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31088 if (SWIG_arg_fail(1)) SWIG_fail
;
31090 arg2
= (int)(SWIG_As_int(obj1
));
31091 if (SWIG_arg_fail(2)) SWIG_fail
;
31094 arg3
= (int)(SWIG_As_int(obj2
));
31095 if (SWIG_arg_fail(3)) SWIG_fail
;
31099 arg4
= (bool)(SWIG_As_bool(obj3
));
31100 if (SWIG_arg_fail(4)) SWIG_fail
;
31104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31105 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
31107 wxPyEndAllowThreads(__tstate
);
31108 if (PyErr_Occurred()) SWIG_fail
;
31110 Py_INCREF(Py_None
); resultobj
= Py_None
;
31117 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31118 PyObject
*resultobj
;
31119 wxWindow
*arg1
= (wxWindow
*) 0 ;
31122 PyObject
* obj0
= 0 ;
31123 PyObject
* obj1
= 0 ;
31124 char *kwnames
[] = {
31125 (char *) "self",(char *) "orientation", NULL
31128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
31129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31130 if (SWIG_arg_fail(1)) SWIG_fail
;
31132 arg2
= (int)(SWIG_As_int(obj1
));
31133 if (SWIG_arg_fail(2)) SWIG_fail
;
31136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31137 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
31139 wxPyEndAllowThreads(__tstate
);
31140 if (PyErr_Occurred()) SWIG_fail
;
31143 resultobj
= SWIG_From_int((int)(result
));
31151 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31152 PyObject
*resultobj
;
31153 wxWindow
*arg1
= (wxWindow
*) 0 ;
31156 PyObject
* obj0
= 0 ;
31157 PyObject
* obj1
= 0 ;
31158 char *kwnames
[] = {
31159 (char *) "self",(char *) "orientation", NULL
31162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
31163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31164 if (SWIG_arg_fail(1)) SWIG_fail
;
31166 arg2
= (int)(SWIG_As_int(obj1
));
31167 if (SWIG_arg_fail(2)) SWIG_fail
;
31170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31171 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
31173 wxPyEndAllowThreads(__tstate
);
31174 if (PyErr_Occurred()) SWIG_fail
;
31177 resultobj
= SWIG_From_int((int)(result
));
31185 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31186 PyObject
*resultobj
;
31187 wxWindow
*arg1
= (wxWindow
*) 0 ;
31190 PyObject
* obj0
= 0 ;
31191 PyObject
* obj1
= 0 ;
31192 char *kwnames
[] = {
31193 (char *) "self",(char *) "orientation", NULL
31196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
31197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31198 if (SWIG_arg_fail(1)) SWIG_fail
;
31200 arg2
= (int)(SWIG_As_int(obj1
));
31201 if (SWIG_arg_fail(2)) SWIG_fail
;
31204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31205 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
31207 wxPyEndAllowThreads(__tstate
);
31208 if (PyErr_Occurred()) SWIG_fail
;
31211 resultobj
= SWIG_From_int((int)(result
));
31219 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31220 PyObject
*resultobj
;
31221 wxWindow
*arg1
= (wxWindow
*) 0 ;
31224 wxRect
*arg4
= (wxRect
*) NULL
;
31225 PyObject
* obj0
= 0 ;
31226 PyObject
* obj1
= 0 ;
31227 PyObject
* obj2
= 0 ;
31228 PyObject
* obj3
= 0 ;
31229 char *kwnames
[] = {
31230 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
31233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:wxWindow_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
31238 if (SWIG_arg_fail(2)) SWIG_fail
;
31241 arg3
= (int)(SWIG_As_int(obj2
));
31242 if (SWIG_arg_fail(3)) SWIG_fail
;
31245 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
31246 if (SWIG_arg_fail(4)) SWIG_fail
;
31249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31250 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
31252 wxPyEndAllowThreads(__tstate
);
31253 if (PyErr_Occurred()) SWIG_fail
;
31255 Py_INCREF(Py_None
); resultobj
= Py_None
;
31262 static PyObject
*_wrap_wxWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31263 PyObject
*resultobj
;
31264 wxWindow
*arg1
= (wxWindow
*) 0 ;
31267 PyObject
* obj0
= 0 ;
31268 PyObject
* obj1
= 0 ;
31269 char *kwnames
[] = {
31270 (char *) "self",(char *) "lines", NULL
31273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
31274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31275 if (SWIG_arg_fail(1)) SWIG_fail
;
31277 arg2
= (int)(SWIG_As_int(obj1
));
31278 if (SWIG_arg_fail(2)) SWIG_fail
;
31281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31282 result
= (bool)(arg1
)->ScrollLines(arg2
);
31284 wxPyEndAllowThreads(__tstate
);
31285 if (PyErr_Occurred()) SWIG_fail
;
31288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31296 static PyObject
*_wrap_wxWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31297 PyObject
*resultobj
;
31298 wxWindow
*arg1
= (wxWindow
*) 0 ;
31301 PyObject
* obj0
= 0 ;
31302 PyObject
* obj1
= 0 ;
31303 char *kwnames
[] = {
31304 (char *) "self",(char *) "pages", NULL
31307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
31308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31309 if (SWIG_arg_fail(1)) SWIG_fail
;
31311 arg2
= (int)(SWIG_As_int(obj1
));
31312 if (SWIG_arg_fail(2)) SWIG_fail
;
31315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31316 result
= (bool)(arg1
)->ScrollPages(arg2
);
31318 wxPyEndAllowThreads(__tstate
);
31319 if (PyErr_Occurred()) SWIG_fail
;
31322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31330 static PyObject
*_wrap_wxWindow_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31331 PyObject
*resultobj
;
31332 wxWindow
*arg1
= (wxWindow
*) 0 ;
31334 PyObject
* obj0
= 0 ;
31335 char *kwnames
[] = {
31336 (char *) "self", NULL
31339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_LineUp",kwnames
,&obj0
)) goto fail
;
31340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31341 if (SWIG_arg_fail(1)) SWIG_fail
;
31343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31344 result
= (bool)(arg1
)->LineUp();
31346 wxPyEndAllowThreads(__tstate
);
31347 if (PyErr_Occurred()) SWIG_fail
;
31350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31358 static PyObject
*_wrap_wxWindow_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31359 PyObject
*resultobj
;
31360 wxWindow
*arg1
= (wxWindow
*) 0 ;
31362 PyObject
* obj0
= 0 ;
31363 char *kwnames
[] = {
31364 (char *) "self", NULL
31367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_LineDown",kwnames
,&obj0
)) goto fail
;
31368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31369 if (SWIG_arg_fail(1)) SWIG_fail
;
31371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31372 result
= (bool)(arg1
)->LineDown();
31374 wxPyEndAllowThreads(__tstate
);
31375 if (PyErr_Occurred()) SWIG_fail
;
31378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31386 static PyObject
*_wrap_wxWindow_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31387 PyObject
*resultobj
;
31388 wxWindow
*arg1
= (wxWindow
*) 0 ;
31390 PyObject
* obj0
= 0 ;
31391 char *kwnames
[] = {
31392 (char *) "self", NULL
31395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_PageUp",kwnames
,&obj0
)) goto fail
;
31396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31397 if (SWIG_arg_fail(1)) SWIG_fail
;
31399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31400 result
= (bool)(arg1
)->PageUp();
31402 wxPyEndAllowThreads(__tstate
);
31403 if (PyErr_Occurred()) SWIG_fail
;
31406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31414 static PyObject
*_wrap_wxWindow_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31415 PyObject
*resultobj
;
31416 wxWindow
*arg1
= (wxWindow
*) 0 ;
31418 PyObject
* obj0
= 0 ;
31419 char *kwnames
[] = {
31420 (char *) "self", NULL
31423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_PageDown",kwnames
,&obj0
)) goto fail
;
31424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31425 if (SWIG_arg_fail(1)) SWIG_fail
;
31427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31428 result
= (bool)(arg1
)->PageDown();
31430 wxPyEndAllowThreads(__tstate
);
31431 if (PyErr_Occurred()) SWIG_fail
;
31434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31442 static PyObject
*_wrap_wxWindow_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31443 PyObject
*resultobj
;
31444 wxWindow
*arg1
= (wxWindow
*) 0 ;
31445 wxString
*arg2
= 0 ;
31446 bool temp2
= false ;
31447 PyObject
* obj0
= 0 ;
31448 PyObject
* obj1
= 0 ;
31449 char *kwnames
[] = {
31450 (char *) "self",(char *) "text", NULL
31453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
31454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31455 if (SWIG_arg_fail(1)) SWIG_fail
;
31457 arg2
= wxString_in_helper(obj1
);
31458 if (arg2
== NULL
) SWIG_fail
;
31462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31463 (arg1
)->SetHelpText((wxString
const &)*arg2
);
31465 wxPyEndAllowThreads(__tstate
);
31466 if (PyErr_Occurred()) SWIG_fail
;
31468 Py_INCREF(Py_None
); resultobj
= Py_None
;
31483 static PyObject
*_wrap_wxWindow_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31484 PyObject
*resultobj
;
31485 wxWindow
*arg1
= (wxWindow
*) 0 ;
31486 wxString
*arg2
= 0 ;
31487 bool temp2
= false ;
31488 PyObject
* obj0
= 0 ;
31489 PyObject
* obj1
= 0 ;
31490 char *kwnames
[] = {
31491 (char *) "self",(char *) "text", NULL
31494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
31495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31496 if (SWIG_arg_fail(1)) SWIG_fail
;
31498 arg2
= wxString_in_helper(obj1
);
31499 if (arg2
== NULL
) SWIG_fail
;
31503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31504 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
31506 wxPyEndAllowThreads(__tstate
);
31507 if (PyErr_Occurred()) SWIG_fail
;
31509 Py_INCREF(Py_None
); resultobj
= Py_None
;
31524 static PyObject
*_wrap_wxWindow_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31525 PyObject
*resultobj
;
31526 wxWindow
*arg1
= (wxWindow
*) 0 ;
31528 PyObject
* obj0
= 0 ;
31529 char *kwnames
[] = {
31530 (char *) "self", NULL
31533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetHelpText",kwnames
,&obj0
)) goto fail
;
31534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31535 if (SWIG_arg_fail(1)) SWIG_fail
;
31537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31538 result
= ((wxWindow
const *)arg1
)->GetHelpText();
31540 wxPyEndAllowThreads(__tstate
);
31541 if (PyErr_Occurred()) SWIG_fail
;
31545 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31547 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31556 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31557 PyObject
*resultobj
;
31558 wxWindow
*arg1
= (wxWindow
*) 0 ;
31559 wxString
*arg2
= 0 ;
31560 bool temp2
= false ;
31561 PyObject
* obj0
= 0 ;
31562 PyObject
* obj1
= 0 ;
31563 char *kwnames
[] = {
31564 (char *) "self",(char *) "tip", NULL
31567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
31568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31569 if (SWIG_arg_fail(1)) SWIG_fail
;
31571 arg2
= wxString_in_helper(obj1
);
31572 if (arg2
== NULL
) SWIG_fail
;
31576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31577 (arg1
)->SetToolTip((wxString
const &)*arg2
);
31579 wxPyEndAllowThreads(__tstate
);
31580 if (PyErr_Occurred()) SWIG_fail
;
31582 Py_INCREF(Py_None
); resultobj
= Py_None
;
31597 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31598 PyObject
*resultobj
;
31599 wxWindow
*arg1
= (wxWindow
*) 0 ;
31600 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
31601 PyObject
* obj0
= 0 ;
31602 PyObject
* obj1
= 0 ;
31603 char *kwnames
[] = {
31604 (char *) "self",(char *) "tip", NULL
31607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
31608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31609 if (SWIG_arg_fail(1)) SWIG_fail
;
31610 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
31611 if (SWIG_arg_fail(2)) SWIG_fail
;
31613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31614 (arg1
)->SetToolTip(arg2
);
31616 wxPyEndAllowThreads(__tstate
);
31617 if (PyErr_Occurred()) SWIG_fail
;
31619 Py_INCREF(Py_None
); resultobj
= Py_None
;
31626 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31627 PyObject
*resultobj
;
31628 wxWindow
*arg1
= (wxWindow
*) 0 ;
31630 PyObject
* obj0
= 0 ;
31631 char *kwnames
[] = {
31632 (char *) "self", NULL
31635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetToolTip",kwnames
,&obj0
)) goto fail
;
31636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31637 if (SWIG_arg_fail(1)) SWIG_fail
;
31639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31640 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
31642 wxPyEndAllowThreads(__tstate
);
31643 if (PyErr_Occurred()) SWIG_fail
;
31646 resultobj
= wxPyMake_wxObject(result
, 0);
31654 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31655 PyObject
*resultobj
;
31656 wxWindow
*arg1
= (wxWindow
*) 0 ;
31657 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
31658 PyObject
* obj0
= 0 ;
31659 PyObject
* obj1
= 0 ;
31660 char *kwnames
[] = {
31661 (char *) "self",(char *) "dropTarget", NULL
31664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
31665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31666 if (SWIG_arg_fail(1)) SWIG_fail
;
31667 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31668 if (SWIG_arg_fail(2)) SWIG_fail
;
31670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31671 (arg1
)->SetDropTarget(arg2
);
31673 wxPyEndAllowThreads(__tstate
);
31674 if (PyErr_Occurred()) SWIG_fail
;
31676 Py_INCREF(Py_None
); resultobj
= Py_None
;
31683 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31684 PyObject
*resultobj
;
31685 wxWindow
*arg1
= (wxWindow
*) 0 ;
31686 wxPyDropTarget
*result
;
31687 PyObject
* obj0
= 0 ;
31688 char *kwnames
[] = {
31689 (char *) "self", NULL
31692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetDropTarget",kwnames
,&obj0
)) goto fail
;
31693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31694 if (SWIG_arg_fail(1)) SWIG_fail
;
31696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31697 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
31699 wxPyEndAllowThreads(__tstate
);
31700 if (PyErr_Occurred()) SWIG_fail
;
31702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
31709 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31710 PyObject
*resultobj
;
31711 wxWindow
*arg1
= (wxWindow
*) 0 ;
31712 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
31713 PyObject
* obj0
= 0 ;
31714 PyObject
* obj1
= 0 ;
31715 char *kwnames
[] = {
31716 (char *) "self",(char *) "constraints", NULL
31719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
31720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31721 if (SWIG_arg_fail(1)) SWIG_fail
;
31722 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
31723 if (SWIG_arg_fail(2)) SWIG_fail
;
31725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31726 (arg1
)->SetConstraints(arg2
);
31728 wxPyEndAllowThreads(__tstate
);
31729 if (PyErr_Occurred()) SWIG_fail
;
31731 Py_INCREF(Py_None
); resultobj
= Py_None
;
31738 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31739 PyObject
*resultobj
;
31740 wxWindow
*arg1
= (wxWindow
*) 0 ;
31741 wxLayoutConstraints
*result
;
31742 PyObject
* obj0
= 0 ;
31743 char *kwnames
[] = {
31744 (char *) "self", NULL
31747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetConstraints",kwnames
,&obj0
)) goto fail
;
31748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31749 if (SWIG_arg_fail(1)) SWIG_fail
;
31751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31752 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
31754 wxPyEndAllowThreads(__tstate
);
31755 if (PyErr_Occurred()) SWIG_fail
;
31757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
31764 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31765 PyObject
*resultobj
;
31766 wxWindow
*arg1
= (wxWindow
*) 0 ;
31768 PyObject
* obj0
= 0 ;
31769 PyObject
* obj1
= 0 ;
31770 char *kwnames
[] = {
31771 (char *) "self",(char *) "autoLayout", NULL
31774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
31775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31776 if (SWIG_arg_fail(1)) SWIG_fail
;
31778 arg2
= (bool)(SWIG_As_bool(obj1
));
31779 if (SWIG_arg_fail(2)) SWIG_fail
;
31782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31783 (arg1
)->SetAutoLayout(arg2
);
31785 wxPyEndAllowThreads(__tstate
);
31786 if (PyErr_Occurred()) SWIG_fail
;
31788 Py_INCREF(Py_None
); resultobj
= Py_None
;
31795 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31796 PyObject
*resultobj
;
31797 wxWindow
*arg1
= (wxWindow
*) 0 ;
31799 PyObject
* obj0
= 0 ;
31800 char *kwnames
[] = {
31801 (char *) "self", NULL
31804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
31805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31806 if (SWIG_arg_fail(1)) SWIG_fail
;
31808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31809 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
31811 wxPyEndAllowThreads(__tstate
);
31812 if (PyErr_Occurred()) SWIG_fail
;
31815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31823 static PyObject
*_wrap_wxWindow_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31824 PyObject
*resultobj
;
31825 wxWindow
*arg1
= (wxWindow
*) 0 ;
31827 PyObject
* obj0
= 0 ;
31828 char *kwnames
[] = {
31829 (char *) "self", NULL
31832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_Layout",kwnames
,&obj0
)) goto fail
;
31833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31834 if (SWIG_arg_fail(1)) SWIG_fail
;
31836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31837 result
= (bool)(arg1
)->Layout();
31839 wxPyEndAllowThreads(__tstate
);
31840 if (PyErr_Occurred()) SWIG_fail
;
31843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31851 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31852 PyObject
*resultobj
;
31853 wxWindow
*arg1
= (wxWindow
*) 0 ;
31854 wxSizer
*arg2
= (wxSizer
*) 0 ;
31855 bool arg3
= (bool) true ;
31856 PyObject
* obj0
= 0 ;
31857 PyObject
* obj1
= 0 ;
31858 PyObject
* obj2
= 0 ;
31859 char *kwnames
[] = {
31860 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:wxWindow_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31865 if (SWIG_arg_fail(1)) SWIG_fail
;
31866 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31867 if (SWIG_arg_fail(2)) SWIG_fail
;
31870 arg3
= (bool)(SWIG_As_bool(obj2
));
31871 if (SWIG_arg_fail(3)) SWIG_fail
;
31875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31876 (arg1
)->SetSizer(arg2
,arg3
);
31878 wxPyEndAllowThreads(__tstate
);
31879 if (PyErr_Occurred()) SWIG_fail
;
31881 Py_INCREF(Py_None
); resultobj
= Py_None
;
31888 static PyObject
*_wrap_wxWindow_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31889 PyObject
*resultobj
;
31890 wxWindow
*arg1
= (wxWindow
*) 0 ;
31891 wxSizer
*arg2
= (wxSizer
*) 0 ;
31892 bool arg3
= (bool) true ;
31893 PyObject
* obj0
= 0 ;
31894 PyObject
* obj1
= 0 ;
31895 PyObject
* obj2
= 0 ;
31896 char *kwnames
[] = {
31897 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:wxWindow_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31902 if (SWIG_arg_fail(1)) SWIG_fail
;
31903 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31904 if (SWIG_arg_fail(2)) SWIG_fail
;
31907 arg3
= (bool)(SWIG_As_bool(obj2
));
31908 if (SWIG_arg_fail(3)) SWIG_fail
;
31912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31913 (arg1
)->SetSizerAndFit(arg2
,arg3
);
31915 wxPyEndAllowThreads(__tstate
);
31916 if (PyErr_Occurred()) SWIG_fail
;
31918 Py_INCREF(Py_None
); resultobj
= Py_None
;
31925 static PyObject
*_wrap_wxWindow_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31926 PyObject
*resultobj
;
31927 wxWindow
*arg1
= (wxWindow
*) 0 ;
31929 PyObject
* obj0
= 0 ;
31930 char *kwnames
[] = {
31931 (char *) "self", NULL
31934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetSizer",kwnames
,&obj0
)) goto fail
;
31935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31936 if (SWIG_arg_fail(1)) SWIG_fail
;
31938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31939 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
31941 wxPyEndAllowThreads(__tstate
);
31942 if (PyErr_Occurred()) SWIG_fail
;
31945 resultobj
= wxPyMake_wxSizer(result
, 0);
31953 static PyObject
*_wrap_wxWindow_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31954 PyObject
*resultobj
;
31955 wxWindow
*arg1
= (wxWindow
*) 0 ;
31956 wxSizer
*arg2
= (wxSizer
*) 0 ;
31957 PyObject
* obj0
= 0 ;
31958 PyObject
* obj1
= 0 ;
31959 char *kwnames
[] = {
31960 (char *) "self",(char *) "sizer", NULL
31963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
31964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31965 if (SWIG_arg_fail(1)) SWIG_fail
;
31966 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31967 if (SWIG_arg_fail(2)) SWIG_fail
;
31969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31970 (arg1
)->SetContainingSizer(arg2
);
31972 wxPyEndAllowThreads(__tstate
);
31973 if (PyErr_Occurred()) SWIG_fail
;
31975 Py_INCREF(Py_None
); resultobj
= Py_None
;
31982 static PyObject
*_wrap_wxWindow_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31983 PyObject
*resultobj
;
31984 wxWindow
*arg1
= (wxWindow
*) 0 ;
31986 PyObject
* obj0
= 0 ;
31987 char *kwnames
[] = {
31988 (char *) "self", NULL
31991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
31992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31993 if (SWIG_arg_fail(1)) SWIG_fail
;
31995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31996 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
31998 wxPyEndAllowThreads(__tstate
);
31999 if (PyErr_Occurred()) SWIG_fail
;
32002 resultobj
= wxPyMake_wxSizer(result
, 0);
32010 static PyObject
*_wrap_wxWindow_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32011 PyObject
*resultobj
;
32012 wxWindow
*arg1
= (wxWindow
*) 0 ;
32013 PyObject
* obj0
= 0 ;
32014 char *kwnames
[] = {
32015 (char *) "self", NULL
32018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_InheritAttributes",kwnames
,&obj0
)) goto fail
;
32019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32020 if (SWIG_arg_fail(1)) SWIG_fail
;
32022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32023 (arg1
)->InheritAttributes();
32025 wxPyEndAllowThreads(__tstate
);
32026 if (PyErr_Occurred()) SWIG_fail
;
32028 Py_INCREF(Py_None
); resultobj
= Py_None
;
32035 static PyObject
*_wrap_wxWindow_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32036 PyObject
*resultobj
;
32037 wxWindow
*arg1
= (wxWindow
*) 0 ;
32039 PyObject
* obj0
= 0 ;
32040 char *kwnames
[] = {
32041 (char *) "self", NULL
32044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxWindow_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32046 if (SWIG_arg_fail(1)) SWIG_fail
;
32048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32049 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
32051 wxPyEndAllowThreads(__tstate
);
32052 if (PyErr_Occurred()) SWIG_fail
;
32055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32063 static PyObject
* wxWindow_swigregister(PyObject
*, PyObject
*args
) {
32065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32066 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
32068 return Py_BuildValue((char *)"");
32070 static PyObject
*_wrap_wxFindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32071 PyObject
*resultobj
;
32073 wxWindow
*arg2
= (wxWindow
*) NULL
;
32075 PyObject
* obj0
= 0 ;
32076 PyObject
* obj1
= 0 ;
32077 char *kwnames
[] = {
32078 (char *) "id",(char *) "parent", NULL
32081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:wxFindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
32083 arg1
= (long)(SWIG_As_long(obj0
));
32084 if (SWIG_arg_fail(1)) SWIG_fail
;
32087 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32088 if (SWIG_arg_fail(2)) SWIG_fail
;
32091 if (!wxPyCheckForApp()) SWIG_fail
;
32092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32093 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
32095 wxPyEndAllowThreads(__tstate
);
32096 if (PyErr_Occurred()) SWIG_fail
;
32099 resultobj
= wxPyMake_wxObject(result
, 0);
32107 static PyObject
*_wrap_wxFindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32108 PyObject
*resultobj
;
32109 wxString
*arg1
= 0 ;
32110 wxWindow
*arg2
= (wxWindow
*) NULL
;
32112 bool temp1
= false ;
32113 PyObject
* obj0
= 0 ;
32114 PyObject
* obj1
= 0 ;
32115 char *kwnames
[] = {
32116 (char *) "name",(char *) "parent", NULL
32119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:wxFindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
32121 arg1
= wxString_in_helper(obj0
);
32122 if (arg1
== NULL
) SWIG_fail
;
32126 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32127 if (SWIG_arg_fail(2)) SWIG_fail
;
32130 if (!wxPyCheckForApp()) SWIG_fail
;
32131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32132 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32134 wxPyEndAllowThreads(__tstate
);
32135 if (PyErr_Occurred()) SWIG_fail
;
32138 resultobj
= wxPyMake_wxObject(result
, 0);
32154 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32155 PyObject
*resultobj
;
32156 wxString
*arg1
= 0 ;
32157 wxWindow
*arg2
= (wxWindow
*) NULL
;
32159 bool temp1
= false ;
32160 PyObject
* obj0
= 0 ;
32161 PyObject
* obj1
= 0 ;
32162 char *kwnames
[] = {
32163 (char *) "label",(char *) "parent", NULL
32166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:wxFindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32168 arg1
= wxString_in_helper(obj0
);
32169 if (arg1
== NULL
) SWIG_fail
;
32173 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32174 if (SWIG_arg_fail(2)) SWIG_fail
;
32177 if (!wxPyCheckForApp()) SWIG_fail
;
32178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32179 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32181 wxPyEndAllowThreads(__tstate
);
32182 if (PyErr_Occurred()) SWIG_fail
;
32185 resultobj
= wxPyMake_wxObject(result
, 0);
32201 static PyObject
*_wrap_wxWindow_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32202 PyObject
*resultobj
;
32203 wxWindow
*arg1
= (wxWindow
*) 0 ;
32204 unsigned long arg2
;
32206 PyObject
* obj0
= 0 ;
32207 PyObject
* obj1
= 0 ;
32208 char *kwnames
[] = {
32209 (char *) "parent",(char *) "_hWnd", NULL
32212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxWindow_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
32213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32214 if (SWIG_arg_fail(1)) SWIG_fail
;
32216 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
32217 if (SWIG_arg_fail(2)) SWIG_fail
;
32220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32221 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
32223 wxPyEndAllowThreads(__tstate
);
32224 if (PyErr_Occurred()) SWIG_fail
;
32227 resultobj
= wxPyMake_wxObject(result
, 0);
32235 static PyObject
*_wrap_new_wxValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32236 PyObject
*resultobj
;
32237 wxValidator
*result
;
32238 char *kwnames
[] = {
32242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_wxValidator",kwnames
)) goto fail
;
32244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32245 result
= (wxValidator
*)new wxValidator();
32247 wxPyEndAllowThreads(__tstate
);
32248 if (PyErr_Occurred()) SWIG_fail
;
32250 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
32257 static PyObject
*_wrap_wxValidator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32258 PyObject
*resultobj
;
32259 wxValidator
*arg1
= (wxValidator
*) 0 ;
32260 wxValidator
*result
;
32261 PyObject
* obj0
= 0 ;
32262 char *kwnames
[] = {
32263 (char *) "self", NULL
32266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxValidator_Clone",kwnames
,&obj0
)) goto fail
;
32267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32268 if (SWIG_arg_fail(1)) SWIG_fail
;
32270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32271 result
= (wxValidator
*)(arg1
)->Clone();
32273 wxPyEndAllowThreads(__tstate
);
32274 if (PyErr_Occurred()) SWIG_fail
;
32277 resultobj
= wxPyMake_wxObject(result
, 0);
32285 static PyObject
*_wrap_wxValidator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32286 PyObject
*resultobj
;
32287 wxValidator
*arg1
= (wxValidator
*) 0 ;
32288 wxWindow
*arg2
= (wxWindow
*) 0 ;
32290 PyObject
* obj0
= 0 ;
32291 PyObject
* obj1
= 0 ;
32292 char *kwnames
[] = {
32293 (char *) "self",(char *) "parent", NULL
32296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxValidator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
32297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32298 if (SWIG_arg_fail(1)) SWIG_fail
;
32299 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32300 if (SWIG_arg_fail(2)) SWIG_fail
;
32302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32303 result
= (bool)(arg1
)->Validate(arg2
);
32305 wxPyEndAllowThreads(__tstate
);
32306 if (PyErr_Occurred()) SWIG_fail
;
32309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32317 static PyObject
*_wrap_wxValidator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32318 PyObject
*resultobj
;
32319 wxValidator
*arg1
= (wxValidator
*) 0 ;
32321 PyObject
* obj0
= 0 ;
32322 char *kwnames
[] = {
32323 (char *) "self", NULL
32326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxValidator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
32327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32328 if (SWIG_arg_fail(1)) SWIG_fail
;
32330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32331 result
= (bool)(arg1
)->TransferToWindow();
32333 wxPyEndAllowThreads(__tstate
);
32334 if (PyErr_Occurred()) SWIG_fail
;
32337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32345 static PyObject
*_wrap_wxValidator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32346 PyObject
*resultobj
;
32347 wxValidator
*arg1
= (wxValidator
*) 0 ;
32349 PyObject
* obj0
= 0 ;
32350 char *kwnames
[] = {
32351 (char *) "self", NULL
32354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxValidator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
32355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32356 if (SWIG_arg_fail(1)) SWIG_fail
;
32358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32359 result
= (bool)(arg1
)->TransferFromWindow();
32361 wxPyEndAllowThreads(__tstate
);
32362 if (PyErr_Occurred()) SWIG_fail
;
32365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32373 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32374 PyObject
*resultobj
;
32375 wxValidator
*arg1
= (wxValidator
*) 0 ;
32377 PyObject
* obj0
= 0 ;
32378 char *kwnames
[] = {
32379 (char *) "self", NULL
32382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxValidator_GetWindow",kwnames
,&obj0
)) goto fail
;
32383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32384 if (SWIG_arg_fail(1)) SWIG_fail
;
32386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32387 result
= (wxWindow
*)(arg1
)->GetWindow();
32389 wxPyEndAllowThreads(__tstate
);
32390 if (PyErr_Occurred()) SWIG_fail
;
32393 resultobj
= wxPyMake_wxObject(result
, 0);
32401 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32402 PyObject
*resultobj
;
32403 wxValidator
*arg1
= (wxValidator
*) 0 ;
32404 wxWindow
*arg2
= (wxWindow
*) 0 ;
32405 PyObject
* obj0
= 0 ;
32406 PyObject
* obj1
= 0 ;
32407 char *kwnames
[] = {
32408 (char *) "self",(char *) "window", NULL
32411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxValidator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
32412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32413 if (SWIG_arg_fail(1)) SWIG_fail
;
32414 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32415 if (SWIG_arg_fail(2)) SWIG_fail
;
32417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32418 (arg1
)->SetWindow(arg2
);
32420 wxPyEndAllowThreads(__tstate
);
32421 if (PyErr_Occurred()) SWIG_fail
;
32423 Py_INCREF(Py_None
); resultobj
= Py_None
;
32430 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32431 PyObject
*resultobj
;
32433 char *kwnames
[] = {
32437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":wxValidator_IsSilent",kwnames
)) goto fail
;
32439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32440 result
= (bool)wxValidator::IsSilent();
32442 wxPyEndAllowThreads(__tstate
);
32443 if (PyErr_Occurred()) SWIG_fail
;
32446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32454 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32455 PyObject
*resultobj
;
32456 int arg1
= (int) true ;
32457 PyObject
* obj0
= 0 ;
32458 char *kwnames
[] = {
32459 (char *) "doIt", NULL
32462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:wxValidator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
32465 arg1
= (int)(SWIG_As_int(obj0
));
32466 if (SWIG_arg_fail(1)) SWIG_fail
;
32470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32471 wxValidator::SetBellOnError(arg1
);
32473 wxPyEndAllowThreads(__tstate
);
32474 if (PyErr_Occurred()) SWIG_fail
;
32476 Py_INCREF(Py_None
); resultobj
= Py_None
;
32483 static PyObject
* wxValidator_swigregister(PyObject
*, PyObject
*args
) {
32485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32486 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
32488 return Py_BuildValue((char *)"");
32490 static PyObject
*_wrap_new_wxPyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32491 PyObject
*resultobj
;
32492 wxPyValidator
*result
;
32493 char *kwnames
[] = {
32497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_wxPyValidator",kwnames
)) goto fail
;
32499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32500 result
= (wxPyValidator
*)new wxPyValidator();
32502 wxPyEndAllowThreads(__tstate
);
32503 if (PyErr_Occurred()) SWIG_fail
;
32505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
32512 static PyObject
*_wrap_wxPyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32513 PyObject
*resultobj
;
32514 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
32515 PyObject
*arg2
= (PyObject
*) 0 ;
32516 PyObject
*arg3
= (PyObject
*) 0 ;
32517 int arg4
= (int) true ;
32518 PyObject
* obj0
= 0 ;
32519 PyObject
* obj1
= 0 ;
32520 PyObject
* obj2
= 0 ;
32521 PyObject
* obj3
= 0 ;
32522 char *kwnames
[] = {
32523 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:wxPyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
32528 if (SWIG_arg_fail(1)) SWIG_fail
;
32533 arg4
= (int)(SWIG_As_int(obj3
));
32534 if (SWIG_arg_fail(4)) SWIG_fail
;
32538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32539 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32541 wxPyEndAllowThreads(__tstate
);
32542 if (PyErr_Occurred()) SWIG_fail
;
32544 Py_INCREF(Py_None
); resultobj
= Py_None
;
32551 static PyObject
* wxPyValidator_swigregister(PyObject
*, PyObject
*args
) {
32553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32554 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
32556 return Py_BuildValue((char *)"");
32558 static int _wrap_wxDefaultValidator_set(PyObject
*) {
32559 PyErr_SetString(PyExc_TypeError
,"Variable wxDefaultValidator is read-only.");
32564 static PyObject
*_wrap_wxDefaultValidator_get(void) {
32567 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
32572 static PyObject
*_wrap_new_wxMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32573 PyObject
*resultobj
;
32574 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32575 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32576 long arg2
= (long) 0 ;
32578 bool temp1
= false ;
32579 PyObject
* obj0
= 0 ;
32580 PyObject
* obj1
= 0 ;
32581 char *kwnames
[] = {
32582 (char *) "title",(char *) "style", NULL
32585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_wxMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32588 arg1
= wxString_in_helper(obj0
);
32589 if (arg1
== NULL
) SWIG_fail
;
32595 arg2
= (long)(SWIG_As_long(obj1
));
32596 if (SWIG_arg_fail(2)) SWIG_fail
;
32600 if (!wxPyCheckForApp()) SWIG_fail
;
32601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32602 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
32604 wxPyEndAllowThreads(__tstate
);
32605 if (PyErr_Occurred()) SWIG_fail
;
32607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
32622 static PyObject
*_wrap_wxMenu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32623 PyObject
*resultobj
;
32624 wxMenu
*arg1
= (wxMenu
*) 0 ;
32626 wxString
*arg3
= 0 ;
32627 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32628 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32629 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32630 wxMenuItem
*result
;
32631 bool temp3
= false ;
32632 bool temp4
= false ;
32633 PyObject
* obj0
= 0 ;
32634 PyObject
* obj1
= 0 ;
32635 PyObject
* obj2
= 0 ;
32636 PyObject
* obj3
= 0 ;
32637 PyObject
* obj4
= 0 ;
32638 char *kwnames
[] = {
32639 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:wxMenu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32644 if (SWIG_arg_fail(1)) SWIG_fail
;
32646 arg2
= (int)(SWIG_As_int(obj1
));
32647 if (SWIG_arg_fail(2)) SWIG_fail
;
32650 arg3
= wxString_in_helper(obj2
);
32651 if (arg3
== NULL
) SWIG_fail
;
32656 arg4
= wxString_in_helper(obj3
);
32657 if (arg4
== NULL
) SWIG_fail
;
32663 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32664 if (SWIG_arg_fail(5)) SWIG_fail
;
32668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32669 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32671 wxPyEndAllowThreads(__tstate
);
32672 if (PyErr_Occurred()) SWIG_fail
;
32675 resultobj
= wxPyMake_wxObject(result
, 0);
32699 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32700 PyObject
*resultobj
;
32701 wxMenu
*arg1
= (wxMenu
*) 0 ;
32702 wxMenuItem
*result
;
32703 PyObject
* obj0
= 0 ;
32704 char *kwnames
[] = {
32705 (char *) "self", NULL
32708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
32709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32710 if (SWIG_arg_fail(1)) SWIG_fail
;
32712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32713 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
32715 wxPyEndAllowThreads(__tstate
);
32716 if (PyErr_Occurred()) SWIG_fail
;
32719 resultobj
= wxPyMake_wxObject(result
, 0);
32727 static PyObject
*_wrap_wxMenu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32728 PyObject
*resultobj
;
32729 wxMenu
*arg1
= (wxMenu
*) 0 ;
32731 wxString
*arg3
= 0 ;
32732 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32733 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32734 wxMenuItem
*result
;
32735 bool temp3
= false ;
32736 bool temp4
= false ;
32737 PyObject
* obj0
= 0 ;
32738 PyObject
* obj1
= 0 ;
32739 PyObject
* obj2
= 0 ;
32740 PyObject
* obj3
= 0 ;
32741 char *kwnames
[] = {
32742 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:wxMenu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32747 if (SWIG_arg_fail(1)) SWIG_fail
;
32749 arg2
= (int)(SWIG_As_int(obj1
));
32750 if (SWIG_arg_fail(2)) SWIG_fail
;
32753 arg3
= wxString_in_helper(obj2
);
32754 if (arg3
== NULL
) SWIG_fail
;
32759 arg4
= wxString_in_helper(obj3
);
32760 if (arg4
== NULL
) SWIG_fail
;
32765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32766 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32768 wxPyEndAllowThreads(__tstate
);
32769 if (PyErr_Occurred()) SWIG_fail
;
32772 resultobj
= wxPyMake_wxObject(result
, 0);
32796 static PyObject
*_wrap_wxMenu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32797 PyObject
*resultobj
;
32798 wxMenu
*arg1
= (wxMenu
*) 0 ;
32800 wxString
*arg3
= 0 ;
32801 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32802 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32803 wxMenuItem
*result
;
32804 bool temp3
= false ;
32805 bool temp4
= false ;
32806 PyObject
* obj0
= 0 ;
32807 PyObject
* obj1
= 0 ;
32808 PyObject
* obj2
= 0 ;
32809 PyObject
* obj3
= 0 ;
32810 char *kwnames
[] = {
32811 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:wxMenu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32816 if (SWIG_arg_fail(1)) SWIG_fail
;
32818 arg2
= (int)(SWIG_As_int(obj1
));
32819 if (SWIG_arg_fail(2)) SWIG_fail
;
32822 arg3
= wxString_in_helper(obj2
);
32823 if (arg3
== NULL
) SWIG_fail
;
32828 arg4
= wxString_in_helper(obj3
);
32829 if (arg4
== NULL
) SWIG_fail
;
32834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32835 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32837 wxPyEndAllowThreads(__tstate
);
32838 if (PyErr_Occurred()) SWIG_fail
;
32841 resultobj
= wxPyMake_wxObject(result
, 0);
32865 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32866 PyObject
*resultobj
;
32867 wxMenu
*arg1
= (wxMenu
*) 0 ;
32869 wxString
*arg3
= 0 ;
32870 wxMenu
*arg4
= (wxMenu
*) 0 ;
32871 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32872 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32873 wxMenuItem
*result
;
32874 bool temp3
= false ;
32875 bool temp5
= false ;
32876 PyObject
* obj0
= 0 ;
32877 PyObject
* obj1
= 0 ;
32878 PyObject
* obj2
= 0 ;
32879 PyObject
* obj3
= 0 ;
32880 PyObject
* obj4
= 0 ;
32881 char *kwnames
[] = {
32882 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:wxMenu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32887 if (SWIG_arg_fail(1)) SWIG_fail
;
32889 arg2
= (int)(SWIG_As_int(obj1
));
32890 if (SWIG_arg_fail(2)) SWIG_fail
;
32893 arg3
= wxString_in_helper(obj2
);
32894 if (arg3
== NULL
) SWIG_fail
;
32897 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32898 if (SWIG_arg_fail(4)) SWIG_fail
;
32901 arg5
= wxString_in_helper(obj4
);
32902 if (arg5
== NULL
) SWIG_fail
;
32907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32908 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
32910 wxPyEndAllowThreads(__tstate
);
32911 if (PyErr_Occurred()) SWIG_fail
;
32914 resultobj
= wxPyMake_wxObject(result
, 0);
32938 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32939 PyObject
*resultobj
;
32940 wxMenu
*arg1
= (wxMenu
*) 0 ;
32941 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32942 wxMenuItem
*result
;
32943 PyObject
* obj0
= 0 ;
32944 PyObject
* obj1
= 0 ;
32945 char *kwnames
[] = {
32946 (char *) "self",(char *) "item", NULL
32949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32951 if (SWIG_arg_fail(1)) SWIG_fail
;
32952 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32953 if (SWIG_arg_fail(2)) SWIG_fail
;
32955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32956 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
32958 wxPyEndAllowThreads(__tstate
);
32959 if (PyErr_Occurred()) SWIG_fail
;
32962 resultobj
= wxPyMake_wxObject(result
, 0);
32970 static PyObject
*_wrap_wxMenu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32971 PyObject
*resultobj
;
32972 wxMenu
*arg1
= (wxMenu
*) 0 ;
32973 PyObject
* obj0
= 0 ;
32974 char *kwnames
[] = {
32975 (char *) "self", NULL
32978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenu_Break",kwnames
,&obj0
)) goto fail
;
32979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32980 if (SWIG_arg_fail(1)) SWIG_fail
;
32982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32985 wxPyEndAllowThreads(__tstate
);
32986 if (PyErr_Occurred()) SWIG_fail
;
32988 Py_INCREF(Py_None
); resultobj
= Py_None
;
32995 static PyObject
*_wrap_wxMenu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32996 PyObject
*resultobj
;
32997 wxMenu
*arg1
= (wxMenu
*) 0 ;
32999 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
33000 wxMenuItem
*result
;
33001 PyObject
* obj0
= 0 ;
33002 PyObject
* obj1
= 0 ;
33003 PyObject
* obj2
= 0 ;
33004 char *kwnames
[] = {
33005 (char *) "self",(char *) "pos",(char *) "item", NULL
33008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxMenu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33010 if (SWIG_arg_fail(1)) SWIG_fail
;
33012 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33013 if (SWIG_arg_fail(2)) SWIG_fail
;
33015 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33016 if (SWIG_arg_fail(3)) SWIG_fail
;
33018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33019 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
33021 wxPyEndAllowThreads(__tstate
);
33022 if (PyErr_Occurred()) SWIG_fail
;
33025 resultobj
= wxPyMake_wxObject(result
, 0);
33033 static PyObject
*_wrap_wxMenu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33034 PyObject
*resultobj
;
33035 wxMenu
*arg1
= (wxMenu
*) 0 ;
33038 wxString
*arg4
= 0 ;
33039 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33040 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33041 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
33042 wxMenuItem
*result
;
33043 bool temp4
= false ;
33044 bool temp5
= false ;
33045 PyObject
* obj0
= 0 ;
33046 PyObject
* obj1
= 0 ;
33047 PyObject
* obj2
= 0 ;
33048 PyObject
* obj3
= 0 ;
33049 PyObject
* obj4
= 0 ;
33050 PyObject
* obj5
= 0 ;
33051 char *kwnames
[] = {
33052 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:wxMenu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33057 if (SWIG_arg_fail(1)) SWIG_fail
;
33059 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33060 if (SWIG_arg_fail(2)) SWIG_fail
;
33063 arg3
= (int)(SWIG_As_int(obj2
));
33064 if (SWIG_arg_fail(3)) SWIG_fail
;
33067 arg4
= wxString_in_helper(obj3
);
33068 if (arg4
== NULL
) SWIG_fail
;
33073 arg5
= wxString_in_helper(obj4
);
33074 if (arg5
== NULL
) SWIG_fail
;
33080 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
33081 if (SWIG_arg_fail(6)) SWIG_fail
;
33085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33086 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
33088 wxPyEndAllowThreads(__tstate
);
33089 if (PyErr_Occurred()) SWIG_fail
;
33092 resultobj
= wxPyMake_wxObject(result
, 0);
33116 static PyObject
*_wrap_wxMenu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33117 PyObject
*resultobj
;
33118 wxMenu
*arg1
= (wxMenu
*) 0 ;
33120 wxMenuItem
*result
;
33121 PyObject
* obj0
= 0 ;
33122 PyObject
* obj1
= 0 ;
33123 char *kwnames
[] = {
33124 (char *) "self",(char *) "pos", NULL
33127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
33128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33129 if (SWIG_arg_fail(1)) SWIG_fail
;
33131 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33132 if (SWIG_arg_fail(2)) SWIG_fail
;
33135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33136 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
33138 wxPyEndAllowThreads(__tstate
);
33139 if (PyErr_Occurred()) SWIG_fail
;
33142 resultobj
= wxPyMake_wxObject(result
, 0);
33150 static PyObject
*_wrap_wxMenu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33151 PyObject
*resultobj
;
33152 wxMenu
*arg1
= (wxMenu
*) 0 ;
33155 wxString
*arg4
= 0 ;
33156 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33157 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33158 wxMenuItem
*result
;
33159 bool temp4
= false ;
33160 bool temp5
= false ;
33161 PyObject
* obj0
= 0 ;
33162 PyObject
* obj1
= 0 ;
33163 PyObject
* obj2
= 0 ;
33164 PyObject
* obj3
= 0 ;
33165 PyObject
* obj4
= 0 ;
33166 char *kwnames
[] = {
33167 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:wxMenu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33172 if (SWIG_arg_fail(1)) SWIG_fail
;
33174 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33175 if (SWIG_arg_fail(2)) SWIG_fail
;
33178 arg3
= (int)(SWIG_As_int(obj2
));
33179 if (SWIG_arg_fail(3)) SWIG_fail
;
33182 arg4
= wxString_in_helper(obj3
);
33183 if (arg4
== NULL
) SWIG_fail
;
33188 arg5
= wxString_in_helper(obj4
);
33189 if (arg5
== NULL
) SWIG_fail
;
33194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33195 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33197 wxPyEndAllowThreads(__tstate
);
33198 if (PyErr_Occurred()) SWIG_fail
;
33201 resultobj
= wxPyMake_wxObject(result
, 0);
33225 static PyObject
*_wrap_wxMenu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33226 PyObject
*resultobj
;
33227 wxMenu
*arg1
= (wxMenu
*) 0 ;
33230 wxString
*arg4
= 0 ;
33231 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33232 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33233 wxMenuItem
*result
;
33234 bool temp4
= false ;
33235 bool temp5
= false ;
33236 PyObject
* obj0
= 0 ;
33237 PyObject
* obj1
= 0 ;
33238 PyObject
* obj2
= 0 ;
33239 PyObject
* obj3
= 0 ;
33240 PyObject
* obj4
= 0 ;
33241 char *kwnames
[] = {
33242 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:wxMenu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33247 if (SWIG_arg_fail(1)) SWIG_fail
;
33249 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33250 if (SWIG_arg_fail(2)) SWIG_fail
;
33253 arg3
= (int)(SWIG_As_int(obj2
));
33254 if (SWIG_arg_fail(3)) SWIG_fail
;
33257 arg4
= wxString_in_helper(obj3
);
33258 if (arg4
== NULL
) SWIG_fail
;
33263 arg5
= wxString_in_helper(obj4
);
33264 if (arg5
== NULL
) SWIG_fail
;
33269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33270 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33272 wxPyEndAllowThreads(__tstate
);
33273 if (PyErr_Occurred()) SWIG_fail
;
33276 resultobj
= wxPyMake_wxObject(result
, 0);
33300 static PyObject
*_wrap_wxMenu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33301 PyObject
*resultobj
;
33302 wxMenu
*arg1
= (wxMenu
*) 0 ;
33305 wxString
*arg4
= 0 ;
33306 wxMenu
*arg5
= (wxMenu
*) 0 ;
33307 wxString
const &arg6_defvalue
= wxPyEmptyString
;
33308 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
33309 wxMenuItem
*result
;
33310 bool temp4
= false ;
33311 bool temp6
= false ;
33312 PyObject
* obj0
= 0 ;
33313 PyObject
* obj1
= 0 ;
33314 PyObject
* obj2
= 0 ;
33315 PyObject
* obj3
= 0 ;
33316 PyObject
* obj4
= 0 ;
33317 PyObject
* obj5
= 0 ;
33318 char *kwnames
[] = {
33319 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:wxMenu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33324 if (SWIG_arg_fail(1)) SWIG_fail
;
33326 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33327 if (SWIG_arg_fail(2)) SWIG_fail
;
33330 arg3
= (int)(SWIG_As_int(obj2
));
33331 if (SWIG_arg_fail(3)) SWIG_fail
;
33334 arg4
= wxString_in_helper(obj3
);
33335 if (arg4
== NULL
) SWIG_fail
;
33338 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33339 if (SWIG_arg_fail(5)) SWIG_fail
;
33342 arg6
= wxString_in_helper(obj5
);
33343 if (arg6
== NULL
) SWIG_fail
;
33348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33349 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
33351 wxPyEndAllowThreads(__tstate
);
33352 if (PyErr_Occurred()) SWIG_fail
;
33355 resultobj
= wxPyMake_wxObject(result
, 0);
33379 static PyObject
*_wrap_wxMenu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33380 PyObject
*resultobj
;
33381 wxMenu
*arg1
= (wxMenu
*) 0 ;
33382 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33383 wxMenuItem
*result
;
33384 PyObject
* obj0
= 0 ;
33385 PyObject
* obj1
= 0 ;
33386 char *kwnames
[] = {
33387 (char *) "self",(char *) "item", NULL
33390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33392 if (SWIG_arg_fail(1)) SWIG_fail
;
33393 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33394 if (SWIG_arg_fail(2)) SWIG_fail
;
33396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33397 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
33399 wxPyEndAllowThreads(__tstate
);
33400 if (PyErr_Occurred()) SWIG_fail
;
33403 resultobj
= wxPyMake_wxObject(result
, 0);
33411 static PyObject
*_wrap_wxMenu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33412 PyObject
*resultobj
;
33413 wxMenu
*arg1
= (wxMenu
*) 0 ;
33415 wxString
*arg3
= 0 ;
33416 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33417 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33418 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
33419 wxMenuItem
*result
;
33420 bool temp3
= false ;
33421 bool temp4
= false ;
33422 PyObject
* obj0
= 0 ;
33423 PyObject
* obj1
= 0 ;
33424 PyObject
* obj2
= 0 ;
33425 PyObject
* obj3
= 0 ;
33426 PyObject
* obj4
= 0 ;
33427 char *kwnames
[] = {
33428 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:wxMenu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33433 if (SWIG_arg_fail(1)) SWIG_fail
;
33435 arg2
= (int)(SWIG_As_int(obj1
));
33436 if (SWIG_arg_fail(2)) SWIG_fail
;
33439 arg3
= wxString_in_helper(obj2
);
33440 if (arg3
== NULL
) SWIG_fail
;
33445 arg4
= wxString_in_helper(obj3
);
33446 if (arg4
== NULL
) SWIG_fail
;
33452 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
33453 if (SWIG_arg_fail(5)) SWIG_fail
;
33457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33458 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
33460 wxPyEndAllowThreads(__tstate
);
33461 if (PyErr_Occurred()) SWIG_fail
;
33464 resultobj
= wxPyMake_wxObject(result
, 0);
33488 static PyObject
*_wrap_wxMenu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33489 PyObject
*resultobj
;
33490 wxMenu
*arg1
= (wxMenu
*) 0 ;
33491 wxMenuItem
*result
;
33492 PyObject
* obj0
= 0 ;
33493 char *kwnames
[] = {
33494 (char *) "self", NULL
33497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
33498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33499 if (SWIG_arg_fail(1)) SWIG_fail
;
33501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33502 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
33504 wxPyEndAllowThreads(__tstate
);
33505 if (PyErr_Occurred()) SWIG_fail
;
33508 resultobj
= wxPyMake_wxObject(result
, 0);
33516 static PyObject
*_wrap_wxMenu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33517 PyObject
*resultobj
;
33518 wxMenu
*arg1
= (wxMenu
*) 0 ;
33520 wxString
*arg3
= 0 ;
33521 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33522 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33523 wxMenuItem
*result
;
33524 bool temp3
= false ;
33525 bool temp4
= false ;
33526 PyObject
* obj0
= 0 ;
33527 PyObject
* obj1
= 0 ;
33528 PyObject
* obj2
= 0 ;
33529 PyObject
* obj3
= 0 ;
33530 char *kwnames
[] = {
33531 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:wxMenu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33536 if (SWIG_arg_fail(1)) SWIG_fail
;
33538 arg2
= (int)(SWIG_As_int(obj1
));
33539 if (SWIG_arg_fail(2)) SWIG_fail
;
33542 arg3
= wxString_in_helper(obj2
);
33543 if (arg3
== NULL
) SWIG_fail
;
33548 arg4
= wxString_in_helper(obj3
);
33549 if (arg4
== NULL
) SWIG_fail
;
33554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33555 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33557 wxPyEndAllowThreads(__tstate
);
33558 if (PyErr_Occurred()) SWIG_fail
;
33561 resultobj
= wxPyMake_wxObject(result
, 0);
33585 static PyObject
*_wrap_wxMenu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33586 PyObject
*resultobj
;
33587 wxMenu
*arg1
= (wxMenu
*) 0 ;
33589 wxString
*arg3
= 0 ;
33590 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33591 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33592 wxMenuItem
*result
;
33593 bool temp3
= false ;
33594 bool temp4
= false ;
33595 PyObject
* obj0
= 0 ;
33596 PyObject
* obj1
= 0 ;
33597 PyObject
* obj2
= 0 ;
33598 PyObject
* obj3
= 0 ;
33599 char *kwnames
[] = {
33600 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:wxMenu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33605 if (SWIG_arg_fail(1)) SWIG_fail
;
33607 arg2
= (int)(SWIG_As_int(obj1
));
33608 if (SWIG_arg_fail(2)) SWIG_fail
;
33611 arg3
= wxString_in_helper(obj2
);
33612 if (arg3
== NULL
) SWIG_fail
;
33617 arg4
= wxString_in_helper(obj3
);
33618 if (arg4
== NULL
) SWIG_fail
;
33623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33624 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33626 wxPyEndAllowThreads(__tstate
);
33627 if (PyErr_Occurred()) SWIG_fail
;
33630 resultobj
= wxPyMake_wxObject(result
, 0);
33654 static PyObject
*_wrap_wxMenu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33655 PyObject
*resultobj
;
33656 wxMenu
*arg1
= (wxMenu
*) 0 ;
33658 wxString
*arg3
= 0 ;
33659 wxMenu
*arg4
= (wxMenu
*) 0 ;
33660 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33661 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33662 wxMenuItem
*result
;
33663 bool temp3
= false ;
33664 bool temp5
= false ;
33665 PyObject
* obj0
= 0 ;
33666 PyObject
* obj1
= 0 ;
33667 PyObject
* obj2
= 0 ;
33668 PyObject
* obj3
= 0 ;
33669 PyObject
* obj4
= 0 ;
33670 char *kwnames
[] = {
33671 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:wxMenu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33676 if (SWIG_arg_fail(1)) SWIG_fail
;
33678 arg2
= (int)(SWIG_As_int(obj1
));
33679 if (SWIG_arg_fail(2)) SWIG_fail
;
33682 arg3
= wxString_in_helper(obj2
);
33683 if (arg3
== NULL
) SWIG_fail
;
33686 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33687 if (SWIG_arg_fail(4)) SWIG_fail
;
33690 arg5
= wxString_in_helper(obj4
);
33691 if (arg5
== NULL
) SWIG_fail
;
33696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33697 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33699 wxPyEndAllowThreads(__tstate
);
33700 if (PyErr_Occurred()) SWIG_fail
;
33703 resultobj
= wxPyMake_wxObject(result
, 0);
33727 static PyObject
*_wrap_wxMenu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33728 PyObject
*resultobj
;
33729 wxMenu
*arg1
= (wxMenu
*) 0 ;
33731 wxMenuItem
*result
;
33732 PyObject
* obj0
= 0 ;
33733 PyObject
* obj1
= 0 ;
33734 char *kwnames
[] = {
33735 (char *) "self",(char *) "id", NULL
33738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33740 if (SWIG_arg_fail(1)) SWIG_fail
;
33742 arg2
= (int)(SWIG_As_int(obj1
));
33743 if (SWIG_arg_fail(2)) SWIG_fail
;
33746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33747 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33749 wxPyEndAllowThreads(__tstate
);
33750 if (PyErr_Occurred()) SWIG_fail
;
33753 resultobj
= wxPyMake_wxObject(result
, 0);
33761 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33762 PyObject
*resultobj
;
33763 wxMenu
*arg1
= (wxMenu
*) 0 ;
33764 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33765 wxMenuItem
*result
;
33766 PyObject
* obj0
= 0 ;
33767 PyObject
* obj1
= 0 ;
33768 char *kwnames
[] = {
33769 (char *) "self",(char *) "item", NULL
33772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33774 if (SWIG_arg_fail(1)) SWIG_fail
;
33775 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33776 if (SWIG_arg_fail(2)) SWIG_fail
;
33778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33779 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33781 wxPyEndAllowThreads(__tstate
);
33782 if (PyErr_Occurred()) SWIG_fail
;
33785 resultobj
= wxPyMake_wxObject(result
, 0);
33793 static PyObject
*_wrap_wxMenu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33794 PyObject
*resultobj
;
33795 wxMenu
*arg1
= (wxMenu
*) 0 ;
33798 PyObject
* obj0
= 0 ;
33799 PyObject
* obj1
= 0 ;
33800 char *kwnames
[] = {
33801 (char *) "self",(char *) "id", NULL
33804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33806 if (SWIG_arg_fail(1)) SWIG_fail
;
33808 arg2
= (int)(SWIG_As_int(obj1
));
33809 if (SWIG_arg_fail(2)) SWIG_fail
;
33812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33813 result
= (bool)(arg1
)->Delete(arg2
);
33815 wxPyEndAllowThreads(__tstate
);
33816 if (PyErr_Occurred()) SWIG_fail
;
33819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33827 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33828 PyObject
*resultobj
;
33829 wxMenu
*arg1
= (wxMenu
*) 0 ;
33830 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33832 PyObject
* obj0
= 0 ;
33833 PyObject
* obj1
= 0 ;
33834 char *kwnames
[] = {
33835 (char *) "self",(char *) "item", NULL
33838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33840 if (SWIG_arg_fail(1)) SWIG_fail
;
33841 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33842 if (SWIG_arg_fail(2)) SWIG_fail
;
33844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33845 result
= (bool)(arg1
)->Delete(arg2
);
33847 wxPyEndAllowThreads(__tstate
);
33848 if (PyErr_Occurred()) SWIG_fail
;
33851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33859 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33860 PyObject
*resultobj
;
33861 wxMenu
*arg1
= (wxMenu
*) 0 ;
33862 PyObject
* obj0
= 0 ;
33863 char *kwnames
[] = {
33864 (char *) "self", NULL
33867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenu_Destroy",kwnames
,&obj0
)) goto fail
;
33868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33869 if (SWIG_arg_fail(1)) SWIG_fail
;
33871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33872 wxMenu_Destroy(arg1
);
33874 wxPyEndAllowThreads(__tstate
);
33875 if (PyErr_Occurred()) SWIG_fail
;
33877 Py_INCREF(Py_None
); resultobj
= Py_None
;
33884 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33885 PyObject
*resultobj
;
33886 wxMenu
*arg1
= (wxMenu
*) 0 ;
33889 PyObject
* obj0
= 0 ;
33890 PyObject
* obj1
= 0 ;
33891 char *kwnames
[] = {
33892 (char *) "self",(char *) "id", NULL
33895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
33896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33897 if (SWIG_arg_fail(1)) SWIG_fail
;
33899 arg2
= (int)(SWIG_As_int(obj1
));
33900 if (SWIG_arg_fail(2)) SWIG_fail
;
33903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33904 result
= (bool)(arg1
)->Destroy(arg2
);
33906 wxPyEndAllowThreads(__tstate
);
33907 if (PyErr_Occurred()) SWIG_fail
;
33910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33918 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33919 PyObject
*resultobj
;
33920 wxMenu
*arg1
= (wxMenu
*) 0 ;
33921 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33923 PyObject
* obj0
= 0 ;
33924 PyObject
* obj1
= 0 ;
33925 char *kwnames
[] = {
33926 (char *) "self",(char *) "item", NULL
33929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33931 if (SWIG_arg_fail(1)) SWIG_fail
;
33932 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33933 if (SWIG_arg_fail(2)) SWIG_fail
;
33935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33936 result
= (bool)(arg1
)->Destroy(arg2
);
33938 wxPyEndAllowThreads(__tstate
);
33939 if (PyErr_Occurred()) SWIG_fail
;
33942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33950 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33951 PyObject
*resultobj
;
33952 wxMenu
*arg1
= (wxMenu
*) 0 ;
33954 PyObject
* obj0
= 0 ;
33955 char *kwnames
[] = {
33956 (char *) "self", NULL
33959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
33960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33961 if (SWIG_arg_fail(1)) SWIG_fail
;
33963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33964 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
33966 wxPyEndAllowThreads(__tstate
);
33967 if (PyErr_Occurred()) SWIG_fail
;
33970 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
33978 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33979 PyObject
*resultobj
;
33980 wxMenu
*arg1
= (wxMenu
*) 0 ;
33982 PyObject
* obj0
= 0 ;
33983 char *kwnames
[] = {
33984 (char *) "self", NULL
33987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
33988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33989 if (SWIG_arg_fail(1)) SWIG_fail
;
33991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33992 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
33994 wxPyEndAllowThreads(__tstate
);
33995 if (PyErr_Occurred()) SWIG_fail
;
33997 resultobj
= result
;
34004 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34005 PyObject
*resultobj
;
34006 wxMenu
*arg1
= (wxMenu
*) 0 ;
34007 wxString
*arg2
= 0 ;
34009 bool temp2
= false ;
34010 PyObject
* obj0
= 0 ;
34011 PyObject
* obj1
= 0 ;
34012 char *kwnames
[] = {
34013 (char *) "self",(char *) "item", NULL
34016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34018 if (SWIG_arg_fail(1)) SWIG_fail
;
34020 arg2
= wxString_in_helper(obj1
);
34021 if (arg2
== NULL
) SWIG_fail
;
34025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34026 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
34028 wxPyEndAllowThreads(__tstate
);
34029 if (PyErr_Occurred()) SWIG_fail
;
34032 resultobj
= SWIG_From_int((int)(result
));
34048 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34049 PyObject
*resultobj
;
34050 wxMenu
*arg1
= (wxMenu
*) 0 ;
34052 wxMenuItem
*result
;
34053 PyObject
* obj0
= 0 ;
34054 PyObject
* obj1
= 0 ;
34055 char *kwnames
[] = {
34056 (char *) "self",(char *) "id", NULL
34059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34061 if (SWIG_arg_fail(1)) SWIG_fail
;
34063 arg2
= (int)(SWIG_As_int(obj1
));
34064 if (SWIG_arg_fail(2)) SWIG_fail
;
34067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34068 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
34070 wxPyEndAllowThreads(__tstate
);
34071 if (PyErr_Occurred()) SWIG_fail
;
34074 resultobj
= wxPyMake_wxObject(result
, 0);
34082 static PyObject
*_wrap_wxMenu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34083 PyObject
*resultobj
;
34084 wxMenu
*arg1
= (wxMenu
*) 0 ;
34086 wxMenuItem
*result
;
34087 PyObject
* obj0
= 0 ;
34088 PyObject
* obj1
= 0 ;
34089 char *kwnames
[] = {
34090 (char *) "self",(char *) "position", NULL
34093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
34094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34095 if (SWIG_arg_fail(1)) SWIG_fail
;
34097 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34098 if (SWIG_arg_fail(2)) SWIG_fail
;
34101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34102 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
34104 wxPyEndAllowThreads(__tstate
);
34105 if (PyErr_Occurred()) SWIG_fail
;
34108 resultobj
= wxPyMake_wxObject(result
, 0);
34116 static PyObject
*_wrap_wxMenu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34117 PyObject
*resultobj
;
34118 wxMenu
*arg1
= (wxMenu
*) 0 ;
34121 PyObject
* obj0
= 0 ;
34122 PyObject
* obj1
= 0 ;
34123 PyObject
* obj2
= 0 ;
34124 char *kwnames
[] = {
34125 (char *) "self",(char *) "id",(char *) "enable", NULL
34128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxMenu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34130 if (SWIG_arg_fail(1)) SWIG_fail
;
34132 arg2
= (int)(SWIG_As_int(obj1
));
34133 if (SWIG_arg_fail(2)) SWIG_fail
;
34136 arg3
= (bool)(SWIG_As_bool(obj2
));
34137 if (SWIG_arg_fail(3)) SWIG_fail
;
34140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34141 (arg1
)->Enable(arg2
,arg3
);
34143 wxPyEndAllowThreads(__tstate
);
34144 if (PyErr_Occurred()) SWIG_fail
;
34146 Py_INCREF(Py_None
); resultobj
= Py_None
;
34153 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34154 PyObject
*resultobj
;
34155 wxMenu
*arg1
= (wxMenu
*) 0 ;
34158 PyObject
* obj0
= 0 ;
34159 PyObject
* obj1
= 0 ;
34160 char *kwnames
[] = {
34161 (char *) "self",(char *) "id", NULL
34164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
34165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34166 if (SWIG_arg_fail(1)) SWIG_fail
;
34168 arg2
= (int)(SWIG_As_int(obj1
));
34169 if (SWIG_arg_fail(2)) SWIG_fail
;
34172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34173 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
34175 wxPyEndAllowThreads(__tstate
);
34176 if (PyErr_Occurred()) SWIG_fail
;
34179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34187 static PyObject
*_wrap_wxMenu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34188 PyObject
*resultobj
;
34189 wxMenu
*arg1
= (wxMenu
*) 0 ;
34192 PyObject
* obj0
= 0 ;
34193 PyObject
* obj1
= 0 ;
34194 PyObject
* obj2
= 0 ;
34195 char *kwnames
[] = {
34196 (char *) "self",(char *) "id",(char *) "check", NULL
34199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxMenu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34201 if (SWIG_arg_fail(1)) SWIG_fail
;
34203 arg2
= (int)(SWIG_As_int(obj1
));
34204 if (SWIG_arg_fail(2)) SWIG_fail
;
34207 arg3
= (bool)(SWIG_As_bool(obj2
));
34208 if (SWIG_arg_fail(3)) SWIG_fail
;
34211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34212 (arg1
)->Check(arg2
,arg3
);
34214 wxPyEndAllowThreads(__tstate
);
34215 if (PyErr_Occurred()) SWIG_fail
;
34217 Py_INCREF(Py_None
); resultobj
= Py_None
;
34224 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34225 PyObject
*resultobj
;
34226 wxMenu
*arg1
= (wxMenu
*) 0 ;
34229 PyObject
* obj0
= 0 ;
34230 PyObject
* obj1
= 0 ;
34231 char *kwnames
[] = {
34232 (char *) "self",(char *) "id", NULL
34235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
34236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34237 if (SWIG_arg_fail(1)) SWIG_fail
;
34239 arg2
= (int)(SWIG_As_int(obj1
));
34240 if (SWIG_arg_fail(2)) SWIG_fail
;
34243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34244 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
34246 wxPyEndAllowThreads(__tstate
);
34247 if (PyErr_Occurred()) SWIG_fail
;
34250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34258 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34259 PyObject
*resultobj
;
34260 wxMenu
*arg1
= (wxMenu
*) 0 ;
34262 wxString
*arg3
= 0 ;
34263 bool temp3
= false ;
34264 PyObject
* obj0
= 0 ;
34265 PyObject
* obj1
= 0 ;
34266 PyObject
* obj2
= 0 ;
34267 char *kwnames
[] = {
34268 (char *) "self",(char *) "id",(char *) "label", NULL
34271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxMenu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34273 if (SWIG_arg_fail(1)) SWIG_fail
;
34275 arg2
= (int)(SWIG_As_int(obj1
));
34276 if (SWIG_arg_fail(2)) SWIG_fail
;
34279 arg3
= wxString_in_helper(obj2
);
34280 if (arg3
== NULL
) SWIG_fail
;
34284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34285 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
34287 wxPyEndAllowThreads(__tstate
);
34288 if (PyErr_Occurred()) SWIG_fail
;
34290 Py_INCREF(Py_None
); resultobj
= Py_None
;
34305 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34306 PyObject
*resultobj
;
34307 wxMenu
*arg1
= (wxMenu
*) 0 ;
34310 PyObject
* obj0
= 0 ;
34311 PyObject
* obj1
= 0 ;
34312 char *kwnames
[] = {
34313 (char *) "self",(char *) "id", NULL
34316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34318 if (SWIG_arg_fail(1)) SWIG_fail
;
34320 arg2
= (int)(SWIG_As_int(obj1
));
34321 if (SWIG_arg_fail(2)) SWIG_fail
;
34324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34325 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
34327 wxPyEndAllowThreads(__tstate
);
34328 if (PyErr_Occurred()) SWIG_fail
;
34332 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34334 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34343 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34344 PyObject
*resultobj
;
34345 wxMenu
*arg1
= (wxMenu
*) 0 ;
34347 wxString
*arg3
= 0 ;
34348 bool temp3
= false ;
34349 PyObject
* obj0
= 0 ;
34350 PyObject
* obj1
= 0 ;
34351 PyObject
* obj2
= 0 ;
34352 char *kwnames
[] = {
34353 (char *) "self",(char *) "id",(char *) "helpString", NULL
34356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxMenu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34358 if (SWIG_arg_fail(1)) SWIG_fail
;
34360 arg2
= (int)(SWIG_As_int(obj1
));
34361 if (SWIG_arg_fail(2)) SWIG_fail
;
34364 arg3
= wxString_in_helper(obj2
);
34365 if (arg3
== NULL
) SWIG_fail
;
34369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34370 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
34372 wxPyEndAllowThreads(__tstate
);
34373 if (PyErr_Occurred()) SWIG_fail
;
34375 Py_INCREF(Py_None
); resultobj
= Py_None
;
34390 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34391 PyObject
*resultobj
;
34392 wxMenu
*arg1
= (wxMenu
*) 0 ;
34395 PyObject
* obj0
= 0 ;
34396 PyObject
* obj1
= 0 ;
34397 char *kwnames
[] = {
34398 (char *) "self",(char *) "id", NULL
34401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
34402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34403 if (SWIG_arg_fail(1)) SWIG_fail
;
34405 arg2
= (int)(SWIG_As_int(obj1
));
34406 if (SWIG_arg_fail(2)) SWIG_fail
;
34409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34410 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
34412 wxPyEndAllowThreads(__tstate
);
34413 if (PyErr_Occurred()) SWIG_fail
;
34417 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34419 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34428 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34429 PyObject
*resultobj
;
34430 wxMenu
*arg1
= (wxMenu
*) 0 ;
34431 wxString
*arg2
= 0 ;
34432 bool temp2
= false ;
34433 PyObject
* obj0
= 0 ;
34434 PyObject
* obj1
= 0 ;
34435 char *kwnames
[] = {
34436 (char *) "self",(char *) "title", NULL
34439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
34440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34441 if (SWIG_arg_fail(1)) SWIG_fail
;
34443 arg2
= wxString_in_helper(obj1
);
34444 if (arg2
== NULL
) SWIG_fail
;
34448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34449 (arg1
)->SetTitle((wxString
const &)*arg2
);
34451 wxPyEndAllowThreads(__tstate
);
34452 if (PyErr_Occurred()) SWIG_fail
;
34454 Py_INCREF(Py_None
); resultobj
= Py_None
;
34469 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34470 PyObject
*resultobj
;
34471 wxMenu
*arg1
= (wxMenu
*) 0 ;
34473 PyObject
* obj0
= 0 ;
34474 char *kwnames
[] = {
34475 (char *) "self", NULL
34478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenu_GetTitle",kwnames
,&obj0
)) goto fail
;
34479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34480 if (SWIG_arg_fail(1)) SWIG_fail
;
34482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34483 result
= ((wxMenu
const *)arg1
)->GetTitle();
34485 wxPyEndAllowThreads(__tstate
);
34486 if (PyErr_Occurred()) SWIG_fail
;
34490 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34492 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34501 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34502 PyObject
*resultobj
;
34503 wxMenu
*arg1
= (wxMenu
*) 0 ;
34504 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
34505 PyObject
* obj0
= 0 ;
34506 PyObject
* obj1
= 0 ;
34507 char *kwnames
[] = {
34508 (char *) "self",(char *) "handler", NULL
34511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
34512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34513 if (SWIG_arg_fail(1)) SWIG_fail
;
34514 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34515 if (SWIG_arg_fail(2)) SWIG_fail
;
34517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34518 (arg1
)->SetEventHandler(arg2
);
34520 wxPyEndAllowThreads(__tstate
);
34521 if (PyErr_Occurred()) SWIG_fail
;
34523 Py_INCREF(Py_None
); resultobj
= Py_None
;
34530 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34531 PyObject
*resultobj
;
34532 wxMenu
*arg1
= (wxMenu
*) 0 ;
34533 wxEvtHandler
*result
;
34534 PyObject
* obj0
= 0 ;
34535 char *kwnames
[] = {
34536 (char *) "self", NULL
34539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
34540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34541 if (SWIG_arg_fail(1)) SWIG_fail
;
34543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34544 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
34546 wxPyEndAllowThreads(__tstate
);
34547 if (PyErr_Occurred()) SWIG_fail
;
34550 resultobj
= wxPyMake_wxObject(result
, 0);
34558 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34559 PyObject
*resultobj
;
34560 wxMenu
*arg1
= (wxMenu
*) 0 ;
34561 wxWindow
*arg2
= (wxWindow
*) 0 ;
34562 PyObject
* obj0
= 0 ;
34563 PyObject
* obj1
= 0 ;
34564 char *kwnames
[] = {
34565 (char *) "self",(char *) "win", NULL
34568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34570 if (SWIG_arg_fail(1)) SWIG_fail
;
34571 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34572 if (SWIG_arg_fail(2)) SWIG_fail
;
34574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34575 (arg1
)->SetInvokingWindow(arg2
);
34577 wxPyEndAllowThreads(__tstate
);
34578 if (PyErr_Occurred()) SWIG_fail
;
34580 Py_INCREF(Py_None
); resultobj
= Py_None
;
34587 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34588 PyObject
*resultobj
;
34589 wxMenu
*arg1
= (wxMenu
*) 0 ;
34591 PyObject
* obj0
= 0 ;
34592 char *kwnames
[] = {
34593 (char *) "self", NULL
34596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
34597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34598 if (SWIG_arg_fail(1)) SWIG_fail
;
34600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34601 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
34603 wxPyEndAllowThreads(__tstate
);
34604 if (PyErr_Occurred()) SWIG_fail
;
34607 resultobj
= wxPyMake_wxObject(result
, 0);
34615 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34616 PyObject
*resultobj
;
34617 wxMenu
*arg1
= (wxMenu
*) 0 ;
34619 PyObject
* obj0
= 0 ;
34620 char *kwnames
[] = {
34621 (char *) "self", NULL
34624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenu_GetStyle",kwnames
,&obj0
)) goto fail
;
34625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34626 if (SWIG_arg_fail(1)) SWIG_fail
;
34628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34629 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
34631 wxPyEndAllowThreads(__tstate
);
34632 if (PyErr_Occurred()) SWIG_fail
;
34635 resultobj
= SWIG_From_long((long)(result
));
34643 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34644 PyObject
*resultobj
;
34645 wxMenu
*arg1
= (wxMenu
*) 0 ;
34646 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
34647 PyObject
* obj0
= 0 ;
34648 PyObject
* obj1
= 0 ;
34649 char *kwnames
[] = {
34650 (char *) "self",(char *) "source", NULL
34653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:wxMenu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
34654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34655 if (SWIG_arg_fail(1)) SWIG_fail
;
34657 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34658 if (SWIG_arg_fail(2)) SWIG_fail
;
34661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34662 (arg1
)->UpdateUI(arg2
);
34664 wxPyEndAllowThreads(__tstate
);
34665 if (PyErr_Occurred()) SWIG_fail
;
34667 Py_INCREF(Py_None
); resultobj
= Py_None
;
34674 static PyObject
*_wrap_wxMenu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34675 PyObject
*resultobj
;
34676 wxMenu
*arg1
= (wxMenu
*) 0 ;
34678 PyObject
* obj0
= 0 ;
34679 char *kwnames
[] = {
34680 (char *) "self", NULL
34683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
34684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34685 if (SWIG_arg_fail(1)) SWIG_fail
;
34687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34688 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
34690 wxPyEndAllowThreads(__tstate
);
34691 if (PyErr_Occurred()) SWIG_fail
;
34694 resultobj
= wxPyMake_wxObject(result
, 0);
34702 static PyObject
*_wrap_wxMenu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34703 PyObject
*resultobj
;
34704 wxMenu
*arg1
= (wxMenu
*) 0 ;
34705 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
34706 PyObject
* obj0
= 0 ;
34707 PyObject
* obj1
= 0 ;
34708 char *kwnames
[] = {
34709 (char *) "self",(char *) "menubar", NULL
34712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
34713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34714 if (SWIG_arg_fail(1)) SWIG_fail
;
34715 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
34716 if (SWIG_arg_fail(2)) SWIG_fail
;
34718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34719 (arg1
)->Attach(arg2
);
34721 wxPyEndAllowThreads(__tstate
);
34722 if (PyErr_Occurred()) SWIG_fail
;
34724 Py_INCREF(Py_None
); resultobj
= Py_None
;
34731 static PyObject
*_wrap_wxMenu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34732 PyObject
*resultobj
;
34733 wxMenu
*arg1
= (wxMenu
*) 0 ;
34734 PyObject
* obj0
= 0 ;
34735 char *kwnames
[] = {
34736 (char *) "self", NULL
34739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenu_Detach",kwnames
,&obj0
)) goto fail
;
34740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34741 if (SWIG_arg_fail(1)) SWIG_fail
;
34743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34746 wxPyEndAllowThreads(__tstate
);
34747 if (PyErr_Occurred()) SWIG_fail
;
34749 Py_INCREF(Py_None
); resultobj
= Py_None
;
34756 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34757 PyObject
*resultobj
;
34758 wxMenu
*arg1
= (wxMenu
*) 0 ;
34760 PyObject
* obj0
= 0 ;
34761 char *kwnames
[] = {
34762 (char *) "self", NULL
34765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenu_IsAttached",kwnames
,&obj0
)) goto fail
;
34766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34767 if (SWIG_arg_fail(1)) SWIG_fail
;
34769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34770 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
34772 wxPyEndAllowThreads(__tstate
);
34773 if (PyErr_Occurred()) SWIG_fail
;
34776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34784 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34785 PyObject
*resultobj
;
34786 wxMenu
*arg1
= (wxMenu
*) 0 ;
34787 wxMenu
*arg2
= (wxMenu
*) 0 ;
34788 PyObject
* obj0
= 0 ;
34789 PyObject
* obj1
= 0 ;
34790 char *kwnames
[] = {
34791 (char *) "self",(char *) "parent", NULL
34794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
34795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34796 if (SWIG_arg_fail(1)) SWIG_fail
;
34797 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34798 if (SWIG_arg_fail(2)) SWIG_fail
;
34800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34801 (arg1
)->SetParent(arg2
);
34803 wxPyEndAllowThreads(__tstate
);
34804 if (PyErr_Occurred()) SWIG_fail
;
34806 Py_INCREF(Py_None
); resultobj
= Py_None
;
34813 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34814 PyObject
*resultobj
;
34815 wxMenu
*arg1
= (wxMenu
*) 0 ;
34817 PyObject
* obj0
= 0 ;
34818 char *kwnames
[] = {
34819 (char *) "self", NULL
34822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenu_GetParent",kwnames
,&obj0
)) goto fail
;
34823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34824 if (SWIG_arg_fail(1)) SWIG_fail
;
34826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34827 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
34829 wxPyEndAllowThreads(__tstate
);
34830 if (PyErr_Occurred()) SWIG_fail
;
34833 resultobj
= wxPyMake_wxObject(result
, 0);
34841 static PyObject
* wxMenu_swigregister(PyObject
*, PyObject
*args
) {
34843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34844 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
34846 return Py_BuildValue((char *)"");
34848 static PyObject
*_wrap_new_wxMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34849 PyObject
*resultobj
;
34850 long arg1
= (long) 0 ;
34852 PyObject
* obj0
= 0 ;
34853 char *kwnames
[] = {
34854 (char *) "style", NULL
34857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_wxMenuBar",kwnames
,&obj0
)) goto fail
;
34860 arg1
= (long)(SWIG_As_long(obj0
));
34861 if (SWIG_arg_fail(1)) SWIG_fail
;
34865 if (!wxPyCheckForApp()) SWIG_fail
;
34866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34867 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
34869 wxPyEndAllowThreads(__tstate
);
34870 if (PyErr_Occurred()) SWIG_fail
;
34872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
34879 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34880 PyObject
*resultobj
;
34881 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34882 wxMenu
*arg2
= (wxMenu
*) 0 ;
34883 wxString
*arg3
= 0 ;
34885 bool temp3
= false ;
34886 PyObject
* obj0
= 0 ;
34887 PyObject
* obj1
= 0 ;
34888 PyObject
* obj2
= 0 ;
34889 char *kwnames
[] = {
34890 (char *) "self",(char *) "menu",(char *) "title", NULL
34893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxMenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34895 if (SWIG_arg_fail(1)) SWIG_fail
;
34896 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34897 if (SWIG_arg_fail(2)) SWIG_fail
;
34899 arg3
= wxString_in_helper(obj2
);
34900 if (arg3
== NULL
) SWIG_fail
;
34904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34905 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
34907 wxPyEndAllowThreads(__tstate
);
34908 if (PyErr_Occurred()) SWIG_fail
;
34911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34927 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34928 PyObject
*resultobj
;
34929 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34931 wxMenu
*arg3
= (wxMenu
*) 0 ;
34932 wxString
*arg4
= 0 ;
34934 bool temp4
= false ;
34935 PyObject
* obj0
= 0 ;
34936 PyObject
* obj1
= 0 ;
34937 PyObject
* obj2
= 0 ;
34938 PyObject
* obj3
= 0 ;
34939 char *kwnames
[] = {
34940 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:wxMenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34945 if (SWIG_arg_fail(1)) SWIG_fail
;
34947 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34948 if (SWIG_arg_fail(2)) SWIG_fail
;
34950 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34951 if (SWIG_arg_fail(3)) SWIG_fail
;
34953 arg4
= wxString_in_helper(obj3
);
34954 if (arg4
== NULL
) SWIG_fail
;
34958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34959 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
34961 wxPyEndAllowThreads(__tstate
);
34962 if (PyErr_Occurred()) SWIG_fail
;
34965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34981 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34982 PyObject
*resultobj
;
34983 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34985 PyObject
* obj0
= 0 ;
34986 char *kwnames
[] = {
34987 (char *) "self", NULL
34990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
34991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34992 if (SWIG_arg_fail(1)) SWIG_fail
;
34994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34995 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
34997 wxPyEndAllowThreads(__tstate
);
34998 if (PyErr_Occurred()) SWIG_fail
;
35001 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
35009 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35010 PyObject
*resultobj
;
35011 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35014 PyObject
* obj0
= 0 ;
35015 PyObject
* obj1
= 0 ;
35016 char *kwnames
[] = {
35017 (char *) "self",(char *) "pos", NULL
35020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35022 if (SWIG_arg_fail(1)) SWIG_fail
;
35024 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35025 if (SWIG_arg_fail(2)) SWIG_fail
;
35028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35029 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
35031 wxPyEndAllowThreads(__tstate
);
35032 if (PyErr_Occurred()) SWIG_fail
;
35035 resultobj
= wxPyMake_wxObject(result
, 0);
35043 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35044 PyObject
*resultobj
;
35045 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35047 wxMenu
*arg3
= (wxMenu
*) 0 ;
35048 wxString
*arg4
= 0 ;
35050 bool temp4
= false ;
35051 PyObject
* obj0
= 0 ;
35052 PyObject
* obj1
= 0 ;
35053 PyObject
* obj2
= 0 ;
35054 PyObject
* obj3
= 0 ;
35055 char *kwnames
[] = {
35056 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:wxMenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35061 if (SWIG_arg_fail(1)) SWIG_fail
;
35063 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35064 if (SWIG_arg_fail(2)) SWIG_fail
;
35066 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35067 if (SWIG_arg_fail(3)) SWIG_fail
;
35069 arg4
= wxString_in_helper(obj3
);
35070 if (arg4
== NULL
) SWIG_fail
;
35074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35075 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
35077 wxPyEndAllowThreads(__tstate
);
35078 if (PyErr_Occurred()) SWIG_fail
;
35081 resultobj
= wxPyMake_wxObject(result
, 0);
35097 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35098 PyObject
*resultobj
;
35099 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35102 PyObject
* obj0
= 0 ;
35103 PyObject
* obj1
= 0 ;
35104 char *kwnames
[] = {
35105 (char *) "self",(char *) "pos", NULL
35108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35110 if (SWIG_arg_fail(1)) SWIG_fail
;
35112 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35113 if (SWIG_arg_fail(2)) SWIG_fail
;
35116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35117 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
35119 wxPyEndAllowThreads(__tstate
);
35120 if (PyErr_Occurred()) SWIG_fail
;
35123 resultobj
= wxPyMake_wxObject(result
, 0);
35131 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35132 PyObject
*resultobj
;
35133 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35136 PyObject
* obj0
= 0 ;
35137 PyObject
* obj1
= 0 ;
35138 PyObject
* obj2
= 0 ;
35139 char *kwnames
[] = {
35140 (char *) "self",(char *) "pos",(char *) "enable", NULL
35143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxMenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35145 if (SWIG_arg_fail(1)) SWIG_fail
;
35147 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35148 if (SWIG_arg_fail(2)) SWIG_fail
;
35151 arg3
= (bool)(SWIG_As_bool(obj2
));
35152 if (SWIG_arg_fail(3)) SWIG_fail
;
35155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35156 (arg1
)->EnableTop(arg2
,arg3
);
35158 wxPyEndAllowThreads(__tstate
);
35159 if (PyErr_Occurred()) SWIG_fail
;
35161 Py_INCREF(Py_None
); resultobj
= Py_None
;
35168 static PyObject
*_wrap_wxMenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35169 PyObject
*resultobj
;
35170 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35173 PyObject
* obj0
= 0 ;
35174 PyObject
* obj1
= 0 ;
35175 char *kwnames
[] = {
35176 (char *) "self",(char *) "pos", NULL
35179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35181 if (SWIG_arg_fail(1)) SWIG_fail
;
35183 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35184 if (SWIG_arg_fail(2)) SWIG_fail
;
35187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35188 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
35190 wxPyEndAllowThreads(__tstate
);
35191 if (PyErr_Occurred()) SWIG_fail
;
35194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35202 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35203 PyObject
*resultobj
;
35204 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35206 wxString
*arg3
= 0 ;
35207 bool temp3
= false ;
35208 PyObject
* obj0
= 0 ;
35209 PyObject
* obj1
= 0 ;
35210 PyObject
* obj2
= 0 ;
35211 char *kwnames
[] = {
35212 (char *) "self",(char *) "pos",(char *) "label", NULL
35215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxMenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35217 if (SWIG_arg_fail(1)) SWIG_fail
;
35219 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35220 if (SWIG_arg_fail(2)) SWIG_fail
;
35223 arg3
= wxString_in_helper(obj2
);
35224 if (arg3
== NULL
) SWIG_fail
;
35228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35229 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
35231 wxPyEndAllowThreads(__tstate
);
35232 if (PyErr_Occurred()) SWIG_fail
;
35234 Py_INCREF(Py_None
); resultobj
= Py_None
;
35249 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35250 PyObject
*resultobj
;
35251 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35254 PyObject
* obj0
= 0 ;
35255 PyObject
* obj1
= 0 ;
35256 char *kwnames
[] = {
35257 (char *) "self",(char *) "pos", NULL
35260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35262 if (SWIG_arg_fail(1)) SWIG_fail
;
35264 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35265 if (SWIG_arg_fail(2)) SWIG_fail
;
35268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35269 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
35271 wxPyEndAllowThreads(__tstate
);
35272 if (PyErr_Occurred()) SWIG_fail
;
35276 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35278 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35287 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35288 PyObject
*resultobj
;
35289 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35290 wxString
*arg2
= 0 ;
35291 wxString
*arg3
= 0 ;
35293 bool temp2
= false ;
35294 bool temp3
= false ;
35295 PyObject
* obj0
= 0 ;
35296 PyObject
* obj1
= 0 ;
35297 PyObject
* obj2
= 0 ;
35298 char *kwnames
[] = {
35299 (char *) "self",(char *) "menu",(char *) "item", NULL
35302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxMenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35304 if (SWIG_arg_fail(1)) SWIG_fail
;
35306 arg2
= wxString_in_helper(obj1
);
35307 if (arg2
== NULL
) SWIG_fail
;
35311 arg3
= wxString_in_helper(obj2
);
35312 if (arg3
== NULL
) SWIG_fail
;
35316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35317 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
35319 wxPyEndAllowThreads(__tstate
);
35320 if (PyErr_Occurred()) SWIG_fail
;
35323 resultobj
= SWIG_From_int((int)(result
));
35347 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35348 PyObject
*resultobj
;
35349 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35351 wxMenuItem
*result
;
35352 PyObject
* obj0
= 0 ;
35353 PyObject
* obj1
= 0 ;
35354 char *kwnames
[] = {
35355 (char *) "self",(char *) "id", NULL
35358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
35359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35360 if (SWIG_arg_fail(1)) SWIG_fail
;
35362 arg2
= (int)(SWIG_As_int(obj1
));
35363 if (SWIG_arg_fail(2)) SWIG_fail
;
35366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35367 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
35369 wxPyEndAllowThreads(__tstate
);
35370 if (PyErr_Occurred()) SWIG_fail
;
35373 resultobj
= wxPyMake_wxObject(result
, 0);
35381 static PyObject
*_wrap_wxMenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35382 PyObject
*resultobj
;
35383 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35384 wxString
*arg2
= 0 ;
35386 bool temp2
= false ;
35387 PyObject
* obj0
= 0 ;
35388 PyObject
* obj1
= 0 ;
35389 char *kwnames
[] = {
35390 (char *) "self",(char *) "title", NULL
35393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35395 if (SWIG_arg_fail(1)) SWIG_fail
;
35397 arg2
= wxString_in_helper(obj1
);
35398 if (arg2
== NULL
) SWIG_fail
;
35402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35403 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
35405 wxPyEndAllowThreads(__tstate
);
35406 if (PyErr_Occurred()) SWIG_fail
;
35409 resultobj
= SWIG_From_int((int)(result
));
35425 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35426 PyObject
*resultobj
;
35427 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35430 PyObject
* obj0
= 0 ;
35431 PyObject
* obj1
= 0 ;
35432 PyObject
* obj2
= 0 ;
35433 char *kwnames
[] = {
35434 (char *) "self",(char *) "id",(char *) "enable", NULL
35437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxMenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35439 if (SWIG_arg_fail(1)) SWIG_fail
;
35441 arg2
= (int)(SWIG_As_int(obj1
));
35442 if (SWIG_arg_fail(2)) SWIG_fail
;
35445 arg3
= (bool)(SWIG_As_bool(obj2
));
35446 if (SWIG_arg_fail(3)) SWIG_fail
;
35449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35450 (arg1
)->Enable(arg2
,arg3
);
35452 wxPyEndAllowThreads(__tstate
);
35453 if (PyErr_Occurred()) SWIG_fail
;
35455 Py_INCREF(Py_None
); resultobj
= Py_None
;
35462 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35463 PyObject
*resultobj
;
35464 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35467 PyObject
* obj0
= 0 ;
35468 PyObject
* obj1
= 0 ;
35469 PyObject
* obj2
= 0 ;
35470 char *kwnames
[] = {
35471 (char *) "self",(char *) "id",(char *) "check", NULL
35474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxMenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35476 if (SWIG_arg_fail(1)) SWIG_fail
;
35478 arg2
= (int)(SWIG_As_int(obj1
));
35479 if (SWIG_arg_fail(2)) SWIG_fail
;
35482 arg3
= (bool)(SWIG_As_bool(obj2
));
35483 if (SWIG_arg_fail(3)) SWIG_fail
;
35486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35487 (arg1
)->Check(arg2
,arg3
);
35489 wxPyEndAllowThreads(__tstate
);
35490 if (PyErr_Occurred()) SWIG_fail
;
35492 Py_INCREF(Py_None
); resultobj
= Py_None
;
35499 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35500 PyObject
*resultobj
;
35501 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35504 PyObject
* obj0
= 0 ;
35505 PyObject
* obj1
= 0 ;
35506 char *kwnames
[] = {
35507 (char *) "self",(char *) "id", NULL
35510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
35511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35512 if (SWIG_arg_fail(1)) SWIG_fail
;
35514 arg2
= (int)(SWIG_As_int(obj1
));
35515 if (SWIG_arg_fail(2)) SWIG_fail
;
35518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35519 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
35521 wxPyEndAllowThreads(__tstate
);
35522 if (PyErr_Occurred()) SWIG_fail
;
35525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35533 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35534 PyObject
*resultobj
;
35535 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35538 PyObject
* obj0
= 0 ;
35539 PyObject
* obj1
= 0 ;
35540 char *kwnames
[] = {
35541 (char *) "self",(char *) "id", NULL
35544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
35545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35546 if (SWIG_arg_fail(1)) SWIG_fail
;
35548 arg2
= (int)(SWIG_As_int(obj1
));
35549 if (SWIG_arg_fail(2)) SWIG_fail
;
35552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35553 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
35555 wxPyEndAllowThreads(__tstate
);
35556 if (PyErr_Occurred()) SWIG_fail
;
35559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35567 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35568 PyObject
*resultobj
;
35569 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35571 wxString
*arg3
= 0 ;
35572 bool temp3
= false ;
35573 PyObject
* obj0
= 0 ;
35574 PyObject
* obj1
= 0 ;
35575 PyObject
* obj2
= 0 ;
35576 char *kwnames
[] = {
35577 (char *) "self",(char *) "id",(char *) "label", NULL
35580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxMenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35582 if (SWIG_arg_fail(1)) SWIG_fail
;
35584 arg2
= (int)(SWIG_As_int(obj1
));
35585 if (SWIG_arg_fail(2)) SWIG_fail
;
35588 arg3
= wxString_in_helper(obj2
);
35589 if (arg3
== NULL
) SWIG_fail
;
35593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35594 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
35596 wxPyEndAllowThreads(__tstate
);
35597 if (PyErr_Occurred()) SWIG_fail
;
35599 Py_INCREF(Py_None
); resultobj
= Py_None
;
35614 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35615 PyObject
*resultobj
;
35616 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35619 PyObject
* obj0
= 0 ;
35620 PyObject
* obj1
= 0 ;
35621 char *kwnames
[] = {
35622 (char *) "self",(char *) "id", NULL
35625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
35626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35627 if (SWIG_arg_fail(1)) SWIG_fail
;
35629 arg2
= (int)(SWIG_As_int(obj1
));
35630 if (SWIG_arg_fail(2)) SWIG_fail
;
35633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35634 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
35636 wxPyEndAllowThreads(__tstate
);
35637 if (PyErr_Occurred()) SWIG_fail
;
35641 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35643 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35652 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35653 PyObject
*resultobj
;
35654 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35656 wxString
*arg3
= 0 ;
35657 bool temp3
= false ;
35658 PyObject
* obj0
= 0 ;
35659 PyObject
* obj1
= 0 ;
35660 PyObject
* obj2
= 0 ;
35661 char *kwnames
[] = {
35662 (char *) "self",(char *) "id",(char *) "helpString", NULL
35665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxMenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35667 if (SWIG_arg_fail(1)) SWIG_fail
;
35669 arg2
= (int)(SWIG_As_int(obj1
));
35670 if (SWIG_arg_fail(2)) SWIG_fail
;
35673 arg3
= wxString_in_helper(obj2
);
35674 if (arg3
== NULL
) SWIG_fail
;
35678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35679 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
35681 wxPyEndAllowThreads(__tstate
);
35682 if (PyErr_Occurred()) SWIG_fail
;
35684 Py_INCREF(Py_None
); resultobj
= Py_None
;
35699 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35700 PyObject
*resultobj
;
35701 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35704 PyObject
* obj0
= 0 ;
35705 PyObject
* obj1
= 0 ;
35706 char *kwnames
[] = {
35707 (char *) "self",(char *) "id", NULL
35710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
35711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35712 if (SWIG_arg_fail(1)) SWIG_fail
;
35714 arg2
= (int)(SWIG_As_int(obj1
));
35715 if (SWIG_arg_fail(2)) SWIG_fail
;
35718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35719 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
35721 wxPyEndAllowThreads(__tstate
);
35722 if (PyErr_Occurred()) SWIG_fail
;
35726 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35728 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35737 static PyObject
*_wrap_wxMenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35738 PyObject
*resultobj
;
35739 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35741 PyObject
* obj0
= 0 ;
35742 char *kwnames
[] = {
35743 (char *) "self", NULL
35746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
35747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35748 if (SWIG_arg_fail(1)) SWIG_fail
;
35750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35751 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
35753 wxPyEndAllowThreads(__tstate
);
35754 if (PyErr_Occurred()) SWIG_fail
;
35757 resultobj
= wxPyMake_wxObject(result
, 0);
35765 static PyObject
*_wrap_wxMenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35766 PyObject
*resultobj
;
35767 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35769 PyObject
* obj0
= 0 ;
35770 char *kwnames
[] = {
35771 (char *) "self", NULL
35774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
35775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35776 if (SWIG_arg_fail(1)) SWIG_fail
;
35778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35779 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
35781 wxPyEndAllowThreads(__tstate
);
35782 if (PyErr_Occurred()) SWIG_fail
;
35785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35793 static PyObject
*_wrap_wxMenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35794 PyObject
*resultobj
;
35795 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35796 wxFrame
*arg2
= (wxFrame
*) 0 ;
35797 PyObject
* obj0
= 0 ;
35798 PyObject
* obj1
= 0 ;
35799 char *kwnames
[] = {
35800 (char *) "self",(char *) "frame", NULL
35803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35805 if (SWIG_arg_fail(1)) SWIG_fail
;
35806 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
35807 if (SWIG_arg_fail(2)) SWIG_fail
;
35809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35810 (arg1
)->Attach(arg2
);
35812 wxPyEndAllowThreads(__tstate
);
35813 if (PyErr_Occurred()) SWIG_fail
;
35815 Py_INCREF(Py_None
); resultobj
= Py_None
;
35822 static PyObject
*_wrap_wxMenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35823 PyObject
*resultobj
;
35824 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35825 PyObject
* obj0
= 0 ;
35826 char *kwnames
[] = {
35827 (char *) "self", NULL
35830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenuBar_Detach",kwnames
,&obj0
)) goto fail
;
35831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35832 if (SWIG_arg_fail(1)) SWIG_fail
;
35834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35837 wxPyEndAllowThreads(__tstate
);
35838 if (PyErr_Occurred()) SWIG_fail
;
35840 Py_INCREF(Py_None
); resultobj
= Py_None
;
35847 static PyObject
* wxMenuBar_swigregister(PyObject
*, PyObject
*args
) {
35849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35850 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
35852 return Py_BuildValue((char *)"");
35854 static PyObject
*_wrap_new_wxMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35855 PyObject
*resultobj
;
35856 wxMenu
*arg1
= (wxMenu
*) NULL
;
35857 int arg2
= (int) wxID_ANY
;
35858 wxString
const &arg3_defvalue
= wxPyEmptyString
;
35859 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
35860 wxString
const &arg4_defvalue
= wxPyEmptyString
;
35861 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
35862 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
35863 wxMenu
*arg6
= (wxMenu
*) NULL
;
35864 wxMenuItem
*result
;
35865 bool temp3
= false ;
35866 bool temp4
= false ;
35867 PyObject
* obj0
= 0 ;
35868 PyObject
* obj1
= 0 ;
35869 PyObject
* obj2
= 0 ;
35870 PyObject
* obj3
= 0 ;
35871 PyObject
* obj4
= 0 ;
35872 PyObject
* obj5
= 0 ;
35873 char *kwnames
[] = {
35874 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
35877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_wxMenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35880 if (SWIG_arg_fail(1)) SWIG_fail
;
35884 arg2
= (int)(SWIG_As_int(obj1
));
35885 if (SWIG_arg_fail(2)) SWIG_fail
;
35890 arg3
= wxString_in_helper(obj2
);
35891 if (arg3
== NULL
) SWIG_fail
;
35897 arg4
= wxString_in_helper(obj3
);
35898 if (arg4
== NULL
) SWIG_fail
;
35904 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
35905 if (SWIG_arg_fail(5)) SWIG_fail
;
35909 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35910 if (SWIG_arg_fail(6)) SWIG_fail
;
35913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35914 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
35916 wxPyEndAllowThreads(__tstate
);
35917 if (PyErr_Occurred()) SWIG_fail
;
35920 resultobj
= wxPyMake_wxObject(result
, 1);
35944 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35945 PyObject
*resultobj
;
35946 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35948 PyObject
* obj0
= 0 ;
35949 char *kwnames
[] = {
35950 (char *) "self", NULL
35953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
35954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35955 if (SWIG_arg_fail(1)) SWIG_fail
;
35957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35958 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
35960 wxPyEndAllowThreads(__tstate
);
35961 if (PyErr_Occurred()) SWIG_fail
;
35964 resultobj
= wxPyMake_wxObject(result
, 0);
35972 static PyObject
*_wrap_wxMenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35973 PyObject
*resultobj
;
35974 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35975 wxMenu
*arg2
= (wxMenu
*) 0 ;
35976 PyObject
* obj0
= 0 ;
35977 PyObject
* obj1
= 0 ;
35978 char *kwnames
[] = {
35979 (char *) "self",(char *) "menu", NULL
35982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35984 if (SWIG_arg_fail(1)) SWIG_fail
;
35985 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35986 if (SWIG_arg_fail(2)) SWIG_fail
;
35988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35989 (arg1
)->SetMenu(arg2
);
35991 wxPyEndAllowThreads(__tstate
);
35992 if (PyErr_Occurred()) SWIG_fail
;
35994 Py_INCREF(Py_None
); resultobj
= Py_None
;
36001 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36002 PyObject
*resultobj
;
36003 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36005 PyObject
* obj0
= 0 ;
36006 PyObject
* obj1
= 0 ;
36007 char *kwnames
[] = {
36008 (char *) "self",(char *) "id", NULL
36011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
36012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36013 if (SWIG_arg_fail(1)) SWIG_fail
;
36015 arg2
= (int)(SWIG_As_int(obj1
));
36016 if (SWIG_arg_fail(2)) SWIG_fail
;
36019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36020 (arg1
)->SetId(arg2
);
36022 wxPyEndAllowThreads(__tstate
);
36023 if (PyErr_Occurred()) SWIG_fail
;
36025 Py_INCREF(Py_None
); resultobj
= Py_None
;
36032 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36033 PyObject
*resultobj
;
36034 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36036 PyObject
* obj0
= 0 ;
36037 char *kwnames
[] = {
36038 (char *) "self", NULL
36041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenuItem_GetId",kwnames
,&obj0
)) goto fail
;
36042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36043 if (SWIG_arg_fail(1)) SWIG_fail
;
36045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36046 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
36048 wxPyEndAllowThreads(__tstate
);
36049 if (PyErr_Occurred()) SWIG_fail
;
36052 resultobj
= SWIG_From_int((int)(result
));
36060 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36061 PyObject
*resultobj
;
36062 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36064 PyObject
* obj0
= 0 ;
36065 char *kwnames
[] = {
36066 (char *) "self", NULL
36069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
36070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36071 if (SWIG_arg_fail(1)) SWIG_fail
;
36073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36074 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
36076 wxPyEndAllowThreads(__tstate
);
36077 if (PyErr_Occurred()) SWIG_fail
;
36080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36088 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36089 PyObject
*resultobj
;
36090 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36091 wxString
*arg2
= 0 ;
36092 bool temp2
= false ;
36093 PyObject
* obj0
= 0 ;
36094 PyObject
* obj1
= 0 ;
36095 char *kwnames
[] = {
36096 (char *) "self",(char *) "str", NULL
36099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
36100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36101 if (SWIG_arg_fail(1)) SWIG_fail
;
36103 arg2
= wxString_in_helper(obj1
);
36104 if (arg2
== NULL
) SWIG_fail
;
36108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36109 (arg1
)->SetText((wxString
const &)*arg2
);
36111 wxPyEndAllowThreads(__tstate
);
36112 if (PyErr_Occurred()) SWIG_fail
;
36114 Py_INCREF(Py_None
); resultobj
= Py_None
;
36129 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36130 PyObject
*resultobj
;
36131 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36133 PyObject
* obj0
= 0 ;
36134 char *kwnames
[] = {
36135 (char *) "self", NULL
36138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
36139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36140 if (SWIG_arg_fail(1)) SWIG_fail
;
36142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36143 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
36145 wxPyEndAllowThreads(__tstate
);
36146 if (PyErr_Occurred()) SWIG_fail
;
36150 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36152 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36161 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36162 PyObject
*resultobj
;
36163 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36165 PyObject
* obj0
= 0 ;
36166 char *kwnames
[] = {
36167 (char *) "self", NULL
36170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenuItem_GetText",kwnames
,&obj0
)) goto fail
;
36171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36172 if (SWIG_arg_fail(1)) SWIG_fail
;
36174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36176 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
36177 result
= (wxString
*) &_result_ref
;
36180 wxPyEndAllowThreads(__tstate
);
36181 if (PyErr_Occurred()) SWIG_fail
;
36185 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36187 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36196 static PyObject
*_wrap_wxMenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36197 PyObject
*resultobj
;
36198 wxString
*arg1
= 0 ;
36200 bool temp1
= false ;
36201 PyObject
* obj0
= 0 ;
36202 char *kwnames
[] = {
36203 (char *) "text", NULL
36206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
36208 arg1
= wxString_in_helper(obj0
);
36209 if (arg1
== NULL
) SWIG_fail
;
36213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36214 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
36216 wxPyEndAllowThreads(__tstate
);
36217 if (PyErr_Occurred()) SWIG_fail
;
36221 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36223 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36240 static PyObject
*_wrap_wxMenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36241 PyObject
*resultobj
;
36242 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36244 PyObject
* obj0
= 0 ;
36245 char *kwnames
[] = {
36246 (char *) "self", NULL
36249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
36250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36251 if (SWIG_arg_fail(1)) SWIG_fail
;
36253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36254 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
36256 wxPyEndAllowThreads(__tstate
);
36257 if (PyErr_Occurred()) SWIG_fail
;
36259 resultobj
= SWIG_From_int((result
));
36266 static PyObject
*_wrap_wxMenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36267 PyObject
*resultobj
;
36268 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36270 PyObject
* obj0
= 0 ;
36271 PyObject
* obj1
= 0 ;
36272 char *kwnames
[] = {
36273 (char *) "self",(char *) "kind", NULL
36276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
36277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36278 if (SWIG_arg_fail(1)) SWIG_fail
;
36280 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
36281 if (SWIG_arg_fail(2)) SWIG_fail
;
36284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36285 (arg1
)->SetKind((wxItemKind
)arg2
);
36287 wxPyEndAllowThreads(__tstate
);
36288 if (PyErr_Occurred()) SWIG_fail
;
36290 Py_INCREF(Py_None
); resultobj
= Py_None
;
36297 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36298 PyObject
*resultobj
;
36299 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36301 PyObject
* obj0
= 0 ;
36302 PyObject
* obj1
= 0 ;
36303 char *kwnames
[] = {
36304 (char *) "self",(char *) "checkable", NULL
36307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
36308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36309 if (SWIG_arg_fail(1)) SWIG_fail
;
36311 arg2
= (bool)(SWIG_As_bool(obj1
));
36312 if (SWIG_arg_fail(2)) SWIG_fail
;
36315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36316 (arg1
)->SetCheckable(arg2
);
36318 wxPyEndAllowThreads(__tstate
);
36319 if (PyErr_Occurred()) SWIG_fail
;
36321 Py_INCREF(Py_None
); resultobj
= Py_None
;
36328 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36329 PyObject
*resultobj
;
36330 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36332 PyObject
* obj0
= 0 ;
36333 char *kwnames
[] = {
36334 (char *) "self", NULL
36337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
36338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36339 if (SWIG_arg_fail(1)) SWIG_fail
;
36341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36342 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
36344 wxPyEndAllowThreads(__tstate
);
36345 if (PyErr_Occurred()) SWIG_fail
;
36348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36356 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36357 PyObject
*resultobj
;
36358 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36360 PyObject
* obj0
= 0 ;
36361 char *kwnames
[] = {
36362 (char *) "self", NULL
36365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
36366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36367 if (SWIG_arg_fail(1)) SWIG_fail
;
36369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36370 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
36372 wxPyEndAllowThreads(__tstate
);
36373 if (PyErr_Occurred()) SWIG_fail
;
36376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36384 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36385 PyObject
*resultobj
;
36386 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36387 wxMenu
*arg2
= (wxMenu
*) 0 ;
36388 PyObject
* obj0
= 0 ;
36389 PyObject
* obj1
= 0 ;
36390 char *kwnames
[] = {
36391 (char *) "self",(char *) "menu", NULL
36394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36396 if (SWIG_arg_fail(1)) SWIG_fail
;
36397 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36398 if (SWIG_arg_fail(2)) SWIG_fail
;
36400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36401 (arg1
)->SetSubMenu(arg2
);
36403 wxPyEndAllowThreads(__tstate
);
36404 if (PyErr_Occurred()) SWIG_fail
;
36406 Py_INCREF(Py_None
); resultobj
= Py_None
;
36413 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36414 PyObject
*resultobj
;
36415 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36417 PyObject
* obj0
= 0 ;
36418 char *kwnames
[] = {
36419 (char *) "self", NULL
36422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
36423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36424 if (SWIG_arg_fail(1)) SWIG_fail
;
36426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36427 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
36429 wxPyEndAllowThreads(__tstate
);
36430 if (PyErr_Occurred()) SWIG_fail
;
36433 resultobj
= wxPyMake_wxObject(result
, 0);
36441 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36442 PyObject
*resultobj
;
36443 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36444 bool arg2
= (bool) true ;
36445 PyObject
* obj0
= 0 ;
36446 PyObject
* obj1
= 0 ;
36447 char *kwnames
[] = {
36448 (char *) "self",(char *) "enable", NULL
36451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:wxMenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
36452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36453 if (SWIG_arg_fail(1)) SWIG_fail
;
36456 arg2
= (bool)(SWIG_As_bool(obj1
));
36457 if (SWIG_arg_fail(2)) SWIG_fail
;
36461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36462 (arg1
)->Enable(arg2
);
36464 wxPyEndAllowThreads(__tstate
);
36465 if (PyErr_Occurred()) SWIG_fail
;
36467 Py_INCREF(Py_None
); resultobj
= Py_None
;
36474 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36475 PyObject
*resultobj
;
36476 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36478 PyObject
* obj0
= 0 ;
36479 char *kwnames
[] = {
36480 (char *) "self", NULL
36483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
36484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36485 if (SWIG_arg_fail(1)) SWIG_fail
;
36487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36488 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
36490 wxPyEndAllowThreads(__tstate
);
36491 if (PyErr_Occurred()) SWIG_fail
;
36494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36502 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36503 PyObject
*resultobj
;
36504 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36505 bool arg2
= (bool) true ;
36506 PyObject
* obj0
= 0 ;
36507 PyObject
* obj1
= 0 ;
36508 char *kwnames
[] = {
36509 (char *) "self",(char *) "check", NULL
36512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:wxMenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
36513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36514 if (SWIG_arg_fail(1)) SWIG_fail
;
36517 arg2
= (bool)(SWIG_As_bool(obj1
));
36518 if (SWIG_arg_fail(2)) SWIG_fail
;
36522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36523 (arg1
)->Check(arg2
);
36525 wxPyEndAllowThreads(__tstate
);
36526 if (PyErr_Occurred()) SWIG_fail
;
36528 Py_INCREF(Py_None
); resultobj
= Py_None
;
36535 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36536 PyObject
*resultobj
;
36537 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36539 PyObject
* obj0
= 0 ;
36540 char *kwnames
[] = {
36541 (char *) "self", NULL
36544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
36545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36546 if (SWIG_arg_fail(1)) SWIG_fail
;
36548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36549 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
36551 wxPyEndAllowThreads(__tstate
);
36552 if (PyErr_Occurred()) SWIG_fail
;
36555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36563 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36564 PyObject
*resultobj
;
36565 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36566 PyObject
* obj0
= 0 ;
36567 char *kwnames
[] = {
36568 (char *) "self", NULL
36571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
36572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36573 if (SWIG_arg_fail(1)) SWIG_fail
;
36575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36578 wxPyEndAllowThreads(__tstate
);
36579 if (PyErr_Occurred()) SWIG_fail
;
36581 Py_INCREF(Py_None
); resultobj
= Py_None
;
36588 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36589 PyObject
*resultobj
;
36590 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36591 wxString
*arg2
= 0 ;
36592 bool temp2
= false ;
36593 PyObject
* obj0
= 0 ;
36594 PyObject
* obj1
= 0 ;
36595 char *kwnames
[] = {
36596 (char *) "self",(char *) "str", NULL
36599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
36600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36601 if (SWIG_arg_fail(1)) SWIG_fail
;
36603 arg2
= wxString_in_helper(obj1
);
36604 if (arg2
== NULL
) SWIG_fail
;
36608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36609 (arg1
)->SetHelp((wxString
const &)*arg2
);
36611 wxPyEndAllowThreads(__tstate
);
36612 if (PyErr_Occurred()) SWIG_fail
;
36614 Py_INCREF(Py_None
); resultobj
= Py_None
;
36629 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36630 PyObject
*resultobj
;
36631 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36633 PyObject
* obj0
= 0 ;
36634 char *kwnames
[] = {
36635 (char *) "self", NULL
36638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
36639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36640 if (SWIG_arg_fail(1)) SWIG_fail
;
36642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36644 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
36645 result
= (wxString
*) &_result_ref
;
36648 wxPyEndAllowThreads(__tstate
);
36649 if (PyErr_Occurred()) SWIG_fail
;
36653 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36655 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36664 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36665 PyObject
*resultobj
;
36666 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36667 wxAcceleratorEntry
*result
;
36668 PyObject
* obj0
= 0 ;
36669 char *kwnames
[] = {
36670 (char *) "self", NULL
36673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
36674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36675 if (SWIG_arg_fail(1)) SWIG_fail
;
36677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36678 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
36680 wxPyEndAllowThreads(__tstate
);
36681 if (PyErr_Occurred()) SWIG_fail
;
36683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
36690 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36691 PyObject
*resultobj
;
36692 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36693 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
36694 PyObject
* obj0
= 0 ;
36695 PyObject
* obj1
= 0 ;
36696 char *kwnames
[] = {
36697 (char *) "self",(char *) "accel", NULL
36700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
36701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36702 if (SWIG_arg_fail(1)) SWIG_fail
;
36703 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
36704 if (SWIG_arg_fail(2)) SWIG_fail
;
36706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36707 (arg1
)->SetAccel(arg2
);
36709 wxPyEndAllowThreads(__tstate
);
36710 if (PyErr_Occurred()) SWIG_fail
;
36712 Py_INCREF(Py_None
); resultobj
= Py_None
;
36719 static PyObject
*_wrap_wxMenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36720 PyObject
*resultobj
;
36721 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36723 PyObject
* obj0
= 0 ;
36724 PyObject
* obj1
= 0 ;
36725 char *kwnames
[] = {
36726 (char *) "self",(char *) "font", NULL
36729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
36730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36731 if (SWIG_arg_fail(1)) SWIG_fail
;
36733 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
36734 if (SWIG_arg_fail(2)) SWIG_fail
;
36735 if (arg2
== NULL
) {
36736 SWIG_null_ref("wxFont");
36738 if (SWIG_arg_fail(2)) SWIG_fail
;
36741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36742 wxMenuItem_SetFont(arg1
,(wxFont
const &)*arg2
);
36744 wxPyEndAllowThreads(__tstate
);
36745 if (PyErr_Occurred()) SWIG_fail
;
36747 Py_INCREF(Py_None
); resultobj
= Py_None
;
36754 static PyObject
*_wrap_wxMenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36755 PyObject
*resultobj
;
36756 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36758 PyObject
* obj0
= 0 ;
36759 char *kwnames
[] = {
36760 (char *) "self", NULL
36763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
36764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36765 if (SWIG_arg_fail(1)) SWIG_fail
;
36767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36768 result
= wxMenuItem_GetFont(arg1
);
36770 wxPyEndAllowThreads(__tstate
);
36771 if (PyErr_Occurred()) SWIG_fail
;
36774 wxFont
* resultptr
;
36775 resultptr
= new wxFont((wxFont
&)(result
));
36776 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
36784 static PyObject
*_wrap_wxMenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36785 PyObject
*resultobj
;
36786 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36787 wxColour
*arg2
= 0 ;
36789 PyObject
* obj0
= 0 ;
36790 PyObject
* obj1
= 0 ;
36791 char *kwnames
[] = {
36792 (char *) "self",(char *) "colText", NULL
36795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36797 if (SWIG_arg_fail(1)) SWIG_fail
;
36800 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36804 wxMenuItem_SetTextColour(arg1
,(wxColour
const &)*arg2
);
36806 wxPyEndAllowThreads(__tstate
);
36807 if (PyErr_Occurred()) SWIG_fail
;
36809 Py_INCREF(Py_None
); resultobj
= Py_None
;
36816 static PyObject
*_wrap_wxMenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36817 PyObject
*resultobj
;
36818 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36820 PyObject
* obj0
= 0 ;
36821 char *kwnames
[] = {
36822 (char *) "self", NULL
36825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
36826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36827 if (SWIG_arg_fail(1)) SWIG_fail
;
36829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36830 result
= wxMenuItem_GetTextColour(arg1
);
36832 wxPyEndAllowThreads(__tstate
);
36833 if (PyErr_Occurred()) SWIG_fail
;
36836 wxColour
* resultptr
;
36837 resultptr
= new wxColour((wxColour
&)(result
));
36838 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36846 static PyObject
*_wrap_wxMenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36847 PyObject
*resultobj
;
36848 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36849 wxColour
*arg2
= 0 ;
36851 PyObject
* obj0
= 0 ;
36852 PyObject
* obj1
= 0 ;
36853 char *kwnames
[] = {
36854 (char *) "self",(char *) "colBack", NULL
36857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36859 if (SWIG_arg_fail(1)) SWIG_fail
;
36862 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36866 wxMenuItem_SetBackgroundColour(arg1
,(wxColour
const &)*arg2
);
36868 wxPyEndAllowThreads(__tstate
);
36869 if (PyErr_Occurred()) SWIG_fail
;
36871 Py_INCREF(Py_None
); resultobj
= Py_None
;
36878 static PyObject
*_wrap_wxMenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36879 PyObject
*resultobj
;
36880 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36882 PyObject
* obj0
= 0 ;
36883 char *kwnames
[] = {
36884 (char *) "self", NULL
36887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
36888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36889 if (SWIG_arg_fail(1)) SWIG_fail
;
36891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36892 result
= wxMenuItem_GetBackgroundColour(arg1
);
36894 wxPyEndAllowThreads(__tstate
);
36895 if (PyErr_Occurred()) SWIG_fail
;
36898 wxColour
* resultptr
;
36899 resultptr
= new wxColour((wxColour
&)(result
));
36900 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36908 static PyObject
*_wrap_wxMenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36909 PyObject
*resultobj
;
36910 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36911 wxBitmap
*arg2
= 0 ;
36912 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
36913 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
36914 PyObject
* obj0
= 0 ;
36915 PyObject
* obj1
= 0 ;
36916 PyObject
* obj2
= 0 ;
36917 char *kwnames
[] = {
36918 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
36921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:wxMenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36923 if (SWIG_arg_fail(1)) SWIG_fail
;
36925 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36926 if (SWIG_arg_fail(2)) SWIG_fail
;
36927 if (arg2
== NULL
) {
36928 SWIG_null_ref("wxBitmap");
36930 if (SWIG_arg_fail(2)) SWIG_fail
;
36934 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36935 if (SWIG_arg_fail(3)) SWIG_fail
;
36936 if (arg3
== NULL
) {
36937 SWIG_null_ref("wxBitmap");
36939 if (SWIG_arg_fail(3)) SWIG_fail
;
36943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36944 wxMenuItem_SetBitmaps(arg1
,(wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
36946 wxPyEndAllowThreads(__tstate
);
36947 if (PyErr_Occurred()) SWIG_fail
;
36949 Py_INCREF(Py_None
); resultobj
= Py_None
;
36956 static PyObject
*_wrap_wxMenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36957 PyObject
*resultobj
;
36958 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36959 wxBitmap
*arg2
= 0 ;
36960 PyObject
* obj0
= 0 ;
36961 PyObject
* obj1
= 0 ;
36962 char *kwnames
[] = {
36963 (char *) "self",(char *) "bmpDisabled", NULL
36966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
36967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36968 if (SWIG_arg_fail(1)) SWIG_fail
;
36970 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36971 if (SWIG_arg_fail(2)) SWIG_fail
;
36972 if (arg2
== NULL
) {
36973 SWIG_null_ref("wxBitmap");
36975 if (SWIG_arg_fail(2)) SWIG_fail
;
36978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36979 wxMenuItem_SetDisabledBitmap(arg1
,(wxBitmap
const &)*arg2
);
36981 wxPyEndAllowThreads(__tstate
);
36982 if (PyErr_Occurred()) SWIG_fail
;
36984 Py_INCREF(Py_None
); resultobj
= Py_None
;
36991 static PyObject
*_wrap_wxMenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36992 PyObject
*resultobj
;
36993 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36995 PyObject
* obj0
= 0 ;
36996 char *kwnames
[] = {
36997 (char *) "self", NULL
37000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
37001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37002 if (SWIG_arg_fail(1)) SWIG_fail
;
37004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37006 wxBitmap
const &_result_ref
= wxMenuItem_GetDisabledBitmap((wxMenuItem
const *)arg1
);
37007 result
= (wxBitmap
*) &_result_ref
;
37010 wxPyEndAllowThreads(__tstate
);
37011 if (PyErr_Occurred()) SWIG_fail
;
37014 wxBitmap
* resultptr
= new wxBitmap(*result
);
37015 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37023 static PyObject
*_wrap_wxMenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37024 PyObject
*resultobj
;
37025 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37027 PyObject
* obj0
= 0 ;
37028 PyObject
* obj1
= 0 ;
37029 char *kwnames
[] = {
37030 (char *) "self",(char *) "nWidth", NULL
37033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
37034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37035 if (SWIG_arg_fail(1)) SWIG_fail
;
37037 arg2
= (int)(SWIG_As_int(obj1
));
37038 if (SWIG_arg_fail(2)) SWIG_fail
;
37041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37042 wxMenuItem_SetMarginWidth(arg1
,arg2
);
37044 wxPyEndAllowThreads(__tstate
);
37045 if (PyErr_Occurred()) SWIG_fail
;
37047 Py_INCREF(Py_None
); resultobj
= Py_None
;
37054 static PyObject
*_wrap_wxMenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37055 PyObject
*resultobj
;
37056 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37058 PyObject
* obj0
= 0 ;
37059 char *kwnames
[] = {
37060 (char *) "self", NULL
37063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
37064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37065 if (SWIG_arg_fail(1)) SWIG_fail
;
37067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37068 result
= (int)wxMenuItem_GetMarginWidth(arg1
);
37070 wxPyEndAllowThreads(__tstate
);
37071 if (PyErr_Occurred()) SWIG_fail
;
37074 resultobj
= SWIG_From_int((int)(result
));
37082 static PyObject
*_wrap_wxMenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37083 PyObject
*resultobj
;
37085 char *kwnames
[] = {
37089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":wxMenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
37091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37092 result
= (int)wxMenuItem_GetDefaultMarginWidth();
37094 wxPyEndAllowThreads(__tstate
);
37095 if (PyErr_Occurred()) SWIG_fail
;
37098 resultobj
= SWIG_From_int((int)(result
));
37106 static PyObject
*_wrap_wxMenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37107 PyObject
*resultobj
;
37108 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37110 PyObject
* obj0
= 0 ;
37111 char *kwnames
[] = {
37112 (char *) "self", NULL
37115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37117 if (SWIG_arg_fail(1)) SWIG_fail
;
37119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37120 result
= (bool)wxMenuItem_IsOwnerDrawn(arg1
);
37122 wxPyEndAllowThreads(__tstate
);
37123 if (PyErr_Occurred()) SWIG_fail
;
37126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37134 static PyObject
*_wrap_wxMenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37135 PyObject
*resultobj
;
37136 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37137 bool arg2
= (bool) true ;
37138 PyObject
* obj0
= 0 ;
37139 PyObject
* obj1
= 0 ;
37140 char *kwnames
[] = {
37141 (char *) "self",(char *) "ownerDrawn", NULL
37144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:wxMenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
37145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37146 if (SWIG_arg_fail(1)) SWIG_fail
;
37149 arg2
= (bool)(SWIG_As_bool(obj1
));
37150 if (SWIG_arg_fail(2)) SWIG_fail
;
37154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37155 wxMenuItem_SetOwnerDrawn(arg1
,arg2
);
37157 wxPyEndAllowThreads(__tstate
);
37158 if (PyErr_Occurred()) SWIG_fail
;
37160 Py_INCREF(Py_None
); resultobj
= Py_None
;
37167 static PyObject
*_wrap_wxMenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37168 PyObject
*resultobj
;
37169 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37170 PyObject
* obj0
= 0 ;
37171 char *kwnames
[] = {
37172 (char *) "self", NULL
37175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37177 if (SWIG_arg_fail(1)) SWIG_fail
;
37179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37180 wxMenuItem_ResetOwnerDrawn(arg1
);
37182 wxPyEndAllowThreads(__tstate
);
37183 if (PyErr_Occurred()) SWIG_fail
;
37185 Py_INCREF(Py_None
); resultobj
= Py_None
;
37192 static PyObject
*_wrap_wxMenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37193 PyObject
*resultobj
;
37194 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37195 wxBitmap
*arg2
= 0 ;
37196 PyObject
* obj0
= 0 ;
37197 PyObject
* obj1
= 0 ;
37198 char *kwnames
[] = {
37199 (char *) "self",(char *) "bitmap", NULL
37202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxMenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37204 if (SWIG_arg_fail(1)) SWIG_fail
;
37206 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37207 if (SWIG_arg_fail(2)) SWIG_fail
;
37208 if (arg2
== NULL
) {
37209 SWIG_null_ref("wxBitmap");
37211 if (SWIG_arg_fail(2)) SWIG_fail
;
37214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37215 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
37217 wxPyEndAllowThreads(__tstate
);
37218 if (PyErr_Occurred()) SWIG_fail
;
37220 Py_INCREF(Py_None
); resultobj
= Py_None
;
37227 static PyObject
*_wrap_wxMenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37228 PyObject
*resultobj
;
37229 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37231 PyObject
* obj0
= 0 ;
37232 char *kwnames
[] = {
37233 (char *) "self", NULL
37236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxMenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
37237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37238 if (SWIG_arg_fail(1)) SWIG_fail
;
37240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37242 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
37243 result
= (wxBitmap
*) &_result_ref
;
37246 wxPyEndAllowThreads(__tstate
);
37247 if (PyErr_Occurred()) SWIG_fail
;
37250 wxBitmap
* resultptr
= new wxBitmap(*result
);
37251 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37259 static PyObject
* wxMenuItem_swigregister(PyObject
*, PyObject
*args
) {
37261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37262 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
37264 return Py_BuildValue((char *)"");
37266 static int _wrap_ControlNameStr_set(PyObject
*) {
37267 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
37272 static PyObject
*_wrap_ControlNameStr_get(void) {
37277 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37279 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37286 static PyObject
*_wrap_new_wxControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37287 PyObject
*resultobj
;
37288 wxWindow
*arg1
= (wxWindow
*) 0 ;
37289 int arg2
= (int) -1 ;
37290 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37291 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37292 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37293 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37294 long arg5
= (long) 0 ;
37295 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
37296 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
37297 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
37298 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37302 bool temp7
= false ;
37303 PyObject
* obj0
= 0 ;
37304 PyObject
* obj1
= 0 ;
37305 PyObject
* obj2
= 0 ;
37306 PyObject
* obj3
= 0 ;
37307 PyObject
* obj4
= 0 ;
37308 PyObject
* obj5
= 0 ;
37309 PyObject
* obj6
= 0 ;
37310 char *kwnames
[] = {
37311 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_wxControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37316 if (SWIG_arg_fail(1)) SWIG_fail
;
37319 arg2
= (int)(SWIG_As_int(obj1
));
37320 if (SWIG_arg_fail(2)) SWIG_fail
;
37326 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37332 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37337 arg5
= (long)(SWIG_As_long(obj4
));
37338 if (SWIG_arg_fail(5)) SWIG_fail
;
37343 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37344 if (SWIG_arg_fail(6)) SWIG_fail
;
37345 if (arg6
== NULL
) {
37346 SWIG_null_ref("wxValidator");
37348 if (SWIG_arg_fail(6)) SWIG_fail
;
37353 arg7
= wxString_in_helper(obj6
);
37354 if (arg7
== NULL
) SWIG_fail
;
37359 if (!wxPyCheckForApp()) SWIG_fail
;
37360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37361 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
37363 wxPyEndAllowThreads(__tstate
);
37364 if (PyErr_Occurred()) SWIG_fail
;
37366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37381 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37382 PyObject
*resultobj
;
37384 char *kwnames
[] = {
37388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
37390 if (!wxPyCheckForApp()) SWIG_fail
;
37391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37392 result
= (wxControl
*)new wxControl();
37394 wxPyEndAllowThreads(__tstate
);
37395 if (PyErr_Occurred()) SWIG_fail
;
37397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37404 static PyObject
*_wrap_wxControl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37405 PyObject
*resultobj
;
37406 wxControl
*arg1
= (wxControl
*) 0 ;
37407 wxWindow
*arg2
= (wxWindow
*) 0 ;
37408 int arg3
= (int) -1 ;
37409 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37410 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37411 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37412 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37413 long arg6
= (long) 0 ;
37414 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
37415 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
37416 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
37417 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37421 bool temp8
= false ;
37422 PyObject
* obj0
= 0 ;
37423 PyObject
* obj1
= 0 ;
37424 PyObject
* obj2
= 0 ;
37425 PyObject
* obj3
= 0 ;
37426 PyObject
* obj4
= 0 ;
37427 PyObject
* obj5
= 0 ;
37428 PyObject
* obj6
= 0 ;
37429 PyObject
* obj7
= 0 ;
37430 char *kwnames
[] = {
37431 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:wxControl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
37435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37436 if (SWIG_arg_fail(1)) SWIG_fail
;
37437 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37438 if (SWIG_arg_fail(2)) SWIG_fail
;
37441 arg3
= (int)(SWIG_As_int(obj2
));
37442 if (SWIG_arg_fail(3)) SWIG_fail
;
37448 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37454 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37459 arg6
= (long)(SWIG_As_long(obj5
));
37460 if (SWIG_arg_fail(6)) SWIG_fail
;
37465 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37466 if (SWIG_arg_fail(7)) SWIG_fail
;
37467 if (arg7
== NULL
) {
37468 SWIG_null_ref("wxValidator");
37470 if (SWIG_arg_fail(7)) SWIG_fail
;
37475 arg8
= wxString_in_helper(obj7
);
37476 if (arg8
== NULL
) SWIG_fail
;
37481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37482 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
37484 wxPyEndAllowThreads(__tstate
);
37485 if (PyErr_Occurred()) SWIG_fail
;
37488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37504 static PyObject
*_wrap_wxControl_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37505 PyObject
*resultobj
;
37506 wxControl
*arg1
= (wxControl
*) 0 ;
37507 wxCommandEvent
*arg2
= 0 ;
37508 PyObject
* obj0
= 0 ;
37509 PyObject
* obj1
= 0 ;
37510 char *kwnames
[] = {
37511 (char *) "self",(char *) "event", NULL
37514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxControl_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
37515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37516 if (SWIG_arg_fail(1)) SWIG_fail
;
37518 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
37519 if (SWIG_arg_fail(2)) SWIG_fail
;
37520 if (arg2
== NULL
) {
37521 SWIG_null_ref("wxCommandEvent");
37523 if (SWIG_arg_fail(2)) SWIG_fail
;
37526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37527 (arg1
)->Command(*arg2
);
37529 wxPyEndAllowThreads(__tstate
);
37530 if (PyErr_Occurred()) SWIG_fail
;
37532 Py_INCREF(Py_None
); resultobj
= Py_None
;
37539 static PyObject
*_wrap_wxControl_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37540 PyObject
*resultobj
;
37541 wxControl
*arg1
= (wxControl
*) 0 ;
37543 PyObject
* obj0
= 0 ;
37544 char *kwnames
[] = {
37545 (char *) "self", NULL
37548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxControl_GetLabel",kwnames
,&obj0
)) goto fail
;
37549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37550 if (SWIG_arg_fail(1)) SWIG_fail
;
37552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37553 result
= (arg1
)->GetLabel();
37555 wxPyEndAllowThreads(__tstate
);
37556 if (PyErr_Occurred()) SWIG_fail
;
37560 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37562 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37571 static PyObject
*_wrap_wxControl_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37572 PyObject
*resultobj
;
37573 wxControl
*arg1
= (wxControl
*) 0 ;
37574 wxString
*arg2
= 0 ;
37575 bool temp2
= false ;
37576 PyObject
* obj0
= 0 ;
37577 PyObject
* obj1
= 0 ;
37578 char *kwnames
[] = {
37579 (char *) "self",(char *) "label", NULL
37582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxControl_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
37583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37584 if (SWIG_arg_fail(1)) SWIG_fail
;
37586 arg2
= wxString_in_helper(obj1
);
37587 if (arg2
== NULL
) SWIG_fail
;
37591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37592 (arg1
)->SetLabel((wxString
const &)*arg2
);
37594 wxPyEndAllowThreads(__tstate
);
37595 if (PyErr_Occurred()) SWIG_fail
;
37597 Py_INCREF(Py_None
); resultobj
= Py_None
;
37612 static PyObject
*_wrap_wxControl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37613 PyObject
*resultobj
;
37614 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37615 wxVisualAttributes result
;
37616 PyObject
* obj0
= 0 ;
37617 char *kwnames
[] = {
37618 (char *) "variant", NULL
37621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:wxControl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
37624 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
37625 if (SWIG_arg_fail(1)) SWIG_fail
;
37629 if (!wxPyCheckForApp()) SWIG_fail
;
37630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37631 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
37633 wxPyEndAllowThreads(__tstate
);
37634 if (PyErr_Occurred()) SWIG_fail
;
37637 wxVisualAttributes
* resultptr
;
37638 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
37639 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
37647 static PyObject
* wxControl_swigregister(PyObject
*, PyObject
*args
) {
37649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37650 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
37652 return Py_BuildValue((char *)"");
37654 static PyObject
*_wrap_wxItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37655 PyObject
*resultobj
;
37656 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37657 wxString
*arg2
= 0 ;
37658 PyObject
*arg3
= (PyObject
*) NULL
;
37660 bool temp2
= false ;
37661 PyObject
* obj0
= 0 ;
37662 PyObject
* obj1
= 0 ;
37663 PyObject
* obj2
= 0 ;
37664 char *kwnames
[] = {
37665 (char *) "self",(char *) "item",(char *) "clientData", NULL
37668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:wxItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37670 if (SWIG_arg_fail(1)) SWIG_fail
;
37672 arg2
= wxString_in_helper(obj1
);
37673 if (arg2
== NULL
) SWIG_fail
;
37680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37681 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
37683 wxPyEndAllowThreads(__tstate
);
37684 if (PyErr_Occurred()) SWIG_fail
;
37687 resultobj
= SWIG_From_int((int)(result
));
37703 static PyObject
*_wrap_wxItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37704 PyObject
*resultobj
;
37705 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37706 wxArrayString
*arg2
= 0 ;
37707 bool temp2
= false ;
37708 PyObject
* obj0
= 0 ;
37709 PyObject
* obj1
= 0 ;
37710 char *kwnames
[] = {
37711 (char *) "self",(char *) "strings", NULL
37714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
37715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37716 if (SWIG_arg_fail(1)) SWIG_fail
;
37718 if (! PySequence_Check(obj1
)) {
37719 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
37722 arg2
= new wxArrayString
;
37724 int i
, len
=PySequence_Length(obj1
);
37725 for (i
=0; i
<len
; i
++) {
37726 PyObject
* item
= PySequence_GetItem(obj1
, i
);
37728 PyObject
* str
= PyObject_Unicode(item
);
37730 PyObject
* str
= PyObject_Str(item
);
37732 if (PyErr_Occurred()) SWIG_fail
;
37733 arg2
->Add(Py2wxString(str
));
37739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37740 (arg1
)->Append((wxArrayString
const &)*arg2
);
37742 wxPyEndAllowThreads(__tstate
);
37743 if (PyErr_Occurred()) SWIG_fail
;
37745 Py_INCREF(Py_None
); resultobj
= Py_None
;
37747 if (temp2
) delete arg2
;
37752 if (temp2
) delete arg2
;
37758 static PyObject
*_wrap_wxItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37759 PyObject
*resultobj
;
37760 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37761 wxString
*arg2
= 0 ;
37763 PyObject
*arg4
= (PyObject
*) NULL
;
37765 bool temp2
= false ;
37766 PyObject
* obj0
= 0 ;
37767 PyObject
* obj1
= 0 ;
37768 PyObject
* obj2
= 0 ;
37769 PyObject
* obj3
= 0 ;
37770 char *kwnames
[] = {
37771 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
37774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:wxItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37776 if (SWIG_arg_fail(1)) SWIG_fail
;
37778 arg2
= wxString_in_helper(obj1
);
37779 if (arg2
== NULL
) SWIG_fail
;
37783 arg3
= (int)(SWIG_As_int(obj2
));
37784 if (SWIG_arg_fail(3)) SWIG_fail
;
37790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37791 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
37793 wxPyEndAllowThreads(__tstate
);
37794 if (PyErr_Occurred()) SWIG_fail
;
37797 resultobj
= SWIG_From_int((int)(result
));
37813 static PyObject
*_wrap_wxItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37814 PyObject
*resultobj
;
37815 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37816 PyObject
* obj0
= 0 ;
37817 char *kwnames
[] = {
37818 (char *) "self", NULL
37821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
37822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37823 if (SWIG_arg_fail(1)) SWIG_fail
;
37825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37828 wxPyEndAllowThreads(__tstate
);
37829 if (PyErr_Occurred()) SWIG_fail
;
37831 Py_INCREF(Py_None
); resultobj
= Py_None
;
37838 static PyObject
*_wrap_wxItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37839 PyObject
*resultobj
;
37840 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37842 PyObject
* obj0
= 0 ;
37843 PyObject
* obj1
= 0 ;
37844 char *kwnames
[] = {
37845 (char *) "self",(char *) "n", NULL
37848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxItemContainer_Delete",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
= (int)(SWIG_As_int(obj1
));
37853 if (SWIG_arg_fail(2)) SWIG_fail
;
37856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37857 (arg1
)->Delete(arg2
);
37859 wxPyEndAllowThreads(__tstate
);
37860 if (PyErr_Occurred()) SWIG_fail
;
37862 Py_INCREF(Py_None
); resultobj
= Py_None
;
37869 static PyObject
*_wrap_wxItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37870 PyObject
*resultobj
;
37871 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37874 PyObject
* obj0
= 0 ;
37875 PyObject
* obj1
= 0 ;
37876 char *kwnames
[] = {
37877 (char *) "self",(char *) "n", NULL
37880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
37881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37882 if (SWIG_arg_fail(1)) SWIG_fail
;
37884 arg2
= (int)(SWIG_As_int(obj1
));
37885 if (SWIG_arg_fail(2)) SWIG_fail
;
37888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37889 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
37891 wxPyEndAllowThreads(__tstate
);
37892 if (PyErr_Occurred()) SWIG_fail
;
37894 resultobj
= result
;
37901 static PyObject
*_wrap_wxItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37902 PyObject
*resultobj
;
37903 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37905 PyObject
*arg3
= (PyObject
*) 0 ;
37906 PyObject
* obj0
= 0 ;
37907 PyObject
* obj1
= 0 ;
37908 PyObject
* obj2
= 0 ;
37909 char *kwnames
[] = {
37910 (char *) "self",(char *) "n",(char *) "clientData", NULL
37913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37915 if (SWIG_arg_fail(1)) SWIG_fail
;
37917 arg2
= (int)(SWIG_As_int(obj1
));
37918 if (SWIG_arg_fail(2)) SWIG_fail
;
37922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37923 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
37925 wxPyEndAllowThreads(__tstate
);
37926 if (PyErr_Occurred()) SWIG_fail
;
37928 Py_INCREF(Py_None
); resultobj
= Py_None
;
37935 static PyObject
*_wrap_wxItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37936 PyObject
*resultobj
;
37937 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37939 PyObject
* obj0
= 0 ;
37940 char *kwnames
[] = {
37941 (char *) "self", NULL
37944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
37945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37946 if (SWIG_arg_fail(1)) SWIG_fail
;
37948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37949 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
37951 wxPyEndAllowThreads(__tstate
);
37952 if (PyErr_Occurred()) SWIG_fail
;
37955 resultobj
= SWIG_From_int((int)(result
));
37963 static PyObject
*_wrap_wxItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37964 PyObject
*resultobj
;
37965 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37967 PyObject
* obj0
= 0 ;
37968 char *kwnames
[] = {
37969 (char *) "self", NULL
37972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
37973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37974 if (SWIG_arg_fail(1)) SWIG_fail
;
37976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37977 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
37979 wxPyEndAllowThreads(__tstate
);
37980 if (PyErr_Occurred()) SWIG_fail
;
37983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37991 static PyObject
*_wrap_wxItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37992 PyObject
*resultobj
;
37993 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37996 PyObject
* obj0
= 0 ;
37997 PyObject
* obj1
= 0 ;
37998 char *kwnames
[] = {
37999 (char *) "self",(char *) "n", NULL
38002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
38003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38004 if (SWIG_arg_fail(1)) SWIG_fail
;
38006 arg2
= (int)(SWIG_As_int(obj1
));
38007 if (SWIG_arg_fail(2)) SWIG_fail
;
38010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38011 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
38013 wxPyEndAllowThreads(__tstate
);
38014 if (PyErr_Occurred()) SWIG_fail
;
38018 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38020 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38029 static PyObject
*_wrap_wxItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38030 PyObject
*resultobj
;
38031 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38032 wxArrayString result
;
38033 PyObject
* obj0
= 0 ;
38034 char *kwnames
[] = {
38035 (char *) "self", NULL
38038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
38039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38040 if (SWIG_arg_fail(1)) SWIG_fail
;
38042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38043 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
38045 wxPyEndAllowThreads(__tstate
);
38046 if (PyErr_Occurred()) SWIG_fail
;
38049 resultobj
= wxArrayString2PyList_helper(result
);
38057 static PyObject
*_wrap_wxItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38058 PyObject
*resultobj
;
38059 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38061 wxString
*arg3
= 0 ;
38062 bool temp3
= false ;
38063 PyObject
* obj0
= 0 ;
38064 PyObject
* obj1
= 0 ;
38065 PyObject
* obj2
= 0 ;
38066 char *kwnames
[] = {
38067 (char *) "self",(char *) "n",(char *) "s", NULL
38070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38072 if (SWIG_arg_fail(1)) SWIG_fail
;
38074 arg2
= (int)(SWIG_As_int(obj1
));
38075 if (SWIG_arg_fail(2)) SWIG_fail
;
38078 arg3
= wxString_in_helper(obj2
);
38079 if (arg3
== NULL
) SWIG_fail
;
38083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38084 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
38086 wxPyEndAllowThreads(__tstate
);
38087 if (PyErr_Occurred()) SWIG_fail
;
38089 Py_INCREF(Py_None
); resultobj
= Py_None
;
38104 static PyObject
*_wrap_wxItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38105 PyObject
*resultobj
;
38106 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38107 wxString
*arg2
= 0 ;
38109 bool temp2
= false ;
38110 PyObject
* obj0
= 0 ;
38111 PyObject
* obj1
= 0 ;
38112 char *kwnames
[] = {
38113 (char *) "self",(char *) "s", NULL
38116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
38117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38118 if (SWIG_arg_fail(1)) SWIG_fail
;
38120 arg2
= wxString_in_helper(obj1
);
38121 if (arg2
== NULL
) SWIG_fail
;
38125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38126 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
38128 wxPyEndAllowThreads(__tstate
);
38129 if (PyErr_Occurred()) SWIG_fail
;
38132 resultobj
= SWIG_From_int((int)(result
));
38148 static PyObject
*_wrap_wxItemContainer_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38149 PyObject
*resultobj
;
38150 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38152 PyObject
* obj0
= 0 ;
38153 PyObject
* obj1
= 0 ;
38154 char *kwnames
[] = {
38155 (char *) "self",(char *) "n", NULL
38158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38160 if (SWIG_arg_fail(1)) SWIG_fail
;
38162 arg2
= (int)(SWIG_As_int(obj1
));
38163 if (SWIG_arg_fail(2)) SWIG_fail
;
38166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38167 (arg1
)->SetSelection(arg2
);
38169 wxPyEndAllowThreads(__tstate
);
38170 if (PyErr_Occurred()) SWIG_fail
;
38172 Py_INCREF(Py_None
); resultobj
= Py_None
;
38179 static PyObject
*_wrap_wxItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38180 PyObject
*resultobj
;
38181 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38183 PyObject
* obj0
= 0 ;
38184 char *kwnames
[] = {
38185 (char *) "self", NULL
38188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
38189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38190 if (SWIG_arg_fail(1)) SWIG_fail
;
38192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38193 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
38195 wxPyEndAllowThreads(__tstate
);
38196 if (PyErr_Occurred()) SWIG_fail
;
38199 resultobj
= SWIG_From_int((int)(result
));
38207 static PyObject
*_wrap_wxItemContainer_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38208 PyObject
*resultobj
;
38209 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38210 wxString
*arg2
= 0 ;
38212 bool temp2
= false ;
38213 PyObject
* obj0
= 0 ;
38214 PyObject
* obj1
= 0 ;
38215 char *kwnames
[] = {
38216 (char *) "self",(char *) "s", NULL
38219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38221 if (SWIG_arg_fail(1)) SWIG_fail
;
38223 arg2
= wxString_in_helper(obj1
);
38224 if (arg2
== NULL
) SWIG_fail
;
38228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38229 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
38231 wxPyEndAllowThreads(__tstate
);
38232 if (PyErr_Occurred()) SWIG_fail
;
38235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38251 static PyObject
*_wrap_wxItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38252 PyObject
*resultobj
;
38253 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38255 PyObject
* obj0
= 0 ;
38256 char *kwnames
[] = {
38257 (char *) "self", NULL
38260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
38261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38262 if (SWIG_arg_fail(1)) SWIG_fail
;
38264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38265 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
38267 wxPyEndAllowThreads(__tstate
);
38268 if (PyErr_Occurred()) SWIG_fail
;
38272 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38274 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38283 static PyObject
*_wrap_wxItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38284 PyObject
*resultobj
;
38285 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38287 PyObject
* obj0
= 0 ;
38288 PyObject
* obj1
= 0 ;
38289 char *kwnames
[] = {
38290 (char *) "self",(char *) "n", NULL
38293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
38294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38295 if (SWIG_arg_fail(1)) SWIG_fail
;
38297 arg2
= (int)(SWIG_As_int(obj1
));
38298 if (SWIG_arg_fail(2)) SWIG_fail
;
38301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38302 (arg1
)->Select(arg2
);
38304 wxPyEndAllowThreads(__tstate
);
38305 if (PyErr_Occurred()) SWIG_fail
;
38307 Py_INCREF(Py_None
); resultobj
= Py_None
;
38314 static PyObject
* wxItemContainer_swigregister(PyObject
*, PyObject
*args
) {
38316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38317 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
38319 return Py_BuildValue((char *)"");
38321 static PyObject
* wxControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
38323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38324 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
38326 return Py_BuildValue((char *)"");
38328 static PyObject
*_wrap_new_wxSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38329 PyObject
*resultobj
;
38330 wxSizerItem
*result
;
38331 char *kwnames
[] = {
38335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_wxSizerItem",kwnames
)) goto fail
;
38337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38338 result
= (wxSizerItem
*)new wxSizerItem();
38340 wxPyEndAllowThreads(__tstate
);
38341 if (PyErr_Occurred()) SWIG_fail
;
38343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38350 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38351 PyObject
*resultobj
;
38352 wxWindow
*arg1
= (wxWindow
*) 0 ;
38356 PyObject
*arg5
= (PyObject
*) NULL
;
38357 wxSizerItem
*result
;
38358 PyObject
* obj0
= 0 ;
38359 PyObject
* obj1
= 0 ;
38360 PyObject
* obj2
= 0 ;
38361 PyObject
* obj3
= 0 ;
38362 PyObject
* obj4
= 0 ;
38363 char *kwnames
[] = {
38364 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38369 if (SWIG_arg_fail(1)) SWIG_fail
;
38371 arg2
= (int)(SWIG_As_int(obj1
));
38372 if (SWIG_arg_fail(2)) SWIG_fail
;
38375 arg3
= (int)(SWIG_As_int(obj2
));
38376 if (SWIG_arg_fail(3)) SWIG_fail
;
38379 arg4
= (int)(SWIG_As_int(obj3
));
38380 if (SWIG_arg_fail(4)) SWIG_fail
;
38386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38387 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38389 wxPyEndAllowThreads(__tstate
);
38390 if (PyErr_Occurred()) SWIG_fail
;
38392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38399 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38400 PyObject
*resultobj
;
38406 PyObject
*arg6
= (PyObject
*) NULL
;
38407 wxSizerItem
*result
;
38408 PyObject
* obj0
= 0 ;
38409 PyObject
* obj1
= 0 ;
38410 PyObject
* obj2
= 0 ;
38411 PyObject
* obj3
= 0 ;
38412 PyObject
* obj4
= 0 ;
38413 PyObject
* obj5
= 0 ;
38414 char *kwnames
[] = {
38415 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38420 arg1
= (int)(SWIG_As_int(obj0
));
38421 if (SWIG_arg_fail(1)) SWIG_fail
;
38424 arg2
= (int)(SWIG_As_int(obj1
));
38425 if (SWIG_arg_fail(2)) SWIG_fail
;
38428 arg3
= (int)(SWIG_As_int(obj2
));
38429 if (SWIG_arg_fail(3)) SWIG_fail
;
38432 arg4
= (int)(SWIG_As_int(obj3
));
38433 if (SWIG_arg_fail(4)) SWIG_fail
;
38436 arg5
= (int)(SWIG_As_int(obj4
));
38437 if (SWIG_arg_fail(5)) SWIG_fail
;
38443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38444 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38446 wxPyEndAllowThreads(__tstate
);
38447 if (PyErr_Occurred()) SWIG_fail
;
38449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38456 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38457 PyObject
*resultobj
;
38458 wxSizer
*arg1
= (wxSizer
*) 0 ;
38462 PyObject
*arg5
= (PyObject
*) NULL
;
38463 wxSizerItem
*result
;
38464 PyObject
* obj0
= 0 ;
38465 PyObject
* obj1
= 0 ;
38466 PyObject
* obj2
= 0 ;
38467 PyObject
* obj3
= 0 ;
38468 PyObject
* obj4
= 0 ;
38469 char *kwnames
[] = {
38470 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38475 if (SWIG_arg_fail(1)) SWIG_fail
;
38477 arg2
= (int)(SWIG_As_int(obj1
));
38478 if (SWIG_arg_fail(2)) SWIG_fail
;
38481 arg3
= (int)(SWIG_As_int(obj2
));
38482 if (SWIG_arg_fail(3)) SWIG_fail
;
38485 arg4
= (int)(SWIG_As_int(obj3
));
38486 if (SWIG_arg_fail(4)) SWIG_fail
;
38492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38493 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38495 wxPyEndAllowThreads(__tstate
);
38496 if (PyErr_Occurred()) SWIG_fail
;
38498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38505 static PyObject
*_wrap_wxSizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38506 PyObject
*resultobj
;
38507 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38508 PyObject
* obj0
= 0 ;
38509 char *kwnames
[] = {
38510 (char *) "self", NULL
38513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
38514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38515 if (SWIG_arg_fail(1)) SWIG_fail
;
38517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38518 (arg1
)->DeleteWindows();
38520 wxPyEndAllowThreads(__tstate
);
38521 if (PyErr_Occurred()) SWIG_fail
;
38523 Py_INCREF(Py_None
); resultobj
= Py_None
;
38530 static PyObject
*_wrap_wxSizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38531 PyObject
*resultobj
;
38532 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38533 PyObject
* obj0
= 0 ;
38534 char *kwnames
[] = {
38535 (char *) "self", NULL
38538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
38539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38540 if (SWIG_arg_fail(1)) SWIG_fail
;
38542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38543 (arg1
)->DetachSizer();
38545 wxPyEndAllowThreads(__tstate
);
38546 if (PyErr_Occurred()) SWIG_fail
;
38548 Py_INCREF(Py_None
); resultobj
= Py_None
;
38555 static PyObject
*_wrap_wxSizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38556 PyObject
*resultobj
;
38557 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38559 PyObject
* obj0
= 0 ;
38560 char *kwnames
[] = {
38561 (char *) "self", NULL
38564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
38565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38566 if (SWIG_arg_fail(1)) SWIG_fail
;
38568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38569 result
= (arg1
)->GetSize();
38571 wxPyEndAllowThreads(__tstate
);
38572 if (PyErr_Occurred()) SWIG_fail
;
38575 wxSize
* resultptr
;
38576 resultptr
= new wxSize((wxSize
&)(result
));
38577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38585 static PyObject
*_wrap_wxSizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38586 PyObject
*resultobj
;
38587 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38589 PyObject
* obj0
= 0 ;
38590 char *kwnames
[] = {
38591 (char *) "self", NULL
38594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
38595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38596 if (SWIG_arg_fail(1)) SWIG_fail
;
38598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38599 result
= (arg1
)->CalcMin();
38601 wxPyEndAllowThreads(__tstate
);
38602 if (PyErr_Occurred()) SWIG_fail
;
38605 wxSize
* resultptr
;
38606 resultptr
= new wxSize((wxSize
&)(result
));
38607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38615 static PyObject
*_wrap_wxSizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38616 PyObject
*resultobj
;
38617 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38620 PyObject
* obj0
= 0 ;
38621 PyObject
* obj1
= 0 ;
38622 PyObject
* obj2
= 0 ;
38623 char *kwnames
[] = {
38624 (char *) "self",(char *) "pos",(char *) "size", NULL
38627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxSizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38629 if (SWIG_arg_fail(1)) SWIG_fail
;
38632 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
38633 if (SWIG_arg_fail(2)) SWIG_fail
;
38634 if (argp
== NULL
) {
38635 SWIG_null_ref("wxPoint");
38637 if (SWIG_arg_fail(2)) SWIG_fail
;
38642 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38643 if (SWIG_arg_fail(3)) SWIG_fail
;
38644 if (argp
== NULL
) {
38645 SWIG_null_ref("wxSize");
38647 if (SWIG_arg_fail(3)) SWIG_fail
;
38651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38652 (arg1
)->SetDimension(arg2
,arg3
);
38654 wxPyEndAllowThreads(__tstate
);
38655 if (PyErr_Occurred()) SWIG_fail
;
38657 Py_INCREF(Py_None
); resultobj
= Py_None
;
38664 static PyObject
*_wrap_wxSizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38665 PyObject
*resultobj
;
38666 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38668 PyObject
* obj0
= 0 ;
38669 char *kwnames
[] = {
38670 (char *) "self", NULL
38673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
38674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38675 if (SWIG_arg_fail(1)) SWIG_fail
;
38677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38678 result
= (arg1
)->GetMinSize();
38680 wxPyEndAllowThreads(__tstate
);
38681 if (PyErr_Occurred()) SWIG_fail
;
38684 wxSize
* resultptr
;
38685 resultptr
= new wxSize((wxSize
&)(result
));
38686 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38694 static PyObject
*_wrap_wxSizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38695 PyObject
*resultobj
;
38696 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38698 PyObject
* obj0
= 0 ;
38699 char *kwnames
[] = {
38700 (char *) "self", NULL
38703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
38704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38705 if (SWIG_arg_fail(1)) SWIG_fail
;
38707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38708 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
38710 wxPyEndAllowThreads(__tstate
);
38711 if (PyErr_Occurred()) SWIG_fail
;
38714 wxSize
* resultptr
;
38715 resultptr
= new wxSize((wxSize
&)(result
));
38716 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38724 static PyObject
*_wrap_wxSizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38725 PyObject
*resultobj
;
38726 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38729 PyObject
* obj0
= 0 ;
38730 PyObject
* obj1
= 0 ;
38731 PyObject
* obj2
= 0 ;
38732 char *kwnames
[] = {
38733 (char *) "self",(char *) "x",(char *) "y", NULL
38736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxSizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
38741 if (SWIG_arg_fail(2)) SWIG_fail
;
38744 arg3
= (int)(SWIG_As_int(obj2
));
38745 if (SWIG_arg_fail(3)) SWIG_fail
;
38748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38749 (arg1
)->SetInitSize(arg2
,arg3
);
38751 wxPyEndAllowThreads(__tstate
);
38752 if (PyErr_Occurred()) SWIG_fail
;
38754 Py_INCREF(Py_None
); resultobj
= Py_None
;
38761 static PyObject
*_wrap_wxSizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38762 PyObject
*resultobj
;
38763 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38766 PyObject
* obj0
= 0 ;
38767 PyObject
* obj1
= 0 ;
38768 PyObject
* obj2
= 0 ;
38769 char *kwnames
[] = {
38770 (char *) "self",(char *) "width",(char *) "height", NULL
38773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxSizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38775 if (SWIG_arg_fail(1)) SWIG_fail
;
38777 arg2
= (int)(SWIG_As_int(obj1
));
38778 if (SWIG_arg_fail(2)) SWIG_fail
;
38781 arg3
= (int)(SWIG_As_int(obj2
));
38782 if (SWIG_arg_fail(3)) SWIG_fail
;
38785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38786 (arg1
)->SetRatio(arg2
,arg3
);
38788 wxPyEndAllowThreads(__tstate
);
38789 if (PyErr_Occurred()) SWIG_fail
;
38791 Py_INCREF(Py_None
); resultobj
= Py_None
;
38798 static PyObject
*_wrap_wxSizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38799 PyObject
*resultobj
;
38800 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38803 PyObject
* obj0
= 0 ;
38804 PyObject
* obj1
= 0 ;
38805 char *kwnames
[] = {
38806 (char *) "self",(char *) "size", NULL
38809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38811 if (SWIG_arg_fail(1)) SWIG_fail
;
38814 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38818 (arg1
)->SetRatio((wxSize
const &)*arg2
);
38820 wxPyEndAllowThreads(__tstate
);
38821 if (PyErr_Occurred()) SWIG_fail
;
38823 Py_INCREF(Py_None
); resultobj
= Py_None
;
38830 static PyObject
*_wrap_wxSizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38831 PyObject
*resultobj
;
38832 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38834 PyObject
* obj0
= 0 ;
38835 PyObject
* obj1
= 0 ;
38836 char *kwnames
[] = {
38837 (char *) "self",(char *) "ratio", NULL
38840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
38841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38842 if (SWIG_arg_fail(1)) SWIG_fail
;
38844 arg2
= (float)(SWIG_As_float(obj1
));
38845 if (SWIG_arg_fail(2)) SWIG_fail
;
38848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38849 (arg1
)->SetRatio(arg2
);
38851 wxPyEndAllowThreads(__tstate
);
38852 if (PyErr_Occurred()) SWIG_fail
;
38854 Py_INCREF(Py_None
); resultobj
= Py_None
;
38861 static PyObject
*_wrap_wxSizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38862 PyObject
*resultobj
;
38863 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38865 PyObject
* obj0
= 0 ;
38866 char *kwnames
[] = {
38867 (char *) "self", NULL
38870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
38871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38872 if (SWIG_arg_fail(1)) SWIG_fail
;
38874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38875 result
= (float)(arg1
)->GetRatio();
38877 wxPyEndAllowThreads(__tstate
);
38878 if (PyErr_Occurred()) SWIG_fail
;
38881 resultobj
= SWIG_From_float((float)(result
));
38889 static PyObject
*_wrap_wxSizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38890 PyObject
*resultobj
;
38891 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38893 PyObject
* obj0
= 0 ;
38894 char *kwnames
[] = {
38895 (char *) "self", NULL
38898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
38899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38900 if (SWIG_arg_fail(1)) SWIG_fail
;
38902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38903 result
= (arg1
)->GetRect();
38905 wxPyEndAllowThreads(__tstate
);
38906 if (PyErr_Occurred()) SWIG_fail
;
38909 wxRect
* resultptr
;
38910 resultptr
= new wxRect((wxRect
&)(result
));
38911 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
38919 static PyObject
*_wrap_wxSizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38920 PyObject
*resultobj
;
38921 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38923 PyObject
* obj0
= 0 ;
38924 char *kwnames
[] = {
38925 (char *) "self", NULL
38928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
38929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38930 if (SWIG_arg_fail(1)) SWIG_fail
;
38932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38933 result
= (bool)(arg1
)->IsWindow();
38935 wxPyEndAllowThreads(__tstate
);
38936 if (PyErr_Occurred()) SWIG_fail
;
38939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38947 static PyObject
*_wrap_wxSizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38948 PyObject
*resultobj
;
38949 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38951 PyObject
* obj0
= 0 ;
38952 char *kwnames
[] = {
38953 (char *) "self", NULL
38956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
38957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38958 if (SWIG_arg_fail(1)) SWIG_fail
;
38960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38961 result
= (bool)(arg1
)->IsSizer();
38963 wxPyEndAllowThreads(__tstate
);
38964 if (PyErr_Occurred()) SWIG_fail
;
38967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38975 static PyObject
*_wrap_wxSizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38976 PyObject
*resultobj
;
38977 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38979 PyObject
* obj0
= 0 ;
38980 char *kwnames
[] = {
38981 (char *) "self", NULL
38984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
38985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38986 if (SWIG_arg_fail(1)) SWIG_fail
;
38988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38989 result
= (bool)(arg1
)->IsSpacer();
38991 wxPyEndAllowThreads(__tstate
);
38992 if (PyErr_Occurred()) SWIG_fail
;
38995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39003 static PyObject
*_wrap_wxSizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39004 PyObject
*resultobj
;
39005 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39007 PyObject
* obj0
= 0 ;
39008 PyObject
* obj1
= 0 ;
39009 char *kwnames
[] = {
39010 (char *) "self",(char *) "proportion", NULL
39013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
39014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39015 if (SWIG_arg_fail(1)) SWIG_fail
;
39017 arg2
= (int)(SWIG_As_int(obj1
));
39018 if (SWIG_arg_fail(2)) SWIG_fail
;
39021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39022 (arg1
)->SetProportion(arg2
);
39024 wxPyEndAllowThreads(__tstate
);
39025 if (PyErr_Occurred()) SWIG_fail
;
39027 Py_INCREF(Py_None
); resultobj
= Py_None
;
39034 static PyObject
*_wrap_wxSizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39035 PyObject
*resultobj
;
39036 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39038 PyObject
* obj0
= 0 ;
39039 char *kwnames
[] = {
39040 (char *) "self", NULL
39043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
39044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39045 if (SWIG_arg_fail(1)) SWIG_fail
;
39047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39048 result
= (int)(arg1
)->GetProportion();
39050 wxPyEndAllowThreads(__tstate
);
39051 if (PyErr_Occurred()) SWIG_fail
;
39054 resultobj
= SWIG_From_int((int)(result
));
39062 static PyObject
*_wrap_wxSizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39063 PyObject
*resultobj
;
39064 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39066 PyObject
* obj0
= 0 ;
39067 PyObject
* obj1
= 0 ;
39068 char *kwnames
[] = {
39069 (char *) "self",(char *) "flag", NULL
39072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
39073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39074 if (SWIG_arg_fail(1)) SWIG_fail
;
39076 arg2
= (int)(SWIG_As_int(obj1
));
39077 if (SWIG_arg_fail(2)) SWIG_fail
;
39080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39081 (arg1
)->SetFlag(arg2
);
39083 wxPyEndAllowThreads(__tstate
);
39084 if (PyErr_Occurred()) SWIG_fail
;
39086 Py_INCREF(Py_None
); resultobj
= Py_None
;
39093 static PyObject
*_wrap_wxSizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39094 PyObject
*resultobj
;
39095 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39097 PyObject
* obj0
= 0 ;
39098 char *kwnames
[] = {
39099 (char *) "self", NULL
39102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
39103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39104 if (SWIG_arg_fail(1)) SWIG_fail
;
39106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39107 result
= (int)(arg1
)->GetFlag();
39109 wxPyEndAllowThreads(__tstate
);
39110 if (PyErr_Occurred()) SWIG_fail
;
39113 resultobj
= SWIG_From_int((int)(result
));
39121 static PyObject
*_wrap_wxSizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39122 PyObject
*resultobj
;
39123 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39125 PyObject
* obj0
= 0 ;
39126 PyObject
* obj1
= 0 ;
39127 char *kwnames
[] = {
39128 (char *) "self",(char *) "border", NULL
39131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
39132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39133 if (SWIG_arg_fail(1)) SWIG_fail
;
39135 arg2
= (int)(SWIG_As_int(obj1
));
39136 if (SWIG_arg_fail(2)) SWIG_fail
;
39139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39140 (arg1
)->SetBorder(arg2
);
39142 wxPyEndAllowThreads(__tstate
);
39143 if (PyErr_Occurred()) SWIG_fail
;
39145 Py_INCREF(Py_None
); resultobj
= Py_None
;
39152 static PyObject
*_wrap_wxSizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39153 PyObject
*resultobj
;
39154 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39156 PyObject
* obj0
= 0 ;
39157 char *kwnames
[] = {
39158 (char *) "self", NULL
39161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
39162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39163 if (SWIG_arg_fail(1)) SWIG_fail
;
39165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39166 result
= (int)(arg1
)->GetBorder();
39168 wxPyEndAllowThreads(__tstate
);
39169 if (PyErr_Occurred()) SWIG_fail
;
39172 resultobj
= SWIG_From_int((int)(result
));
39180 static PyObject
*_wrap_wxSizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39181 PyObject
*resultobj
;
39182 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39184 PyObject
* obj0
= 0 ;
39185 char *kwnames
[] = {
39186 (char *) "self", NULL
39189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
39190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39191 if (SWIG_arg_fail(1)) SWIG_fail
;
39193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39194 result
= (wxWindow
*)(arg1
)->GetWindow();
39196 wxPyEndAllowThreads(__tstate
);
39197 if (PyErr_Occurred()) SWIG_fail
;
39200 resultobj
= wxPyMake_wxObject(result
, 0);
39208 static PyObject
*_wrap_wxSizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39209 PyObject
*resultobj
;
39210 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39211 wxWindow
*arg2
= (wxWindow
*) 0 ;
39212 PyObject
* obj0
= 0 ;
39213 PyObject
* obj1
= 0 ;
39214 char *kwnames
[] = {
39215 (char *) "self",(char *) "window", NULL
39218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
39219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39220 if (SWIG_arg_fail(1)) SWIG_fail
;
39221 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39222 if (SWIG_arg_fail(2)) SWIG_fail
;
39224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39225 (arg1
)->SetWindow(arg2
);
39227 wxPyEndAllowThreads(__tstate
);
39228 if (PyErr_Occurred()) SWIG_fail
;
39230 Py_INCREF(Py_None
); resultobj
= Py_None
;
39237 static PyObject
*_wrap_wxSizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39238 PyObject
*resultobj
;
39239 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39241 PyObject
* obj0
= 0 ;
39242 char *kwnames
[] = {
39243 (char *) "self", NULL
39246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
39247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39248 if (SWIG_arg_fail(1)) SWIG_fail
;
39250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39251 result
= (wxSizer
*)(arg1
)->GetSizer();
39253 wxPyEndAllowThreads(__tstate
);
39254 if (PyErr_Occurred()) SWIG_fail
;
39257 resultobj
= wxPyMake_wxSizer(result
, 0);
39265 static PyObject
*_wrap_wxSizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39266 PyObject
*resultobj
;
39267 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39268 wxSizer
*arg2
= (wxSizer
*) 0 ;
39269 PyObject
* obj0
= 0 ;
39270 PyObject
* obj1
= 0 ;
39271 char *kwnames
[] = {
39272 (char *) "self",(char *) "sizer", NULL
39275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39277 if (SWIG_arg_fail(1)) SWIG_fail
;
39278 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39279 if (SWIG_arg_fail(2)) SWIG_fail
;
39281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39282 (arg1
)->SetSizer(arg2
);
39284 wxPyEndAllowThreads(__tstate
);
39285 if (PyErr_Occurred()) SWIG_fail
;
39287 Py_INCREF(Py_None
); resultobj
= Py_None
;
39294 static PyObject
*_wrap_wxSizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39295 PyObject
*resultobj
;
39296 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39298 PyObject
* obj0
= 0 ;
39299 char *kwnames
[] = {
39300 (char *) "self", NULL
39303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
39304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39305 if (SWIG_arg_fail(1)) SWIG_fail
;
39307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39309 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
39310 result
= (wxSize
*) &_result_ref
;
39313 wxPyEndAllowThreads(__tstate
);
39314 if (PyErr_Occurred()) SWIG_fail
;
39316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
39323 static PyObject
*_wrap_wxSizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39324 PyObject
*resultobj
;
39325 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39328 PyObject
* obj0
= 0 ;
39329 PyObject
* obj1
= 0 ;
39330 char *kwnames
[] = {
39331 (char *) "self",(char *) "size", NULL
39334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
39335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39336 if (SWIG_arg_fail(1)) SWIG_fail
;
39339 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39343 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
39345 wxPyEndAllowThreads(__tstate
);
39346 if (PyErr_Occurred()) SWIG_fail
;
39348 Py_INCREF(Py_None
); resultobj
= Py_None
;
39355 static PyObject
*_wrap_wxSizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39356 PyObject
*resultobj
;
39357 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39359 PyObject
* obj0
= 0 ;
39360 PyObject
* obj1
= 0 ;
39361 char *kwnames
[] = {
39362 (char *) "self",(char *) "show", NULL
39365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
39366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39367 if (SWIG_arg_fail(1)) SWIG_fail
;
39369 arg2
= (bool)(SWIG_As_bool(obj1
));
39370 if (SWIG_arg_fail(2)) SWIG_fail
;
39373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39374 (arg1
)->Show(arg2
);
39376 wxPyEndAllowThreads(__tstate
);
39377 if (PyErr_Occurred()) SWIG_fail
;
39379 Py_INCREF(Py_None
); resultobj
= Py_None
;
39386 static PyObject
*_wrap_wxSizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39387 PyObject
*resultobj
;
39388 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39390 PyObject
* obj0
= 0 ;
39391 char *kwnames
[] = {
39392 (char *) "self", NULL
39395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
39396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39397 if (SWIG_arg_fail(1)) SWIG_fail
;
39399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39400 result
= (bool)(arg1
)->IsShown();
39402 wxPyEndAllowThreads(__tstate
);
39403 if (PyErr_Occurred()) SWIG_fail
;
39406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39414 static PyObject
*_wrap_wxSizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39415 PyObject
*resultobj
;
39416 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39418 PyObject
* obj0
= 0 ;
39419 char *kwnames
[] = {
39420 (char *) "self", NULL
39423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
39424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39425 if (SWIG_arg_fail(1)) SWIG_fail
;
39427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39428 result
= (arg1
)->GetPosition();
39430 wxPyEndAllowThreads(__tstate
);
39431 if (PyErr_Occurred()) SWIG_fail
;
39434 wxPoint
* resultptr
;
39435 resultptr
= new wxPoint((wxPoint
&)(result
));
39436 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39444 static PyObject
*_wrap_wxSizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39445 PyObject
*resultobj
;
39446 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39448 PyObject
* obj0
= 0 ;
39449 char *kwnames
[] = {
39450 (char *) "self", NULL
39453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
39454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39455 if (SWIG_arg_fail(1)) SWIG_fail
;
39457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39458 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
39460 wxPyEndAllowThreads(__tstate
);
39461 if (PyErr_Occurred()) SWIG_fail
;
39463 resultobj
= result
;
39470 static PyObject
* wxSizerItem_swigregister(PyObject
*, PyObject
*args
) {
39472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39473 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
39475 return Py_BuildValue((char *)"");
39477 static PyObject
*_wrap_wxSizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39478 PyObject
*resultobj
;
39479 wxSizer
*arg1
= (wxSizer
*) 0 ;
39480 PyObject
*arg2
= (PyObject
*) 0 ;
39481 PyObject
* obj0
= 0 ;
39482 PyObject
* obj1
= 0 ;
39483 char *kwnames
[] = {
39484 (char *) "self",(char *) "_self", NULL
39487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
39488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39489 if (SWIG_arg_fail(1)) SWIG_fail
;
39492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39493 wxSizer__setOORInfo(arg1
,arg2
);
39495 wxPyEndAllowThreads(__tstate
);
39496 if (PyErr_Occurred()) SWIG_fail
;
39498 Py_INCREF(Py_None
); resultobj
= Py_None
;
39505 static PyObject
*_wrap_wxSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39506 PyObject
*resultobj
;
39507 wxSizer
*arg1
= (wxSizer
*) 0 ;
39508 PyObject
*arg2
= (PyObject
*) 0 ;
39509 int arg3
= (int) 0 ;
39510 int arg4
= (int) 0 ;
39511 int arg5
= (int) 0 ;
39512 PyObject
*arg6
= (PyObject
*) NULL
;
39513 wxSizerItem
*result
;
39514 PyObject
* obj0
= 0 ;
39515 PyObject
* obj1
= 0 ;
39516 PyObject
* obj2
= 0 ;
39517 PyObject
* obj3
= 0 ;
39518 PyObject
* obj4
= 0 ;
39519 PyObject
* obj5
= 0 ;
39520 char *kwnames
[] = {
39521 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:wxSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39526 if (SWIG_arg_fail(1)) SWIG_fail
;
39530 arg3
= (int)(SWIG_As_int(obj2
));
39531 if (SWIG_arg_fail(3)) SWIG_fail
;
39536 arg4
= (int)(SWIG_As_int(obj3
));
39537 if (SWIG_arg_fail(4)) SWIG_fail
;
39542 arg5
= (int)(SWIG_As_int(obj4
));
39543 if (SWIG_arg_fail(5)) SWIG_fail
;
39550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39551 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39553 wxPyEndAllowThreads(__tstate
);
39554 if (PyErr_Occurred()) SWIG_fail
;
39556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39563 static PyObject
*_wrap_wxSizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39564 PyObject
*resultobj
;
39565 wxSizer
*arg1
= (wxSizer
*) 0 ;
39567 PyObject
*arg3
= (PyObject
*) 0 ;
39568 int arg4
= (int) 0 ;
39569 int arg5
= (int) 0 ;
39570 int arg6
= (int) 0 ;
39571 PyObject
*arg7
= (PyObject
*) NULL
;
39572 wxSizerItem
*result
;
39573 PyObject
* obj0
= 0 ;
39574 PyObject
* obj1
= 0 ;
39575 PyObject
* obj2
= 0 ;
39576 PyObject
* obj3
= 0 ;
39577 PyObject
* obj4
= 0 ;
39578 PyObject
* obj5
= 0 ;
39579 PyObject
* obj6
= 0 ;
39580 char *kwnames
[] = {
39581 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:wxSizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
39585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39586 if (SWIG_arg_fail(1)) SWIG_fail
;
39588 arg2
= (int)(SWIG_As_int(obj1
));
39589 if (SWIG_arg_fail(2)) SWIG_fail
;
39594 arg4
= (int)(SWIG_As_int(obj3
));
39595 if (SWIG_arg_fail(4)) SWIG_fail
;
39600 arg5
= (int)(SWIG_As_int(obj4
));
39601 if (SWIG_arg_fail(5)) SWIG_fail
;
39606 arg6
= (int)(SWIG_As_int(obj5
));
39607 if (SWIG_arg_fail(6)) SWIG_fail
;
39614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39615 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
39617 wxPyEndAllowThreads(__tstate
);
39618 if (PyErr_Occurred()) SWIG_fail
;
39620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39627 static PyObject
*_wrap_wxSizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39628 PyObject
*resultobj
;
39629 wxSizer
*arg1
= (wxSizer
*) 0 ;
39630 PyObject
*arg2
= (PyObject
*) 0 ;
39631 int arg3
= (int) 0 ;
39632 int arg4
= (int) 0 ;
39633 int arg5
= (int) 0 ;
39634 PyObject
*arg6
= (PyObject
*) NULL
;
39635 wxSizerItem
*result
;
39636 PyObject
* obj0
= 0 ;
39637 PyObject
* obj1
= 0 ;
39638 PyObject
* obj2
= 0 ;
39639 PyObject
* obj3
= 0 ;
39640 PyObject
* obj4
= 0 ;
39641 PyObject
* obj5
= 0 ;
39642 char *kwnames
[] = {
39643 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:wxSizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39648 if (SWIG_arg_fail(1)) SWIG_fail
;
39652 arg3
= (int)(SWIG_As_int(obj2
));
39653 if (SWIG_arg_fail(3)) SWIG_fail
;
39658 arg4
= (int)(SWIG_As_int(obj3
));
39659 if (SWIG_arg_fail(4)) SWIG_fail
;
39664 arg5
= (int)(SWIG_As_int(obj4
));
39665 if (SWIG_arg_fail(5)) SWIG_fail
;
39672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39673 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39675 wxPyEndAllowThreads(__tstate
);
39676 if (PyErr_Occurred()) SWIG_fail
;
39678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39685 static PyObject
*_wrap_wxSizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39686 PyObject
*resultobj
;
39687 wxSizer
*arg1
= (wxSizer
*) 0 ;
39688 PyObject
*arg2
= (PyObject
*) 0 ;
39690 PyObject
* obj0
= 0 ;
39691 PyObject
* obj1
= 0 ;
39692 char *kwnames
[] = {
39693 (char *) "self",(char *) "item", NULL
39696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
39697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39698 if (SWIG_arg_fail(1)) SWIG_fail
;
39701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39702 result
= (bool)wxSizer_Remove(arg1
,arg2
);
39704 wxPyEndAllowThreads(__tstate
);
39705 if (PyErr_Occurred()) SWIG_fail
;
39708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39716 static PyObject
*_wrap_wxSizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39717 PyObject
*resultobj
;
39718 wxSizer
*arg1
= (wxSizer
*) 0 ;
39719 PyObject
*arg2
= (PyObject
*) 0 ;
39721 PyObject
* obj0
= 0 ;
39722 PyObject
* obj1
= 0 ;
39723 char *kwnames
[] = {
39724 (char *) "self",(char *) "item", NULL
39727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
39728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39729 if (SWIG_arg_fail(1)) SWIG_fail
;
39732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39733 result
= (bool)wxSizer_Detach(arg1
,arg2
);
39735 wxPyEndAllowThreads(__tstate
);
39736 if (PyErr_Occurred()) SWIG_fail
;
39739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39747 static PyObject
*_wrap_wxSizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39748 PyObject
*resultobj
;
39749 wxSizer
*arg1
= (wxSizer
*) 0 ;
39750 PyObject
*arg2
= (PyObject
*) 0 ;
39751 wxSizerItem
*result
;
39752 PyObject
* obj0
= 0 ;
39753 PyObject
* obj1
= 0 ;
39754 char *kwnames
[] = {
39755 (char *) "self",(char *) "item", NULL
39758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39760 if (SWIG_arg_fail(1)) SWIG_fail
;
39763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39764 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
39766 wxPyEndAllowThreads(__tstate
);
39767 if (PyErr_Occurred()) SWIG_fail
;
39769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39776 static PyObject
*_wrap_wxSizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39777 PyObject
*resultobj
;
39778 wxSizer
*arg1
= (wxSizer
*) 0 ;
39779 PyObject
*arg2
= (PyObject
*) 0 ;
39782 PyObject
* obj0
= 0 ;
39783 PyObject
* obj1
= 0 ;
39784 PyObject
* obj2
= 0 ;
39785 char *kwnames
[] = {
39786 (char *) "self",(char *) "item",(char *) "size", NULL
39789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxSizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39791 if (SWIG_arg_fail(1)) SWIG_fail
;
39795 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
39798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39799 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
39801 wxPyEndAllowThreads(__tstate
);
39802 if (PyErr_Occurred()) SWIG_fail
;
39804 Py_INCREF(Py_None
); resultobj
= Py_None
;
39811 static PyObject
*_wrap_wxSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39812 PyObject
*resultobj
;
39813 wxSizer
*arg1
= (wxSizer
*) 0 ;
39814 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39815 wxSizerItem
*result
;
39816 PyObject
* obj0
= 0 ;
39817 PyObject
* obj1
= 0 ;
39818 char *kwnames
[] = {
39819 (char *) "self",(char *) "item", NULL
39822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39824 if (SWIG_arg_fail(1)) SWIG_fail
;
39825 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39826 if (SWIG_arg_fail(2)) SWIG_fail
;
39828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39829 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
39831 wxPyEndAllowThreads(__tstate
);
39832 if (PyErr_Occurred()) SWIG_fail
;
39834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39841 static PyObject
*_wrap_wxSizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39842 PyObject
*resultobj
;
39843 wxSizer
*arg1
= (wxSizer
*) 0 ;
39845 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
39846 wxSizerItem
*result
;
39847 PyObject
* obj0
= 0 ;
39848 PyObject
* obj1
= 0 ;
39849 PyObject
* obj2
= 0 ;
39850 char *kwnames
[] = {
39851 (char *) "self",(char *) "index",(char *) "item", NULL
39854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxSizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39856 if (SWIG_arg_fail(1)) SWIG_fail
;
39858 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39859 if (SWIG_arg_fail(2)) SWIG_fail
;
39861 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39862 if (SWIG_arg_fail(3)) SWIG_fail
;
39864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39865 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
39867 wxPyEndAllowThreads(__tstate
);
39868 if (PyErr_Occurred()) SWIG_fail
;
39870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39877 static PyObject
*_wrap_wxSizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39878 PyObject
*resultobj
;
39879 wxSizer
*arg1
= (wxSizer
*) 0 ;
39880 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39881 wxSizerItem
*result
;
39882 PyObject
* obj0
= 0 ;
39883 PyObject
* obj1
= 0 ;
39884 char *kwnames
[] = {
39885 (char *) "self",(char *) "item", NULL
39888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39890 if (SWIG_arg_fail(1)) SWIG_fail
;
39891 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39892 if (SWIG_arg_fail(2)) SWIG_fail
;
39894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39895 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
39897 wxPyEndAllowThreads(__tstate
);
39898 if (PyErr_Occurred()) SWIG_fail
;
39900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39907 static PyObject
*_wrap_wxSizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39908 PyObject
*resultobj
;
39909 wxSizer
*arg1
= (wxSizer
*) 0 ;
39914 PyObject
* obj0
= 0 ;
39915 PyObject
* obj1
= 0 ;
39916 PyObject
* obj2
= 0 ;
39917 PyObject
* obj3
= 0 ;
39918 PyObject
* obj4
= 0 ;
39919 char *kwnames
[] = {
39920 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:wxSizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
39924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39925 if (SWIG_arg_fail(1)) SWIG_fail
;
39927 arg2
= (int)(SWIG_As_int(obj1
));
39928 if (SWIG_arg_fail(2)) SWIG_fail
;
39931 arg3
= (int)(SWIG_As_int(obj2
));
39932 if (SWIG_arg_fail(3)) SWIG_fail
;
39935 arg4
= (int)(SWIG_As_int(obj3
));
39936 if (SWIG_arg_fail(4)) SWIG_fail
;
39939 arg5
= (int)(SWIG_As_int(obj4
));
39940 if (SWIG_arg_fail(5)) SWIG_fail
;
39943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39944 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
39946 wxPyEndAllowThreads(__tstate
);
39947 if (PyErr_Occurred()) SWIG_fail
;
39949 Py_INCREF(Py_None
); resultobj
= Py_None
;
39956 static PyObject
*_wrap_wxSizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39957 PyObject
*resultobj
;
39958 wxSizer
*arg1
= (wxSizer
*) 0 ;
39961 PyObject
* obj0
= 0 ;
39962 PyObject
* obj1
= 0 ;
39963 char *kwnames
[] = {
39964 (char *) "self",(char *) "size", NULL
39967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
39968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39969 if (SWIG_arg_fail(1)) SWIG_fail
;
39972 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39976 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
39978 wxPyEndAllowThreads(__tstate
);
39979 if (PyErr_Occurred()) SWIG_fail
;
39981 Py_INCREF(Py_None
); resultobj
= Py_None
;
39988 static PyObject
*_wrap_wxSizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39989 PyObject
*resultobj
;
39990 wxSizer
*arg1
= (wxSizer
*) 0 ;
39992 PyObject
* obj0
= 0 ;
39993 char *kwnames
[] = {
39994 (char *) "self", NULL
39997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSizer_GetSize",kwnames
,&obj0
)) goto fail
;
39998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39999 if (SWIG_arg_fail(1)) SWIG_fail
;
40001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40002 result
= (arg1
)->GetSize();
40004 wxPyEndAllowThreads(__tstate
);
40005 if (PyErr_Occurred()) SWIG_fail
;
40008 wxSize
* resultptr
;
40009 resultptr
= new wxSize((wxSize
&)(result
));
40010 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40018 static PyObject
*_wrap_wxSizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40019 PyObject
*resultobj
;
40020 wxSizer
*arg1
= (wxSizer
*) 0 ;
40022 PyObject
* obj0
= 0 ;
40023 char *kwnames
[] = {
40024 (char *) "self", NULL
40027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSizer_GetPosition",kwnames
,&obj0
)) goto fail
;
40028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40029 if (SWIG_arg_fail(1)) SWIG_fail
;
40031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40032 result
= (arg1
)->GetPosition();
40034 wxPyEndAllowThreads(__tstate
);
40035 if (PyErr_Occurred()) SWIG_fail
;
40038 wxPoint
* resultptr
;
40039 resultptr
= new wxPoint((wxPoint
&)(result
));
40040 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
40048 static PyObject
*_wrap_wxSizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40049 PyObject
*resultobj
;
40050 wxSizer
*arg1
= (wxSizer
*) 0 ;
40052 PyObject
* obj0
= 0 ;
40053 char *kwnames
[] = {
40054 (char *) "self", NULL
40057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
40058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40059 if (SWIG_arg_fail(1)) SWIG_fail
;
40061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40062 result
= (arg1
)->GetMinSize();
40064 wxPyEndAllowThreads(__tstate
);
40065 if (PyErr_Occurred()) SWIG_fail
;
40068 wxSize
* resultptr
;
40069 resultptr
= new wxSize((wxSize
&)(result
));
40070 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40078 static PyObject
*_wrap_wxSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40079 PyObject
*resultobj
;
40080 wxSizer
*arg1
= (wxSizer
*) 0 ;
40081 PyObject
* obj0
= 0 ;
40082 char *kwnames
[] = {
40083 (char *) "self", NULL
40086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
40087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40088 if (SWIG_arg_fail(1)) SWIG_fail
;
40090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40091 (arg1
)->RecalcSizes();
40093 wxPyEndAllowThreads(__tstate
);
40094 if (PyErr_Occurred()) SWIG_fail
;
40096 Py_INCREF(Py_None
); resultobj
= Py_None
;
40103 static PyObject
*_wrap_wxSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40104 PyObject
*resultobj
;
40105 wxSizer
*arg1
= (wxSizer
*) 0 ;
40107 PyObject
* obj0
= 0 ;
40108 char *kwnames
[] = {
40109 (char *) "self", NULL
40112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
40113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40114 if (SWIG_arg_fail(1)) SWIG_fail
;
40116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40117 result
= (arg1
)->CalcMin();
40119 wxPyEndAllowThreads(__tstate
);
40120 if (PyErr_Occurred()) SWIG_fail
;
40123 wxSize
* resultptr
;
40124 resultptr
= new wxSize((wxSize
&)(result
));
40125 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40133 static PyObject
*_wrap_wxSizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40134 PyObject
*resultobj
;
40135 wxSizer
*arg1
= (wxSizer
*) 0 ;
40136 PyObject
* obj0
= 0 ;
40137 char *kwnames
[] = {
40138 (char *) "self", NULL
40141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSizer_Layout",kwnames
,&obj0
)) goto fail
;
40142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40143 if (SWIG_arg_fail(1)) SWIG_fail
;
40145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40148 wxPyEndAllowThreads(__tstate
);
40149 if (PyErr_Occurred()) SWIG_fail
;
40151 Py_INCREF(Py_None
); resultobj
= Py_None
;
40158 static PyObject
*_wrap_wxSizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40159 PyObject
*resultobj
;
40160 wxSizer
*arg1
= (wxSizer
*) 0 ;
40161 wxWindow
*arg2
= (wxWindow
*) 0 ;
40163 PyObject
* obj0
= 0 ;
40164 PyObject
* obj1
= 0 ;
40165 char *kwnames
[] = {
40166 (char *) "self",(char *) "window", NULL
40169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
40170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40171 if (SWIG_arg_fail(1)) SWIG_fail
;
40172 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40173 if (SWIG_arg_fail(2)) SWIG_fail
;
40175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40176 result
= (arg1
)->Fit(arg2
);
40178 wxPyEndAllowThreads(__tstate
);
40179 if (PyErr_Occurred()) SWIG_fail
;
40182 wxSize
* resultptr
;
40183 resultptr
= new wxSize((wxSize
&)(result
));
40184 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40192 static PyObject
*_wrap_wxSizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40193 PyObject
*resultobj
;
40194 wxSizer
*arg1
= (wxSizer
*) 0 ;
40195 wxWindow
*arg2
= (wxWindow
*) 0 ;
40196 PyObject
* obj0
= 0 ;
40197 PyObject
* obj1
= 0 ;
40198 char *kwnames
[] = {
40199 (char *) "self",(char *) "window", NULL
40202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
40203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40204 if (SWIG_arg_fail(1)) SWIG_fail
;
40205 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40206 if (SWIG_arg_fail(2)) SWIG_fail
;
40208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40209 (arg1
)->FitInside(arg2
);
40211 wxPyEndAllowThreads(__tstate
);
40212 if (PyErr_Occurred()) SWIG_fail
;
40214 Py_INCREF(Py_None
); resultobj
= Py_None
;
40221 static PyObject
*_wrap_wxSizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40222 PyObject
*resultobj
;
40223 wxSizer
*arg1
= (wxSizer
*) 0 ;
40224 wxWindow
*arg2
= (wxWindow
*) 0 ;
40225 PyObject
* obj0
= 0 ;
40226 PyObject
* obj1
= 0 ;
40227 char *kwnames
[] = {
40228 (char *) "self",(char *) "window", NULL
40231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40233 if (SWIG_arg_fail(1)) SWIG_fail
;
40234 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40235 if (SWIG_arg_fail(2)) SWIG_fail
;
40237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40238 (arg1
)->SetSizeHints(arg2
);
40240 wxPyEndAllowThreads(__tstate
);
40241 if (PyErr_Occurred()) SWIG_fail
;
40243 Py_INCREF(Py_None
); resultobj
= Py_None
;
40250 static PyObject
*_wrap_wxSizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40251 PyObject
*resultobj
;
40252 wxSizer
*arg1
= (wxSizer
*) 0 ;
40253 wxWindow
*arg2
= (wxWindow
*) 0 ;
40254 PyObject
* obj0
= 0 ;
40255 PyObject
* obj1
= 0 ;
40256 char *kwnames
[] = {
40257 (char *) "self",(char *) "window", NULL
40260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40262 if (SWIG_arg_fail(1)) SWIG_fail
;
40263 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40264 if (SWIG_arg_fail(2)) SWIG_fail
;
40266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40267 (arg1
)->SetVirtualSizeHints(arg2
);
40269 wxPyEndAllowThreads(__tstate
);
40270 if (PyErr_Occurred()) SWIG_fail
;
40272 Py_INCREF(Py_None
); resultobj
= Py_None
;
40279 static PyObject
*_wrap_wxSizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40280 PyObject
*resultobj
;
40281 wxSizer
*arg1
= (wxSizer
*) 0 ;
40282 bool arg2
= (bool) false ;
40283 PyObject
* obj0
= 0 ;
40284 PyObject
* obj1
= 0 ;
40285 char *kwnames
[] = {
40286 (char *) "self",(char *) "deleteWindows", NULL
40289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:wxSizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
40290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40291 if (SWIG_arg_fail(1)) SWIG_fail
;
40294 arg2
= (bool)(SWIG_As_bool(obj1
));
40295 if (SWIG_arg_fail(2)) SWIG_fail
;
40299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40300 (arg1
)->Clear(arg2
);
40302 wxPyEndAllowThreads(__tstate
);
40303 if (PyErr_Occurred()) SWIG_fail
;
40305 Py_INCREF(Py_None
); resultobj
= Py_None
;
40312 static PyObject
*_wrap_wxSizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40313 PyObject
*resultobj
;
40314 wxSizer
*arg1
= (wxSizer
*) 0 ;
40315 PyObject
* obj0
= 0 ;
40316 char *kwnames
[] = {
40317 (char *) "self", NULL
40320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
40321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40322 if (SWIG_arg_fail(1)) SWIG_fail
;
40324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40325 (arg1
)->DeleteWindows();
40327 wxPyEndAllowThreads(__tstate
);
40328 if (PyErr_Occurred()) SWIG_fail
;
40330 Py_INCREF(Py_None
); resultobj
= Py_None
;
40337 static PyObject
*_wrap_wxSizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40338 PyObject
*resultobj
;
40339 wxSizer
*arg1
= (wxSizer
*) 0 ;
40341 PyObject
* obj0
= 0 ;
40342 char *kwnames
[] = {
40343 (char *) "self", NULL
40346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxSizer_GetChildren",kwnames
,&obj0
)) goto fail
;
40347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40348 if (SWIG_arg_fail(1)) SWIG_fail
;
40350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40351 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
40353 wxPyEndAllowThreads(__tstate
);
40354 if (PyErr_Occurred()) SWIG_fail
;
40356 resultobj
= result
;
40363 static PyObject
*_wrap_wxSizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40364 PyObject
*resultobj
;
40365 wxSizer
*arg1
= (wxSizer
*) 0 ;
40366 PyObject
*arg2
= (PyObject
*) 0 ;
40367 bool arg3
= (bool) true ;
40368 bool arg4
= (bool) false ;
40370 PyObject
* obj0
= 0 ;
40371 PyObject
* obj1
= 0 ;
40372 PyObject
* obj2
= 0 ;
40373 PyObject
* obj3
= 0 ;
40374 char *kwnames
[] = {
40375 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
40378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:wxSizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40380 if (SWIG_arg_fail(1)) SWIG_fail
;
40384 arg3
= (bool)(SWIG_As_bool(obj2
));
40385 if (SWIG_arg_fail(3)) SWIG_fail
;
40390 arg4
= (bool)(SWIG_As_bool(obj3
));
40391 if (SWIG_arg_fail(4)) SWIG_fail
;
40395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40396 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
40398 wxPyEndAllowThreads(__tstate
);
40399 if (PyErr_Occurred()) SWIG_fail
;
40402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40410 static PyObject
*_wrap_wxSizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40411 PyObject
*resultobj
;
40412 wxSizer
*arg1
= (wxSizer
*) 0 ;
40413 PyObject
*arg2
= (PyObject
*) 0 ;
40415 PyObject
* obj0
= 0 ;
40416 PyObject
* obj1
= 0 ;
40417 char *kwnames
[] = {
40418 (char *) "self",(char *) "item", NULL
40421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
40422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40423 if (SWIG_arg_fail(1)) SWIG_fail
;
40426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40427 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
40429 wxPyEndAllowThreads(__tstate
);
40430 if (PyErr_Occurred()) SWIG_fail
;
40433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40441 static PyObject
*_wrap_wxSizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40442 PyObject
*resultobj
;
40443 wxSizer
*arg1
= (wxSizer
*) 0 ;
40445 PyObject
* obj0
= 0 ;
40446 PyObject
* obj1
= 0 ;
40447 char *kwnames
[] = {
40448 (char *) "self",(char *) "show", NULL
40451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxSizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
40452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40453 if (SWIG_arg_fail(1)) SWIG_fail
;
40455 arg2
= (bool)(SWIG_As_bool(obj1
));
40456 if (SWIG_arg_fail(2)) SWIG_fail
;
40459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40460 (arg1
)->ShowItems(arg2
);
40462 wxPyEndAllowThreads(__tstate
);
40463 if (PyErr_Occurred()) SWIG_fail
;
40465 Py_INCREF(Py_None
); resultobj
= Py_None
;
40472 static PyObject
* wxSizer_swigregister(PyObject
*, PyObject
*args
) {
40474 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40475 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
40477 return Py_BuildValue((char *)"");
40479 static PyObject
*_wrap_new_wxPySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40480 PyObject
*resultobj
;
40482 char *kwnames
[] = {
40486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_wxPySizer",kwnames
)) goto fail
;
40488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40489 result
= (wxPySizer
*)new wxPySizer();
40491 wxPyEndAllowThreads(__tstate
);
40492 if (PyErr_Occurred()) SWIG_fail
;
40494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
40501 static PyObject
*_wrap_wxPySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40502 PyObject
*resultobj
;
40503 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
40504 PyObject
*arg2
= (PyObject
*) 0 ;
40505 PyObject
*arg3
= (PyObject
*) 0 ;
40506 PyObject
* obj0
= 0 ;
40507 PyObject
* obj1
= 0 ;
40508 PyObject
* obj2
= 0 ;
40509 char *kwnames
[] = {
40510 (char *) "self",(char *) "self",(char *) "_class", NULL
40513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxPySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
40515 if (SWIG_arg_fail(1)) SWIG_fail
;
40519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40520 (arg1
)->_setCallbackInfo(arg2
,arg3
);
40522 wxPyEndAllowThreads(__tstate
);
40523 if (PyErr_Occurred()) SWIG_fail
;
40525 Py_INCREF(Py_None
); resultobj
= Py_None
;
40532 static PyObject
* wxPySizer_swigregister(PyObject
*, PyObject
*args
) {
40534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40535 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
40537 return Py_BuildValue((char *)"");
40539 static PyObject
*_wrap_new_wxBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40540 PyObject
*resultobj
;
40541 int arg1
= (int) wxHORIZONTAL
;
40542 wxBoxSizer
*result
;
40543 PyObject
* obj0
= 0 ;
40544 char *kwnames
[] = {
40545 (char *) "orient", NULL
40548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_wxBoxSizer",kwnames
,&obj0
)) goto fail
;
40551 arg1
= (int)(SWIG_As_int(obj0
));
40552 if (SWIG_arg_fail(1)) SWIG_fail
;
40556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40557 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
40559 wxPyEndAllowThreads(__tstate
);
40560 if (PyErr_Occurred()) SWIG_fail
;
40562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
40569 static PyObject
*_wrap_wxBoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40570 PyObject
*resultobj
;
40571 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40573 PyObject
* obj0
= 0 ;
40574 char *kwnames
[] = {
40575 (char *) "self", NULL
40578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxBoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
40579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40580 if (SWIG_arg_fail(1)) SWIG_fail
;
40582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40583 result
= (int)(arg1
)->GetOrientation();
40585 wxPyEndAllowThreads(__tstate
);
40586 if (PyErr_Occurred()) SWIG_fail
;
40589 resultobj
= SWIG_From_int((int)(result
));
40597 static PyObject
*_wrap_wxBoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40598 PyObject
*resultobj
;
40599 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40601 PyObject
* obj0
= 0 ;
40602 PyObject
* obj1
= 0 ;
40603 char *kwnames
[] = {
40604 (char *) "self",(char *) "orient", NULL
40607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxBoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
40608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40609 if (SWIG_arg_fail(1)) SWIG_fail
;
40611 arg2
= (int)(SWIG_As_int(obj1
));
40612 if (SWIG_arg_fail(2)) SWIG_fail
;
40615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40616 (arg1
)->SetOrientation(arg2
);
40618 wxPyEndAllowThreads(__tstate
);
40619 if (PyErr_Occurred()) SWIG_fail
;
40621 Py_INCREF(Py_None
); resultobj
= Py_None
;
40628 static PyObject
* wxBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40630 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40631 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
40633 return Py_BuildValue((char *)"");
40635 static PyObject
*_wrap_new_wxStaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40636 PyObject
*resultobj
;
40637 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
40638 int arg2
= (int) wxHORIZONTAL
;
40639 wxStaticBoxSizer
*result
;
40640 PyObject
* obj0
= 0 ;
40641 PyObject
* obj1
= 0 ;
40642 char *kwnames
[] = {
40643 (char *) "box",(char *) "orient", NULL
40646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_wxStaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
40647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
40648 if (SWIG_arg_fail(1)) SWIG_fail
;
40651 arg2
= (int)(SWIG_As_int(obj1
));
40652 if (SWIG_arg_fail(2)) SWIG_fail
;
40656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40657 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
40659 wxPyEndAllowThreads(__tstate
);
40660 if (PyErr_Occurred()) SWIG_fail
;
40662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
40669 static PyObject
*_wrap_wxStaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40670 PyObject
*resultobj
;
40671 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
40672 wxStaticBox
*result
;
40673 PyObject
* obj0
= 0 ;
40674 char *kwnames
[] = {
40675 (char *) "self", NULL
40678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxStaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
40679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40680 if (SWIG_arg_fail(1)) SWIG_fail
;
40682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40683 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
40685 wxPyEndAllowThreads(__tstate
);
40686 if (PyErr_Occurred()) SWIG_fail
;
40689 resultobj
= wxPyMake_wxObject(result
, 0);
40697 static PyObject
* wxStaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40699 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40700 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
40702 return Py_BuildValue((char *)"");
40704 static PyObject
*_wrap_new_wxGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40705 PyObject
*resultobj
;
40706 int arg1
= (int) 1 ;
40707 int arg2
= (int) 0 ;
40708 int arg3
= (int) 0 ;
40709 int arg4
= (int) 0 ;
40710 wxGridSizer
*result
;
40711 PyObject
* obj0
= 0 ;
40712 PyObject
* obj1
= 0 ;
40713 PyObject
* obj2
= 0 ;
40714 PyObject
* obj3
= 0 ;
40715 char *kwnames
[] = {
40716 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_wxGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40722 arg1
= (int)(SWIG_As_int(obj0
));
40723 if (SWIG_arg_fail(1)) SWIG_fail
;
40728 arg2
= (int)(SWIG_As_int(obj1
));
40729 if (SWIG_arg_fail(2)) SWIG_fail
;
40734 arg3
= (int)(SWIG_As_int(obj2
));
40735 if (SWIG_arg_fail(3)) SWIG_fail
;
40740 arg4
= (int)(SWIG_As_int(obj3
));
40741 if (SWIG_arg_fail(4)) SWIG_fail
;
40745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40746 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
40748 wxPyEndAllowThreads(__tstate
);
40749 if (PyErr_Occurred()) SWIG_fail
;
40751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
40758 static PyObject
*_wrap_wxGridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40759 PyObject
*resultobj
;
40760 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40762 PyObject
* obj0
= 0 ;
40763 PyObject
* obj1
= 0 ;
40764 char *kwnames
[] = {
40765 (char *) "self",(char *) "cols", NULL
40768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxGridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
40769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40770 if (SWIG_arg_fail(1)) SWIG_fail
;
40772 arg2
= (int)(SWIG_As_int(obj1
));
40773 if (SWIG_arg_fail(2)) SWIG_fail
;
40776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40777 (arg1
)->SetCols(arg2
);
40779 wxPyEndAllowThreads(__tstate
);
40780 if (PyErr_Occurred()) SWIG_fail
;
40782 Py_INCREF(Py_None
); resultobj
= Py_None
;
40789 static PyObject
*_wrap_wxGridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40790 PyObject
*resultobj
;
40791 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40793 PyObject
* obj0
= 0 ;
40794 PyObject
* obj1
= 0 ;
40795 char *kwnames
[] = {
40796 (char *) "self",(char *) "rows", NULL
40799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxGridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
40800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40801 if (SWIG_arg_fail(1)) SWIG_fail
;
40803 arg2
= (int)(SWIG_As_int(obj1
));
40804 if (SWIG_arg_fail(2)) SWIG_fail
;
40807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40808 (arg1
)->SetRows(arg2
);
40810 wxPyEndAllowThreads(__tstate
);
40811 if (PyErr_Occurred()) SWIG_fail
;
40813 Py_INCREF(Py_None
); resultobj
= Py_None
;
40820 static PyObject
*_wrap_wxGridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40821 PyObject
*resultobj
;
40822 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40824 PyObject
* obj0
= 0 ;
40825 PyObject
* obj1
= 0 ;
40826 char *kwnames
[] = {
40827 (char *) "self",(char *) "gap", NULL
40830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxGridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40832 if (SWIG_arg_fail(1)) SWIG_fail
;
40834 arg2
= (int)(SWIG_As_int(obj1
));
40835 if (SWIG_arg_fail(2)) SWIG_fail
;
40838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40839 (arg1
)->SetVGap(arg2
);
40841 wxPyEndAllowThreads(__tstate
);
40842 if (PyErr_Occurred()) SWIG_fail
;
40844 Py_INCREF(Py_None
); resultobj
= Py_None
;
40851 static PyObject
*_wrap_wxGridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40852 PyObject
*resultobj
;
40853 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40855 PyObject
* obj0
= 0 ;
40856 PyObject
* obj1
= 0 ;
40857 char *kwnames
[] = {
40858 (char *) "self",(char *) "gap", NULL
40861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxGridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40863 if (SWIG_arg_fail(1)) SWIG_fail
;
40865 arg2
= (int)(SWIG_As_int(obj1
));
40866 if (SWIG_arg_fail(2)) SWIG_fail
;
40869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40870 (arg1
)->SetHGap(arg2
);
40872 wxPyEndAllowThreads(__tstate
);
40873 if (PyErr_Occurred()) SWIG_fail
;
40875 Py_INCREF(Py_None
); resultobj
= Py_None
;
40882 static PyObject
*_wrap_wxGridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40883 PyObject
*resultobj
;
40884 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40886 PyObject
* obj0
= 0 ;
40887 char *kwnames
[] = {
40888 (char *) "self", NULL
40891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxGridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
40892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40893 if (SWIG_arg_fail(1)) SWIG_fail
;
40895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40896 result
= (int)(arg1
)->GetCols();
40898 wxPyEndAllowThreads(__tstate
);
40899 if (PyErr_Occurred()) SWIG_fail
;
40902 resultobj
= SWIG_From_int((int)(result
));
40910 static PyObject
*_wrap_wxGridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40911 PyObject
*resultobj
;
40912 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40914 PyObject
* obj0
= 0 ;
40915 char *kwnames
[] = {
40916 (char *) "self", NULL
40919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxGridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
40920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40921 if (SWIG_arg_fail(1)) SWIG_fail
;
40923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40924 result
= (int)(arg1
)->GetRows();
40926 wxPyEndAllowThreads(__tstate
);
40927 if (PyErr_Occurred()) SWIG_fail
;
40930 resultobj
= SWIG_From_int((int)(result
));
40938 static PyObject
*_wrap_wxGridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40939 PyObject
*resultobj
;
40940 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40942 PyObject
* obj0
= 0 ;
40943 char *kwnames
[] = {
40944 (char *) "self", NULL
40947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxGridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
40948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40949 if (SWIG_arg_fail(1)) SWIG_fail
;
40951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40952 result
= (int)(arg1
)->GetVGap();
40954 wxPyEndAllowThreads(__tstate
);
40955 if (PyErr_Occurred()) SWIG_fail
;
40958 resultobj
= SWIG_From_int((int)(result
));
40966 static PyObject
*_wrap_wxGridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40967 PyObject
*resultobj
;
40968 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40970 PyObject
* obj0
= 0 ;
40971 char *kwnames
[] = {
40972 (char *) "self", NULL
40975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxGridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
40976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40977 if (SWIG_arg_fail(1)) SWIG_fail
;
40979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40980 result
= (int)(arg1
)->GetHGap();
40982 wxPyEndAllowThreads(__tstate
);
40983 if (PyErr_Occurred()) SWIG_fail
;
40986 resultobj
= SWIG_From_int((int)(result
));
40994 static PyObject
* wxGridSizer_swigregister(PyObject
*, PyObject
*args
) {
40996 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40997 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
40999 return Py_BuildValue((char *)"");
41001 static PyObject
*_wrap_new_wxFlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41002 PyObject
*resultobj
;
41003 int arg1
= (int) 1 ;
41004 int arg2
= (int) 0 ;
41005 int arg3
= (int) 0 ;
41006 int arg4
= (int) 0 ;
41007 wxFlexGridSizer
*result
;
41008 PyObject
* obj0
= 0 ;
41009 PyObject
* obj1
= 0 ;
41010 PyObject
* obj2
= 0 ;
41011 PyObject
* obj3
= 0 ;
41012 char *kwnames
[] = {
41013 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
41016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_wxFlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
41019 arg1
= (int)(SWIG_As_int(obj0
));
41020 if (SWIG_arg_fail(1)) SWIG_fail
;
41025 arg2
= (int)(SWIG_As_int(obj1
));
41026 if (SWIG_arg_fail(2)) SWIG_fail
;
41031 arg3
= (int)(SWIG_As_int(obj2
));
41032 if (SWIG_arg_fail(3)) SWIG_fail
;
41037 arg4
= (int)(SWIG_As_int(obj3
));
41038 if (SWIG_arg_fail(4)) SWIG_fail
;
41042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41043 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
41045 wxPyEndAllowThreads(__tstate
);
41046 if (PyErr_Occurred()) SWIG_fail
;
41048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
41055 static PyObject
*_wrap_wxFlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41056 PyObject
*resultobj
;
41057 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41059 int arg3
= (int) 0 ;
41060 PyObject
* obj0
= 0 ;
41061 PyObject
* obj1
= 0 ;
41062 PyObject
* obj2
= 0 ;
41063 char *kwnames
[] = {
41064 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:wxFlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41069 if (SWIG_arg_fail(1)) SWIG_fail
;
41071 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41072 if (SWIG_arg_fail(2)) SWIG_fail
;
41076 arg3
= (int)(SWIG_As_int(obj2
));
41077 if (SWIG_arg_fail(3)) SWIG_fail
;
41081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41082 (arg1
)->AddGrowableRow(arg2
,arg3
);
41084 wxPyEndAllowThreads(__tstate
);
41085 if (PyErr_Occurred()) SWIG_fail
;
41087 Py_INCREF(Py_None
); resultobj
= Py_None
;
41094 static PyObject
*_wrap_wxFlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41095 PyObject
*resultobj
;
41096 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41098 PyObject
* obj0
= 0 ;
41099 PyObject
* obj1
= 0 ;
41100 char *kwnames
[] = {
41101 (char *) "self",(char *) "idx", NULL
41104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxFlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41106 if (SWIG_arg_fail(1)) SWIG_fail
;
41108 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41109 if (SWIG_arg_fail(2)) SWIG_fail
;
41112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41113 (arg1
)->RemoveGrowableRow(arg2
);
41115 wxPyEndAllowThreads(__tstate
);
41116 if (PyErr_Occurred()) SWIG_fail
;
41118 Py_INCREF(Py_None
); resultobj
= Py_None
;
41125 static PyObject
*_wrap_wxFlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41126 PyObject
*resultobj
;
41127 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41129 int arg3
= (int) 0 ;
41130 PyObject
* obj0
= 0 ;
41131 PyObject
* obj1
= 0 ;
41132 PyObject
* obj2
= 0 ;
41133 char *kwnames
[] = {
41134 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:wxFlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41139 if (SWIG_arg_fail(1)) SWIG_fail
;
41141 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41142 if (SWIG_arg_fail(2)) SWIG_fail
;
41146 arg3
= (int)(SWIG_As_int(obj2
));
41147 if (SWIG_arg_fail(3)) SWIG_fail
;
41151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41152 (arg1
)->AddGrowableCol(arg2
,arg3
);
41154 wxPyEndAllowThreads(__tstate
);
41155 if (PyErr_Occurred()) SWIG_fail
;
41157 Py_INCREF(Py_None
); resultobj
= Py_None
;
41164 static PyObject
*_wrap_wxFlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41165 PyObject
*resultobj
;
41166 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41168 PyObject
* obj0
= 0 ;
41169 PyObject
* obj1
= 0 ;
41170 char *kwnames
[] = {
41171 (char *) "self",(char *) "idx", NULL
41174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxFlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41176 if (SWIG_arg_fail(1)) SWIG_fail
;
41178 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41179 if (SWIG_arg_fail(2)) SWIG_fail
;
41182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41183 (arg1
)->RemoveGrowableCol(arg2
);
41185 wxPyEndAllowThreads(__tstate
);
41186 if (PyErr_Occurred()) SWIG_fail
;
41188 Py_INCREF(Py_None
); resultobj
= Py_None
;
41195 static PyObject
*_wrap_wxFlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41196 PyObject
*resultobj
;
41197 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41199 PyObject
* obj0
= 0 ;
41200 PyObject
* obj1
= 0 ;
41201 char *kwnames
[] = {
41202 (char *) "self",(char *) "direction", NULL
41205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxFlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
41206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41207 if (SWIG_arg_fail(1)) SWIG_fail
;
41209 arg2
= (int)(SWIG_As_int(obj1
));
41210 if (SWIG_arg_fail(2)) SWIG_fail
;
41213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41214 (arg1
)->SetFlexibleDirection(arg2
);
41216 wxPyEndAllowThreads(__tstate
);
41217 if (PyErr_Occurred()) SWIG_fail
;
41219 Py_INCREF(Py_None
); resultobj
= Py_None
;
41226 static PyObject
*_wrap_wxFlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41227 PyObject
*resultobj
;
41228 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41230 PyObject
* obj0
= 0 ;
41231 char *kwnames
[] = {
41232 (char *) "self", NULL
41235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxFlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
41236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41237 if (SWIG_arg_fail(1)) SWIG_fail
;
41239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41240 result
= (int)(arg1
)->GetFlexibleDirection();
41242 wxPyEndAllowThreads(__tstate
);
41243 if (PyErr_Occurred()) SWIG_fail
;
41246 resultobj
= SWIG_From_int((int)(result
));
41254 static PyObject
*_wrap_wxFlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41255 PyObject
*resultobj
;
41256 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41257 wxFlexSizerGrowMode arg2
;
41258 PyObject
* obj0
= 0 ;
41259 PyObject
* obj1
= 0 ;
41260 char *kwnames
[] = {
41261 (char *) "self",(char *) "mode", NULL
41264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxFlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
41265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41266 if (SWIG_arg_fail(1)) SWIG_fail
;
41268 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
41269 if (SWIG_arg_fail(2)) SWIG_fail
;
41272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41273 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
41275 wxPyEndAllowThreads(__tstate
);
41276 if (PyErr_Occurred()) SWIG_fail
;
41278 Py_INCREF(Py_None
); resultobj
= Py_None
;
41285 static PyObject
*_wrap_wxFlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41286 PyObject
*resultobj
;
41287 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41288 wxFlexSizerGrowMode result
;
41289 PyObject
* obj0
= 0 ;
41290 char *kwnames
[] = {
41291 (char *) "self", NULL
41294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxFlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
41295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41296 if (SWIG_arg_fail(1)) SWIG_fail
;
41298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41299 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
41301 wxPyEndAllowThreads(__tstate
);
41302 if (PyErr_Occurred()) SWIG_fail
;
41304 resultobj
= SWIG_From_int((result
));
41311 static PyObject
*_wrap_wxFlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41312 PyObject
*resultobj
;
41313 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41314 wxArrayInt
*result
;
41315 PyObject
* obj0
= 0 ;
41316 char *kwnames
[] = {
41317 (char *) "self", NULL
41320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxFlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
41321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41322 if (SWIG_arg_fail(1)) SWIG_fail
;
41324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41326 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
41327 result
= (wxArrayInt
*) &_result_ref
;
41330 wxPyEndAllowThreads(__tstate
);
41331 if (PyErr_Occurred()) SWIG_fail
;
41334 resultobj
= PyList_New(0);
41336 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41337 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41338 PyList_Append(resultobj
, val
);
41348 static PyObject
*_wrap_wxFlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41349 PyObject
*resultobj
;
41350 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41351 wxArrayInt
*result
;
41352 PyObject
* obj0
= 0 ;
41353 char *kwnames
[] = {
41354 (char *) "self", NULL
41357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxFlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
41358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41359 if (SWIG_arg_fail(1)) SWIG_fail
;
41361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41363 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
41364 result
= (wxArrayInt
*) &_result_ref
;
41367 wxPyEndAllowThreads(__tstate
);
41368 if (PyErr_Occurred()) SWIG_fail
;
41371 resultobj
= PyList_New(0);
41373 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41374 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41375 PyList_Append(resultobj
, val
);
41385 static PyObject
* wxFlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
41387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41388 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
41390 return Py_BuildValue((char *)"");
41392 static PyObject
*_wrap_new_wxStdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41393 PyObject
*resultobj
;
41394 wxStdDialogButtonSizer
*result
;
41395 char *kwnames
[] = {
41399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_wxStdDialogButtonSizer",kwnames
)) goto fail
;
41401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41402 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
41404 wxPyEndAllowThreads(__tstate
);
41405 if (PyErr_Occurred()) SWIG_fail
;
41407 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
41414 static PyObject
*_wrap_wxStdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41415 PyObject
*resultobj
;
41416 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41417 wxButton
*arg2
= (wxButton
*) 0 ;
41418 PyObject
* obj0
= 0 ;
41419 PyObject
* obj1
= 0 ;
41420 char *kwnames
[] = {
41421 (char *) "self",(char *) "button", NULL
41424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxStdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41426 if (SWIG_arg_fail(1)) SWIG_fail
;
41427 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41428 if (SWIG_arg_fail(2)) SWIG_fail
;
41430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41431 (arg1
)->AddButton(arg2
);
41433 wxPyEndAllowThreads(__tstate
);
41434 if (PyErr_Occurred()) SWIG_fail
;
41436 Py_INCREF(Py_None
); resultobj
= Py_None
;
41443 static PyObject
*_wrap_wxStdDialogButtonSizer_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41444 PyObject
*resultobj
;
41445 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41446 PyObject
* obj0
= 0 ;
41447 char *kwnames
[] = {
41448 (char *) "self", NULL
41451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxStdDialogButtonSizer_Realize",kwnames
,&obj0
)) goto fail
;
41452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41453 if (SWIG_arg_fail(1)) SWIG_fail
;
41455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41458 wxPyEndAllowThreads(__tstate
);
41459 if (PyErr_Occurred()) SWIG_fail
;
41461 Py_INCREF(Py_None
); resultobj
= Py_None
;
41468 static PyObject
*_wrap_wxStdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41469 PyObject
*resultobj
;
41470 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41471 wxButton
*arg2
= (wxButton
*) 0 ;
41472 PyObject
* obj0
= 0 ;
41473 PyObject
* obj1
= 0 ;
41474 char *kwnames
[] = {
41475 (char *) "self",(char *) "button", NULL
41478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxStdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41480 if (SWIG_arg_fail(1)) SWIG_fail
;
41481 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41482 if (SWIG_arg_fail(2)) SWIG_fail
;
41484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41485 (arg1
)->SetAffirmativeButton(arg2
);
41487 wxPyEndAllowThreads(__tstate
);
41488 if (PyErr_Occurred()) SWIG_fail
;
41490 Py_INCREF(Py_None
); resultobj
= Py_None
;
41497 static PyObject
*_wrap_wxStdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41498 PyObject
*resultobj
;
41499 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41500 wxButton
*arg2
= (wxButton
*) 0 ;
41501 PyObject
* obj0
= 0 ;
41502 PyObject
* obj1
= 0 ;
41503 char *kwnames
[] = {
41504 (char *) "self",(char *) "button", NULL
41507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxStdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41509 if (SWIG_arg_fail(1)) SWIG_fail
;
41510 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41511 if (SWIG_arg_fail(2)) SWIG_fail
;
41513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41514 (arg1
)->SetNegativeButton(arg2
);
41516 wxPyEndAllowThreads(__tstate
);
41517 if (PyErr_Occurred()) SWIG_fail
;
41519 Py_INCREF(Py_None
); resultobj
= Py_None
;
41526 static PyObject
*_wrap_wxStdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41527 PyObject
*resultobj
;
41528 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41529 wxButton
*arg2
= (wxButton
*) 0 ;
41530 PyObject
* obj0
= 0 ;
41531 PyObject
* obj1
= 0 ;
41532 char *kwnames
[] = {
41533 (char *) "self",(char *) "button", NULL
41536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxStdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41538 if (SWIG_arg_fail(1)) SWIG_fail
;
41539 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41540 if (SWIG_arg_fail(2)) SWIG_fail
;
41542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41543 (arg1
)->SetCancelButton(arg2
);
41545 wxPyEndAllowThreads(__tstate
);
41546 if (PyErr_Occurred()) SWIG_fail
;
41548 Py_INCREF(Py_None
); resultobj
= Py_None
;
41555 static PyObject
*_wrap_wxStdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41556 PyObject
*resultobj
;
41557 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41559 PyObject
* obj0
= 0 ;
41560 char *kwnames
[] = {
41561 (char *) "self", NULL
41564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxStdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
41565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41566 if (SWIG_arg_fail(1)) SWIG_fail
;
41568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41569 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
41571 wxPyEndAllowThreads(__tstate
);
41572 if (PyErr_Occurred()) SWIG_fail
;
41575 resultobj
= wxPyMake_wxObject(result
, 0);
41583 static PyObject
*_wrap_wxStdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41584 PyObject
*resultobj
;
41585 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41587 PyObject
* obj0
= 0 ;
41588 char *kwnames
[] = {
41589 (char *) "self", NULL
41592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxStdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
41593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41594 if (SWIG_arg_fail(1)) SWIG_fail
;
41596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41597 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
41599 wxPyEndAllowThreads(__tstate
);
41600 if (PyErr_Occurred()) SWIG_fail
;
41603 resultobj
= wxPyMake_wxObject(result
, 0);
41611 static PyObject
*_wrap_wxStdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41612 PyObject
*resultobj
;
41613 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41615 PyObject
* obj0
= 0 ;
41616 char *kwnames
[] = {
41617 (char *) "self", NULL
41620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxStdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
41621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41622 if (SWIG_arg_fail(1)) SWIG_fail
;
41624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41625 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
41627 wxPyEndAllowThreads(__tstate
);
41628 if (PyErr_Occurred()) SWIG_fail
;
41631 resultobj
= wxPyMake_wxObject(result
, 0);
41639 static PyObject
*_wrap_wxStdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41640 PyObject
*resultobj
;
41641 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41643 PyObject
* obj0
= 0 ;
41644 char *kwnames
[] = {
41645 (char *) "self", NULL
41648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxStdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
41649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41650 if (SWIG_arg_fail(1)) SWIG_fail
;
41652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41653 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
41655 wxPyEndAllowThreads(__tstate
);
41656 if (PyErr_Occurred()) SWIG_fail
;
41659 resultobj
= wxPyMake_wxObject(result
, 0);
41667 static PyObject
*_wrap_wxStdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41668 PyObject
*resultobj
;
41669 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41671 PyObject
* obj0
= 0 ;
41672 char *kwnames
[] = {
41673 (char *) "self", NULL
41676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxStdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
41677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41678 if (SWIG_arg_fail(1)) SWIG_fail
;
41680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41681 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
41683 wxPyEndAllowThreads(__tstate
);
41684 if (PyErr_Occurred()) SWIG_fail
;
41687 resultobj
= wxPyMake_wxObject(result
, 0);
41695 static PyObject
* wxStdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
41697 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41698 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
41700 return Py_BuildValue((char *)"");
41702 static PyObject
*_wrap_new_wxGBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41703 PyObject
*resultobj
;
41704 int arg1
= (int) 0 ;
41705 int arg2
= (int) 0 ;
41706 wxGBPosition
*result
;
41707 PyObject
* obj0
= 0 ;
41708 PyObject
* obj1
= 0 ;
41709 char *kwnames
[] = {
41710 (char *) "row",(char *) "col", NULL
41713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_wxGBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
41716 arg1
= (int)(SWIG_As_int(obj0
));
41717 if (SWIG_arg_fail(1)) SWIG_fail
;
41722 arg2
= (int)(SWIG_As_int(obj1
));
41723 if (SWIG_arg_fail(2)) SWIG_fail
;
41727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41728 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
41730 wxPyEndAllowThreads(__tstate
);
41731 if (PyErr_Occurred()) SWIG_fail
;
41733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
41740 static PyObject
*_wrap_wxGBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41741 PyObject
*resultobj
;
41742 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41744 PyObject
* obj0
= 0 ;
41745 char *kwnames
[] = {
41746 (char *) "self", NULL
41749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxGBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
41750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41751 if (SWIG_arg_fail(1)) SWIG_fail
;
41753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41754 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
41756 wxPyEndAllowThreads(__tstate
);
41757 if (PyErr_Occurred()) SWIG_fail
;
41760 resultobj
= SWIG_From_int((int)(result
));
41768 static PyObject
*_wrap_wxGBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41769 PyObject
*resultobj
;
41770 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41772 PyObject
* obj0
= 0 ;
41773 char *kwnames
[] = {
41774 (char *) "self", NULL
41777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxGBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
41778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41779 if (SWIG_arg_fail(1)) SWIG_fail
;
41781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41782 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
41784 wxPyEndAllowThreads(__tstate
);
41785 if (PyErr_Occurred()) SWIG_fail
;
41788 resultobj
= SWIG_From_int((int)(result
));
41796 static PyObject
*_wrap_wxGBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41797 PyObject
*resultobj
;
41798 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41800 PyObject
* obj0
= 0 ;
41801 PyObject
* obj1
= 0 ;
41802 char *kwnames
[] = {
41803 (char *) "self",(char *) "row", NULL
41806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxGBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41808 if (SWIG_arg_fail(1)) SWIG_fail
;
41810 arg2
= (int)(SWIG_As_int(obj1
));
41811 if (SWIG_arg_fail(2)) SWIG_fail
;
41814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41815 (arg1
)->SetRow(arg2
);
41817 wxPyEndAllowThreads(__tstate
);
41818 if (PyErr_Occurred()) SWIG_fail
;
41820 Py_INCREF(Py_None
); resultobj
= Py_None
;
41827 static PyObject
*_wrap_wxGBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41828 PyObject
*resultobj
;
41829 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41831 PyObject
* obj0
= 0 ;
41832 PyObject
* obj1
= 0 ;
41833 char *kwnames
[] = {
41834 (char *) "self",(char *) "col", NULL
41837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxGBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41839 if (SWIG_arg_fail(1)) SWIG_fail
;
41841 arg2
= (int)(SWIG_As_int(obj1
));
41842 if (SWIG_arg_fail(2)) SWIG_fail
;
41845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41846 (arg1
)->SetCol(arg2
);
41848 wxPyEndAllowThreads(__tstate
);
41849 if (PyErr_Occurred()) SWIG_fail
;
41851 Py_INCREF(Py_None
); resultobj
= Py_None
;
41858 static PyObject
*_wrap_wxGBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41859 PyObject
*resultobj
;
41860 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41861 wxGBPosition
*arg2
= 0 ;
41863 wxGBPosition temp2
;
41864 PyObject
* obj0
= 0 ;
41865 PyObject
* obj1
= 0 ;
41866 char *kwnames
[] = {
41867 (char *) "self",(char *) "other", NULL
41870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxGBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41872 if (SWIG_arg_fail(1)) SWIG_fail
;
41875 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41879 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
41881 wxPyEndAllowThreads(__tstate
);
41882 if (PyErr_Occurred()) SWIG_fail
;
41885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41893 static PyObject
*_wrap_wxGBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41894 PyObject
*resultobj
;
41895 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41896 wxGBPosition
*arg2
= 0 ;
41898 wxGBPosition temp2
;
41899 PyObject
* obj0
= 0 ;
41900 PyObject
* obj1
= 0 ;
41901 char *kwnames
[] = {
41902 (char *) "self",(char *) "other", NULL
41905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxGBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41907 if (SWIG_arg_fail(1)) SWIG_fail
;
41910 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41914 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
41916 wxPyEndAllowThreads(__tstate
);
41917 if (PyErr_Occurred()) SWIG_fail
;
41920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41928 static PyObject
*_wrap_wxGBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41929 PyObject
*resultobj
;
41930 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41931 int arg2
= (int) 0 ;
41932 int arg3
= (int) 0 ;
41933 PyObject
* obj0
= 0 ;
41934 PyObject
* obj1
= 0 ;
41935 PyObject
* obj2
= 0 ;
41936 char *kwnames
[] = {
41937 (char *) "self",(char *) "row",(char *) "col", NULL
41940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:wxGBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41942 if (SWIG_arg_fail(1)) SWIG_fail
;
41945 arg2
= (int)(SWIG_As_int(obj1
));
41946 if (SWIG_arg_fail(2)) SWIG_fail
;
41951 arg3
= (int)(SWIG_As_int(obj2
));
41952 if (SWIG_arg_fail(3)) SWIG_fail
;
41956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41957 wxGBPosition_Set(arg1
,arg2
,arg3
);
41959 wxPyEndAllowThreads(__tstate
);
41960 if (PyErr_Occurred()) SWIG_fail
;
41962 Py_INCREF(Py_None
); resultobj
= Py_None
;
41969 static PyObject
*_wrap_wxGBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41970 PyObject
*resultobj
;
41971 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41973 PyObject
* obj0
= 0 ;
41974 char *kwnames
[] = {
41975 (char *) "self", NULL
41978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxGBPosition_Get",kwnames
,&obj0
)) goto fail
;
41979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41980 if (SWIG_arg_fail(1)) SWIG_fail
;
41982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41983 result
= (PyObject
*)wxGBPosition_Get(arg1
);
41985 wxPyEndAllowThreads(__tstate
);
41986 if (PyErr_Occurred()) SWIG_fail
;
41988 resultobj
= result
;
41995 static PyObject
* wxGBPosition_swigregister(PyObject
*, PyObject
*args
) {
41997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41998 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
42000 return Py_BuildValue((char *)"");
42002 static PyObject
*_wrap_new_wxGBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42003 PyObject
*resultobj
;
42004 int arg1
= (int) 1 ;
42005 int arg2
= (int) 1 ;
42007 PyObject
* obj0
= 0 ;
42008 PyObject
* obj1
= 0 ;
42009 char *kwnames
[] = {
42010 (char *) "rowspan",(char *) "colspan", NULL
42013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_wxGBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42016 arg1
= (int)(SWIG_As_int(obj0
));
42017 if (SWIG_arg_fail(1)) SWIG_fail
;
42022 arg2
= (int)(SWIG_As_int(obj1
));
42023 if (SWIG_arg_fail(2)) SWIG_fail
;
42027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42028 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
42030 wxPyEndAllowThreads(__tstate
);
42031 if (PyErr_Occurred()) SWIG_fail
;
42033 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
42040 static PyObject
*_wrap_wxGBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42041 PyObject
*resultobj
;
42042 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42044 PyObject
* obj0
= 0 ;
42045 char *kwnames
[] = {
42046 (char *) "self", NULL
42049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxGBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
42050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42051 if (SWIG_arg_fail(1)) SWIG_fail
;
42053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42054 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
42056 wxPyEndAllowThreads(__tstate
);
42057 if (PyErr_Occurred()) SWIG_fail
;
42060 resultobj
= SWIG_From_int((int)(result
));
42068 static PyObject
*_wrap_wxGBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42069 PyObject
*resultobj
;
42070 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42072 PyObject
* obj0
= 0 ;
42073 char *kwnames
[] = {
42074 (char *) "self", NULL
42077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxGBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
42078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42079 if (SWIG_arg_fail(1)) SWIG_fail
;
42081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42082 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
42084 wxPyEndAllowThreads(__tstate
);
42085 if (PyErr_Occurred()) SWIG_fail
;
42088 resultobj
= SWIG_From_int((int)(result
));
42096 static PyObject
*_wrap_wxGBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42097 PyObject
*resultobj
;
42098 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42100 PyObject
* obj0
= 0 ;
42101 PyObject
* obj1
= 0 ;
42102 char *kwnames
[] = {
42103 (char *) "self",(char *) "rowspan", NULL
42106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxGBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42108 if (SWIG_arg_fail(1)) SWIG_fail
;
42110 arg2
= (int)(SWIG_As_int(obj1
));
42111 if (SWIG_arg_fail(2)) SWIG_fail
;
42114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42115 (arg1
)->SetRowspan(arg2
);
42117 wxPyEndAllowThreads(__tstate
);
42118 if (PyErr_Occurred()) SWIG_fail
;
42120 Py_INCREF(Py_None
); resultobj
= Py_None
;
42127 static PyObject
*_wrap_wxGBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42128 PyObject
*resultobj
;
42129 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42131 PyObject
* obj0
= 0 ;
42132 PyObject
* obj1
= 0 ;
42133 char *kwnames
[] = {
42134 (char *) "self",(char *) "colspan", NULL
42137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxGBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42139 if (SWIG_arg_fail(1)) SWIG_fail
;
42141 arg2
= (int)(SWIG_As_int(obj1
));
42142 if (SWIG_arg_fail(2)) SWIG_fail
;
42145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42146 (arg1
)->SetColspan(arg2
);
42148 wxPyEndAllowThreads(__tstate
);
42149 if (PyErr_Occurred()) SWIG_fail
;
42151 Py_INCREF(Py_None
); resultobj
= Py_None
;
42158 static PyObject
*_wrap_wxGBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42159 PyObject
*resultobj
;
42160 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42161 wxGBSpan
*arg2
= 0 ;
42164 PyObject
* obj0
= 0 ;
42165 PyObject
* obj1
= 0 ;
42166 char *kwnames
[] = {
42167 (char *) "self",(char *) "other", NULL
42170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxGBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
42171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42172 if (SWIG_arg_fail(1)) SWIG_fail
;
42175 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42179 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
42181 wxPyEndAllowThreads(__tstate
);
42182 if (PyErr_Occurred()) SWIG_fail
;
42185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42193 static PyObject
*_wrap_wxGBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42194 PyObject
*resultobj
;
42195 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42196 wxGBSpan
*arg2
= 0 ;
42199 PyObject
* obj0
= 0 ;
42200 PyObject
* obj1
= 0 ;
42201 char *kwnames
[] = {
42202 (char *) "self",(char *) "other", NULL
42205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxGBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42207 if (SWIG_arg_fail(1)) SWIG_fail
;
42210 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42214 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
42216 wxPyEndAllowThreads(__tstate
);
42217 if (PyErr_Occurred()) SWIG_fail
;
42220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42228 static PyObject
*_wrap_wxGBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42229 PyObject
*resultobj
;
42230 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42231 int arg2
= (int) 1 ;
42232 int arg3
= (int) 1 ;
42233 PyObject
* obj0
= 0 ;
42234 PyObject
* obj1
= 0 ;
42235 PyObject
* obj2
= 0 ;
42236 char *kwnames
[] = {
42237 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
42240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:wxGBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42242 if (SWIG_arg_fail(1)) SWIG_fail
;
42245 arg2
= (int)(SWIG_As_int(obj1
));
42246 if (SWIG_arg_fail(2)) SWIG_fail
;
42251 arg3
= (int)(SWIG_As_int(obj2
));
42252 if (SWIG_arg_fail(3)) SWIG_fail
;
42256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42257 wxGBSpan_Set(arg1
,arg2
,arg3
);
42259 wxPyEndAllowThreads(__tstate
);
42260 if (PyErr_Occurred()) SWIG_fail
;
42262 Py_INCREF(Py_None
); resultobj
= Py_None
;
42269 static PyObject
*_wrap_wxGBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42270 PyObject
*resultobj
;
42271 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42273 PyObject
* obj0
= 0 ;
42274 char *kwnames
[] = {
42275 (char *) "self", NULL
42278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxGBSpan_Get",kwnames
,&obj0
)) goto fail
;
42279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42280 if (SWIG_arg_fail(1)) SWIG_fail
;
42282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42283 result
= (PyObject
*)wxGBSpan_Get(arg1
);
42285 wxPyEndAllowThreads(__tstate
);
42286 if (PyErr_Occurred()) SWIG_fail
;
42288 resultobj
= result
;
42295 static PyObject
* wxGBSpan_swigregister(PyObject
*, PyObject
*args
) {
42297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42298 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
42300 return Py_BuildValue((char *)"");
42302 static int _wrap_wxDefaultSpan_set(PyObject
*) {
42303 PyErr_SetString(PyExc_TypeError
,"Variable wxDefaultSpan is read-only.");
42308 static PyObject
*_wrap_wxDefaultSpan_get(void) {
42311 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
42316 static PyObject
*_wrap_new_wxGBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42317 PyObject
*resultobj
;
42318 wxGBSizerItem
*result
;
42319 char *kwnames
[] = {
42323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_wxGBSizerItem",kwnames
)) goto fail
;
42325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42326 result
= (wxGBSizerItem
*)new wxGBSizerItem();
42328 wxPyEndAllowThreads(__tstate
);
42329 if (PyErr_Occurred()) SWIG_fail
;
42331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42338 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42339 PyObject
*resultobj
;
42340 wxWindow
*arg1
= (wxWindow
*) 0 ;
42341 wxGBPosition
*arg2
= 0 ;
42342 wxGBSpan
*arg3
= 0 ;
42345 PyObject
*arg6
= (PyObject
*) NULL
;
42346 wxGBSizerItem
*result
;
42347 wxGBPosition temp2
;
42349 PyObject
* obj0
= 0 ;
42350 PyObject
* obj1
= 0 ;
42351 PyObject
* obj2
= 0 ;
42352 PyObject
* obj3
= 0 ;
42353 PyObject
* obj4
= 0 ;
42354 PyObject
* obj5
= 0 ;
42355 char *kwnames
[] = {
42356 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42361 if (SWIG_arg_fail(1)) SWIG_fail
;
42364 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42368 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42371 arg4
= (int)(SWIG_As_int(obj3
));
42372 if (SWIG_arg_fail(4)) SWIG_fail
;
42375 arg5
= (int)(SWIG_As_int(obj4
));
42376 if (SWIG_arg_fail(5)) SWIG_fail
;
42382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42383 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42385 wxPyEndAllowThreads(__tstate
);
42386 if (PyErr_Occurred()) SWIG_fail
;
42388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42395 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42396 PyObject
*resultobj
;
42397 wxSizer
*arg1
= (wxSizer
*) 0 ;
42398 wxGBPosition
*arg2
= 0 ;
42399 wxGBSpan
*arg3
= 0 ;
42402 PyObject
*arg6
= (PyObject
*) NULL
;
42403 wxGBSizerItem
*result
;
42404 wxGBPosition temp2
;
42406 PyObject
* obj0
= 0 ;
42407 PyObject
* obj1
= 0 ;
42408 PyObject
* obj2
= 0 ;
42409 PyObject
* obj3
= 0 ;
42410 PyObject
* obj4
= 0 ;
42411 PyObject
* obj5
= 0 ;
42412 char *kwnames
[] = {
42413 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42418 if (SWIG_arg_fail(1)) SWIG_fail
;
42421 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42425 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42428 arg4
= (int)(SWIG_As_int(obj3
));
42429 if (SWIG_arg_fail(4)) SWIG_fail
;
42432 arg5
= (int)(SWIG_As_int(obj4
));
42433 if (SWIG_arg_fail(5)) SWIG_fail
;
42439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42440 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42442 wxPyEndAllowThreads(__tstate
);
42443 if (PyErr_Occurred()) SWIG_fail
;
42445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42452 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42453 PyObject
*resultobj
;
42456 wxGBPosition
*arg3
= 0 ;
42457 wxGBSpan
*arg4
= 0 ;
42460 PyObject
*arg7
= (PyObject
*) NULL
;
42461 wxGBSizerItem
*result
;
42462 wxGBPosition temp3
;
42464 PyObject
* obj0
= 0 ;
42465 PyObject
* obj1
= 0 ;
42466 PyObject
* obj2
= 0 ;
42467 PyObject
* obj3
= 0 ;
42468 PyObject
* obj4
= 0 ;
42469 PyObject
* obj5
= 0 ;
42470 PyObject
* obj6
= 0 ;
42471 char *kwnames
[] = {
42472 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42477 arg1
= (int)(SWIG_As_int(obj0
));
42478 if (SWIG_arg_fail(1)) SWIG_fail
;
42481 arg2
= (int)(SWIG_As_int(obj1
));
42482 if (SWIG_arg_fail(2)) SWIG_fail
;
42486 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42490 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42493 arg5
= (int)(SWIG_As_int(obj4
));
42494 if (SWIG_arg_fail(5)) SWIG_fail
;
42497 arg6
= (int)(SWIG_As_int(obj5
));
42498 if (SWIG_arg_fail(6)) SWIG_fail
;
42504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42505 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42507 wxPyEndAllowThreads(__tstate
);
42508 if (PyErr_Occurred()) SWIG_fail
;
42510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42517 static PyObject
*_wrap_wxGBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42518 PyObject
*resultobj
;
42519 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42520 wxGBPosition result
;
42521 PyObject
* obj0
= 0 ;
42522 char *kwnames
[] = {
42523 (char *) "self", NULL
42526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxGBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
42527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42528 if (SWIG_arg_fail(1)) SWIG_fail
;
42530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42531 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
42533 wxPyEndAllowThreads(__tstate
);
42534 if (PyErr_Occurred()) SWIG_fail
;
42537 wxGBPosition
* resultptr
;
42538 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42539 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42547 static PyObject
*_wrap_wxGBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42548 PyObject
*resultobj
;
42549 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42551 PyObject
* obj0
= 0 ;
42552 char *kwnames
[] = {
42553 (char *) "self", NULL
42556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxGBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
42557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42558 if (SWIG_arg_fail(1)) SWIG_fail
;
42560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42561 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
42563 wxPyEndAllowThreads(__tstate
);
42564 if (PyErr_Occurred()) SWIG_fail
;
42567 wxGBSpan
* resultptr
;
42568 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42569 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42577 static PyObject
*_wrap_wxGBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42578 PyObject
*resultobj
;
42579 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42580 wxGBPosition
*arg2
= 0 ;
42582 wxGBPosition temp2
;
42583 PyObject
* obj0
= 0 ;
42584 PyObject
* obj1
= 0 ;
42585 char *kwnames
[] = {
42586 (char *) "self",(char *) "pos", NULL
42589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxGBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
42590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42591 if (SWIG_arg_fail(1)) SWIG_fail
;
42594 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42598 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
42600 wxPyEndAllowThreads(__tstate
);
42601 if (PyErr_Occurred()) SWIG_fail
;
42604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42612 static PyObject
*_wrap_wxGBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42613 PyObject
*resultobj
;
42614 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42615 wxGBSpan
*arg2
= 0 ;
42618 PyObject
* obj0
= 0 ;
42619 PyObject
* obj1
= 0 ;
42620 char *kwnames
[] = {
42621 (char *) "self",(char *) "span", NULL
42624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxGBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42626 if (SWIG_arg_fail(1)) SWIG_fail
;
42629 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42633 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
42635 wxPyEndAllowThreads(__tstate
);
42636 if (PyErr_Occurred()) SWIG_fail
;
42639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42647 static PyObject
*_wrap_wxGBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42648 PyObject
*resultobj
;
42649 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42650 wxGBSizerItem
*arg2
= 0 ;
42652 PyObject
* obj0
= 0 ;
42653 PyObject
* obj1
= 0 ;
42654 char *kwnames
[] = {
42655 (char *) "self",(char *) "other", NULL
42658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxGBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
42659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42660 if (SWIG_arg_fail(1)) SWIG_fail
;
42662 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42663 if (SWIG_arg_fail(2)) SWIG_fail
;
42664 if (arg2
== NULL
) {
42665 SWIG_null_ref("wxGBSizerItem");
42667 if (SWIG_arg_fail(2)) SWIG_fail
;
42670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42671 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
42673 wxPyEndAllowThreads(__tstate
);
42674 if (PyErr_Occurred()) SWIG_fail
;
42677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42685 static PyObject
*_wrap_wxGBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42686 PyObject
*resultobj
;
42687 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42688 wxGBPosition
*arg2
= 0 ;
42689 wxGBSpan
*arg3
= 0 ;
42691 wxGBPosition temp2
;
42693 PyObject
* obj0
= 0 ;
42694 PyObject
* obj1
= 0 ;
42695 PyObject
* obj2
= 0 ;
42696 char *kwnames
[] = {
42697 (char *) "self",(char *) "pos",(char *) "span", NULL
42700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxGBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42702 if (SWIG_arg_fail(1)) SWIG_fail
;
42705 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42709 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42713 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
42715 wxPyEndAllowThreads(__tstate
);
42716 if (PyErr_Occurred()) SWIG_fail
;
42719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42727 static PyObject
*_wrap_wxGBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42728 PyObject
*resultobj
;
42729 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42730 wxGBPosition result
;
42731 PyObject
* obj0
= 0 ;
42732 char *kwnames
[] = {
42733 (char *) "self", NULL
42736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxGBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
42737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42738 if (SWIG_arg_fail(1)) SWIG_fail
;
42740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42741 result
= wxGBSizerItem_GetEndPos(arg1
);
42743 wxPyEndAllowThreads(__tstate
);
42744 if (PyErr_Occurred()) SWIG_fail
;
42747 wxGBPosition
* resultptr
;
42748 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42749 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42757 static PyObject
*_wrap_wxGBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42758 PyObject
*resultobj
;
42759 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42760 wxGridBagSizer
*result
;
42761 PyObject
* obj0
= 0 ;
42762 char *kwnames
[] = {
42763 (char *) "self", NULL
42766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxGBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
42767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42768 if (SWIG_arg_fail(1)) SWIG_fail
;
42770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42771 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
42773 wxPyEndAllowThreads(__tstate
);
42774 if (PyErr_Occurred()) SWIG_fail
;
42776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
42783 static PyObject
*_wrap_wxGBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42784 PyObject
*resultobj
;
42785 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42786 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
42787 PyObject
* obj0
= 0 ;
42788 PyObject
* obj1
= 0 ;
42789 char *kwnames
[] = {
42790 (char *) "self",(char *) "sizer", NULL
42793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxGBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42795 if (SWIG_arg_fail(1)) SWIG_fail
;
42796 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42797 if (SWIG_arg_fail(2)) SWIG_fail
;
42799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42800 (arg1
)->SetGBSizer(arg2
);
42802 wxPyEndAllowThreads(__tstate
);
42803 if (PyErr_Occurred()) SWIG_fail
;
42805 Py_INCREF(Py_None
); resultobj
= Py_None
;
42812 static PyObject
* wxGBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
42814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42815 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
42817 return Py_BuildValue((char *)"");
42819 static PyObject
*_wrap_new_wxGridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42820 PyObject
*resultobj
;
42821 int arg1
= (int) 0 ;
42822 int arg2
= (int) 0 ;
42823 wxGridBagSizer
*result
;
42824 PyObject
* obj0
= 0 ;
42825 PyObject
* obj1
= 0 ;
42826 char *kwnames
[] = {
42827 (char *) "vgap",(char *) "hgap", NULL
42830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_wxGridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42833 arg1
= (int)(SWIG_As_int(obj0
));
42834 if (SWIG_arg_fail(1)) SWIG_fail
;
42839 arg2
= (int)(SWIG_As_int(obj1
));
42840 if (SWIG_arg_fail(2)) SWIG_fail
;
42844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42845 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
42847 wxPyEndAllowThreads(__tstate
);
42848 if (PyErr_Occurred()) SWIG_fail
;
42850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
42857 static PyObject
*_wrap_wxGridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42858 PyObject
*resultobj
;
42859 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42860 PyObject
*arg2
= (PyObject
*) 0 ;
42861 wxGBPosition
*arg3
= 0 ;
42862 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
42863 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
42864 int arg5
= (int) 0 ;
42865 int arg6
= (int) 0 ;
42866 PyObject
*arg7
= (PyObject
*) NULL
;
42867 wxGBSizerItem
*result
;
42868 wxGBPosition temp3
;
42870 PyObject
* obj0
= 0 ;
42871 PyObject
* obj1
= 0 ;
42872 PyObject
* obj2
= 0 ;
42873 PyObject
* obj3
= 0 ;
42874 PyObject
* obj4
= 0 ;
42875 PyObject
* obj5
= 0 ;
42876 PyObject
* obj6
= 0 ;
42877 char *kwnames
[] = {
42878 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:wxGridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42883 if (SWIG_arg_fail(1)) SWIG_fail
;
42887 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42892 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42897 arg5
= (int)(SWIG_As_int(obj4
));
42898 if (SWIG_arg_fail(5)) SWIG_fail
;
42903 arg6
= (int)(SWIG_As_int(obj5
));
42904 if (SWIG_arg_fail(6)) SWIG_fail
;
42911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42912 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42914 wxPyEndAllowThreads(__tstate
);
42915 if (PyErr_Occurred()) SWIG_fail
;
42917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42924 static PyObject
*_wrap_wxGridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42925 PyObject
*resultobj
;
42926 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42927 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
42928 wxGBSizerItem
*result
;
42929 PyObject
* obj0
= 0 ;
42930 PyObject
* obj1
= 0 ;
42931 char *kwnames
[] = {
42932 (char *) "self",(char *) "item", NULL
42935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxGridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
42936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42937 if (SWIG_arg_fail(1)) SWIG_fail
;
42938 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42939 if (SWIG_arg_fail(2)) SWIG_fail
;
42941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42942 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
42944 wxPyEndAllowThreads(__tstate
);
42945 if (PyErr_Occurred()) SWIG_fail
;
42947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42954 static PyObject
*_wrap_wxGridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42955 PyObject
*resultobj
;
42956 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42960 PyObject
* obj0
= 0 ;
42961 PyObject
* obj1
= 0 ;
42962 PyObject
* obj2
= 0 ;
42963 char *kwnames
[] = {
42964 (char *) "self",(char *) "row",(char *) "col", NULL
42967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxGridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42969 if (SWIG_arg_fail(1)) SWIG_fail
;
42971 arg2
= (int)(SWIG_As_int(obj1
));
42972 if (SWIG_arg_fail(2)) SWIG_fail
;
42975 arg3
= (int)(SWIG_As_int(obj2
));
42976 if (SWIG_arg_fail(3)) SWIG_fail
;
42979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42980 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
42982 wxPyEndAllowThreads(__tstate
);
42983 if (PyErr_Occurred()) SWIG_fail
;
42986 wxSize
* resultptr
;
42987 resultptr
= new wxSize((wxSize
&)(result
));
42988 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
42996 static PyObject
*_wrap_wxGridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42997 PyObject
*resultobj
;
42998 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43000 PyObject
* obj0
= 0 ;
43001 char *kwnames
[] = {
43002 (char *) "self", NULL
43005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxGridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
43006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43007 if (SWIG_arg_fail(1)) SWIG_fail
;
43009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43010 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
43012 wxPyEndAllowThreads(__tstate
);
43013 if (PyErr_Occurred()) SWIG_fail
;
43016 wxSize
* resultptr
;
43017 resultptr
= new wxSize((wxSize
&)(result
));
43018 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43026 static PyObject
*_wrap_wxGridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43027 PyObject
*resultobj
;
43028 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43031 PyObject
* obj0
= 0 ;
43032 PyObject
* obj1
= 0 ;
43033 char *kwnames
[] = {
43034 (char *) "self",(char *) "sz", NULL
43037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxGridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
43038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43039 if (SWIG_arg_fail(1)) SWIG_fail
;
43042 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
43045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43046 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
43048 wxPyEndAllowThreads(__tstate
);
43049 if (PyErr_Occurred()) SWIG_fail
;
43051 Py_INCREF(Py_None
); resultobj
= Py_None
;
43058 static PyObject
*_wrap_wxGridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43059 PyObject
*resultobj
;
43060 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43061 wxWindow
*arg2
= (wxWindow
*) 0 ;
43062 wxGBPosition result
;
43063 PyObject
* obj0
= 0 ;
43064 PyObject
* obj1
= 0 ;
43066 if(!PyArg_ParseTuple(args
,(char *)"OO:wxGridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43068 if (SWIG_arg_fail(1)) SWIG_fail
;
43069 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43070 if (SWIG_arg_fail(2)) SWIG_fail
;
43072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43073 result
= (arg1
)->GetItemPosition(arg2
);
43075 wxPyEndAllowThreads(__tstate
);
43076 if (PyErr_Occurred()) SWIG_fail
;
43079 wxGBPosition
* resultptr
;
43080 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43081 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43089 static PyObject
*_wrap_wxGridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43090 PyObject
*resultobj
;
43091 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43092 wxSizer
*arg2
= (wxSizer
*) 0 ;
43093 wxGBPosition result
;
43094 PyObject
* obj0
= 0 ;
43095 PyObject
* obj1
= 0 ;
43097 if(!PyArg_ParseTuple(args
,(char *)"OO:wxGridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43099 if (SWIG_arg_fail(1)) SWIG_fail
;
43100 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43101 if (SWIG_arg_fail(2)) SWIG_fail
;
43103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43104 result
= (arg1
)->GetItemPosition(arg2
);
43106 wxPyEndAllowThreads(__tstate
);
43107 if (PyErr_Occurred()) SWIG_fail
;
43110 wxGBPosition
* resultptr
;
43111 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43112 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43120 static PyObject
*_wrap_wxGridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43121 PyObject
*resultobj
;
43122 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43124 wxGBPosition result
;
43125 PyObject
* obj0
= 0 ;
43126 PyObject
* obj1
= 0 ;
43128 if(!PyArg_ParseTuple(args
,(char *)"OO:wxGridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43130 if (SWIG_arg_fail(1)) SWIG_fail
;
43132 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43133 if (SWIG_arg_fail(2)) SWIG_fail
;
43136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43137 result
= (arg1
)->GetItemPosition(arg2
);
43139 wxPyEndAllowThreads(__tstate
);
43140 if (PyErr_Occurred()) SWIG_fail
;
43143 wxGBPosition
* resultptr
;
43144 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43145 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43153 static PyObject
*_wrap_wxGridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
43158 argc
= PyObject_Length(args
);
43159 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43160 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43166 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43176 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43184 return _wrap_wxGridBagSizer_GetItemPosition__SWIG_0(self
,args
);
43192 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43202 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43210 return _wrap_wxGridBagSizer_GetItemPosition__SWIG_1(self
,args
);
43218 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43226 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43228 return _wrap_wxGridBagSizer_GetItemPosition__SWIG_2(self
,args
);
43233 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'wxGridBagSizer_GetItemPosition'");
43238 static PyObject
*_wrap_wxGridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43239 PyObject
*resultobj
;
43240 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43241 wxWindow
*arg2
= (wxWindow
*) 0 ;
43242 wxGBPosition
*arg3
= 0 ;
43244 wxGBPosition temp3
;
43245 PyObject
* obj0
= 0 ;
43246 PyObject
* obj1
= 0 ;
43247 PyObject
* obj2
= 0 ;
43249 if(!PyArg_ParseTuple(args
,(char *)"OOO:wxGridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43251 if (SWIG_arg_fail(1)) SWIG_fail
;
43252 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43253 if (SWIG_arg_fail(2)) SWIG_fail
;
43256 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43260 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43262 wxPyEndAllowThreads(__tstate
);
43263 if (PyErr_Occurred()) SWIG_fail
;
43266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43274 static PyObject
*_wrap_wxGridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43275 PyObject
*resultobj
;
43276 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43277 wxSizer
*arg2
= (wxSizer
*) 0 ;
43278 wxGBPosition
*arg3
= 0 ;
43280 wxGBPosition temp3
;
43281 PyObject
* obj0
= 0 ;
43282 PyObject
* obj1
= 0 ;
43283 PyObject
* obj2
= 0 ;
43285 if(!PyArg_ParseTuple(args
,(char *)"OOO:wxGridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43287 if (SWIG_arg_fail(1)) SWIG_fail
;
43288 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43289 if (SWIG_arg_fail(2)) SWIG_fail
;
43292 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43296 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43298 wxPyEndAllowThreads(__tstate
);
43299 if (PyErr_Occurred()) SWIG_fail
;
43302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43310 static PyObject
*_wrap_wxGridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43311 PyObject
*resultobj
;
43312 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43314 wxGBPosition
*arg3
= 0 ;
43316 wxGBPosition temp3
;
43317 PyObject
* obj0
= 0 ;
43318 PyObject
* obj1
= 0 ;
43319 PyObject
* obj2
= 0 ;
43321 if(!PyArg_ParseTuple(args
,(char *)"OOO:wxGridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43323 if (SWIG_arg_fail(1)) SWIG_fail
;
43325 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43326 if (SWIG_arg_fail(2)) SWIG_fail
;
43330 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43334 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43336 wxPyEndAllowThreads(__tstate
);
43337 if (PyErr_Occurred()) SWIG_fail
;
43340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43348 static PyObject
*_wrap_wxGridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
43353 argc
= PyObject_Length(args
);
43354 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43355 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43361 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43371 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43380 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43383 return _wrap_wxGridBagSizer_SetItemPosition__SWIG_0(self
,args
);
43392 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43402 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43411 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43414 return _wrap_wxGridBagSizer_SetItemPosition__SWIG_1(self
,args
);
43423 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43431 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43434 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43437 return _wrap_wxGridBagSizer_SetItemPosition__SWIG_2(self
,args
);
43443 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'wxGridBagSizer_SetItemPosition'");
43448 static PyObject
*_wrap_wxGridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43449 PyObject
*resultobj
;
43450 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43451 wxWindow
*arg2
= (wxWindow
*) 0 ;
43453 PyObject
* obj0
= 0 ;
43454 PyObject
* obj1
= 0 ;
43456 if(!PyArg_ParseTuple(args
,(char *)"OO:wxGridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43458 if (SWIG_arg_fail(1)) SWIG_fail
;
43459 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43460 if (SWIG_arg_fail(2)) SWIG_fail
;
43462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43463 result
= (arg1
)->GetItemSpan(arg2
);
43465 wxPyEndAllowThreads(__tstate
);
43466 if (PyErr_Occurred()) SWIG_fail
;
43469 wxGBSpan
* resultptr
;
43470 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43471 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43479 static PyObject
*_wrap_wxGridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43480 PyObject
*resultobj
;
43481 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43482 wxSizer
*arg2
= (wxSizer
*) 0 ;
43484 PyObject
* obj0
= 0 ;
43485 PyObject
* obj1
= 0 ;
43487 if(!PyArg_ParseTuple(args
,(char *)"OO:wxGridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43489 if (SWIG_arg_fail(1)) SWIG_fail
;
43490 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43491 if (SWIG_arg_fail(2)) SWIG_fail
;
43493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43494 result
= (arg1
)->GetItemSpan(arg2
);
43496 wxPyEndAllowThreads(__tstate
);
43497 if (PyErr_Occurred()) SWIG_fail
;
43500 wxGBSpan
* resultptr
;
43501 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43502 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43510 static PyObject
*_wrap_wxGridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43511 PyObject
*resultobj
;
43512 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43515 PyObject
* obj0
= 0 ;
43516 PyObject
* obj1
= 0 ;
43518 if(!PyArg_ParseTuple(args
,(char *)"OO:wxGridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43520 if (SWIG_arg_fail(1)) SWIG_fail
;
43522 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43523 if (SWIG_arg_fail(2)) SWIG_fail
;
43526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43527 result
= (arg1
)->GetItemSpan(arg2
);
43529 wxPyEndAllowThreads(__tstate
);
43530 if (PyErr_Occurred()) SWIG_fail
;
43533 wxGBSpan
* resultptr
;
43534 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43535 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43543 static PyObject
*_wrap_wxGridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
43548 argc
= PyObject_Length(args
);
43549 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43550 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43556 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43566 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43574 return _wrap_wxGridBagSizer_GetItemSpan__SWIG_0(self
,args
);
43582 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43592 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43600 return _wrap_wxGridBagSizer_GetItemSpan__SWIG_1(self
,args
);
43608 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43616 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43618 return _wrap_wxGridBagSizer_GetItemSpan__SWIG_2(self
,args
);
43623 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'wxGridBagSizer_GetItemSpan'");
43628 static PyObject
*_wrap_wxGridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43629 PyObject
*resultobj
;
43630 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43631 wxWindow
*arg2
= (wxWindow
*) 0 ;
43632 wxGBSpan
*arg3
= 0 ;
43635 PyObject
* obj0
= 0 ;
43636 PyObject
* obj1
= 0 ;
43637 PyObject
* obj2
= 0 ;
43639 if(!PyArg_ParseTuple(args
,(char *)"OOO:wxGridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43641 if (SWIG_arg_fail(1)) SWIG_fail
;
43642 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43643 if (SWIG_arg_fail(2)) SWIG_fail
;
43646 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43650 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43652 wxPyEndAllowThreads(__tstate
);
43653 if (PyErr_Occurred()) SWIG_fail
;
43656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43664 static PyObject
*_wrap_wxGridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43665 PyObject
*resultobj
;
43666 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43667 wxSizer
*arg2
= (wxSizer
*) 0 ;
43668 wxGBSpan
*arg3
= 0 ;
43671 PyObject
* obj0
= 0 ;
43672 PyObject
* obj1
= 0 ;
43673 PyObject
* obj2
= 0 ;
43675 if(!PyArg_ParseTuple(args
,(char *)"OOO:wxGridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43677 if (SWIG_arg_fail(1)) SWIG_fail
;
43678 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43679 if (SWIG_arg_fail(2)) SWIG_fail
;
43682 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43686 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43688 wxPyEndAllowThreads(__tstate
);
43689 if (PyErr_Occurred()) SWIG_fail
;
43692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43700 static PyObject
*_wrap_wxGridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43701 PyObject
*resultobj
;
43702 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43704 wxGBSpan
*arg3
= 0 ;
43707 PyObject
* obj0
= 0 ;
43708 PyObject
* obj1
= 0 ;
43709 PyObject
* obj2
= 0 ;
43711 if(!PyArg_ParseTuple(args
,(char *)"OOO:wxGridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43713 if (SWIG_arg_fail(1)) SWIG_fail
;
43715 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43716 if (SWIG_arg_fail(2)) SWIG_fail
;
43720 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43724 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43726 wxPyEndAllowThreads(__tstate
);
43727 if (PyErr_Occurred()) SWIG_fail
;
43730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43738 static PyObject
*_wrap_wxGridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
43743 argc
= PyObject_Length(args
);
43744 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43745 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43751 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43761 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43770 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43773 return _wrap_wxGridBagSizer_SetItemSpan__SWIG_0(self
,args
);
43782 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43792 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43801 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43804 return _wrap_wxGridBagSizer_SetItemSpan__SWIG_1(self
,args
);
43813 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43821 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43824 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43827 return _wrap_wxGridBagSizer_SetItemSpan__SWIG_2(self
,args
);
43833 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'wxGridBagSizer_SetItemSpan'");
43838 static PyObject
*_wrap_wxGridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
43839 PyObject
*resultobj
;
43840 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43841 wxWindow
*arg2
= (wxWindow
*) 0 ;
43842 wxGBSizerItem
*result
;
43843 PyObject
* obj0
= 0 ;
43844 PyObject
* obj1
= 0 ;
43846 if(!PyArg_ParseTuple(args
,(char *)"OO:wxGridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43848 if (SWIG_arg_fail(1)) SWIG_fail
;
43849 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43850 if (SWIG_arg_fail(2)) SWIG_fail
;
43852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43853 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43855 wxPyEndAllowThreads(__tstate
);
43856 if (PyErr_Occurred()) SWIG_fail
;
43858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43865 static PyObject
*_wrap_wxGridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
43866 PyObject
*resultobj
;
43867 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43868 wxSizer
*arg2
= (wxSizer
*) 0 ;
43869 wxGBSizerItem
*result
;
43870 PyObject
* obj0
= 0 ;
43871 PyObject
* obj1
= 0 ;
43873 if(!PyArg_ParseTuple(args
,(char *)"OO:wxGridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43875 if (SWIG_arg_fail(1)) SWIG_fail
;
43876 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43877 if (SWIG_arg_fail(2)) SWIG_fail
;
43879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43880 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43882 wxPyEndAllowThreads(__tstate
);
43883 if (PyErr_Occurred()) SWIG_fail
;
43885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43892 static PyObject
*_wrap_wxGridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
43897 argc
= PyObject_Length(args
);
43898 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43899 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43905 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43915 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43923 return _wrap_wxGridBagSizer_FindItem__SWIG_0(self
,args
);
43931 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43941 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43949 return _wrap_wxGridBagSizer_FindItem__SWIG_1(self
,args
);
43954 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'wxGridBagSizer_FindItem'");
43959 static PyObject
*_wrap_wxGridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43960 PyObject
*resultobj
;
43961 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43962 wxGBPosition
*arg2
= 0 ;
43963 wxGBSizerItem
*result
;
43964 wxGBPosition temp2
;
43965 PyObject
* obj0
= 0 ;
43966 PyObject
* obj1
= 0 ;
43967 char *kwnames
[] = {
43968 (char *) "self",(char *) "pos", NULL
43971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxGridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
43972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43973 if (SWIG_arg_fail(1)) SWIG_fail
;
43976 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43980 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
43982 wxPyEndAllowThreads(__tstate
);
43983 if (PyErr_Occurred()) SWIG_fail
;
43985 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43992 static PyObject
*_wrap_wxGridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43993 PyObject
*resultobj
;
43994 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43995 wxPoint
*arg2
= 0 ;
43996 wxGBSizerItem
*result
;
43998 PyObject
* obj0
= 0 ;
43999 PyObject
* obj1
= 0 ;
44000 char *kwnames
[] = {
44001 (char *) "self",(char *) "pt", NULL
44004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxGridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
44005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44006 if (SWIG_arg_fail(1)) SWIG_fail
;
44009 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
44012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44013 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
44015 wxPyEndAllowThreads(__tstate
);
44016 if (PyErr_Occurred()) SWIG_fail
;
44018 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44025 static PyObject
*_wrap_wxGridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44026 PyObject
*resultobj
;
44027 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44028 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
44029 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
44031 PyObject
* obj0
= 0 ;
44032 PyObject
* obj1
= 0 ;
44033 PyObject
* obj2
= 0 ;
44034 char *kwnames
[] = {
44035 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
44038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:wxGridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44040 if (SWIG_arg_fail(1)) SWIG_fail
;
44041 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44042 if (SWIG_arg_fail(2)) SWIG_fail
;
44044 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44045 if (SWIG_arg_fail(3)) SWIG_fail
;
44048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44049 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
44051 wxPyEndAllowThreads(__tstate
);
44052 if (PyErr_Occurred()) SWIG_fail
;
44055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44063 static PyObject
*_wrap_wxGridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44064 PyObject
*resultobj
;
44065 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44066 wxGBPosition
*arg2
= 0 ;
44067 wxGBSpan
*arg3
= 0 ;
44068 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
44070 wxGBPosition temp2
;
44072 PyObject
* obj0
= 0 ;
44073 PyObject
* obj1
= 0 ;
44074 PyObject
* obj2
= 0 ;
44075 PyObject
* obj3
= 0 ;
44076 char *kwnames
[] = {
44077 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
44080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:wxGridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44082 if (SWIG_arg_fail(1)) SWIG_fail
;
44085 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44089 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
44092 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44093 if (SWIG_arg_fail(4)) SWIG_fail
;
44096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44097 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
44099 wxPyEndAllowThreads(__tstate
);
44100 if (PyErr_Occurred()) SWIG_fail
;
44103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44111 static PyObject
* wxGridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
44113 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44114 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
44116 return Py_BuildValue((char *)"");
44118 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44119 PyObject
*resultobj
;
44120 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44121 wxRelationship arg2
;
44122 wxWindow
*arg3
= (wxWindow
*) 0 ;
44124 int arg5
= (int) 0 ;
44125 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
44126 PyObject
* obj0
= 0 ;
44127 PyObject
* obj1
= 0 ;
44128 PyObject
* obj2
= 0 ;
44129 PyObject
* obj3
= 0 ;
44130 PyObject
* obj4
= 0 ;
44131 PyObject
* obj5
= 0 ;
44132 char *kwnames
[] = {
44133 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
44136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:wxIndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
44137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44138 if (SWIG_arg_fail(1)) SWIG_fail
;
44140 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44141 if (SWIG_arg_fail(2)) SWIG_fail
;
44143 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44144 if (SWIG_arg_fail(3)) SWIG_fail
;
44146 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
44147 if (SWIG_arg_fail(4)) SWIG_fail
;
44151 arg5
= (int)(SWIG_As_int(obj4
));
44152 if (SWIG_arg_fail(5)) SWIG_fail
;
44157 arg6
= (int)(SWIG_As_int(obj5
));
44158 if (SWIG_arg_fail(6)) SWIG_fail
;
44162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44163 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
44165 wxPyEndAllowThreads(__tstate
);
44166 if (PyErr_Occurred()) SWIG_fail
;
44168 Py_INCREF(Py_None
); resultobj
= Py_None
;
44175 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44176 PyObject
*resultobj
;
44177 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44178 wxWindow
*arg2
= (wxWindow
*) 0 ;
44179 int arg3
= (int) 0 ;
44180 PyObject
* obj0
= 0 ;
44181 PyObject
* obj1
= 0 ;
44182 PyObject
* obj2
= 0 ;
44183 char *kwnames
[] = {
44184 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:wxIndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44189 if (SWIG_arg_fail(1)) SWIG_fail
;
44190 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44191 if (SWIG_arg_fail(2)) SWIG_fail
;
44194 arg3
= (int)(SWIG_As_int(obj2
));
44195 if (SWIG_arg_fail(3)) SWIG_fail
;
44199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44200 (arg1
)->LeftOf(arg2
,arg3
);
44202 wxPyEndAllowThreads(__tstate
);
44203 if (PyErr_Occurred()) SWIG_fail
;
44205 Py_INCREF(Py_None
); resultobj
= Py_None
;
44212 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44213 PyObject
*resultobj
;
44214 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44215 wxWindow
*arg2
= (wxWindow
*) 0 ;
44216 int arg3
= (int) 0 ;
44217 PyObject
* obj0
= 0 ;
44218 PyObject
* obj1
= 0 ;
44219 PyObject
* obj2
= 0 ;
44220 char *kwnames
[] = {
44221 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:wxIndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44226 if (SWIG_arg_fail(1)) SWIG_fail
;
44227 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44228 if (SWIG_arg_fail(2)) SWIG_fail
;
44231 arg3
= (int)(SWIG_As_int(obj2
));
44232 if (SWIG_arg_fail(3)) SWIG_fail
;
44236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44237 (arg1
)->RightOf(arg2
,arg3
);
44239 wxPyEndAllowThreads(__tstate
);
44240 if (PyErr_Occurred()) SWIG_fail
;
44242 Py_INCREF(Py_None
); resultobj
= Py_None
;
44249 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44250 PyObject
*resultobj
;
44251 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44252 wxWindow
*arg2
= (wxWindow
*) 0 ;
44253 int arg3
= (int) 0 ;
44254 PyObject
* obj0
= 0 ;
44255 PyObject
* obj1
= 0 ;
44256 PyObject
* obj2
= 0 ;
44257 char *kwnames
[] = {
44258 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:wxIndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44263 if (SWIG_arg_fail(1)) SWIG_fail
;
44264 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44265 if (SWIG_arg_fail(2)) SWIG_fail
;
44268 arg3
= (int)(SWIG_As_int(obj2
));
44269 if (SWIG_arg_fail(3)) SWIG_fail
;
44273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44274 (arg1
)->Above(arg2
,arg3
);
44276 wxPyEndAllowThreads(__tstate
);
44277 if (PyErr_Occurred()) SWIG_fail
;
44279 Py_INCREF(Py_None
); resultobj
= Py_None
;
44286 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44287 PyObject
*resultobj
;
44288 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44289 wxWindow
*arg2
= (wxWindow
*) 0 ;
44290 int arg3
= (int) 0 ;
44291 PyObject
* obj0
= 0 ;
44292 PyObject
* obj1
= 0 ;
44293 PyObject
* obj2
= 0 ;
44294 char *kwnames
[] = {
44295 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:wxIndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44300 if (SWIG_arg_fail(1)) SWIG_fail
;
44301 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44302 if (SWIG_arg_fail(2)) SWIG_fail
;
44305 arg3
= (int)(SWIG_As_int(obj2
));
44306 if (SWIG_arg_fail(3)) SWIG_fail
;
44310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44311 (arg1
)->Below(arg2
,arg3
);
44313 wxPyEndAllowThreads(__tstate
);
44314 if (PyErr_Occurred()) SWIG_fail
;
44316 Py_INCREF(Py_None
); resultobj
= Py_None
;
44323 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44324 PyObject
*resultobj
;
44325 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44326 wxWindow
*arg2
= (wxWindow
*) 0 ;
44328 int arg4
= (int) 0 ;
44329 PyObject
* obj0
= 0 ;
44330 PyObject
* obj1
= 0 ;
44331 PyObject
* obj2
= 0 ;
44332 PyObject
* obj3
= 0 ;
44333 char *kwnames
[] = {
44334 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
44337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:wxIndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44339 if (SWIG_arg_fail(1)) SWIG_fail
;
44340 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44341 if (SWIG_arg_fail(2)) SWIG_fail
;
44343 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44344 if (SWIG_arg_fail(3)) SWIG_fail
;
44348 arg4
= (int)(SWIG_As_int(obj3
));
44349 if (SWIG_arg_fail(4)) SWIG_fail
;
44353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44354 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
44356 wxPyEndAllowThreads(__tstate
);
44357 if (PyErr_Occurred()) SWIG_fail
;
44359 Py_INCREF(Py_None
); resultobj
= Py_None
;
44366 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44367 PyObject
*resultobj
;
44368 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44369 wxWindow
*arg2
= (wxWindow
*) 0 ;
44372 PyObject
* obj0
= 0 ;
44373 PyObject
* obj1
= 0 ;
44374 PyObject
* obj2
= 0 ;
44375 PyObject
* obj3
= 0 ;
44376 char *kwnames
[] = {
44377 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
44380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:wxIndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44382 if (SWIG_arg_fail(1)) SWIG_fail
;
44383 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44384 if (SWIG_arg_fail(2)) SWIG_fail
;
44386 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44387 if (SWIG_arg_fail(3)) SWIG_fail
;
44390 arg4
= (int)(SWIG_As_int(obj3
));
44391 if (SWIG_arg_fail(4)) SWIG_fail
;
44394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44395 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
44397 wxPyEndAllowThreads(__tstate
);
44398 if (PyErr_Occurred()) SWIG_fail
;
44400 Py_INCREF(Py_None
); resultobj
= Py_None
;
44407 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44408 PyObject
*resultobj
;
44409 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44411 PyObject
* obj0
= 0 ;
44412 PyObject
* obj1
= 0 ;
44413 char *kwnames
[] = {
44414 (char *) "self",(char *) "val", NULL
44417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxIndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
44418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44419 if (SWIG_arg_fail(1)) SWIG_fail
;
44421 arg2
= (int)(SWIG_As_int(obj1
));
44422 if (SWIG_arg_fail(2)) SWIG_fail
;
44425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44426 (arg1
)->Absolute(arg2
);
44428 wxPyEndAllowThreads(__tstate
);
44429 if (PyErr_Occurred()) SWIG_fail
;
44431 Py_INCREF(Py_None
); resultobj
= Py_None
;
44438 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44439 PyObject
*resultobj
;
44440 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44441 PyObject
* obj0
= 0 ;
44442 char *kwnames
[] = {
44443 (char *) "self", NULL
44446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxIndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
44447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44448 if (SWIG_arg_fail(1)) SWIG_fail
;
44450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44451 (arg1
)->Unconstrained();
44453 wxPyEndAllowThreads(__tstate
);
44454 if (PyErr_Occurred()) SWIG_fail
;
44456 Py_INCREF(Py_None
); resultobj
= Py_None
;
44463 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44464 PyObject
*resultobj
;
44465 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44466 PyObject
* obj0
= 0 ;
44467 char *kwnames
[] = {
44468 (char *) "self", NULL
44471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxIndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
44472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44473 if (SWIG_arg_fail(1)) SWIG_fail
;
44475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44478 wxPyEndAllowThreads(__tstate
);
44479 if (PyErr_Occurred()) SWIG_fail
;
44481 Py_INCREF(Py_None
); resultobj
= Py_None
;
44488 static PyObject
*_wrap_wxIndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44489 PyObject
*resultobj
;
44490 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44492 PyObject
* obj0
= 0 ;
44493 char *kwnames
[] = {
44494 (char *) "self", NULL
44497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxIndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
44498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44499 if (SWIG_arg_fail(1)) SWIG_fail
;
44501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44502 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
44504 wxPyEndAllowThreads(__tstate
);
44505 if (PyErr_Occurred()) SWIG_fail
;
44508 resultobj
= wxPyMake_wxObject(result
, 0);
44516 static PyObject
*_wrap_wxIndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44517 PyObject
*resultobj
;
44518 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44520 PyObject
* obj0
= 0 ;
44521 char *kwnames
[] = {
44522 (char *) "self", NULL
44525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxIndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
44526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44527 if (SWIG_arg_fail(1)) SWIG_fail
;
44529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44530 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
44532 wxPyEndAllowThreads(__tstate
);
44533 if (PyErr_Occurred()) SWIG_fail
;
44535 resultobj
= SWIG_From_int((result
));
44542 static PyObject
*_wrap_wxIndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44543 PyObject
*resultobj
;
44544 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44546 PyObject
* obj0
= 0 ;
44547 PyObject
* obj1
= 0 ;
44548 char *kwnames
[] = {
44549 (char *) "self",(char *) "which", NULL
44552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxIndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
44553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44554 if (SWIG_arg_fail(1)) SWIG_fail
;
44556 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44557 if (SWIG_arg_fail(2)) SWIG_fail
;
44560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44561 (arg1
)->SetEdge((wxEdge
)arg2
);
44563 wxPyEndAllowThreads(__tstate
);
44564 if (PyErr_Occurred()) SWIG_fail
;
44566 Py_INCREF(Py_None
); resultobj
= Py_None
;
44573 static PyObject
*_wrap_wxIndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44574 PyObject
*resultobj
;
44575 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44577 PyObject
* obj0
= 0 ;
44578 PyObject
* obj1
= 0 ;
44579 char *kwnames
[] = {
44580 (char *) "self",(char *) "v", NULL
44583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxIndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
44584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44585 if (SWIG_arg_fail(1)) SWIG_fail
;
44587 arg2
= (int)(SWIG_As_int(obj1
));
44588 if (SWIG_arg_fail(2)) SWIG_fail
;
44591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44592 (arg1
)->SetValue(arg2
);
44594 wxPyEndAllowThreads(__tstate
);
44595 if (PyErr_Occurred()) SWIG_fail
;
44597 Py_INCREF(Py_None
); resultobj
= Py_None
;
44604 static PyObject
*_wrap_wxIndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44605 PyObject
*resultobj
;
44606 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44608 PyObject
* obj0
= 0 ;
44609 char *kwnames
[] = {
44610 (char *) "self", NULL
44613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxIndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
44614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44615 if (SWIG_arg_fail(1)) SWIG_fail
;
44617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44618 result
= (int)(arg1
)->GetMargin();
44620 wxPyEndAllowThreads(__tstate
);
44621 if (PyErr_Occurred()) SWIG_fail
;
44624 resultobj
= SWIG_From_int((int)(result
));
44632 static PyObject
*_wrap_wxIndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44633 PyObject
*resultobj
;
44634 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44636 PyObject
* obj0
= 0 ;
44637 PyObject
* obj1
= 0 ;
44638 char *kwnames
[] = {
44639 (char *) "self",(char *) "m", NULL
44642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxIndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
44643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44644 if (SWIG_arg_fail(1)) SWIG_fail
;
44646 arg2
= (int)(SWIG_As_int(obj1
));
44647 if (SWIG_arg_fail(2)) SWIG_fail
;
44650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44651 (arg1
)->SetMargin(arg2
);
44653 wxPyEndAllowThreads(__tstate
);
44654 if (PyErr_Occurred()) SWIG_fail
;
44656 Py_INCREF(Py_None
); resultobj
= Py_None
;
44663 static PyObject
*_wrap_wxIndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44664 PyObject
*resultobj
;
44665 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44667 PyObject
* obj0
= 0 ;
44668 char *kwnames
[] = {
44669 (char *) "self", NULL
44672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxIndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
44673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44674 if (SWIG_arg_fail(1)) SWIG_fail
;
44676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44677 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
44679 wxPyEndAllowThreads(__tstate
);
44680 if (PyErr_Occurred()) SWIG_fail
;
44683 resultobj
= SWIG_From_int((int)(result
));
44691 static PyObject
*_wrap_wxIndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44692 PyObject
*resultobj
;
44693 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44695 PyObject
* obj0
= 0 ;
44696 char *kwnames
[] = {
44697 (char *) "self", NULL
44700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxIndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
44701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44702 if (SWIG_arg_fail(1)) SWIG_fail
;
44704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44705 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
44707 wxPyEndAllowThreads(__tstate
);
44708 if (PyErr_Occurred()) SWIG_fail
;
44711 resultobj
= SWIG_From_int((int)(result
));
44719 static PyObject
*_wrap_wxIndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44720 PyObject
*resultobj
;
44721 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44723 PyObject
* obj0
= 0 ;
44724 char *kwnames
[] = {
44725 (char *) "self", NULL
44728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxIndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
44729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44730 if (SWIG_arg_fail(1)) SWIG_fail
;
44732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44733 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
44735 wxPyEndAllowThreads(__tstate
);
44736 if (PyErr_Occurred()) SWIG_fail
;
44739 resultobj
= SWIG_From_int((int)(result
));
44747 static PyObject
*_wrap_wxIndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44748 PyObject
*resultobj
;
44749 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44751 PyObject
* obj0
= 0 ;
44752 char *kwnames
[] = {
44753 (char *) "self", NULL
44756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxIndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
44757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44758 if (SWIG_arg_fail(1)) SWIG_fail
;
44760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44761 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
44763 wxPyEndAllowThreads(__tstate
);
44764 if (PyErr_Occurred()) SWIG_fail
;
44767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44775 static PyObject
*_wrap_wxIndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44776 PyObject
*resultobj
;
44777 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44779 PyObject
* obj0
= 0 ;
44780 PyObject
* obj1
= 0 ;
44781 char *kwnames
[] = {
44782 (char *) "self",(char *) "d", NULL
44785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxIndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
44786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44787 if (SWIG_arg_fail(1)) SWIG_fail
;
44789 arg2
= (bool)(SWIG_As_bool(obj1
));
44790 if (SWIG_arg_fail(2)) SWIG_fail
;
44793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44794 (arg1
)->SetDone(arg2
);
44796 wxPyEndAllowThreads(__tstate
);
44797 if (PyErr_Occurred()) SWIG_fail
;
44799 Py_INCREF(Py_None
); resultobj
= Py_None
;
44806 static PyObject
*_wrap_wxIndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44807 PyObject
*resultobj
;
44808 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44809 wxRelationship result
;
44810 PyObject
* obj0
= 0 ;
44811 char *kwnames
[] = {
44812 (char *) "self", NULL
44815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxIndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
44816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44817 if (SWIG_arg_fail(1)) SWIG_fail
;
44819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44820 result
= (wxRelationship
)(arg1
)->GetRelationship();
44822 wxPyEndAllowThreads(__tstate
);
44823 if (PyErr_Occurred()) SWIG_fail
;
44825 resultobj
= SWIG_From_int((result
));
44832 static PyObject
*_wrap_wxIndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44833 PyObject
*resultobj
;
44834 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44835 wxRelationship arg2
;
44836 PyObject
* obj0
= 0 ;
44837 PyObject
* obj1
= 0 ;
44838 char *kwnames
[] = {
44839 (char *) "self",(char *) "r", NULL
44842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxIndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
44843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44844 if (SWIG_arg_fail(1)) SWIG_fail
;
44846 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44847 if (SWIG_arg_fail(2)) SWIG_fail
;
44850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44851 (arg1
)->SetRelationship((wxRelationship
)arg2
);
44853 wxPyEndAllowThreads(__tstate
);
44854 if (PyErr_Occurred()) SWIG_fail
;
44856 Py_INCREF(Py_None
); resultobj
= Py_None
;
44863 static PyObject
*_wrap_wxIndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44864 PyObject
*resultobj
;
44865 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44866 wxWindow
*arg2
= (wxWindow
*) 0 ;
44868 PyObject
* obj0
= 0 ;
44869 PyObject
* obj1
= 0 ;
44870 char *kwnames
[] = {
44871 (char *) "self",(char *) "otherW", NULL
44874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxIndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
44875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44876 if (SWIG_arg_fail(1)) SWIG_fail
;
44877 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44878 if (SWIG_arg_fail(2)) SWIG_fail
;
44880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44881 result
= (bool)(arg1
)->ResetIfWin(arg2
);
44883 wxPyEndAllowThreads(__tstate
);
44884 if (PyErr_Occurred()) SWIG_fail
;
44887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44895 static PyObject
*_wrap_wxIndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44896 PyObject
*resultobj
;
44897 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44898 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
44899 wxWindow
*arg3
= (wxWindow
*) 0 ;
44901 PyObject
* obj0
= 0 ;
44902 PyObject
* obj1
= 0 ;
44903 PyObject
* obj2
= 0 ;
44904 char *kwnames
[] = {
44905 (char *) "self",(char *) "constraints",(char *) "win", NULL
44908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:wxIndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44910 if (SWIG_arg_fail(1)) SWIG_fail
;
44911 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44912 if (SWIG_arg_fail(2)) SWIG_fail
;
44913 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44914 if (SWIG_arg_fail(3)) SWIG_fail
;
44916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44917 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
44919 wxPyEndAllowThreads(__tstate
);
44920 if (PyErr_Occurred()) SWIG_fail
;
44923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44931 static PyObject
*_wrap_wxIndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44932 PyObject
*resultobj
;
44933 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44935 wxWindow
*arg3
= (wxWindow
*) 0 ;
44936 wxWindow
*arg4
= (wxWindow
*) 0 ;
44938 PyObject
* obj0
= 0 ;
44939 PyObject
* obj1
= 0 ;
44940 PyObject
* obj2
= 0 ;
44941 PyObject
* obj3
= 0 ;
44942 char *kwnames
[] = {
44943 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
44946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:wxIndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44948 if (SWIG_arg_fail(1)) SWIG_fail
;
44950 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44951 if (SWIG_arg_fail(2)) SWIG_fail
;
44953 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44954 if (SWIG_arg_fail(3)) SWIG_fail
;
44955 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44956 if (SWIG_arg_fail(4)) SWIG_fail
;
44958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44959 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
44961 wxPyEndAllowThreads(__tstate
);
44962 if (PyErr_Occurred()) SWIG_fail
;
44965 resultobj
= SWIG_From_int((int)(result
));
44973 static PyObject
* wxIndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
44975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44976 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
44978 return Py_BuildValue((char *)"");
44980 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44981 PyObject
*resultobj
;
44982 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44983 wxIndividualLayoutConstraint
*result
;
44984 PyObject
* obj0
= 0 ;
44985 char *kwnames
[] = {
44986 (char *) "self", NULL
44989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxLayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
44990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44991 if (SWIG_arg_fail(1)) SWIG_fail
;
44992 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
44994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45001 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45002 PyObject
*resultobj
;
45003 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45004 wxIndividualLayoutConstraint
*result
;
45005 PyObject
* obj0
= 0 ;
45006 char *kwnames
[] = {
45007 (char *) "self", NULL
45010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxLayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
45011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45012 if (SWIG_arg_fail(1)) SWIG_fail
;
45013 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
45015 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45022 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45023 PyObject
*resultobj
;
45024 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45025 wxIndividualLayoutConstraint
*result
;
45026 PyObject
* obj0
= 0 ;
45027 char *kwnames
[] = {
45028 (char *) "self", NULL
45031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxLayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
45032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45033 if (SWIG_arg_fail(1)) SWIG_fail
;
45034 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
45036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45043 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45044 PyObject
*resultobj
;
45045 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45046 wxIndividualLayoutConstraint
*result
;
45047 PyObject
* obj0
= 0 ;
45048 char *kwnames
[] = {
45049 (char *) "self", NULL
45052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxLayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
45053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45054 if (SWIG_arg_fail(1)) SWIG_fail
;
45055 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
45057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45064 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45065 PyObject
*resultobj
;
45066 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45067 wxIndividualLayoutConstraint
*result
;
45068 PyObject
* obj0
= 0 ;
45069 char *kwnames
[] = {
45070 (char *) "self", NULL
45073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxLayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
45074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45075 if (SWIG_arg_fail(1)) SWIG_fail
;
45076 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
45078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45085 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45086 PyObject
*resultobj
;
45087 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45088 wxIndividualLayoutConstraint
*result
;
45089 PyObject
* obj0
= 0 ;
45090 char *kwnames
[] = {
45091 (char *) "self", NULL
45094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxLayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
45095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45096 if (SWIG_arg_fail(1)) SWIG_fail
;
45097 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
45099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45106 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45107 PyObject
*resultobj
;
45108 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45109 wxIndividualLayoutConstraint
*result
;
45110 PyObject
* obj0
= 0 ;
45111 char *kwnames
[] = {
45112 (char *) "self", NULL
45115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxLayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
45116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45117 if (SWIG_arg_fail(1)) SWIG_fail
;
45118 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
45120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45127 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45128 PyObject
*resultobj
;
45129 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45130 wxIndividualLayoutConstraint
*result
;
45131 PyObject
* obj0
= 0 ;
45132 char *kwnames
[] = {
45133 (char *) "self", NULL
45136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxLayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
45137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45138 if (SWIG_arg_fail(1)) SWIG_fail
;
45139 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
45141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45148 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45149 PyObject
*resultobj
;
45150 wxLayoutConstraints
*result
;
45151 char *kwnames
[] = {
45155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_wxLayoutConstraints",kwnames
)) goto fail
;
45157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45158 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
45160 wxPyEndAllowThreads(__tstate
);
45161 if (PyErr_Occurred()) SWIG_fail
;
45163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
45170 static PyObject
*_wrap_wxLayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45171 PyObject
*resultobj
;
45172 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45173 wxWindow
*arg2
= (wxWindow
*) 0 ;
45174 int *arg3
= (int *) 0 ;
45178 PyObject
* obj0
= 0 ;
45179 PyObject
* obj1
= 0 ;
45180 char *kwnames
[] = {
45181 (char *) "self",(char *) "win", NULL
45184 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
45185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:wxLayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
45186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45187 if (SWIG_arg_fail(1)) SWIG_fail
;
45188 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45189 if (SWIG_arg_fail(2)) SWIG_fail
;
45191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45192 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
45194 wxPyEndAllowThreads(__tstate
);
45195 if (PyErr_Occurred()) SWIG_fail
;
45198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45200 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
45201 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
45208 static PyObject
*_wrap_wxLayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45209 PyObject
*resultobj
;
45210 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45212 PyObject
* obj0
= 0 ;
45213 char *kwnames
[] = {
45214 (char *) "self", NULL
45217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:wxLayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
45218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45219 if (SWIG_arg_fail(1)) SWIG_fail
;
45221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45222 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
45224 wxPyEndAllowThreads(__tstate
);
45225 if (PyErr_Occurred()) SWIG_fail
;
45228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45236 static PyObject
* wxLayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
45238 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45239 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
45241 return Py_BuildValue((char *)"");
45243 static PyMethodDef SwigMethods
[] = {
45244 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
45245 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
45246 { (char *)"wxObject_GetClassName", (PyCFunction
) _wrap_wxObject_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45247 { (char *)"wxObject_Destroy", (PyCFunction
) _wrap_wxObject_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45248 { (char *)"wxObject_swigregister", wxObject_swigregister
, METH_VARARGS
, NULL
},
45249 { (char *)"wxSize_width_set", (PyCFunction
) _wrap_wxSize_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45250 { (char *)"wxSize_width_get", (PyCFunction
) _wrap_wxSize_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45251 { (char *)"wxSize_height_set", (PyCFunction
) _wrap_wxSize_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45252 { (char *)"wxSize_height_get", (PyCFunction
) _wrap_wxSize_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45253 { (char *)"new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45254 { (char *)"delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45255 { (char *)"wxSize___eq__", (PyCFunction
) _wrap_wxSize___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45256 { (char *)"wxSize___ne__", (PyCFunction
) _wrap_wxSize___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45257 { (char *)"wxSize___add__", (PyCFunction
) _wrap_wxSize___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45258 { (char *)"wxSize___sub__", (PyCFunction
) _wrap_wxSize___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45259 { (char *)"wxSize_IncTo", (PyCFunction
) _wrap_wxSize_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45260 { (char *)"wxSize_DecTo", (PyCFunction
) _wrap_wxSize_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45261 { (char *)"wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45262 { (char *)"wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45263 { (char *)"wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45264 { (char *)"wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45265 { (char *)"wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45266 { (char *)"wxSize_IsFullySpecified", (PyCFunction
) _wrap_wxSize_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45267 { (char *)"wxSize_SetDefaults", (PyCFunction
) _wrap_wxSize_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45268 { (char *)"wxSize_Get", (PyCFunction
) _wrap_wxSize_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45269 { (char *)"wxSize_swigregister", wxSize_swigregister
, METH_VARARGS
, NULL
},
45270 { (char *)"wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45271 { (char *)"wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45272 { (char *)"wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45273 { (char *)"wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45274 { (char *)"new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45275 { (char *)"delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45276 { (char *)"wxRealPoint___eq__", (PyCFunction
) _wrap_wxRealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45277 { (char *)"wxRealPoint___ne__", (PyCFunction
) _wrap_wxRealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45278 { (char *)"wxRealPoint___add__", (PyCFunction
) _wrap_wxRealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45279 { (char *)"wxRealPoint___sub__", (PyCFunction
) _wrap_wxRealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45280 { (char *)"wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45281 { (char *)"wxRealPoint_Get", (PyCFunction
) _wrap_wxRealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45282 { (char *)"wxRealPoint_swigregister", wxRealPoint_swigregister
, METH_VARARGS
, NULL
},
45283 { (char *)"wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45284 { (char *)"wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45285 { (char *)"wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45286 { (char *)"wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45287 { (char *)"new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45288 { (char *)"delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45289 { (char *)"wxPoint___eq__", (PyCFunction
) _wrap_wxPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45290 { (char *)"wxPoint___ne__", (PyCFunction
) _wrap_wxPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45291 { (char *)"wxPoint___add__", (PyCFunction
) _wrap_wxPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45292 { (char *)"wxPoint___sub__", (PyCFunction
) _wrap_wxPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45293 { (char *)"wxPoint___iadd__", (PyCFunction
) _wrap_wxPoint___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45294 { (char *)"wxPoint___isub__", (PyCFunction
) _wrap_wxPoint___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45295 { (char *)"wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45296 { (char *)"wxPoint_Get", (PyCFunction
) _wrap_wxPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45297 { (char *)"wxPoint_swigregister", wxPoint_swigregister
, METH_VARARGS
, NULL
},
45298 { (char *)"new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45299 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45300 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45301 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45302 { (char *)"delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45303 { (char *)"wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45304 { (char *)"wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45305 { (char *)"wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45306 { (char *)"wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45307 { (char *)"wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45308 { (char *)"wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45309 { (char *)"wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45310 { (char *)"wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45311 { (char *)"wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45312 { (char *)"wxRect_SetPosition", (PyCFunction
) _wrap_wxRect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45313 { (char *)"wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45314 { (char *)"wxRect_SetSize", (PyCFunction
) _wrap_wxRect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45315 { (char *)"wxRect_IsEmpty", (PyCFunction
) _wrap_wxRect_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45316 { (char *)"wxRect_GetTopLeft", (PyCFunction
) _wrap_wxRect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45317 { (char *)"wxRect_SetTopLeft", (PyCFunction
) _wrap_wxRect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45318 { (char *)"wxRect_GetBottomRight", (PyCFunction
) _wrap_wxRect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45319 { (char *)"wxRect_SetBottomRight", (PyCFunction
) _wrap_wxRect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45320 { (char *)"wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45321 { (char *)"wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45322 { (char *)"wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45323 { (char *)"wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45324 { (char *)"wxRect_SetLeft", (PyCFunction
) _wrap_wxRect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45325 { (char *)"wxRect_SetRight", (PyCFunction
) _wrap_wxRect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45326 { (char *)"wxRect_SetTop", (PyCFunction
) _wrap_wxRect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45327 { (char *)"wxRect_SetBottom", (PyCFunction
) _wrap_wxRect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45328 { (char *)"wxRect_Inflate", (PyCFunction
) _wrap_wxRect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45329 { (char *)"wxRect_Deflate", (PyCFunction
) _wrap_wxRect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45330 { (char *)"wxRect_OffsetXY", (PyCFunction
) _wrap_wxRect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45331 { (char *)"wxRect_Offset", (PyCFunction
) _wrap_wxRect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45332 { (char *)"wxRect_Intersect", (PyCFunction
) _wrap_wxRect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45333 { (char *)"wxRect_Union", (PyCFunction
) _wrap_wxRect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45334 { (char *)"wxRect___add__", (PyCFunction
) _wrap_wxRect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45335 { (char *)"wxRect___iadd__", (PyCFunction
) _wrap_wxRect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"wxRect___eq__", (PyCFunction
) _wrap_wxRect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45337 { (char *)"wxRect___ne__", (PyCFunction
) _wrap_wxRect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"wxRect_InsideXY", (PyCFunction
) _wrap_wxRect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45339 { (char *)"wxRect_Inside", (PyCFunction
) _wrap_wxRect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45340 { (char *)"wxRect_Intersects", (PyCFunction
) _wrap_wxRect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45341 { (char *)"wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45343 { (char *)"wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45344 { (char *)"wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45345 { (char *)"wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45346 { (char *)"wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45347 { (char *)"wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45348 { (char *)"wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45349 { (char *)"wxRect_Set", (PyCFunction
) _wrap_wxRect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45350 { (char *)"wxRect_Get", (PyCFunction
) _wrap_wxRect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45351 { (char *)"wxRect_swigregister", wxRect_swigregister
, METH_VARARGS
, NULL
},
45352 { (char *)"wxIntersectRect", (PyCFunction
) _wrap_wxIntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45353 { (char *)"new_wxPoint2D", (PyCFunction
) _wrap_new_wxPoint2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45355 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45356 { (char *)"wxPoint2D_GetFloor", (PyCFunction
) _wrap_wxPoint2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"wxPoint2D_GetRounded", (PyCFunction
) _wrap_wxPoint2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45358 { (char *)"wxPoint2D_GetVectorLength", (PyCFunction
) _wrap_wxPoint2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45359 { (char *)"wxPoint2D_GetVectorAngle", (PyCFunction
) _wrap_wxPoint2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45360 { (char *)"wxPoint2D_SetVectorLength", (PyCFunction
) _wrap_wxPoint2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"wxPoint2D_SetVectorAngle", (PyCFunction
) _wrap_wxPoint2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"wxPoint2D_GetDistance", (PyCFunction
) _wrap_wxPoint2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45363 { (char *)"wxPoint2D_GetDistanceSquare", (PyCFunction
) _wrap_wxPoint2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"wxPoint2D_GetDotProduct", (PyCFunction
) _wrap_wxPoint2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"wxPoint2D_GetCrossProduct", (PyCFunction
) _wrap_wxPoint2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"wxPoint2D___neg__", (PyCFunction
) _wrap_wxPoint2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"wxPoint2D___iadd__", (PyCFunction
) _wrap_wxPoint2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"wxPoint2D___isub__", (PyCFunction
) _wrap_wxPoint2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45369 { (char *)"wxPoint2D___imul__", (PyCFunction
) _wrap_wxPoint2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"wxPoint2D___idiv__", (PyCFunction
) _wrap_wxPoint2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45371 { (char *)"wxPoint2D___eq__", (PyCFunction
) _wrap_wxPoint2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"wxPoint2D___ne__", (PyCFunction
) _wrap_wxPoint2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45373 { (char *)"wxPoint2D_x_set", (PyCFunction
) _wrap_wxPoint2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45374 { (char *)"wxPoint2D_x_get", (PyCFunction
) _wrap_wxPoint2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"wxPoint2D_y_set", (PyCFunction
) _wrap_wxPoint2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"wxPoint2D_y_get", (PyCFunction
) _wrap_wxPoint2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"wxPoint2D_Set", (PyCFunction
) _wrap_wxPoint2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45378 { (char *)"wxPoint2D_Get", (PyCFunction
) _wrap_wxPoint2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"wxPoint2D_swigregister", wxPoint2D_swigregister
, METH_VARARGS
, NULL
},
45380 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45381 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45383 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45385 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45386 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45387 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45389 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45392 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45396 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
45399 { (char *)"wxOutputStream_write", (PyCFunction
) _wrap_wxOutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45400 { (char *)"wxOutputStream_swigregister", wxOutputStream_swigregister
, METH_VARARGS
, NULL
},
45401 { (char *)"new_wxFSFile", (PyCFunction
) _wrap_new_wxFSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45402 { (char *)"delete_wxFSFile", (PyCFunction
) _wrap_delete_wxFSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"wxFSFile_GetStream", (PyCFunction
) _wrap_wxFSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45404 { (char *)"wxFSFile_GetMimeType", (PyCFunction
) _wrap_wxFSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"wxFSFile_GetLocation", (PyCFunction
) _wrap_wxFSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45406 { (char *)"wxFSFile_GetAnchor", (PyCFunction
) _wrap_wxFSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45407 { (char *)"wxFSFile_GetModificationTime", (PyCFunction
) _wrap_wxFSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"wxFSFile_swigregister", wxFSFile_swigregister
, METH_VARARGS
, NULL
},
45409 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45410 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45411 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45417 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45419 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45422 { (char *)"new_wxFileSystem", (PyCFunction
) _wrap_new_wxFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"delete_wxFileSystem", (PyCFunction
) _wrap_delete_wxFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"wxFileSystem_ChangePathTo", (PyCFunction
) _wrap_wxFileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"wxFileSystem_GetPath", (PyCFunction
) _wrap_wxFileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"wxFileSystem_OpenFile", (PyCFunction
) _wrap_wxFileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45427 { (char *)"wxFileSystem_FindFirst", (PyCFunction
) _wrap_wxFileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45428 { (char *)"wxFileSystem_FindNext", (PyCFunction
) _wrap_wxFileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"wxFileSystem_AddHandler", (PyCFunction
) _wrap_wxFileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"wxFileSystem_CleanUpHandlers", (PyCFunction
) _wrap_wxFileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"wxFileSystem_FileNameToURL", (PyCFunction
) _wrap_wxFileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"wxFileSystem_URLToFileName", (PyCFunction
) _wrap_wxFileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"wxFileSystem_swigregister", wxFileSystem_swigregister
, METH_VARARGS
, NULL
},
45434 { (char *)"new_wxInternetFSHandler", (PyCFunction
) _wrap_new_wxInternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"wxInternetFSHandler_CanOpen", (PyCFunction
) _wrap_wxInternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"wxInternetFSHandler_OpenFile", (PyCFunction
) _wrap_wxInternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45437 { (char *)"wxInternetFSHandler_swigregister", wxInternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
45438 { (char *)"new_wxZipFSHandler", (PyCFunction
) _wrap_new_wxZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"wxZipFSHandler_CanOpen", (PyCFunction
) _wrap_wxZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"wxZipFSHandler_OpenFile", (PyCFunction
) _wrap_wxZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"wxZipFSHandler_FindFirst", (PyCFunction
) _wrap_wxZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"wxZipFSHandler_FindNext", (PyCFunction
) _wrap_wxZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"wxZipFSHandler_swigregister", wxZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
45444 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45446 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"new_wxMemoryFSHandler", (PyCFunction
) _wrap_new_wxMemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"wxMemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_wxMemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"wxMemoryFSHandler_CanOpen", (PyCFunction
) _wrap_wxMemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"wxMemoryFSHandler_OpenFile", (PyCFunction
) _wrap_wxMemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"wxMemoryFSHandler_FindFirst", (PyCFunction
) _wrap_wxMemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"wxMemoryFSHandler_FindNext", (PyCFunction
) _wrap_wxMemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"wxMemoryFSHandler_swigregister", wxMemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
45454 { (char *)"wxImageHandler_GetName", (PyCFunction
) _wrap_wxImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45455 { (char *)"wxImageHandler_GetExtension", (PyCFunction
) _wrap_wxImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"wxImageHandler_GetType", (PyCFunction
) _wrap_wxImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"wxImageHandler_GetMimeType", (PyCFunction
) _wrap_wxImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"wxImageHandler_CanRead", (PyCFunction
) _wrap_wxImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"wxImageHandler_SetName", (PyCFunction
) _wrap_wxImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"wxImageHandler_SetExtension", (PyCFunction
) _wrap_wxImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"wxImageHandler_SetType", (PyCFunction
) _wrap_wxImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"wxImageHandler_SetMimeType", (PyCFunction
) _wrap_wxImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"wxImageHandler_swigregister", wxImageHandler_swigregister
, METH_VARARGS
, NULL
},
45464 { (char *)"new_wxImageHistogram", (PyCFunction
) _wrap_new_wxImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"wxImageHistogram_MakeKey", (PyCFunction
) _wrap_wxImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"wxImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_wxImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"wxImageHistogram_GetCount", (PyCFunction
) _wrap_wxImageHistogram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"wxImageHistogram_GetCountRGB", (PyCFunction
) _wrap_wxImageHistogram_GetCountRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"wxImageHistogram_GetCountColour", (PyCFunction
) _wrap_wxImageHistogram_GetCountColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"wxImageHistogram_swigregister", wxImageHistogram_swigregister
, METH_VARARGS
, NULL
},
45471 { (char *)"new_wxImage", (PyCFunction
) _wrap_new_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"delete_wxImage", (PyCFunction
) _wrap_delete_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"wxImage_Create", (PyCFunction
) _wrap_wxImage_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"wxImage_Destroy", (PyCFunction
) _wrap_wxImage_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"wxImage_Scale", (PyCFunction
) _wrap_wxImage_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45483 { (char *)"wxImage_ShrinkBy", (PyCFunction
) _wrap_wxImage_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45484 { (char *)"wxImage_Rescale", (PyCFunction
) _wrap_wxImage_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"wxImage_Resize", (PyCFunction
) _wrap_wxImage_Resize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"wxImage_SetRGB", (PyCFunction
) _wrap_wxImage_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"wxImage_SetRGBRect", (PyCFunction
) _wrap_wxImage_SetRGBRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"wxImage_GetRed", (PyCFunction
) _wrap_wxImage_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"wxImage_GetGreen", (PyCFunction
) _wrap_wxImage_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"wxImage_GetBlue", (PyCFunction
) _wrap_wxImage_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"wxImage_SetAlpha", (PyCFunction
) _wrap_wxImage_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"wxImage_GetAlpha", (PyCFunction
) _wrap_wxImage_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"wxImage_HasAlpha", (PyCFunction
) _wrap_wxImage_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45494 { (char *)"wxImage_InitAlpha", (PyCFunction
) _wrap_wxImage_InitAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"wxImage_FindFirstUnusedColour", (PyCFunction
) _wrap_wxImage_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45496 { (char *)"wxImage_ConvertAlphaToMask", (PyCFunction
) _wrap_wxImage_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"wxImage_ConvertColourToAlpha", (PyCFunction
) _wrap_wxImage_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"wxImage_SetMaskFromImage", (PyCFunction
) _wrap_wxImage_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"wxImage_CanRead", (PyCFunction
) _wrap_wxImage_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"wxImage_GetImageCount", (PyCFunction
) _wrap_wxImage_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"wxImage_LoadFile", (PyCFunction
) _wrap_wxImage_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"wxImage_LoadMimeFile", (PyCFunction
) _wrap_wxImage_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"wxImage_SaveFile", (PyCFunction
) _wrap_wxImage_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"wxImage_SaveMimeFile", (PyCFunction
) _wrap_wxImage_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"wxImage_CanReadStream", (PyCFunction
) _wrap_wxImage_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"wxImage_LoadStream", (PyCFunction
) _wrap_wxImage_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"wxImage_LoadMimeStream", (PyCFunction
) _wrap_wxImage_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"wxImage_Ok", (PyCFunction
) _wrap_wxImage_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"wxImage_GetWidth", (PyCFunction
) _wrap_wxImage_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"wxImage_GetHeight", (PyCFunction
) _wrap_wxImage_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"wxImage_GetSize", (PyCFunction
) _wrap_wxImage_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"wxImage_GetSubImage", (PyCFunction
) _wrap_wxImage_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"wxImage_Size", (PyCFunction
) _wrap_wxImage_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"wxImage_Copy", (PyCFunction
) _wrap_wxImage_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"wxImage_Paste", (PyCFunction
) _wrap_wxImage_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"wxImage_GetData", (PyCFunction
) _wrap_wxImage_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"wxImage_SetData", (PyCFunction
) _wrap_wxImage_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"wxImage_GetDataBuffer", (PyCFunction
) _wrap_wxImage_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"wxImage_SetDataBuffer", (PyCFunction
) _wrap_wxImage_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"wxImage_GetAlphaData", (PyCFunction
) _wrap_wxImage_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"wxImage_SetAlphaData", (PyCFunction
) _wrap_wxImage_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"wxImage_GetAlphaBuffer", (PyCFunction
) _wrap_wxImage_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"wxImage_SetAlphaBuffer", (PyCFunction
) _wrap_wxImage_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"wxImage_SetMaskColour", (PyCFunction
) _wrap_wxImage_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"wxImage_GetOrFindMaskColour", (PyCFunction
) _wrap_wxImage_GetOrFindMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"wxImage_GetMaskRed", (PyCFunction
) _wrap_wxImage_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"wxImage_GetMaskGreen", (PyCFunction
) _wrap_wxImage_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"wxImage_GetMaskBlue", (PyCFunction
) _wrap_wxImage_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"wxImage_SetMask", (PyCFunction
) _wrap_wxImage_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"wxImage_HasMask", (PyCFunction
) _wrap_wxImage_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"wxImage_Rotate", (PyCFunction
) _wrap_wxImage_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"wxImage_Rotate90", (PyCFunction
) _wrap_wxImage_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"wxImage_Mirror", (PyCFunction
) _wrap_wxImage_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"wxImage_Replace", (PyCFunction
) _wrap_wxImage_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"wxImage_ConvertToMono", (PyCFunction
) _wrap_wxImage_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"wxImage_SetOption", (PyCFunction
) _wrap_wxImage_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"wxImage_SetOptionInt", (PyCFunction
) _wrap_wxImage_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"wxImage_GetOption", (PyCFunction
) _wrap_wxImage_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"wxImage_GetOptionInt", (PyCFunction
) _wrap_wxImage_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"wxImage_HasOption", (PyCFunction
) _wrap_wxImage_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"wxImage_CountColours", (PyCFunction
) _wrap_wxImage_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"wxImage_ComputeHistogram", (PyCFunction
) _wrap_wxImage_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"wxImage_AddHandler", (PyCFunction
) _wrap_wxImage_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"wxImage_InsertHandler", (PyCFunction
) _wrap_wxImage_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"wxImage_RemoveHandler", (PyCFunction
) _wrap_wxImage_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"wxImage_GetImageExtWildcard", (PyCFunction
) _wrap_wxImage_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"wxImage_ConvertToBitmap", (PyCFunction
) _wrap_wxImage_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"wxImage_ConvertToMonoBitmap", (PyCFunction
) _wrap_wxImage_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"wxImage_swigregister", wxImage_swigregister
, METH_VARARGS
, NULL
},
45550 { (char *)"new_wxBMPHandler", (PyCFunction
) _wrap_new_wxBMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45551 { (char *)"wxBMPHandler_swigregister", wxBMPHandler_swigregister
, METH_VARARGS
, NULL
},
45552 { (char *)"new_wxICOHandler", (PyCFunction
) _wrap_new_wxICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"wxICOHandler_swigregister", wxICOHandler_swigregister
, METH_VARARGS
, NULL
},
45554 { (char *)"new_wxCURHandler", (PyCFunction
) _wrap_new_wxCURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"wxCURHandler_swigregister", wxCURHandler_swigregister
, METH_VARARGS
, NULL
},
45556 { (char *)"new_wxANIHandler", (PyCFunction
) _wrap_new_wxANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"wxANIHandler_swigregister", wxANIHandler_swigregister
, METH_VARARGS
, NULL
},
45558 { (char *)"new_wxPNGHandler", (PyCFunction
) _wrap_new_wxPNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"wxPNGHandler_swigregister", wxPNGHandler_swigregister
, METH_VARARGS
, NULL
},
45560 { (char *)"new_wxGIFHandler", (PyCFunction
) _wrap_new_wxGIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"wxGIFHandler_swigregister", wxGIFHandler_swigregister
, METH_VARARGS
, NULL
},
45562 { (char *)"new_wxPCXHandler", (PyCFunction
) _wrap_new_wxPCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"wxPCXHandler_swigregister", wxPCXHandler_swigregister
, METH_VARARGS
, NULL
},
45564 { (char *)"new_wxJPEGHandler", (PyCFunction
) _wrap_new_wxJPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45565 { (char *)"wxJPEGHandler_swigregister", wxJPEGHandler_swigregister
, METH_VARARGS
, NULL
},
45566 { (char *)"new_wxPNMHandler", (PyCFunction
) _wrap_new_wxPNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45567 { (char *)"wxPNMHandler_swigregister", wxPNMHandler_swigregister
, METH_VARARGS
, NULL
},
45568 { (char *)"new_wxXPMHandler", (PyCFunction
) _wrap_new_wxXPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"wxXPMHandler_swigregister", wxXPMHandler_swigregister
, METH_VARARGS
, NULL
},
45570 { (char *)"new_wxTIFFHandler", (PyCFunction
) _wrap_new_wxTIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"wxTIFFHandler_swigregister", wxTIFFHandler_swigregister
, METH_VARARGS
, NULL
},
45572 { (char *)"wxQuantize_Quantize", (PyCFunction
) _wrap_wxQuantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45573 { (char *)"wxQuantize_swigregister", wxQuantize_swigregister
, METH_VARARGS
, NULL
},
45574 { (char *)"new_wxEvtHandler", (PyCFunction
) _wrap_new_wxEvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"wxEvtHandler_AddPendingEvent", (PyCFunction
) _wrap_wxEvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"wxEvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_wxEvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"wxEvtHandler__setOORInfo", (PyCFunction
) _wrap_wxEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"wxEvtHandler_swigregister", wxEvtHandler_swigregister
, METH_VARARGS
, NULL
},
45588 { (char *)"wxNewEventType", (PyCFunction
) _wrap_wxNewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"delete_wxEvent", (PyCFunction
) _wrap_delete_wxEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"wxEvent_SetEventType", (PyCFunction
) _wrap_wxEvent_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"wxEvent_GetEventType", (PyCFunction
) _wrap_wxEvent_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"wxEvent_GetEventObject", (PyCFunction
) _wrap_wxEvent_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"wxEvent_SetEventObject", (PyCFunction
) _wrap_wxEvent_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"wxEvent_GetTimestamp", (PyCFunction
) _wrap_wxEvent_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"wxEvent_SetTimestamp", (PyCFunction
) _wrap_wxEvent_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"wxEvent_GetId", (PyCFunction
) _wrap_wxEvent_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"wxEvent_SetId", (PyCFunction
) _wrap_wxEvent_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"wxEvent_IsCommandEvent", (PyCFunction
) _wrap_wxEvent_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"wxEvent_Skip", (PyCFunction
) _wrap_wxEvent_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"wxEvent_GetSkipped", (PyCFunction
) _wrap_wxEvent_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45601 { (char *)"wxEvent_ShouldPropagate", (PyCFunction
) _wrap_wxEvent_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"wxEvent_StopPropagation", (PyCFunction
) _wrap_wxEvent_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"wxEvent_ResumePropagation", (PyCFunction
) _wrap_wxEvent_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45604 { (char *)"wxEvent_Clone", (PyCFunction
) _wrap_wxEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"wxEvent_swigregister", wxEvent_swigregister
, METH_VARARGS
, NULL
},
45606 { (char *)"new_wxPropagationDisabler", (PyCFunction
) _wrap_new_wxPropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"delete_wxPropagationDisabler", (PyCFunction
) _wrap_delete_wxPropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45608 { (char *)"wxPropagationDisabler_swigregister", wxPropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
45609 { (char *)"new_wxPropagateOnce", (PyCFunction
) _wrap_new_wxPropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45610 { (char *)"delete_wxPropagateOnce", (PyCFunction
) _wrap_delete_wxPropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"wxPropagateOnce_swigregister", wxPropagateOnce_swigregister
, METH_VARARGS
, NULL
},
45612 { (char *)"new_wxCommandEvent", (PyCFunction
) _wrap_new_wxCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45613 { (char *)"wxCommandEvent_GetSelection", (PyCFunction
) _wrap_wxCommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45614 { (char *)"wxCommandEvent_SetString", (PyCFunction
) _wrap_wxCommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45615 { (char *)"wxCommandEvent_GetString", (PyCFunction
) _wrap_wxCommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45616 { (char *)"wxCommandEvent_IsChecked", (PyCFunction
) _wrap_wxCommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"wxCommandEvent_IsSelection", (PyCFunction
) _wrap_wxCommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45618 { (char *)"wxCommandEvent_SetExtraLong", (PyCFunction
) _wrap_wxCommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45619 { (char *)"wxCommandEvent_GetExtraLong", (PyCFunction
) _wrap_wxCommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"wxCommandEvent_SetInt", (PyCFunction
) _wrap_wxCommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45621 { (char *)"wxCommandEvent_GetInt", (PyCFunction
) _wrap_wxCommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"wxCommandEvent_Clone", (PyCFunction
) _wrap_wxCommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45623 { (char *)"wxCommandEvent_swigregister", wxCommandEvent_swigregister
, METH_VARARGS
, NULL
},
45624 { (char *)"new_wxNotifyEvent", (PyCFunction
) _wrap_new_wxNotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45625 { (char *)"wxNotifyEvent_Veto", (PyCFunction
) _wrap_wxNotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"wxNotifyEvent_Allow", (PyCFunction
) _wrap_wxNotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"wxNotifyEvent_IsAllowed", (PyCFunction
) _wrap_wxNotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"wxNotifyEvent_swigregister", wxNotifyEvent_swigregister
, METH_VARARGS
, NULL
},
45629 { (char *)"new_wxScrollEvent", (PyCFunction
) _wrap_new_wxScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45630 { (char *)"wxScrollEvent_GetOrientation", (PyCFunction
) _wrap_wxScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"wxScrollEvent_GetPosition", (PyCFunction
) _wrap_wxScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"wxScrollEvent_SetOrientation", (PyCFunction
) _wrap_wxScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45633 { (char *)"wxScrollEvent_SetPosition", (PyCFunction
) _wrap_wxScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45634 { (char *)"wxScrollEvent_swigregister", wxScrollEvent_swigregister
, METH_VARARGS
, NULL
},
45635 { (char *)"new_wxScrollWinEvent", (PyCFunction
) _wrap_new_wxScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"wxScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_wxScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"wxScrollWinEvent_GetPosition", (PyCFunction
) _wrap_wxScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"wxScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_wxScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"wxScrollWinEvent_SetPosition", (PyCFunction
) _wrap_wxScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45640 { (char *)"wxScrollWinEvent_swigregister", wxScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
45641 { (char *)"new_wxMouseEvent", (PyCFunction
) _wrap_new_wxMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45642 { (char *)"wxMouseEvent_IsButton", (PyCFunction
) _wrap_wxMouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"wxMouseEvent_ButtonDown", (PyCFunction
) _wrap_wxMouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45644 { (char *)"wxMouseEvent_ButtonDClick", (PyCFunction
) _wrap_wxMouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"wxMouseEvent_ButtonUp", (PyCFunction
) _wrap_wxMouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45646 { (char *)"wxMouseEvent_Button", (PyCFunction
) _wrap_wxMouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45647 { (char *)"wxMouseEvent_ButtonIsDown", (PyCFunction
) _wrap_wxMouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45648 { (char *)"wxMouseEvent_GetButton", (PyCFunction
) _wrap_wxMouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45649 { (char *)"wxMouseEvent_ControlDown", (PyCFunction
) _wrap_wxMouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45650 { (char *)"wxMouseEvent_MetaDown", (PyCFunction
) _wrap_wxMouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45651 { (char *)"wxMouseEvent_AltDown", (PyCFunction
) _wrap_wxMouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45652 { (char *)"wxMouseEvent_ShiftDown", (PyCFunction
) _wrap_wxMouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"wxMouseEvent_CmdDown", (PyCFunction
) _wrap_wxMouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45654 { (char *)"wxMouseEvent_LeftDown", (PyCFunction
) _wrap_wxMouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"wxMouseEvent_MiddleDown", (PyCFunction
) _wrap_wxMouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"wxMouseEvent_RightDown", (PyCFunction
) _wrap_wxMouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45657 { (char *)"wxMouseEvent_LeftUp", (PyCFunction
) _wrap_wxMouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45658 { (char *)"wxMouseEvent_MiddleUp", (PyCFunction
) _wrap_wxMouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45659 { (char *)"wxMouseEvent_RightUp", (PyCFunction
) _wrap_wxMouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"wxMouseEvent_LeftDClick", (PyCFunction
) _wrap_wxMouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"wxMouseEvent_MiddleDClick", (PyCFunction
) _wrap_wxMouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45662 { (char *)"wxMouseEvent_RightDClick", (PyCFunction
) _wrap_wxMouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"wxMouseEvent_LeftIsDown", (PyCFunction
) _wrap_wxMouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45664 { (char *)"wxMouseEvent_MiddleIsDown", (PyCFunction
) _wrap_wxMouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"wxMouseEvent_RightIsDown", (PyCFunction
) _wrap_wxMouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"wxMouseEvent_Dragging", (PyCFunction
) _wrap_wxMouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"wxMouseEvent_Moving", (PyCFunction
) _wrap_wxMouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45668 { (char *)"wxMouseEvent_Entering", (PyCFunction
) _wrap_wxMouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45669 { (char *)"wxMouseEvent_Leaving", (PyCFunction
) _wrap_wxMouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"wxMouseEvent_GetPosition", (PyCFunction
) _wrap_wxMouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"wxMouseEvent_GetPositionTuple", (PyCFunction
) _wrap_wxMouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45672 { (char *)"wxMouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_wxMouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"wxMouseEvent_GetX", (PyCFunction
) _wrap_wxMouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"wxMouseEvent_GetY", (PyCFunction
) _wrap_wxMouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45675 { (char *)"wxMouseEvent_GetWheelRotation", (PyCFunction
) _wrap_wxMouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"wxMouseEvent_GetWheelDelta", (PyCFunction
) _wrap_wxMouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"wxMouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_wxMouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45678 { (char *)"wxMouseEvent_IsPageScroll", (PyCFunction
) _wrap_wxMouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"wxMouseEvent_m_x_set", (PyCFunction
) _wrap_wxMouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"wxMouseEvent_m_x_get", (PyCFunction
) _wrap_wxMouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"wxMouseEvent_m_y_set", (PyCFunction
) _wrap_wxMouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"wxMouseEvent_m_y_get", (PyCFunction
) _wrap_wxMouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"wxMouseEvent_m_leftDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"wxMouseEvent_m_leftDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"wxMouseEvent_m_middleDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"wxMouseEvent_m_middleDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"wxMouseEvent_m_rightDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"wxMouseEvent_m_rightDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"wxMouseEvent_m_controlDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45690 { (char *)"wxMouseEvent_m_controlDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"wxMouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45692 { (char *)"wxMouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45693 { (char *)"wxMouseEvent_m_altDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"wxMouseEvent_m_altDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45695 { (char *)"wxMouseEvent_m_metaDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"wxMouseEvent_m_metaDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45697 { (char *)"wxMouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_wxMouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45698 { (char *)"wxMouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_wxMouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45699 { (char *)"wxMouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_wxMouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45700 { (char *)"wxMouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_wxMouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"wxMouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_wxMouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45702 { (char *)"wxMouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_wxMouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"wxMouseEvent_swigregister", wxMouseEvent_swigregister
, METH_VARARGS
, NULL
},
45704 { (char *)"new_wxSetCursorEvent", (PyCFunction
) _wrap_new_wxSetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"wxSetCursorEvent_GetX", (PyCFunction
) _wrap_wxSetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45706 { (char *)"wxSetCursorEvent_GetY", (PyCFunction
) _wrap_wxSetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45707 { (char *)"wxSetCursorEvent_SetCursor", (PyCFunction
) _wrap_wxSetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"wxSetCursorEvent_GetCursor", (PyCFunction
) _wrap_wxSetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"wxSetCursorEvent_HasCursor", (PyCFunction
) _wrap_wxSetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"wxSetCursorEvent_swigregister", wxSetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
45711 { (char *)"new_wxKeyEvent", (PyCFunction
) _wrap_new_wxKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"wxKeyEvent_ControlDown", (PyCFunction
) _wrap_wxKeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"wxKeyEvent_MetaDown", (PyCFunction
) _wrap_wxKeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"wxKeyEvent_AltDown", (PyCFunction
) _wrap_wxKeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"wxKeyEvent_ShiftDown", (PyCFunction
) _wrap_wxKeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"wxKeyEvent_CmdDown", (PyCFunction
) _wrap_wxKeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"wxKeyEvent_HasModifiers", (PyCFunction
) _wrap_wxKeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"wxKeyEvent_GetKeyCode", (PyCFunction
) _wrap_wxKeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"wxKeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_wxKeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"wxKeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_wxKeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45721 { (char *)"wxKeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_wxKeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"wxKeyEvent_GetPosition", (PyCFunction
) _wrap_wxKeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"wxKeyEvent_GetPositionTuple", (PyCFunction
) _wrap_wxKeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"wxKeyEvent_GetX", (PyCFunction
) _wrap_wxKeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"wxKeyEvent_GetY", (PyCFunction
) _wrap_wxKeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"wxKeyEvent_m_x_set", (PyCFunction
) _wrap_wxKeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45727 { (char *)"wxKeyEvent_m_x_get", (PyCFunction
) _wrap_wxKeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"wxKeyEvent_m_y_set", (PyCFunction
) _wrap_wxKeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45729 { (char *)"wxKeyEvent_m_y_get", (PyCFunction
) _wrap_wxKeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"wxKeyEvent_m_keyCode_set", (PyCFunction
) _wrap_wxKeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"wxKeyEvent_m_keyCode_get", (PyCFunction
) _wrap_wxKeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"wxKeyEvent_m_controlDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"wxKeyEvent_m_controlDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45734 { (char *)"wxKeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"wxKeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"wxKeyEvent_m_altDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"wxKeyEvent_m_altDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"wxKeyEvent_m_metaDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"wxKeyEvent_m_metaDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"wxKeyEvent_m_scanCode_set", (PyCFunction
) _wrap_wxKeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"wxKeyEvent_m_scanCode_get", (PyCFunction
) _wrap_wxKeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"wxKeyEvent_m_rawCode_set", (PyCFunction
) _wrap_wxKeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"wxKeyEvent_m_rawCode_get", (PyCFunction
) _wrap_wxKeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"wxKeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_wxKeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45745 { (char *)"wxKeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_wxKeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"wxKeyEvent_swigregister", wxKeyEvent_swigregister
, METH_VARARGS
, NULL
},
45747 { (char *)"new_wxSizeEvent", (PyCFunction
) _wrap_new_wxSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"wxSizeEvent_GetSize", (PyCFunction
) _wrap_wxSizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"wxSizeEvent_GetRect", (PyCFunction
) _wrap_wxSizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"wxSizeEvent_SetRect", (PyCFunction
) _wrap_wxSizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"wxSizeEvent_SetSize", (PyCFunction
) _wrap_wxSizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"wxSizeEvent_m_size_set", (PyCFunction
) _wrap_wxSizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"wxSizeEvent_m_size_get", (PyCFunction
) _wrap_wxSizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"wxSizeEvent_m_rect_set", (PyCFunction
) _wrap_wxSizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"wxSizeEvent_m_rect_get", (PyCFunction
) _wrap_wxSizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"wxSizeEvent_swigregister", wxSizeEvent_swigregister
, METH_VARARGS
, NULL
},
45757 { (char *)"new_wxMoveEvent", (PyCFunction
) _wrap_new_wxMoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"wxMoveEvent_GetPosition", (PyCFunction
) _wrap_wxMoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"wxMoveEvent_GetRect", (PyCFunction
) _wrap_wxMoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"wxMoveEvent_SetRect", (PyCFunction
) _wrap_wxMoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45761 { (char *)"wxMoveEvent_SetPosition", (PyCFunction
) _wrap_wxMoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"wxMoveEvent_swigregister", wxMoveEvent_swigregister
, METH_VARARGS
, NULL
},
45763 { (char *)"new_wxPaintEvent", (PyCFunction
) _wrap_new_wxPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45764 { (char *)"wxPaintEvent_swigregister", wxPaintEvent_swigregister
, METH_VARARGS
, NULL
},
45765 { (char *)"new_wxNcPaintEvent", (PyCFunction
) _wrap_new_wxNcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"wxNcPaintEvent_swigregister", wxNcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
45767 { (char *)"new_wxEraseEvent", (PyCFunction
) _wrap_new_wxEraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"wxEraseEvent_GetDC", (PyCFunction
) _wrap_wxEraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45769 { (char *)"wxEraseEvent_swigregister", wxEraseEvent_swigregister
, METH_VARARGS
, NULL
},
45770 { (char *)"new_wxFocusEvent", (PyCFunction
) _wrap_new_wxFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45771 { (char *)"wxFocusEvent_GetWindow", (PyCFunction
) _wrap_wxFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"wxFocusEvent_SetWindow", (PyCFunction
) _wrap_wxFocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"wxFocusEvent_swigregister", wxFocusEvent_swigregister
, METH_VARARGS
, NULL
},
45774 { (char *)"new_wxChildFocusEvent", (PyCFunction
) _wrap_new_wxChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"wxChildFocusEvent_GetWindow", (PyCFunction
) _wrap_wxChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"wxChildFocusEvent_swigregister", wxChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
45777 { (char *)"new_wxActivateEvent", (PyCFunction
) _wrap_new_wxActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45778 { (char *)"wxActivateEvent_GetActive", (PyCFunction
) _wrap_wxActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"wxActivateEvent_swigregister", wxActivateEvent_swigregister
, METH_VARARGS
, NULL
},
45780 { (char *)"new_wxInitDialogEvent", (PyCFunction
) _wrap_new_wxInitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"wxInitDialogEvent_swigregister", wxInitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
45782 { (char *)"new_wxMenuEvent", (PyCFunction
) _wrap_new_wxMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"wxMenuEvent_GetMenuId", (PyCFunction
) _wrap_wxMenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"wxMenuEvent_IsPopup", (PyCFunction
) _wrap_wxMenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"wxMenuEvent_GetMenu", (PyCFunction
) _wrap_wxMenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"wxMenuEvent_swigregister", wxMenuEvent_swigregister
, METH_VARARGS
, NULL
},
45787 { (char *)"new_wxCloseEvent", (PyCFunction
) _wrap_new_wxCloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"wxCloseEvent_SetLoggingOff", (PyCFunction
) _wrap_wxCloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"wxCloseEvent_GetLoggingOff", (PyCFunction
) _wrap_wxCloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"wxCloseEvent_Veto", (PyCFunction
) _wrap_wxCloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45791 { (char *)"wxCloseEvent_SetCanVeto", (PyCFunction
) _wrap_wxCloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"wxCloseEvent_CanVeto", (PyCFunction
) _wrap_wxCloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"wxCloseEvent_GetVeto", (PyCFunction
) _wrap_wxCloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"wxCloseEvent_swigregister", wxCloseEvent_swigregister
, METH_VARARGS
, NULL
},
45795 { (char *)"new_wxShowEvent", (PyCFunction
) _wrap_new_wxShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"wxShowEvent_SetShow", (PyCFunction
) _wrap_wxShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"wxShowEvent_GetShow", (PyCFunction
) _wrap_wxShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"wxShowEvent_swigregister", wxShowEvent_swigregister
, METH_VARARGS
, NULL
},
45799 { (char *)"new_wxIconizeEvent", (PyCFunction
) _wrap_new_wxIconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"wxIconizeEvent_Iconized", (PyCFunction
) _wrap_wxIconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45801 { (char *)"wxIconizeEvent_swigregister", wxIconizeEvent_swigregister
, METH_VARARGS
, NULL
},
45802 { (char *)"new_wxMaximizeEvent", (PyCFunction
) _wrap_new_wxMaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"wxMaximizeEvent_swigregister", wxMaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
45804 { (char *)"wxDropFilesEvent_GetPosition", (PyCFunction
) _wrap_wxDropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"wxDropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_wxDropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"wxDropFilesEvent_GetFiles", (PyCFunction
) _wrap_wxDropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"wxDropFilesEvent_swigregister", wxDropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
45808 { (char *)"new_wxUpdateUIEvent", (PyCFunction
) _wrap_new_wxUpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"wxUpdateUIEvent_GetChecked", (PyCFunction
) _wrap_wxUpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"wxUpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_wxUpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"wxUpdateUIEvent_GetText", (PyCFunction
) _wrap_wxUpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"wxUpdateUIEvent_GetSetText", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"wxUpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"wxUpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"wxUpdateUIEvent_Check", (PyCFunction
) _wrap_wxUpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"wxUpdateUIEvent_Enable", (PyCFunction
) _wrap_wxUpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"wxUpdateUIEvent_SetText", (PyCFunction
) _wrap_wxUpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"wxUpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_wxUpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"wxUpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_wxUpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"wxUpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_wxUpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"wxUpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_wxUpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"wxUpdateUIEvent_SetMode", (PyCFunction
) _wrap_wxUpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"wxUpdateUIEvent_GetMode", (PyCFunction
) _wrap_wxUpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"wxUpdateUIEvent_swigregister", wxUpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
45825 { (char *)"new_wxSysColourChangedEvent", (PyCFunction
) _wrap_new_wxSysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"wxSysColourChangedEvent_swigregister", wxSysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45827 { (char *)"new_wxMouseCaptureChangedEvent", (PyCFunction
) _wrap_new_wxMouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45828 { (char *)"wxMouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_wxMouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45829 { (char *)"wxMouseCaptureChangedEvent_swigregister", wxMouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45830 { (char *)"new_wxDisplayChangedEvent", (PyCFunction
) _wrap_new_wxDisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"wxDisplayChangedEvent_swigregister", wxDisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45832 { (char *)"new_wxPaletteChangedEvent", (PyCFunction
) _wrap_new_wxPaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45833 { (char *)"wxPaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_wxPaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45834 { (char *)"wxPaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_wxPaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"wxPaletteChangedEvent_swigregister", wxPaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45836 { (char *)"new_wxQueryNewPaletteEvent", (PyCFunction
) _wrap_new_wxQueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45837 { (char *)"wxQueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_wxQueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"wxQueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_wxQueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"wxQueryNewPaletteEvent_swigregister", wxQueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
45840 { (char *)"new_wxNavigationKeyEvent", (PyCFunction
) _wrap_new_wxNavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"wxNavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_wxNavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45842 { (char *)"wxNavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45843 { (char *)"wxNavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_wxNavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"wxNavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"wxNavigationKeyEvent_IsFromTab", (PyCFunction
) _wrap_wxNavigationKeyEvent_IsFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45846 { (char *)"wxNavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"wxNavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"wxNavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_wxNavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"wxNavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"wxNavigationKeyEvent_swigregister", wxNavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
45851 { (char *)"new_wxWindowCreateEvent", (PyCFunction
) _wrap_new_wxWindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"wxWindowCreateEvent_GetWindow", (PyCFunction
) _wrap_wxWindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45853 { (char *)"wxWindowCreateEvent_swigregister", wxWindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
45854 { (char *)"new_wxWindowDestroyEvent", (PyCFunction
) _wrap_new_wxWindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"wxWindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_wxWindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"wxWindowDestroyEvent_swigregister", wxWindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
45857 { (char *)"new_wxContextMenuEvent", (PyCFunction
) _wrap_new_wxContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"wxContextMenuEvent_GetPosition", (PyCFunction
) _wrap_wxContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45859 { (char *)"wxContextMenuEvent_SetPosition", (PyCFunction
) _wrap_wxContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45860 { (char *)"wxContextMenuEvent_swigregister", wxContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
45861 { (char *)"new_wxIdleEvent", (PyCFunction
) _wrap_new_wxIdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"wxIdleEvent_RequestMore", (PyCFunction
) _wrap_wxIdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45863 { (char *)"wxIdleEvent_MoreRequested", (PyCFunction
) _wrap_wxIdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45864 { (char *)"wxIdleEvent_SetMode", (PyCFunction
) _wrap_wxIdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"wxIdleEvent_GetMode", (PyCFunction
) _wrap_wxIdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45866 { (char *)"wxIdleEvent_CanSend", (PyCFunction
) _wrap_wxIdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45867 { (char *)"wxIdleEvent_swigregister", wxIdleEvent_swigregister
, METH_VARARGS
, NULL
},
45868 { (char *)"new_wxPyEvent", (PyCFunction
) _wrap_new_wxPyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"delete_wxPyEvent", (PyCFunction
) _wrap_delete_wxPyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45870 { (char *)"wxPyEvent_SetSelf", (PyCFunction
) _wrap_wxPyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"wxPyEvent_GetSelf", (PyCFunction
) _wrap_wxPyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"wxPyEvent_swigregister", wxPyEvent_swigregister
, METH_VARARGS
, NULL
},
45873 { (char *)"new_wxPyCommandEvent", (PyCFunction
) _wrap_new_wxPyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45874 { (char *)"delete_wxPyCommandEvent", (PyCFunction
) _wrap_delete_wxPyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45875 { (char *)"wxPyCommandEvent_SetSelf", (PyCFunction
) _wrap_wxPyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"wxPyCommandEvent_GetSelf", (PyCFunction
) _wrap_wxPyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"wxPyCommandEvent_swigregister", wxPyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
45878 { (char *)"new_wxDateEvent", (PyCFunction
) _wrap_new_wxDateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"wxDateEvent_GetDate", (PyCFunction
) _wrap_wxDateEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45880 { (char *)"wxDateEvent_SetDate", (PyCFunction
) _wrap_wxDateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45881 { (char *)"wxDateEvent_swigregister", wxDateEvent_swigregister
, METH_VARARGS
, NULL
},
45882 { (char *)"new_wxPyApp", (PyCFunction
) _wrap_new_wxPyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45883 { (char *)"delete_wxPyApp", (PyCFunction
) _wrap_delete_wxPyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"wxPyApp__setCallbackInfo", (PyCFunction
) _wrap_wxPyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45885 { (char *)"wxPyApp_GetAppName", (PyCFunction
) _wrap_wxPyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45886 { (char *)"wxPyApp_SetAppName", (PyCFunction
) _wrap_wxPyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45887 { (char *)"wxPyApp_GetClassName", (PyCFunction
) _wrap_wxPyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"wxPyApp_SetClassName", (PyCFunction
) _wrap_wxPyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"wxPyApp_GetVendorName", (PyCFunction
) _wrap_wxPyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"wxPyApp_SetVendorName", (PyCFunction
) _wrap_wxPyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45891 { (char *)"wxPyApp_GetTraits", (PyCFunction
) _wrap_wxPyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45892 { (char *)"wxPyApp_ProcessPendingEvents", (PyCFunction
) _wrap_wxPyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45893 { (char *)"wxPyApp_Yield", (PyCFunction
) _wrap_wxPyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"wxPyApp_WakeUpIdle", (PyCFunction
) _wrap_wxPyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45895 { (char *)"wxPyApp_IsMainLoopRunning", (PyCFunction
) _wrap_wxPyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"wxPyApp_MainLoop", (PyCFunction
) _wrap_wxPyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"wxPyApp_Exit", (PyCFunction
) _wrap_wxPyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"wxPyApp_ExitMainLoop", (PyCFunction
) _wrap_wxPyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45899 { (char *)"wxPyApp_Pending", (PyCFunction
) _wrap_wxPyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"wxPyApp_Dispatch", (PyCFunction
) _wrap_wxPyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45901 { (char *)"wxPyApp_ProcessIdle", (PyCFunction
) _wrap_wxPyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"wxPyApp_SendIdleEvents", (PyCFunction
) _wrap_wxPyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"wxPyApp_IsActive", (PyCFunction
) _wrap_wxPyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"wxPyApp_SetTopWindow", (PyCFunction
) _wrap_wxPyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"wxPyApp_GetTopWindow", (PyCFunction
) _wrap_wxPyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45906 { (char *)"wxPyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_wxPyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45907 { (char *)"wxPyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_wxPyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"wxPyApp_SetUseBestVisual", (PyCFunction
) _wrap_wxPyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45909 { (char *)"wxPyApp_GetUseBestVisual", (PyCFunction
) _wrap_wxPyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"wxPyApp_SetPrintMode", (PyCFunction
) _wrap_wxPyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45911 { (char *)"wxPyApp_GetPrintMode", (PyCFunction
) _wrap_wxPyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"wxPyApp_SetAssertMode", (PyCFunction
) _wrap_wxPyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45913 { (char *)"wxPyApp_GetAssertMode", (PyCFunction
) _wrap_wxPyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45914 { (char *)"wxPyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_wxPyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"wxPyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_wxPyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45916 { (char *)"wxPyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_wxPyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"wxPyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_wxPyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45918 { (char *)"wxPyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_wxPyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"wxPyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_wxPyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45920 { (char *)"wxPyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_wxPyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"wxPyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_wxPyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45922 { (char *)"wxPyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_wxPyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45923 { (char *)"wxPyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_wxPyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"wxPyApp__BootstrapApp", (PyCFunction
) _wrap_wxPyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45925 { (char *)"wxPyApp_GetComCtl32Version", (PyCFunction
) _wrap_wxPyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45926 { (char *)"wxPyApp_swigregister", wxPyApp_swigregister
, METH_VARARGS
, NULL
},
45927 { (char *)"wxExit", (PyCFunction
) _wrap_wxExit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"wxYieldIfNeeded", (PyCFunction
) _wrap_wxYieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45931 { (char *)"wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"wxApp_CleanUp", (PyCFunction
) _wrap_wxApp_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"wxSetDefaultPyEncoding", (PyCFunction
) _wrap_wxSetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45936 { (char *)"wxGetDefaultPyEncoding", (PyCFunction
) _wrap_wxGetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"new_wxEventLoop", (PyCFunction
) _wrap_new_wxEventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"delete_wxEventLoop", (PyCFunction
) _wrap_delete_wxEventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"wxEventLoop_Run", (PyCFunction
) _wrap_wxEventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"wxEventLoop_Exit", (PyCFunction
) _wrap_wxEventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45941 { (char *)"wxEventLoop_Pending", (PyCFunction
) _wrap_wxEventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"wxEventLoop_Dispatch", (PyCFunction
) _wrap_wxEventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"wxEventLoop_IsRunning", (PyCFunction
) _wrap_wxEventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"wxEventLoop_GetActive", (PyCFunction
) _wrap_wxEventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"wxEventLoop_SetActive", (PyCFunction
) _wrap_wxEventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"wxEventLoop_swigregister", wxEventLoop_swigregister
, METH_VARARGS
, NULL
},
45947 { (char *)"new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45948 { (char *)"delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"wxAcceleratorEntry_swigregister", wxAcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
45954 { (char *)"new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"wxAcceleratorTable_Ok", (PyCFunction
) _wrap_wxAcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"wxAcceleratorTable_swigregister", wxAcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
45958 { (char *)"wxGetAccelFromString", (PyCFunction
) _wrap_wxGetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"new_wxVisualAttributes", (PyCFunction
) _wrap_new_wxVisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"delete_wxVisualAttributes", (PyCFunction
) _wrap_delete_wxVisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"wxVisualAttributes_font_set", (PyCFunction
) _wrap_wxVisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"wxVisualAttributes_font_get", (PyCFunction
) _wrap_wxVisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"wxVisualAttributes_colFg_set", (PyCFunction
) _wrap_wxVisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"wxVisualAttributes_colFg_get", (PyCFunction
) _wrap_wxVisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"wxVisualAttributes_colBg_set", (PyCFunction
) _wrap_wxVisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"wxVisualAttributes_colBg_get", (PyCFunction
) _wrap_wxVisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"wxVisualAttributes_swigregister", wxVisualAttributes_swigregister
, METH_VARARGS
, NULL
},
45968 { (char *)"new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"wxWindow_Create", (PyCFunction
) _wrap_wxWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"wxWindow_IsBeingDeleted", (PyCFunction
) _wrap_wxWindow_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45979 { (char *)"wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"wxWindow_SetWindowVariant", (PyCFunction
) _wrap_wxWindow_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"wxWindow_GetWindowVariant", (PyCFunction
) _wrap_wxWindow_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"wxWindow_NewControlId", (PyCFunction
) _wrap_wxWindow_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45986 { (char *)"wxWindow_NextControlId", (PyCFunction
) _wrap_wxWindow_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"wxWindow_PrevControlId", (PyCFunction
) _wrap_wxWindow_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45988 { (char *)"wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45990 { (char *)"wxWindow_SetRect", (PyCFunction
) _wrap_wxWindow_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"wxWindow_SetSizeWH", (PyCFunction
) _wrap_wxWindow_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45994 { (char *)"wxWindow_SetBestFittingSize", (PyCFunction
) _wrap_wxWindow_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"wxWindow_SetClientRect", (PyCFunction
) _wrap_wxWindow_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46003 { (char *)"wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"wxWindow_GetClientAreaOrigin", (PyCFunction
) _wrap_wxWindow_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"wxWindow_GetClientRect", (PyCFunction
) _wrap_wxWindow_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"wxWindow_GetBestSizeTuple", (PyCFunction
) _wrap_wxWindow_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"wxWindow_InvalidateBestSize", (PyCFunction
) _wrap_wxWindow_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"wxWindow_GetBestFittingSize", (PyCFunction
) _wrap_wxWindow_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"wxWindow_GetAdjustedBestSize", (PyCFunction
) _wrap_wxWindow_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"wxWindow_CenterOnScreen", (PyCFunction
) _wrap_wxWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"wxWindow_FitInside", (PyCFunction
) _wrap_wxWindow_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"wxWindow_SetSizeHintsSz", (PyCFunction
) _wrap_wxWindow_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"wxWindow_SetVirtualSizeHints", (PyCFunction
) _wrap_wxWindow_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"wxWindow_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_wxWindow_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"wxWindow_GetMaxSize", (PyCFunction
) _wrap_wxWindow_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"wxWindow_GetMinSize", (PyCFunction
) _wrap_wxWindow_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"wxWindow_SetMinSize", (PyCFunction
) _wrap_wxWindow_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"wxWindow_SetMaxSize", (PyCFunction
) _wrap_wxWindow_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"wxWindow_GetMinWidth", (PyCFunction
) _wrap_wxWindow_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"wxWindow_GetMinHeight", (PyCFunction
) _wrap_wxWindow_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46029 { (char *)"wxWindow_GetMaxWidth", (PyCFunction
) _wrap_wxWindow_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"wxWindow_GetMaxHeight", (PyCFunction
) _wrap_wxWindow_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"wxWindow_SetVirtualSize", (PyCFunction
) _wrap_wxWindow_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"wxWindow_SetVirtualSizeWH", (PyCFunction
) _wrap_wxWindow_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"wxWindow_GetVirtualSize", (PyCFunction
) _wrap_wxWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"wxWindow_GetVirtualSizeTuple", (PyCFunction
) _wrap_wxWindow_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"wxWindow_GetBestVirtualSize", (PyCFunction
) _wrap_wxWindow_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"wxWindow_Disable", (PyCFunction
) _wrap_wxWindow_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46040 { (char *)"wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"wxWindow_SetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"wxWindow_HasFlag", (PyCFunction
) _wrap_wxWindow_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"wxWindow_SetExtraStyle", (PyCFunction
) _wrap_wxWindow_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"wxWindow_GetExtraStyle", (PyCFunction
) _wrap_wxWindow_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"wxWindow_SetThemeEnabled", (PyCFunction
) _wrap_wxWindow_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"wxWindow_GetThemeEnabled", (PyCFunction
) _wrap_wxWindow_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"wxWindow_SetFocusFromKbd", (PyCFunction
) _wrap_wxWindow_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"wxWindow_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_wxWindow_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"wxWindow_GetDefaultItem", (PyCFunction
) _wrap_wxWindow_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"wxWindow_SetDefaultItem", (PyCFunction
) _wrap_wxWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"wxWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_wxWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"wxWindow_Navigate", (PyCFunction
) _wrap_wxWindow_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"wxWindow_MoveAfterInTabOrder", (PyCFunction
) _wrap_wxWindow_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"wxWindow_MoveBeforeInTabOrder", (PyCFunction
) _wrap_wxWindow_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"wxWindow_AddChild", (PyCFunction
) _wrap_wxWindow_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"wxWindow_RemoveEventHandler", (PyCFunction
) _wrap_wxWindow_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"wxWindow_GetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"wxWindow_RegisterHotKey", (PyCFunction
) _wrap_wxWindow_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"wxWindow_UnregisterHotKey", (PyCFunction
) _wrap_wxWindow_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46087 { (char *)"wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46090 { (char *)"wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"wxWindow_GetCapture", (PyCFunction
) _wrap_wxWindow_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"wxWindow_HasCapture", (PyCFunction
) _wrap_wxWindow_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"wxWindow_RefreshRect", (PyCFunction
) _wrap_wxWindow_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"wxWindow_Update", (PyCFunction
) _wrap_wxWindow_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"wxWindow_ClearBackground", (PyCFunction
) _wrap_wxWindow_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"wxWindow_Freeze", (PyCFunction
) _wrap_wxWindow_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"wxWindow_Thaw", (PyCFunction
) _wrap_wxWindow_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"wxWindow_PrepareDC", (PyCFunction
) _wrap_wxWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"wxWindow_GetUpdateClientRect", (PyCFunction
) _wrap_wxWindow_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46108 { (char *)"wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"wxWindow_GetDefaultAttributes", (PyCFunction
) _wrap_wxWindow_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"wxWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_wxWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"wxWindow_SetOwnBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46114 { (char *)"wxWindow_SetOwnForegroundColour", (PyCFunction
) _wrap_wxWindow_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46116 { (char *)"wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46117 { (char *)"wxWindow_InheritsBackgroundColour", (PyCFunction
) _wrap_wxWindow_InheritsBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"wxWindow_UseBgCol", (PyCFunction
) _wrap_wxWindow_UseBgCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"wxWindow_SetBackgroundStyle", (PyCFunction
) _wrap_wxWindow_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"wxWindow_GetBackgroundStyle", (PyCFunction
) _wrap_wxWindow_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"wxWindow_HasTransparentBackground", (PyCFunction
) _wrap_wxWindow_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"wxWindow_GetCursor", (PyCFunction
) _wrap_wxWindow_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"wxWindow_SetOwnFont", (PyCFunction
) _wrap_wxWindow_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"wxWindow_SetCaret", (PyCFunction
) _wrap_wxWindow_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46128 { (char *)"wxWindow_GetCaret", (PyCFunction
) _wrap_wxWindow_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46129 { (char *)"wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46131 { (char *)"wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46133 { (char *)"wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46134 { (char *)"wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46135 { (char *)"wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46136 { (char *)"wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46137 { (char *)"wxWindow_HitTestXY", (PyCFunction
) _wrap_wxWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46138 { (char *)"wxWindow_HitTest", (PyCFunction
) _wrap_wxWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"wxWindow_GetBorder", _wrap_wxWindow_GetBorder
, METH_VARARGS
, NULL
},
46140 { (char *)"wxWindow_UpdateWindowUI", (PyCFunction
) _wrap_wxWindow_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46141 { (char *)"wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"wxWindow_AssociateHandle", (PyCFunction
) _wrap_wxWindow_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"wxWindow_DissociateHandle", (PyCFunction
) _wrap_wxWindow_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"wxWindow_HasScrollbar", (PyCFunction
) _wrap_wxWindow_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46148 { (char *)"wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46150 { (char *)"wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46151 { (char *)"wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"wxWindow_ScrollLines", (PyCFunction
) _wrap_wxWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"wxWindow_ScrollPages", (PyCFunction
) _wrap_wxWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"wxWindow_LineUp", (PyCFunction
) _wrap_wxWindow_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"wxWindow_LineDown", (PyCFunction
) _wrap_wxWindow_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"wxWindow_PageUp", (PyCFunction
) _wrap_wxWindow_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46158 { (char *)"wxWindow_PageDown", (PyCFunction
) _wrap_wxWindow_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"wxWindow_SetHelpText", (PyCFunction
) _wrap_wxWindow_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46160 { (char *)"wxWindow_SetHelpTextForId", (PyCFunction
) _wrap_wxWindow_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46161 { (char *)"wxWindow_GetHelpText", (PyCFunction
) _wrap_wxWindow_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46162 { (char *)"wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46164 { (char *)"wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46165 { (char *)"wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46166 { (char *)"wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46167 { (char *)"wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46168 { (char *)"wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46169 { (char *)"wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46171 { (char *)"wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46172 { (char *)"wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46173 { (char *)"wxWindow_SetSizerAndFit", (PyCFunction
) _wrap_wxWindow_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46174 { (char *)"wxWindow_GetSizer", (PyCFunction
) _wrap_wxWindow_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"wxWindow_SetContainingSizer", (PyCFunction
) _wrap_wxWindow_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"wxWindow_GetContainingSizer", (PyCFunction
) _wrap_wxWindow_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46177 { (char *)"wxWindow_InheritAttributes", (PyCFunction
) _wrap_wxWindow_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46178 { (char *)"wxWindow_ShouldInheritColours", (PyCFunction
) _wrap_wxWindow_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46179 { (char *)"wxWindow_swigregister", wxWindow_swigregister
, METH_VARARGS
, NULL
},
46180 { (char *)"wxFindWindowById", (PyCFunction
) _wrap_wxFindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46181 { (char *)"wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46182 { (char *)"wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46183 { (char *)"wxWindow_FromHWND", (PyCFunction
) _wrap_wxWindow_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46184 { (char *)"new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46185 { (char *)"wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46186 { (char *)"wxValidator_Validate", (PyCFunction
) _wrap_wxValidator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46187 { (char *)"wxValidator_TransferToWindow", (PyCFunction
) _wrap_wxValidator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46188 { (char *)"wxValidator_TransferFromWindow", (PyCFunction
) _wrap_wxValidator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46189 { (char *)"wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46190 { (char *)"wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46191 { (char *)"wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46192 { (char *)"wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46193 { (char *)"wxValidator_swigregister", wxValidator_swigregister
, METH_VARARGS
, NULL
},
46194 { (char *)"new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46195 { (char *)"wxPyValidator__setCallbackInfo", (PyCFunction
) _wrap_wxPyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46196 { (char *)"wxPyValidator_swigregister", wxPyValidator_swigregister
, METH_VARARGS
, NULL
},
46197 { (char *)"new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46198 { (char *)"wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46199 { (char *)"wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46200 { (char *)"wxMenu_AppendCheckItem", (PyCFunction
) _wrap_wxMenu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46201 { (char *)"wxMenu_AppendRadioItem", (PyCFunction
) _wrap_wxMenu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46203 { (char *)"wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46204 { (char *)"wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46205 { (char *)"wxMenu_InsertItem", (PyCFunction
) _wrap_wxMenu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46206 { (char *)"wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46207 { (char *)"wxMenu_InsertSeparator", (PyCFunction
) _wrap_wxMenu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46208 { (char *)"wxMenu_InsertCheckItem", (PyCFunction
) _wrap_wxMenu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46209 { (char *)"wxMenu_InsertRadioItem", (PyCFunction
) _wrap_wxMenu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46210 { (char *)"wxMenu_InsertMenu", (PyCFunction
) _wrap_wxMenu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46211 { (char *)"wxMenu_PrependItem", (PyCFunction
) _wrap_wxMenu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46212 { (char *)"wxMenu_Prepend", (PyCFunction
) _wrap_wxMenu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46213 { (char *)"wxMenu_PrependSeparator", (PyCFunction
) _wrap_wxMenu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46214 { (char *)"wxMenu_PrependCheckItem", (PyCFunction
) _wrap_wxMenu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46215 { (char *)"wxMenu_PrependRadioItem", (PyCFunction
) _wrap_wxMenu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46216 { (char *)"wxMenu_PrependMenu", (PyCFunction
) _wrap_wxMenu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46217 { (char *)"wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46218 { (char *)"wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46219 { (char *)"wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46220 { (char *)"wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46221 { (char *)"wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46222 { (char *)"wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46223 { (char *)"wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46224 { (char *)"wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46225 { (char *)"wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46226 { (char *)"wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46227 { (char *)"wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46228 { (char *)"wxMenu_FindItemByPosition", (PyCFunction
) _wrap_wxMenu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46229 { (char *)"wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46230 { (char *)"wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46231 { (char *)"wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46232 { (char *)"wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46233 { (char *)"wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46234 { (char *)"wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46235 { (char *)"wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46236 { (char *)"wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46237 { (char *)"wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46238 { (char *)"wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46239 { (char *)"wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46240 { (char *)"wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46241 { (char *)"wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46242 { (char *)"wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46243 { (char *)"wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46244 { (char *)"wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46245 { (char *)"wxMenu_GetMenuBar", (PyCFunction
) _wrap_wxMenu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46246 { (char *)"wxMenu_Attach", (PyCFunction
) _wrap_wxMenu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46247 { (char *)"wxMenu_Detach", (PyCFunction
) _wrap_wxMenu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46248 { (char *)"wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46249 { (char *)"wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46250 { (char *)"wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46251 { (char *)"wxMenu_swigregister", wxMenu_swigregister
, METH_VARARGS
, NULL
},
46252 { (char *)"new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46253 { (char *)"wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46254 { (char *)"wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46255 { (char *)"wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46256 { (char *)"wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46257 { (char *)"wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46258 { (char *)"wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46259 { (char *)"wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46260 { (char *)"wxMenuBar_IsEnabledTop", (PyCFunction
) _wrap_wxMenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46261 { (char *)"wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46262 { (char *)"wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46263 { (char *)"wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46264 { (char *)"wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46265 { (char *)"wxMenuBar_FindMenu", (PyCFunction
) _wrap_wxMenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46266 { (char *)"wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46267 { (char *)"wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46268 { (char *)"wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46269 { (char *)"wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46270 { (char *)"wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46271 { (char *)"wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46272 { (char *)"wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46273 { (char *)"wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46274 { (char *)"wxMenuBar_GetFrame", (PyCFunction
) _wrap_wxMenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46275 { (char *)"wxMenuBar_IsAttached", (PyCFunction
) _wrap_wxMenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46276 { (char *)"wxMenuBar_Attach", (PyCFunction
) _wrap_wxMenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46277 { (char *)"wxMenuBar_Detach", (PyCFunction
) _wrap_wxMenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46278 { (char *)"wxMenuBar_swigregister", wxMenuBar_swigregister
, METH_VARARGS
, NULL
},
46279 { (char *)"new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46280 { (char *)"wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46281 { (char *)"wxMenuItem_SetMenu", (PyCFunction
) _wrap_wxMenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46282 { (char *)"wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46283 { (char *)"wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46284 { (char *)"wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46285 { (char *)"wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46286 { (char *)"wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46287 { (char *)"wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46288 { (char *)"wxMenuItem_GetLabelFromText", (PyCFunction
) _wrap_wxMenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46289 { (char *)"wxMenuItem_GetKind", (PyCFunction
) _wrap_wxMenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46290 { (char *)"wxMenuItem_SetKind", (PyCFunction
) _wrap_wxMenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46291 { (char *)"wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46292 { (char *)"wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46293 { (char *)"wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46294 { (char *)"wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46295 { (char *)"wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46296 { (char *)"wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46297 { (char *)"wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46298 { (char *)"wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46299 { (char *)"wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46300 { (char *)"wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46301 { (char *)"wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46302 { (char *)"wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46303 { (char *)"wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46304 { (char *)"wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46305 { (char *)"wxMenuItem_SetFont", (PyCFunction
) _wrap_wxMenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46306 { (char *)"wxMenuItem_GetFont", (PyCFunction
) _wrap_wxMenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46307 { (char *)"wxMenuItem_SetTextColour", (PyCFunction
) _wrap_wxMenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46308 { (char *)"wxMenuItem_GetTextColour", (PyCFunction
) _wrap_wxMenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46309 { (char *)"wxMenuItem_SetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46310 { (char *)"wxMenuItem_GetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46311 { (char *)"wxMenuItem_SetBitmaps", (PyCFunction
) _wrap_wxMenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46312 { (char *)"wxMenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_wxMenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46313 { (char *)"wxMenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_wxMenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46314 { (char *)"wxMenuItem_SetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46315 { (char *)"wxMenuItem_GetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46316 { (char *)"wxMenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_wxMenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46317 { (char *)"wxMenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_wxMenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46318 { (char *)"wxMenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_wxMenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46319 { (char *)"wxMenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_wxMenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46320 { (char *)"wxMenuItem_SetBitmap", (PyCFunction
) _wrap_wxMenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46321 { (char *)"wxMenuItem_GetBitmap", (PyCFunction
) _wrap_wxMenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46322 { (char *)"wxMenuItem_swigregister", wxMenuItem_swigregister
, METH_VARARGS
, NULL
},
46323 { (char *)"new_wxControl", (PyCFunction
) _wrap_new_wxControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46324 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46325 { (char *)"wxControl_Create", (PyCFunction
) _wrap_wxControl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46326 { (char *)"wxControl_Command", (PyCFunction
) _wrap_wxControl_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46327 { (char *)"wxControl_GetLabel", (PyCFunction
) _wrap_wxControl_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46328 { (char *)"wxControl_SetLabel", (PyCFunction
) _wrap_wxControl_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46329 { (char *)"wxControl_GetClassDefaultAttributes", (PyCFunction
) _wrap_wxControl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46330 { (char *)"wxControl_swigregister", wxControl_swigregister
, METH_VARARGS
, NULL
},
46331 { (char *)"wxItemContainer_Append", (PyCFunction
) _wrap_wxItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46332 { (char *)"wxItemContainer_AppendItems", (PyCFunction
) _wrap_wxItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46333 { (char *)"wxItemContainer_Insert", (PyCFunction
) _wrap_wxItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46334 { (char *)"wxItemContainer_Clear", (PyCFunction
) _wrap_wxItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46335 { (char *)"wxItemContainer_Delete", (PyCFunction
) _wrap_wxItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46336 { (char *)"wxItemContainer_GetClientData", (PyCFunction
) _wrap_wxItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46337 { (char *)"wxItemContainer_SetClientData", (PyCFunction
) _wrap_wxItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46338 { (char *)"wxItemContainer_GetCount", (PyCFunction
) _wrap_wxItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46339 { (char *)"wxItemContainer_IsEmpty", (PyCFunction
) _wrap_wxItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46340 { (char *)"wxItemContainer_GetString", (PyCFunction
) _wrap_wxItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46341 { (char *)"wxItemContainer_GetStrings", (PyCFunction
) _wrap_wxItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46342 { (char *)"wxItemContainer_SetString", (PyCFunction
) _wrap_wxItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46343 { (char *)"wxItemContainer_FindString", (PyCFunction
) _wrap_wxItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46344 { (char *)"wxItemContainer_SetSelection", (PyCFunction
) _wrap_wxItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46345 { (char *)"wxItemContainer_GetSelection", (PyCFunction
) _wrap_wxItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46346 { (char *)"wxItemContainer_SetStringSelection", (PyCFunction
) _wrap_wxItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46347 { (char *)"wxItemContainer_GetStringSelection", (PyCFunction
) _wrap_wxItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46348 { (char *)"wxItemContainer_Select", (PyCFunction
) _wrap_wxItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"wxItemContainer_swigregister", wxItemContainer_swigregister
, METH_VARARGS
, NULL
},
46350 { (char *)"wxControlWithItems_swigregister", wxControlWithItems_swigregister
, METH_VARARGS
, NULL
},
46351 { (char *)"new_wxSizerItem", (PyCFunction
) _wrap_new_wxSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46352 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46353 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46354 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46355 { (char *)"wxSizerItem_DeleteWindows", (PyCFunction
) _wrap_wxSizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46356 { (char *)"wxSizerItem_DetachSizer", (PyCFunction
) _wrap_wxSizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46357 { (char *)"wxSizerItem_GetSize", (PyCFunction
) _wrap_wxSizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46358 { (char *)"wxSizerItem_CalcMin", (PyCFunction
) _wrap_wxSizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46359 { (char *)"wxSizerItem_SetDimension", (PyCFunction
) _wrap_wxSizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46360 { (char *)"wxSizerItem_GetMinSize", (PyCFunction
) _wrap_wxSizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46361 { (char *)"wxSizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_wxSizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46362 { (char *)"wxSizerItem_SetInitSize", (PyCFunction
) _wrap_wxSizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46363 { (char *)"wxSizerItem_SetRatioWH", (PyCFunction
) _wrap_wxSizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46364 { (char *)"wxSizerItem_SetRatioSize", (PyCFunction
) _wrap_wxSizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46365 { (char *)"wxSizerItem_SetRatio", (PyCFunction
) _wrap_wxSizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46366 { (char *)"wxSizerItem_GetRatio", (PyCFunction
) _wrap_wxSizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46367 { (char *)"wxSizerItem_GetRect", (PyCFunction
) _wrap_wxSizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46368 { (char *)"wxSizerItem_IsWindow", (PyCFunction
) _wrap_wxSizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46369 { (char *)"wxSizerItem_IsSizer", (PyCFunction
) _wrap_wxSizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46370 { (char *)"wxSizerItem_IsSpacer", (PyCFunction
) _wrap_wxSizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46371 { (char *)"wxSizerItem_SetProportion", (PyCFunction
) _wrap_wxSizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46372 { (char *)"wxSizerItem_GetProportion", (PyCFunction
) _wrap_wxSizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46373 { (char *)"wxSizerItem_SetFlag", (PyCFunction
) _wrap_wxSizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46374 { (char *)"wxSizerItem_GetFlag", (PyCFunction
) _wrap_wxSizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46375 { (char *)"wxSizerItem_SetBorder", (PyCFunction
) _wrap_wxSizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46376 { (char *)"wxSizerItem_GetBorder", (PyCFunction
) _wrap_wxSizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46377 { (char *)"wxSizerItem_GetWindow", (PyCFunction
) _wrap_wxSizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46378 { (char *)"wxSizerItem_SetWindow", (PyCFunction
) _wrap_wxSizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46379 { (char *)"wxSizerItem_GetSizer", (PyCFunction
) _wrap_wxSizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46380 { (char *)"wxSizerItem_SetSizer", (PyCFunction
) _wrap_wxSizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46381 { (char *)"wxSizerItem_GetSpacer", (PyCFunction
) _wrap_wxSizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46382 { (char *)"wxSizerItem_SetSpacer", (PyCFunction
) _wrap_wxSizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46383 { (char *)"wxSizerItem_Show", (PyCFunction
) _wrap_wxSizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46384 { (char *)"wxSizerItem_IsShown", (PyCFunction
) _wrap_wxSizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46385 { (char *)"wxSizerItem_GetPosition", (PyCFunction
) _wrap_wxSizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46386 { (char *)"wxSizerItem_GetUserData", (PyCFunction
) _wrap_wxSizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46387 { (char *)"wxSizerItem_swigregister", wxSizerItem_swigregister
, METH_VARARGS
, NULL
},
46388 { (char *)"wxSizer__setOORInfo", (PyCFunction
) _wrap_wxSizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46389 { (char *)"wxSizer_Add", (PyCFunction
) _wrap_wxSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46390 { (char *)"wxSizer_Insert", (PyCFunction
) _wrap_wxSizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46391 { (char *)"wxSizer_Prepend", (PyCFunction
) _wrap_wxSizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46392 { (char *)"wxSizer_Remove", (PyCFunction
) _wrap_wxSizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46393 { (char *)"wxSizer_Detach", (PyCFunction
) _wrap_wxSizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46394 { (char *)"wxSizer_GetItem", (PyCFunction
) _wrap_wxSizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46395 { (char *)"wxSizer__SetItemMinSize", (PyCFunction
) _wrap_wxSizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46396 { (char *)"wxSizer_AddItem", (PyCFunction
) _wrap_wxSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46397 { (char *)"wxSizer_InsertItem", (PyCFunction
) _wrap_wxSizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46398 { (char *)"wxSizer_PrependItem", (PyCFunction
) _wrap_wxSizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46399 { (char *)"wxSizer_SetDimension", (PyCFunction
) _wrap_wxSizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46400 { (char *)"wxSizer_SetMinSize", (PyCFunction
) _wrap_wxSizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46401 { (char *)"wxSizer_GetSize", (PyCFunction
) _wrap_wxSizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46402 { (char *)"wxSizer_GetPosition", (PyCFunction
) _wrap_wxSizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46403 { (char *)"wxSizer_GetMinSize", (PyCFunction
) _wrap_wxSizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46404 { (char *)"wxSizer_RecalcSizes", (PyCFunction
) _wrap_wxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46405 { (char *)"wxSizer_CalcMin", (PyCFunction
) _wrap_wxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46406 { (char *)"wxSizer_Layout", (PyCFunction
) _wrap_wxSizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46407 { (char *)"wxSizer_Fit", (PyCFunction
) _wrap_wxSizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46408 { (char *)"wxSizer_FitInside", (PyCFunction
) _wrap_wxSizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46409 { (char *)"wxSizer_SetSizeHints", (PyCFunction
) _wrap_wxSizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46410 { (char *)"wxSizer_SetVirtualSizeHints", (PyCFunction
) _wrap_wxSizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46411 { (char *)"wxSizer_Clear", (PyCFunction
) _wrap_wxSizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46412 { (char *)"wxSizer_DeleteWindows", (PyCFunction
) _wrap_wxSizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46413 { (char *)"wxSizer_GetChildren", (PyCFunction
) _wrap_wxSizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46414 { (char *)"wxSizer_Show", (PyCFunction
) _wrap_wxSizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46415 { (char *)"wxSizer_IsShown", (PyCFunction
) _wrap_wxSizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46416 { (char *)"wxSizer_ShowItems", (PyCFunction
) _wrap_wxSizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46417 { (char *)"wxSizer_swigregister", wxSizer_swigregister
, METH_VARARGS
, NULL
},
46418 { (char *)"new_wxPySizer", (PyCFunction
) _wrap_new_wxPySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46419 { (char *)"wxPySizer__setCallbackInfo", (PyCFunction
) _wrap_wxPySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46420 { (char *)"wxPySizer_swigregister", wxPySizer_swigregister
, METH_VARARGS
, NULL
},
46421 { (char *)"new_wxBoxSizer", (PyCFunction
) _wrap_new_wxBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46422 { (char *)"wxBoxSizer_GetOrientation", (PyCFunction
) _wrap_wxBoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46423 { (char *)"wxBoxSizer_SetOrientation", (PyCFunction
) _wrap_wxBoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46424 { (char *)"wxBoxSizer_swigregister", wxBoxSizer_swigregister
, METH_VARARGS
, NULL
},
46425 { (char *)"new_wxStaticBoxSizer", (PyCFunction
) _wrap_new_wxStaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46426 { (char *)"wxStaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_wxStaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46427 { (char *)"wxStaticBoxSizer_swigregister", wxStaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
46428 { (char *)"new_wxGridSizer", (PyCFunction
) _wrap_new_wxGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46429 { (char *)"wxGridSizer_SetCols", (PyCFunction
) _wrap_wxGridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46430 { (char *)"wxGridSizer_SetRows", (PyCFunction
) _wrap_wxGridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46431 { (char *)"wxGridSizer_SetVGap", (PyCFunction
) _wrap_wxGridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46432 { (char *)"wxGridSizer_SetHGap", (PyCFunction
) _wrap_wxGridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46433 { (char *)"wxGridSizer_GetCols", (PyCFunction
) _wrap_wxGridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46434 { (char *)"wxGridSizer_GetRows", (PyCFunction
) _wrap_wxGridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46435 { (char *)"wxGridSizer_GetVGap", (PyCFunction
) _wrap_wxGridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46436 { (char *)"wxGridSizer_GetHGap", (PyCFunction
) _wrap_wxGridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46437 { (char *)"wxGridSizer_swigregister", wxGridSizer_swigregister
, METH_VARARGS
, NULL
},
46438 { (char *)"new_wxFlexGridSizer", (PyCFunction
) _wrap_new_wxFlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46439 { (char *)"wxFlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_wxFlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46440 { (char *)"wxFlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_wxFlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46441 { (char *)"wxFlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_wxFlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46442 { (char *)"wxFlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_wxFlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46443 { (char *)"wxFlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_wxFlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46444 { (char *)"wxFlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_wxFlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46445 { (char *)"wxFlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_wxFlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46446 { (char *)"wxFlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_wxFlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46447 { (char *)"wxFlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_wxFlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46448 { (char *)"wxFlexGridSizer_GetColWidths", (PyCFunction
) _wrap_wxFlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46449 { (char *)"wxFlexGridSizer_swigregister", wxFlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
46450 { (char *)"new_wxStdDialogButtonSizer", (PyCFunction
) _wrap_new_wxStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46451 { (char *)"wxStdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_wxStdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46452 { (char *)"wxStdDialogButtonSizer_Realize", (PyCFunction
) _wrap_wxStdDialogButtonSizer_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46453 { (char *)"wxStdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_wxStdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46454 { (char *)"wxStdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_wxStdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46455 { (char *)"wxStdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_wxStdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46456 { (char *)"wxStdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_wxStdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46457 { (char *)"wxStdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_wxStdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46458 { (char *)"wxStdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_wxStdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46459 { (char *)"wxStdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_wxStdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46460 { (char *)"wxStdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_wxStdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46461 { (char *)"wxStdDialogButtonSizer_swigregister", wxStdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
46462 { (char *)"new_wxGBPosition", (PyCFunction
) _wrap_new_wxGBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46463 { (char *)"wxGBPosition_GetRow", (PyCFunction
) _wrap_wxGBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46464 { (char *)"wxGBPosition_GetCol", (PyCFunction
) _wrap_wxGBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46465 { (char *)"wxGBPosition_SetRow", (PyCFunction
) _wrap_wxGBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46466 { (char *)"wxGBPosition_SetCol", (PyCFunction
) _wrap_wxGBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46467 { (char *)"wxGBPosition___eq__", (PyCFunction
) _wrap_wxGBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46468 { (char *)"wxGBPosition___ne__", (PyCFunction
) _wrap_wxGBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46469 { (char *)"wxGBPosition_Set", (PyCFunction
) _wrap_wxGBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46470 { (char *)"wxGBPosition_Get", (PyCFunction
) _wrap_wxGBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46471 { (char *)"wxGBPosition_swigregister", wxGBPosition_swigregister
, METH_VARARGS
, NULL
},
46472 { (char *)"new_wxGBSpan", (PyCFunction
) _wrap_new_wxGBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46473 { (char *)"wxGBSpan_GetRowspan", (PyCFunction
) _wrap_wxGBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46474 { (char *)"wxGBSpan_GetColspan", (PyCFunction
) _wrap_wxGBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46475 { (char *)"wxGBSpan_SetRowspan", (PyCFunction
) _wrap_wxGBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46476 { (char *)"wxGBSpan_SetColspan", (PyCFunction
) _wrap_wxGBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46477 { (char *)"wxGBSpan___eq__", (PyCFunction
) _wrap_wxGBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46478 { (char *)"wxGBSpan___ne__", (PyCFunction
) _wrap_wxGBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46479 { (char *)"wxGBSpan_Set", (PyCFunction
) _wrap_wxGBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46480 { (char *)"wxGBSpan_Get", (PyCFunction
) _wrap_wxGBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46481 { (char *)"wxGBSpan_swigregister", wxGBSpan_swigregister
, METH_VARARGS
, NULL
},
46482 { (char *)"new_wxGBSizerItem", (PyCFunction
) _wrap_new_wxGBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46483 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46484 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46485 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46486 { (char *)"wxGBSizerItem_GetPos", (PyCFunction
) _wrap_wxGBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46487 { (char *)"wxGBSizerItem_GetSpan", (PyCFunction
) _wrap_wxGBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46488 { (char *)"wxGBSizerItem_SetPos", (PyCFunction
) _wrap_wxGBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46489 { (char *)"wxGBSizerItem_SetSpan", (PyCFunction
) _wrap_wxGBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46490 { (char *)"wxGBSizerItem_Intersects", (PyCFunction
) _wrap_wxGBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46491 { (char *)"wxGBSizerItem_IntersectsPos", (PyCFunction
) _wrap_wxGBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46492 { (char *)"wxGBSizerItem_GetEndPos", (PyCFunction
) _wrap_wxGBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46493 { (char *)"wxGBSizerItem_GetGBSizer", (PyCFunction
) _wrap_wxGBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46494 { (char *)"wxGBSizerItem_SetGBSizer", (PyCFunction
) _wrap_wxGBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46495 { (char *)"wxGBSizerItem_swigregister", wxGBSizerItem_swigregister
, METH_VARARGS
, NULL
},
46496 { (char *)"new_wxGridBagSizer", (PyCFunction
) _wrap_new_wxGridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46497 { (char *)"wxGridBagSizer_Add", (PyCFunction
) _wrap_wxGridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46498 { (char *)"wxGridBagSizer_AddItem", (PyCFunction
) _wrap_wxGridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46499 { (char *)"wxGridBagSizer_GetCellSize", (PyCFunction
) _wrap_wxGridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46500 { (char *)"wxGridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_wxGridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46501 { (char *)"wxGridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_wxGridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46502 { (char *)"wxGridBagSizer_GetItemPosition", _wrap_wxGridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
46503 { (char *)"wxGridBagSizer_SetItemPosition", _wrap_wxGridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
46504 { (char *)"wxGridBagSizer_GetItemSpan", _wrap_wxGridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
46505 { (char *)"wxGridBagSizer_SetItemSpan", _wrap_wxGridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
46506 { (char *)"wxGridBagSizer_FindItem", _wrap_wxGridBagSizer_FindItem
, METH_VARARGS
, NULL
},
46507 { (char *)"wxGridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_wxGridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46508 { (char *)"wxGridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_wxGridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46509 { (char *)"wxGridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_wxGridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46510 { (char *)"wxGridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_wxGridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46511 { (char *)"wxGridBagSizer_swigregister", wxGridBagSizer_swigregister
, METH_VARARGS
, NULL
},
46512 { (char *)"wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46513 { (char *)"wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46514 { (char *)"wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46515 { (char *)"wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46516 { (char *)"wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46517 { (char *)"wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46518 { (char *)"wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46519 { (char *)"wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46520 { (char *)"wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46521 { (char *)"wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46522 { (char *)"wxIndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46523 { (char *)"wxIndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46524 { (char *)"wxIndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46525 { (char *)"wxIndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46526 { (char *)"wxIndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46527 { (char *)"wxIndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46528 { (char *)"wxIndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46529 { (char *)"wxIndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46530 { (char *)"wxIndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46531 { (char *)"wxIndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46532 { (char *)"wxIndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46533 { (char *)"wxIndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46534 { (char *)"wxIndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46535 { (char *)"wxIndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46536 { (char *)"wxIndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46537 { (char *)"wxIndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46538 { (char *)"wxIndividualLayoutConstraint_swigregister", wxIndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
46539 { (char *)"wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46540 { (char *)"wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46541 { (char *)"wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46542 { (char *)"wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46543 { (char *)"wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46544 { (char *)"wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46545 { (char *)"wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46546 { (char *)"wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46547 { (char *)"new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46548 { (char *)"wxLayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_wxLayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46549 { (char *)"wxLayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_wxLayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46550 { (char *)"wxLayoutConstraints_swigregister", wxLayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
46551 { NULL
, NULL
, 0, NULL
}
46555 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46557 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
46558 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
46560 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
46561 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
46563 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
46564 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46566 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
46567 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46569 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
46570 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46572 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
46573 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
46575 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
46576 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46578 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
46579 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
46581 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
46582 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46584 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
46585 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46587 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46588 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46590 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46591 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46593 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46594 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46596 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46597 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46599 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46600 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46602 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46603 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46605 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46606 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46608 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46609 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46611 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46612 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46614 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46615 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46617 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46618 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46620 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46621 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46623 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46624 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46626 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46627 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46629 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46630 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46632 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46633 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46635 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46636 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46638 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46639 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46641 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46642 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46644 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46645 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46647 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46648 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46650 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46651 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46653 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46654 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46656 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46657 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46659 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46660 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46662 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46663 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46665 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46666 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46668 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46669 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46671 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46672 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46674 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46675 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46677 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46678 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46680 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46681 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46683 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46684 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46686 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46687 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46689 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46690 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46692 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46693 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46695 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
46696 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46698 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
46699 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46701 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
46702 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46704 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46705 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46707 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46708 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46710 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46711 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46713 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46714 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46716 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46717 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46719 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46720 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46722 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46723 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46725 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46726 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46728 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46729 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46731 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46732 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46734 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
46735 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
46737 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
46738 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
46740 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
46741 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
46743 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
46744 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
46746 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
46747 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
46749 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
46750 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46752 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
46753 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
46755 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
46756 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
46758 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
46759 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46761 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
46762 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46764 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
46765 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
46767 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
46768 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
46770 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
46771 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
46773 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
46774 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
46776 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
46777 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
46779 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
46780 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
46782 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
46783 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
46785 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
46786 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
46788 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46789 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
46791 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46792 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
46794 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46795 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
46797 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46798 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46800 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46801 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46803 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46804 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46806 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46807 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46809 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46810 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46812 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46813 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46815 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46816 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46818 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46819 return (void *)((wxObject
*) ((wxSizer
*) x
));
46821 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46822 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46824 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46825 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46827 static void *_p_wxEventTo_p_wxObject(void *x
) {
46828 return (void *)((wxObject
*) ((wxEvent
*) x
));
46830 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46831 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46833 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46834 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46836 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46837 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46839 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46840 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46842 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46843 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46845 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46846 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46848 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46849 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46851 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46852 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46854 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46855 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46857 static void *_p_wxControlTo_p_wxObject(void *x
) {
46858 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46860 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46861 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46863 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46864 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46866 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46867 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46869 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46870 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46872 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46873 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46875 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46876 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46878 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46879 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46881 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46882 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46884 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46885 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46887 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46888 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46890 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46891 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46893 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46894 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46896 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46897 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46899 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
46900 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
46902 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
46903 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
46905 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
46906 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
46908 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
46909 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
46911 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
46912 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
46914 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
46915 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
46917 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
46918 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
46920 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
46921 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
46923 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
46924 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
46926 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
46927 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46929 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
46930 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46932 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
46933 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
46935 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
46936 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
46938 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
46939 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
46941 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
46942 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
46944 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
46945 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
46947 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
46948 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46950 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
46951 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
46953 static void *_p_wxImageTo_p_wxObject(void *x
) {
46954 return (void *)((wxObject
*) ((wxImage
*) x
));
46956 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
46957 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
46959 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
46960 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46962 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
46963 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46965 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
46966 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
46968 static void *_p_wxWindowTo_p_wxObject(void *x
) {
46969 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
46971 static void *_p_wxMenuTo_p_wxObject(void *x
) {
46972 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
46974 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
46975 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
46977 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
46978 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
46980 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
46981 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46983 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
46984 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
46986 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
46987 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
46989 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
46990 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
46992 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
46993 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
46995 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
46996 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
46998 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
46999 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47001 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47002 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47004 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47005 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47007 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47008 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47010 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47011 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47013 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47014 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47016 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47017 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47019 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47020 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47022 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47023 return (void *)((wxWindow
*) ((wxControl
*) x
));
47025 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47026 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47028 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47029 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47031 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47032 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47034 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47035 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47037 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47038 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47040 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47041 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47043 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47044 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47046 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47047 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47049 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47050 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47052 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47053 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47055 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47056 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47058 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47059 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47061 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}};
47062 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}};
47063 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}};
47064 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}};
47065 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}};
47066 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}};
47067 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}};
47068 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}};
47069 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}};
47070 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}};
47071 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}};
47072 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}};
47073 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}};
47074 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}};
47075 static swig_type_info _swigt__p_buffer
[] = {{"_p_buffer", 0, "buffer *", 0, 0, 0, 0},{"_p_buffer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47076 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}};
47077 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}};
47078 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}};
47079 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}};
47080 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}};
47081 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}};
47082 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}};
47083 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}};
47084 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}};
47085 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}};
47086 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}};
47087 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}};
47088 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}};
47089 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}};
47090 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}};
47091 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}};
47092 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}};
47093 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}};
47094 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}};
47095 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}};
47096 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}};
47097 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}};
47098 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}};
47099 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}};
47100 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}};
47101 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}};
47102 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}};
47103 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}};
47104 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}};
47105 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}};
47106 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}};
47107 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}};
47108 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}};
47109 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}};
47110 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}};
47111 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}};
47112 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}};
47113 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}};
47114 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}};
47115 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}};
47116 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}};
47117 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}};
47118 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}};
47119 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}};
47120 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}};
47121 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}};
47122 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}};
47123 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}};
47124 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}};
47125 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}};
47126 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}};
47127 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}};
47128 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}};
47129 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}};
47130 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}};
47131 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}};
47132 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}};
47133 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}};
47134 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}};
47135 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}};
47136 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}};
47137 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}};
47138 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}};
47139 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}};
47140 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}};
47141 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}};
47142 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}};
47143 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}};
47144 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}};
47145 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}};
47146 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}};
47147 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}};
47148 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}};
47149 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}};
47150 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}};
47151 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}};
47152 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}};
47153 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}};
47154 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}};
47155 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}};
47156 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}};
47157 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}};
47158 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}};
47159 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}};
47160 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}};
47161 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}};
47162 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}};
47163 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}};
47164 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}};
47165 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}};
47166 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}};
47167 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}};
47168 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}};
47169 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}};
47170 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}};
47171 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}};
47172 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}};
47173 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47174 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}};
47175 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}};
47176 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}};
47177 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}};
47178 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}};
47179 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}};
47180 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}};
47181 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}};
47182 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}};
47183 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}};
47184 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}};
47185 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}};
47186 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}};
47187 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}};
47188 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}};
47190 static swig_type_info
*swig_types_initial
[] = {
47191 _swigt__p_wxLayoutConstraints
,
47192 _swigt__p_wxRealPoint
,
47193 _swigt__p_wxSizerItem
,
47194 _swigt__p_wxGBSizerItem
,
47195 _swigt__p_wxScrollEvent
,
47196 _swigt__p_wxEventLoop
,
47197 _swigt__p_wxIndividualLayoutConstraint
,
47199 _swigt__p_wxBoxSizer
,
47200 _swigt__p_wxStaticBoxSizer
,
47201 _swigt__p_wxGridBagSizer
,
47202 _swigt__p_wxAcceleratorEntry
,
47203 _swigt__p_wxUpdateUIEvent
,
47207 _swigt__p_wxGridSizer
,
47208 _swigt__p_wxFlexGridSizer
,
47209 _swigt__p_wxInitDialogEvent
,
47210 _swigt__p_wxItemContainer
,
47211 _swigt__p_wxNcPaintEvent
,
47212 _swigt__p_wxPaintEvent
,
47213 _swigt__p_wxSysColourChangedEvent
,
47214 _swigt__p_wxMouseCaptureChangedEvent
,
47215 _swigt__p_wxDisplayChangedEvent
,
47216 _swigt__p_wxPaletteChangedEvent
,
47217 _swigt__p_wxControl
,
47219 _swigt__p_wxMenuBarBase
,
47220 _swigt__p_wxSetCursorEvent
,
47221 _swigt__p_wxFSFile
,
47224 _swigt__std__ptrdiff_t
,
47225 _swigt__p_wxRegion
,
47226 _swigt__p_wxPoint2D
,
47230 _swigt__p_wxPySizer
,
47231 _swigt__p_wxVisualAttributes
,
47232 _swigt__p_wxNotifyEvent
,
47233 _swigt__p_wxPyEvent
,
47234 _swigt__p_wxPropagationDisabler
,
47235 _swigt__p_form_ops_t
,
47236 _swigt__p_wxAppTraits
,
47237 _swigt__p_wxArrayString
,
47238 _swigt__p_wxShowEvent
,
47239 _swigt__p_wxToolTip
,
47240 _swigt__p_wxMoveEvent
,
47241 _swigt__p_wxSizeEvent
,
47242 _swigt__p_wxActivateEvent
,
47243 _swigt__p_wxIconizeEvent
,
47244 _swigt__p_wxMaximizeEvent
,
47245 _swigt__p_wxQueryNewPaletteEvent
,
47246 _swigt__p_wxWindowCreateEvent
,
47247 _swigt__p_wxIdleEvent
,
47248 _swigt__p_wxDateEvent
,
47249 _swigt__p_wxMenuItem
,
47250 _swigt__p_wxStaticBox
,
47252 _swigt__p_wxDuplexMode
,
47253 _swigt__p_wxTIFFHandler
,
47254 _swigt__p_wxXPMHandler
,
47255 _swigt__p_wxPNMHandler
,
47256 _swigt__p_wxJPEGHandler
,
47257 _swigt__p_wxPCXHandler
,
47258 _swigt__p_wxGIFHandler
,
47259 _swigt__p_wxPNGHandler
,
47260 _swigt__p_wxANIHandler
,
47261 _swigt__p_wxMemoryFSHandler
,
47262 _swigt__p_wxZipFSHandler
,
47263 _swigt__p_wxInternetFSHandler
,
47264 _swigt__p_wxPyFileSystemHandler
,
47265 _swigt__p_wxEvtHandler
,
47266 _swigt__p_wxCURHandler
,
47267 _swigt__p_wxICOHandler
,
47268 _swigt__p_wxBMPHandler
,
47269 _swigt__p_wxImageHandler
,
47270 _swigt__p_wxFileSystemHandler
,
47272 _swigt__p_wxButton
,
47273 _swigt__p_wxGBSpan
,
47274 _swigt__p_wxPropagateOnce
,
47275 _swigt__p_wxAcceleratorTable
,
47276 _swigt__p_wxStdDialogButtonSizer
,
47278 _swigt__p_wxGBPosition
,
47281 _swigt__p_wxScrollWinEvent
,
47282 _swigt__p_wxPaperSize
,
47283 _swigt__p_wxImageHistogram
,
47285 _swigt__p_wxCursor
,
47286 _swigt__p_wxObject
,
47287 _swigt__p_wxInputStream
,
47288 _swigt__p_wxOutputStream
,
47289 _swigt__p_wxPyInputStream
,
47290 _swigt__p_wxDateTime
,
47291 _swigt__p_wxKeyEvent
,
47292 _swigt__p_wxNavigationKeyEvent
,
47293 _swigt__p_wxWindowDestroyEvent
,
47294 _swigt__p_unsigned_long
,
47295 _swigt__p_wxWindow
,
47296 _swigt__p_wxMenuBar
,
47297 _swigt__p_wxFileSystem
,
47298 _swigt__p_wxBitmap
,
47299 _swigt__unsigned_int
,
47300 _swigt__p_unsigned_int
,
47301 _swigt__p_wxMenuEvent
,
47302 _swigt__p_wxContextMenuEvent
,
47303 _swigt__p_unsigned_char
,
47304 _swigt__p_wxEraseEvent
,
47305 _swigt__p_wxMouseEvent
,
47306 _swigt__p_wxCloseEvent
,
47308 _swigt__p_wxCommandEvent
,
47309 _swigt__p_wxPyCommandEvent
,
47310 _swigt__p_wxPyDropTarget
,
47311 _swigt__p_wxQuantize
,
47312 _swigt__p_wxFocusEvent
,
47313 _swigt__p_wxChildFocusEvent
,
47314 _swigt__p_wxDropFilesEvent
,
47315 _swigt__p_wxControlWithItems
,
47316 _swigt__p_wxColour
,
47317 _swigt__p_wxValidator
,
47318 _swigt__p_wxPyValidator
,
47323 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
47325 static swig_const_info swig_const_table
[] = {
47326 {0, 0, 0, 0.0, 0, 0}};
47337 /* Python-specific SWIG API */
47338 #define SWIG_newvarlink() SWIG_Python_newvarlink()
47339 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
47340 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
47342 /* -----------------------------------------------------------------------------
47343 * global variable support code.
47344 * ----------------------------------------------------------------------------- */
47346 typedef struct swig_globalvar
{
47347 char *name
; /* Name of global variable */
47348 PyObject
*(*get_attr
)(); /* Return the current value */
47349 int (*set_attr
)(PyObject
*); /* Set the value */
47350 struct swig_globalvar
*next
;
47353 typedef struct swig_varlinkobject
{
47355 swig_globalvar
*vars
;
47356 } swig_varlinkobject
;
47359 swig_varlink_repr(swig_varlinkobject
*v
) {
47361 return PyString_FromString("<Swig global variables>");
47365 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
47366 swig_globalvar
*var
;
47368 fprintf(fp
,"Swig global variables { ");
47369 for (var
= v
->vars
; var
; var
=var
->next
) {
47370 fprintf(fp
,"%s", var
->name
);
47371 if (var
->next
) fprintf(fp
,", ");
47373 fprintf(fp
," }\n");
47378 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
47379 swig_globalvar
*var
= v
->vars
;
47381 if (strcmp(var
->name
,n
) == 0) {
47382 return (*var
->get_attr
)();
47386 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47391 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
47392 swig_globalvar
*var
= v
->vars
;
47394 if (strcmp(var
->name
,n
) == 0) {
47395 return (*var
->set_attr
)(p
);
47399 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47403 static PyTypeObject varlinktype
= {
47404 PyObject_HEAD_INIT(0)
47405 0, /* Number of items in variable part (ob_size) */
47406 (char *)"swigvarlink", /* Type name (tp_name) */
47407 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
47408 0, /* Itemsize (tp_itemsize) */
47409 0, /* Deallocator (tp_dealloc) */
47410 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
47411 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
47412 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
47413 0, /* tp_compare */
47414 (reprfunc
) swig_varlink_repr
, /* tp_repr */
47415 0, /* tp_as_number */
47416 0, /* tp_as_sequence */
47417 0, /* tp_as_mapping */
47421 0, /* tp_getattro */
47422 0, /* tp_setattro */
47423 0, /* tp_as_buffer */
47426 #if PY_VERSION_HEX >= 0x02000000
47427 0, /* tp_traverse */
47430 #if PY_VERSION_HEX >= 0x02010000
47431 0, /* tp_richcompare */
47432 0, /* tp_weaklistoffset */
47434 #if PY_VERSION_HEX >= 0x02020000
47435 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
47437 #if PY_VERSION_HEX >= 0x02030000
47440 #ifdef COUNT_ALLOCS
47441 0,0,0,0 /* tp_alloc -> tp_next */
47445 /* Create a variable linking object for use later */
47447 SWIG_Python_newvarlink(void) {
47448 swig_varlinkobject
*result
= 0;
47449 result
= PyMem_NEW(swig_varlinkobject
,1);
47450 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
47451 result
->ob_type
= &varlinktype
;
47453 result
->ob_refcnt
= 0;
47454 Py_XINCREF((PyObject
*) result
);
47455 return ((PyObject
*) result
);
47459 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
47460 swig_varlinkobject
*v
;
47461 swig_globalvar
*gv
;
47462 v
= (swig_varlinkobject
*) p
;
47463 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
47464 gv
->name
= (char *) malloc(strlen(name
)+1);
47465 strcpy(gv
->name
,name
);
47466 gv
->get_attr
= get_attr
;
47467 gv
->set_attr
= set_attr
;
47468 gv
->next
= v
->vars
;
47472 /* -----------------------------------------------------------------------------
47473 * constants/methods manipulation
47474 * ----------------------------------------------------------------------------- */
47476 /* Install Constants */
47478 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
47481 for (i
= 0; constants
[i
].type
; i
++) {
47482 switch(constants
[i
].type
) {
47484 obj
= PyInt_FromLong(constants
[i
].lvalue
);
47486 case SWIG_PY_FLOAT
:
47487 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
47489 case SWIG_PY_STRING
:
47490 if (constants
[i
].pvalue
) {
47491 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
47493 Py_INCREF(Py_None
);
47497 case SWIG_PY_POINTER
:
47498 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
47500 case SWIG_PY_BINARY
:
47501 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
47508 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
47514 /* -----------------------------------------------------------------------------*/
47515 /* Fix SwigMethods to carry the callback ptrs when needed */
47516 /* -----------------------------------------------------------------------------*/
47519 SWIG_Python_FixMethods(PyMethodDef
*methods
,
47520 swig_const_info
*const_table
,
47521 swig_type_info
**types
,
47522 swig_type_info
**types_initial
) {
47524 for (i
= 0; methods
[i
].ml_name
; ++i
) {
47525 char *c
= methods
[i
].ml_doc
;
47526 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
47528 swig_const_info
*ci
= 0;
47529 char *name
= c
+ 10;
47530 for (j
= 0; const_table
[j
].type
; j
++) {
47531 if (strncmp(const_table
[j
].name
, name
,
47532 strlen(const_table
[j
].name
)) == 0) {
47533 ci
= &(const_table
[j
]);
47538 size_t shift
= (ci
->ptype
) - types
;
47539 swig_type_info
*ty
= types_initial
[shift
];
47540 size_t ldoc
= (c
- methods
[i
].ml_doc
);
47541 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
47542 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
47544 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
47545 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
47547 strncpy(buff
, "swig_ptr: ", 10);
47549 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
47550 methods
[i
].ml_doc
= ndoc
;
47556 /* -----------------------------------------------------------------------------*
47557 * Initialize type list
47558 * -----------------------------------------------------------------------------*/
47560 #if PY_MAJOR_VERSION < 2
47561 /* PyModule_AddObject function was introduced in Python 2.0. The following function
47562 is copied out of Python/modsupport.c in python version 2.3.4 */
47564 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
47567 if (!PyModule_Check(m
)) {
47568 PyErr_SetString(PyExc_TypeError
,
47569 "PyModule_AddObject() needs module as first arg");
47573 PyErr_SetString(PyExc_TypeError
,
47574 "PyModule_AddObject() needs non-NULL value");
47578 dict
= PyModule_GetDict(m
);
47579 if (dict
== NULL
) {
47580 /* Internal error -- modules must have a dict! */
47581 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
47582 PyModule_GetName(m
));
47585 if (PyDict_SetItemString(dict
, name
, o
))
47592 static swig_type_info
**
47593 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
47594 static PyMethodDef swig_empty_runtime_method_table
[] = {
47596 NULL
, NULL
, 0, NULL
47600 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
47601 swig_empty_runtime_method_table
);
47602 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
47603 if (pointer
&& module) {
47604 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
47606 return type_list_handle
;
47609 static swig_type_info
**
47610 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
47611 swig_type_info
**type_pointer
;
47613 /* first check if module already created */
47614 type_pointer
= SWIG_Python_GetTypeListHandle();
47615 if (type_pointer
) {
47616 return type_pointer
;
47618 /* create a new module and variable */
47619 return SWIG_Python_SetTypeListHandle(type_list_handle
);
47627 /* -----------------------------------------------------------------------------*
47628 * Partial Init method
47629 * -----------------------------------------------------------------------------*/
47631 #ifdef SWIG_LINK_RUNTIME
47635 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
47641 SWIGEXPORT(void) SWIG_init(void) {
47642 static PyObject
*SWIG_globals
= 0;
47643 static int typeinit
= 0;
47646 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
47648 /* Fix SwigMethods to carry the callback ptrs when needed */
47649 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
47651 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
47652 d
= PyModule_GetDict(m
);
47655 #ifdef SWIG_LINK_RUNTIME
47656 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
47658 # ifndef SWIG_STATIC_RUNTIME
47659 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
47662 for (i
= 0; swig_types_initial
[i
]; i
++) {
47663 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
47667 SWIG_InstallConstants(d
,swig_const_table
);
47670 #ifndef wxPyUSE_EXPORT
47671 // Make our API structure a CObject so other modules can import it
47672 // from this module.
47673 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
47674 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
47679 PyDict_SetItemString(d
,"wxNOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
47682 PyDict_SetItemString(d
,"wxVSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
47685 PyDict_SetItemString(d
,"wxHSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
47688 PyDict_SetItemString(d
,"wxCAPTION", SWIG_From_int((int)(wxCAPTION
)));
47691 PyDict_SetItemString(d
,"wxDOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
47694 PyDict_SetItemString(d
,"wxSUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
47697 PyDict_SetItemString(d
,"wxRAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
47700 PyDict_SetItemString(d
,"wxBORDER", SWIG_From_int((int)(wxBORDER
)));
47703 PyDict_SetItemString(d
,"wxSIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
47706 PyDict_SetItemString(d
,"wxSTATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
47709 PyDict_SetItemString(d
,"wxTRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
47712 PyDict_SetItemString(d
,"wxNO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
47715 PyDict_SetItemString(d
,"wxTAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
47718 PyDict_SetItemString(d
,"wxWANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
47721 PyDict_SetItemString(d
,"wxPOPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
47724 PyDict_SetItemString(d
,"wxCENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
47727 PyDict_SetItemString(d
,"wxCENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
47730 PyDict_SetItemString(d
,"wxCENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
47733 PyDict_SetItemString(d
,"wxCLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
47736 PyDict_SetItemString(d
,"wxCLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
47739 PyDict_SetItemString(d
,"wxALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
47742 PyDict_SetItemString(d
,"wxRETAINED", SWIG_From_int((int)(wxRETAINED
)));
47745 PyDict_SetItemString(d
,"wxBACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
47748 PyDict_SetItemString(d
,"wxCOLOURED", SWIG_From_int((int)(wxCOLOURED
)));
47751 PyDict_SetItemString(d
,"wxFIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
47754 PyDict_SetItemString(d
,"wxLB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
47757 PyDict_SetItemString(d
,"wxLB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
47760 PyDict_SetItemString(d
,"wxLB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
47763 PyDict_SetItemString(d
,"wxLB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
47766 PyDict_SetItemString(d
,"wxLB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
47769 PyDict_SetItemString(d
,"wxLB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
47772 PyDict_SetItemString(d
,"wxLB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
47775 PyDict_SetItemString(d
,"wxLB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
47778 PyDict_SetItemString(d
,"wxPROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
47781 PyDict_SetItemString(d
,"wxPASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
47784 PyDict_SetItemString(d
,"wxCB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
47787 PyDict_SetItemString(d
,"wxCB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
47790 PyDict_SetItemString(d
,"wxCB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
47793 PyDict_SetItemString(d
,"wxCB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
47796 PyDict_SetItemString(d
,"wxRA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
47799 PyDict_SetItemString(d
,"wxRA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
47802 PyDict_SetItemString(d
,"wxRA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
47805 PyDict_SetItemString(d
,"wxRA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
47808 PyDict_SetItemString(d
,"wxRA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
47811 PyDict_SetItemString(d
,"wxRB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
47814 PyDict_SetItemString(d
,"wxRB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
47817 PyDict_SetItemString(d
,"wxSB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
47820 PyDict_SetItemString(d
,"wxSB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
47823 PyDict_SetItemString(d
,"wxRB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
47826 PyDict_SetItemString(d
,"wxST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
47829 PyDict_SetItemString(d
,"wxST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
47832 PyDict_SetItemString(d
,"wxFLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
47835 PyDict_SetItemString(d
,"wxFLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
47838 PyDict_SetItemString(d
,"wxODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
47841 PyDict_SetItemString(d
,"wxWINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
47844 PyDict_SetItemString(d
,"wxTOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
47847 PyDict_SetItemString(d
,"wxTOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
47850 PyDict_SetItemString(d
,"wxTOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
47853 PyDict_SetItemString(d
,"wxTOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
47856 PyDict_SetItemString(d
,"wxOK", SWIG_From_int((int)(wxOK
)));
47859 PyDict_SetItemString(d
,"wxYES_NO", SWIG_From_int((int)(wxYES_NO
)));
47862 PyDict_SetItemString(d
,"wxCANCEL", SWIG_From_int((int)(wxCANCEL
)));
47865 PyDict_SetItemString(d
,"wxYES", SWIG_From_int((int)(wxYES
)));
47868 PyDict_SetItemString(d
,"wxNO", SWIG_From_int((int)(wxNO
)));
47871 PyDict_SetItemString(d
,"wxNO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
47874 PyDict_SetItemString(d
,"wxYES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
47877 PyDict_SetItemString(d
,"wxICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
47880 PyDict_SetItemString(d
,"wxICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
47883 PyDict_SetItemString(d
,"wxICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
47886 PyDict_SetItemString(d
,"wxICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
47889 PyDict_SetItemString(d
,"wxICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
47892 PyDict_SetItemString(d
,"wxICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
47895 PyDict_SetItemString(d
,"wxICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
47898 PyDict_SetItemString(d
,"wxICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
47901 PyDict_SetItemString(d
,"wxICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
47904 PyDict_SetItemString(d
,"wxFORWARD", SWIG_From_int((int)(wxFORWARD
)));
47907 PyDict_SetItemString(d
,"wxBACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
47910 PyDict_SetItemString(d
,"wxRESET", SWIG_From_int((int)(wxRESET
)));
47913 PyDict_SetItemString(d
,"wxHELP", SWIG_From_int((int)(wxHELP
)));
47916 PyDict_SetItemString(d
,"wxMORE", SWIG_From_int((int)(wxMORE
)));
47919 PyDict_SetItemString(d
,"wxSETUP", SWIG_From_int((int)(wxSETUP
)));
47922 PyDict_SetItemString(d
,"wxSIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
47925 PyDict_SetItemString(d
,"wxSIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
47928 PyDict_SetItemString(d
,"wxSIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
47931 PyDict_SetItemString(d
,"wxSIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
47934 PyDict_SetItemString(d
,"wxSIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
47937 PyDict_SetItemString(d
,"wxPORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
47940 PyDict_SetItemString(d
,"wxLANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
47943 PyDict_SetItemString(d
,"wxPRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
47946 PyDict_SetItemString(d
,"wxPRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
47949 PyDict_SetItemString(d
,"wxPRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
47952 PyDict_SetItemString(d
,"wxPRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
47955 PyDict_SetItemString(d
,"wxID_ANY", SWIG_From_int((int)(wxID_ANY
)));
47958 PyDict_SetItemString(d
,"wxID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
47961 PyDict_SetItemString(d
,"wxID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
47964 PyDict_SetItemString(d
,"wxID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
47967 PyDict_SetItemString(d
,"wxID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
47970 PyDict_SetItemString(d
,"wxID_NEW", SWIG_From_int((int)(wxID_NEW
)));
47973 PyDict_SetItemString(d
,"wxID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
47976 PyDict_SetItemString(d
,"wxID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
47979 PyDict_SetItemString(d
,"wxID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
47982 PyDict_SetItemString(d
,"wxID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
47985 PyDict_SetItemString(d
,"wxID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
47988 PyDict_SetItemString(d
,"wxID_REDO", SWIG_From_int((int)(wxID_REDO
)));
47991 PyDict_SetItemString(d
,"wxID_HELP", SWIG_From_int((int)(wxID_HELP
)));
47994 PyDict_SetItemString(d
,"wxID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
47997 PyDict_SetItemString(d
,"wxID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
48000 PyDict_SetItemString(d
,"wxID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
48003 PyDict_SetItemString(d
,"wxID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
48006 PyDict_SetItemString(d
,"wxID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
48009 PyDict_SetItemString(d
,"wxID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
48012 PyDict_SetItemString(d
,"wxID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
48015 PyDict_SetItemString(d
,"wxID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
48018 PyDict_SetItemString(d
,"wxID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
48021 PyDict_SetItemString(d
,"wxID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
48024 PyDict_SetItemString(d
,"wxID_CUT", SWIG_From_int((int)(wxID_CUT
)));
48027 PyDict_SetItemString(d
,"wxID_COPY", SWIG_From_int((int)(wxID_COPY
)));
48030 PyDict_SetItemString(d
,"wxID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
48033 PyDict_SetItemString(d
,"wxID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
48036 PyDict_SetItemString(d
,"wxID_FIND", SWIG_From_int((int)(wxID_FIND
)));
48039 PyDict_SetItemString(d
,"wxID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
48042 PyDict_SetItemString(d
,"wxID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
48045 PyDict_SetItemString(d
,"wxID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
48048 PyDict_SetItemString(d
,"wxID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
48051 PyDict_SetItemString(d
,"wxID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
48054 PyDict_SetItemString(d
,"wxID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
48057 PyDict_SetItemString(d
,"wxID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
48060 PyDict_SetItemString(d
,"wxID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
48063 PyDict_SetItemString(d
,"wxID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
48066 PyDict_SetItemString(d
,"wxID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
48069 PyDict_SetItemString(d
,"wxID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
48072 PyDict_SetItemString(d
,"wxID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
48075 PyDict_SetItemString(d
,"wxID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
48078 PyDict_SetItemString(d
,"wxID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
48081 PyDict_SetItemString(d
,"wxID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
48084 PyDict_SetItemString(d
,"wxID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
48087 PyDict_SetItemString(d
,"wxID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
48090 PyDict_SetItemString(d
,"wxID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
48093 PyDict_SetItemString(d
,"wxID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
48096 PyDict_SetItemString(d
,"wxID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
48099 PyDict_SetItemString(d
,"wxID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
48102 PyDict_SetItemString(d
,"wxID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
48105 PyDict_SetItemString(d
,"wxID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
48108 PyDict_SetItemString(d
,"wxID_OK", SWIG_From_int((int)(wxID_OK
)));
48111 PyDict_SetItemString(d
,"wxID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
48114 PyDict_SetItemString(d
,"wxID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
48117 PyDict_SetItemString(d
,"wxID_YES", SWIG_From_int((int)(wxID_YES
)));
48120 PyDict_SetItemString(d
,"wxID_NO", SWIG_From_int((int)(wxID_NO
)));
48123 PyDict_SetItemString(d
,"wxID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
48126 PyDict_SetItemString(d
,"wxID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
48129 PyDict_SetItemString(d
,"wxID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
48132 PyDict_SetItemString(d
,"wxID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
48135 PyDict_SetItemString(d
,"wxID_MORE", SWIG_From_int((int)(wxID_MORE
)));
48138 PyDict_SetItemString(d
,"wxID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
48141 PyDict_SetItemString(d
,"wxID_RESET", SWIG_From_int((int)(wxID_RESET
)));
48144 PyDict_SetItemString(d
,"wxID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
48147 PyDict_SetItemString(d
,"wxID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
48150 PyDict_SetItemString(d
,"wxID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
48153 PyDict_SetItemString(d
,"wxID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
48156 PyDict_SetItemString(d
,"wxID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
48159 PyDict_SetItemString(d
,"wxID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
48162 PyDict_SetItemString(d
,"wxID_ADD", SWIG_From_int((int)(wxID_ADD
)));
48165 PyDict_SetItemString(d
,"wxID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
48168 PyDict_SetItemString(d
,"wxID_UP", SWIG_From_int((int)(wxID_UP
)));
48171 PyDict_SetItemString(d
,"wxID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
48174 PyDict_SetItemString(d
,"wxID_HOME", SWIG_From_int((int)(wxID_HOME
)));
48177 PyDict_SetItemString(d
,"wxID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
48180 PyDict_SetItemString(d
,"wxID_STOP", SWIG_From_int((int)(wxID_STOP
)));
48183 PyDict_SetItemString(d
,"wxID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
48186 PyDict_SetItemString(d
,"wxID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
48189 PyDict_SetItemString(d
,"wxID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
48192 PyDict_SetItemString(d
,"wxID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
48195 PyDict_SetItemString(d
,"wxID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
48198 PyDict_SetItemString(d
,"wxID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
48201 PyDict_SetItemString(d
,"wxID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
48204 PyDict_SetItemString(d
,"wxID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
48207 PyDict_SetItemString(d
,"wxID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
48210 PyDict_SetItemString(d
,"wxID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
48213 PyDict_SetItemString(d
,"wxID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
48216 PyDict_SetItemString(d
,"wxID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
48219 PyDict_SetItemString(d
,"wxID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
48222 PyDict_SetItemString(d
,"wxID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
48225 PyDict_SetItemString(d
,"wxID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
48228 PyDict_SetItemString(d
,"wxID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
48231 PyDict_SetItemString(d
,"wxID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
48234 PyDict_SetItemString(d
,"wxOPEN", SWIG_From_int((int)(wxOPEN
)));
48237 PyDict_SetItemString(d
,"wxSAVE", SWIG_From_int((int)(wxSAVE
)));
48240 PyDict_SetItemString(d
,"wxHIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
48243 PyDict_SetItemString(d
,"wxOVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
48246 PyDict_SetItemString(d
,"wxFILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
48249 PyDict_SetItemString(d
,"wxMULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
48252 PyDict_SetItemString(d
,"wxCHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
48255 PyDict_SetItemString(d
,"wxACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
48258 PyDict_SetItemString(d
,"wxACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
48261 PyDict_SetItemString(d
,"wxACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
48264 PyDict_SetItemString(d
,"wxACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
48267 PyDict_SetItemString(d
,"wxPD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
48270 PyDict_SetItemString(d
,"wxPD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
48273 PyDict_SetItemString(d
,"wxPD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
48276 PyDict_SetItemString(d
,"wxPD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
48279 PyDict_SetItemString(d
,"wxPD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
48282 PyDict_SetItemString(d
,"wxPD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
48285 PyDict_SetItemString(d
,"wxPD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
48288 PyDict_SetItemString(d
,"wxPD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
48291 PyDict_SetItemString(d
,"wxDD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
48294 PyDict_SetItemString(d
,"wxDD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
48297 PyDict_SetItemString(d
,"wxMENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
48300 PyDict_SetItemString(d
,"wxMB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
48303 PyDict_SetItemString(d
,"wxNO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
48306 PyDict_SetItemString(d
,"wxFULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
48309 PyDict_SetItemString(d
,"wxLI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
48312 PyDict_SetItemString(d
,"wxLI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
48315 PyDict_SetItemString(d
,"wxWS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
48318 PyDict_SetItemString(d
,"wxWS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
48321 PyDict_SetItemString(d
,"wxWS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
48324 PyDict_SetItemString(d
,"wxWS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
48327 PyDict_SetItemString(d
,"wxWS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
48330 PyDict_SetItemString(d
,"wxWS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
48333 PyDict_SetItemString(d
,"wxMM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
48336 PyDict_SetItemString(d
,"wxMM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
48339 PyDict_SetItemString(d
,"wxMM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
48342 PyDict_SetItemString(d
,"wxMM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
48345 PyDict_SetItemString(d
,"wxMM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
48348 PyDict_SetItemString(d
,"wxMM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
48351 PyDict_SetItemString(d
,"wxMM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
48354 PyDict_SetItemString(d
,"wxMM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
48357 PyDict_SetItemString(d
,"wxMM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
48360 PyDict_SetItemString(d
,"wxMM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
48363 PyDict_SetItemString(d
,"wxCENTRE", SWIG_From_int((int)(wxCENTRE
)));
48366 PyDict_SetItemString(d
,"wxCENTER", SWIG_From_int((int)(wxCENTER
)));
48369 PyDict_SetItemString(d
,"wxHORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
48372 PyDict_SetItemString(d
,"wxVERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
48375 PyDict_SetItemString(d
,"wxBOTH", SWIG_From_int((int)(wxBOTH
)));
48378 PyDict_SetItemString(d
,"wxLEFT", SWIG_From_int((int)(wxLEFT
)));
48381 PyDict_SetItemString(d
,"wxRIGHT", SWIG_From_int((int)(wxRIGHT
)));
48384 PyDict_SetItemString(d
,"wxUP", SWIG_From_int((int)(wxUP
)));
48387 PyDict_SetItemString(d
,"wxDOWN", SWIG_From_int((int)(wxDOWN
)));
48390 PyDict_SetItemString(d
,"wxTOP", SWIG_From_int((int)(wxTOP
)));
48393 PyDict_SetItemString(d
,"wxBOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
48396 PyDict_SetItemString(d
,"wxNORTH", SWIG_From_int((int)(wxNORTH
)));
48399 PyDict_SetItemString(d
,"wxSOUTH", SWIG_From_int((int)(wxSOUTH
)));
48402 PyDict_SetItemString(d
,"wxWEST", SWIG_From_int((int)(wxWEST
)));
48405 PyDict_SetItemString(d
,"wxEAST", SWIG_From_int((int)(wxEAST
)));
48408 PyDict_SetItemString(d
,"wxALL", SWIG_From_int((int)(wxALL
)));
48411 PyDict_SetItemString(d
,"wxALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
48414 PyDict_SetItemString(d
,"wxALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
48417 PyDict_SetItemString(d
,"wxALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
48420 PyDict_SetItemString(d
,"wxALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
48423 PyDict_SetItemString(d
,"wxALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
48426 PyDict_SetItemString(d
,"wxALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
48429 PyDict_SetItemString(d
,"wxALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
48432 PyDict_SetItemString(d
,"wxALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
48435 PyDict_SetItemString(d
,"wxALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
48438 PyDict_SetItemString(d
,"wxALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
48441 PyDict_SetItemString(d
,"wxALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
48444 PyDict_SetItemString(d
,"wxALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
48447 PyDict_SetItemString(d
,"wxSTRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
48450 PyDict_SetItemString(d
,"wxSHRINK", SWIG_From_int((int)(wxSHRINK
)));
48453 PyDict_SetItemString(d
,"wxGROW", SWIG_From_int((int)(wxGROW
)));
48456 PyDict_SetItemString(d
,"wxEXPAND", SWIG_From_int((int)(wxEXPAND
)));
48459 PyDict_SetItemString(d
,"wxSHAPED", SWIG_From_int((int)(wxSHAPED
)));
48462 PyDict_SetItemString(d
,"wxFIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
48465 PyDict_SetItemString(d
,"wxTILE", SWIG_From_int((int)(wxTILE
)));
48468 PyDict_SetItemString(d
,"wxADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
48471 PyDict_SetItemString(d
,"wxBORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
48474 PyDict_SetItemString(d
,"wxBORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
48477 PyDict_SetItemString(d
,"wxBORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
48480 PyDict_SetItemString(d
,"wxBORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
48483 PyDict_SetItemString(d
,"wxBORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
48486 PyDict_SetItemString(d
,"wxBORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
48489 PyDict_SetItemString(d
,"wxBORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
48492 PyDict_SetItemString(d
,"wxBORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
48495 PyDict_SetItemString(d
,"wxBG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
48498 PyDict_SetItemString(d
,"wxBG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
48501 PyDict_SetItemString(d
,"wxBG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
48504 PyDict_SetItemString(d
,"wxDEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
48507 PyDict_SetItemString(d
,"wxDECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
48510 PyDict_SetItemString(d
,"wxROMAN", SWIG_From_int((int)(wxROMAN
)));
48513 PyDict_SetItemString(d
,"wxSCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
48516 PyDict_SetItemString(d
,"wxSWISS", SWIG_From_int((int)(wxSWISS
)));
48519 PyDict_SetItemString(d
,"wxMODERN", SWIG_From_int((int)(wxMODERN
)));
48522 PyDict_SetItemString(d
,"wxTELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
48525 PyDict_SetItemString(d
,"wxVARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
48528 PyDict_SetItemString(d
,"wxFIXED", SWIG_From_int((int)(wxFIXED
)));
48531 PyDict_SetItemString(d
,"wxNORMAL", SWIG_From_int((int)(wxNORMAL
)));
48534 PyDict_SetItemString(d
,"wxLIGHT", SWIG_From_int((int)(wxLIGHT
)));
48537 PyDict_SetItemString(d
,"wxBOLD", SWIG_From_int((int)(wxBOLD
)));
48540 PyDict_SetItemString(d
,"wxITALIC", SWIG_From_int((int)(wxITALIC
)));
48543 PyDict_SetItemString(d
,"wxSLANT", SWIG_From_int((int)(wxSLANT
)));
48546 PyDict_SetItemString(d
,"wxSOLID", SWIG_From_int((int)(wxSOLID
)));
48549 PyDict_SetItemString(d
,"wxDOT", SWIG_From_int((int)(wxDOT
)));
48552 PyDict_SetItemString(d
,"wxLONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
48555 PyDict_SetItemString(d
,"wxSHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
48558 PyDict_SetItemString(d
,"wxDOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
48561 PyDict_SetItemString(d
,"wxUSER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
48564 PyDict_SetItemString(d
,"wxTRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
48567 PyDict_SetItemString(d
,"wxSTIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
48570 PyDict_SetItemString(d
,"wxBDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
48573 PyDict_SetItemString(d
,"wxCROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
48576 PyDict_SetItemString(d
,"wxFDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
48579 PyDict_SetItemString(d
,"wxCROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
48582 PyDict_SetItemString(d
,"wxHORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
48585 PyDict_SetItemString(d
,"wxVERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
48588 PyDict_SetItemString(d
,"wxJOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
48591 PyDict_SetItemString(d
,"wxJOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
48594 PyDict_SetItemString(d
,"wxJOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
48597 PyDict_SetItemString(d
,"wxCAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
48600 PyDict_SetItemString(d
,"wxCAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
48603 PyDict_SetItemString(d
,"wxCAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
48606 PyDict_SetItemString(d
,"wxCLEAR", SWIG_From_int((int)(wxCLEAR
)));
48609 PyDict_SetItemString(d
,"wxXOR", SWIG_From_int((int)(wxXOR
)));
48612 PyDict_SetItemString(d
,"wxINVERT", SWIG_From_int((int)(wxINVERT
)));
48615 PyDict_SetItemString(d
,"wxOR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
48618 PyDict_SetItemString(d
,"wxAND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
48621 PyDict_SetItemString(d
,"wxCOPY", SWIG_From_int((int)(wxCOPY
)));
48624 PyDict_SetItemString(d
,"wxAND", SWIG_From_int((int)(wxAND
)));
48627 PyDict_SetItemString(d
,"wxAND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
48630 PyDict_SetItemString(d
,"wxNO_OP", SWIG_From_int((int)(wxNO_OP
)));
48633 PyDict_SetItemString(d
,"wxNOR", SWIG_From_int((int)(wxNOR
)));
48636 PyDict_SetItemString(d
,"wxEQUIV", SWIG_From_int((int)(wxEQUIV
)));
48639 PyDict_SetItemString(d
,"wxSRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
48642 PyDict_SetItemString(d
,"wxOR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
48645 PyDict_SetItemString(d
,"wxNAND", SWIG_From_int((int)(wxNAND
)));
48648 PyDict_SetItemString(d
,"wxOR", SWIG_From_int((int)(wxOR
)));
48651 PyDict_SetItemString(d
,"wxSET", SWIG_From_int((int)(wxSET
)));
48654 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
48657 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
48660 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
48663 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
48666 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
48669 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
48672 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
48675 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
48678 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
48681 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
48684 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
48687 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
48690 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
48693 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
48696 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
48699 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
48702 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
48705 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
48708 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
48711 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
48714 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
48717 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
48720 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
48723 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
48726 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
48729 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
48732 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
48735 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
48738 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
48741 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
48744 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
48747 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
48750 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
48753 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
48756 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
48759 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
48762 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
48765 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
48768 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
48771 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
48774 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
48777 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
48780 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
48783 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
48786 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
48789 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
48792 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
48795 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
48798 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
48801 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
48804 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
48807 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
48810 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
48813 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
48816 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
48819 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
48822 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
48825 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
48828 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
48831 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
48834 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
48837 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
48840 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
48843 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
48846 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
48849 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
48852 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
48855 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
48858 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
48861 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
48864 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
48867 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
48870 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
48873 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
48876 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
48879 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
48882 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
48885 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
48888 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
48891 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
48894 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
48897 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
48900 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
48903 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
48906 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
48909 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
48912 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
48915 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
48918 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
48921 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
48924 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
48927 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
48930 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
48933 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
48936 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
48939 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
48942 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
48945 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
48948 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
48951 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
48954 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
48957 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
48960 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
48963 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
48966 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
48969 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
48972 PyDict_SetItemString(d
,"WXK_COMMAND", SWIG_From_int((int)(WXK_COMMAND
)));
48975 PyDict_SetItemString(d
,"WXK_SPECIAL1", SWIG_From_int((int)(WXK_SPECIAL1
)));
48978 PyDict_SetItemString(d
,"WXK_SPECIAL2", SWIG_From_int((int)(WXK_SPECIAL2
)));
48981 PyDict_SetItemString(d
,"WXK_SPECIAL3", SWIG_From_int((int)(WXK_SPECIAL3
)));
48984 PyDict_SetItemString(d
,"WXK_SPECIAL4", SWIG_From_int((int)(WXK_SPECIAL4
)));
48987 PyDict_SetItemString(d
,"WXK_SPECIAL5", SWIG_From_int((int)(WXK_SPECIAL5
)));
48990 PyDict_SetItemString(d
,"WXK_SPECIAL6", SWIG_From_int((int)(WXK_SPECIAL6
)));
48993 PyDict_SetItemString(d
,"WXK_SPECIAL7", SWIG_From_int((int)(WXK_SPECIAL7
)));
48996 PyDict_SetItemString(d
,"WXK_SPECIAL8", SWIG_From_int((int)(WXK_SPECIAL8
)));
48999 PyDict_SetItemString(d
,"WXK_SPECIAL9", SWIG_From_int((int)(WXK_SPECIAL9
)));
49002 PyDict_SetItemString(d
,"WXK_SPECIAL10", SWIG_From_int((int)(WXK_SPECIAL10
)));
49005 PyDict_SetItemString(d
,"WXK_SPECIAL11", SWIG_From_int((int)(WXK_SPECIAL11
)));
49008 PyDict_SetItemString(d
,"WXK_SPECIAL12", SWIG_From_int((int)(WXK_SPECIAL12
)));
49011 PyDict_SetItemString(d
,"WXK_SPECIAL13", SWIG_From_int((int)(WXK_SPECIAL13
)));
49014 PyDict_SetItemString(d
,"WXK_SPECIAL14", SWIG_From_int((int)(WXK_SPECIAL14
)));
49017 PyDict_SetItemString(d
,"WXK_SPECIAL15", SWIG_From_int((int)(WXK_SPECIAL15
)));
49020 PyDict_SetItemString(d
,"WXK_SPECIAL16", SWIG_From_int((int)(WXK_SPECIAL16
)));
49023 PyDict_SetItemString(d
,"WXK_SPECIAL17", SWIG_From_int((int)(WXK_SPECIAL17
)));
49026 PyDict_SetItemString(d
,"WXK_SPECIAL18", SWIG_From_int((int)(WXK_SPECIAL18
)));
49029 PyDict_SetItemString(d
,"WXK_SPECIAL19", SWIG_From_int((int)(WXK_SPECIAL19
)));
49032 PyDict_SetItemString(d
,"WXK_SPECIAL20", SWIG_From_int((int)(WXK_SPECIAL20
)));
49035 PyDict_SetItemString(d
,"wxPAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
49038 PyDict_SetItemString(d
,"wxPAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
49041 PyDict_SetItemString(d
,"wxPAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
49044 PyDict_SetItemString(d
,"wxPAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
49047 PyDict_SetItemString(d
,"wxPAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
49050 PyDict_SetItemString(d
,"wxPAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
49053 PyDict_SetItemString(d
,"wxPAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
49056 PyDict_SetItemString(d
,"wxPAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
49059 PyDict_SetItemString(d
,"wxPAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
49062 PyDict_SetItemString(d
,"wxPAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
49065 PyDict_SetItemString(d
,"wxPAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
49068 PyDict_SetItemString(d
,"wxPAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
49071 PyDict_SetItemString(d
,"wxPAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
49074 PyDict_SetItemString(d
,"wxPAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
49077 PyDict_SetItemString(d
,"wxPAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
49080 PyDict_SetItemString(d
,"wxPAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
49083 PyDict_SetItemString(d
,"wxPAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
49086 PyDict_SetItemString(d
,"wxPAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
49089 PyDict_SetItemString(d
,"wxPAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
49092 PyDict_SetItemString(d
,"wxPAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
49095 PyDict_SetItemString(d
,"wxPAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
49098 PyDict_SetItemString(d
,"wxPAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
49101 PyDict_SetItemString(d
,"wxPAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
49104 PyDict_SetItemString(d
,"wxPAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
49107 PyDict_SetItemString(d
,"wxPAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
49110 PyDict_SetItemString(d
,"wxPAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
49113 PyDict_SetItemString(d
,"wxPAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
49116 PyDict_SetItemString(d
,"wxPAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
49119 PyDict_SetItemString(d
,"wxPAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
49122 PyDict_SetItemString(d
,"wxPAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
49125 PyDict_SetItemString(d
,"wxPAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
49128 PyDict_SetItemString(d
,"wxPAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
49131 PyDict_SetItemString(d
,"wxPAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
49134 PyDict_SetItemString(d
,"wxPAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
49137 PyDict_SetItemString(d
,"wxPAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
49140 PyDict_SetItemString(d
,"wxPAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
49143 PyDict_SetItemString(d
,"wxPAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
49146 PyDict_SetItemString(d
,"wxPAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
49149 PyDict_SetItemString(d
,"wxPAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
49152 PyDict_SetItemString(d
,"wxPAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
49155 PyDict_SetItemString(d
,"wxPAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
49158 PyDict_SetItemString(d
,"wxPAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
49161 PyDict_SetItemString(d
,"wxPAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
49164 PyDict_SetItemString(d
,"wxPAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
49167 PyDict_SetItemString(d
,"wxPAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
49170 PyDict_SetItemString(d
,"wxPAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
49173 PyDict_SetItemString(d
,"wxPAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
49176 PyDict_SetItemString(d
,"wxPAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
49179 PyDict_SetItemString(d
,"wxPAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
49182 PyDict_SetItemString(d
,"wxPAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
49185 PyDict_SetItemString(d
,"wxPAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
49188 PyDict_SetItemString(d
,"wxPAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
49191 PyDict_SetItemString(d
,"wxPAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
49194 PyDict_SetItemString(d
,"wxPAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
49197 PyDict_SetItemString(d
,"wxPAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
49200 PyDict_SetItemString(d
,"wxPAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
49203 PyDict_SetItemString(d
,"wxPAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
49206 PyDict_SetItemString(d
,"wxPAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
49209 PyDict_SetItemString(d
,"wxPAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
49212 PyDict_SetItemString(d
,"wxPAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
49215 PyDict_SetItemString(d
,"wxPAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
49218 PyDict_SetItemString(d
,"wxPAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
49221 PyDict_SetItemString(d
,"wxPAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
49224 PyDict_SetItemString(d
,"wxPAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
49227 PyDict_SetItemString(d
,"wxPAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
49230 PyDict_SetItemString(d
,"wxPAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
49233 PyDict_SetItemString(d
,"wxPAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
49236 PyDict_SetItemString(d
,"wxDUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
49239 PyDict_SetItemString(d
,"wxDUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
49242 PyDict_SetItemString(d
,"wxDUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
49245 PyDict_SetItemString(d
,"wxITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
49248 PyDict_SetItemString(d
,"wxITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
49251 PyDict_SetItemString(d
,"wxITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
49254 PyDict_SetItemString(d
,"wxITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
49257 PyDict_SetItemString(d
,"wxITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
49260 PyDict_SetItemString(d
,"wxHT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
49263 PyDict_SetItemString(d
,"wxHT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
49266 PyDict_SetItemString(d
,"wxHT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
49269 PyDict_SetItemString(d
,"wxHT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
49272 PyDict_SetItemString(d
,"wxHT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
49275 PyDict_SetItemString(d
,"wxHT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
49278 PyDict_SetItemString(d
,"wxHT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
49281 PyDict_SetItemString(d
,"wxHT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
49284 PyDict_SetItemString(d
,"wxHT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
49287 PyDict_SetItemString(d
,"wxHT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
49290 PyDict_SetItemString(d
,"wxHT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
49293 PyDict_SetItemString(d
,"wxHT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
49296 PyDict_SetItemString(d
,"wxHT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
49299 PyDict_SetItemString(d
,"wxHT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
49302 PyDict_SetItemString(d
,"wxHT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
49305 PyDict_SetItemString(d
,"wxHT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
49308 PyDict_SetItemString(d
,"wxMOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
49311 PyDict_SetItemString(d
,"wxMOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
49314 PyDict_SetItemString(d
,"wxMOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
49317 PyDict_SetItemString(d
,"wxMOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
49320 PyDict_SetItemString(d
,"wxMOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
49323 PyDict_SetItemString(d
,"wxUPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
49326 PyDict_SetItemString(d
,"wxUPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
49329 PyDict_SetItemString(d
,"wxUPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
49331 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
49332 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
49334 PyDict_SetItemString(d
,"wxBITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
49337 PyDict_SetItemString(d
,"wxBITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
49340 PyDict_SetItemString(d
,"wxBITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
49343 PyDict_SetItemString(d
,"wxBITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
49346 PyDict_SetItemString(d
,"wxBITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
49349 PyDict_SetItemString(d
,"wxBITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
49352 PyDict_SetItemString(d
,"wxBITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
49355 PyDict_SetItemString(d
,"wxBITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
49358 PyDict_SetItemString(d
,"wxBITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
49361 PyDict_SetItemString(d
,"wxBITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
49364 PyDict_SetItemString(d
,"wxBITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
49367 PyDict_SetItemString(d
,"wxBITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
49370 PyDict_SetItemString(d
,"wxBITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
49373 PyDict_SetItemString(d
,"wxBITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
49376 PyDict_SetItemString(d
,"wxBITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
49379 PyDict_SetItemString(d
,"wxBITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
49382 PyDict_SetItemString(d
,"wxBITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
49385 PyDict_SetItemString(d
,"wxBITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
49388 PyDict_SetItemString(d
,"wxBITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
49391 PyDict_SetItemString(d
,"wxBITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
49394 PyDict_SetItemString(d
,"wxCURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
49397 PyDict_SetItemString(d
,"wxCURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
49400 PyDict_SetItemString(d
,"wxCURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
49403 PyDict_SetItemString(d
,"wxCURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
49406 PyDict_SetItemString(d
,"wxCURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
49409 PyDict_SetItemString(d
,"wxCURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
49412 PyDict_SetItemString(d
,"wxCURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
49415 PyDict_SetItemString(d
,"wxCURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
49418 PyDict_SetItemString(d
,"wxCURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
49421 PyDict_SetItemString(d
,"wxCURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
49424 PyDict_SetItemString(d
,"wxCURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
49427 PyDict_SetItemString(d
,"wxCURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
49430 PyDict_SetItemString(d
,"wxCURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
49433 PyDict_SetItemString(d
,"wxCURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
49436 PyDict_SetItemString(d
,"wxCURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
49439 PyDict_SetItemString(d
,"wxCURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
49442 PyDict_SetItemString(d
,"wxCURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
49445 PyDict_SetItemString(d
,"wxCURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
49448 PyDict_SetItemString(d
,"wxCURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
49451 PyDict_SetItemString(d
,"wxCURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
49454 PyDict_SetItemString(d
,"wxCURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
49457 PyDict_SetItemString(d
,"wxCURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
49460 PyDict_SetItemString(d
,"wxCURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
49463 PyDict_SetItemString(d
,"wxCURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
49466 PyDict_SetItemString(d
,"wxCURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
49469 PyDict_SetItemString(d
,"wxCURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
49472 PyDict_SetItemString(d
,"wxCURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
49475 PyDict_SetItemString(d
,"wxCURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
49478 PyDict_SetItemString(d
,"wxCURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
49481 PyDict_SetItemString(d
,"wxCURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
49484 PyDict_SetItemString(d
,"wxCURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
49486 SWIG_addvarlink(SWIG_globals
,(char*)"wxDefaultPosition",_wrap_wxDefaultPosition_get
, _wrap_wxDefaultPosition_set
);
49487 SWIG_addvarlink(SWIG_globals
,(char*)"wxDefaultSize",_wrap_wxDefaultSize_get
, _wrap_wxDefaultSize_set
);
49489 PyDict_SetItemString(d
,"wxFromStart", SWIG_From_int((int)(wxFromStart
)));
49492 PyDict_SetItemString(d
,"wxFromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
49495 PyDict_SetItemString(d
,"wxFromEnd", SWIG_From_int((int)(wxFromEnd
)));
49498 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
49501 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
49503 SWIG_addvarlink(SWIG_globals
,(char*)"wxNullImage",_wrap_wxNullImage_get
, _wrap_wxNullImage_set
);
49504 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get
, _wrap_IMAGE_OPTION_FILENAME_set
);
49505 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
49506 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
49507 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
49508 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
49509 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get
, _wrap_IMAGE_OPTION_RESOLUTIONX_set
);
49510 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get
, _wrap_IMAGE_OPTION_RESOLUTIONY_set
);
49511 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
49512 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get
, _wrap_IMAGE_OPTION_QUALITY_set
);
49514 PyDict_SetItemString(d
,"wxIMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
49517 PyDict_SetItemString(d
,"wxIMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
49519 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get
, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set
);
49520 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get
, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set
);
49521 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get
, _wrap_IMAGE_OPTION_COMPRESSION_set
);
49522 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get
, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
49523 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get
, _wrap_IMAGE_OPTION_PNG_FORMAT_set
);
49524 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get
, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set
);
49526 PyDict_SetItemString(d
,"wxPNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR
)));
49529 PyDict_SetItemString(d
,"wxPNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY
)));
49532 PyDict_SetItemString(d
,"wxPNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED
)));
49535 PyDict_SetItemString(d
,"wxBMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
49538 PyDict_SetItemString(d
,"wxBMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
49541 PyDict_SetItemString(d
,"wxBMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
49544 PyDict_SetItemString(d
,"wxBMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
49547 PyDict_SetItemString(d
,"wxBMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
49550 PyDict_SetItemString(d
,"wxBMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
49553 PyDict_SetItemString(d
,"wxBMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
49556 PyDict_SetItemString(d
,"wxBMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
49559 PyDict_SetItemString(d
,"wxBMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
49562 PyDict_SetItemString(d
,"wxQUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
49565 PyDict_SetItemString(d
,"wxQUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
49568 PyDict_SetItemString(d
,"wxEVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
49571 PyDict_SetItemString(d
,"wxEVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
49573 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
49574 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
49575 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
49576 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
49577 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
49578 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
49579 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
49580 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
49581 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
49582 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
49583 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
49584 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
49585 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
49586 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
49587 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
49588 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
49589 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
49590 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
49591 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
49592 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
49593 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
49594 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
49595 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
49596 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
49597 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
49598 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
49599 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
49600 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
49601 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
49602 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
49603 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
49604 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
49605 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
49606 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
49607 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
49608 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
49609 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
49610 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
49611 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
49612 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
49613 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
49614 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
49615 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
49616 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
49617 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
49618 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
49619 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
49620 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
49621 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
49622 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
49623 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
49624 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
49625 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
49626 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
49627 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
49628 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
49629 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
49630 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
49631 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
49632 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
49633 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
49634 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
49635 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
49636 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
49637 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
49638 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
49639 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
49640 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
49641 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
49642 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
49643 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
49644 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
49645 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
49646 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
49647 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
49648 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
49649 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
49650 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
49651 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
49652 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
49653 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
49654 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
49655 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
49656 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
49657 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
49658 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
49659 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
49660 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
49661 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
49662 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
49663 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
49664 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
49665 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
49666 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
49667 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
49668 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
49669 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
49670 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
49671 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
49672 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
49673 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
49674 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
49675 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
49676 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
49677 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
49678 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
49679 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
49680 PyDict_SetItemString(d
, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE
));
49681 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
49682 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
49683 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
49684 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
49685 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
49686 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
49687 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
49689 PyDict_SetItemString(d
,"wxMOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
49692 PyDict_SetItemString(d
,"wxMOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
49695 PyDict_SetItemString(d
,"wxMOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
49698 PyDict_SetItemString(d
,"wxMOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
49701 PyDict_SetItemString(d
,"wxMOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
49704 PyDict_SetItemString(d
,"wxUPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
49707 PyDict_SetItemString(d
,"wxUPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
49710 PyDict_SetItemString(d
,"wxNavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
49713 PyDict_SetItemString(d
,"wxNavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
49716 PyDict_SetItemString(d
,"wxNavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
49719 PyDict_SetItemString(d
,"wxNavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab
)));
49722 PyDict_SetItemString(d
,"wxIDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
49725 PyDict_SetItemString(d
,"wxIDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
49727 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
49729 PyDict_SetItemString(d
,"wxPYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
49732 PyDict_SetItemString(d
,"wxPYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
49735 PyDict_SetItemString(d
,"wxPYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
49738 PyDict_SetItemString(d
,"wxPYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
49741 PyDict_SetItemString(d
,"wxPRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
49744 PyDict_SetItemString(d
,"wxPRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
49746 SWIG_addvarlink(SWIG_globals
,(char*)"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get
, _wrap_wxNullAcceleratorTable_set
);
49747 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
49749 PyDict_SetItemString(d
,"wxWINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
49752 PyDict_SetItemString(d
,"wxWINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
49755 PyDict_SetItemString(d
,"wxWINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
49758 PyDict_SetItemString(d
,"wxWINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
49761 PyDict_SetItemString(d
,"wxWINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
49763 SWIG_addvarlink(SWIG_globals
,(char*)"wxDefaultValidator",_wrap_wxDefaultValidator_get
, _wrap_wxDefaultValidator_set
);
49764 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
49766 PyDict_SetItemString(d
,"wxFLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
49769 PyDict_SetItemString(d
,"wxFLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
49772 PyDict_SetItemString(d
,"wxFLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
49774 SWIG_addvarlink(SWIG_globals
,(char*)"wxDefaultSpan",_wrap_wxDefaultSpan_get
, _wrap_wxDefaultSpan_set
);
49776 PyDict_SetItemString(d
,"wxLeft", SWIG_From_int((int)(wxLeft
)));
49779 PyDict_SetItemString(d
,"wxTop", SWIG_From_int((int)(wxTop
)));
49782 PyDict_SetItemString(d
,"wxRight", SWIG_From_int((int)(wxRight
)));
49785 PyDict_SetItemString(d
,"wxBottom", SWIG_From_int((int)(wxBottom
)));
49788 PyDict_SetItemString(d
,"wxWidth", SWIG_From_int((int)(wxWidth
)));
49791 PyDict_SetItemString(d
,"wxHeight", SWIG_From_int((int)(wxHeight
)));
49794 PyDict_SetItemString(d
,"wxCentre", SWIG_From_int((int)(wxCentre
)));
49797 PyDict_SetItemString(d
,"wxCenter", SWIG_From_int((int)(wxCenter
)));
49800 PyDict_SetItemString(d
,"wxCentreX", SWIG_From_int((int)(wxCentreX
)));
49803 PyDict_SetItemString(d
,"wxCentreY", SWIG_From_int((int)(wxCentreY
)));
49806 PyDict_SetItemString(d
,"wxUnconstrained", SWIG_From_int((int)(wxUnconstrained
)));
49809 PyDict_SetItemString(d
,"wxAsIs", SWIG_From_int((int)(wxAsIs
)));
49812 PyDict_SetItemString(d
,"wxPercentOf", SWIG_From_int((int)(wxPercentOf
)));
49815 PyDict_SetItemString(d
,"wxAbove", SWIG_From_int((int)(wxAbove
)));
49818 PyDict_SetItemString(d
,"wxBelow", SWIG_From_int((int)(wxBelow
)));
49821 PyDict_SetItemString(d
,"wxLeftOf", SWIG_From_int((int)(wxLeftOf
)));
49824 PyDict_SetItemString(d
,"wxRightOf", SWIG_From_int((int)(wxRightOf
)));
49827 PyDict_SetItemString(d
,"wxSameAs", SWIG_From_int((int)(wxSameAs
)));
49830 PyDict_SetItemString(d
,"wxAbsolute", SWIG_From_int((int)(wxAbsolute
)));
49833 // Initialize threading, some globals and such
49837 // Although these are defined in __version__ they need to be here too so
49838 // that an assert can be done to ensure that the wxPython and the wxWindows
49840 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
49841 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
49842 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));