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_wxPostScriptDC swig_types[0]
1342 #define SWIGTYPE_p_wxBrush swig_types[1]
1343 #define SWIGTYPE_p_wxColour swig_types[2]
1344 #define SWIGTYPE_p_wxDC swig_types[3]
1345 #define SWIGTYPE_p_wxMirrorDC swig_types[4]
1346 #define SWIGTYPE_p_form_ops_t swig_types[5]
1347 #define SWIGTYPE_p_wxDuplexMode swig_types[6]
1348 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[7]
1349 #define SWIGTYPE_p_char swig_types[8]
1350 #define SWIGTYPE_p_wxIconLocation swig_types[9]
1351 #define SWIGTYPE_p_wxImage swig_types[10]
1352 #define SWIGTYPE_p_wxMetaFileDC swig_types[11]
1353 #define SWIGTYPE_p_wxMask swig_types[12]
1354 #define SWIGTYPE_p_wxSize swig_types[13]
1355 #define SWIGTYPE_p_wxFont swig_types[14]
1356 #define SWIGTYPE_p_wxWindow swig_types[15]
1357 #define SWIGTYPE_p_double swig_types[16]
1358 #define SWIGTYPE_p_wxMemoryDC swig_types[17]
1359 #define SWIGTYPE_p_wxFontMapper swig_types[18]
1360 #define SWIGTYPE_p_wxEffects swig_types[19]
1361 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[20]
1362 #define SWIGTYPE_p_wxPalette swig_types[21]
1363 #define SWIGTYPE_p_wxBitmap swig_types[22]
1364 #define SWIGTYPE_p_wxObject swig_types[23]
1365 #define SWIGTYPE_p_wxRegionIterator swig_types[24]
1366 #define SWIGTYPE_p_wxRect swig_types[25]
1367 #define SWIGTYPE_p_wxPaperSize swig_types[26]
1368 #define SWIGTYPE_p_wxString swig_types[27]
1369 #define SWIGTYPE_unsigned_int swig_types[28]
1370 #define SWIGTYPE_p_unsigned_int swig_types[29]
1371 #define SWIGTYPE_p_wxPrinterDC swig_types[30]
1372 #define SWIGTYPE_p_wxIconBundle swig_types[31]
1373 #define SWIGTYPE_p_wxPoint swig_types[32]
1374 #define SWIGTYPE_p_wxDash swig_types[33]
1375 #define SWIGTYPE_p_wxScreenDC swig_types[34]
1376 #define SWIGTYPE_p_wxCursor swig_types[35]
1377 #define SWIGTYPE_p_wxClientDC swig_types[36]
1378 #define SWIGTYPE_p_wxBufferedDC swig_types[37]
1379 #define SWIGTYPE_p_wxImageList swig_types[38]
1380 #define SWIGTYPE_p_unsigned_char swig_types[39]
1381 #define SWIGTYPE_p_wxGDIObject swig_types[40]
1382 #define SWIGTYPE_p_wxIcon swig_types[41]
1383 #define SWIGTYPE_p_wxLocale swig_types[42]
1384 #define SWIGTYPE_ptrdiff_t swig_types[43]
1385 #define SWIGTYPE_std__ptrdiff_t swig_types[44]
1386 #define SWIGTYPE_p_wxRegion swig_types[45]
1387 #define SWIGTYPE_p_wxConfigBase swig_types[46]
1388 #define SWIGTYPE_p_wxLanguageInfo swig_types[47]
1389 #define SWIGTYPE_p_wxWindowDC swig_types[48]
1390 #define SWIGTYPE_p_wxPrintData swig_types[49]
1391 #define SWIGTYPE_p_wxBrushList swig_types[50]
1392 #define SWIGTYPE_p_wxFontList swig_types[51]
1393 #define SWIGTYPE_p_wxPen swig_types[52]
1394 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[53]
1395 #define SWIGTYPE_p_wxPaintDC swig_types[54]
1396 #define SWIGTYPE_p_wxPenList swig_types[55]
1397 #define SWIGTYPE_p_int swig_types[56]
1398 #define SWIGTYPE_p_wxMetaFile swig_types[57]
1399 #define SWIGTYPE_p_unsigned_long swig_types[58]
1400 #define SWIGTYPE_p_wxNativeFontInfo swig_types[59]
1401 #define SWIGTYPE_p_wxEncodingConverter swig_types[60]
1402 #define SWIGTYPE_p_wxColourDatabase swig_types[61]
1403 static swig_type_info
*swig_types
[63];
1405 /* -------- TYPES TABLE (END) -------- */
1408 /*-----------------------------------------------
1409 @(target):= _gdi_.so
1410 ------------------------------------------------*/
1411 #define SWIG_init init_gdi_
1413 #define SWIG_name "_gdi_"
1415 #include "wx/wxPython/wxPython.h"
1416 #include "wx/wxPython/pyclasses.h"
1419 static const wxString
wxPyEmptyString(wxEmptyString
);
1425 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1428 if (value
< min_value
) {
1430 PyErr_Format(PyExc_OverflowError
,
1431 "value %ld is less than '%s' minimum %ld",
1432 value
, errmsg
, min_value
);
1435 } else if (value
> max_value
) {
1437 PyErr_Format(PyExc_OverflowError
,
1438 "value %ld is greater than '%s' maximum %ld",
1439 value
, errmsg
, max_value
);
1448 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1450 if (PyNumber_Check(obj
)) {
1451 if (val
) *val
= PyInt_AsLong(obj
);
1455 SWIG_type_error("number", obj
);
1461 #if INT_MAX != LONG_MAX
1463 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1465 const char* errmsg
= val
? "int" : (char*)0;
1467 if (SWIG_AsVal_long(obj
, &v
)) {
1468 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1469 if (val
) *val
= (int)(v
);
1478 SWIG_type_error(errmsg
, obj
);
1484 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1486 return SWIG_AsVal_long(obj
,(long*)val
);
1492 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1494 if (obj
== Py_True
) {
1495 if (val
) *val
= true;
1498 if (obj
== Py_False
) {
1499 if (val
) *val
= false;
1503 if (SWIG_AsVal_int(obj
, &res
)) {
1504 if (val
) *val
= res
? true : false;
1510 SWIG_type_error("bool", obj
);
1516 SWIGINTERNSHORT
bool
1517 SWIG_As_bool(PyObject
* obj
)
1520 if (!SWIG_AsVal_bool(obj
, &v
)) {
1522 this is needed to make valgrind/purify happier.
1524 memset((void*)&v
, 0, sizeof(bool));
1531 SWIG_Check_bool(PyObject
* obj
)
1533 return SWIG_AsVal_bool(obj
, (bool*)0);
1538 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1541 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1542 SWIG_type_error("unsigned number", obj
);
1545 *val
= (unsigned long)v
;
1551 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1552 unsigned long max_value
,
1555 if (value
> max_value
) {
1557 PyErr_Format(PyExc_OverflowError
,
1558 "value %lu is greater than '%s' minimum %lu",
1559 value
, errmsg
, max_value
);
1568 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
1570 const char* errmsg
= val
? "unsigned char" : (char*)0;
1572 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1573 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
1574 if (val
) *val
= (unsigned char)(v
);
1583 SWIG_type_error(errmsg
, obj
);
1589 SWIGINTERNSHORT
unsigned char
1590 SWIG_As_unsigned_SS_char(PyObject
* obj
)
1593 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
1595 this is needed to make valgrind/purify happier.
1597 memset((void*)&v
, 0, sizeof(unsigned char));
1604 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
1606 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
1610 SWIGINTERNSHORT
unsigned long
1611 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1614 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1616 this is needed to make valgrind/purify happier.
1618 memset((void*)&v
, 0, sizeof(unsigned long));
1625 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1627 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1631 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1632 #define SWIG_From_unsigned_SS_char PyInt_FromLong
1636 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1637 #define SWIG_From_long PyInt_FromLong
1640 static PyObject
*wxColour_Get(wxColour
*self
){
1641 PyObject
* rv
= PyTuple_New(3);
1647 green
= self
->Green();
1648 blue
= self
->Blue();
1650 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
1651 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
1652 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
1655 static unsigned long wxColour_GetRGB(wxColour
*self
){
1656 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
1659 SWIGINTERNSHORT PyObject
*
1660 SWIG_From_unsigned_SS_long(unsigned long value
)
1662 return (value
> LONG_MAX
) ?
1663 PyLong_FromUnsignedLong(value
)
1664 : PyInt_FromLong((long)(value
));
1669 SWIG_As_int(PyObject
* obj
)
1672 if (!SWIG_AsVal_int(obj
, &v
)) {
1674 this is needed to make valgrind/purify happier.
1676 memset((void*)&v
, 0, sizeof(int));
1683 SWIG_Check_int(PyObject
* obj
)
1685 return SWIG_AsVal_int(obj
, (int*)0);
1689 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1690 #define SWIG_From_int PyInt_FromLong
1694 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1700 } else if (target
== Py_None
) {
1704 if (!PyTuple_Check(target
)) {
1706 target
= PyTuple_New(1);
1707 PyTuple_SetItem(target
, 0, o2
);
1709 o3
= PyTuple_New(1);
1710 PyTuple_SetItem(o3
, 0, o
);
1713 target
= PySequence_Concat(o2
, o3
);
1721 static PyObject
*wxPen_GetDashes(wxPen
*self
){
1723 int count
= self
->GetDashes(&dashes
);
1724 bool blocked
= wxPyBeginBlockThreads();
1725 PyObject
* retval
= PyList_New(0);
1726 for (int x
=0; x
<count
; x
++) {
1727 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
1728 PyList_Append(retval
, pyint
);
1731 wxPyEndBlockThreads(blocked
);
1734 static void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
1735 bool blocked
= wxPyBeginBlockThreads();
1736 int size
= PyList_Size(pyDashes
);
1737 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
1739 // black magic warning! The array of wxDashes needs to exist as
1740 // long as the pen does because wxPen does not copy the array. So
1741 // stick a copy in a Python string object and attach it to _self,
1742 // and then call SetDashes with a pointer to that array. Then
1743 // when the Python pen object is destroyed the array will be
1745 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
1746 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
1748 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
1750 Py_DECREF(strDashes
);
1751 wxPyEndBlockThreads(blocked
);
1753 static bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
1754 static bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
1756 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1757 #define SWIG_From_short PyInt_FromLong
1762 SWIG_AsVal_short(PyObject
*obj
, short *val
)
1764 const char* errmsg
= val
? "short" : (char*)0;
1766 if (SWIG_AsVal_long(obj
, &v
)) {
1767 if (SWIG_CheckLongInRange(v
, SHRT_MIN
, SHRT_MAX
, errmsg
)) {
1768 if (val
) *val
= (short)(v
);
1777 SWIG_type_error(errmsg
, obj
);
1783 SWIGINTERNSHORT
short
1784 SWIG_As_short(PyObject
* obj
)
1787 if (!SWIG_AsVal_short(obj
, &v
)) {
1789 this is needed to make valgrind/purify happier.
1791 memset((void*)&v
, 0, sizeof(short));
1798 SWIG_Check_short(PyObject
* obj
)
1800 return SWIG_AsVal_short(obj
, (short*)0);
1804 #include <wx/image.h>
1806 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
1807 char** cArray
= NULL
;
1810 if (!PyList_Check(listOfStrings
)) {
1811 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
1814 count
= PyList_Size(listOfStrings
);
1815 cArray
= new char*[count
];
1817 for(int x
=0; x
<count
; x
++) {
1818 // TODO: Need some validation and error checking here
1819 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
1825 static wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
1826 char** cArray
= NULL
;
1829 cArray
= ConvertListOfStrings(listOfStrings
);
1832 bmp
= new wxBitmap(cArray
);
1836 static wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
1839 PyString_AsStringAndSize(bits
, &buf
, &length
);
1840 return new wxBitmap(buf
, width
, height
, depth
);
1842 static wxSize
wxBitmap_GetSize(wxBitmap
*self
){
1843 wxSize
size(self
->GetWidth(), self
->GetHeight());
1846 static void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
1847 wxMask
*mask
= new wxMask(*self
, colour
);
1848 self
->SetMask(mask
);
1850 static void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
1851 self
->SetWidth(size
.x
);
1852 self
->SetHeight(size
.y
);
1854 static bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
1855 static bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
1856 static wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
1858 return new wxMask(bitmap
, *wxBLACK
);
1860 return new wxMask(bitmap
, colour
);
1863 #include <wx/iconbndl.h>
1865 static wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
1866 wxIcon
* icon
= new wxIcon();
1867 icon
->CopyFromBitmap(bmp
);
1870 static wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
1871 char** cArray
= NULL
;
1874 cArray
= ConvertListOfStrings(listOfStrings
);
1877 icon
= new wxIcon(cArray
);
1881 static wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
1885 return new wxIconLocation(*filename
);
1888 static void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
1895 static int wxIconLocation_GetIndex(wxIconLocation
*self
){
1903 SWIGINTERNSHORT
long
1904 SWIG_As_long(PyObject
* obj
)
1907 if (!SWIG_AsVal_long(obj
, &v
)) {
1909 this is needed to make valgrind/purify happier.
1911 memset((void*)&v
, 0, sizeof(long));
1918 SWIG_Check_long(PyObject
* obj
)
1920 return SWIG_AsVal_long(obj
, (long*)0);
1923 static wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
1925 wxImage
img(cursorName
, type
);
1926 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
1927 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
1928 return new wxCursor(img
);
1930 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
1935 static void wxRegionIterator_Next(wxRegionIterator
*self
){
1938 static bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
1939 return self
->operator bool();
1942 #include <wx/fontutil.h>
1943 #include <wx/fontmap.h>
1944 #include <wx/fontenum.h>
1946 static wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
1947 return self
->ToString();
1950 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
1951 static wxNativeEncodingInfo info
;
1952 if ( wxGetNativeFontEncoding(encoding
, &info
) )
1958 static PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
1959 wxFontEncoding alt_enc
;
1960 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
1961 return PyInt_FromLong(alt_enc
);
1967 static wxFont
*new_wxFont(wxString
const &info
){
1968 wxNativeFontInfo nfi
;
1969 nfi
.FromString(info
);
1970 return new wxFont(nfi
);
1972 static wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
1973 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
1975 static wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
1976 return wxFontBase::New(pixelSize
, family
,
1977 style
, weight
, underlined
,
1980 static bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
1981 static bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
1983 class wxPyFontEnumerator
: public wxFontEnumerator
{
1985 wxPyFontEnumerator() {}
1986 ~wxPyFontEnumerator() {}
1988 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
1989 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
1994 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
1995 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
1998 static PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
1999 wxArrayString
* arr
= self
->GetEncodings();
2001 return wxArrayString2PyList_helper(*arr
);
2003 return PyList_New(0);
2005 static PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
2006 wxArrayString
* arr
= self
->GetFacenames();
2008 return wxArrayString2PyList_helper(*arr
);
2010 return PyList_New(0);
2015 static wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
2018 loc
= new wxLocale();
2020 loc
= new wxLocale(language
, flags
);
2021 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
2022 // for the floating point conversions and such to work right.
2023 #if PY_VERSION_HEX < 0x02040000
2024 setlocale(LC_NUMERIC
, "C");
2028 static bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
2029 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
2030 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
2031 // for the floating point conversions and such to work right.
2032 #if PY_VERSION_HEX < 0x02040000
2033 setlocale(LC_NUMERIC
, "C");
2037 static bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
2038 bool rc
= self
->Init(language
, flags
);
2039 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
2040 // for the floating point conversions and such to work right.
2041 #if PY_VERSION_HEX < 0x02040000
2042 setlocale(LC_NUMERIC
, "C");
2047 #include "wx/wxPython/pydrawxxx.h"
2049 static wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
2051 self
->GetPixel(x
, y
, &col
);
2054 static wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
2056 self
->GetPixel(pt
, &col
);
2061 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2063 if (PyNumber_Check(obj
)) {
2064 if (val
) *val
= PyFloat_AsDouble(obj
);
2068 SWIG_type_error("number", obj
);
2074 SWIGINTERNSHORT
double
2075 SWIG_As_double(PyObject
* obj
)
2078 if (!SWIG_AsVal_double(obj
, &v
)) {
2080 this is needed to make valgrind/purify happier.
2082 memset((void*)&v
, 0, sizeof(double));
2089 SWIG_Check_double(PyObject
* obj
)
2091 return SWIG_AsVal_double(obj
, (double*)0);
2094 static wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
2096 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
2100 static wxRect
wxDC_GetClippingRect(wxDC
*self
){
2102 self
->GetClippingBox(rect
);
2105 static wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
2107 self
->GetPartialTextExtents(text
, widths
);
2111 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2112 #define SWIG_From_double PyFloat_FromDouble
2116 static void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
2117 self
->SetLogicalOrigin(point
.x
, point
.y
);
2119 static void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
2120 self
->SetDeviceOrigin(point
.x
, point
.y
);
2122 static void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
2123 self
->CalcBoundingBox(point
.x
, point
.y
);
2125 static PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2126 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
2128 static PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2129 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
2131 static PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2132 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
2134 static PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2135 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
2137 static PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2138 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
2140 static PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
2141 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
2144 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
2152 #include <wx/dcbuffer.h>
2155 #include <wx/dcps.h>
2158 #include <wx/metafile.h>
2162 static void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
2163 self
->AddColour(name
, wxColour(red
, green
, blue
));
2166 #include <wx/effects.h>
2171 static PyObject
*_wrap_new_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2172 PyObject
*resultobj
;
2173 wxGDIObject
*result
;
2178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
2180 if (!wxPyCheckForApp()) SWIG_fail
;
2181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2182 result
= (wxGDIObject
*)new wxGDIObject();
2184 wxPyEndAllowThreads(__tstate
);
2185 if (PyErr_Occurred()) SWIG_fail
;
2187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
2194 static PyObject
*_wrap_delete_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2195 PyObject
*resultobj
;
2196 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2197 PyObject
* obj0
= 0 ;
2199 (char *) "self", NULL
2202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
2203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2204 if (SWIG_arg_fail(1)) SWIG_fail
;
2206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2209 wxPyEndAllowThreads(__tstate
);
2210 if (PyErr_Occurred()) SWIG_fail
;
2212 Py_INCREF(Py_None
); resultobj
= Py_None
;
2219 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2220 PyObject
*resultobj
;
2221 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2223 PyObject
* obj0
= 0 ;
2225 (char *) "self", NULL
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
2229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2230 if (SWIG_arg_fail(1)) SWIG_fail
;
2232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2233 result
= (bool)(arg1
)->GetVisible();
2235 wxPyEndAllowThreads(__tstate
);
2236 if (PyErr_Occurred()) SWIG_fail
;
2239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2247 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2248 PyObject
*resultobj
;
2249 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2251 PyObject
* obj0
= 0 ;
2252 PyObject
* obj1
= 0 ;
2254 (char *) "self",(char *) "visible", NULL
2257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
2258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2259 if (SWIG_arg_fail(1)) SWIG_fail
;
2261 arg2
= (bool)(SWIG_As_bool(obj1
));
2262 if (SWIG_arg_fail(2)) SWIG_fail
;
2265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2266 (arg1
)->SetVisible(arg2
);
2268 wxPyEndAllowThreads(__tstate
);
2269 if (PyErr_Occurred()) SWIG_fail
;
2271 Py_INCREF(Py_None
); resultobj
= Py_None
;
2278 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2279 PyObject
*resultobj
;
2280 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2282 PyObject
* obj0
= 0 ;
2284 (char *) "self", NULL
2287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
2288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2289 if (SWIG_arg_fail(1)) SWIG_fail
;
2291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2292 result
= (bool)(arg1
)->IsNull();
2294 wxPyEndAllowThreads(__tstate
);
2295 if (PyErr_Occurred()) SWIG_fail
;
2298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2306 static PyObject
* GDIObject_swigregister(PyObject
*, PyObject
*args
) {
2308 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2309 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
2311 return Py_BuildValue((char *)"");
2313 static PyObject
*_wrap_new_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2314 PyObject
*resultobj
;
2315 byte arg1
= (byte
) 0 ;
2316 byte arg2
= (byte
) 0 ;
2317 byte arg3
= (byte
) 0 ;
2319 PyObject
* obj0
= 0 ;
2320 PyObject
* obj1
= 0 ;
2321 PyObject
* obj2
= 0 ;
2323 (char *) "red",(char *) "green",(char *) "blue", NULL
2326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2329 arg1
= (byte
)(SWIG_As_unsigned_SS_char(obj0
));
2330 if (SWIG_arg_fail(1)) SWIG_fail
;
2335 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
2336 if (SWIG_arg_fail(2)) SWIG_fail
;
2341 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
2342 if (SWIG_arg_fail(3)) SWIG_fail
;
2346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2347 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
2349 wxPyEndAllowThreads(__tstate
);
2350 if (PyErr_Occurred()) SWIG_fail
;
2352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2359 static PyObject
*_wrap_new_NamedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2360 PyObject
*resultobj
;
2361 wxString
*arg1
= 0 ;
2363 bool temp1
= false ;
2364 PyObject
* obj0
= 0 ;
2366 (char *) "colorName", NULL
2369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
2371 arg1
= wxString_in_helper(obj0
);
2372 if (arg1
== NULL
) SWIG_fail
;
2376 if (!wxPyCheckForApp()) SWIG_fail
;
2377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2378 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
2380 wxPyEndAllowThreads(__tstate
);
2381 if (PyErr_Occurred()) SWIG_fail
;
2383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2398 static PyObject
*_wrap_new_ColourRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2399 PyObject
*resultobj
;
2400 unsigned long arg1
;
2402 PyObject
* obj0
= 0 ;
2404 (char *) "colRGB", NULL
2407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
2409 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
2410 if (SWIG_arg_fail(1)) SWIG_fail
;
2413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2414 result
= (wxColour
*)new wxColour(arg1
);
2416 wxPyEndAllowThreads(__tstate
);
2417 if (PyErr_Occurred()) SWIG_fail
;
2419 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2426 static PyObject
*_wrap_delete_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2427 PyObject
*resultobj
;
2428 wxColour
*arg1
= (wxColour
*) 0 ;
2429 PyObject
* obj0
= 0 ;
2431 (char *) "self", NULL
2434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
2435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2436 if (SWIG_arg_fail(1)) SWIG_fail
;
2438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2441 wxPyEndAllowThreads(__tstate
);
2442 if (PyErr_Occurred()) SWIG_fail
;
2444 Py_INCREF(Py_None
); resultobj
= Py_None
;
2451 static PyObject
*_wrap_Colour_Red(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2452 PyObject
*resultobj
;
2453 wxColour
*arg1
= (wxColour
*) 0 ;
2455 PyObject
* obj0
= 0 ;
2457 (char *) "self", NULL
2460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
2461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2462 if (SWIG_arg_fail(1)) SWIG_fail
;
2464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2465 result
= (byte
)(arg1
)->Red();
2467 wxPyEndAllowThreads(__tstate
);
2468 if (PyErr_Occurred()) SWIG_fail
;
2471 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
2479 static PyObject
*_wrap_Colour_Green(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
*resultobj
;
2481 wxColour
*arg1
= (wxColour
*) 0 ;
2483 PyObject
* obj0
= 0 ;
2485 (char *) "self", NULL
2488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
2489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2490 if (SWIG_arg_fail(1)) SWIG_fail
;
2492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2493 result
= (byte
)(arg1
)->Green();
2495 wxPyEndAllowThreads(__tstate
);
2496 if (PyErr_Occurred()) SWIG_fail
;
2499 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
2507 static PyObject
*_wrap_Colour_Blue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2508 PyObject
*resultobj
;
2509 wxColour
*arg1
= (wxColour
*) 0 ;
2511 PyObject
* obj0
= 0 ;
2513 (char *) "self", NULL
2516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
2517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2518 if (SWIG_arg_fail(1)) SWIG_fail
;
2520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2521 result
= (byte
)(arg1
)->Blue();
2523 wxPyEndAllowThreads(__tstate
);
2524 if (PyErr_Occurred()) SWIG_fail
;
2527 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
2535 static PyObject
*_wrap_Colour_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2536 PyObject
*resultobj
;
2537 wxColour
*arg1
= (wxColour
*) 0 ;
2539 PyObject
* obj0
= 0 ;
2541 (char *) "self", NULL
2544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
2545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2546 if (SWIG_arg_fail(1)) SWIG_fail
;
2548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2549 result
= (bool)(arg1
)->Ok();
2551 wxPyEndAllowThreads(__tstate
);
2552 if (PyErr_Occurred()) SWIG_fail
;
2555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2563 static PyObject
*_wrap_Colour_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2564 PyObject
*resultobj
;
2565 wxColour
*arg1
= (wxColour
*) 0 ;
2569 PyObject
* obj0
= 0 ;
2570 PyObject
* obj1
= 0 ;
2571 PyObject
* obj2
= 0 ;
2572 PyObject
* obj3
= 0 ;
2574 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
2577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2579 if (SWIG_arg_fail(1)) SWIG_fail
;
2581 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
2582 if (SWIG_arg_fail(2)) SWIG_fail
;
2585 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
2586 if (SWIG_arg_fail(3)) SWIG_fail
;
2589 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
2590 if (SWIG_arg_fail(4)) SWIG_fail
;
2593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2594 (arg1
)->Set(arg2
,arg3
,arg4
);
2596 wxPyEndAllowThreads(__tstate
);
2597 if (PyErr_Occurred()) SWIG_fail
;
2599 Py_INCREF(Py_None
); resultobj
= Py_None
;
2606 static PyObject
*_wrap_Colour_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2607 PyObject
*resultobj
;
2608 wxColour
*arg1
= (wxColour
*) 0 ;
2609 unsigned long arg2
;
2610 PyObject
* obj0
= 0 ;
2611 PyObject
* obj1
= 0 ;
2613 (char *) "self",(char *) "colRGB", NULL
2616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
2617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2618 if (SWIG_arg_fail(1)) SWIG_fail
;
2620 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
2621 if (SWIG_arg_fail(2)) SWIG_fail
;
2624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2627 wxPyEndAllowThreads(__tstate
);
2628 if (PyErr_Occurred()) SWIG_fail
;
2630 Py_INCREF(Py_None
); resultobj
= Py_None
;
2637 static PyObject
*_wrap_Colour_SetFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2638 PyObject
*resultobj
;
2639 wxColour
*arg1
= (wxColour
*) 0 ;
2640 wxString
*arg2
= 0 ;
2641 bool temp2
= false ;
2642 PyObject
* obj0
= 0 ;
2643 PyObject
* obj1
= 0 ;
2645 (char *) "self",(char *) "colourName", NULL
2648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
2649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2650 if (SWIG_arg_fail(1)) SWIG_fail
;
2652 arg2
= wxString_in_helper(obj1
);
2653 if (arg2
== NULL
) SWIG_fail
;
2657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2658 (arg1
)->InitFromName((wxString
const &)*arg2
);
2660 wxPyEndAllowThreads(__tstate
);
2661 if (PyErr_Occurred()) SWIG_fail
;
2663 Py_INCREF(Py_None
); resultobj
= Py_None
;
2678 static PyObject
*_wrap_Colour_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2679 PyObject
*resultobj
;
2680 wxColour
*arg1
= (wxColour
*) 0 ;
2682 PyObject
* obj0
= 0 ;
2684 (char *) "self", NULL
2687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
2688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2689 if (SWIG_arg_fail(1)) SWIG_fail
;
2691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2692 result
= (long)((wxColour
const *)arg1
)->GetPixel();
2694 wxPyEndAllowThreads(__tstate
);
2695 if (PyErr_Occurred()) SWIG_fail
;
2698 resultobj
= SWIG_From_long((long)(result
));
2706 static PyObject
*_wrap_Colour___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2707 PyObject
*resultobj
;
2708 wxColour
*arg1
= (wxColour
*) 0 ;
2709 wxColour
*arg2
= 0 ;
2712 PyObject
* obj0
= 0 ;
2713 PyObject
* obj1
= 0 ;
2715 (char *) "self",(char *) "colour", NULL
2718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2720 if (SWIG_arg_fail(1)) SWIG_fail
;
2723 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2727 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
2729 wxPyEndAllowThreads(__tstate
);
2730 if (PyErr_Occurred()) SWIG_fail
;
2733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2741 static PyObject
*_wrap_Colour___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2742 PyObject
*resultobj
;
2743 wxColour
*arg1
= (wxColour
*) 0 ;
2744 wxColour
*arg2
= 0 ;
2747 PyObject
* obj0
= 0 ;
2748 PyObject
* obj1
= 0 ;
2750 (char *) "self",(char *) "colour", NULL
2753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2755 if (SWIG_arg_fail(1)) SWIG_fail
;
2758 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2762 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
2764 wxPyEndAllowThreads(__tstate
);
2765 if (PyErr_Occurred()) SWIG_fail
;
2768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2776 static PyObject
*_wrap_Colour_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2777 PyObject
*resultobj
;
2778 wxColour
*arg1
= (wxColour
*) 0 ;
2780 PyObject
* obj0
= 0 ;
2782 (char *) "self", NULL
2785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
2786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2787 if (SWIG_arg_fail(1)) SWIG_fail
;
2789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2790 result
= (PyObject
*)wxColour_Get(arg1
);
2792 wxPyEndAllowThreads(__tstate
);
2793 if (PyErr_Occurred()) SWIG_fail
;
2802 static PyObject
*_wrap_Colour_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2803 PyObject
*resultobj
;
2804 wxColour
*arg1
= (wxColour
*) 0 ;
2805 unsigned long result
;
2806 PyObject
* obj0
= 0 ;
2808 (char *) "self", NULL
2811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
2812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2813 if (SWIG_arg_fail(1)) SWIG_fail
;
2815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2816 result
= (unsigned long)wxColour_GetRGB(arg1
);
2818 wxPyEndAllowThreads(__tstate
);
2819 if (PyErr_Occurred()) SWIG_fail
;
2822 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
2830 static PyObject
* Colour_swigregister(PyObject
*, PyObject
*args
) {
2832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2833 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
2835 return Py_BuildValue((char *)"");
2837 static PyObject
*_wrap_new_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2838 PyObject
*resultobj
;
2840 unsigned char *arg2
= (unsigned char *) 0 ;
2841 unsigned char *arg3
= (unsigned char *) 0 ;
2842 unsigned char *arg4
= (unsigned char *) 0 ;
2844 PyObject
* obj0
= 0 ;
2845 PyObject
* obj1
= 0 ;
2846 PyObject
* obj2
= 0 ;
2847 PyObject
* obj3
= 0 ;
2849 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
2852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2854 arg1
= (int)(SWIG_As_int(obj0
));
2855 if (SWIG_arg_fail(1)) SWIG_fail
;
2857 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
2858 if (SWIG_arg_fail(2)) SWIG_fail
;
2859 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
2860 if (SWIG_arg_fail(3)) SWIG_fail
;
2861 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
2862 if (SWIG_arg_fail(4)) SWIG_fail
;
2864 if (!wxPyCheckForApp()) SWIG_fail
;
2865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2866 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
2868 wxPyEndAllowThreads(__tstate
);
2869 if (PyErr_Occurred()) SWIG_fail
;
2871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
2878 static PyObject
*_wrap_delete_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2879 PyObject
*resultobj
;
2880 wxPalette
*arg1
= (wxPalette
*) 0 ;
2881 PyObject
* obj0
= 0 ;
2883 (char *) "self", NULL
2886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
2887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
2888 if (SWIG_arg_fail(1)) SWIG_fail
;
2890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2893 wxPyEndAllowThreads(__tstate
);
2894 if (PyErr_Occurred()) SWIG_fail
;
2896 Py_INCREF(Py_None
); resultobj
= Py_None
;
2903 static PyObject
*_wrap_Palette_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2904 PyObject
*resultobj
;
2905 wxPalette
*arg1
= (wxPalette
*) 0 ;
2910 PyObject
* obj0
= 0 ;
2911 PyObject
* obj1
= 0 ;
2912 PyObject
* obj2
= 0 ;
2913 PyObject
* obj3
= 0 ;
2915 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
2918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
2920 if (SWIG_arg_fail(1)) SWIG_fail
;
2922 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
2923 if (SWIG_arg_fail(2)) SWIG_fail
;
2926 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
2927 if (SWIG_arg_fail(3)) SWIG_fail
;
2930 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
2931 if (SWIG_arg_fail(4)) SWIG_fail
;
2934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2935 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
2937 wxPyEndAllowThreads(__tstate
);
2938 if (PyErr_Occurred()) SWIG_fail
;
2941 resultobj
= SWIG_From_int((int)(result
));
2949 static PyObject
*_wrap_Palette_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2950 PyObject
*resultobj
;
2951 wxPalette
*arg1
= (wxPalette
*) 0 ;
2953 byte
*arg3
= (byte
*) 0 ;
2954 byte
*arg4
= (byte
*) 0 ;
2955 byte
*arg5
= (byte
*) 0 ;
2963 PyObject
* obj0
= 0 ;
2964 PyObject
* obj1
= 0 ;
2966 (char *) "self",(char *) "pixel", NULL
2969 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2970 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2971 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
2973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
2974 if (SWIG_arg_fail(1)) SWIG_fail
;
2976 arg2
= (int)(SWIG_As_int(obj1
));
2977 if (SWIG_arg_fail(2)) SWIG_fail
;
2980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2981 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
2983 wxPyEndAllowThreads(__tstate
);
2984 if (PyErr_Occurred()) SWIG_fail
;
2987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2989 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2990 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
2991 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2992 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
2993 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2994 SWIG_From_unsigned_SS_char((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, 0)));
3001 static PyObject
*_wrap_Palette_GetColoursCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3002 PyObject
*resultobj
;
3003 wxPalette
*arg1
= (wxPalette
*) 0 ;
3005 PyObject
* obj0
= 0 ;
3007 (char *) "self", NULL
3010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_GetColoursCount",kwnames
,&obj0
)) goto fail
;
3011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
3012 if (SWIG_arg_fail(1)) SWIG_fail
;
3014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3015 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
3017 wxPyEndAllowThreads(__tstate
);
3018 if (PyErr_Occurred()) SWIG_fail
;
3021 resultobj
= SWIG_From_int((int)(result
));
3029 static PyObject
*_wrap_Palette_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3030 PyObject
*resultobj
;
3031 wxPalette
*arg1
= (wxPalette
*) 0 ;
3033 PyObject
* obj0
= 0 ;
3035 (char *) "self", NULL
3038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
3039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
3040 if (SWIG_arg_fail(1)) SWIG_fail
;
3042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3043 result
= (bool)(arg1
)->Ok();
3045 wxPyEndAllowThreads(__tstate
);
3046 if (PyErr_Occurred()) SWIG_fail
;
3049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3057 static PyObject
* Palette_swigregister(PyObject
*, PyObject
*args
) {
3059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3060 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
3062 return Py_BuildValue((char *)"");
3064 static PyObject
*_wrap_new_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3065 PyObject
*resultobj
;
3066 wxColour
*arg1
= 0 ;
3067 int arg2
= (int) 1 ;
3068 int arg3
= (int) wxSOLID
;
3071 PyObject
* obj0
= 0 ;
3072 PyObject
* obj1
= 0 ;
3073 PyObject
* obj2
= 0 ;
3075 (char *) "colour",(char *) "width",(char *) "style", NULL
3078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3081 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
3085 arg2
= (int)(SWIG_As_int(obj1
));
3086 if (SWIG_arg_fail(2)) SWIG_fail
;
3091 arg3
= (int)(SWIG_As_int(obj2
));
3092 if (SWIG_arg_fail(3)) SWIG_fail
;
3096 if (!wxPyCheckForApp()) SWIG_fail
;
3097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3098 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
3100 wxPyEndAllowThreads(__tstate
);
3101 if (PyErr_Occurred()) SWIG_fail
;
3103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
3110 static PyObject
*_wrap_delete_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3111 PyObject
*resultobj
;
3112 wxPen
*arg1
= (wxPen
*) 0 ;
3113 PyObject
* obj0
= 0 ;
3115 (char *) "self", NULL
3118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
3119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3120 if (SWIG_arg_fail(1)) SWIG_fail
;
3122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3125 wxPyEndAllowThreads(__tstate
);
3126 if (PyErr_Occurred()) SWIG_fail
;
3128 Py_INCREF(Py_None
); resultobj
= Py_None
;
3135 static PyObject
*_wrap_Pen_GetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
*resultobj
;
3137 wxPen
*arg1
= (wxPen
*) 0 ;
3139 PyObject
* obj0
= 0 ;
3141 (char *) "self", NULL
3144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
3145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3146 if (SWIG_arg_fail(1)) SWIG_fail
;
3148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3149 result
= (int)(arg1
)->GetCap();
3151 wxPyEndAllowThreads(__tstate
);
3152 if (PyErr_Occurred()) SWIG_fail
;
3155 resultobj
= SWIG_From_int((int)(result
));
3163 static PyObject
*_wrap_Pen_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3164 PyObject
*resultobj
;
3165 wxPen
*arg1
= (wxPen
*) 0 ;
3167 PyObject
* obj0
= 0 ;
3169 (char *) "self", NULL
3172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
3173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3174 if (SWIG_arg_fail(1)) SWIG_fail
;
3176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3177 result
= (arg1
)->GetColour();
3179 wxPyEndAllowThreads(__tstate
);
3180 if (PyErr_Occurred()) SWIG_fail
;
3183 wxColour
* resultptr
;
3184 resultptr
= new wxColour((wxColour
&)(result
));
3185 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3193 static PyObject
*_wrap_Pen_GetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3194 PyObject
*resultobj
;
3195 wxPen
*arg1
= (wxPen
*) 0 ;
3197 PyObject
* obj0
= 0 ;
3199 (char *) "self", NULL
3202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
3203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3204 if (SWIG_arg_fail(1)) SWIG_fail
;
3206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3207 result
= (int)(arg1
)->GetJoin();
3209 wxPyEndAllowThreads(__tstate
);
3210 if (PyErr_Occurred()) SWIG_fail
;
3213 resultobj
= SWIG_From_int((int)(result
));
3221 static PyObject
*_wrap_Pen_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3222 PyObject
*resultobj
;
3223 wxPen
*arg1
= (wxPen
*) 0 ;
3225 PyObject
* obj0
= 0 ;
3227 (char *) "self", NULL
3230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
3231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3232 if (SWIG_arg_fail(1)) SWIG_fail
;
3234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3235 result
= (int)(arg1
)->GetStyle();
3237 wxPyEndAllowThreads(__tstate
);
3238 if (PyErr_Occurred()) SWIG_fail
;
3241 resultobj
= SWIG_From_int((int)(result
));
3249 static PyObject
*_wrap_Pen_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3250 PyObject
*resultobj
;
3251 wxPen
*arg1
= (wxPen
*) 0 ;
3253 PyObject
* obj0
= 0 ;
3255 (char *) "self", NULL
3258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
3259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3260 if (SWIG_arg_fail(1)) SWIG_fail
;
3262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3263 result
= (int)(arg1
)->GetWidth();
3265 wxPyEndAllowThreads(__tstate
);
3266 if (PyErr_Occurred()) SWIG_fail
;
3269 resultobj
= SWIG_From_int((int)(result
));
3277 static PyObject
*_wrap_Pen_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3278 PyObject
*resultobj
;
3279 wxPen
*arg1
= (wxPen
*) 0 ;
3281 PyObject
* obj0
= 0 ;
3283 (char *) "self", NULL
3286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
3287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3288 if (SWIG_arg_fail(1)) SWIG_fail
;
3290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3291 result
= (bool)(arg1
)->Ok();
3293 wxPyEndAllowThreads(__tstate
);
3294 if (PyErr_Occurred()) SWIG_fail
;
3297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3305 static PyObject
*_wrap_Pen_SetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3306 PyObject
*resultobj
;
3307 wxPen
*arg1
= (wxPen
*) 0 ;
3309 PyObject
* obj0
= 0 ;
3310 PyObject
* obj1
= 0 ;
3312 (char *) "self",(char *) "cap_style", NULL
3315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
3316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3317 if (SWIG_arg_fail(1)) SWIG_fail
;
3319 arg2
= (int)(SWIG_As_int(obj1
));
3320 if (SWIG_arg_fail(2)) SWIG_fail
;
3323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3324 (arg1
)->SetCap(arg2
);
3326 wxPyEndAllowThreads(__tstate
);
3327 if (PyErr_Occurred()) SWIG_fail
;
3329 Py_INCREF(Py_None
); resultobj
= Py_None
;
3336 static PyObject
*_wrap_Pen_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3337 PyObject
*resultobj
;
3338 wxPen
*arg1
= (wxPen
*) 0 ;
3339 wxColour
*arg2
= 0 ;
3341 PyObject
* obj0
= 0 ;
3342 PyObject
* obj1
= 0 ;
3344 (char *) "self",(char *) "colour", NULL
3347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3349 if (SWIG_arg_fail(1)) SWIG_fail
;
3352 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3356 (arg1
)->SetColour(*arg2
);
3358 wxPyEndAllowThreads(__tstate
);
3359 if (PyErr_Occurred()) SWIG_fail
;
3361 Py_INCREF(Py_None
); resultobj
= Py_None
;
3368 static PyObject
*_wrap_Pen_SetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
*resultobj
;
3370 wxPen
*arg1
= (wxPen
*) 0 ;
3372 PyObject
* obj0
= 0 ;
3373 PyObject
* obj1
= 0 ;
3375 (char *) "self",(char *) "join_style", NULL
3378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
3379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3380 if (SWIG_arg_fail(1)) SWIG_fail
;
3382 arg2
= (int)(SWIG_As_int(obj1
));
3383 if (SWIG_arg_fail(2)) SWIG_fail
;
3386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3387 (arg1
)->SetJoin(arg2
);
3389 wxPyEndAllowThreads(__tstate
);
3390 if (PyErr_Occurred()) SWIG_fail
;
3392 Py_INCREF(Py_None
); resultobj
= Py_None
;
3399 static PyObject
*_wrap_Pen_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3400 PyObject
*resultobj
;
3401 wxPen
*arg1
= (wxPen
*) 0 ;
3403 PyObject
* obj0
= 0 ;
3404 PyObject
* obj1
= 0 ;
3406 (char *) "self",(char *) "style", NULL
3409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
3410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3411 if (SWIG_arg_fail(1)) SWIG_fail
;
3413 arg2
= (int)(SWIG_As_int(obj1
));
3414 if (SWIG_arg_fail(2)) SWIG_fail
;
3417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3418 (arg1
)->SetStyle(arg2
);
3420 wxPyEndAllowThreads(__tstate
);
3421 if (PyErr_Occurred()) SWIG_fail
;
3423 Py_INCREF(Py_None
); resultobj
= Py_None
;
3430 static PyObject
*_wrap_Pen_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3431 PyObject
*resultobj
;
3432 wxPen
*arg1
= (wxPen
*) 0 ;
3434 PyObject
* obj0
= 0 ;
3435 PyObject
* obj1
= 0 ;
3437 (char *) "self",(char *) "width", NULL
3440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3442 if (SWIG_arg_fail(1)) SWIG_fail
;
3444 arg2
= (int)(SWIG_As_int(obj1
));
3445 if (SWIG_arg_fail(2)) SWIG_fail
;
3448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3449 (arg1
)->SetWidth(arg2
);
3451 wxPyEndAllowThreads(__tstate
);
3452 if (PyErr_Occurred()) SWIG_fail
;
3454 Py_INCREF(Py_None
); resultobj
= Py_None
;
3461 static PyObject
*_wrap_Pen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3462 PyObject
*resultobj
;
3463 wxPen
*arg1
= (wxPen
*) 0 ;
3465 wxDash
*arg3
= (wxDash
*) 0 ;
3466 PyObject
* obj0
= 0 ;
3467 PyObject
* obj1
= 0 ;
3469 (char *) "self",(char *) "dashes", NULL
3472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
3473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3474 if (SWIG_arg_fail(1)) SWIG_fail
;
3476 arg2
= PyList_Size(obj1
);
3477 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
3478 if (arg3
== NULL
) SWIG_fail
;
3481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3482 (arg1
)->SetDashes(arg2
,arg3
);
3484 wxPyEndAllowThreads(__tstate
);
3485 if (PyErr_Occurred()) SWIG_fail
;
3487 Py_INCREF(Py_None
); resultobj
= Py_None
;
3489 if (arg3
) delete [] arg3
;
3494 if (arg3
) delete [] arg3
;
3500 static PyObject
*_wrap_Pen_GetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3501 PyObject
*resultobj
;
3502 wxPen
*arg1
= (wxPen
*) 0 ;
3504 PyObject
* obj0
= 0 ;
3506 (char *) "self", NULL
3509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
3510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3511 if (SWIG_arg_fail(1)) SWIG_fail
;
3513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3514 result
= (PyObject
*)wxPen_GetDashes(arg1
);
3516 wxPyEndAllowThreads(__tstate
);
3517 if (PyErr_Occurred()) SWIG_fail
;
3526 static PyObject
*_wrap_Pen__SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3527 PyObject
*resultobj
;
3528 wxPen
*arg1
= (wxPen
*) 0 ;
3529 PyObject
*arg2
= (PyObject
*) 0 ;
3530 PyObject
*arg3
= (PyObject
*) 0 ;
3531 PyObject
* obj0
= 0 ;
3532 PyObject
* obj1
= 0 ;
3533 PyObject
* obj2
= 0 ;
3535 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
3538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3540 if (SWIG_arg_fail(1)) SWIG_fail
;
3544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3545 wxPen__SetDashes(arg1
,arg2
,arg3
);
3547 wxPyEndAllowThreads(__tstate
);
3548 if (PyErr_Occurred()) SWIG_fail
;
3550 Py_INCREF(Py_None
); resultobj
= Py_None
;
3557 static PyObject
*_wrap_Pen___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3558 PyObject
*resultobj
;
3559 wxPen
*arg1
= (wxPen
*) 0 ;
3560 wxPen
*arg2
= (wxPen
*) 0 ;
3562 PyObject
* obj0
= 0 ;
3563 PyObject
* obj1
= 0 ;
3565 (char *) "self",(char *) "other", NULL
3568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3570 if (SWIG_arg_fail(1)) SWIG_fail
;
3571 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3572 if (SWIG_arg_fail(2)) SWIG_fail
;
3574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3575 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
3577 wxPyEndAllowThreads(__tstate
);
3578 if (PyErr_Occurred()) SWIG_fail
;
3581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3589 static PyObject
*_wrap_Pen___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3590 PyObject
*resultobj
;
3591 wxPen
*arg1
= (wxPen
*) 0 ;
3592 wxPen
*arg2
= (wxPen
*) 0 ;
3594 PyObject
* obj0
= 0 ;
3595 PyObject
* obj1
= 0 ;
3597 (char *) "self",(char *) "other", NULL
3600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3602 if (SWIG_arg_fail(1)) SWIG_fail
;
3603 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3604 if (SWIG_arg_fail(2)) SWIG_fail
;
3606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3607 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
3609 wxPyEndAllowThreads(__tstate
);
3610 if (PyErr_Occurred()) SWIG_fail
;
3613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3621 static PyObject
* Pen_swigregister(PyObject
*, PyObject
*args
) {
3623 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3624 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
3626 return Py_BuildValue((char *)"");
3628 static PyObject
*_wrap_new_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3629 PyObject
*resultobj
;
3630 wxColour
*arg1
= 0 ;
3631 int arg2
= (int) wxSOLID
;
3634 PyObject
* obj0
= 0 ;
3635 PyObject
* obj1
= 0 ;
3637 (char *) "colour",(char *) "style", NULL
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
3643 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
3647 arg2
= (int)(SWIG_As_int(obj1
));
3648 if (SWIG_arg_fail(2)) SWIG_fail
;
3652 if (!wxPyCheckForApp()) SWIG_fail
;
3653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3654 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
3656 wxPyEndAllowThreads(__tstate
);
3657 if (PyErr_Occurred()) SWIG_fail
;
3659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
3666 static PyObject
*_wrap_delete_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3667 PyObject
*resultobj
;
3668 wxBrush
*arg1
= (wxBrush
*) 0 ;
3669 PyObject
* obj0
= 0 ;
3671 (char *) "self", NULL
3674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
3675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3676 if (SWIG_arg_fail(1)) SWIG_fail
;
3678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3681 wxPyEndAllowThreads(__tstate
);
3682 if (PyErr_Occurred()) SWIG_fail
;
3684 Py_INCREF(Py_None
); resultobj
= Py_None
;
3691 static PyObject
*_wrap_Brush_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3692 PyObject
*resultobj
;
3693 wxBrush
*arg1
= (wxBrush
*) 0 ;
3694 wxColour
*arg2
= 0 ;
3696 PyObject
* obj0
= 0 ;
3697 PyObject
* obj1
= 0 ;
3699 (char *) "self",(char *) "col", NULL
3702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3704 if (SWIG_arg_fail(1)) SWIG_fail
;
3707 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3711 (arg1
)->SetColour((wxColour
const &)*arg2
);
3713 wxPyEndAllowThreads(__tstate
);
3714 if (PyErr_Occurred()) SWIG_fail
;
3716 Py_INCREF(Py_None
); resultobj
= Py_None
;
3723 static PyObject
*_wrap_Brush_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3724 PyObject
*resultobj
;
3725 wxBrush
*arg1
= (wxBrush
*) 0 ;
3727 PyObject
* obj0
= 0 ;
3728 PyObject
* obj1
= 0 ;
3730 (char *) "self",(char *) "style", NULL
3733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
3734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3735 if (SWIG_arg_fail(1)) SWIG_fail
;
3737 arg2
= (int)(SWIG_As_int(obj1
));
3738 if (SWIG_arg_fail(2)) SWIG_fail
;
3741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3742 (arg1
)->SetStyle(arg2
);
3744 wxPyEndAllowThreads(__tstate
);
3745 if (PyErr_Occurred()) SWIG_fail
;
3747 Py_INCREF(Py_None
); resultobj
= Py_None
;
3754 static PyObject
*_wrap_Brush_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3755 PyObject
*resultobj
;
3756 wxBrush
*arg1
= (wxBrush
*) 0 ;
3757 wxBitmap
*arg2
= 0 ;
3758 PyObject
* obj0
= 0 ;
3759 PyObject
* obj1
= 0 ;
3761 (char *) "self",(char *) "stipple", NULL
3764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
3765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3766 if (SWIG_arg_fail(1)) SWIG_fail
;
3768 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3769 if (SWIG_arg_fail(2)) SWIG_fail
;
3771 SWIG_null_ref("wxBitmap");
3773 if (SWIG_arg_fail(2)) SWIG_fail
;
3776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3777 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
3779 wxPyEndAllowThreads(__tstate
);
3780 if (PyErr_Occurred()) SWIG_fail
;
3782 Py_INCREF(Py_None
); resultobj
= Py_None
;
3789 static PyObject
*_wrap_Brush_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3790 PyObject
*resultobj
;
3791 wxBrush
*arg1
= (wxBrush
*) 0 ;
3793 PyObject
* obj0
= 0 ;
3795 (char *) "self", NULL
3798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
3799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3800 if (SWIG_arg_fail(1)) SWIG_fail
;
3802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3803 result
= ((wxBrush
const *)arg1
)->GetColour();
3805 wxPyEndAllowThreads(__tstate
);
3806 if (PyErr_Occurred()) SWIG_fail
;
3809 wxColour
* resultptr
;
3810 resultptr
= new wxColour((wxColour
&)(result
));
3811 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3819 static PyObject
*_wrap_Brush_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3820 PyObject
*resultobj
;
3821 wxBrush
*arg1
= (wxBrush
*) 0 ;
3823 PyObject
* obj0
= 0 ;
3825 (char *) "self", NULL
3828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
3829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3830 if (SWIG_arg_fail(1)) SWIG_fail
;
3832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3833 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
3835 wxPyEndAllowThreads(__tstate
);
3836 if (PyErr_Occurred()) SWIG_fail
;
3839 resultobj
= SWIG_From_int((int)(result
));
3847 static PyObject
*_wrap_Brush_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3848 PyObject
*resultobj
;
3849 wxBrush
*arg1
= (wxBrush
*) 0 ;
3851 PyObject
* obj0
= 0 ;
3853 (char *) "self", NULL
3856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
3857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3858 if (SWIG_arg_fail(1)) SWIG_fail
;
3860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3861 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
3863 wxPyEndAllowThreads(__tstate
);
3864 if (PyErr_Occurred()) SWIG_fail
;
3866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
3873 static PyObject
*_wrap_Brush_IsHatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3874 PyObject
*resultobj
;
3875 wxBrush
*arg1
= (wxBrush
*) 0 ;
3877 PyObject
* obj0
= 0 ;
3879 (char *) "self", NULL
3882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_IsHatch",kwnames
,&obj0
)) goto fail
;
3883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3884 if (SWIG_arg_fail(1)) SWIG_fail
;
3886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3887 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
3889 wxPyEndAllowThreads(__tstate
);
3890 if (PyErr_Occurred()) SWIG_fail
;
3893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3901 static PyObject
*_wrap_Brush_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3902 PyObject
*resultobj
;
3903 wxBrush
*arg1
= (wxBrush
*) 0 ;
3905 PyObject
* obj0
= 0 ;
3907 (char *) "self", NULL
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
3911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3912 if (SWIG_arg_fail(1)) SWIG_fail
;
3914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3915 result
= (bool)(arg1
)->Ok();
3917 wxPyEndAllowThreads(__tstate
);
3918 if (PyErr_Occurred()) SWIG_fail
;
3921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3929 static PyObject
*_wrap_Brush_MacGetTheme(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3930 PyObject
*resultobj
;
3931 wxBrush
*arg1
= (wxBrush
*) 0 ;
3933 PyObject
* obj0
= 0 ;
3935 (char *) "self", NULL
3938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_MacGetTheme",kwnames
,&obj0
)) goto fail
;
3939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3940 if (SWIG_arg_fail(1)) SWIG_fail
;
3942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3943 result
= (short)(arg1
)->MacGetTheme();
3945 wxPyEndAllowThreads(__tstate
);
3946 if (PyErr_Occurred()) SWIG_fail
;
3949 resultobj
= SWIG_From_short((short)(result
));
3957 static PyObject
*_wrap_Brush_MacSetTheme(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3958 PyObject
*resultobj
;
3959 wxBrush
*arg1
= (wxBrush
*) 0 ;
3961 PyObject
* obj0
= 0 ;
3962 PyObject
* obj1
= 0 ;
3964 (char *) "self",(char *) "macThemeBrush", NULL
3967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) goto fail
;
3968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3969 if (SWIG_arg_fail(1)) SWIG_fail
;
3971 arg2
= (short)(SWIG_As_short(obj1
));
3972 if (SWIG_arg_fail(2)) SWIG_fail
;
3975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3976 (arg1
)->MacSetTheme(arg2
);
3978 wxPyEndAllowThreads(__tstate
);
3979 if (PyErr_Occurred()) SWIG_fail
;
3981 Py_INCREF(Py_None
); resultobj
= Py_None
;
3988 static PyObject
* Brush_swigregister(PyObject
*, PyObject
*args
) {
3990 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3991 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
3993 return Py_BuildValue((char *)"");
3995 static PyObject
*_wrap_new_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3996 PyObject
*resultobj
;
3997 wxString
*arg1
= 0 ;
3998 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
4000 bool temp1
= false ;
4001 PyObject
* obj0
= 0 ;
4002 PyObject
* obj1
= 0 ;
4004 (char *) "name",(char *) "type", NULL
4007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4009 arg1
= wxString_in_helper(obj0
);
4010 if (arg1
== NULL
) SWIG_fail
;
4015 arg2
= (wxBitmapType
)(SWIG_As_int(obj1
));
4016 if (SWIG_arg_fail(2)) SWIG_fail
;
4020 if (!wxPyCheckForApp()) SWIG_fail
;
4021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4022 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
4024 wxPyEndAllowThreads(__tstate
);
4025 if (PyErr_Occurred()) SWIG_fail
;
4027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4042 static PyObject
*_wrap_delete_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4043 PyObject
*resultobj
;
4044 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4045 PyObject
* obj0
= 0 ;
4047 (char *) "self", NULL
4050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
4051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4052 if (SWIG_arg_fail(1)) SWIG_fail
;
4054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4057 wxPyEndAllowThreads(__tstate
);
4058 if (PyErr_Occurred()) SWIG_fail
;
4060 Py_INCREF(Py_None
); resultobj
= Py_None
;
4067 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4068 PyObject
*resultobj
;
4071 int arg3
= (int) -1 ;
4073 PyObject
* obj0
= 0 ;
4074 PyObject
* obj1
= 0 ;
4075 PyObject
* obj2
= 0 ;
4077 (char *) "width",(char *) "height",(char *) "depth", NULL
4080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4082 arg1
= (int)(SWIG_As_int(obj0
));
4083 if (SWIG_arg_fail(1)) SWIG_fail
;
4086 arg2
= (int)(SWIG_As_int(obj1
));
4087 if (SWIG_arg_fail(2)) SWIG_fail
;
4091 arg3
= (int)(SWIG_As_int(obj2
));
4092 if (SWIG_arg_fail(3)) SWIG_fail
;
4096 if (!wxPyCheckForApp()) SWIG_fail
;
4097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4098 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
4100 wxPyEndAllowThreads(__tstate
);
4101 if (PyErr_Occurred()) SWIG_fail
;
4103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4110 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4111 PyObject
*resultobj
;
4114 PyObject
* obj0
= 0 ;
4116 (char *) "icon", NULL
4119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
4121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4122 if (SWIG_arg_fail(1)) SWIG_fail
;
4124 SWIG_null_ref("wxIcon");
4126 if (SWIG_arg_fail(1)) SWIG_fail
;
4129 if (!wxPyCheckForApp()) SWIG_fail
;
4130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4131 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
4133 wxPyEndAllowThreads(__tstate
);
4134 if (PyErr_Occurred()) SWIG_fail
;
4136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4143 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4144 PyObject
*resultobj
;
4146 int arg2
= (int) -1 ;
4148 PyObject
* obj0
= 0 ;
4149 PyObject
* obj1
= 0 ;
4151 (char *) "image",(char *) "depth", NULL
4154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
4156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
4157 if (SWIG_arg_fail(1)) SWIG_fail
;
4159 SWIG_null_ref("wxImage");
4161 if (SWIG_arg_fail(1)) SWIG_fail
;
4165 arg2
= (int)(SWIG_As_int(obj1
));
4166 if (SWIG_arg_fail(2)) SWIG_fail
;
4170 if (!wxPyCheckForApp()) SWIG_fail
;
4171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4172 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
4174 wxPyEndAllowThreads(__tstate
);
4175 if (PyErr_Occurred()) SWIG_fail
;
4177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4184 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
*resultobj
;
4186 PyObject
*arg1
= (PyObject
*) 0 ;
4188 PyObject
* obj0
= 0 ;
4190 (char *) "listOfStrings", NULL
4193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
4196 if (!wxPyCheckForApp()) SWIG_fail
;
4197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4198 result
= (wxBitmap
*)new_wxBitmap(arg1
);
4200 wxPyEndAllowThreads(__tstate
);
4201 if (PyErr_Occurred()) SWIG_fail
;
4203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4210 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4211 PyObject
*resultobj
;
4212 PyObject
*arg1
= (PyObject
*) 0 ;
4215 int arg4
= (int) 1 ;
4217 PyObject
* obj0
= 0 ;
4218 PyObject
* obj1
= 0 ;
4219 PyObject
* obj2
= 0 ;
4220 PyObject
* obj3
= 0 ;
4222 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
4225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4228 arg2
= (int)(SWIG_As_int(obj1
));
4229 if (SWIG_arg_fail(2)) SWIG_fail
;
4232 arg3
= (int)(SWIG_As_int(obj2
));
4233 if (SWIG_arg_fail(3)) SWIG_fail
;
4237 arg4
= (int)(SWIG_As_int(obj3
));
4238 if (SWIG_arg_fail(4)) SWIG_fail
;
4242 if (!wxPyCheckForApp()) SWIG_fail
;
4243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4244 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
4246 wxPyEndAllowThreads(__tstate
);
4247 if (PyErr_Occurred()) SWIG_fail
;
4249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4256 static PyObject
*_wrap_Bitmap_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
*resultobj
;
4258 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4260 PyObject
* obj0
= 0 ;
4262 (char *) "self", NULL
4265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
4266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4267 if (SWIG_arg_fail(1)) SWIG_fail
;
4269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4270 result
= (bool)(arg1
)->Ok();
4272 wxPyEndAllowThreads(__tstate
);
4273 if (PyErr_Occurred()) SWIG_fail
;
4276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4284 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4285 PyObject
*resultobj
;
4286 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4288 PyObject
* obj0
= 0 ;
4290 (char *) "self", NULL
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
4294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4295 if (SWIG_arg_fail(1)) SWIG_fail
;
4297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4298 result
= (int)(arg1
)->GetWidth();
4300 wxPyEndAllowThreads(__tstate
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4304 resultobj
= SWIG_From_int((int)(result
));
4312 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
*resultobj
;
4314 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4316 PyObject
* obj0
= 0 ;
4318 (char *) "self", NULL
4321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
4322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4323 if (SWIG_arg_fail(1)) SWIG_fail
;
4325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4326 result
= (int)(arg1
)->GetHeight();
4328 wxPyEndAllowThreads(__tstate
);
4329 if (PyErr_Occurred()) SWIG_fail
;
4332 resultobj
= SWIG_From_int((int)(result
));
4340 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4341 PyObject
*resultobj
;
4342 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4344 PyObject
* obj0
= 0 ;
4346 (char *) "self", NULL
4349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
4350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4351 if (SWIG_arg_fail(1)) SWIG_fail
;
4353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4354 result
= (int)(arg1
)->GetDepth();
4356 wxPyEndAllowThreads(__tstate
);
4357 if (PyErr_Occurred()) SWIG_fail
;
4360 resultobj
= SWIG_From_int((int)(result
));
4368 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4369 PyObject
*resultobj
;
4370 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4372 PyObject
* obj0
= 0 ;
4374 (char *) "self", NULL
4377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
4378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4379 if (SWIG_arg_fail(1)) SWIG_fail
;
4381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4382 result
= wxBitmap_GetSize(arg1
);
4384 wxPyEndAllowThreads(__tstate
);
4385 if (PyErr_Occurred()) SWIG_fail
;
4389 resultptr
= new wxSize((wxSize
&)(result
));
4390 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4398 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4399 PyObject
*resultobj
;
4400 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4401 SwigValueWrapper
<wxImage
> result
;
4402 PyObject
* obj0
= 0 ;
4404 (char *) "self", NULL
4407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
4408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4409 if (SWIG_arg_fail(1)) SWIG_fail
;
4411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4412 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
4414 wxPyEndAllowThreads(__tstate
);
4415 if (PyErr_Occurred()) SWIG_fail
;
4418 wxImage
* resultptr
;
4419 resultptr
= new wxImage((wxImage
&)(result
));
4420 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
4428 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4429 PyObject
*resultobj
;
4430 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4432 PyObject
* obj0
= 0 ;
4434 (char *) "self", NULL
4437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
4438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4439 if (SWIG_arg_fail(1)) SWIG_fail
;
4441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4442 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
4444 wxPyEndAllowThreads(__tstate
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
4454 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4455 PyObject
*resultobj
;
4456 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4457 wxMask
*arg2
= (wxMask
*) 0 ;
4458 PyObject
* obj0
= 0 ;
4459 PyObject
* obj1
= 0 ;
4461 (char *) "self",(char *) "mask", NULL
4464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
4465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4466 if (SWIG_arg_fail(1)) SWIG_fail
;
4467 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMask
, SWIG_POINTER_EXCEPTION
| 0);
4468 if (SWIG_arg_fail(2)) SWIG_fail
;
4470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4471 (arg1
)->SetMask(arg2
);
4473 wxPyEndAllowThreads(__tstate
);
4474 if (PyErr_Occurred()) SWIG_fail
;
4476 Py_INCREF(Py_None
); resultobj
= Py_None
;
4483 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4484 PyObject
*resultobj
;
4485 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4486 wxColour
*arg2
= 0 ;
4488 PyObject
* obj0
= 0 ;
4489 PyObject
* obj1
= 0 ;
4491 (char *) "self",(char *) "colour", NULL
4494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
4495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4496 if (SWIG_arg_fail(1)) SWIG_fail
;
4499 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4503 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
4505 wxPyEndAllowThreads(__tstate
);
4506 if (PyErr_Occurred()) SWIG_fail
;
4508 Py_INCREF(Py_None
); resultobj
= Py_None
;
4515 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4516 PyObject
*resultobj
;
4517 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4519 SwigValueWrapper
<wxBitmap
> result
;
4521 PyObject
* obj0
= 0 ;
4522 PyObject
* obj1
= 0 ;
4524 (char *) "self",(char *) "rect", NULL
4527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4529 if (SWIG_arg_fail(1)) SWIG_fail
;
4532 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4536 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
4538 wxPyEndAllowThreads(__tstate
);
4539 if (PyErr_Occurred()) SWIG_fail
;
4542 wxBitmap
* resultptr
;
4543 resultptr
= new wxBitmap((wxBitmap
&)(result
));
4544 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4552 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4553 PyObject
*resultobj
;
4554 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4555 wxString
*arg2
= 0 ;
4557 wxPalette
*arg4
= (wxPalette
*) NULL
;
4559 bool temp2
= false ;
4560 PyObject
* obj0
= 0 ;
4561 PyObject
* obj1
= 0 ;
4562 PyObject
* obj2
= 0 ;
4563 PyObject
* obj3
= 0 ;
4565 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
4568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4570 if (SWIG_arg_fail(1)) SWIG_fail
;
4572 arg2
= wxString_in_helper(obj1
);
4573 if (arg2
== NULL
) SWIG_fail
;
4577 arg3
= (wxBitmapType
)(SWIG_As_int(obj2
));
4578 if (SWIG_arg_fail(3)) SWIG_fail
;
4581 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
4582 if (SWIG_arg_fail(4)) SWIG_fail
;
4585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4586 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
4588 wxPyEndAllowThreads(__tstate
);
4589 if (PyErr_Occurred()) SWIG_fail
;
4592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4608 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4609 PyObject
*resultobj
;
4610 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4611 wxString
*arg2
= 0 ;
4614 bool temp2
= false ;
4615 PyObject
* obj0
= 0 ;
4616 PyObject
* obj1
= 0 ;
4617 PyObject
* obj2
= 0 ;
4619 (char *) "self",(char *) "name",(char *) "type", NULL
4622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4624 if (SWIG_arg_fail(1)) SWIG_fail
;
4626 arg2
= wxString_in_helper(obj1
);
4627 if (arg2
== NULL
) SWIG_fail
;
4631 arg3
= (wxBitmapType
)(SWIG_As_int(obj2
));
4632 if (SWIG_arg_fail(3)) SWIG_fail
;
4635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4636 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
4638 wxPyEndAllowThreads(__tstate
);
4639 if (PyErr_Occurred()) SWIG_fail
;
4642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4658 static PyObject
*_wrap_Bitmap_GetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4659 PyObject
*resultobj
;
4660 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4662 PyObject
* obj0
= 0 ;
4664 (char *) "self", NULL
4667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetPalette",kwnames
,&obj0
)) goto fail
;
4668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4669 if (SWIG_arg_fail(1)) SWIG_fail
;
4671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4672 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
4674 wxPyEndAllowThreads(__tstate
);
4675 if (PyErr_Occurred()) SWIG_fail
;
4677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 0);
4684 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4685 PyObject
*resultobj
;
4686 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4689 PyObject
* obj0
= 0 ;
4690 PyObject
* obj1
= 0 ;
4692 (char *) "self",(char *) "icon", NULL
4695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4697 if (SWIG_arg_fail(1)) SWIG_fail
;
4699 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4700 if (SWIG_arg_fail(2)) SWIG_fail
;
4702 SWIG_null_ref("wxIcon");
4704 if (SWIG_arg_fail(2)) SWIG_fail
;
4707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4708 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
4710 wxPyEndAllowThreads(__tstate
);
4711 if (PyErr_Occurred()) SWIG_fail
;
4714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4722 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4723 PyObject
*resultobj
;
4724 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4726 PyObject
* obj0
= 0 ;
4727 PyObject
* obj1
= 0 ;
4729 (char *) "self",(char *) "height", NULL
4732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4734 if (SWIG_arg_fail(1)) SWIG_fail
;
4736 arg2
= (int)(SWIG_As_int(obj1
));
4737 if (SWIG_arg_fail(2)) SWIG_fail
;
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 (arg1
)->SetHeight(arg2
);
4743 wxPyEndAllowThreads(__tstate
);
4744 if (PyErr_Occurred()) SWIG_fail
;
4746 Py_INCREF(Py_None
); resultobj
= Py_None
;
4753 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
*resultobj
;
4755 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4757 PyObject
* obj0
= 0 ;
4758 PyObject
* obj1
= 0 ;
4760 (char *) "self",(char *) "width", NULL
4763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4765 if (SWIG_arg_fail(1)) SWIG_fail
;
4767 arg2
= (int)(SWIG_As_int(obj1
));
4768 if (SWIG_arg_fail(2)) SWIG_fail
;
4771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4772 (arg1
)->SetWidth(arg2
);
4774 wxPyEndAllowThreads(__tstate
);
4775 if (PyErr_Occurred()) SWIG_fail
;
4777 Py_INCREF(Py_None
); resultobj
= Py_None
;
4784 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4785 PyObject
*resultobj
;
4786 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4788 PyObject
* obj0
= 0 ;
4789 PyObject
* obj1
= 0 ;
4791 (char *) "self",(char *) "depth", NULL
4794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4796 if (SWIG_arg_fail(1)) SWIG_fail
;
4798 arg2
= (int)(SWIG_As_int(obj1
));
4799 if (SWIG_arg_fail(2)) SWIG_fail
;
4802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4803 (arg1
)->SetDepth(arg2
);
4805 wxPyEndAllowThreads(__tstate
);
4806 if (PyErr_Occurred()) SWIG_fail
;
4808 Py_INCREF(Py_None
); resultobj
= Py_None
;
4815 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4816 PyObject
*resultobj
;
4817 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4820 PyObject
* obj0
= 0 ;
4821 PyObject
* obj1
= 0 ;
4823 (char *) "self",(char *) "size", NULL
4826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4828 if (SWIG_arg_fail(1)) SWIG_fail
;
4831 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4835 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
4837 wxPyEndAllowThreads(__tstate
);
4838 if (PyErr_Occurred()) SWIG_fail
;
4840 Py_INCREF(Py_None
); resultobj
= Py_None
;
4847 static PyObject
*_wrap_Bitmap___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4848 PyObject
*resultobj
;
4849 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4850 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
4852 PyObject
* obj0
= 0 ;
4853 PyObject
* obj1
= 0 ;
4855 (char *) "self",(char *) "other", NULL
4858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4860 if (SWIG_arg_fail(1)) SWIG_fail
;
4861 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4862 if (SWIG_arg_fail(2)) SWIG_fail
;
4864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4865 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
4867 wxPyEndAllowThreads(__tstate
);
4868 if (PyErr_Occurred()) SWIG_fail
;
4871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4879 static PyObject
*_wrap_Bitmap___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4880 PyObject
*resultobj
;
4881 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4882 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
4884 PyObject
* obj0
= 0 ;
4885 PyObject
* obj1
= 0 ;
4887 (char *) "self",(char *) "other", NULL
4890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4892 if (SWIG_arg_fail(1)) SWIG_fail
;
4893 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4894 if (SWIG_arg_fail(2)) SWIG_fail
;
4896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4897 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
4899 wxPyEndAllowThreads(__tstate
);
4900 if (PyErr_Occurred()) SWIG_fail
;
4903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4911 static PyObject
* Bitmap_swigregister(PyObject
*, PyObject
*args
) {
4913 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4914 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
4916 return Py_BuildValue((char *)"");
4918 static PyObject
*_wrap_new_Mask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4919 PyObject
*resultobj
;
4920 wxBitmap
*arg1
= 0 ;
4921 wxColour
const &arg2_defvalue
= wxNullColour
;
4922 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
4925 PyObject
* obj0
= 0 ;
4926 PyObject
* obj1
= 0 ;
4928 (char *) "bitmap",(char *) "colour", NULL
4931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
4933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4934 if (SWIG_arg_fail(1)) SWIG_fail
;
4936 SWIG_null_ref("wxBitmap");
4938 if (SWIG_arg_fail(1)) SWIG_fail
;
4943 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4947 if (!wxPyCheckForApp()) SWIG_fail
;
4948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4949 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
4951 wxPyEndAllowThreads(__tstate
);
4952 if (PyErr_Occurred()) SWIG_fail
;
4954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
4961 static PyObject
* Mask_swigregister(PyObject
*, PyObject
*args
) {
4963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4964 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
4966 return Py_BuildValue((char *)"");
4968 static PyObject
*_wrap_new_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4969 PyObject
*resultobj
;
4970 wxString
*arg1
= 0 ;
4972 int arg3
= (int) -1 ;
4973 int arg4
= (int) -1 ;
4975 bool temp1
= false ;
4976 PyObject
* obj0
= 0 ;
4977 PyObject
* obj1
= 0 ;
4978 PyObject
* obj2
= 0 ;
4979 PyObject
* obj3
= 0 ;
4981 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
4984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4986 arg1
= wxString_in_helper(obj0
);
4987 if (arg1
== NULL
) SWIG_fail
;
4991 arg2
= (wxBitmapType
)(SWIG_As_int(obj1
));
4992 if (SWIG_arg_fail(2)) SWIG_fail
;
4996 arg3
= (int)(SWIG_As_int(obj2
));
4997 if (SWIG_arg_fail(3)) SWIG_fail
;
5002 arg4
= (int)(SWIG_As_int(obj3
));
5003 if (SWIG_arg_fail(4)) SWIG_fail
;
5007 if (!wxPyCheckForApp()) SWIG_fail
;
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5029 static PyObject
*_wrap_delete_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5030 PyObject
*resultobj
;
5031 wxIcon
*arg1
= (wxIcon
*) 0 ;
5032 PyObject
* obj0
= 0 ;
5034 (char *) "self", NULL
5037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
5038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5039 if (SWIG_arg_fail(1)) SWIG_fail
;
5041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5044 wxPyEndAllowThreads(__tstate
);
5045 if (PyErr_Occurred()) SWIG_fail
;
5047 Py_INCREF(Py_None
); resultobj
= Py_None
;
5054 static PyObject
*_wrap_new_EmptyIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5055 PyObject
*resultobj
;
5061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
5063 if (!wxPyCheckForApp()) SWIG_fail
;
5064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5065 result
= (wxIcon
*)new wxIcon();
5067 wxPyEndAllowThreads(__tstate
);
5068 if (PyErr_Occurred()) SWIG_fail
;
5070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5077 static PyObject
*_wrap_new_IconFromLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5078 PyObject
*resultobj
;
5079 wxIconLocation
*arg1
= 0 ;
5081 PyObject
* obj0
= 0 ;
5083 (char *) "loc", NULL
5086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
5088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5089 if (SWIG_arg_fail(1)) SWIG_fail
;
5091 SWIG_null_ref("wxIconLocation");
5093 if (SWIG_arg_fail(1)) SWIG_fail
;
5096 if (!wxPyCheckForApp()) SWIG_fail
;
5097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5098 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
5100 wxPyEndAllowThreads(__tstate
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5110 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
*resultobj
;
5112 wxBitmap
*arg1
= 0 ;
5114 PyObject
* obj0
= 0 ;
5116 (char *) "bmp", NULL
5119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
5121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5122 if (SWIG_arg_fail(1)) SWIG_fail
;
5124 SWIG_null_ref("wxBitmap");
5126 if (SWIG_arg_fail(1)) SWIG_fail
;
5129 if (!wxPyCheckForApp()) SWIG_fail
;
5130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5131 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
5133 wxPyEndAllowThreads(__tstate
);
5134 if (PyErr_Occurred()) SWIG_fail
;
5136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5143 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5144 PyObject
*resultobj
;
5145 PyObject
*arg1
= (PyObject
*) 0 ;
5147 PyObject
* obj0
= 0 ;
5149 (char *) "listOfStrings", NULL
5152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
5155 if (!wxPyCheckForApp()) SWIG_fail
;
5156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5157 result
= (wxIcon
*)new_wxIcon(arg1
);
5159 wxPyEndAllowThreads(__tstate
);
5160 if (PyErr_Occurred()) SWIG_fail
;
5162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5169 static PyObject
*_wrap_Icon_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5170 PyObject
*resultobj
;
5171 wxIcon
*arg1
= (wxIcon
*) 0 ;
5173 PyObject
* obj0
= 0 ;
5175 (char *) "self", NULL
5178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
5179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5180 if (SWIG_arg_fail(1)) SWIG_fail
;
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 result
= (bool)(arg1
)->Ok();
5185 wxPyEndAllowThreads(__tstate
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5197 static PyObject
*_wrap_Icon_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5198 PyObject
*resultobj
;
5199 wxIcon
*arg1
= (wxIcon
*) 0 ;
5201 PyObject
* obj0
= 0 ;
5203 (char *) "self", NULL
5206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
5207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5208 if (SWIG_arg_fail(1)) SWIG_fail
;
5210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5211 result
= (int)(arg1
)->GetWidth();
5213 wxPyEndAllowThreads(__tstate
);
5214 if (PyErr_Occurred()) SWIG_fail
;
5217 resultobj
= SWIG_From_int((int)(result
));
5225 static PyObject
*_wrap_Icon_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5226 PyObject
*resultobj
;
5227 wxIcon
*arg1
= (wxIcon
*) 0 ;
5229 PyObject
* obj0
= 0 ;
5231 (char *) "self", NULL
5234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
5235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5236 if (SWIG_arg_fail(1)) SWIG_fail
;
5238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5239 result
= (int)(arg1
)->GetHeight();
5241 wxPyEndAllowThreads(__tstate
);
5242 if (PyErr_Occurred()) SWIG_fail
;
5245 resultobj
= SWIG_From_int((int)(result
));
5253 static PyObject
*_wrap_Icon_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5254 PyObject
*resultobj
;
5255 wxIcon
*arg1
= (wxIcon
*) 0 ;
5257 PyObject
* obj0
= 0 ;
5259 (char *) "self", NULL
5262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
5263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5264 if (SWIG_arg_fail(1)) SWIG_fail
;
5266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5267 result
= (int)(arg1
)->GetDepth();
5269 wxPyEndAllowThreads(__tstate
);
5270 if (PyErr_Occurred()) SWIG_fail
;
5273 resultobj
= SWIG_From_int((int)(result
));
5281 static PyObject
*_wrap_Icon_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5282 PyObject
*resultobj
;
5283 wxIcon
*arg1
= (wxIcon
*) 0 ;
5285 PyObject
* obj0
= 0 ;
5286 PyObject
* obj1
= 0 ;
5288 (char *) "self",(char *) "w", NULL
5291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5293 if (SWIG_arg_fail(1)) SWIG_fail
;
5295 arg2
= (int)(SWIG_As_int(obj1
));
5296 if (SWIG_arg_fail(2)) SWIG_fail
;
5299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5300 (arg1
)->SetWidth(arg2
);
5302 wxPyEndAllowThreads(__tstate
);
5303 if (PyErr_Occurred()) SWIG_fail
;
5305 Py_INCREF(Py_None
); resultobj
= Py_None
;
5312 static PyObject
*_wrap_Icon_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5313 PyObject
*resultobj
;
5314 wxIcon
*arg1
= (wxIcon
*) 0 ;
5316 PyObject
* obj0
= 0 ;
5317 PyObject
* obj1
= 0 ;
5319 (char *) "self",(char *) "h", NULL
5322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5324 if (SWIG_arg_fail(1)) SWIG_fail
;
5326 arg2
= (int)(SWIG_As_int(obj1
));
5327 if (SWIG_arg_fail(2)) SWIG_fail
;
5330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5331 (arg1
)->SetHeight(arg2
);
5333 wxPyEndAllowThreads(__tstate
);
5334 if (PyErr_Occurred()) SWIG_fail
;
5336 Py_INCREF(Py_None
); resultobj
= Py_None
;
5343 static PyObject
*_wrap_Icon_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5344 PyObject
*resultobj
;
5345 wxIcon
*arg1
= (wxIcon
*) 0 ;
5347 PyObject
* obj0
= 0 ;
5348 PyObject
* obj1
= 0 ;
5350 (char *) "self",(char *) "d", NULL
5353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
5354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5355 if (SWIG_arg_fail(1)) SWIG_fail
;
5357 arg2
= (int)(SWIG_As_int(obj1
));
5358 if (SWIG_arg_fail(2)) SWIG_fail
;
5361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5362 (arg1
)->SetDepth(arg2
);
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5367 Py_INCREF(Py_None
); resultobj
= Py_None
;
5374 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5375 PyObject
*resultobj
;
5376 wxIcon
*arg1
= (wxIcon
*) 0 ;
5377 wxBitmap
*arg2
= 0 ;
5378 PyObject
* obj0
= 0 ;
5379 PyObject
* obj1
= 0 ;
5381 (char *) "self",(char *) "bmp", NULL
5384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5386 if (SWIG_arg_fail(1)) SWIG_fail
;
5388 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5389 if (SWIG_arg_fail(2)) SWIG_fail
;
5391 SWIG_null_ref("wxBitmap");
5393 if (SWIG_arg_fail(2)) SWIG_fail
;
5396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5397 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
5399 wxPyEndAllowThreads(__tstate
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5402 Py_INCREF(Py_None
); resultobj
= Py_None
;
5409 static PyObject
* Icon_swigregister(PyObject
*, PyObject
*args
) {
5411 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5412 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
5414 return Py_BuildValue((char *)"");
5416 static PyObject
*_wrap_new_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5417 PyObject
*resultobj
;
5418 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
5419 int arg2
= (int) 0 ;
5420 wxIconLocation
*result
;
5421 bool temp1
= false ;
5422 PyObject
* obj0
= 0 ;
5423 PyObject
* obj1
= 0 ;
5425 (char *) "filename",(char *) "num", NULL
5428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
5431 arg1
= wxString_in_helper(obj0
);
5432 if (arg1
== NULL
) SWIG_fail
;
5438 arg2
= (int)(SWIG_As_int(obj1
));
5439 if (SWIG_arg_fail(2)) SWIG_fail
;
5443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5444 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
5446 wxPyEndAllowThreads(__tstate
);
5447 if (PyErr_Occurred()) SWIG_fail
;
5449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
5464 static PyObject
*_wrap_delete_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5465 PyObject
*resultobj
;
5466 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5467 PyObject
* obj0
= 0 ;
5469 (char *) "self", NULL
5472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
5473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5474 if (SWIG_arg_fail(1)) SWIG_fail
;
5476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5479 wxPyEndAllowThreads(__tstate
);
5480 if (PyErr_Occurred()) SWIG_fail
;
5482 Py_INCREF(Py_None
); resultobj
= Py_None
;
5489 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5490 PyObject
*resultobj
;
5491 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5493 PyObject
* obj0
= 0 ;
5495 (char *) "self", NULL
5498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
5499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5500 if (SWIG_arg_fail(1)) SWIG_fail
;
5502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5503 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
5505 wxPyEndAllowThreads(__tstate
);
5506 if (PyErr_Occurred()) SWIG_fail
;
5509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5517 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5518 PyObject
*resultobj
;
5519 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5520 wxString
*arg2
= 0 ;
5521 bool temp2
= false ;
5522 PyObject
* obj0
= 0 ;
5523 PyObject
* obj1
= 0 ;
5525 (char *) "self",(char *) "filename", NULL
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
5529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5530 if (SWIG_arg_fail(1)) SWIG_fail
;
5532 arg2
= wxString_in_helper(obj1
);
5533 if (arg2
== NULL
) SWIG_fail
;
5537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5538 (arg1
)->SetFileName((wxString
const &)*arg2
);
5540 wxPyEndAllowThreads(__tstate
);
5541 if (PyErr_Occurred()) SWIG_fail
;
5543 Py_INCREF(Py_None
); resultobj
= Py_None
;
5558 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5559 PyObject
*resultobj
;
5560 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5562 PyObject
* obj0
= 0 ;
5564 (char *) "self", NULL
5567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
5568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5569 if (SWIG_arg_fail(1)) SWIG_fail
;
5571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5573 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
5574 result
= (wxString
*) &_result_ref
;
5577 wxPyEndAllowThreads(__tstate
);
5578 if (PyErr_Occurred()) SWIG_fail
;
5582 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5584 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5593 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5594 PyObject
*resultobj
;
5595 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5597 PyObject
* obj0
= 0 ;
5598 PyObject
* obj1
= 0 ;
5600 (char *) "self",(char *) "num", NULL
5603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
5604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5605 if (SWIG_arg_fail(1)) SWIG_fail
;
5607 arg2
= (int)(SWIG_As_int(obj1
));
5608 if (SWIG_arg_fail(2)) SWIG_fail
;
5611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5612 wxIconLocation_SetIndex(arg1
,arg2
);
5614 wxPyEndAllowThreads(__tstate
);
5615 if (PyErr_Occurred()) SWIG_fail
;
5617 Py_INCREF(Py_None
); resultobj
= Py_None
;
5624 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5625 PyObject
*resultobj
;
5626 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5628 PyObject
* obj0
= 0 ;
5630 (char *) "self", NULL
5633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
5634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5635 if (SWIG_arg_fail(1)) SWIG_fail
;
5637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5638 result
= (int)wxIconLocation_GetIndex(arg1
);
5640 wxPyEndAllowThreads(__tstate
);
5641 if (PyErr_Occurred()) SWIG_fail
;
5644 resultobj
= SWIG_From_int((int)(result
));
5652 static PyObject
* IconLocation_swigregister(PyObject
*, PyObject
*args
) {
5654 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5655 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
5657 return Py_BuildValue((char *)"");
5659 static PyObject
*_wrap_new_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
*resultobj
;
5661 wxIconBundle
*result
;
5666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
5668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5669 result
= (wxIconBundle
*)new wxIconBundle();
5671 wxPyEndAllowThreads(__tstate
);
5672 if (PyErr_Occurred()) SWIG_fail
;
5674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
5681 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
*resultobj
;
5683 wxString
*arg1
= 0 ;
5685 wxIconBundle
*result
;
5686 bool temp1
= false ;
5687 PyObject
* obj0
= 0 ;
5688 PyObject
* obj1
= 0 ;
5690 (char *) "file",(char *) "type", NULL
5693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5695 arg1
= wxString_in_helper(obj0
);
5696 if (arg1
== NULL
) SWIG_fail
;
5700 arg2
= (long)(SWIG_As_long(obj1
));
5701 if (SWIG_arg_fail(2)) SWIG_fail
;
5704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5705 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
5707 wxPyEndAllowThreads(__tstate
);
5708 if (PyErr_Occurred()) SWIG_fail
;
5710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
5725 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5726 PyObject
*resultobj
;
5728 wxIconBundle
*result
;
5729 PyObject
* obj0
= 0 ;
5731 (char *) "icon", NULL
5734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
5736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5737 if (SWIG_arg_fail(1)) SWIG_fail
;
5739 SWIG_null_ref("wxIcon");
5741 if (SWIG_arg_fail(1)) SWIG_fail
;
5744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5745 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
5747 wxPyEndAllowThreads(__tstate
);
5748 if (PyErr_Occurred()) SWIG_fail
;
5750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
5757 static PyObject
*_wrap_delete_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5758 PyObject
*resultobj
;
5759 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
5760 PyObject
* obj0
= 0 ;
5762 (char *) "self", NULL
5765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
5766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
5767 if (SWIG_arg_fail(1)) SWIG_fail
;
5769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5772 wxPyEndAllowThreads(__tstate
);
5773 if (PyErr_Occurred()) SWIG_fail
;
5775 Py_INCREF(Py_None
); resultobj
= Py_None
;
5782 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5783 PyObject
*resultobj
;
5784 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
5786 PyObject
* obj0
= 0 ;
5787 PyObject
* obj1
= 0 ;
5789 (char *) "self",(char *) "icon", NULL
5792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
5794 if (SWIG_arg_fail(1)) SWIG_fail
;
5796 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5797 if (SWIG_arg_fail(2)) SWIG_fail
;
5799 SWIG_null_ref("wxIcon");
5801 if (SWIG_arg_fail(2)) SWIG_fail
;
5804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5805 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
5807 wxPyEndAllowThreads(__tstate
);
5808 if (PyErr_Occurred()) SWIG_fail
;
5810 Py_INCREF(Py_None
); resultobj
= Py_None
;
5817 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5818 PyObject
*resultobj
;
5819 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
5820 wxString
*arg2
= 0 ;
5822 bool temp2
= false ;
5823 PyObject
* obj0
= 0 ;
5824 PyObject
* obj1
= 0 ;
5825 PyObject
* obj2
= 0 ;
5827 (char *) "self",(char *) "file",(char *) "type", NULL
5830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
5832 if (SWIG_arg_fail(1)) SWIG_fail
;
5834 arg2
= wxString_in_helper(obj1
);
5835 if (arg2
== NULL
) SWIG_fail
;
5839 arg3
= (long)(SWIG_As_long(obj2
));
5840 if (SWIG_arg_fail(3)) SWIG_fail
;
5843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5844 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
5846 wxPyEndAllowThreads(__tstate
);
5847 if (PyErr_Occurred()) SWIG_fail
;
5849 Py_INCREF(Py_None
); resultobj
= Py_None
;
5864 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
*resultobj
;
5866 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
5870 PyObject
* obj0
= 0 ;
5871 PyObject
* obj1
= 0 ;
5873 (char *) "self",(char *) "size", NULL
5876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
5878 if (SWIG_arg_fail(1)) SWIG_fail
;
5881 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5886 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
5887 result
= (wxIcon
*) &_result_ref
;
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) SWIG_fail
;
5894 wxIcon
* resultptr
= new wxIcon(*result
);
5895 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
5903 static PyObject
* IconBundle_swigregister(PyObject
*, PyObject
*args
) {
5905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5906 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
5908 return Py_BuildValue((char *)"");
5910 static PyObject
*_wrap_new_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5911 PyObject
*resultobj
;
5912 wxString
*arg1
= 0 ;
5914 int arg3
= (int) 0 ;
5915 int arg4
= (int) 0 ;
5917 bool temp1
= false ;
5918 PyObject
* obj0
= 0 ;
5919 PyObject
* obj1
= 0 ;
5920 PyObject
* obj2
= 0 ;
5921 PyObject
* obj3
= 0 ;
5923 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
5926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5928 arg1
= wxString_in_helper(obj0
);
5929 if (arg1
== NULL
) SWIG_fail
;
5933 arg2
= (long)(SWIG_As_long(obj1
));
5934 if (SWIG_arg_fail(2)) SWIG_fail
;
5938 arg3
= (int)(SWIG_As_int(obj2
));
5939 if (SWIG_arg_fail(3)) SWIG_fail
;
5944 arg4
= (int)(SWIG_As_int(obj3
));
5945 if (SWIG_arg_fail(4)) SWIG_fail
;
5949 if (!wxPyCheckForApp()) SWIG_fail
;
5950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5951 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
5953 wxPyEndAllowThreads(__tstate
);
5954 if (PyErr_Occurred()) SWIG_fail
;
5956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
5971 static PyObject
*_wrap_delete_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5972 PyObject
*resultobj
;
5973 wxCursor
*arg1
= (wxCursor
*) 0 ;
5974 PyObject
* obj0
= 0 ;
5976 (char *) "self", NULL
5979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
5980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5981 if (SWIG_arg_fail(1)) SWIG_fail
;
5983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5986 wxPyEndAllowThreads(__tstate
);
5987 if (PyErr_Occurred()) SWIG_fail
;
5989 Py_INCREF(Py_None
); resultobj
= Py_None
;
5996 static PyObject
*_wrap_new_StockCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5997 PyObject
*resultobj
;
6000 PyObject
* obj0
= 0 ;
6005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
6007 arg1
= (int)(SWIG_As_int(obj0
));
6008 if (SWIG_arg_fail(1)) SWIG_fail
;
6011 if (!wxPyCheckForApp()) SWIG_fail
;
6012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6013 result
= (wxCursor
*)new wxCursor(arg1
);
6015 wxPyEndAllowThreads(__tstate
);
6016 if (PyErr_Occurred()) SWIG_fail
;
6018 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6025 static PyObject
*_wrap_new_CursorFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6026 PyObject
*resultobj
;
6029 PyObject
* obj0
= 0 ;
6031 (char *) "image", NULL
6034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
6036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
6037 if (SWIG_arg_fail(1)) SWIG_fail
;
6039 SWIG_null_ref("wxImage");
6041 if (SWIG_arg_fail(1)) SWIG_fail
;
6044 if (!wxPyCheckForApp()) SWIG_fail
;
6045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6046 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
6048 wxPyEndAllowThreads(__tstate
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6058 static PyObject
*_wrap_Cursor_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6059 PyObject
*resultobj
;
6060 wxCursor
*arg1
= (wxCursor
*) 0 ;
6062 PyObject
* obj0
= 0 ;
6064 (char *) "self", NULL
6067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
6068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6069 if (SWIG_arg_fail(1)) SWIG_fail
;
6071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6072 result
= (bool)(arg1
)->Ok();
6074 wxPyEndAllowThreads(__tstate
);
6075 if (PyErr_Occurred()) SWIG_fail
;
6078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6086 static PyObject
* Cursor_swigregister(PyObject
*, PyObject
*args
) {
6088 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6089 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
6091 return Py_BuildValue((char *)"");
6093 static PyObject
*_wrap_new_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6094 PyObject
*resultobj
;
6095 int arg1
= (int) 0 ;
6096 int arg2
= (int) 0 ;
6097 int arg3
= (int) 0 ;
6098 int arg4
= (int) 0 ;
6100 PyObject
* obj0
= 0 ;
6101 PyObject
* obj1
= 0 ;
6102 PyObject
* obj2
= 0 ;
6103 PyObject
* obj3
= 0 ;
6105 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6111 arg1
= (int)(SWIG_As_int(obj0
));
6112 if (SWIG_arg_fail(1)) SWIG_fail
;
6117 arg2
= (int)(SWIG_As_int(obj1
));
6118 if (SWIG_arg_fail(2)) SWIG_fail
;
6123 arg3
= (int)(SWIG_As_int(obj2
));
6124 if (SWIG_arg_fail(3)) SWIG_fail
;
6129 arg4
= (int)(SWIG_As_int(obj3
));
6130 if (SWIG_arg_fail(4)) SWIG_fail
;
6134 if (!wxPyCheckForApp()) SWIG_fail
;
6135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6136 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
6138 wxPyEndAllowThreads(__tstate
);
6139 if (PyErr_Occurred()) SWIG_fail
;
6141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6148 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6149 PyObject
*resultobj
;
6150 wxBitmap
*arg1
= 0 ;
6152 PyObject
* obj0
= 0 ;
6154 (char *) "bmp", NULL
6157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
6159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6160 if (SWIG_arg_fail(1)) SWIG_fail
;
6162 SWIG_null_ref("wxBitmap");
6164 if (SWIG_arg_fail(1)) SWIG_fail
;
6167 if (!wxPyCheckForApp()) SWIG_fail
;
6168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6169 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
6171 wxPyEndAllowThreads(__tstate
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6181 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
*resultobj
;
6183 wxBitmap
*arg1
= 0 ;
6184 wxColour
*arg2
= 0 ;
6185 int arg3
= (int) 0 ;
6188 PyObject
* obj0
= 0 ;
6189 PyObject
* obj1
= 0 ;
6190 PyObject
* obj2
= 0 ;
6192 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
6195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6198 if (SWIG_arg_fail(1)) SWIG_fail
;
6200 SWIG_null_ref("wxBitmap");
6202 if (SWIG_arg_fail(1)) SWIG_fail
;
6206 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6210 arg3
= (int)(SWIG_As_int(obj2
));
6211 if (SWIG_arg_fail(3)) SWIG_fail
;
6215 if (!wxPyCheckForApp()) SWIG_fail
;
6216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6217 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
6219 wxPyEndAllowThreads(__tstate
);
6220 if (PyErr_Occurred()) SWIG_fail
;
6222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6229 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6230 PyObject
*resultobj
;
6232 wxPoint
*arg2
= (wxPoint
*) 0 ;
6233 int arg3
= (int) wxWINDING_RULE
;
6235 PyObject
* obj0
= 0 ;
6236 PyObject
* obj1
= 0 ;
6238 (char *) "points",(char *) "fillStyle", NULL
6241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
6243 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
6244 if (arg2
== NULL
) SWIG_fail
;
6248 arg3
= (int)(SWIG_As_int(obj1
));
6249 if (SWIG_arg_fail(3)) SWIG_fail
;
6253 if (!wxPyCheckForApp()) SWIG_fail
;
6254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6255 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
6257 wxPyEndAllowThreads(__tstate
);
6258 if (PyErr_Occurred()) SWIG_fail
;
6260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6262 if (arg2
) delete [] arg2
;
6267 if (arg2
) delete [] arg2
;
6273 static PyObject
*_wrap_delete_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6274 PyObject
*resultobj
;
6275 wxRegion
*arg1
= (wxRegion
*) 0 ;
6276 PyObject
* obj0
= 0 ;
6278 (char *) "self", NULL
6281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
6282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6283 if (SWIG_arg_fail(1)) SWIG_fail
;
6285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6288 wxPyEndAllowThreads(__tstate
);
6289 if (PyErr_Occurred()) SWIG_fail
;
6291 Py_INCREF(Py_None
); resultobj
= Py_None
;
6298 static PyObject
*_wrap_Region_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6299 PyObject
*resultobj
;
6300 wxRegion
*arg1
= (wxRegion
*) 0 ;
6301 PyObject
* obj0
= 0 ;
6303 (char *) "self", NULL
6306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
6307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6308 if (SWIG_arg_fail(1)) SWIG_fail
;
6310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6313 wxPyEndAllowThreads(__tstate
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6316 Py_INCREF(Py_None
); resultobj
= Py_None
;
6323 static PyObject
*_wrap_Region_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6324 PyObject
*resultobj
;
6325 wxRegion
*arg1
= (wxRegion
*) 0 ;
6329 PyObject
* obj0
= 0 ;
6330 PyObject
* obj1
= 0 ;
6331 PyObject
* obj2
= 0 ;
6333 (char *) "self",(char *) "x",(char *) "y", NULL
6336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6338 if (SWIG_arg_fail(1)) SWIG_fail
;
6340 arg2
= (int)(SWIG_As_int(obj1
));
6341 if (SWIG_arg_fail(2)) SWIG_fail
;
6344 arg3
= (int)(SWIG_As_int(obj2
));
6345 if (SWIG_arg_fail(3)) SWIG_fail
;
6348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6349 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
6351 wxPyEndAllowThreads(__tstate
);
6352 if (PyErr_Occurred()) SWIG_fail
;
6355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6363 static PyObject
*_wrap_Region_Contains(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
*resultobj
;
6365 wxRegion
*arg1
= (wxRegion
*) 0 ;
6368 wxRegionContain result
;
6369 PyObject
* obj0
= 0 ;
6370 PyObject
* obj1
= 0 ;
6371 PyObject
* obj2
= 0 ;
6373 (char *) "self",(char *) "x",(char *) "y", NULL
6376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6378 if (SWIG_arg_fail(1)) SWIG_fail
;
6380 arg2
= (int)(SWIG_As_int(obj1
));
6381 if (SWIG_arg_fail(2)) SWIG_fail
;
6384 arg3
= (int)(SWIG_As_int(obj2
));
6385 if (SWIG_arg_fail(3)) SWIG_fail
;
6388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6389 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
6391 wxPyEndAllowThreads(__tstate
);
6392 if (PyErr_Occurred()) SWIG_fail
;
6394 resultobj
= SWIG_From_int((result
));
6401 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6402 PyObject
*resultobj
;
6403 wxRegion
*arg1
= (wxRegion
*) 0 ;
6405 wxRegionContain result
;
6407 PyObject
* obj0
= 0 ;
6408 PyObject
* obj1
= 0 ;
6410 (char *) "self",(char *) "pt", NULL
6413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
6414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6415 if (SWIG_arg_fail(1)) SWIG_fail
;
6418 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6422 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
6424 wxPyEndAllowThreads(__tstate
);
6425 if (PyErr_Occurred()) SWIG_fail
;
6427 resultobj
= SWIG_From_int((result
));
6434 static PyObject
*_wrap_Region_ContainsRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6435 PyObject
*resultobj
;
6436 wxRegion
*arg1
= (wxRegion
*) 0 ;
6438 wxRegionContain result
;
6440 PyObject
* obj0
= 0 ;
6441 PyObject
* obj1
= 0 ;
6443 (char *) "self",(char *) "rect", NULL
6446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6448 if (SWIG_arg_fail(1)) SWIG_fail
;
6451 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6455 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
6457 wxPyEndAllowThreads(__tstate
);
6458 if (PyErr_Occurred()) SWIG_fail
;
6460 resultobj
= SWIG_From_int((result
));
6467 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6468 PyObject
*resultobj
;
6469 wxRegion
*arg1
= (wxRegion
*) 0 ;
6474 wxRegionContain result
;
6475 PyObject
* obj0
= 0 ;
6476 PyObject
* obj1
= 0 ;
6477 PyObject
* obj2
= 0 ;
6478 PyObject
* obj3
= 0 ;
6479 PyObject
* obj4
= 0 ;
6481 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
6484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6486 if (SWIG_arg_fail(1)) SWIG_fail
;
6488 arg2
= (int)(SWIG_As_int(obj1
));
6489 if (SWIG_arg_fail(2)) SWIG_fail
;
6492 arg3
= (int)(SWIG_As_int(obj2
));
6493 if (SWIG_arg_fail(3)) SWIG_fail
;
6496 arg4
= (int)(SWIG_As_int(obj3
));
6497 if (SWIG_arg_fail(4)) SWIG_fail
;
6500 arg5
= (int)(SWIG_As_int(obj4
));
6501 if (SWIG_arg_fail(5)) SWIG_fail
;
6504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6505 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
6507 wxPyEndAllowThreads(__tstate
);
6508 if (PyErr_Occurred()) SWIG_fail
;
6510 resultobj
= SWIG_From_int((result
));
6517 static PyObject
*_wrap_Region_GetBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6518 PyObject
*resultobj
;
6519 wxRegion
*arg1
= (wxRegion
*) 0 ;
6521 PyObject
* obj0
= 0 ;
6523 (char *) "self", NULL
6526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
6527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6528 if (SWIG_arg_fail(1)) SWIG_fail
;
6530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6531 result
= (arg1
)->GetBox();
6533 wxPyEndAllowThreads(__tstate
);
6534 if (PyErr_Occurred()) SWIG_fail
;
6538 resultptr
= new wxRect((wxRect
&)(result
));
6539 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
6547 static PyObject
*_wrap_Region_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6548 PyObject
*resultobj
;
6549 wxRegion
*arg1
= (wxRegion
*) 0 ;
6555 PyObject
* obj0
= 0 ;
6556 PyObject
* obj1
= 0 ;
6557 PyObject
* obj2
= 0 ;
6558 PyObject
* obj3
= 0 ;
6559 PyObject
* obj4
= 0 ;
6561 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6566 if (SWIG_arg_fail(1)) SWIG_fail
;
6568 arg2
= (int)(SWIG_As_int(obj1
));
6569 if (SWIG_arg_fail(2)) SWIG_fail
;
6572 arg3
= (int)(SWIG_As_int(obj2
));
6573 if (SWIG_arg_fail(3)) SWIG_fail
;
6576 arg4
= (int)(SWIG_As_int(obj3
));
6577 if (SWIG_arg_fail(4)) SWIG_fail
;
6580 arg5
= (int)(SWIG_As_int(obj4
));
6581 if (SWIG_arg_fail(5)) SWIG_fail
;
6584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6585 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
6587 wxPyEndAllowThreads(__tstate
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6599 static PyObject
*_wrap_Region_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6600 PyObject
*resultobj
;
6601 wxRegion
*arg1
= (wxRegion
*) 0 ;
6605 PyObject
* obj0
= 0 ;
6606 PyObject
* obj1
= 0 ;
6608 (char *) "self",(char *) "rect", NULL
6611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6613 if (SWIG_arg_fail(1)) SWIG_fail
;
6616 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6620 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
6622 wxPyEndAllowThreads(__tstate
);
6623 if (PyErr_Occurred()) SWIG_fail
;
6626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6634 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6635 PyObject
*resultobj
;
6636 wxRegion
*arg1
= (wxRegion
*) 0 ;
6637 wxRegion
*arg2
= 0 ;
6639 PyObject
* obj0
= 0 ;
6640 PyObject
* obj1
= 0 ;
6642 (char *) "self",(char *) "region", NULL
6645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6647 if (SWIG_arg_fail(1)) SWIG_fail
;
6649 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6650 if (SWIG_arg_fail(2)) SWIG_fail
;
6652 SWIG_null_ref("wxRegion");
6654 if (SWIG_arg_fail(2)) SWIG_fail
;
6657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6658 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
6660 wxPyEndAllowThreads(__tstate
);
6661 if (PyErr_Occurred()) SWIG_fail
;
6664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6672 static PyObject
*_wrap_Region_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
*resultobj
;
6674 wxRegion
*arg1
= (wxRegion
*) 0 ;
6676 PyObject
* obj0
= 0 ;
6678 (char *) "self", NULL
6681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
6682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6683 if (SWIG_arg_fail(1)) SWIG_fail
;
6685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6686 result
= (bool)(arg1
)->IsEmpty();
6688 wxPyEndAllowThreads(__tstate
);
6689 if (PyErr_Occurred()) SWIG_fail
;
6692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6700 static PyObject
*_wrap_Region_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6701 PyObject
*resultobj
;
6702 wxRegion
*arg1
= (wxRegion
*) 0 ;
6708 PyObject
* obj0
= 0 ;
6709 PyObject
* obj1
= 0 ;
6710 PyObject
* obj2
= 0 ;
6711 PyObject
* obj3
= 0 ;
6712 PyObject
* obj4
= 0 ;
6714 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6719 if (SWIG_arg_fail(1)) SWIG_fail
;
6721 arg2
= (int)(SWIG_As_int(obj1
));
6722 if (SWIG_arg_fail(2)) SWIG_fail
;
6725 arg3
= (int)(SWIG_As_int(obj2
));
6726 if (SWIG_arg_fail(3)) SWIG_fail
;
6729 arg4
= (int)(SWIG_As_int(obj3
));
6730 if (SWIG_arg_fail(4)) SWIG_fail
;
6733 arg5
= (int)(SWIG_As_int(obj4
));
6734 if (SWIG_arg_fail(5)) SWIG_fail
;
6737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6738 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
6740 wxPyEndAllowThreads(__tstate
);
6741 if (PyErr_Occurred()) SWIG_fail
;
6744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6752 static PyObject
*_wrap_Region_UnionRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6753 PyObject
*resultobj
;
6754 wxRegion
*arg1
= (wxRegion
*) 0 ;
6758 PyObject
* obj0
= 0 ;
6759 PyObject
* obj1
= 0 ;
6761 (char *) "self",(char *) "rect", NULL
6764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6766 if (SWIG_arg_fail(1)) SWIG_fail
;
6769 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6773 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
6775 wxPyEndAllowThreads(__tstate
);
6776 if (PyErr_Occurred()) SWIG_fail
;
6779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6787 static PyObject
*_wrap_Region_UnionRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6788 PyObject
*resultobj
;
6789 wxRegion
*arg1
= (wxRegion
*) 0 ;
6790 wxRegion
*arg2
= 0 ;
6792 PyObject
* obj0
= 0 ;
6793 PyObject
* obj1
= 0 ;
6795 (char *) "self",(char *) "region", NULL
6798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6800 if (SWIG_arg_fail(1)) SWIG_fail
;
6802 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6803 if (SWIG_arg_fail(2)) SWIG_fail
;
6805 SWIG_null_ref("wxRegion");
6807 if (SWIG_arg_fail(2)) SWIG_fail
;
6810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6811 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
6813 wxPyEndAllowThreads(__tstate
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6825 static PyObject
*_wrap_Region_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6826 PyObject
*resultobj
;
6827 wxRegion
*arg1
= (wxRegion
*) 0 ;
6833 PyObject
* obj0
= 0 ;
6834 PyObject
* obj1
= 0 ;
6835 PyObject
* obj2
= 0 ;
6836 PyObject
* obj3
= 0 ;
6837 PyObject
* obj4
= 0 ;
6839 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6844 if (SWIG_arg_fail(1)) SWIG_fail
;
6846 arg2
= (int)(SWIG_As_int(obj1
));
6847 if (SWIG_arg_fail(2)) SWIG_fail
;
6850 arg3
= (int)(SWIG_As_int(obj2
));
6851 if (SWIG_arg_fail(3)) SWIG_fail
;
6854 arg4
= (int)(SWIG_As_int(obj3
));
6855 if (SWIG_arg_fail(4)) SWIG_fail
;
6858 arg5
= (int)(SWIG_As_int(obj4
));
6859 if (SWIG_arg_fail(5)) SWIG_fail
;
6862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6863 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
6865 wxPyEndAllowThreads(__tstate
);
6866 if (PyErr_Occurred()) SWIG_fail
;
6869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6877 static PyObject
*_wrap_Region_SubtractRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6878 PyObject
*resultobj
;
6879 wxRegion
*arg1
= (wxRegion
*) 0 ;
6883 PyObject
* obj0
= 0 ;
6884 PyObject
* obj1
= 0 ;
6886 (char *) "self",(char *) "rect", NULL
6889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6891 if (SWIG_arg_fail(1)) SWIG_fail
;
6894 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
6900 wxPyEndAllowThreads(__tstate
);
6901 if (PyErr_Occurred()) SWIG_fail
;
6904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6912 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6913 PyObject
*resultobj
;
6914 wxRegion
*arg1
= (wxRegion
*) 0 ;
6915 wxRegion
*arg2
= 0 ;
6917 PyObject
* obj0
= 0 ;
6918 PyObject
* obj1
= 0 ;
6920 (char *) "self",(char *) "region", NULL
6923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6925 if (SWIG_arg_fail(1)) SWIG_fail
;
6927 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6928 if (SWIG_arg_fail(2)) SWIG_fail
;
6930 SWIG_null_ref("wxRegion");
6932 if (SWIG_arg_fail(2)) SWIG_fail
;
6935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6936 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
6938 wxPyEndAllowThreads(__tstate
);
6939 if (PyErr_Occurred()) SWIG_fail
;
6942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6950 static PyObject
*_wrap_Region_Xor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6951 PyObject
*resultobj
;
6952 wxRegion
*arg1
= (wxRegion
*) 0 ;
6958 PyObject
* obj0
= 0 ;
6959 PyObject
* obj1
= 0 ;
6960 PyObject
* obj2
= 0 ;
6961 PyObject
* obj3
= 0 ;
6962 PyObject
* obj4
= 0 ;
6964 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6969 if (SWIG_arg_fail(1)) SWIG_fail
;
6971 arg2
= (int)(SWIG_As_int(obj1
));
6972 if (SWIG_arg_fail(2)) SWIG_fail
;
6975 arg3
= (int)(SWIG_As_int(obj2
));
6976 if (SWIG_arg_fail(3)) SWIG_fail
;
6979 arg4
= (int)(SWIG_As_int(obj3
));
6980 if (SWIG_arg_fail(4)) SWIG_fail
;
6983 arg5
= (int)(SWIG_As_int(obj4
));
6984 if (SWIG_arg_fail(5)) SWIG_fail
;
6987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6988 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
6990 wxPyEndAllowThreads(__tstate
);
6991 if (PyErr_Occurred()) SWIG_fail
;
6994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7002 static PyObject
*_wrap_Region_XorRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7003 PyObject
*resultobj
;
7004 wxRegion
*arg1
= (wxRegion
*) 0 ;
7008 PyObject
* obj0
= 0 ;
7009 PyObject
* obj1
= 0 ;
7011 (char *) "self",(char *) "rect", NULL
7014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7016 if (SWIG_arg_fail(1)) SWIG_fail
;
7019 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7023 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
7025 wxPyEndAllowThreads(__tstate
);
7026 if (PyErr_Occurred()) SWIG_fail
;
7029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7037 static PyObject
*_wrap_Region_XorRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7038 PyObject
*resultobj
;
7039 wxRegion
*arg1
= (wxRegion
*) 0 ;
7040 wxRegion
*arg2
= 0 ;
7042 PyObject
* obj0
= 0 ;
7043 PyObject
* obj1
= 0 ;
7045 (char *) "self",(char *) "region", NULL
7048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
7049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7050 if (SWIG_arg_fail(1)) SWIG_fail
;
7052 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7053 if (SWIG_arg_fail(2)) SWIG_fail
;
7055 SWIG_null_ref("wxRegion");
7057 if (SWIG_arg_fail(2)) SWIG_fail
;
7060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7061 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
7063 wxPyEndAllowThreads(__tstate
);
7064 if (PyErr_Occurred()) SWIG_fail
;
7067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7075 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7076 PyObject
*resultobj
;
7077 wxRegion
*arg1
= (wxRegion
*) 0 ;
7078 SwigValueWrapper
<wxBitmap
> result
;
7079 PyObject
* obj0
= 0 ;
7081 (char *) "self", NULL
7084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
7085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7086 if (SWIG_arg_fail(1)) SWIG_fail
;
7088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7089 result
= (arg1
)->ConvertToBitmap();
7091 wxPyEndAllowThreads(__tstate
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7095 wxBitmap
* resultptr
;
7096 resultptr
= new wxBitmap((wxBitmap
&)(result
));
7097 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
7105 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7106 PyObject
*resultobj
;
7107 wxRegion
*arg1
= (wxRegion
*) 0 ;
7108 wxBitmap
*arg2
= 0 ;
7110 PyObject
* obj0
= 0 ;
7111 PyObject
* obj1
= 0 ;
7113 (char *) "self",(char *) "bmp", NULL
7116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7118 if (SWIG_arg_fail(1)) SWIG_fail
;
7120 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7121 if (SWIG_arg_fail(2)) SWIG_fail
;
7123 SWIG_null_ref("wxBitmap");
7125 if (SWIG_arg_fail(2)) SWIG_fail
;
7128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7129 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
7131 wxPyEndAllowThreads(__tstate
);
7132 if (PyErr_Occurred()) SWIG_fail
;
7135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7143 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7144 PyObject
*resultobj
;
7145 wxRegion
*arg1
= (wxRegion
*) 0 ;
7146 wxBitmap
*arg2
= 0 ;
7147 wxColour
*arg3
= 0 ;
7148 int arg4
= (int) 0 ;
7151 PyObject
* obj0
= 0 ;
7152 PyObject
* obj1
= 0 ;
7153 PyObject
* obj2
= 0 ;
7154 PyObject
* obj3
= 0 ;
7156 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
7159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7161 if (SWIG_arg_fail(1)) SWIG_fail
;
7163 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7164 if (SWIG_arg_fail(2)) SWIG_fail
;
7166 SWIG_null_ref("wxBitmap");
7168 if (SWIG_arg_fail(2)) SWIG_fail
;
7172 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
7176 arg4
= (int)(SWIG_As_int(obj3
));
7177 if (SWIG_arg_fail(4)) SWIG_fail
;
7181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7182 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
7184 wxPyEndAllowThreads(__tstate
);
7185 if (PyErr_Occurred()) SWIG_fail
;
7188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7196 static PyObject
* Region_swigregister(PyObject
*, PyObject
*args
) {
7198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7199 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
7201 return Py_BuildValue((char *)"");
7203 static PyObject
*_wrap_new_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7204 PyObject
*resultobj
;
7205 wxRegion
*arg1
= 0 ;
7206 wxRegionIterator
*result
;
7207 PyObject
* obj0
= 0 ;
7209 (char *) "region", NULL
7212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
7214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7215 if (SWIG_arg_fail(1)) SWIG_fail
;
7217 SWIG_null_ref("wxRegion");
7219 if (SWIG_arg_fail(1)) SWIG_fail
;
7222 if (!wxPyCheckForApp()) SWIG_fail
;
7223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7224 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
7226 wxPyEndAllowThreads(__tstate
);
7227 if (PyErr_Occurred()) SWIG_fail
;
7229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
7236 static PyObject
*_wrap_delete_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7237 PyObject
*resultobj
;
7238 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7239 PyObject
* obj0
= 0 ;
7241 (char *) "self", NULL
7244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
7245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7246 if (SWIG_arg_fail(1)) SWIG_fail
;
7248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7251 wxPyEndAllowThreads(__tstate
);
7252 if (PyErr_Occurred()) SWIG_fail
;
7254 Py_INCREF(Py_None
); resultobj
= Py_None
;
7261 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7262 PyObject
*resultobj
;
7263 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7265 PyObject
* obj0
= 0 ;
7267 (char *) "self", NULL
7270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
7271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7272 if (SWIG_arg_fail(1)) SWIG_fail
;
7274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7275 result
= (int)(arg1
)->GetX();
7277 wxPyEndAllowThreads(__tstate
);
7278 if (PyErr_Occurred()) SWIG_fail
;
7281 resultobj
= SWIG_From_int((int)(result
));
7289 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7290 PyObject
*resultobj
;
7291 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7293 PyObject
* obj0
= 0 ;
7295 (char *) "self", NULL
7298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
7299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7300 if (SWIG_arg_fail(1)) SWIG_fail
;
7302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7303 result
= (int)(arg1
)->GetY();
7305 wxPyEndAllowThreads(__tstate
);
7306 if (PyErr_Occurred()) SWIG_fail
;
7309 resultobj
= SWIG_From_int((int)(result
));
7317 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7318 PyObject
*resultobj
;
7319 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7321 PyObject
* obj0
= 0 ;
7323 (char *) "self", NULL
7326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
7327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7328 if (SWIG_arg_fail(1)) SWIG_fail
;
7330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7331 result
= (int)(arg1
)->GetW();
7333 wxPyEndAllowThreads(__tstate
);
7334 if (PyErr_Occurred()) SWIG_fail
;
7337 resultobj
= SWIG_From_int((int)(result
));
7345 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7346 PyObject
*resultobj
;
7347 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7349 PyObject
* obj0
= 0 ;
7351 (char *) "self", NULL
7354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
7355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7356 if (SWIG_arg_fail(1)) SWIG_fail
;
7358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7359 result
= (int)(arg1
)->GetWidth();
7361 wxPyEndAllowThreads(__tstate
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7365 resultobj
= SWIG_From_int((int)(result
));
7373 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
*resultobj
;
7375 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7377 PyObject
* obj0
= 0 ;
7379 (char *) "self", NULL
7382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
7383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7384 if (SWIG_arg_fail(1)) SWIG_fail
;
7386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7387 result
= (int)(arg1
)->GetH();
7389 wxPyEndAllowThreads(__tstate
);
7390 if (PyErr_Occurred()) SWIG_fail
;
7393 resultobj
= SWIG_From_int((int)(result
));
7401 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7402 PyObject
*resultobj
;
7403 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7405 PyObject
* obj0
= 0 ;
7407 (char *) "self", NULL
7410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
7411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7412 if (SWIG_arg_fail(1)) SWIG_fail
;
7414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7415 result
= (int)(arg1
)->GetHeight();
7417 wxPyEndAllowThreads(__tstate
);
7418 if (PyErr_Occurred()) SWIG_fail
;
7421 resultobj
= SWIG_From_int((int)(result
));
7429 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7430 PyObject
*resultobj
;
7431 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7433 PyObject
* obj0
= 0 ;
7435 (char *) "self", NULL
7438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
7439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7440 if (SWIG_arg_fail(1)) SWIG_fail
;
7442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7443 result
= (arg1
)->GetRect();
7445 wxPyEndAllowThreads(__tstate
);
7446 if (PyErr_Occurred()) SWIG_fail
;
7450 resultptr
= new wxRect((wxRect
&)(result
));
7451 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7459 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7460 PyObject
*resultobj
;
7461 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7463 PyObject
* obj0
= 0 ;
7465 (char *) "self", NULL
7468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
7469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7470 if (SWIG_arg_fail(1)) SWIG_fail
;
7472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7473 result
= (bool)(arg1
)->HaveRects();
7475 wxPyEndAllowThreads(__tstate
);
7476 if (PyErr_Occurred()) SWIG_fail
;
7479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7487 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7488 PyObject
*resultobj
;
7489 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7490 PyObject
* obj0
= 0 ;
7492 (char *) "self", NULL
7495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
7496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7497 if (SWIG_arg_fail(1)) SWIG_fail
;
7499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7502 wxPyEndAllowThreads(__tstate
);
7503 if (PyErr_Occurred()) SWIG_fail
;
7505 Py_INCREF(Py_None
); resultobj
= Py_None
;
7512 static PyObject
*_wrap_RegionIterator_Next(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7513 PyObject
*resultobj
;
7514 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7515 PyObject
* obj0
= 0 ;
7517 (char *) "self", NULL
7520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
7521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7522 if (SWIG_arg_fail(1)) SWIG_fail
;
7524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7525 wxRegionIterator_Next(arg1
);
7527 wxPyEndAllowThreads(__tstate
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7530 Py_INCREF(Py_None
); resultobj
= Py_None
;
7537 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7538 PyObject
*resultobj
;
7539 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7541 PyObject
* obj0
= 0 ;
7543 (char *) "self", NULL
7546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
7547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7548 if (SWIG_arg_fail(1)) SWIG_fail
;
7550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7551 result
= (bool)wxRegionIterator___nonzero__(arg1
);
7553 wxPyEndAllowThreads(__tstate
);
7554 if (PyErr_Occurred()) SWIG_fail
;
7557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7565 static PyObject
* RegionIterator_swigregister(PyObject
*, PyObject
*args
) {
7567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7568 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
7570 return Py_BuildValue((char *)"");
7572 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7573 PyObject
*resultobj
;
7574 wxNativeFontInfo
*result
;
7579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
7581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7582 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
7584 wxPyEndAllowThreads(__tstate
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
7594 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
*resultobj
;
7596 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7597 PyObject
* obj0
= 0 ;
7599 (char *) "self", NULL
7602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
7603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7604 if (SWIG_arg_fail(1)) SWIG_fail
;
7606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7609 wxPyEndAllowThreads(__tstate
);
7610 if (PyErr_Occurred()) SWIG_fail
;
7612 Py_INCREF(Py_None
); resultobj
= Py_None
;
7619 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7620 PyObject
*resultobj
;
7621 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7622 PyObject
* obj0
= 0 ;
7624 (char *) "self", NULL
7627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
7628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7629 if (SWIG_arg_fail(1)) SWIG_fail
;
7631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7634 wxPyEndAllowThreads(__tstate
);
7635 if (PyErr_Occurred()) SWIG_fail
;
7637 Py_INCREF(Py_None
); resultobj
= Py_None
;
7644 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7645 PyObject
*resultobj
;
7646 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7648 PyObject
* obj0
= 0 ;
7649 PyObject
* obj1
= 0 ;
7651 (char *) "self",(char *) "font", NULL
7654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
7655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7656 if (SWIG_arg_fail(1)) SWIG_fail
;
7658 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
7659 if (SWIG_arg_fail(2)) SWIG_fail
;
7661 SWIG_null_ref("wxFont");
7663 if (SWIG_arg_fail(2)) SWIG_fail
;
7666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7667 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
7669 wxPyEndAllowThreads(__tstate
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7672 Py_INCREF(Py_None
); resultobj
= Py_None
;
7679 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7680 PyObject
*resultobj
;
7681 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7683 PyObject
* obj0
= 0 ;
7685 (char *) "self", NULL
7688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
7689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7690 if (SWIG_arg_fail(1)) SWIG_fail
;
7692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7693 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
7695 wxPyEndAllowThreads(__tstate
);
7696 if (PyErr_Occurred()) SWIG_fail
;
7699 resultobj
= SWIG_From_int((int)(result
));
7707 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7708 PyObject
*resultobj
;
7709 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7711 PyObject
* obj0
= 0 ;
7713 (char *) "self", NULL
7716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
7717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7718 if (SWIG_arg_fail(1)) SWIG_fail
;
7720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7721 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
7723 wxPyEndAllowThreads(__tstate
);
7724 if (PyErr_Occurred()) SWIG_fail
;
7726 resultobj
= SWIG_From_int((result
));
7733 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7734 PyObject
*resultobj
;
7735 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7736 wxFontWeight result
;
7737 PyObject
* obj0
= 0 ;
7739 (char *) "self", NULL
7742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
7743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7744 if (SWIG_arg_fail(1)) SWIG_fail
;
7746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7747 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
7749 wxPyEndAllowThreads(__tstate
);
7750 if (PyErr_Occurred()) SWIG_fail
;
7752 resultobj
= SWIG_From_int((result
));
7759 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7760 PyObject
*resultobj
;
7761 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7763 PyObject
* obj0
= 0 ;
7765 (char *) "self", NULL
7768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
7769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7770 if (SWIG_arg_fail(1)) SWIG_fail
;
7772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7773 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
7775 wxPyEndAllowThreads(__tstate
);
7776 if (PyErr_Occurred()) SWIG_fail
;
7779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7787 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7788 PyObject
*resultobj
;
7789 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7791 PyObject
* obj0
= 0 ;
7793 (char *) "self", NULL
7796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
7797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7798 if (SWIG_arg_fail(1)) SWIG_fail
;
7800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7801 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
7803 wxPyEndAllowThreads(__tstate
);
7804 if (PyErr_Occurred()) SWIG_fail
;
7808 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7810 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7819 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7820 PyObject
*resultobj
;
7821 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7822 wxFontFamily result
;
7823 PyObject
* obj0
= 0 ;
7825 (char *) "self", NULL
7828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
7829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7830 if (SWIG_arg_fail(1)) SWIG_fail
;
7832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7833 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
7835 wxPyEndAllowThreads(__tstate
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7838 resultobj
= SWIG_From_int((result
));
7845 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
;
7847 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7848 wxFontEncoding result
;
7849 PyObject
* obj0
= 0 ;
7851 (char *) "self", NULL
7854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
7855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7856 if (SWIG_arg_fail(1)) SWIG_fail
;
7858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7859 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
7861 wxPyEndAllowThreads(__tstate
);
7862 if (PyErr_Occurred()) SWIG_fail
;
7864 resultobj
= SWIG_From_int((result
));
7871 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7872 PyObject
*resultobj
;
7873 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7875 PyObject
* obj0
= 0 ;
7876 PyObject
* obj1
= 0 ;
7878 (char *) "self",(char *) "pointsize", NULL
7881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7883 if (SWIG_arg_fail(1)) SWIG_fail
;
7885 arg2
= (int)(SWIG_As_int(obj1
));
7886 if (SWIG_arg_fail(2)) SWIG_fail
;
7889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7890 (arg1
)->SetPointSize(arg2
);
7892 wxPyEndAllowThreads(__tstate
);
7893 if (PyErr_Occurred()) SWIG_fail
;
7895 Py_INCREF(Py_None
); resultobj
= Py_None
;
7902 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7903 PyObject
*resultobj
;
7904 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7906 PyObject
* obj0
= 0 ;
7907 PyObject
* obj1
= 0 ;
7909 (char *) "self",(char *) "style", NULL
7912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7914 if (SWIG_arg_fail(1)) SWIG_fail
;
7916 arg2
= (wxFontStyle
)(SWIG_As_int(obj1
));
7917 if (SWIG_arg_fail(2)) SWIG_fail
;
7920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7921 (arg1
)->SetStyle((wxFontStyle
)arg2
);
7923 wxPyEndAllowThreads(__tstate
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7926 Py_INCREF(Py_None
); resultobj
= Py_None
;
7933 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7934 PyObject
*resultobj
;
7935 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7937 PyObject
* obj0
= 0 ;
7938 PyObject
* obj1
= 0 ;
7940 (char *) "self",(char *) "weight", NULL
7943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7945 if (SWIG_arg_fail(1)) SWIG_fail
;
7947 arg2
= (wxFontWeight
)(SWIG_As_int(obj1
));
7948 if (SWIG_arg_fail(2)) SWIG_fail
;
7951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7952 (arg1
)->SetWeight((wxFontWeight
)arg2
);
7954 wxPyEndAllowThreads(__tstate
);
7955 if (PyErr_Occurred()) SWIG_fail
;
7957 Py_INCREF(Py_None
); resultobj
= Py_None
;
7964 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7965 PyObject
*resultobj
;
7966 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7968 PyObject
* obj0
= 0 ;
7969 PyObject
* obj1
= 0 ;
7971 (char *) "self",(char *) "underlined", NULL
7974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
7975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7976 if (SWIG_arg_fail(1)) SWIG_fail
;
7978 arg2
= (bool)(SWIG_As_bool(obj1
));
7979 if (SWIG_arg_fail(2)) SWIG_fail
;
7982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7983 (arg1
)->SetUnderlined(arg2
);
7985 wxPyEndAllowThreads(__tstate
);
7986 if (PyErr_Occurred()) SWIG_fail
;
7988 Py_INCREF(Py_None
); resultobj
= Py_None
;
7995 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7996 PyObject
*resultobj
;
7997 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7999 PyObject
* obj0
= 0 ;
8000 PyObject
* obj1
= 0 ;
8002 (char *) "self",(char *) "facename", NULL
8005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8007 if (SWIG_arg_fail(1)) SWIG_fail
;
8009 wxString
* sptr
= wxString_in_helper(obj1
);
8010 if (sptr
== NULL
) SWIG_fail
;
8015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8016 (arg1
)->SetFaceName(arg2
);
8018 wxPyEndAllowThreads(__tstate
);
8019 if (PyErr_Occurred()) SWIG_fail
;
8021 Py_INCREF(Py_None
); resultobj
= Py_None
;
8028 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8029 PyObject
*resultobj
;
8030 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8032 PyObject
* obj0
= 0 ;
8033 PyObject
* obj1
= 0 ;
8035 (char *) "self",(char *) "family", NULL
8038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8040 if (SWIG_arg_fail(1)) SWIG_fail
;
8042 arg2
= (wxFontFamily
)(SWIG_As_int(obj1
));
8043 if (SWIG_arg_fail(2)) SWIG_fail
;
8046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8047 (arg1
)->SetFamily((wxFontFamily
)arg2
);
8049 wxPyEndAllowThreads(__tstate
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8052 Py_INCREF(Py_None
); resultobj
= Py_None
;
8059 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8060 PyObject
*resultobj
;
8061 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8062 wxFontEncoding arg2
;
8063 PyObject
* obj0
= 0 ;
8064 PyObject
* obj1
= 0 ;
8066 (char *) "self",(char *) "encoding", NULL
8069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8071 if (SWIG_arg_fail(1)) SWIG_fail
;
8073 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
8074 if (SWIG_arg_fail(2)) SWIG_fail
;
8077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8078 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8080 wxPyEndAllowThreads(__tstate
);
8081 if (PyErr_Occurred()) SWIG_fail
;
8083 Py_INCREF(Py_None
); resultobj
= Py_None
;
8090 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8091 PyObject
*resultobj
;
8092 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8093 wxString
*arg2
= 0 ;
8095 bool temp2
= false ;
8096 PyObject
* obj0
= 0 ;
8097 PyObject
* obj1
= 0 ;
8099 (char *) "self",(char *) "s", NULL
8102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8104 if (SWIG_arg_fail(1)) SWIG_fail
;
8106 arg2
= wxString_in_helper(obj1
);
8107 if (arg2
== NULL
) SWIG_fail
;
8111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8112 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
8114 wxPyEndAllowThreads(__tstate
);
8115 if (PyErr_Occurred()) SWIG_fail
;
8118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8134 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8135 PyObject
*resultobj
;
8136 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8138 PyObject
* obj0
= 0 ;
8140 (char *) "self", NULL
8143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
8144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8145 if (SWIG_arg_fail(1)) SWIG_fail
;
8147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8148 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
8150 wxPyEndAllowThreads(__tstate
);
8151 if (PyErr_Occurred()) SWIG_fail
;
8155 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8157 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8166 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8167 PyObject
*resultobj
;
8168 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8170 PyObject
* obj0
= 0 ;
8172 (char *) "self", NULL
8175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
8176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8177 if (SWIG_arg_fail(1)) SWIG_fail
;
8179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8180 result
= wxNativeFontInfo___str__(arg1
);
8182 wxPyEndAllowThreads(__tstate
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8187 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8189 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8198 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8199 PyObject
*resultobj
;
8200 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8201 wxString
*arg2
= 0 ;
8203 bool temp2
= false ;
8204 PyObject
* obj0
= 0 ;
8205 PyObject
* obj1
= 0 ;
8207 (char *) "self",(char *) "s", NULL
8210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
8211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8212 if (SWIG_arg_fail(1)) SWIG_fail
;
8214 arg2
= wxString_in_helper(obj1
);
8215 if (arg2
== NULL
) SWIG_fail
;
8219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8220 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
8222 wxPyEndAllowThreads(__tstate
);
8223 if (PyErr_Occurred()) SWIG_fail
;
8226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8242 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8243 PyObject
*resultobj
;
8244 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8246 PyObject
* obj0
= 0 ;
8248 (char *) "self", NULL
8251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
8252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8253 if (SWIG_arg_fail(1)) SWIG_fail
;
8255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8256 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
8258 wxPyEndAllowThreads(__tstate
);
8259 if (PyErr_Occurred()) SWIG_fail
;
8263 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8265 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8274 static PyObject
* NativeFontInfo_swigregister(PyObject
*, PyObject
*args
) {
8276 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8277 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
8279 return Py_BuildValue((char *)"");
8281 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8282 PyObject
*resultobj
;
8283 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8284 wxString
*arg2
= (wxString
*) 0 ;
8285 bool temp2
= false ;
8286 PyObject
* obj0
= 0 ;
8287 PyObject
* obj1
= 0 ;
8289 (char *) "self",(char *) "facename", NULL
8292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8294 if (SWIG_arg_fail(1)) SWIG_fail
;
8296 arg2
= wxString_in_helper(obj1
);
8297 if (arg2
== NULL
) SWIG_fail
;
8300 if (arg1
) (arg1
)->facename
= *arg2
;
8302 Py_INCREF(Py_None
); resultobj
= Py_None
;
8317 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8318 PyObject
*resultobj
;
8319 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8321 PyObject
* obj0
= 0 ;
8323 (char *) "self", NULL
8326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
8327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8328 if (SWIG_arg_fail(1)) SWIG_fail
;
8329 result
= (wxString
*)& ((arg1
)->facename
);
8333 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8335 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8344 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8345 PyObject
*resultobj
;
8346 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8347 wxFontEncoding arg2
;
8348 PyObject
* obj0
= 0 ;
8349 PyObject
* obj1
= 0 ;
8351 (char *) "self",(char *) "encoding", NULL
8354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8356 if (SWIG_arg_fail(1)) SWIG_fail
;
8358 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
8359 if (SWIG_arg_fail(2)) SWIG_fail
;
8361 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
8363 Py_INCREF(Py_None
); resultobj
= Py_None
;
8370 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8371 PyObject
*resultobj
;
8372 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8373 wxFontEncoding result
;
8374 PyObject
* obj0
= 0 ;
8376 (char *) "self", NULL
8379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
8380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8381 if (SWIG_arg_fail(1)) SWIG_fail
;
8382 result
= (wxFontEncoding
) ((arg1
)->encoding
);
8384 resultobj
= SWIG_From_int((result
));
8391 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8392 PyObject
*resultobj
;
8393 wxNativeEncodingInfo
*result
;
8398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
8400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8401 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
8403 wxPyEndAllowThreads(__tstate
);
8404 if (PyErr_Occurred()) SWIG_fail
;
8406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
8413 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8414 PyObject
*resultobj
;
8415 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8416 PyObject
* obj0
= 0 ;
8418 (char *) "self", NULL
8421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
8422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8423 if (SWIG_arg_fail(1)) SWIG_fail
;
8425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8428 wxPyEndAllowThreads(__tstate
);
8429 if (PyErr_Occurred()) SWIG_fail
;
8431 Py_INCREF(Py_None
); resultobj
= Py_None
;
8438 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8439 PyObject
*resultobj
;
8440 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8441 wxString
*arg2
= 0 ;
8443 bool temp2
= false ;
8444 PyObject
* obj0
= 0 ;
8445 PyObject
* obj1
= 0 ;
8447 (char *) "self",(char *) "s", NULL
8450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8452 if (SWIG_arg_fail(1)) SWIG_fail
;
8454 arg2
= wxString_in_helper(obj1
);
8455 if (arg2
== NULL
) SWIG_fail
;
8459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8460 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
8462 wxPyEndAllowThreads(__tstate
);
8463 if (PyErr_Occurred()) SWIG_fail
;
8466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8482 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8483 PyObject
*resultobj
;
8484 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8486 PyObject
* obj0
= 0 ;
8488 (char *) "self", NULL
8491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
8492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8493 if (SWIG_arg_fail(1)) SWIG_fail
;
8495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8496 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
8498 wxPyEndAllowThreads(__tstate
);
8499 if (PyErr_Occurred()) SWIG_fail
;
8503 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8505 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8514 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*, PyObject
*args
) {
8516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8517 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
8519 return Py_BuildValue((char *)"");
8521 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8522 PyObject
*resultobj
;
8523 wxFontEncoding arg1
;
8524 wxNativeEncodingInfo
*result
;
8525 PyObject
* obj0
= 0 ;
8527 (char *) "encoding", NULL
8530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
8532 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
8533 if (SWIG_arg_fail(1)) SWIG_fail
;
8536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8537 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
8539 wxPyEndAllowThreads(__tstate
);
8540 if (PyErr_Occurred()) SWIG_fail
;
8542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
8549 static PyObject
*_wrap_TestFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8550 PyObject
*resultobj
;
8551 wxNativeEncodingInfo
*arg1
= 0 ;
8553 PyObject
* obj0
= 0 ;
8555 (char *) "info", NULL
8558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
8560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8561 if (SWIG_arg_fail(1)) SWIG_fail
;
8563 SWIG_null_ref("wxNativeEncodingInfo");
8565 if (SWIG_arg_fail(1)) SWIG_fail
;
8568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8569 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
8571 wxPyEndAllowThreads(__tstate
);
8572 if (PyErr_Occurred()) SWIG_fail
;
8575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8583 static PyObject
*_wrap_new_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8584 PyObject
*resultobj
;
8585 wxFontMapper
*result
;
8590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
8592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8593 result
= (wxFontMapper
*)new wxFontMapper();
8595 wxPyEndAllowThreads(__tstate
);
8596 if (PyErr_Occurred()) SWIG_fail
;
8598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
8605 static PyObject
*_wrap_delete_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8606 PyObject
*resultobj
;
8607 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8608 PyObject
* obj0
= 0 ;
8610 (char *) "self", NULL
8613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
8614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8615 if (SWIG_arg_fail(1)) SWIG_fail
;
8617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8620 wxPyEndAllowThreads(__tstate
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8623 Py_INCREF(Py_None
); resultobj
= Py_None
;
8630 static PyObject
*_wrap_FontMapper_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8631 PyObject
*resultobj
;
8632 wxFontMapper
*result
;
8637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
8639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8640 result
= (wxFontMapper
*)wxFontMapper::Get();
8642 wxPyEndAllowThreads(__tstate
);
8643 if (PyErr_Occurred()) SWIG_fail
;
8645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
8652 static PyObject
*_wrap_FontMapper_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8653 PyObject
*resultobj
;
8654 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8655 wxFontMapper
*result
;
8656 PyObject
* obj0
= 0 ;
8658 (char *) "mapper", NULL
8661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
8662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8663 if (SWIG_arg_fail(1)) SWIG_fail
;
8665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8666 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
8668 wxPyEndAllowThreads(__tstate
);
8669 if (PyErr_Occurred()) SWIG_fail
;
8671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
8678 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8679 PyObject
*resultobj
;
8680 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8681 wxString
*arg2
= 0 ;
8682 bool arg3
= (bool) true ;
8683 wxFontEncoding result
;
8684 bool temp2
= false ;
8685 PyObject
* obj0
= 0 ;
8686 PyObject
* obj1
= 0 ;
8687 PyObject
* obj2
= 0 ;
8689 (char *) "self",(char *) "charset",(char *) "interactive", NULL
8692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8694 if (SWIG_arg_fail(1)) SWIG_fail
;
8696 arg2
= wxString_in_helper(obj1
);
8697 if (arg2
== NULL
) SWIG_fail
;
8702 arg3
= (bool)(SWIG_As_bool(obj2
));
8703 if (SWIG_arg_fail(3)) SWIG_fail
;
8707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8708 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
8710 wxPyEndAllowThreads(__tstate
);
8711 if (PyErr_Occurred()) SWIG_fail
;
8713 resultobj
= SWIG_From_int((result
));
8728 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
*resultobj
;
8735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
8737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8738 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8744 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
8752 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8753 PyObject
*resultobj
;
8755 wxFontEncoding result
;
8756 PyObject
* obj0
= 0 ;
8761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
8763 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
8764 if (SWIG_arg_fail(1)) SWIG_fail
;
8767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8768 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
8770 wxPyEndAllowThreads(__tstate
);
8771 if (PyErr_Occurred()) SWIG_fail
;
8773 resultobj
= SWIG_From_int((result
));
8780 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8781 PyObject
*resultobj
;
8782 wxFontEncoding arg1
;
8784 PyObject
* obj0
= 0 ;
8786 (char *) "encoding", NULL
8789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
8791 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
8792 if (SWIG_arg_fail(1)) SWIG_fail
;
8795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8796 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
8798 wxPyEndAllowThreads(__tstate
);
8799 if (PyErr_Occurred()) SWIG_fail
;
8803 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8805 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8814 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8815 PyObject
*resultobj
;
8816 wxFontEncoding arg1
;
8818 PyObject
* obj0
= 0 ;
8820 (char *) "encoding", NULL
8823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
8825 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
8826 if (SWIG_arg_fail(1)) SWIG_fail
;
8829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8830 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
8832 wxPyEndAllowThreads(__tstate
);
8833 if (PyErr_Occurred()) SWIG_fail
;
8837 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8839 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8848 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8849 PyObject
*resultobj
;
8850 wxString
*arg1
= 0 ;
8851 wxFontEncoding result
;
8852 bool temp1
= false ;
8853 PyObject
* obj0
= 0 ;
8855 (char *) "name", NULL
8858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
8860 arg1
= wxString_in_helper(obj0
);
8861 if (arg1
== NULL
) SWIG_fail
;
8865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8866 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
8868 wxPyEndAllowThreads(__tstate
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8871 resultobj
= SWIG_From_int((result
));
8886 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8887 PyObject
*resultobj
;
8888 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8889 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
8890 PyObject
* obj0
= 0 ;
8891 PyObject
* obj1
= 0 ;
8893 (char *) "self",(char *) "config", NULL
8896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
8897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8898 if (SWIG_arg_fail(1)) SWIG_fail
;
8899 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
8900 if (SWIG_arg_fail(2)) SWIG_fail
;
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 (arg1
)->SetConfig(arg2
);
8905 wxPyEndAllowThreads(__tstate
);
8906 if (PyErr_Occurred()) SWIG_fail
;
8908 Py_INCREF(Py_None
); resultobj
= Py_None
;
8915 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8916 PyObject
*resultobj
;
8917 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8918 wxString
*arg2
= 0 ;
8919 bool temp2
= false ;
8920 PyObject
* obj0
= 0 ;
8921 PyObject
* obj1
= 0 ;
8923 (char *) "self",(char *) "prefix", NULL
8926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
8927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8928 if (SWIG_arg_fail(1)) SWIG_fail
;
8930 arg2
= wxString_in_helper(obj1
);
8931 if (arg2
== NULL
) SWIG_fail
;
8935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8936 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
8938 wxPyEndAllowThreads(__tstate
);
8939 if (PyErr_Occurred()) SWIG_fail
;
8941 Py_INCREF(Py_None
); resultobj
= Py_None
;
8956 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8957 PyObject
*resultobj
;
8963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
8965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8966 result
= wxFontMapper::GetDefaultConfigPath();
8968 wxPyEndAllowThreads(__tstate
);
8969 if (PyErr_Occurred()) SWIG_fail
;
8973 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8975 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8984 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8985 PyObject
*resultobj
;
8986 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8987 wxFontEncoding arg2
;
8988 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8989 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8990 bool arg4
= (bool) true ;
8992 bool temp3
= false ;
8993 PyObject
* obj0
= 0 ;
8994 PyObject
* obj1
= 0 ;
8995 PyObject
* obj2
= 0 ;
8996 PyObject
* obj3
= 0 ;
8998 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
9001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9003 if (SWIG_arg_fail(1)) SWIG_fail
;
9005 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
9006 if (SWIG_arg_fail(2)) SWIG_fail
;
9010 arg3
= wxString_in_helper(obj2
);
9011 if (arg3
== NULL
) SWIG_fail
;
9017 arg4
= (bool)(SWIG_As_bool(obj3
));
9018 if (SWIG_arg_fail(4)) SWIG_fail
;
9022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9023 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
9025 wxPyEndAllowThreads(__tstate
);
9026 if (PyErr_Occurred()) SWIG_fail
;
9043 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9044 PyObject
*resultobj
;
9045 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9046 wxFontEncoding arg2
;
9047 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9048 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9050 bool temp3
= false ;
9051 PyObject
* obj0
= 0 ;
9052 PyObject
* obj1
= 0 ;
9053 PyObject
* obj2
= 0 ;
9055 (char *) "self",(char *) "encoding",(char *) "facename", NULL
9058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9060 if (SWIG_arg_fail(1)) SWIG_fail
;
9062 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
9063 if (SWIG_arg_fail(2)) SWIG_fail
;
9067 arg3
= wxString_in_helper(obj2
);
9068 if (arg3
== NULL
) SWIG_fail
;
9073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9074 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
9076 wxPyEndAllowThreads(__tstate
);
9077 if (PyErr_Occurred()) SWIG_fail
;
9080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9096 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9097 PyObject
*resultobj
;
9098 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9099 wxWindow
*arg2
= (wxWindow
*) 0 ;
9100 PyObject
* obj0
= 0 ;
9101 PyObject
* obj1
= 0 ;
9103 (char *) "self",(char *) "parent", NULL
9106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
9107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9108 if (SWIG_arg_fail(1)) SWIG_fail
;
9109 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9110 if (SWIG_arg_fail(2)) SWIG_fail
;
9112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9113 (arg1
)->SetDialogParent(arg2
);
9115 wxPyEndAllowThreads(__tstate
);
9116 if (PyErr_Occurred()) SWIG_fail
;
9118 Py_INCREF(Py_None
); resultobj
= Py_None
;
9125 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9126 PyObject
*resultobj
;
9127 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9128 wxString
*arg2
= 0 ;
9129 bool temp2
= false ;
9130 PyObject
* obj0
= 0 ;
9131 PyObject
* obj1
= 0 ;
9133 (char *) "self",(char *) "title", NULL
9136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
9137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9138 if (SWIG_arg_fail(1)) SWIG_fail
;
9140 arg2
= wxString_in_helper(obj1
);
9141 if (arg2
== NULL
) SWIG_fail
;
9145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9146 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
9148 wxPyEndAllowThreads(__tstate
);
9149 if (PyErr_Occurred()) SWIG_fail
;
9151 Py_INCREF(Py_None
); resultobj
= Py_None
;
9166 static PyObject
* FontMapper_swigregister(PyObject
*, PyObject
*args
) {
9168 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9169 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
9171 return Py_BuildValue((char *)"");
9173 static PyObject
*_wrap_new_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9174 PyObject
*resultobj
;
9179 bool arg5
= (bool) false ;
9180 wxString
const &arg6_defvalue
= wxPyEmptyString
;
9181 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9182 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9184 bool temp6
= false ;
9185 PyObject
* obj0
= 0 ;
9186 PyObject
* obj1
= 0 ;
9187 PyObject
* obj2
= 0 ;
9188 PyObject
* obj3
= 0 ;
9189 PyObject
* obj4
= 0 ;
9190 PyObject
* obj5
= 0 ;
9191 PyObject
* obj6
= 0 ;
9193 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
9196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9198 arg1
= (int)(SWIG_As_int(obj0
));
9199 if (SWIG_arg_fail(1)) SWIG_fail
;
9202 arg2
= (int)(SWIG_As_int(obj1
));
9203 if (SWIG_arg_fail(2)) SWIG_fail
;
9206 arg3
= (int)(SWIG_As_int(obj2
));
9207 if (SWIG_arg_fail(3)) SWIG_fail
;
9210 arg4
= (int)(SWIG_As_int(obj3
));
9211 if (SWIG_arg_fail(4)) SWIG_fail
;
9215 arg5
= (bool)(SWIG_As_bool(obj4
));
9216 if (SWIG_arg_fail(5)) SWIG_fail
;
9221 arg6
= wxString_in_helper(obj5
);
9222 if (arg6
== NULL
) SWIG_fail
;
9228 arg7
= (wxFontEncoding
)(SWIG_As_int(obj6
));
9229 if (SWIG_arg_fail(7)) SWIG_fail
;
9233 if (!wxPyCheckForApp()) SWIG_fail
;
9234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9235 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
9237 wxPyEndAllowThreads(__tstate
);
9238 if (PyErr_Occurred()) SWIG_fail
;
9240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9255 static PyObject
*_wrap_delete_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9256 PyObject
*resultobj
;
9257 wxFont
*arg1
= (wxFont
*) 0 ;
9258 PyObject
* obj0
= 0 ;
9260 (char *) "self", NULL
9263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
9264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9265 if (SWIG_arg_fail(1)) SWIG_fail
;
9267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9270 wxPyEndAllowThreads(__tstate
);
9271 if (PyErr_Occurred()) SWIG_fail
;
9273 Py_INCREF(Py_None
); resultobj
= Py_None
;
9280 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9281 PyObject
*resultobj
;
9282 wxNativeFontInfo
*arg1
= 0 ;
9284 PyObject
* obj0
= 0 ;
9286 (char *) "info", NULL
9289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
9291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
9292 if (SWIG_arg_fail(1)) SWIG_fail
;
9294 SWIG_null_ref("wxNativeFontInfo");
9296 if (SWIG_arg_fail(1)) SWIG_fail
;
9299 if (!wxPyCheckForApp()) SWIG_fail
;
9300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9301 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
9303 wxPyEndAllowThreads(__tstate
);
9304 if (PyErr_Occurred()) SWIG_fail
;
9306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9313 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9314 PyObject
*resultobj
;
9315 wxString
*arg1
= 0 ;
9317 bool temp1
= false ;
9318 PyObject
* obj0
= 0 ;
9320 (char *) "info", NULL
9323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
9325 arg1
= wxString_in_helper(obj0
);
9326 if (arg1
== NULL
) SWIG_fail
;
9330 if (!wxPyCheckForApp()) SWIG_fail
;
9331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9332 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
9334 wxPyEndAllowThreads(__tstate
);
9335 if (PyErr_Occurred()) SWIG_fail
;
9337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9352 static PyObject
*_wrap_new_Font2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9353 PyObject
*resultobj
;
9356 int arg3
= (int) wxFONTFLAG_DEFAULT
;
9357 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9358 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9359 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9361 bool temp4
= false ;
9362 PyObject
* obj0
= 0 ;
9363 PyObject
* obj1
= 0 ;
9364 PyObject
* obj2
= 0 ;
9365 PyObject
* obj3
= 0 ;
9366 PyObject
* obj4
= 0 ;
9368 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
9371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9373 arg1
= (int)(SWIG_As_int(obj0
));
9374 if (SWIG_arg_fail(1)) SWIG_fail
;
9377 arg2
= (wxFontFamily
)(SWIG_As_int(obj1
));
9378 if (SWIG_arg_fail(2)) SWIG_fail
;
9382 arg3
= (int)(SWIG_As_int(obj2
));
9383 if (SWIG_arg_fail(3)) SWIG_fail
;
9388 arg4
= wxString_in_helper(obj3
);
9389 if (arg4
== NULL
) SWIG_fail
;
9395 arg5
= (wxFontEncoding
)(SWIG_As_int(obj4
));
9396 if (SWIG_arg_fail(5)) SWIG_fail
;
9400 if (!wxPyCheckForApp()) SWIG_fail
;
9401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9402 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
9404 wxPyEndAllowThreads(__tstate
);
9405 if (PyErr_Occurred()) SWIG_fail
;
9407 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9422 static PyObject
*_wrap_new_FontFromPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9423 PyObject
*resultobj
;
9428 bool arg5
= (bool) false ;
9429 wxString
const &arg6_defvalue
= wxEmptyString
;
9430 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9431 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9434 bool temp6
= false ;
9435 PyObject
* obj0
= 0 ;
9436 PyObject
* obj1
= 0 ;
9437 PyObject
* obj2
= 0 ;
9438 PyObject
* obj3
= 0 ;
9439 PyObject
* obj4
= 0 ;
9440 PyObject
* obj5
= 0 ;
9441 PyObject
* obj6
= 0 ;
9443 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
9446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9449 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
9452 arg2
= (int)(SWIG_As_int(obj1
));
9453 if (SWIG_arg_fail(2)) SWIG_fail
;
9456 arg3
= (int)(SWIG_As_int(obj2
));
9457 if (SWIG_arg_fail(3)) SWIG_fail
;
9460 arg4
= (int)(SWIG_As_int(obj3
));
9461 if (SWIG_arg_fail(4)) SWIG_fail
;
9465 arg5
= (bool)(SWIG_As_bool(obj4
));
9466 if (SWIG_arg_fail(5)) SWIG_fail
;
9471 arg6
= wxString_in_helper(obj5
);
9472 if (arg6
== NULL
) SWIG_fail
;
9478 arg7
= (wxFontEncoding
)(SWIG_As_int(obj6
));
9479 if (SWIG_arg_fail(7)) SWIG_fail
;
9483 if (!wxPyCheckForApp()) SWIG_fail
;
9484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9485 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
9487 wxPyEndAllowThreads(__tstate
);
9488 if (PyErr_Occurred()) SWIG_fail
;
9490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9505 static PyObject
*_wrap_Font_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9506 PyObject
*resultobj
;
9507 wxFont
*arg1
= (wxFont
*) 0 ;
9509 PyObject
* obj0
= 0 ;
9511 (char *) "self", NULL
9514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
9515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9516 if (SWIG_arg_fail(1)) SWIG_fail
;
9518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9519 result
= (bool)((wxFont
const *)arg1
)->Ok();
9521 wxPyEndAllowThreads(__tstate
);
9522 if (PyErr_Occurred()) SWIG_fail
;
9525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9533 static PyObject
*_wrap_Font___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9534 PyObject
*resultobj
;
9535 wxFont
*arg1
= (wxFont
*) 0 ;
9536 wxFont
*arg2
= (wxFont
*) 0 ;
9538 PyObject
* obj0
= 0 ;
9539 PyObject
* obj1
= 0 ;
9541 (char *) "self",(char *) "other", NULL
9544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
9545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9546 if (SWIG_arg_fail(1)) SWIG_fail
;
9547 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9548 if (SWIG_arg_fail(2)) SWIG_fail
;
9550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9551 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
9553 wxPyEndAllowThreads(__tstate
);
9554 if (PyErr_Occurred()) SWIG_fail
;
9557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9565 static PyObject
*_wrap_Font___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9566 PyObject
*resultobj
;
9567 wxFont
*arg1
= (wxFont
*) 0 ;
9568 wxFont
*arg2
= (wxFont
*) 0 ;
9570 PyObject
* obj0
= 0 ;
9571 PyObject
* obj1
= 0 ;
9573 (char *) "self",(char *) "other", NULL
9576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
9577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9578 if (SWIG_arg_fail(1)) SWIG_fail
;
9579 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9580 if (SWIG_arg_fail(2)) SWIG_fail
;
9582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9583 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
9585 wxPyEndAllowThreads(__tstate
);
9586 if (PyErr_Occurred()) SWIG_fail
;
9589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9597 static PyObject
*_wrap_Font_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9598 PyObject
*resultobj
;
9599 wxFont
*arg1
= (wxFont
*) 0 ;
9601 PyObject
* obj0
= 0 ;
9603 (char *) "self", NULL
9606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
9607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9608 if (SWIG_arg_fail(1)) SWIG_fail
;
9610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9611 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
9613 wxPyEndAllowThreads(__tstate
);
9614 if (PyErr_Occurred()) SWIG_fail
;
9617 resultobj
= SWIG_From_int((int)(result
));
9625 static PyObject
*_wrap_Font_GetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
*resultobj
;
9627 wxFont
*arg1
= (wxFont
*) 0 ;
9629 PyObject
* obj0
= 0 ;
9631 (char *) "self", NULL
9634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPixelSize",kwnames
,&obj0
)) goto fail
;
9635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9636 if (SWIG_arg_fail(1)) SWIG_fail
;
9638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9639 result
= ((wxFont
const *)arg1
)->GetPixelSize();
9641 wxPyEndAllowThreads(__tstate
);
9642 if (PyErr_Occurred()) SWIG_fail
;
9646 resultptr
= new wxSize((wxSize
&)(result
));
9647 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
9655 static PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9656 PyObject
*resultobj
;
9657 wxFont
*arg1
= (wxFont
*) 0 ;
9659 PyObject
* obj0
= 0 ;
9661 (char *) "self", NULL
9664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsUsingSizeInPixels",kwnames
,&obj0
)) goto fail
;
9665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9666 if (SWIG_arg_fail(1)) SWIG_fail
;
9668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9669 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
9671 wxPyEndAllowThreads(__tstate
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9683 static PyObject
*_wrap_Font_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9684 PyObject
*resultobj
;
9685 wxFont
*arg1
= (wxFont
*) 0 ;
9687 PyObject
* obj0
= 0 ;
9689 (char *) "self", NULL
9692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
9693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9694 if (SWIG_arg_fail(1)) SWIG_fail
;
9696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9697 result
= (int)((wxFont
const *)arg1
)->GetFamily();
9699 wxPyEndAllowThreads(__tstate
);
9700 if (PyErr_Occurred()) SWIG_fail
;
9703 resultobj
= SWIG_From_int((int)(result
));
9711 static PyObject
*_wrap_Font_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9712 PyObject
*resultobj
;
9713 wxFont
*arg1
= (wxFont
*) 0 ;
9715 PyObject
* obj0
= 0 ;
9717 (char *) "self", NULL
9720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
9721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9722 if (SWIG_arg_fail(1)) SWIG_fail
;
9724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 result
= (int)((wxFont
const *)arg1
)->GetStyle();
9727 wxPyEndAllowThreads(__tstate
);
9728 if (PyErr_Occurred()) SWIG_fail
;
9731 resultobj
= SWIG_From_int((int)(result
));
9739 static PyObject
*_wrap_Font_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9740 PyObject
*resultobj
;
9741 wxFont
*arg1
= (wxFont
*) 0 ;
9743 PyObject
* obj0
= 0 ;
9745 (char *) "self", NULL
9748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
9749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9750 if (SWIG_arg_fail(1)) SWIG_fail
;
9752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9753 result
= (int)((wxFont
const *)arg1
)->GetWeight();
9755 wxPyEndAllowThreads(__tstate
);
9756 if (PyErr_Occurred()) SWIG_fail
;
9759 resultobj
= SWIG_From_int((int)(result
));
9767 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9768 PyObject
*resultobj
;
9769 wxFont
*arg1
= (wxFont
*) 0 ;
9771 PyObject
* obj0
= 0 ;
9773 (char *) "self", NULL
9776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
9777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9778 if (SWIG_arg_fail(1)) SWIG_fail
;
9780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9781 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
9783 wxPyEndAllowThreads(__tstate
);
9784 if (PyErr_Occurred()) SWIG_fail
;
9787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9795 static PyObject
*_wrap_Font_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9796 PyObject
*resultobj
;
9797 wxFont
*arg1
= (wxFont
*) 0 ;
9799 PyObject
* obj0
= 0 ;
9801 (char *) "self", NULL
9804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
9805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9806 if (SWIG_arg_fail(1)) SWIG_fail
;
9808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9809 result
= ((wxFont
const *)arg1
)->GetFaceName();
9811 wxPyEndAllowThreads(__tstate
);
9812 if (PyErr_Occurred()) SWIG_fail
;
9816 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9818 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9827 static PyObject
*_wrap_Font_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9828 PyObject
*resultobj
;
9829 wxFont
*arg1
= (wxFont
*) 0 ;
9830 wxFontEncoding result
;
9831 PyObject
* obj0
= 0 ;
9833 (char *) "self", NULL
9836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
9837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9838 if (SWIG_arg_fail(1)) SWIG_fail
;
9840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9841 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
9843 wxPyEndAllowThreads(__tstate
);
9844 if (PyErr_Occurred()) SWIG_fail
;
9846 resultobj
= SWIG_From_int((result
));
9853 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9854 PyObject
*resultobj
;
9855 wxFont
*arg1
= (wxFont
*) 0 ;
9856 wxNativeFontInfo
*result
;
9857 PyObject
* obj0
= 0 ;
9859 (char *) "self", NULL
9862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
9863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9864 if (SWIG_arg_fail(1)) SWIG_fail
;
9866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9867 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
9869 wxPyEndAllowThreads(__tstate
);
9870 if (PyErr_Occurred()) SWIG_fail
;
9872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
9879 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9880 PyObject
*resultobj
;
9881 wxFont
*arg1
= (wxFont
*) 0 ;
9883 PyObject
* obj0
= 0 ;
9885 (char *) "self", NULL
9888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
9889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9890 if (SWIG_arg_fail(1)) SWIG_fail
;
9892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9893 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
9895 wxPyEndAllowThreads(__tstate
);
9896 if (PyErr_Occurred()) SWIG_fail
;
9899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9907 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9908 PyObject
*resultobj
;
9909 wxFont
*arg1
= (wxFont
*) 0 ;
9911 PyObject
* obj0
= 0 ;
9913 (char *) "self", NULL
9916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
9917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9918 if (SWIG_arg_fail(1)) SWIG_fail
;
9920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9921 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
9923 wxPyEndAllowThreads(__tstate
);
9924 if (PyErr_Occurred()) SWIG_fail
;
9928 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9930 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9939 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9940 PyObject
*resultobj
;
9941 wxFont
*arg1
= (wxFont
*) 0 ;
9943 PyObject
* obj0
= 0 ;
9945 (char *) "self", NULL
9948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
9949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9950 if (SWIG_arg_fail(1)) SWIG_fail
;
9952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9953 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
9955 wxPyEndAllowThreads(__tstate
);
9956 if (PyErr_Occurred()) SWIG_fail
;
9960 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9962 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9971 static PyObject
*_wrap_Font_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9972 PyObject
*resultobj
;
9973 wxFont
*arg1
= (wxFont
*) 0 ;
9975 PyObject
* obj0
= 0 ;
9976 PyObject
* obj1
= 0 ;
9978 (char *) "self",(char *) "pointSize", NULL
9981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9983 if (SWIG_arg_fail(1)) SWIG_fail
;
9985 arg2
= (int)(SWIG_As_int(obj1
));
9986 if (SWIG_arg_fail(2)) SWIG_fail
;
9989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9990 (arg1
)->SetPointSize(arg2
);
9992 wxPyEndAllowThreads(__tstate
);
9993 if (PyErr_Occurred()) SWIG_fail
;
9995 Py_INCREF(Py_None
); resultobj
= Py_None
;
10002 static PyObject
*_wrap_Font_SetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10003 PyObject
*resultobj
;
10004 wxFont
*arg1
= (wxFont
*) 0 ;
10007 PyObject
* obj0
= 0 ;
10008 PyObject
* obj1
= 0 ;
10009 char *kwnames
[] = {
10010 (char *) "self",(char *) "pixelSize", NULL
10013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10015 if (SWIG_arg_fail(1)) SWIG_fail
;
10018 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10022 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
10024 wxPyEndAllowThreads(__tstate
);
10025 if (PyErr_Occurred()) SWIG_fail
;
10027 Py_INCREF(Py_None
); resultobj
= Py_None
;
10034 static PyObject
*_wrap_Font_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10035 PyObject
*resultobj
;
10036 wxFont
*arg1
= (wxFont
*) 0 ;
10038 PyObject
* obj0
= 0 ;
10039 PyObject
* obj1
= 0 ;
10040 char *kwnames
[] = {
10041 (char *) "self",(char *) "family", NULL
10044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
10045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10046 if (SWIG_arg_fail(1)) SWIG_fail
;
10048 arg2
= (int)(SWIG_As_int(obj1
));
10049 if (SWIG_arg_fail(2)) SWIG_fail
;
10052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10053 (arg1
)->SetFamily(arg2
);
10055 wxPyEndAllowThreads(__tstate
);
10056 if (PyErr_Occurred()) SWIG_fail
;
10058 Py_INCREF(Py_None
); resultobj
= Py_None
;
10065 static PyObject
*_wrap_Font_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10066 PyObject
*resultobj
;
10067 wxFont
*arg1
= (wxFont
*) 0 ;
10069 PyObject
* obj0
= 0 ;
10070 PyObject
* obj1
= 0 ;
10071 char *kwnames
[] = {
10072 (char *) "self",(char *) "style", NULL
10075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10077 if (SWIG_arg_fail(1)) SWIG_fail
;
10079 arg2
= (int)(SWIG_As_int(obj1
));
10080 if (SWIG_arg_fail(2)) SWIG_fail
;
10083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10084 (arg1
)->SetStyle(arg2
);
10086 wxPyEndAllowThreads(__tstate
);
10087 if (PyErr_Occurred()) SWIG_fail
;
10089 Py_INCREF(Py_None
); resultobj
= Py_None
;
10096 static PyObject
*_wrap_Font_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10097 PyObject
*resultobj
;
10098 wxFont
*arg1
= (wxFont
*) 0 ;
10100 PyObject
* obj0
= 0 ;
10101 PyObject
* obj1
= 0 ;
10102 char *kwnames
[] = {
10103 (char *) "self",(char *) "weight", NULL
10106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
10107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10108 if (SWIG_arg_fail(1)) SWIG_fail
;
10110 arg2
= (int)(SWIG_As_int(obj1
));
10111 if (SWIG_arg_fail(2)) SWIG_fail
;
10114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10115 (arg1
)->SetWeight(arg2
);
10117 wxPyEndAllowThreads(__tstate
);
10118 if (PyErr_Occurred()) SWIG_fail
;
10120 Py_INCREF(Py_None
); resultobj
= Py_None
;
10127 static PyObject
*_wrap_Font_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10128 PyObject
*resultobj
;
10129 wxFont
*arg1
= (wxFont
*) 0 ;
10130 wxString
*arg2
= 0 ;
10131 bool temp2
= false ;
10132 PyObject
* obj0
= 0 ;
10133 PyObject
* obj1
= 0 ;
10134 char *kwnames
[] = {
10135 (char *) "self",(char *) "faceName", NULL
10138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
10139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10140 if (SWIG_arg_fail(1)) SWIG_fail
;
10142 arg2
= wxString_in_helper(obj1
);
10143 if (arg2
== NULL
) SWIG_fail
;
10147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10148 (arg1
)->SetFaceName((wxString
const &)*arg2
);
10150 wxPyEndAllowThreads(__tstate
);
10151 if (PyErr_Occurred()) SWIG_fail
;
10153 Py_INCREF(Py_None
); resultobj
= Py_None
;
10168 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10169 PyObject
*resultobj
;
10170 wxFont
*arg1
= (wxFont
*) 0 ;
10172 PyObject
* obj0
= 0 ;
10173 PyObject
* obj1
= 0 ;
10174 char *kwnames
[] = {
10175 (char *) "self",(char *) "underlined", NULL
10178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
10179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10180 if (SWIG_arg_fail(1)) SWIG_fail
;
10182 arg2
= (bool)(SWIG_As_bool(obj1
));
10183 if (SWIG_arg_fail(2)) SWIG_fail
;
10186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10187 (arg1
)->SetUnderlined(arg2
);
10189 wxPyEndAllowThreads(__tstate
);
10190 if (PyErr_Occurred()) SWIG_fail
;
10192 Py_INCREF(Py_None
); resultobj
= Py_None
;
10199 static PyObject
*_wrap_Font_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10200 PyObject
*resultobj
;
10201 wxFont
*arg1
= (wxFont
*) 0 ;
10202 wxFontEncoding arg2
;
10203 PyObject
* obj0
= 0 ;
10204 PyObject
* obj1
= 0 ;
10205 char *kwnames
[] = {
10206 (char *) "self",(char *) "encoding", NULL
10209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
10210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10211 if (SWIG_arg_fail(1)) SWIG_fail
;
10213 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
10214 if (SWIG_arg_fail(2)) SWIG_fail
;
10217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10218 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
10220 wxPyEndAllowThreads(__tstate
);
10221 if (PyErr_Occurred()) SWIG_fail
;
10223 Py_INCREF(Py_None
); resultobj
= Py_None
;
10230 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10231 PyObject
*resultobj
;
10232 wxFont
*arg1
= (wxFont
*) 0 ;
10233 wxNativeFontInfo
*arg2
= 0 ;
10234 PyObject
* obj0
= 0 ;
10235 PyObject
* obj1
= 0 ;
10236 char *kwnames
[] = {
10237 (char *) "self",(char *) "info", NULL
10240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
10241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10242 if (SWIG_arg_fail(1)) SWIG_fail
;
10244 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
10245 if (SWIG_arg_fail(2)) SWIG_fail
;
10246 if (arg2
== NULL
) {
10247 SWIG_null_ref("wxNativeFontInfo");
10249 if (SWIG_arg_fail(2)) SWIG_fail
;
10252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10253 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
10255 wxPyEndAllowThreads(__tstate
);
10256 if (PyErr_Occurred()) SWIG_fail
;
10258 Py_INCREF(Py_None
); resultobj
= Py_None
;
10265 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10266 PyObject
*resultobj
;
10267 wxFont
*arg1
= (wxFont
*) 0 ;
10268 wxString
*arg2
= 0 ;
10269 bool temp2
= false ;
10270 PyObject
* obj0
= 0 ;
10271 PyObject
* obj1
= 0 ;
10272 char *kwnames
[] = {
10273 (char *) "self",(char *) "info", NULL
10276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
10277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10278 if (SWIG_arg_fail(1)) SWIG_fail
;
10280 arg2
= wxString_in_helper(obj1
);
10281 if (arg2
== NULL
) SWIG_fail
;
10285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10286 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
10288 wxPyEndAllowThreads(__tstate
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10291 Py_INCREF(Py_None
); resultobj
= Py_None
;
10306 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10307 PyObject
*resultobj
;
10308 wxFont
*arg1
= (wxFont
*) 0 ;
10309 wxString
*arg2
= 0 ;
10310 bool temp2
= false ;
10311 PyObject
* obj0
= 0 ;
10312 PyObject
* obj1
= 0 ;
10313 char *kwnames
[] = {
10314 (char *) "self",(char *) "info", NULL
10317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
10318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10319 if (SWIG_arg_fail(1)) SWIG_fail
;
10321 arg2
= wxString_in_helper(obj1
);
10322 if (arg2
== NULL
) SWIG_fail
;
10326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10327 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
10329 wxPyEndAllowThreads(__tstate
);
10330 if (PyErr_Occurred()) SWIG_fail
;
10332 Py_INCREF(Py_None
); resultobj
= Py_None
;
10347 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10348 PyObject
*resultobj
;
10349 wxFont
*arg1
= (wxFont
*) 0 ;
10351 PyObject
* obj0
= 0 ;
10352 char *kwnames
[] = {
10353 (char *) "self", NULL
10356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
10357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10358 if (SWIG_arg_fail(1)) SWIG_fail
;
10360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10361 result
= ((wxFont
const *)arg1
)->GetFamilyString();
10363 wxPyEndAllowThreads(__tstate
);
10364 if (PyErr_Occurred()) SWIG_fail
;
10368 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10370 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10379 static PyObject
*_wrap_Font_GetStyleString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10380 PyObject
*resultobj
;
10381 wxFont
*arg1
= (wxFont
*) 0 ;
10383 PyObject
* obj0
= 0 ;
10384 char *kwnames
[] = {
10385 (char *) "self", NULL
10388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
10389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10390 if (SWIG_arg_fail(1)) SWIG_fail
;
10392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10393 result
= ((wxFont
const *)arg1
)->GetStyleString();
10395 wxPyEndAllowThreads(__tstate
);
10396 if (PyErr_Occurred()) SWIG_fail
;
10400 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10402 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10411 static PyObject
*_wrap_Font_GetWeightString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10412 PyObject
*resultobj
;
10413 wxFont
*arg1
= (wxFont
*) 0 ;
10415 PyObject
* obj0
= 0 ;
10416 char *kwnames
[] = {
10417 (char *) "self", NULL
10420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
10421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10422 if (SWIG_arg_fail(1)) SWIG_fail
;
10424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10425 result
= ((wxFont
const *)arg1
)->GetWeightString();
10427 wxPyEndAllowThreads(__tstate
);
10428 if (PyErr_Occurred()) SWIG_fail
;
10432 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10434 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10443 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10444 PyObject
*resultobj
;
10445 wxFont
*arg1
= (wxFont
*) 0 ;
10446 bool arg2
= (bool) true ;
10447 PyObject
* obj0
= 0 ;
10448 PyObject
* obj1
= 0 ;
10449 char *kwnames
[] = {
10450 (char *) "self",(char *) "no", NULL
10453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
10454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10455 if (SWIG_arg_fail(1)) SWIG_fail
;
10458 arg2
= (bool)(SWIG_As_bool(obj1
));
10459 if (SWIG_arg_fail(2)) SWIG_fail
;
10463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10464 (arg1
)->SetNoAntiAliasing(arg2
);
10466 wxPyEndAllowThreads(__tstate
);
10467 if (PyErr_Occurred()) SWIG_fail
;
10469 Py_INCREF(Py_None
); resultobj
= Py_None
;
10476 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10477 PyObject
*resultobj
;
10478 wxFont
*arg1
= (wxFont
*) 0 ;
10480 PyObject
* obj0
= 0 ;
10481 char *kwnames
[] = {
10482 (char *) "self", NULL
10485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
10486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10487 if (SWIG_arg_fail(1)) SWIG_fail
;
10489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10490 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
10492 wxPyEndAllowThreads(__tstate
);
10493 if (PyErr_Occurred()) SWIG_fail
;
10496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10504 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10505 PyObject
*resultobj
;
10506 wxFontEncoding result
;
10507 char *kwnames
[] = {
10511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
10513 if (!wxPyCheckForApp()) SWIG_fail
;
10514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10515 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
10517 wxPyEndAllowThreads(__tstate
);
10518 if (PyErr_Occurred()) SWIG_fail
;
10520 resultobj
= SWIG_From_int((result
));
10527 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10528 PyObject
*resultobj
;
10529 wxFontEncoding arg1
;
10530 PyObject
* obj0
= 0 ;
10531 char *kwnames
[] = {
10532 (char *) "encoding", NULL
10535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
10537 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
10538 if (SWIG_arg_fail(1)) SWIG_fail
;
10541 if (!wxPyCheckForApp()) SWIG_fail
;
10542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10543 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
10545 wxPyEndAllowThreads(__tstate
);
10546 if (PyErr_Occurred()) SWIG_fail
;
10548 Py_INCREF(Py_None
); resultobj
= Py_None
;
10555 static PyObject
* Font_swigregister(PyObject
*, PyObject
*args
) {
10557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10558 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
10560 return Py_BuildValue((char *)"");
10562 static PyObject
*_wrap_new_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10563 PyObject
*resultobj
;
10564 wxPyFontEnumerator
*result
;
10565 char *kwnames
[] = {
10569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
10571 if (!wxPyCheckForApp()) SWIG_fail
;
10572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10573 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
10575 wxPyEndAllowThreads(__tstate
);
10576 if (PyErr_Occurred()) SWIG_fail
;
10578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
10585 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10586 PyObject
*resultobj
;
10587 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10588 PyObject
* obj0
= 0 ;
10589 char *kwnames
[] = {
10590 (char *) "self", NULL
10593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
10594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10595 if (SWIG_arg_fail(1)) SWIG_fail
;
10597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10600 wxPyEndAllowThreads(__tstate
);
10601 if (PyErr_Occurred()) SWIG_fail
;
10603 Py_INCREF(Py_None
); resultobj
= Py_None
;
10610 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10611 PyObject
*resultobj
;
10612 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10613 PyObject
*arg2
= (PyObject
*) 0 ;
10614 PyObject
*arg3
= (PyObject
*) 0 ;
10616 PyObject
* obj0
= 0 ;
10617 PyObject
* obj1
= 0 ;
10618 PyObject
* obj2
= 0 ;
10619 PyObject
* obj3
= 0 ;
10620 char *kwnames
[] = {
10621 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
10624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10626 if (SWIG_arg_fail(1)) SWIG_fail
;
10630 arg4
= (bool)(SWIG_As_bool(obj3
));
10631 if (SWIG_arg_fail(4)) SWIG_fail
;
10634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10635 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
10637 wxPyEndAllowThreads(__tstate
);
10638 if (PyErr_Occurred()) SWIG_fail
;
10640 Py_INCREF(Py_None
); resultobj
= Py_None
;
10647 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10648 PyObject
*resultobj
;
10649 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10650 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
10651 bool arg3
= (bool) false ;
10653 PyObject
* obj0
= 0 ;
10654 PyObject
* obj1
= 0 ;
10655 PyObject
* obj2
= 0 ;
10656 char *kwnames
[] = {
10657 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
10660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10662 if (SWIG_arg_fail(1)) SWIG_fail
;
10665 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
10666 if (SWIG_arg_fail(2)) SWIG_fail
;
10671 arg3
= (bool)(SWIG_As_bool(obj2
));
10672 if (SWIG_arg_fail(3)) SWIG_fail
;
10676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10677 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
10679 wxPyEndAllowThreads(__tstate
);
10680 if (PyErr_Occurred()) SWIG_fail
;
10683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10691 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10692 PyObject
*resultobj
;
10693 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10694 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10695 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10697 bool temp2
= false ;
10698 PyObject
* obj0
= 0 ;
10699 PyObject
* obj1
= 0 ;
10700 char *kwnames
[] = {
10701 (char *) "self",(char *) "facename", NULL
10704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
10705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10706 if (SWIG_arg_fail(1)) SWIG_fail
;
10709 arg2
= wxString_in_helper(obj1
);
10710 if (arg2
== NULL
) SWIG_fail
;
10715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10716 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
10718 wxPyEndAllowThreads(__tstate
);
10719 if (PyErr_Occurred()) SWIG_fail
;
10722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10738 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10739 PyObject
*resultobj
;
10740 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10742 PyObject
* obj0
= 0 ;
10743 char *kwnames
[] = {
10744 (char *) "self", NULL
10747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
10748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10749 if (SWIG_arg_fail(1)) SWIG_fail
;
10751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10752 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
10754 wxPyEndAllowThreads(__tstate
);
10755 if (PyErr_Occurred()) SWIG_fail
;
10757 resultobj
= result
;
10764 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10765 PyObject
*resultobj
;
10766 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10768 PyObject
* obj0
= 0 ;
10769 char *kwnames
[] = {
10770 (char *) "self", NULL
10773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
10774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10775 if (SWIG_arg_fail(1)) SWIG_fail
;
10777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10778 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
10780 wxPyEndAllowThreads(__tstate
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10783 resultobj
= result
;
10790 static PyObject
* FontEnumerator_swigregister(PyObject
*, PyObject
*args
) {
10792 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10793 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
10795 return Py_BuildValue((char *)"");
10797 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10798 PyObject
*resultobj
;
10799 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10801 PyObject
* obj0
= 0 ;
10802 PyObject
* obj1
= 0 ;
10803 char *kwnames
[] = {
10804 (char *) "self",(char *) "Language", NULL
10807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
10809 if (SWIG_arg_fail(1)) SWIG_fail
;
10811 arg2
= (int)(SWIG_As_int(obj1
));
10812 if (SWIG_arg_fail(2)) SWIG_fail
;
10814 if (arg1
) (arg1
)->Language
= arg2
;
10816 Py_INCREF(Py_None
); resultobj
= Py_None
;
10823 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10824 PyObject
*resultobj
;
10825 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10827 PyObject
* obj0
= 0 ;
10828 char *kwnames
[] = {
10829 (char *) "self", NULL
10832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
10833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
10834 if (SWIG_arg_fail(1)) SWIG_fail
;
10835 result
= (int) ((arg1
)->Language
);
10838 resultobj
= SWIG_From_int((int)(result
));
10846 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10847 PyObject
*resultobj
;
10848 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10849 wxString
*arg2
= (wxString
*) 0 ;
10850 bool temp2
= false ;
10851 PyObject
* obj0
= 0 ;
10852 PyObject
* obj1
= 0 ;
10853 char *kwnames
[] = {
10854 (char *) "self",(char *) "CanonicalName", NULL
10857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
10859 if (SWIG_arg_fail(1)) SWIG_fail
;
10861 arg2
= wxString_in_helper(obj1
);
10862 if (arg2
== NULL
) SWIG_fail
;
10865 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
10867 Py_INCREF(Py_None
); resultobj
= Py_None
;
10882 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10883 PyObject
*resultobj
;
10884 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10886 PyObject
* obj0
= 0 ;
10887 char *kwnames
[] = {
10888 (char *) "self", NULL
10891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
10892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
10893 if (SWIG_arg_fail(1)) SWIG_fail
;
10894 result
= (wxString
*)& ((arg1
)->CanonicalName
);
10898 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10900 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10909 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10910 PyObject
*resultobj
;
10911 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10912 wxString
*arg2
= (wxString
*) 0 ;
10913 bool temp2
= false ;
10914 PyObject
* obj0
= 0 ;
10915 PyObject
* obj1
= 0 ;
10916 char *kwnames
[] = {
10917 (char *) "self",(char *) "Description", NULL
10920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
10922 if (SWIG_arg_fail(1)) SWIG_fail
;
10924 arg2
= wxString_in_helper(obj1
);
10925 if (arg2
== NULL
) SWIG_fail
;
10928 if (arg1
) (arg1
)->Description
= *arg2
;
10930 Py_INCREF(Py_None
); resultobj
= Py_None
;
10945 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10946 PyObject
*resultobj
;
10947 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10949 PyObject
* obj0
= 0 ;
10950 char *kwnames
[] = {
10951 (char *) "self", NULL
10954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
10955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
10956 if (SWIG_arg_fail(1)) SWIG_fail
;
10957 result
= (wxString
*)& ((arg1
)->Description
);
10961 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10963 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10972 static PyObject
* LanguageInfo_swigregister(PyObject
*, PyObject
*args
) {
10974 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10975 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
10977 return Py_BuildValue((char *)"");
10979 static PyObject
*_wrap_new_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10980 PyObject
*resultobj
;
10981 int arg1
= (int) -1 ;
10982 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
10984 PyObject
* obj0
= 0 ;
10985 PyObject
* obj1
= 0 ;
10986 char *kwnames
[] = {
10987 (char *) "language",(char *) "flags", NULL
10990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
10993 arg1
= (int)(SWIG_As_int(obj0
));
10994 if (SWIG_arg_fail(1)) SWIG_fail
;
10999 arg2
= (int)(SWIG_As_int(obj1
));
11000 if (SWIG_arg_fail(2)) SWIG_fail
;
11004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11005 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
11007 wxPyEndAllowThreads(__tstate
);
11008 if (PyErr_Occurred()) SWIG_fail
;
11010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
11017 static PyObject
*_wrap_delete_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11018 PyObject
*resultobj
;
11019 wxLocale
*arg1
= (wxLocale
*) 0 ;
11020 PyObject
* obj0
= 0 ;
11021 char *kwnames
[] = {
11022 (char *) "self", NULL
11025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
11026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11027 if (SWIG_arg_fail(1)) SWIG_fail
;
11029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11032 wxPyEndAllowThreads(__tstate
);
11033 if (PyErr_Occurred()) SWIG_fail
;
11035 Py_INCREF(Py_None
); resultobj
= Py_None
;
11042 static PyObject
*_wrap_Locale_Init1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11043 PyObject
*resultobj
;
11044 wxLocale
*arg1
= (wxLocale
*) 0 ;
11045 wxString
*arg2
= 0 ;
11046 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11047 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11048 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11049 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11050 bool arg5
= (bool) true ;
11051 bool arg6
= (bool) false ;
11053 bool temp2
= false ;
11054 bool temp3
= false ;
11055 bool temp4
= false ;
11056 PyObject
* obj0
= 0 ;
11057 PyObject
* obj1
= 0 ;
11058 PyObject
* obj2
= 0 ;
11059 PyObject
* obj3
= 0 ;
11060 PyObject
* obj4
= 0 ;
11061 PyObject
* obj5
= 0 ;
11062 char *kwnames
[] = {
11063 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
11066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11068 if (SWIG_arg_fail(1)) SWIG_fail
;
11070 arg2
= wxString_in_helper(obj1
);
11071 if (arg2
== NULL
) SWIG_fail
;
11076 arg3
= wxString_in_helper(obj2
);
11077 if (arg3
== NULL
) SWIG_fail
;
11083 arg4
= wxString_in_helper(obj3
);
11084 if (arg4
== NULL
) SWIG_fail
;
11090 arg5
= (bool)(SWIG_As_bool(obj4
));
11091 if (SWIG_arg_fail(5)) SWIG_fail
;
11096 arg6
= (bool)(SWIG_As_bool(obj5
));
11097 if (SWIG_arg_fail(6)) SWIG_fail
;
11101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11102 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
11104 wxPyEndAllowThreads(__tstate
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11140 static PyObject
*_wrap_Locale_Init2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11141 PyObject
*resultobj
;
11142 wxLocale
*arg1
= (wxLocale
*) 0 ;
11143 int arg2
= (int) wxLANGUAGE_DEFAULT
;
11144 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
11146 PyObject
* obj0
= 0 ;
11147 PyObject
* obj1
= 0 ;
11148 PyObject
* obj2
= 0 ;
11149 char *kwnames
[] = {
11150 (char *) "self",(char *) "language",(char *) "flags", NULL
11153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11155 if (SWIG_arg_fail(1)) SWIG_fail
;
11158 arg2
= (int)(SWIG_As_int(obj1
));
11159 if (SWIG_arg_fail(2)) SWIG_fail
;
11164 arg3
= (int)(SWIG_As_int(obj2
));
11165 if (SWIG_arg_fail(3)) SWIG_fail
;
11169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11170 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11184 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11185 PyObject
*resultobj
;
11187 char *kwnames
[] = {
11191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
11193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11194 result
= (int)wxLocale::GetSystemLanguage();
11196 wxPyEndAllowThreads(__tstate
);
11197 if (PyErr_Occurred()) SWIG_fail
;
11200 resultobj
= SWIG_From_int((int)(result
));
11208 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11209 PyObject
*resultobj
;
11210 wxFontEncoding result
;
11211 char *kwnames
[] = {
11215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
11217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11218 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
11220 wxPyEndAllowThreads(__tstate
);
11221 if (PyErr_Occurred()) SWIG_fail
;
11223 resultobj
= SWIG_From_int((result
));
11230 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11231 PyObject
*resultobj
;
11233 char *kwnames
[] = {
11237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
11239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11240 result
= wxLocale::GetSystemEncodingName();
11242 wxPyEndAllowThreads(__tstate
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11247 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11249 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11258 static PyObject
*_wrap_Locale_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11259 PyObject
*resultobj
;
11260 wxLocale
*arg1
= (wxLocale
*) 0 ;
11262 PyObject
* obj0
= 0 ;
11263 char *kwnames
[] = {
11264 (char *) "self", NULL
11267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
11268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11269 if (SWIG_arg_fail(1)) SWIG_fail
;
11271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11272 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
11274 wxPyEndAllowThreads(__tstate
);
11275 if (PyErr_Occurred()) SWIG_fail
;
11278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11286 static PyObject
*_wrap_Locale_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11287 PyObject
*resultobj
;
11288 wxLocale
*arg1
= (wxLocale
*) 0 ;
11290 PyObject
* obj0
= 0 ;
11291 char *kwnames
[] = {
11292 (char *) "self", NULL
11295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
11296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11297 if (SWIG_arg_fail(1)) SWIG_fail
;
11299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11300 result
= ((wxLocale
const *)arg1
)->GetLocale();
11302 wxPyEndAllowThreads(__tstate
);
11303 if (PyErr_Occurred()) SWIG_fail
;
11307 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11309 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11318 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11319 PyObject
*resultobj
;
11320 wxLocale
*arg1
= (wxLocale
*) 0 ;
11322 PyObject
* obj0
= 0 ;
11323 char *kwnames
[] = {
11324 (char *) "self", NULL
11327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
11328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11329 if (SWIG_arg_fail(1)) SWIG_fail
;
11331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11332 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
11334 wxPyEndAllowThreads(__tstate
);
11335 if (PyErr_Occurred()) SWIG_fail
;
11338 resultobj
= SWIG_From_int((int)(result
));
11346 static PyObject
*_wrap_Locale_GetSysName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11347 PyObject
*resultobj
;
11348 wxLocale
*arg1
= (wxLocale
*) 0 ;
11350 PyObject
* obj0
= 0 ;
11351 char *kwnames
[] = {
11352 (char *) "self", NULL
11355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
11356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11357 if (SWIG_arg_fail(1)) SWIG_fail
;
11359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11360 result
= ((wxLocale
const *)arg1
)->GetSysName();
11362 wxPyEndAllowThreads(__tstate
);
11363 if (PyErr_Occurred()) SWIG_fail
;
11367 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11369 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11378 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11379 PyObject
*resultobj
;
11380 wxLocale
*arg1
= (wxLocale
*) 0 ;
11382 PyObject
* obj0
= 0 ;
11383 char *kwnames
[] = {
11384 (char *) "self", NULL
11387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
11388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11389 if (SWIG_arg_fail(1)) SWIG_fail
;
11391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11392 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
11394 wxPyEndAllowThreads(__tstate
);
11395 if (PyErr_Occurred()) SWIG_fail
;
11399 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11401 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11410 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11411 PyObject
*resultobj
;
11412 wxString
*arg1
= 0 ;
11413 bool temp1
= false ;
11414 PyObject
* obj0
= 0 ;
11415 char *kwnames
[] = {
11416 (char *) "prefix", NULL
11419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
11421 arg1
= wxString_in_helper(obj0
);
11422 if (arg1
== NULL
) SWIG_fail
;
11426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11427 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
11429 wxPyEndAllowThreads(__tstate
);
11430 if (PyErr_Occurred()) SWIG_fail
;
11432 Py_INCREF(Py_None
); resultobj
= Py_None
;
11447 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11448 PyObject
*resultobj
;
11449 wxLocale
*arg1
= (wxLocale
*) 0 ;
11450 wxString
*arg2
= 0 ;
11452 bool temp2
= false ;
11453 PyObject
* obj0
= 0 ;
11454 PyObject
* obj1
= 0 ;
11455 char *kwnames
[] = {
11456 (char *) "self",(char *) "szDomain", NULL
11459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
11460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11461 if (SWIG_arg_fail(1)) SWIG_fail
;
11463 arg2
= wxString_in_helper(obj1
);
11464 if (arg2
== NULL
) SWIG_fail
;
11468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11469 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
11471 wxPyEndAllowThreads(__tstate
);
11472 if (PyErr_Occurred()) SWIG_fail
;
11475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11491 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11492 PyObject
*resultobj
;
11493 wxLocale
*arg1
= (wxLocale
*) 0 ;
11494 wxString
*arg2
= 0 ;
11496 bool temp2
= false ;
11497 PyObject
* obj0
= 0 ;
11498 PyObject
* obj1
= 0 ;
11499 char *kwnames
[] = {
11500 (char *) "self",(char *) "szDomain", NULL
11503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
11504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11505 if (SWIG_arg_fail(1)) SWIG_fail
;
11507 arg2
= wxString_in_helper(obj1
);
11508 if (arg2
== NULL
) SWIG_fail
;
11512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11513 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
11515 wxPyEndAllowThreads(__tstate
);
11516 if (PyErr_Occurred()) SWIG_fail
;
11519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11535 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11536 PyObject
*resultobj
;
11538 wxLanguageInfo
*result
;
11539 PyObject
* obj0
= 0 ;
11540 char *kwnames
[] = {
11541 (char *) "lang", NULL
11544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
11546 arg1
= (int)(SWIG_As_int(obj0
));
11547 if (SWIG_arg_fail(1)) SWIG_fail
;
11550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11551 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
11553 wxPyEndAllowThreads(__tstate
);
11554 if (PyErr_Occurred()) SWIG_fail
;
11556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
11563 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11564 PyObject
*resultobj
;
11567 PyObject
* obj0
= 0 ;
11568 char *kwnames
[] = {
11569 (char *) "lang", NULL
11572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
11574 arg1
= (int)(SWIG_As_int(obj0
));
11575 if (SWIG_arg_fail(1)) SWIG_fail
;
11578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11579 result
= wxLocale::GetLanguageName(arg1
);
11581 wxPyEndAllowThreads(__tstate
);
11582 if (PyErr_Occurred()) SWIG_fail
;
11586 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11588 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11597 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11598 PyObject
*resultobj
;
11599 wxString
*arg1
= 0 ;
11600 wxLanguageInfo
*result
;
11601 bool temp1
= false ;
11602 PyObject
* obj0
= 0 ;
11603 char *kwnames
[] = {
11604 (char *) "locale", NULL
11607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
11609 arg1
= wxString_in_helper(obj0
);
11610 if (arg1
== NULL
) SWIG_fail
;
11614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11615 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
11617 wxPyEndAllowThreads(__tstate
);
11618 if (PyErr_Occurred()) SWIG_fail
;
11620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
11635 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11636 PyObject
*resultobj
;
11637 wxLanguageInfo
*arg1
= 0 ;
11638 PyObject
* obj0
= 0 ;
11639 char *kwnames
[] = {
11640 (char *) "info", NULL
11643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
11645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11646 if (SWIG_arg_fail(1)) SWIG_fail
;
11647 if (arg1
== NULL
) {
11648 SWIG_null_ref("wxLanguageInfo");
11650 if (SWIG_arg_fail(1)) SWIG_fail
;
11653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11654 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
11656 wxPyEndAllowThreads(__tstate
);
11657 if (PyErr_Occurred()) SWIG_fail
;
11659 Py_INCREF(Py_None
); resultobj
= Py_None
;
11666 static PyObject
*_wrap_Locale_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11667 PyObject
*resultobj
;
11668 wxLocale
*arg1
= (wxLocale
*) 0 ;
11669 wxString
*arg2
= 0 ;
11670 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11671 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11673 bool temp2
= false ;
11674 bool temp3
= false ;
11675 PyObject
* obj0
= 0 ;
11676 PyObject
* obj1
= 0 ;
11677 PyObject
* obj2
= 0 ;
11678 char *kwnames
[] = {
11679 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
11682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11684 if (SWIG_arg_fail(1)) SWIG_fail
;
11686 arg2
= wxString_in_helper(obj1
);
11687 if (arg2
== NULL
) SWIG_fail
;
11692 arg3
= wxString_in_helper(obj2
);
11693 if (arg3
== NULL
) SWIG_fail
;
11698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11699 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11701 wxPyEndAllowThreads(__tstate
);
11702 if (PyErr_Occurred()) SWIG_fail
;
11706 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11708 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11733 static PyObject
*_wrap_Locale_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11734 PyObject
*resultobj
;
11735 wxLocale
*arg1
= (wxLocale
*) 0 ;
11737 PyObject
* obj0
= 0 ;
11738 char *kwnames
[] = {
11739 (char *) "self", NULL
11742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
11743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11744 if (SWIG_arg_fail(1)) SWIG_fail
;
11746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11748 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
11749 result
= (wxString
*) &_result_ref
;
11752 wxPyEndAllowThreads(__tstate
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11757 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11759 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11768 static PyObject
* Locale_swigregister(PyObject
*, PyObject
*args
) {
11770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11771 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
11773 return Py_BuildValue((char *)"");
11775 static PyObject
*_wrap_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11776 PyObject
*resultobj
;
11778 char *kwnames
[] = {
11782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
11784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11785 result
= (wxLocale
*)wxGetLocale();
11787 wxPyEndAllowThreads(__tstate
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
11797 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*, PyObject
*args
) {
11798 PyObject
*resultobj
;
11799 wxString
*arg1
= 0 ;
11801 bool temp1
= false ;
11802 PyObject
* obj0
= 0 ;
11804 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
11806 arg1
= wxString_in_helper(obj0
);
11807 if (arg1
== NULL
) SWIG_fail
;
11811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11812 result
= wxGetTranslation((wxString
const &)*arg1
);
11814 wxPyEndAllowThreads(__tstate
);
11815 if (PyErr_Occurred()) SWIG_fail
;
11819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11838 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*, PyObject
*args
) {
11839 PyObject
*resultobj
;
11840 wxString
*arg1
= 0 ;
11841 wxString
*arg2
= 0 ;
11844 bool temp1
= false ;
11845 bool temp2
= false ;
11846 PyObject
* obj0
= 0 ;
11847 PyObject
* obj1
= 0 ;
11848 PyObject
* obj2
= 0 ;
11850 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
11852 arg1
= wxString_in_helper(obj0
);
11853 if (arg1
== NULL
) SWIG_fail
;
11857 arg2
= wxString_in_helper(obj1
);
11858 if (arg2
== NULL
) SWIG_fail
;
11862 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
11863 if (SWIG_arg_fail(3)) SWIG_fail
;
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11901 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
11906 argc
= PyObject_Length(args
);
11907 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
11908 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11913 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11916 return _wrap_GetTranslation__SWIG_0(self
,args
);
11922 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11926 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11929 _v
= SWIG_Check_unsigned_SS_long(argv
[2]);
11931 return _wrap_GetTranslation__SWIG_1(self
,args
);
11937 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
11942 static PyObject
*_wrap_new_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11943 PyObject
*resultobj
;
11944 wxEncodingConverter
*result
;
11945 char *kwnames
[] = {
11949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
11951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11952 result
= (wxEncodingConverter
*)new wxEncodingConverter();
11954 wxPyEndAllowThreads(__tstate
);
11955 if (PyErr_Occurred()) SWIG_fail
;
11957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
11964 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11965 PyObject
*resultobj
;
11966 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
11967 PyObject
* obj0
= 0 ;
11968 char *kwnames
[] = {
11969 (char *) "self", NULL
11972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
11973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
11974 if (SWIG_arg_fail(1)) SWIG_fail
;
11976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11979 wxPyEndAllowThreads(__tstate
);
11980 if (PyErr_Occurred()) SWIG_fail
;
11982 Py_INCREF(Py_None
); resultobj
= Py_None
;
11989 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11990 PyObject
*resultobj
;
11991 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
11992 wxFontEncoding arg2
;
11993 wxFontEncoding arg3
;
11994 int arg4
= (int) wxCONVERT_STRICT
;
11996 PyObject
* obj0
= 0 ;
11997 PyObject
* obj1
= 0 ;
11998 PyObject
* obj2
= 0 ;
11999 PyObject
* obj3
= 0 ;
12000 char *kwnames
[] = {
12001 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
12004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12006 if (SWIG_arg_fail(1)) SWIG_fail
;
12008 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
12009 if (SWIG_arg_fail(2)) SWIG_fail
;
12012 arg3
= (wxFontEncoding
)(SWIG_As_int(obj2
));
12013 if (SWIG_arg_fail(3)) SWIG_fail
;
12017 arg4
= (int)(SWIG_As_int(obj3
));
12018 if (SWIG_arg_fail(4)) SWIG_fail
;
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12023 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
12025 wxPyEndAllowThreads(__tstate
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12037 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12038 PyObject
*resultobj
;
12039 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12040 wxString
*arg2
= 0 ;
12042 bool temp2
= false ;
12043 PyObject
* obj0
= 0 ;
12044 PyObject
* obj1
= 0 ;
12045 char *kwnames
[] = {
12046 (char *) "self",(char *) "input", NULL
12049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
12050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12051 if (SWIG_arg_fail(1)) SWIG_fail
;
12053 arg2
= wxString_in_helper(obj1
);
12054 if (arg2
== NULL
) SWIG_fail
;
12058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12059 result
= (arg1
)->Convert((wxString
const &)*arg2
);
12061 wxPyEndAllowThreads(__tstate
);
12062 if (PyErr_Occurred()) SWIG_fail
;
12066 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12068 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12085 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12086 PyObject
*resultobj
;
12087 wxFontEncoding arg1
;
12088 int arg2
= (int) wxPLATFORM_CURRENT
;
12089 wxFontEncodingArray result
;
12090 PyObject
* obj0
= 0 ;
12091 PyObject
* obj1
= 0 ;
12092 char *kwnames
[] = {
12093 (char *) "enc",(char *) "platform", NULL
12096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
12098 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
12099 if (SWIG_arg_fail(1)) SWIG_fail
;
12103 arg2
= (int)(SWIG_As_int(obj1
));
12104 if (SWIG_arg_fail(2)) SWIG_fail
;
12108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12109 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
12111 wxPyEndAllowThreads(__tstate
);
12112 if (PyErr_Occurred()) SWIG_fail
;
12115 resultobj
= PyList_New(0);
12116 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
12117 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
12118 PyList_Append(resultobj
, number
);
12128 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12129 PyObject
*resultobj
;
12130 wxFontEncoding arg1
;
12131 wxFontEncodingArray result
;
12132 PyObject
* obj0
= 0 ;
12133 char *kwnames
[] = {
12134 (char *) "enc", NULL
12137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
12139 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
12140 if (SWIG_arg_fail(1)) SWIG_fail
;
12143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12144 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
12146 wxPyEndAllowThreads(__tstate
);
12147 if (PyErr_Occurred()) SWIG_fail
;
12150 resultobj
= PyList_New(0);
12151 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
12152 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
12153 PyList_Append(resultobj
, number
);
12163 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12164 PyObject
*resultobj
;
12165 wxFontEncoding arg1
;
12166 wxFontEncoding arg2
;
12168 PyObject
* obj0
= 0 ;
12169 PyObject
* obj1
= 0 ;
12170 char *kwnames
[] = {
12171 (char *) "encIn",(char *) "encOut", NULL
12174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
12176 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
12177 if (SWIG_arg_fail(1)) SWIG_fail
;
12180 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
12181 if (SWIG_arg_fail(2)) SWIG_fail
;
12184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12185 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
12187 wxPyEndAllowThreads(__tstate
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12199 static PyObject
* EncodingConverter_swigregister(PyObject
*, PyObject
*args
) {
12201 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12202 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
12204 return Py_BuildValue((char *)"");
12206 static PyObject
*_wrap_delete_DC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12207 PyObject
*resultobj
;
12208 wxDC
*arg1
= (wxDC
*) 0 ;
12209 PyObject
* obj0
= 0 ;
12210 char *kwnames
[] = {
12211 (char *) "self", NULL
12214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
12215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12216 if (SWIG_arg_fail(1)) SWIG_fail
;
12218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12221 wxPyEndAllowThreads(__tstate
);
12222 if (PyErr_Occurred()) SWIG_fail
;
12224 Py_INCREF(Py_None
); resultobj
= Py_None
;
12231 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12232 PyObject
*resultobj
;
12233 wxDC
*arg1
= (wxDC
*) 0 ;
12234 PyObject
* obj0
= 0 ;
12235 char *kwnames
[] = {
12236 (char *) "self", NULL
12239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
12240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12241 if (SWIG_arg_fail(1)) SWIG_fail
;
12243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12244 (arg1
)->BeginDrawing();
12246 wxPyEndAllowThreads(__tstate
);
12247 if (PyErr_Occurred()) SWIG_fail
;
12249 Py_INCREF(Py_None
); resultobj
= Py_None
;
12256 static PyObject
*_wrap_DC_EndDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12257 PyObject
*resultobj
;
12258 wxDC
*arg1
= (wxDC
*) 0 ;
12259 PyObject
* obj0
= 0 ;
12260 char *kwnames
[] = {
12261 (char *) "self", NULL
12264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
12265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12266 if (SWIG_arg_fail(1)) SWIG_fail
;
12268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12269 (arg1
)->EndDrawing();
12271 wxPyEndAllowThreads(__tstate
);
12272 if (PyErr_Occurred()) SWIG_fail
;
12274 Py_INCREF(Py_None
); resultobj
= Py_None
;
12281 static PyObject
*_wrap_DC_FloodFill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12282 PyObject
*resultobj
;
12283 wxDC
*arg1
= (wxDC
*) 0 ;
12286 wxColour
*arg4
= 0 ;
12287 int arg5
= (int) wxFLOOD_SURFACE
;
12290 PyObject
* obj0
= 0 ;
12291 PyObject
* obj1
= 0 ;
12292 PyObject
* obj2
= 0 ;
12293 PyObject
* obj3
= 0 ;
12294 PyObject
* obj4
= 0 ;
12295 char *kwnames
[] = {
12296 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
12299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12301 if (SWIG_arg_fail(1)) SWIG_fail
;
12303 arg2
= (int)(SWIG_As_int(obj1
));
12304 if (SWIG_arg_fail(2)) SWIG_fail
;
12307 arg3
= (int)(SWIG_As_int(obj2
));
12308 if (SWIG_arg_fail(3)) SWIG_fail
;
12312 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
12316 arg5
= (int)(SWIG_As_int(obj4
));
12317 if (SWIG_arg_fail(5)) SWIG_fail
;
12321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12322 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
12324 wxPyEndAllowThreads(__tstate
);
12325 if (PyErr_Occurred()) SWIG_fail
;
12328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12336 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12337 PyObject
*resultobj
;
12338 wxDC
*arg1
= (wxDC
*) 0 ;
12339 wxPoint
*arg2
= 0 ;
12340 wxColour
*arg3
= 0 ;
12341 int arg4
= (int) wxFLOOD_SURFACE
;
12345 PyObject
* obj0
= 0 ;
12346 PyObject
* obj1
= 0 ;
12347 PyObject
* obj2
= 0 ;
12348 PyObject
* obj3
= 0 ;
12349 char *kwnames
[] = {
12350 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
12353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12355 if (SWIG_arg_fail(1)) SWIG_fail
;
12358 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12362 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
12366 arg4
= (int)(SWIG_As_int(obj3
));
12367 if (SWIG_arg_fail(4)) SWIG_fail
;
12371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12372 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
12374 wxPyEndAllowThreads(__tstate
);
12375 if (PyErr_Occurred()) SWIG_fail
;
12378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12386 static PyObject
*_wrap_DC_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12387 PyObject
*resultobj
;
12388 wxDC
*arg1
= (wxDC
*) 0 ;
12392 PyObject
* obj0
= 0 ;
12393 PyObject
* obj1
= 0 ;
12394 PyObject
* obj2
= 0 ;
12395 char *kwnames
[] = {
12396 (char *) "self",(char *) "x",(char *) "y", NULL
12399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12401 if (SWIG_arg_fail(1)) SWIG_fail
;
12403 arg2
= (int)(SWIG_As_int(obj1
));
12404 if (SWIG_arg_fail(2)) SWIG_fail
;
12407 arg3
= (int)(SWIG_As_int(obj2
));
12408 if (SWIG_arg_fail(3)) SWIG_fail
;
12411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12412 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
12414 wxPyEndAllowThreads(__tstate
);
12415 if (PyErr_Occurred()) SWIG_fail
;
12418 wxColour
* resultptr
;
12419 resultptr
= new wxColour((wxColour
&)(result
));
12420 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12428 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12429 PyObject
*resultobj
;
12430 wxDC
*arg1
= (wxDC
*) 0 ;
12431 wxPoint
*arg2
= 0 ;
12434 PyObject
* obj0
= 0 ;
12435 PyObject
* obj1
= 0 ;
12436 char *kwnames
[] = {
12437 (char *) "self",(char *) "pt", NULL
12440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
12441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12442 if (SWIG_arg_fail(1)) SWIG_fail
;
12445 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12449 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
12451 wxPyEndAllowThreads(__tstate
);
12452 if (PyErr_Occurred()) SWIG_fail
;
12455 wxColour
* resultptr
;
12456 resultptr
= new wxColour((wxColour
&)(result
));
12457 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12465 static PyObject
*_wrap_DC_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12466 PyObject
*resultobj
;
12467 wxDC
*arg1
= (wxDC
*) 0 ;
12472 PyObject
* obj0
= 0 ;
12473 PyObject
* obj1
= 0 ;
12474 PyObject
* obj2
= 0 ;
12475 PyObject
* obj3
= 0 ;
12476 PyObject
* obj4
= 0 ;
12477 char *kwnames
[] = {
12478 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
12481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12483 if (SWIG_arg_fail(1)) SWIG_fail
;
12485 arg2
= (int)(SWIG_As_int(obj1
));
12486 if (SWIG_arg_fail(2)) SWIG_fail
;
12489 arg3
= (int)(SWIG_As_int(obj2
));
12490 if (SWIG_arg_fail(3)) SWIG_fail
;
12493 arg4
= (int)(SWIG_As_int(obj3
));
12494 if (SWIG_arg_fail(4)) SWIG_fail
;
12497 arg5
= (int)(SWIG_As_int(obj4
));
12498 if (SWIG_arg_fail(5)) SWIG_fail
;
12501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12502 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
12504 wxPyEndAllowThreads(__tstate
);
12505 if (PyErr_Occurred()) SWIG_fail
;
12507 Py_INCREF(Py_None
); resultobj
= Py_None
;
12514 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12515 PyObject
*resultobj
;
12516 wxDC
*arg1
= (wxDC
*) 0 ;
12517 wxPoint
*arg2
= 0 ;
12518 wxPoint
*arg3
= 0 ;
12521 PyObject
* obj0
= 0 ;
12522 PyObject
* obj1
= 0 ;
12523 PyObject
* obj2
= 0 ;
12524 char *kwnames
[] = {
12525 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
12528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12530 if (SWIG_arg_fail(1)) SWIG_fail
;
12533 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12537 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12541 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
12543 wxPyEndAllowThreads(__tstate
);
12544 if (PyErr_Occurred()) SWIG_fail
;
12546 Py_INCREF(Py_None
); resultobj
= Py_None
;
12553 static PyObject
*_wrap_DC_CrossHair(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12554 PyObject
*resultobj
;
12555 wxDC
*arg1
= (wxDC
*) 0 ;
12558 PyObject
* obj0
= 0 ;
12559 PyObject
* obj1
= 0 ;
12560 PyObject
* obj2
= 0 ;
12561 char *kwnames
[] = {
12562 (char *) "self",(char *) "x",(char *) "y", NULL
12565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12567 if (SWIG_arg_fail(1)) SWIG_fail
;
12569 arg2
= (int)(SWIG_As_int(obj1
));
12570 if (SWIG_arg_fail(2)) SWIG_fail
;
12573 arg3
= (int)(SWIG_As_int(obj2
));
12574 if (SWIG_arg_fail(3)) SWIG_fail
;
12577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12578 (arg1
)->CrossHair(arg2
,arg3
);
12580 wxPyEndAllowThreads(__tstate
);
12581 if (PyErr_Occurred()) SWIG_fail
;
12583 Py_INCREF(Py_None
); resultobj
= Py_None
;
12590 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12591 PyObject
*resultobj
;
12592 wxDC
*arg1
= (wxDC
*) 0 ;
12593 wxPoint
*arg2
= 0 ;
12595 PyObject
* obj0
= 0 ;
12596 PyObject
* obj1
= 0 ;
12597 char *kwnames
[] = {
12598 (char *) "self",(char *) "pt", NULL
12601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
12602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12603 if (SWIG_arg_fail(1)) SWIG_fail
;
12606 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12610 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
12612 wxPyEndAllowThreads(__tstate
);
12613 if (PyErr_Occurred()) SWIG_fail
;
12615 Py_INCREF(Py_None
); resultobj
= Py_None
;
12622 static PyObject
*_wrap_DC_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12623 PyObject
*resultobj
;
12624 wxDC
*arg1
= (wxDC
*) 0 ;
12631 PyObject
* obj0
= 0 ;
12632 PyObject
* obj1
= 0 ;
12633 PyObject
* obj2
= 0 ;
12634 PyObject
* obj3
= 0 ;
12635 PyObject
* obj4
= 0 ;
12636 PyObject
* obj5
= 0 ;
12637 PyObject
* obj6
= 0 ;
12638 char *kwnames
[] = {
12639 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
12642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12644 if (SWIG_arg_fail(1)) SWIG_fail
;
12646 arg2
= (int)(SWIG_As_int(obj1
));
12647 if (SWIG_arg_fail(2)) SWIG_fail
;
12650 arg3
= (int)(SWIG_As_int(obj2
));
12651 if (SWIG_arg_fail(3)) SWIG_fail
;
12654 arg4
= (int)(SWIG_As_int(obj3
));
12655 if (SWIG_arg_fail(4)) SWIG_fail
;
12658 arg5
= (int)(SWIG_As_int(obj4
));
12659 if (SWIG_arg_fail(5)) SWIG_fail
;
12662 arg6
= (int)(SWIG_As_int(obj5
));
12663 if (SWIG_arg_fail(6)) SWIG_fail
;
12666 arg7
= (int)(SWIG_As_int(obj6
));
12667 if (SWIG_arg_fail(7)) SWIG_fail
;
12670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12671 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12673 wxPyEndAllowThreads(__tstate
);
12674 if (PyErr_Occurred()) SWIG_fail
;
12676 Py_INCREF(Py_None
); resultobj
= Py_None
;
12683 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12684 PyObject
*resultobj
;
12685 wxDC
*arg1
= (wxDC
*) 0 ;
12686 wxPoint
*arg2
= 0 ;
12687 wxPoint
*arg3
= 0 ;
12688 wxPoint
*arg4
= 0 ;
12692 PyObject
* obj0
= 0 ;
12693 PyObject
* obj1
= 0 ;
12694 PyObject
* obj2
= 0 ;
12695 PyObject
* obj3
= 0 ;
12696 char *kwnames
[] = {
12697 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
12700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12702 if (SWIG_arg_fail(1)) SWIG_fail
;
12705 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12709 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12713 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12717 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
12719 wxPyEndAllowThreads(__tstate
);
12720 if (PyErr_Occurred()) SWIG_fail
;
12722 Py_INCREF(Py_None
); resultobj
= Py_None
;
12729 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12730 PyObject
*resultobj
;
12731 wxDC
*arg1
= (wxDC
*) 0 ;
12736 PyObject
* obj0
= 0 ;
12737 PyObject
* obj1
= 0 ;
12738 PyObject
* obj2
= 0 ;
12739 PyObject
* obj3
= 0 ;
12740 PyObject
* obj4
= 0 ;
12741 char *kwnames
[] = {
12742 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12747 if (SWIG_arg_fail(1)) SWIG_fail
;
12749 arg2
= (int)(SWIG_As_int(obj1
));
12750 if (SWIG_arg_fail(2)) SWIG_fail
;
12753 arg3
= (int)(SWIG_As_int(obj2
));
12754 if (SWIG_arg_fail(3)) SWIG_fail
;
12757 arg4
= (int)(SWIG_As_int(obj3
));
12758 if (SWIG_arg_fail(4)) SWIG_fail
;
12761 arg5
= (int)(SWIG_As_int(obj4
));
12762 if (SWIG_arg_fail(5)) SWIG_fail
;
12765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12766 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
12768 wxPyEndAllowThreads(__tstate
);
12769 if (PyErr_Occurred()) SWIG_fail
;
12771 Py_INCREF(Py_None
); resultobj
= Py_None
;
12778 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12779 PyObject
*resultobj
;
12780 wxDC
*arg1
= (wxDC
*) 0 ;
12783 PyObject
* obj0
= 0 ;
12784 PyObject
* obj1
= 0 ;
12785 char *kwnames
[] = {
12786 (char *) "self",(char *) "rect", NULL
12789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12791 if (SWIG_arg_fail(1)) SWIG_fail
;
12794 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12798 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
12800 wxPyEndAllowThreads(__tstate
);
12801 if (PyErr_Occurred()) SWIG_fail
;
12803 Py_INCREF(Py_None
); resultobj
= Py_None
;
12810 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12811 PyObject
*resultobj
;
12812 wxDC
*arg1
= (wxDC
*) 0 ;
12819 PyObject
* obj0
= 0 ;
12820 PyObject
* obj1
= 0 ;
12821 PyObject
* obj2
= 0 ;
12822 PyObject
* obj3
= 0 ;
12823 PyObject
* obj4
= 0 ;
12824 PyObject
* obj5
= 0 ;
12825 PyObject
* obj6
= 0 ;
12826 char *kwnames
[] = {
12827 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
12830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12832 if (SWIG_arg_fail(1)) SWIG_fail
;
12834 arg2
= (int)(SWIG_As_int(obj1
));
12835 if (SWIG_arg_fail(2)) SWIG_fail
;
12838 arg3
= (int)(SWIG_As_int(obj2
));
12839 if (SWIG_arg_fail(3)) SWIG_fail
;
12842 arg4
= (int)(SWIG_As_int(obj3
));
12843 if (SWIG_arg_fail(4)) SWIG_fail
;
12846 arg5
= (int)(SWIG_As_int(obj4
));
12847 if (SWIG_arg_fail(5)) SWIG_fail
;
12850 arg6
= (double)(SWIG_As_double(obj5
));
12851 if (SWIG_arg_fail(6)) SWIG_fail
;
12854 arg7
= (double)(SWIG_As_double(obj6
));
12855 if (SWIG_arg_fail(7)) SWIG_fail
;
12858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12859 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12861 wxPyEndAllowThreads(__tstate
);
12862 if (PyErr_Occurred()) SWIG_fail
;
12864 Py_INCREF(Py_None
); resultobj
= Py_None
;
12871 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12872 PyObject
*resultobj
;
12873 wxDC
*arg1
= (wxDC
*) 0 ;
12874 wxPoint
*arg2
= 0 ;
12880 PyObject
* obj0
= 0 ;
12881 PyObject
* obj1
= 0 ;
12882 PyObject
* obj2
= 0 ;
12883 PyObject
* obj3
= 0 ;
12884 PyObject
* obj4
= 0 ;
12885 char *kwnames
[] = {
12886 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
12889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12891 if (SWIG_arg_fail(1)) SWIG_fail
;
12894 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12898 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12901 arg4
= (double)(SWIG_As_double(obj3
));
12902 if (SWIG_arg_fail(4)) SWIG_fail
;
12905 arg5
= (double)(SWIG_As_double(obj4
));
12906 if (SWIG_arg_fail(5)) SWIG_fail
;
12909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12910 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
12912 wxPyEndAllowThreads(__tstate
);
12913 if (PyErr_Occurred()) SWIG_fail
;
12915 Py_INCREF(Py_None
); resultobj
= Py_None
;
12922 static PyObject
*_wrap_DC_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12923 PyObject
*resultobj
;
12924 wxDC
*arg1
= (wxDC
*) 0 ;
12927 PyObject
* obj0
= 0 ;
12928 PyObject
* obj1
= 0 ;
12929 PyObject
* obj2
= 0 ;
12930 char *kwnames
[] = {
12931 (char *) "self",(char *) "x",(char *) "y", NULL
12934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12936 if (SWIG_arg_fail(1)) SWIG_fail
;
12938 arg2
= (int)(SWIG_As_int(obj1
));
12939 if (SWIG_arg_fail(2)) SWIG_fail
;
12942 arg3
= (int)(SWIG_As_int(obj2
));
12943 if (SWIG_arg_fail(3)) SWIG_fail
;
12946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12947 (arg1
)->DrawPoint(arg2
,arg3
);
12949 wxPyEndAllowThreads(__tstate
);
12950 if (PyErr_Occurred()) SWIG_fail
;
12952 Py_INCREF(Py_None
); resultobj
= Py_None
;
12959 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12960 PyObject
*resultobj
;
12961 wxDC
*arg1
= (wxDC
*) 0 ;
12962 wxPoint
*arg2
= 0 ;
12964 PyObject
* obj0
= 0 ;
12965 PyObject
* obj1
= 0 ;
12966 char *kwnames
[] = {
12967 (char *) "self",(char *) "pt", NULL
12970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
12971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12972 if (SWIG_arg_fail(1)) SWIG_fail
;
12975 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12979 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
12981 wxPyEndAllowThreads(__tstate
);
12982 if (PyErr_Occurred()) SWIG_fail
;
12984 Py_INCREF(Py_None
); resultobj
= Py_None
;
12991 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12992 PyObject
*resultobj
;
12993 wxDC
*arg1
= (wxDC
*) 0 ;
12998 PyObject
* obj0
= 0 ;
12999 PyObject
* obj1
= 0 ;
13000 PyObject
* obj2
= 0 ;
13001 PyObject
* obj3
= 0 ;
13002 PyObject
* obj4
= 0 ;
13003 char *kwnames
[] = {
13004 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13009 if (SWIG_arg_fail(1)) SWIG_fail
;
13011 arg2
= (int)(SWIG_As_int(obj1
));
13012 if (SWIG_arg_fail(2)) SWIG_fail
;
13015 arg3
= (int)(SWIG_As_int(obj2
));
13016 if (SWIG_arg_fail(3)) SWIG_fail
;
13019 arg4
= (int)(SWIG_As_int(obj3
));
13020 if (SWIG_arg_fail(4)) SWIG_fail
;
13023 arg5
= (int)(SWIG_As_int(obj4
));
13024 if (SWIG_arg_fail(5)) SWIG_fail
;
13027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13028 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
13030 wxPyEndAllowThreads(__tstate
);
13031 if (PyErr_Occurred()) SWIG_fail
;
13033 Py_INCREF(Py_None
); resultobj
= Py_None
;
13040 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13041 PyObject
*resultobj
;
13042 wxDC
*arg1
= (wxDC
*) 0 ;
13045 PyObject
* obj0
= 0 ;
13046 PyObject
* obj1
= 0 ;
13047 char *kwnames
[] = {
13048 (char *) "self",(char *) "rect", NULL
13051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13053 if (SWIG_arg_fail(1)) SWIG_fail
;
13056 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13060 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
13062 wxPyEndAllowThreads(__tstate
);
13063 if (PyErr_Occurred()) SWIG_fail
;
13065 Py_INCREF(Py_None
); resultobj
= Py_None
;
13072 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13073 PyObject
*resultobj
;
13074 wxDC
*arg1
= (wxDC
*) 0 ;
13075 wxPoint
*arg2
= 0 ;
13079 PyObject
* obj0
= 0 ;
13080 PyObject
* obj1
= 0 ;
13081 PyObject
* obj2
= 0 ;
13082 char *kwnames
[] = {
13083 (char *) "self",(char *) "pt",(char *) "sz", NULL
13086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13088 if (SWIG_arg_fail(1)) SWIG_fail
;
13091 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13095 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13099 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13101 wxPyEndAllowThreads(__tstate
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13104 Py_INCREF(Py_None
); resultobj
= Py_None
;
13111 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13112 PyObject
*resultobj
;
13113 wxDC
*arg1
= (wxDC
*) 0 ;
13119 PyObject
* obj0
= 0 ;
13120 PyObject
* obj1
= 0 ;
13121 PyObject
* obj2
= 0 ;
13122 PyObject
* obj3
= 0 ;
13123 PyObject
* obj4
= 0 ;
13124 PyObject
* obj5
= 0 ;
13125 char *kwnames
[] = {
13126 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
13129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13131 if (SWIG_arg_fail(1)) SWIG_fail
;
13133 arg2
= (int)(SWIG_As_int(obj1
));
13134 if (SWIG_arg_fail(2)) SWIG_fail
;
13137 arg3
= (int)(SWIG_As_int(obj2
));
13138 if (SWIG_arg_fail(3)) SWIG_fail
;
13141 arg4
= (int)(SWIG_As_int(obj3
));
13142 if (SWIG_arg_fail(4)) SWIG_fail
;
13145 arg5
= (int)(SWIG_As_int(obj4
));
13146 if (SWIG_arg_fail(5)) SWIG_fail
;
13149 arg6
= (double)(SWIG_As_double(obj5
));
13150 if (SWIG_arg_fail(6)) SWIG_fail
;
13153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13154 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
13156 wxPyEndAllowThreads(__tstate
);
13157 if (PyErr_Occurred()) SWIG_fail
;
13159 Py_INCREF(Py_None
); resultobj
= Py_None
;
13166 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13167 PyObject
*resultobj
;
13168 wxDC
*arg1
= (wxDC
*) 0 ;
13172 PyObject
* obj0
= 0 ;
13173 PyObject
* obj1
= 0 ;
13174 PyObject
* obj2
= 0 ;
13175 char *kwnames
[] = {
13176 (char *) "self",(char *) "r",(char *) "radius", NULL
13179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13181 if (SWIG_arg_fail(1)) SWIG_fail
;
13184 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13187 arg3
= (double)(SWIG_As_double(obj2
));
13188 if (SWIG_arg_fail(3)) SWIG_fail
;
13191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13192 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
13194 wxPyEndAllowThreads(__tstate
);
13195 if (PyErr_Occurred()) SWIG_fail
;
13197 Py_INCREF(Py_None
); resultobj
= Py_None
;
13204 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13205 PyObject
*resultobj
;
13206 wxDC
*arg1
= (wxDC
*) 0 ;
13207 wxPoint
*arg2
= 0 ;
13212 PyObject
* obj0
= 0 ;
13213 PyObject
* obj1
= 0 ;
13214 PyObject
* obj2
= 0 ;
13215 PyObject
* obj3
= 0 ;
13216 char *kwnames
[] = {
13217 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
13220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13222 if (SWIG_arg_fail(1)) SWIG_fail
;
13225 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13229 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13232 arg4
= (double)(SWIG_As_double(obj3
));
13233 if (SWIG_arg_fail(4)) SWIG_fail
;
13236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13237 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
13239 wxPyEndAllowThreads(__tstate
);
13240 if (PyErr_Occurred()) SWIG_fail
;
13242 Py_INCREF(Py_None
); resultobj
= Py_None
;
13249 static PyObject
*_wrap_DC_DrawCircle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13250 PyObject
*resultobj
;
13251 wxDC
*arg1
= (wxDC
*) 0 ;
13255 PyObject
* obj0
= 0 ;
13256 PyObject
* obj1
= 0 ;
13257 PyObject
* obj2
= 0 ;
13258 PyObject
* obj3
= 0 ;
13259 char *kwnames
[] = {
13260 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
13263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13265 if (SWIG_arg_fail(1)) SWIG_fail
;
13267 arg2
= (int)(SWIG_As_int(obj1
));
13268 if (SWIG_arg_fail(2)) SWIG_fail
;
13271 arg3
= (int)(SWIG_As_int(obj2
));
13272 if (SWIG_arg_fail(3)) SWIG_fail
;
13275 arg4
= (int)(SWIG_As_int(obj3
));
13276 if (SWIG_arg_fail(4)) SWIG_fail
;
13279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13280 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
13282 wxPyEndAllowThreads(__tstate
);
13283 if (PyErr_Occurred()) SWIG_fail
;
13285 Py_INCREF(Py_None
); resultobj
= Py_None
;
13292 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13293 PyObject
*resultobj
;
13294 wxDC
*arg1
= (wxDC
*) 0 ;
13295 wxPoint
*arg2
= 0 ;
13298 PyObject
* obj0
= 0 ;
13299 PyObject
* obj1
= 0 ;
13300 PyObject
* obj2
= 0 ;
13301 char *kwnames
[] = {
13302 (char *) "self",(char *) "pt",(char *) "radius", NULL
13305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13307 if (SWIG_arg_fail(1)) SWIG_fail
;
13310 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13313 arg3
= (int)(SWIG_As_int(obj2
));
13314 if (SWIG_arg_fail(3)) SWIG_fail
;
13317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13318 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
13320 wxPyEndAllowThreads(__tstate
);
13321 if (PyErr_Occurred()) SWIG_fail
;
13323 Py_INCREF(Py_None
); resultobj
= Py_None
;
13330 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13331 PyObject
*resultobj
;
13332 wxDC
*arg1
= (wxDC
*) 0 ;
13337 PyObject
* obj0
= 0 ;
13338 PyObject
* obj1
= 0 ;
13339 PyObject
* obj2
= 0 ;
13340 PyObject
* obj3
= 0 ;
13341 PyObject
* obj4
= 0 ;
13342 char *kwnames
[] = {
13343 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13348 if (SWIG_arg_fail(1)) SWIG_fail
;
13350 arg2
= (int)(SWIG_As_int(obj1
));
13351 if (SWIG_arg_fail(2)) SWIG_fail
;
13354 arg3
= (int)(SWIG_As_int(obj2
));
13355 if (SWIG_arg_fail(3)) SWIG_fail
;
13358 arg4
= (int)(SWIG_As_int(obj3
));
13359 if (SWIG_arg_fail(4)) SWIG_fail
;
13362 arg5
= (int)(SWIG_As_int(obj4
));
13363 if (SWIG_arg_fail(5)) SWIG_fail
;
13366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13367 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
13369 wxPyEndAllowThreads(__tstate
);
13370 if (PyErr_Occurred()) SWIG_fail
;
13372 Py_INCREF(Py_None
); resultobj
= Py_None
;
13379 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13380 PyObject
*resultobj
;
13381 wxDC
*arg1
= (wxDC
*) 0 ;
13384 PyObject
* obj0
= 0 ;
13385 PyObject
* obj1
= 0 ;
13386 char *kwnames
[] = {
13387 (char *) "self",(char *) "rect", NULL
13390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13392 if (SWIG_arg_fail(1)) SWIG_fail
;
13395 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13399 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
13401 wxPyEndAllowThreads(__tstate
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13404 Py_INCREF(Py_None
); resultobj
= Py_None
;
13411 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13412 PyObject
*resultobj
;
13413 wxDC
*arg1
= (wxDC
*) 0 ;
13414 wxPoint
*arg2
= 0 ;
13418 PyObject
* obj0
= 0 ;
13419 PyObject
* obj1
= 0 ;
13420 PyObject
* obj2
= 0 ;
13421 char *kwnames
[] = {
13422 (char *) "self",(char *) "pt",(char *) "sz", NULL
13425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13427 if (SWIG_arg_fail(1)) SWIG_fail
;
13430 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13434 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13438 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13440 wxPyEndAllowThreads(__tstate
);
13441 if (PyErr_Occurred()) SWIG_fail
;
13443 Py_INCREF(Py_None
); resultobj
= Py_None
;
13450 static PyObject
*_wrap_DC_DrawIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13451 PyObject
*resultobj
;
13452 wxDC
*arg1
= (wxDC
*) 0 ;
13456 PyObject
* obj0
= 0 ;
13457 PyObject
* obj1
= 0 ;
13458 PyObject
* obj2
= 0 ;
13459 PyObject
* obj3
= 0 ;
13460 char *kwnames
[] = {
13461 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
13464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13466 if (SWIG_arg_fail(1)) SWIG_fail
;
13468 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
13469 if (SWIG_arg_fail(2)) SWIG_fail
;
13470 if (arg2
== NULL
) {
13471 SWIG_null_ref("wxIcon");
13473 if (SWIG_arg_fail(2)) SWIG_fail
;
13476 arg3
= (int)(SWIG_As_int(obj2
));
13477 if (SWIG_arg_fail(3)) SWIG_fail
;
13480 arg4
= (int)(SWIG_As_int(obj3
));
13481 if (SWIG_arg_fail(4)) SWIG_fail
;
13484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13485 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
13487 wxPyEndAllowThreads(__tstate
);
13488 if (PyErr_Occurred()) SWIG_fail
;
13490 Py_INCREF(Py_None
); resultobj
= Py_None
;
13497 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13498 PyObject
*resultobj
;
13499 wxDC
*arg1
= (wxDC
*) 0 ;
13501 wxPoint
*arg3
= 0 ;
13503 PyObject
* obj0
= 0 ;
13504 PyObject
* obj1
= 0 ;
13505 PyObject
* obj2
= 0 ;
13506 char *kwnames
[] = {
13507 (char *) "self",(char *) "icon",(char *) "pt", NULL
13510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13512 if (SWIG_arg_fail(1)) SWIG_fail
;
13514 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
13515 if (SWIG_arg_fail(2)) SWIG_fail
;
13516 if (arg2
== NULL
) {
13517 SWIG_null_ref("wxIcon");
13519 if (SWIG_arg_fail(2)) SWIG_fail
;
13523 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13527 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
13529 wxPyEndAllowThreads(__tstate
);
13530 if (PyErr_Occurred()) SWIG_fail
;
13532 Py_INCREF(Py_None
); resultobj
= Py_None
;
13539 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13540 PyObject
*resultobj
;
13541 wxDC
*arg1
= (wxDC
*) 0 ;
13542 wxBitmap
*arg2
= 0 ;
13545 bool arg5
= (bool) false ;
13546 PyObject
* obj0
= 0 ;
13547 PyObject
* obj1
= 0 ;
13548 PyObject
* obj2
= 0 ;
13549 PyObject
* obj3
= 0 ;
13550 PyObject
* obj4
= 0 ;
13551 char *kwnames
[] = {
13552 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
13555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13557 if (SWIG_arg_fail(1)) SWIG_fail
;
13559 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
13560 if (SWIG_arg_fail(2)) SWIG_fail
;
13561 if (arg2
== NULL
) {
13562 SWIG_null_ref("wxBitmap");
13564 if (SWIG_arg_fail(2)) SWIG_fail
;
13567 arg3
= (int)(SWIG_As_int(obj2
));
13568 if (SWIG_arg_fail(3)) SWIG_fail
;
13571 arg4
= (int)(SWIG_As_int(obj3
));
13572 if (SWIG_arg_fail(4)) SWIG_fail
;
13576 arg5
= (bool)(SWIG_As_bool(obj4
));
13577 if (SWIG_arg_fail(5)) SWIG_fail
;
13581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13582 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
13584 wxPyEndAllowThreads(__tstate
);
13585 if (PyErr_Occurred()) SWIG_fail
;
13587 Py_INCREF(Py_None
); resultobj
= Py_None
;
13594 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13595 PyObject
*resultobj
;
13596 wxDC
*arg1
= (wxDC
*) 0 ;
13597 wxBitmap
*arg2
= 0 ;
13598 wxPoint
*arg3
= 0 ;
13599 bool arg4
= (bool) false ;
13601 PyObject
* obj0
= 0 ;
13602 PyObject
* obj1
= 0 ;
13603 PyObject
* obj2
= 0 ;
13604 PyObject
* obj3
= 0 ;
13605 char *kwnames
[] = {
13606 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
13609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13611 if (SWIG_arg_fail(1)) SWIG_fail
;
13613 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
13614 if (SWIG_arg_fail(2)) SWIG_fail
;
13615 if (arg2
== NULL
) {
13616 SWIG_null_ref("wxBitmap");
13618 if (SWIG_arg_fail(2)) SWIG_fail
;
13622 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13626 arg4
= (bool)(SWIG_As_bool(obj3
));
13627 if (SWIG_arg_fail(4)) SWIG_fail
;
13631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13632 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
13634 wxPyEndAllowThreads(__tstate
);
13635 if (PyErr_Occurred()) SWIG_fail
;
13637 Py_INCREF(Py_None
); resultobj
= Py_None
;
13644 static PyObject
*_wrap_DC_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13645 PyObject
*resultobj
;
13646 wxDC
*arg1
= (wxDC
*) 0 ;
13647 wxString
*arg2
= 0 ;
13650 bool temp2
= false ;
13651 PyObject
* obj0
= 0 ;
13652 PyObject
* obj1
= 0 ;
13653 PyObject
* obj2
= 0 ;
13654 PyObject
* obj3
= 0 ;
13655 char *kwnames
[] = {
13656 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
13659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13661 if (SWIG_arg_fail(1)) SWIG_fail
;
13663 arg2
= wxString_in_helper(obj1
);
13664 if (arg2
== NULL
) SWIG_fail
;
13668 arg3
= (int)(SWIG_As_int(obj2
));
13669 if (SWIG_arg_fail(3)) SWIG_fail
;
13672 arg4
= (int)(SWIG_As_int(obj3
));
13673 if (SWIG_arg_fail(4)) SWIG_fail
;
13676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13677 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
13679 wxPyEndAllowThreads(__tstate
);
13680 if (PyErr_Occurred()) SWIG_fail
;
13682 Py_INCREF(Py_None
); resultobj
= Py_None
;
13697 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13698 PyObject
*resultobj
;
13699 wxDC
*arg1
= (wxDC
*) 0 ;
13700 wxString
*arg2
= 0 ;
13701 wxPoint
*arg3
= 0 ;
13702 bool temp2
= false ;
13704 PyObject
* obj0
= 0 ;
13705 PyObject
* obj1
= 0 ;
13706 PyObject
* obj2
= 0 ;
13707 char *kwnames
[] = {
13708 (char *) "self",(char *) "text",(char *) "pt", NULL
13711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13713 if (SWIG_arg_fail(1)) SWIG_fail
;
13715 arg2
= wxString_in_helper(obj1
);
13716 if (arg2
== NULL
) SWIG_fail
;
13721 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13725 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
13727 wxPyEndAllowThreads(__tstate
);
13728 if (PyErr_Occurred()) SWIG_fail
;
13730 Py_INCREF(Py_None
); resultobj
= Py_None
;
13745 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13746 PyObject
*resultobj
;
13747 wxDC
*arg1
= (wxDC
*) 0 ;
13748 wxString
*arg2
= 0 ;
13752 bool temp2
= false ;
13753 PyObject
* obj0
= 0 ;
13754 PyObject
* obj1
= 0 ;
13755 PyObject
* obj2
= 0 ;
13756 PyObject
* obj3
= 0 ;
13757 PyObject
* obj4
= 0 ;
13758 char *kwnames
[] = {
13759 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
13762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13764 if (SWIG_arg_fail(1)) SWIG_fail
;
13766 arg2
= wxString_in_helper(obj1
);
13767 if (arg2
== NULL
) SWIG_fail
;
13771 arg3
= (int)(SWIG_As_int(obj2
));
13772 if (SWIG_arg_fail(3)) SWIG_fail
;
13775 arg4
= (int)(SWIG_As_int(obj3
));
13776 if (SWIG_arg_fail(4)) SWIG_fail
;
13779 arg5
= (double)(SWIG_As_double(obj4
));
13780 if (SWIG_arg_fail(5)) SWIG_fail
;
13783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13784 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13786 wxPyEndAllowThreads(__tstate
);
13787 if (PyErr_Occurred()) SWIG_fail
;
13789 Py_INCREF(Py_None
); resultobj
= Py_None
;
13804 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13805 PyObject
*resultobj
;
13806 wxDC
*arg1
= (wxDC
*) 0 ;
13807 wxString
*arg2
= 0 ;
13808 wxPoint
*arg3
= 0 ;
13810 bool temp2
= false ;
13812 PyObject
* obj0
= 0 ;
13813 PyObject
* obj1
= 0 ;
13814 PyObject
* obj2
= 0 ;
13815 PyObject
* obj3
= 0 ;
13816 char *kwnames
[] = {
13817 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
13820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13822 if (SWIG_arg_fail(1)) SWIG_fail
;
13824 arg2
= wxString_in_helper(obj1
);
13825 if (arg2
== NULL
) SWIG_fail
;
13830 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13833 arg4
= (double)(SWIG_As_double(obj3
));
13834 if (SWIG_arg_fail(4)) SWIG_fail
;
13837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13838 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
13840 wxPyEndAllowThreads(__tstate
);
13841 if (PyErr_Occurred()) SWIG_fail
;
13843 Py_INCREF(Py_None
); resultobj
= Py_None
;
13858 static PyObject
*_wrap_DC_Blit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13859 PyObject
*resultobj
;
13860 wxDC
*arg1
= (wxDC
*) 0 ;
13865 wxDC
*arg6
= (wxDC
*) 0 ;
13868 int arg9
= (int) wxCOPY
;
13869 bool arg10
= (bool) false ;
13870 int arg11
= (int) -1 ;
13871 int arg12
= (int) -1 ;
13873 PyObject
* obj0
= 0 ;
13874 PyObject
* obj1
= 0 ;
13875 PyObject
* obj2
= 0 ;
13876 PyObject
* obj3
= 0 ;
13877 PyObject
* obj4
= 0 ;
13878 PyObject
* obj5
= 0 ;
13879 PyObject
* obj6
= 0 ;
13880 PyObject
* obj7
= 0 ;
13881 PyObject
* obj8
= 0 ;
13882 PyObject
* obj9
= 0 ;
13883 PyObject
* obj10
= 0 ;
13884 PyObject
* obj11
= 0 ;
13885 char *kwnames
[] = {
13886 (char *) "self",(char *) "xdest",(char *) "ydest",(char *) "width",(char *) "height",(char *) "source",(char *) "xsrc",(char *) "ysrc",(char *) "rop",(char *) "useMask",(char *) "xsrcMask",(char *) "ysrcMask", NULL
13889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO|OOOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
,&obj11
)) goto fail
;
13890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13891 if (SWIG_arg_fail(1)) SWIG_fail
;
13893 arg2
= (int)(SWIG_As_int(obj1
));
13894 if (SWIG_arg_fail(2)) SWIG_fail
;
13897 arg3
= (int)(SWIG_As_int(obj2
));
13898 if (SWIG_arg_fail(3)) SWIG_fail
;
13901 arg4
= (int)(SWIG_As_int(obj3
));
13902 if (SWIG_arg_fail(4)) SWIG_fail
;
13905 arg5
= (int)(SWIG_As_int(obj4
));
13906 if (SWIG_arg_fail(5)) SWIG_fail
;
13908 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13909 if (SWIG_arg_fail(6)) SWIG_fail
;
13911 arg7
= (int)(SWIG_As_int(obj6
));
13912 if (SWIG_arg_fail(7)) SWIG_fail
;
13915 arg8
= (int)(SWIG_As_int(obj7
));
13916 if (SWIG_arg_fail(8)) SWIG_fail
;
13920 arg9
= (int)(SWIG_As_int(obj8
));
13921 if (SWIG_arg_fail(9)) SWIG_fail
;
13926 arg10
= (bool)(SWIG_As_bool(obj9
));
13927 if (SWIG_arg_fail(10)) SWIG_fail
;
13932 arg11
= (int)(SWIG_As_int(obj10
));
13933 if (SWIG_arg_fail(11)) SWIG_fail
;
13938 arg12
= (int)(SWIG_As_int(obj11
));
13939 if (SWIG_arg_fail(12)) SWIG_fail
;
13943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13944 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
13946 wxPyEndAllowThreads(__tstate
);
13947 if (PyErr_Occurred()) SWIG_fail
;
13950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13958 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13959 PyObject
*resultobj
;
13960 wxDC
*arg1
= (wxDC
*) 0 ;
13961 wxPoint
*arg2
= 0 ;
13963 wxDC
*arg4
= (wxDC
*) 0 ;
13964 wxPoint
*arg5
= 0 ;
13965 int arg6
= (int) wxCOPY
;
13966 bool arg7
= (bool) false ;
13967 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
13968 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
13974 PyObject
* obj0
= 0 ;
13975 PyObject
* obj1
= 0 ;
13976 PyObject
* obj2
= 0 ;
13977 PyObject
* obj3
= 0 ;
13978 PyObject
* obj4
= 0 ;
13979 PyObject
* obj5
= 0 ;
13980 PyObject
* obj6
= 0 ;
13981 PyObject
* obj7
= 0 ;
13982 char *kwnames
[] = {
13983 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
13986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13988 if (SWIG_arg_fail(1)) SWIG_fail
;
13991 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13995 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13997 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13998 if (SWIG_arg_fail(4)) SWIG_fail
;
14001 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14005 arg6
= (int)(SWIG_As_int(obj5
));
14006 if (SWIG_arg_fail(6)) SWIG_fail
;
14011 arg7
= (bool)(SWIG_As_bool(obj6
));
14012 if (SWIG_arg_fail(7)) SWIG_fail
;
14018 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
14022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14023 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
14025 wxPyEndAllowThreads(__tstate
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14037 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14038 PyObject
*resultobj
;
14039 wxDC
*arg1
= (wxDC
*) 0 ;
14044 PyObject
* obj0
= 0 ;
14045 PyObject
* obj1
= 0 ;
14046 PyObject
* obj2
= 0 ;
14047 PyObject
* obj3
= 0 ;
14048 PyObject
* obj4
= 0 ;
14049 char *kwnames
[] = {
14050 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14055 if (SWIG_arg_fail(1)) SWIG_fail
;
14057 arg2
= (int)(SWIG_As_int(obj1
));
14058 if (SWIG_arg_fail(2)) SWIG_fail
;
14061 arg3
= (int)(SWIG_As_int(obj2
));
14062 if (SWIG_arg_fail(3)) SWIG_fail
;
14065 arg4
= (int)(SWIG_As_int(obj3
));
14066 if (SWIG_arg_fail(4)) SWIG_fail
;
14069 arg5
= (int)(SWIG_As_int(obj4
));
14070 if (SWIG_arg_fail(5)) SWIG_fail
;
14073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14074 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
14076 wxPyEndAllowThreads(__tstate
);
14077 if (PyErr_Occurred()) SWIG_fail
;
14079 Py_INCREF(Py_None
); resultobj
= Py_None
;
14086 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14087 PyObject
*resultobj
;
14088 wxDC
*arg1
= (wxDC
*) 0 ;
14089 wxPoint
*arg2
= 0 ;
14093 PyObject
* obj0
= 0 ;
14094 PyObject
* obj1
= 0 ;
14095 PyObject
* obj2
= 0 ;
14096 char *kwnames
[] = {
14097 (char *) "self",(char *) "pt",(char *) "sz", NULL
14100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14102 if (SWIG_arg_fail(1)) SWIG_fail
;
14105 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14109 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14113 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
14115 wxPyEndAllowThreads(__tstate
);
14116 if (PyErr_Occurred()) SWIG_fail
;
14118 Py_INCREF(Py_None
); resultobj
= Py_None
;
14125 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14126 PyObject
*resultobj
;
14127 wxDC
*arg1
= (wxDC
*) 0 ;
14128 wxRegion
*arg2
= 0 ;
14129 PyObject
* obj0
= 0 ;
14130 PyObject
* obj1
= 0 ;
14131 char *kwnames
[] = {
14132 (char *) "self",(char *) "region", NULL
14135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
14136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14137 if (SWIG_arg_fail(1)) SWIG_fail
;
14139 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
14140 if (SWIG_arg_fail(2)) SWIG_fail
;
14141 if (arg2
== NULL
) {
14142 SWIG_null_ref("wxRegion");
14144 if (SWIG_arg_fail(2)) SWIG_fail
;
14147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14148 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
14150 wxPyEndAllowThreads(__tstate
);
14151 if (PyErr_Occurred()) SWIG_fail
;
14153 Py_INCREF(Py_None
); resultobj
= Py_None
;
14160 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14161 PyObject
*resultobj
;
14162 wxDC
*arg1
= (wxDC
*) 0 ;
14165 PyObject
* obj0
= 0 ;
14166 PyObject
* obj1
= 0 ;
14167 char *kwnames
[] = {
14168 (char *) "self",(char *) "rect", NULL
14171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14173 if (SWIG_arg_fail(1)) SWIG_fail
;
14176 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14180 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
14182 wxPyEndAllowThreads(__tstate
);
14183 if (PyErr_Occurred()) SWIG_fail
;
14185 Py_INCREF(Py_None
); resultobj
= Py_None
;
14192 static PyObject
*_wrap_DC_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14193 PyObject
*resultobj
;
14194 wxDC
*arg1
= (wxDC
*) 0 ;
14196 wxPoint
*arg3
= (wxPoint
*) 0 ;
14197 int arg4
= (int) 0 ;
14198 int arg5
= (int) 0 ;
14199 PyObject
* obj0
= 0 ;
14200 PyObject
* obj1
= 0 ;
14201 PyObject
* obj2
= 0 ;
14202 PyObject
* obj3
= 0 ;
14203 char *kwnames
[] = {
14204 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
14207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14209 if (SWIG_arg_fail(1)) SWIG_fail
;
14211 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
14212 if (arg3
== NULL
) SWIG_fail
;
14216 arg4
= (int)(SWIG_As_int(obj2
));
14217 if (SWIG_arg_fail(4)) SWIG_fail
;
14222 arg5
= (int)(SWIG_As_int(obj3
));
14223 if (SWIG_arg_fail(5)) SWIG_fail
;
14227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14228 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
14230 wxPyEndAllowThreads(__tstate
);
14231 if (PyErr_Occurred()) SWIG_fail
;
14233 Py_INCREF(Py_None
); resultobj
= Py_None
;
14235 if (arg3
) delete [] arg3
;
14240 if (arg3
) delete [] arg3
;
14246 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14247 PyObject
*resultobj
;
14248 wxDC
*arg1
= (wxDC
*) 0 ;
14250 wxPoint
*arg3
= (wxPoint
*) 0 ;
14251 int arg4
= (int) 0 ;
14252 int arg5
= (int) 0 ;
14253 int arg6
= (int) wxODDEVEN_RULE
;
14254 PyObject
* obj0
= 0 ;
14255 PyObject
* obj1
= 0 ;
14256 PyObject
* obj2
= 0 ;
14257 PyObject
* obj3
= 0 ;
14258 PyObject
* obj4
= 0 ;
14259 char *kwnames
[] = {
14260 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
14263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14265 if (SWIG_arg_fail(1)) SWIG_fail
;
14267 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
14268 if (arg3
== NULL
) SWIG_fail
;
14272 arg4
= (int)(SWIG_As_int(obj2
));
14273 if (SWIG_arg_fail(4)) SWIG_fail
;
14278 arg5
= (int)(SWIG_As_int(obj3
));
14279 if (SWIG_arg_fail(5)) SWIG_fail
;
14284 arg6
= (int)(SWIG_As_int(obj4
));
14285 if (SWIG_arg_fail(6)) SWIG_fail
;
14289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14290 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
14292 wxPyEndAllowThreads(__tstate
);
14293 if (PyErr_Occurred()) SWIG_fail
;
14295 Py_INCREF(Py_None
); resultobj
= Py_None
;
14297 if (arg3
) delete [] arg3
;
14302 if (arg3
) delete [] arg3
;
14308 static PyObject
*_wrap_DC_DrawLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14309 PyObject
*resultobj
;
14310 wxDC
*arg1
= (wxDC
*) 0 ;
14311 wxString
*arg2
= 0 ;
14313 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
14314 int arg5
= (int) -1 ;
14315 bool temp2
= false ;
14317 PyObject
* obj0
= 0 ;
14318 PyObject
* obj1
= 0 ;
14319 PyObject
* obj2
= 0 ;
14320 PyObject
* obj3
= 0 ;
14321 PyObject
* obj4
= 0 ;
14322 char *kwnames
[] = {
14323 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
14326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14328 if (SWIG_arg_fail(1)) SWIG_fail
;
14330 arg2
= wxString_in_helper(obj1
);
14331 if (arg2
== NULL
) SWIG_fail
;
14336 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
14340 arg4
= (int)(SWIG_As_int(obj3
));
14341 if (SWIG_arg_fail(4)) SWIG_fail
;
14346 arg5
= (int)(SWIG_As_int(obj4
));
14347 if (SWIG_arg_fail(5)) SWIG_fail
;
14351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14352 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
14354 wxPyEndAllowThreads(__tstate
);
14355 if (PyErr_Occurred()) SWIG_fail
;
14357 Py_INCREF(Py_None
); resultobj
= Py_None
;
14372 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14373 PyObject
*resultobj
;
14374 wxDC
*arg1
= (wxDC
*) 0 ;
14375 wxString
*arg2
= 0 ;
14376 wxBitmap
*arg3
= 0 ;
14378 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
14379 int arg6
= (int) -1 ;
14381 bool temp2
= false ;
14383 PyObject
* obj0
= 0 ;
14384 PyObject
* obj1
= 0 ;
14385 PyObject
* obj2
= 0 ;
14386 PyObject
* obj3
= 0 ;
14387 PyObject
* obj4
= 0 ;
14388 PyObject
* obj5
= 0 ;
14389 char *kwnames
[] = {
14390 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
14393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14395 if (SWIG_arg_fail(1)) SWIG_fail
;
14397 arg2
= wxString_in_helper(obj1
);
14398 if (arg2
== NULL
) SWIG_fail
;
14402 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
14403 if (SWIG_arg_fail(3)) SWIG_fail
;
14404 if (arg3
== NULL
) {
14405 SWIG_null_ref("wxBitmap");
14407 if (SWIG_arg_fail(3)) SWIG_fail
;
14411 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
14415 arg5
= (int)(SWIG_As_int(obj4
));
14416 if (SWIG_arg_fail(5)) SWIG_fail
;
14421 arg6
= (int)(SWIG_As_int(obj5
));
14422 if (SWIG_arg_fail(6)) SWIG_fail
;
14426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14427 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
14429 wxPyEndAllowThreads(__tstate
);
14430 if (PyErr_Occurred()) SWIG_fail
;
14433 wxRect
* resultptr
;
14434 resultptr
= new wxRect((wxRect
&)(result
));
14435 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
14451 static PyObject
*_wrap_DC_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14452 PyObject
*resultobj
;
14453 wxDC
*arg1
= (wxDC
*) 0 ;
14455 wxPoint
*arg3
= (wxPoint
*) 0 ;
14456 PyObject
* obj0
= 0 ;
14457 PyObject
* obj1
= 0 ;
14458 char *kwnames
[] = {
14459 (char *) "self",(char *) "points", NULL
14462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
14463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14464 if (SWIG_arg_fail(1)) SWIG_fail
;
14466 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
14467 if (arg3
== NULL
) SWIG_fail
;
14470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14471 (arg1
)->DrawSpline(arg2
,arg3
);
14473 wxPyEndAllowThreads(__tstate
);
14474 if (PyErr_Occurred()) SWIG_fail
;
14476 Py_INCREF(Py_None
); resultobj
= Py_None
;
14478 if (arg3
) delete [] arg3
;
14483 if (arg3
) delete [] arg3
;
14489 static PyObject
*_wrap_DC_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14490 PyObject
*resultobj
;
14491 wxDC
*arg1
= (wxDC
*) 0 ;
14492 PyObject
* obj0
= 0 ;
14493 char *kwnames
[] = {
14494 (char *) "self", NULL
14497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
14498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14499 if (SWIG_arg_fail(1)) SWIG_fail
;
14501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14504 wxPyEndAllowThreads(__tstate
);
14505 if (PyErr_Occurred()) SWIG_fail
;
14507 Py_INCREF(Py_None
); resultobj
= Py_None
;
14514 static PyObject
*_wrap_DC_StartDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14515 PyObject
*resultobj
;
14516 wxDC
*arg1
= (wxDC
*) 0 ;
14517 wxString
*arg2
= 0 ;
14519 bool temp2
= false ;
14520 PyObject
* obj0
= 0 ;
14521 PyObject
* obj1
= 0 ;
14522 char *kwnames
[] = {
14523 (char *) "self",(char *) "message", NULL
14526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
14527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14528 if (SWIG_arg_fail(1)) SWIG_fail
;
14530 arg2
= wxString_in_helper(obj1
);
14531 if (arg2
== NULL
) SWIG_fail
;
14535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14536 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
14538 wxPyEndAllowThreads(__tstate
);
14539 if (PyErr_Occurred()) SWIG_fail
;
14542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14558 static PyObject
*_wrap_DC_EndDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14559 PyObject
*resultobj
;
14560 wxDC
*arg1
= (wxDC
*) 0 ;
14561 PyObject
* obj0
= 0 ;
14562 char *kwnames
[] = {
14563 (char *) "self", NULL
14566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
14567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14568 if (SWIG_arg_fail(1)) SWIG_fail
;
14570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14573 wxPyEndAllowThreads(__tstate
);
14574 if (PyErr_Occurred()) SWIG_fail
;
14576 Py_INCREF(Py_None
); resultobj
= Py_None
;
14583 static PyObject
*_wrap_DC_StartPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14584 PyObject
*resultobj
;
14585 wxDC
*arg1
= (wxDC
*) 0 ;
14586 PyObject
* obj0
= 0 ;
14587 char *kwnames
[] = {
14588 (char *) "self", NULL
14591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
14592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14593 if (SWIG_arg_fail(1)) SWIG_fail
;
14595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14596 (arg1
)->StartPage();
14598 wxPyEndAllowThreads(__tstate
);
14599 if (PyErr_Occurred()) SWIG_fail
;
14601 Py_INCREF(Py_None
); resultobj
= Py_None
;
14608 static PyObject
*_wrap_DC_EndPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14609 PyObject
*resultobj
;
14610 wxDC
*arg1
= (wxDC
*) 0 ;
14611 PyObject
* obj0
= 0 ;
14612 char *kwnames
[] = {
14613 (char *) "self", NULL
14616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
14617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14618 if (SWIG_arg_fail(1)) SWIG_fail
;
14620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14623 wxPyEndAllowThreads(__tstate
);
14624 if (PyErr_Occurred()) SWIG_fail
;
14626 Py_INCREF(Py_None
); resultobj
= Py_None
;
14633 static PyObject
*_wrap_DC_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14634 PyObject
*resultobj
;
14635 wxDC
*arg1
= (wxDC
*) 0 ;
14637 PyObject
* obj0
= 0 ;
14638 PyObject
* obj1
= 0 ;
14639 char *kwnames
[] = {
14640 (char *) "self",(char *) "font", NULL
14643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
14644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14645 if (SWIG_arg_fail(1)) SWIG_fail
;
14647 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
14648 if (SWIG_arg_fail(2)) SWIG_fail
;
14649 if (arg2
== NULL
) {
14650 SWIG_null_ref("wxFont");
14652 if (SWIG_arg_fail(2)) SWIG_fail
;
14655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14656 (arg1
)->SetFont((wxFont
const &)*arg2
);
14658 wxPyEndAllowThreads(__tstate
);
14659 if (PyErr_Occurred()) SWIG_fail
;
14661 Py_INCREF(Py_None
); resultobj
= Py_None
;
14668 static PyObject
*_wrap_DC_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14669 PyObject
*resultobj
;
14670 wxDC
*arg1
= (wxDC
*) 0 ;
14672 PyObject
* obj0
= 0 ;
14673 PyObject
* obj1
= 0 ;
14674 char *kwnames
[] = {
14675 (char *) "self",(char *) "pen", NULL
14678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
14679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14680 if (SWIG_arg_fail(1)) SWIG_fail
;
14682 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
14683 if (SWIG_arg_fail(2)) SWIG_fail
;
14684 if (arg2
== NULL
) {
14685 SWIG_null_ref("wxPen");
14687 if (SWIG_arg_fail(2)) SWIG_fail
;
14690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14691 (arg1
)->SetPen((wxPen
const &)*arg2
);
14693 wxPyEndAllowThreads(__tstate
);
14694 if (PyErr_Occurred()) SWIG_fail
;
14696 Py_INCREF(Py_None
); resultobj
= Py_None
;
14703 static PyObject
*_wrap_DC_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14704 PyObject
*resultobj
;
14705 wxDC
*arg1
= (wxDC
*) 0 ;
14706 wxBrush
*arg2
= 0 ;
14707 PyObject
* obj0
= 0 ;
14708 PyObject
* obj1
= 0 ;
14709 char *kwnames
[] = {
14710 (char *) "self",(char *) "brush", NULL
14713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
14714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14715 if (SWIG_arg_fail(1)) SWIG_fail
;
14717 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
14718 if (SWIG_arg_fail(2)) SWIG_fail
;
14719 if (arg2
== NULL
) {
14720 SWIG_null_ref("wxBrush");
14722 if (SWIG_arg_fail(2)) SWIG_fail
;
14725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14726 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
14728 wxPyEndAllowThreads(__tstate
);
14729 if (PyErr_Occurred()) SWIG_fail
;
14731 Py_INCREF(Py_None
); resultobj
= Py_None
;
14738 static PyObject
*_wrap_DC_SetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14739 PyObject
*resultobj
;
14740 wxDC
*arg1
= (wxDC
*) 0 ;
14741 wxBrush
*arg2
= 0 ;
14742 PyObject
* obj0
= 0 ;
14743 PyObject
* obj1
= 0 ;
14744 char *kwnames
[] = {
14745 (char *) "self",(char *) "brush", NULL
14748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14750 if (SWIG_arg_fail(1)) SWIG_fail
;
14752 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
14753 if (SWIG_arg_fail(2)) SWIG_fail
;
14754 if (arg2
== NULL
) {
14755 SWIG_null_ref("wxBrush");
14757 if (SWIG_arg_fail(2)) SWIG_fail
;
14760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14761 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
14763 wxPyEndAllowThreads(__tstate
);
14764 if (PyErr_Occurred()) SWIG_fail
;
14766 Py_INCREF(Py_None
); resultobj
= Py_None
;
14773 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14774 PyObject
*resultobj
;
14775 wxDC
*arg1
= (wxDC
*) 0 ;
14777 PyObject
* obj0
= 0 ;
14778 PyObject
* obj1
= 0 ;
14779 char *kwnames
[] = {
14780 (char *) "self",(char *) "mode", NULL
14783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14785 if (SWIG_arg_fail(1)) SWIG_fail
;
14787 arg2
= (int)(SWIG_As_int(obj1
));
14788 if (SWIG_arg_fail(2)) SWIG_fail
;
14791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14792 (arg1
)->SetBackgroundMode(arg2
);
14794 wxPyEndAllowThreads(__tstate
);
14795 if (PyErr_Occurred()) SWIG_fail
;
14797 Py_INCREF(Py_None
); resultobj
= Py_None
;
14804 static PyObject
*_wrap_DC_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14805 PyObject
*resultobj
;
14806 wxDC
*arg1
= (wxDC
*) 0 ;
14807 wxPalette
*arg2
= 0 ;
14808 PyObject
* obj0
= 0 ;
14809 PyObject
* obj1
= 0 ;
14810 char *kwnames
[] = {
14811 (char *) "self",(char *) "palette", NULL
14814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
14815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14816 if (SWIG_arg_fail(1)) SWIG_fail
;
14818 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
14819 if (SWIG_arg_fail(2)) SWIG_fail
;
14820 if (arg2
== NULL
) {
14821 SWIG_null_ref("wxPalette");
14823 if (SWIG_arg_fail(2)) SWIG_fail
;
14826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14827 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
14829 wxPyEndAllowThreads(__tstate
);
14830 if (PyErr_Occurred()) SWIG_fail
;
14832 Py_INCREF(Py_None
); resultobj
= Py_None
;
14839 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14840 PyObject
*resultobj
;
14841 wxDC
*arg1
= (wxDC
*) 0 ;
14842 PyObject
* obj0
= 0 ;
14843 char *kwnames
[] = {
14844 (char *) "self", NULL
14847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
14848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14849 if (SWIG_arg_fail(1)) SWIG_fail
;
14851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14852 (arg1
)->DestroyClippingRegion();
14854 wxPyEndAllowThreads(__tstate
);
14855 if (PyErr_Occurred()) SWIG_fail
;
14857 Py_INCREF(Py_None
); resultobj
= Py_None
;
14864 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14865 PyObject
*resultobj
;
14866 wxDC
*arg1
= (wxDC
*) 0 ;
14867 int *arg2
= (int *) 0 ;
14868 int *arg3
= (int *) 0 ;
14869 int *arg4
= (int *) 0 ;
14870 int *arg5
= (int *) 0 ;
14879 PyObject
* obj0
= 0 ;
14880 char *kwnames
[] = {
14881 (char *) "self", NULL
14884 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14885 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14886 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
14887 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
14888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
14889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14890 if (SWIG_arg_fail(1)) SWIG_fail
;
14892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14893 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
14895 wxPyEndAllowThreads(__tstate
);
14896 if (PyErr_Occurred()) SWIG_fail
;
14898 Py_INCREF(Py_None
); resultobj
= Py_None
;
14899 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14900 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
14901 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14902 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14903 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
14904 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
14905 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
14906 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
14913 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14914 PyObject
*resultobj
;
14915 wxDC
*arg1
= (wxDC
*) 0 ;
14917 PyObject
* obj0
= 0 ;
14918 char *kwnames
[] = {
14919 (char *) "self", NULL
14922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
14923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14924 if (SWIG_arg_fail(1)) SWIG_fail
;
14926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14927 result
= wxDC_GetClippingRect(arg1
);
14929 wxPyEndAllowThreads(__tstate
);
14930 if (PyErr_Occurred()) SWIG_fail
;
14933 wxRect
* resultptr
;
14934 resultptr
= new wxRect((wxRect
&)(result
));
14935 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
14943 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14944 PyObject
*resultobj
;
14945 wxDC
*arg1
= (wxDC
*) 0 ;
14947 PyObject
* obj0
= 0 ;
14948 char *kwnames
[] = {
14949 (char *) "self", NULL
14952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
14953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14954 if (SWIG_arg_fail(1)) SWIG_fail
;
14956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14957 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
14959 wxPyEndAllowThreads(__tstate
);
14960 if (PyErr_Occurred()) SWIG_fail
;
14963 resultobj
= SWIG_From_int((int)(result
));
14971 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14972 PyObject
*resultobj
;
14973 wxDC
*arg1
= (wxDC
*) 0 ;
14975 PyObject
* obj0
= 0 ;
14976 char *kwnames
[] = {
14977 (char *) "self", NULL
14980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
14981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14982 if (SWIG_arg_fail(1)) SWIG_fail
;
14984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14985 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
14987 wxPyEndAllowThreads(__tstate
);
14988 if (PyErr_Occurred()) SWIG_fail
;
14991 resultobj
= SWIG_From_int((int)(result
));
14999 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15000 PyObject
*resultobj
;
15001 wxDC
*arg1
= (wxDC
*) 0 ;
15002 wxString
*arg2
= 0 ;
15003 int *arg3
= (int *) 0 ;
15004 int *arg4
= (int *) 0 ;
15005 bool temp2
= false ;
15010 PyObject
* obj0
= 0 ;
15011 PyObject
* obj1
= 0 ;
15012 char *kwnames
[] = {
15013 (char *) "self",(char *) "string", NULL
15016 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15017 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
15019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15020 if (SWIG_arg_fail(1)) SWIG_fail
;
15022 arg2
= wxString_in_helper(obj1
);
15023 if (arg2
== NULL
) SWIG_fail
;
15027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15028 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
15030 wxPyEndAllowThreads(__tstate
);
15031 if (PyErr_Occurred()) SWIG_fail
;
15033 Py_INCREF(Py_None
); resultobj
= Py_None
;
15034 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15035 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15036 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15037 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15052 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15053 PyObject
*resultobj
;
15054 wxDC
*arg1
= (wxDC
*) 0 ;
15055 wxString
*arg2
= 0 ;
15056 int *arg3
= (int *) 0 ;
15057 int *arg4
= (int *) 0 ;
15058 int *arg5
= (int *) 0 ;
15059 int *arg6
= (int *) 0 ;
15060 wxFont
*arg7
= (wxFont
*) NULL
;
15061 bool temp2
= false ;
15070 PyObject
* obj0
= 0 ;
15071 PyObject
* obj1
= 0 ;
15072 PyObject
* obj2
= 0 ;
15073 char *kwnames
[] = {
15074 (char *) "self",(char *) "string",(char *) "font", NULL
15077 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15078 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15079 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15080 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
15081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15083 if (SWIG_arg_fail(1)) SWIG_fail
;
15085 arg2
= wxString_in_helper(obj1
);
15086 if (arg2
== NULL
) SWIG_fail
;
15090 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15091 if (SWIG_arg_fail(7)) SWIG_fail
;
15094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15095 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15097 wxPyEndAllowThreads(__tstate
);
15098 if (PyErr_Occurred()) SWIG_fail
;
15100 Py_INCREF(Py_None
); resultobj
= Py_None
;
15101 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15102 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15103 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15104 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15105 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15106 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15107 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
15108 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
15123 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15124 PyObject
*resultobj
;
15125 wxDC
*arg1
= (wxDC
*) 0 ;
15126 wxString
*arg2
= 0 ;
15127 int *arg3
= (int *) 0 ;
15128 int *arg4
= (int *) 0 ;
15129 int *arg5
= (int *) 0 ;
15130 wxFont
*arg6
= (wxFont
*) NULL
;
15131 bool temp2
= false ;
15138 PyObject
* obj0
= 0 ;
15139 PyObject
* obj1
= 0 ;
15140 PyObject
* obj2
= 0 ;
15141 char *kwnames
[] = {
15142 (char *) "self",(char *) "text",(char *) "font", NULL
15145 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15146 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15147 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15150 if (SWIG_arg_fail(1)) SWIG_fail
;
15152 arg2
= wxString_in_helper(obj1
);
15153 if (arg2
== NULL
) SWIG_fail
;
15157 SWIG_Python_ConvertPtr(obj2
, (void **)&arg6
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15158 if (SWIG_arg_fail(6)) SWIG_fail
;
15161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15162 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
15164 wxPyEndAllowThreads(__tstate
);
15165 if (PyErr_Occurred()) SWIG_fail
;
15167 Py_INCREF(Py_None
); resultobj
= Py_None
;
15168 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15169 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15170 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15171 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15172 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15173 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15188 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15189 PyObject
*resultobj
;
15190 wxDC
*arg1
= (wxDC
*) 0 ;
15191 wxString
*arg2
= 0 ;
15193 bool temp2
= false ;
15194 PyObject
* obj0
= 0 ;
15195 PyObject
* obj1
= 0 ;
15196 char *kwnames
[] = {
15197 (char *) "self",(char *) "text", NULL
15200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
15201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15202 if (SWIG_arg_fail(1)) SWIG_fail
;
15204 arg2
= wxString_in_helper(obj1
);
15205 if (arg2
== NULL
) SWIG_fail
;
15209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15210 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
15212 wxPyEndAllowThreads(__tstate
);
15213 if (PyErr_Occurred()) SWIG_fail
;
15216 resultobj
= PyList_New(0);
15218 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
15219 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
15220 PyList_Append(resultobj
, val
);
15238 static PyObject
*_wrap_DC_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15239 PyObject
*resultobj
;
15240 wxDC
*arg1
= (wxDC
*) 0 ;
15242 PyObject
* obj0
= 0 ;
15243 char *kwnames
[] = {
15244 (char *) "self", NULL
15247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
15248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15249 if (SWIG_arg_fail(1)) SWIG_fail
;
15251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15252 result
= (arg1
)->GetSize();
15254 wxPyEndAllowThreads(__tstate
);
15255 if (PyErr_Occurred()) SWIG_fail
;
15258 wxSize
* resultptr
;
15259 resultptr
= new wxSize((wxSize
&)(result
));
15260 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15268 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15269 PyObject
*resultobj
;
15270 wxDC
*arg1
= (wxDC
*) 0 ;
15271 int *arg2
= (int *) 0 ;
15272 int *arg3
= (int *) 0 ;
15277 PyObject
* obj0
= 0 ;
15278 char *kwnames
[] = {
15279 (char *) "self", NULL
15282 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15283 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
15285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15286 if (SWIG_arg_fail(1)) SWIG_fail
;
15288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15289 (arg1
)->GetSize(arg2
,arg3
);
15291 wxPyEndAllowThreads(__tstate
);
15292 if (PyErr_Occurred()) SWIG_fail
;
15294 Py_INCREF(Py_None
); resultobj
= Py_None
;
15295 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15296 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15297 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15298 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15305 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15306 PyObject
*resultobj
;
15307 wxDC
*arg1
= (wxDC
*) 0 ;
15309 PyObject
* obj0
= 0 ;
15310 char *kwnames
[] = {
15311 (char *) "self", NULL
15314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
15315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15316 if (SWIG_arg_fail(1)) SWIG_fail
;
15318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15319 result
= ((wxDC
const *)arg1
)->GetSizeMM();
15321 wxPyEndAllowThreads(__tstate
);
15322 if (PyErr_Occurred()) SWIG_fail
;
15325 wxSize
* resultptr
;
15326 resultptr
= new wxSize((wxSize
&)(result
));
15327 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15335 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15336 PyObject
*resultobj
;
15337 wxDC
*arg1
= (wxDC
*) 0 ;
15338 int *arg2
= (int *) 0 ;
15339 int *arg3
= (int *) 0 ;
15344 PyObject
* obj0
= 0 ;
15345 char *kwnames
[] = {
15346 (char *) "self", NULL
15349 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15350 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
15352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15353 if (SWIG_arg_fail(1)) SWIG_fail
;
15355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15356 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
15358 wxPyEndAllowThreads(__tstate
);
15359 if (PyErr_Occurred()) SWIG_fail
;
15361 Py_INCREF(Py_None
); resultobj
= Py_None
;
15362 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15363 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15364 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15365 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15372 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15373 PyObject
*resultobj
;
15374 wxDC
*arg1
= (wxDC
*) 0 ;
15377 PyObject
* obj0
= 0 ;
15378 PyObject
* obj1
= 0 ;
15379 char *kwnames
[] = {
15380 (char *) "self",(char *) "x", NULL
15383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
15384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15385 if (SWIG_arg_fail(1)) SWIG_fail
;
15387 arg2
= (int)(SWIG_As_int(obj1
));
15388 if (SWIG_arg_fail(2)) SWIG_fail
;
15391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15392 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
15394 wxPyEndAllowThreads(__tstate
);
15395 if (PyErr_Occurred()) SWIG_fail
;
15398 resultobj
= SWIG_From_int((int)(result
));
15406 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15407 PyObject
*resultobj
;
15408 wxDC
*arg1
= (wxDC
*) 0 ;
15411 PyObject
* obj0
= 0 ;
15412 PyObject
* obj1
= 0 ;
15413 char *kwnames
[] = {
15414 (char *) "self",(char *) "y", NULL
15417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
15418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15419 if (SWIG_arg_fail(1)) SWIG_fail
;
15421 arg2
= (int)(SWIG_As_int(obj1
));
15422 if (SWIG_arg_fail(2)) SWIG_fail
;
15425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15426 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
15428 wxPyEndAllowThreads(__tstate
);
15429 if (PyErr_Occurred()) SWIG_fail
;
15432 resultobj
= SWIG_From_int((int)(result
));
15440 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15441 PyObject
*resultobj
;
15442 wxDC
*arg1
= (wxDC
*) 0 ;
15445 PyObject
* obj0
= 0 ;
15446 PyObject
* obj1
= 0 ;
15447 char *kwnames
[] = {
15448 (char *) "self",(char *) "x", NULL
15451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15453 if (SWIG_arg_fail(1)) SWIG_fail
;
15455 arg2
= (int)(SWIG_As_int(obj1
));
15456 if (SWIG_arg_fail(2)) SWIG_fail
;
15459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15460 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
15462 wxPyEndAllowThreads(__tstate
);
15463 if (PyErr_Occurred()) SWIG_fail
;
15466 resultobj
= SWIG_From_int((int)(result
));
15474 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15475 PyObject
*resultobj
;
15476 wxDC
*arg1
= (wxDC
*) 0 ;
15479 PyObject
* obj0
= 0 ;
15480 PyObject
* obj1
= 0 ;
15481 char *kwnames
[] = {
15482 (char *) "self",(char *) "y", NULL
15485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15487 if (SWIG_arg_fail(1)) SWIG_fail
;
15489 arg2
= (int)(SWIG_As_int(obj1
));
15490 if (SWIG_arg_fail(2)) SWIG_fail
;
15493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15494 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
15496 wxPyEndAllowThreads(__tstate
);
15497 if (PyErr_Occurred()) SWIG_fail
;
15500 resultobj
= SWIG_From_int((int)(result
));
15508 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15509 PyObject
*resultobj
;
15510 wxDC
*arg1
= (wxDC
*) 0 ;
15513 PyObject
* obj0
= 0 ;
15514 PyObject
* obj1
= 0 ;
15515 char *kwnames
[] = {
15516 (char *) "self",(char *) "x", NULL
15519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
15520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15521 if (SWIG_arg_fail(1)) SWIG_fail
;
15523 arg2
= (int)(SWIG_As_int(obj1
));
15524 if (SWIG_arg_fail(2)) SWIG_fail
;
15527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15528 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
15530 wxPyEndAllowThreads(__tstate
);
15531 if (PyErr_Occurred()) SWIG_fail
;
15534 resultobj
= SWIG_From_int((int)(result
));
15542 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15543 PyObject
*resultobj
;
15544 wxDC
*arg1
= (wxDC
*) 0 ;
15547 PyObject
* obj0
= 0 ;
15548 PyObject
* obj1
= 0 ;
15549 char *kwnames
[] = {
15550 (char *) "self",(char *) "y", NULL
15553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
15554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15555 if (SWIG_arg_fail(1)) SWIG_fail
;
15557 arg2
= (int)(SWIG_As_int(obj1
));
15558 if (SWIG_arg_fail(2)) SWIG_fail
;
15561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15562 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
15564 wxPyEndAllowThreads(__tstate
);
15565 if (PyErr_Occurred()) SWIG_fail
;
15568 resultobj
= SWIG_From_int((int)(result
));
15576 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15577 PyObject
*resultobj
;
15578 wxDC
*arg1
= (wxDC
*) 0 ;
15581 PyObject
* obj0
= 0 ;
15582 PyObject
* obj1
= 0 ;
15583 char *kwnames
[] = {
15584 (char *) "self",(char *) "x", NULL
15587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15589 if (SWIG_arg_fail(1)) SWIG_fail
;
15591 arg2
= (int)(SWIG_As_int(obj1
));
15592 if (SWIG_arg_fail(2)) SWIG_fail
;
15595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15596 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
15598 wxPyEndAllowThreads(__tstate
);
15599 if (PyErr_Occurred()) SWIG_fail
;
15602 resultobj
= SWIG_From_int((int)(result
));
15610 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15611 PyObject
*resultobj
;
15612 wxDC
*arg1
= (wxDC
*) 0 ;
15615 PyObject
* obj0
= 0 ;
15616 PyObject
* obj1
= 0 ;
15617 char *kwnames
[] = {
15618 (char *) "self",(char *) "y", NULL
15621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15623 if (SWIG_arg_fail(1)) SWIG_fail
;
15625 arg2
= (int)(SWIG_As_int(obj1
));
15626 if (SWIG_arg_fail(2)) SWIG_fail
;
15629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15630 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
15632 wxPyEndAllowThreads(__tstate
);
15633 if (PyErr_Occurred()) SWIG_fail
;
15636 resultobj
= SWIG_From_int((int)(result
));
15644 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15645 PyObject
*resultobj
;
15646 wxDC
*arg1
= (wxDC
*) 0 ;
15648 PyObject
* obj0
= 0 ;
15649 char *kwnames
[] = {
15650 (char *) "self", NULL
15653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
15654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15655 if (SWIG_arg_fail(1)) SWIG_fail
;
15657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15658 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
15660 wxPyEndAllowThreads(__tstate
);
15661 if (PyErr_Occurred()) SWIG_fail
;
15664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15672 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15673 PyObject
*resultobj
;
15674 wxDC
*arg1
= (wxDC
*) 0 ;
15676 PyObject
* obj0
= 0 ;
15677 char *kwnames
[] = {
15678 (char *) "self", NULL
15681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
15682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15683 if (SWIG_arg_fail(1)) SWIG_fail
;
15685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15686 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
15688 wxPyEndAllowThreads(__tstate
);
15689 if (PyErr_Occurred()) SWIG_fail
;
15692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15700 static PyObject
*_wrap_DC_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15701 PyObject
*resultobj
;
15702 wxDC
*arg1
= (wxDC
*) 0 ;
15704 PyObject
* obj0
= 0 ;
15705 char *kwnames
[] = {
15706 (char *) "self", NULL
15709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
15710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15711 if (SWIG_arg_fail(1)) SWIG_fail
;
15713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15714 result
= (int)((wxDC
const *)arg1
)->GetDepth();
15716 wxPyEndAllowThreads(__tstate
);
15717 if (PyErr_Occurred()) SWIG_fail
;
15720 resultobj
= SWIG_From_int((int)(result
));
15728 static PyObject
*_wrap_DC_GetPPI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15729 PyObject
*resultobj
;
15730 wxDC
*arg1
= (wxDC
*) 0 ;
15732 PyObject
* obj0
= 0 ;
15733 char *kwnames
[] = {
15734 (char *) "self", NULL
15737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
15738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15739 if (SWIG_arg_fail(1)) SWIG_fail
;
15741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15742 result
= ((wxDC
const *)arg1
)->GetPPI();
15744 wxPyEndAllowThreads(__tstate
);
15745 if (PyErr_Occurred()) SWIG_fail
;
15748 wxSize
* resultptr
;
15749 resultptr
= new wxSize((wxSize
&)(result
));
15750 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15758 static PyObject
*_wrap_DC_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15759 PyObject
*resultobj
;
15760 wxDC
*arg1
= (wxDC
*) 0 ;
15762 PyObject
* obj0
= 0 ;
15763 char *kwnames
[] = {
15764 (char *) "self", NULL
15767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
15768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15769 if (SWIG_arg_fail(1)) SWIG_fail
;
15771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15772 result
= (bool)((wxDC
const *)arg1
)->Ok();
15774 wxPyEndAllowThreads(__tstate
);
15775 if (PyErr_Occurred()) SWIG_fail
;
15778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15786 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15787 PyObject
*resultobj
;
15788 wxDC
*arg1
= (wxDC
*) 0 ;
15790 PyObject
* obj0
= 0 ;
15791 char *kwnames
[] = {
15792 (char *) "self", NULL
15795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
15796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15797 if (SWIG_arg_fail(1)) SWIG_fail
;
15799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15800 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
15802 wxPyEndAllowThreads(__tstate
);
15803 if (PyErr_Occurred()) SWIG_fail
;
15806 resultobj
= SWIG_From_int((int)(result
));
15814 static PyObject
*_wrap_DC_GetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15815 PyObject
*resultobj
;
15816 wxDC
*arg1
= (wxDC
*) 0 ;
15818 PyObject
* obj0
= 0 ;
15819 char *kwnames
[] = {
15820 (char *) "self", NULL
15823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
15824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15825 if (SWIG_arg_fail(1)) SWIG_fail
;
15827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15829 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
15830 result
= (wxBrush
*) &_result_ref
;
15833 wxPyEndAllowThreads(__tstate
);
15834 if (PyErr_Occurred()) SWIG_fail
;
15837 wxBrush
* resultptr
= new wxBrush(*result
);
15838 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
15846 static PyObject
*_wrap_DC_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15847 PyObject
*resultobj
;
15848 wxDC
*arg1
= (wxDC
*) 0 ;
15850 PyObject
* obj0
= 0 ;
15851 char *kwnames
[] = {
15852 (char *) "self", NULL
15855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
15856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15857 if (SWIG_arg_fail(1)) SWIG_fail
;
15859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15861 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
15862 result
= (wxBrush
*) &_result_ref
;
15865 wxPyEndAllowThreads(__tstate
);
15866 if (PyErr_Occurred()) SWIG_fail
;
15869 wxBrush
* resultptr
= new wxBrush(*result
);
15870 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
15878 static PyObject
*_wrap_DC_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15879 PyObject
*resultobj
;
15880 wxDC
*arg1
= (wxDC
*) 0 ;
15882 PyObject
* obj0
= 0 ;
15883 char *kwnames
[] = {
15884 (char *) "self", NULL
15887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
15888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15889 if (SWIG_arg_fail(1)) SWIG_fail
;
15891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15893 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
15894 result
= (wxFont
*) &_result_ref
;
15897 wxPyEndAllowThreads(__tstate
);
15898 if (PyErr_Occurred()) SWIG_fail
;
15901 wxFont
* resultptr
= new wxFont(*result
);
15902 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15910 static PyObject
*_wrap_DC_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15911 PyObject
*resultobj
;
15912 wxDC
*arg1
= (wxDC
*) 0 ;
15914 PyObject
* obj0
= 0 ;
15915 char *kwnames
[] = {
15916 (char *) "self", NULL
15919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
15920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15921 if (SWIG_arg_fail(1)) SWIG_fail
;
15923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15925 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
15926 result
= (wxPen
*) &_result_ref
;
15929 wxPyEndAllowThreads(__tstate
);
15930 if (PyErr_Occurred()) SWIG_fail
;
15933 wxPen
* resultptr
= new wxPen(*result
);
15934 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
15942 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15943 PyObject
*resultobj
;
15944 wxDC
*arg1
= (wxDC
*) 0 ;
15946 PyObject
* obj0
= 0 ;
15947 char *kwnames
[] = {
15948 (char *) "self", NULL
15951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
15952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15953 if (SWIG_arg_fail(1)) SWIG_fail
;
15955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15957 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
15958 result
= (wxColour
*) &_result_ref
;
15961 wxPyEndAllowThreads(__tstate
);
15962 if (PyErr_Occurred()) SWIG_fail
;
15964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
15971 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15972 PyObject
*resultobj
;
15973 wxDC
*arg1
= (wxDC
*) 0 ;
15975 PyObject
* obj0
= 0 ;
15976 char *kwnames
[] = {
15977 (char *) "self", NULL
15980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
15981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15982 if (SWIG_arg_fail(1)) SWIG_fail
;
15984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15986 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
15987 result
= (wxColour
*) &_result_ref
;
15990 wxPyEndAllowThreads(__tstate
);
15991 if (PyErr_Occurred()) SWIG_fail
;
15993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
16000 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16001 PyObject
*resultobj
;
16002 wxDC
*arg1
= (wxDC
*) 0 ;
16003 wxColour
*arg2
= 0 ;
16005 PyObject
* obj0
= 0 ;
16006 PyObject
* obj1
= 0 ;
16007 char *kwnames
[] = {
16008 (char *) "self",(char *) "colour", NULL
16011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
16012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16013 if (SWIG_arg_fail(1)) SWIG_fail
;
16016 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16020 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
16022 wxPyEndAllowThreads(__tstate
);
16023 if (PyErr_Occurred()) SWIG_fail
;
16025 Py_INCREF(Py_None
); resultobj
= Py_None
;
16032 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16033 PyObject
*resultobj
;
16034 wxDC
*arg1
= (wxDC
*) 0 ;
16035 wxColour
*arg2
= 0 ;
16037 PyObject
* obj0
= 0 ;
16038 PyObject
* obj1
= 0 ;
16039 char *kwnames
[] = {
16040 (char *) "self",(char *) "colour", NULL
16043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16045 if (SWIG_arg_fail(1)) SWIG_fail
;
16048 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16052 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
16054 wxPyEndAllowThreads(__tstate
);
16055 if (PyErr_Occurred()) SWIG_fail
;
16057 Py_INCREF(Py_None
); resultobj
= Py_None
;
16064 static PyObject
*_wrap_DC_GetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16065 PyObject
*resultobj
;
16066 wxDC
*arg1
= (wxDC
*) 0 ;
16068 PyObject
* obj0
= 0 ;
16069 char *kwnames
[] = {
16070 (char *) "self", NULL
16073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
16074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16075 if (SWIG_arg_fail(1)) SWIG_fail
;
16077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16078 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
16080 wxPyEndAllowThreads(__tstate
);
16081 if (PyErr_Occurred()) SWIG_fail
;
16084 resultobj
= SWIG_From_int((int)(result
));
16092 static PyObject
*_wrap_DC_SetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16093 PyObject
*resultobj
;
16094 wxDC
*arg1
= (wxDC
*) 0 ;
16096 PyObject
* obj0
= 0 ;
16097 PyObject
* obj1
= 0 ;
16098 char *kwnames
[] = {
16099 (char *) "self",(char *) "mode", NULL
16102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
16103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16104 if (SWIG_arg_fail(1)) SWIG_fail
;
16106 arg2
= (int)(SWIG_As_int(obj1
));
16107 if (SWIG_arg_fail(2)) SWIG_fail
;
16110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16111 (arg1
)->SetMapMode(arg2
);
16113 wxPyEndAllowThreads(__tstate
);
16114 if (PyErr_Occurred()) SWIG_fail
;
16116 Py_INCREF(Py_None
); resultobj
= Py_None
;
16123 static PyObject
*_wrap_DC_GetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16124 PyObject
*resultobj
;
16125 wxDC
*arg1
= (wxDC
*) 0 ;
16126 double *arg2
= (double *) 0 ;
16127 double *arg3
= (double *) 0 ;
16132 PyObject
* obj0
= 0 ;
16133 char *kwnames
[] = {
16134 (char *) "self", NULL
16137 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16138 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
16140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16141 if (SWIG_arg_fail(1)) SWIG_fail
;
16143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16144 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
16146 wxPyEndAllowThreads(__tstate
);
16147 if (PyErr_Occurred()) SWIG_fail
;
16149 Py_INCREF(Py_None
); resultobj
= Py_None
;
16150 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16151 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
16152 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16153 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
16160 static PyObject
*_wrap_DC_SetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16161 PyObject
*resultobj
;
16162 wxDC
*arg1
= (wxDC
*) 0 ;
16165 PyObject
* obj0
= 0 ;
16166 PyObject
* obj1
= 0 ;
16167 PyObject
* obj2
= 0 ;
16168 char *kwnames
[] = {
16169 (char *) "self",(char *) "x",(char *) "y", NULL
16172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16174 if (SWIG_arg_fail(1)) SWIG_fail
;
16176 arg2
= (double)(SWIG_As_double(obj1
));
16177 if (SWIG_arg_fail(2)) SWIG_fail
;
16180 arg3
= (double)(SWIG_As_double(obj2
));
16181 if (SWIG_arg_fail(3)) SWIG_fail
;
16184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16185 (arg1
)->SetUserScale(arg2
,arg3
);
16187 wxPyEndAllowThreads(__tstate
);
16188 if (PyErr_Occurred()) SWIG_fail
;
16190 Py_INCREF(Py_None
); resultobj
= Py_None
;
16197 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16198 PyObject
*resultobj
;
16199 wxDC
*arg1
= (wxDC
*) 0 ;
16200 double *arg2
= (double *) 0 ;
16201 double *arg3
= (double *) 0 ;
16206 PyObject
* obj0
= 0 ;
16207 char *kwnames
[] = {
16208 (char *) "self", NULL
16211 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16212 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
16214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16215 if (SWIG_arg_fail(1)) SWIG_fail
;
16217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16218 (arg1
)->GetLogicalScale(arg2
,arg3
);
16220 wxPyEndAllowThreads(__tstate
);
16221 if (PyErr_Occurred()) SWIG_fail
;
16223 Py_INCREF(Py_None
); resultobj
= Py_None
;
16224 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16225 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
16226 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16227 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
16234 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16235 PyObject
*resultobj
;
16236 wxDC
*arg1
= (wxDC
*) 0 ;
16239 PyObject
* obj0
= 0 ;
16240 PyObject
* obj1
= 0 ;
16241 PyObject
* obj2
= 0 ;
16242 char *kwnames
[] = {
16243 (char *) "self",(char *) "x",(char *) "y", NULL
16246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16248 if (SWIG_arg_fail(1)) SWIG_fail
;
16250 arg2
= (double)(SWIG_As_double(obj1
));
16251 if (SWIG_arg_fail(2)) SWIG_fail
;
16254 arg3
= (double)(SWIG_As_double(obj2
));
16255 if (SWIG_arg_fail(3)) SWIG_fail
;
16258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16259 (arg1
)->SetLogicalScale(arg2
,arg3
);
16261 wxPyEndAllowThreads(__tstate
);
16262 if (PyErr_Occurred()) SWIG_fail
;
16264 Py_INCREF(Py_None
); resultobj
= Py_None
;
16271 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16272 PyObject
*resultobj
;
16273 wxDC
*arg1
= (wxDC
*) 0 ;
16275 PyObject
* obj0
= 0 ;
16276 char *kwnames
[] = {
16277 (char *) "self", NULL
16280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
16281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16282 if (SWIG_arg_fail(1)) SWIG_fail
;
16284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16285 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
16287 wxPyEndAllowThreads(__tstate
);
16288 if (PyErr_Occurred()) SWIG_fail
;
16291 wxPoint
* resultptr
;
16292 resultptr
= new wxPoint((wxPoint
&)(result
));
16293 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16301 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16302 PyObject
*resultobj
;
16303 wxDC
*arg1
= (wxDC
*) 0 ;
16304 int *arg2
= (int *) 0 ;
16305 int *arg3
= (int *) 0 ;
16310 PyObject
* obj0
= 0 ;
16311 char *kwnames
[] = {
16312 (char *) "self", NULL
16315 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16316 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
16318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16319 if (SWIG_arg_fail(1)) SWIG_fail
;
16321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16322 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
16324 wxPyEndAllowThreads(__tstate
);
16325 if (PyErr_Occurred()) SWIG_fail
;
16327 Py_INCREF(Py_None
); resultobj
= Py_None
;
16328 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16329 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16330 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16331 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16338 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16339 PyObject
*resultobj
;
16340 wxDC
*arg1
= (wxDC
*) 0 ;
16343 PyObject
* obj0
= 0 ;
16344 PyObject
* obj1
= 0 ;
16345 PyObject
* obj2
= 0 ;
16346 char *kwnames
[] = {
16347 (char *) "self",(char *) "x",(char *) "y", NULL
16350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16352 if (SWIG_arg_fail(1)) SWIG_fail
;
16354 arg2
= (int)(SWIG_As_int(obj1
));
16355 if (SWIG_arg_fail(2)) SWIG_fail
;
16358 arg3
= (int)(SWIG_As_int(obj2
));
16359 if (SWIG_arg_fail(3)) SWIG_fail
;
16362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16363 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
16365 wxPyEndAllowThreads(__tstate
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16368 Py_INCREF(Py_None
); resultobj
= Py_None
;
16375 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16376 PyObject
*resultobj
;
16377 wxDC
*arg1
= (wxDC
*) 0 ;
16378 wxPoint
*arg2
= 0 ;
16380 PyObject
* obj0
= 0 ;
16381 PyObject
* obj1
= 0 ;
16382 char *kwnames
[] = {
16383 (char *) "self",(char *) "point", NULL
16386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
16387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16388 if (SWIG_arg_fail(1)) SWIG_fail
;
16391 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16395 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
16397 wxPyEndAllowThreads(__tstate
);
16398 if (PyErr_Occurred()) SWIG_fail
;
16400 Py_INCREF(Py_None
); resultobj
= Py_None
;
16407 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16408 PyObject
*resultobj
;
16409 wxDC
*arg1
= (wxDC
*) 0 ;
16411 PyObject
* obj0
= 0 ;
16412 char *kwnames
[] = {
16413 (char *) "self", NULL
16416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
16417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16418 if (SWIG_arg_fail(1)) SWIG_fail
;
16420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16421 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
16423 wxPyEndAllowThreads(__tstate
);
16424 if (PyErr_Occurred()) SWIG_fail
;
16427 wxPoint
* resultptr
;
16428 resultptr
= new wxPoint((wxPoint
&)(result
));
16429 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16437 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16438 PyObject
*resultobj
;
16439 wxDC
*arg1
= (wxDC
*) 0 ;
16440 int *arg2
= (int *) 0 ;
16441 int *arg3
= (int *) 0 ;
16446 PyObject
* obj0
= 0 ;
16447 char *kwnames
[] = {
16448 (char *) "self", NULL
16451 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16452 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
16454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16455 if (SWIG_arg_fail(1)) SWIG_fail
;
16457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16458 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
16460 wxPyEndAllowThreads(__tstate
);
16461 if (PyErr_Occurred()) SWIG_fail
;
16463 Py_INCREF(Py_None
); resultobj
= Py_None
;
16464 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16465 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16466 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16467 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16474 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16475 PyObject
*resultobj
;
16476 wxDC
*arg1
= (wxDC
*) 0 ;
16479 PyObject
* obj0
= 0 ;
16480 PyObject
* obj1
= 0 ;
16481 PyObject
* obj2
= 0 ;
16482 char *kwnames
[] = {
16483 (char *) "self",(char *) "x",(char *) "y", NULL
16486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16488 if (SWIG_arg_fail(1)) SWIG_fail
;
16490 arg2
= (int)(SWIG_As_int(obj1
));
16491 if (SWIG_arg_fail(2)) SWIG_fail
;
16494 arg3
= (int)(SWIG_As_int(obj2
));
16495 if (SWIG_arg_fail(3)) SWIG_fail
;
16498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16499 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
16501 wxPyEndAllowThreads(__tstate
);
16502 if (PyErr_Occurred()) SWIG_fail
;
16504 Py_INCREF(Py_None
); resultobj
= Py_None
;
16511 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16512 PyObject
*resultobj
;
16513 wxDC
*arg1
= (wxDC
*) 0 ;
16514 wxPoint
*arg2
= 0 ;
16516 PyObject
* obj0
= 0 ;
16517 PyObject
* obj1
= 0 ;
16518 char *kwnames
[] = {
16519 (char *) "self",(char *) "point", NULL
16522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
16523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16524 if (SWIG_arg_fail(1)) SWIG_fail
;
16527 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16531 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
16533 wxPyEndAllowThreads(__tstate
);
16534 if (PyErr_Occurred()) SWIG_fail
;
16536 Py_INCREF(Py_None
); resultobj
= Py_None
;
16543 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16544 PyObject
*resultobj
;
16545 wxDC
*arg1
= (wxDC
*) 0 ;
16548 PyObject
* obj0
= 0 ;
16549 PyObject
* obj1
= 0 ;
16550 PyObject
* obj2
= 0 ;
16551 char *kwnames
[] = {
16552 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
16555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16557 if (SWIG_arg_fail(1)) SWIG_fail
;
16559 arg2
= (bool)(SWIG_As_bool(obj1
));
16560 if (SWIG_arg_fail(2)) SWIG_fail
;
16563 arg3
= (bool)(SWIG_As_bool(obj2
));
16564 if (SWIG_arg_fail(3)) SWIG_fail
;
16567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16568 (arg1
)->SetAxisOrientation(arg2
,arg3
);
16570 wxPyEndAllowThreads(__tstate
);
16571 if (PyErr_Occurred()) SWIG_fail
;
16573 Py_INCREF(Py_None
); resultobj
= Py_None
;
16580 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16581 PyObject
*resultobj
;
16582 wxDC
*arg1
= (wxDC
*) 0 ;
16584 PyObject
* obj0
= 0 ;
16585 char *kwnames
[] = {
16586 (char *) "self", NULL
16589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
16590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16591 if (SWIG_arg_fail(1)) SWIG_fail
;
16593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16594 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
16596 wxPyEndAllowThreads(__tstate
);
16597 if (PyErr_Occurred()) SWIG_fail
;
16600 resultobj
= SWIG_From_int((int)(result
));
16608 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16609 PyObject
*resultobj
;
16610 wxDC
*arg1
= (wxDC
*) 0 ;
16612 PyObject
* obj0
= 0 ;
16613 PyObject
* obj1
= 0 ;
16614 char *kwnames
[] = {
16615 (char *) "self",(char *) "function", NULL
16618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
16619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16620 if (SWIG_arg_fail(1)) SWIG_fail
;
16622 arg2
= (int)(SWIG_As_int(obj1
));
16623 if (SWIG_arg_fail(2)) SWIG_fail
;
16626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16627 (arg1
)->SetLogicalFunction(arg2
);
16629 wxPyEndAllowThreads(__tstate
);
16630 if (PyErr_Occurred()) SWIG_fail
;
16632 Py_INCREF(Py_None
); resultobj
= Py_None
;
16639 static PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16640 PyObject
*resultobj
;
16641 wxDC
*arg1
= (wxDC
*) 0 ;
16642 PyObject
* obj0
= 0 ;
16643 char *kwnames
[] = {
16644 (char *) "self", NULL
16647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ComputeScaleAndOrigin",kwnames
,&obj0
)) goto fail
;
16648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16649 if (SWIG_arg_fail(1)) SWIG_fail
;
16651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16652 (arg1
)->ComputeScaleAndOrigin();
16654 wxPyEndAllowThreads(__tstate
);
16655 if (PyErr_Occurred()) SWIG_fail
;
16657 Py_INCREF(Py_None
); resultobj
= Py_None
;
16664 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16665 PyObject
*resultobj
;
16666 wxDC
*arg1
= (wxDC
*) 0 ;
16669 PyObject
* obj0
= 0 ;
16670 PyObject
* obj1
= 0 ;
16671 PyObject
* obj2
= 0 ;
16672 char *kwnames
[] = {
16673 (char *) "self",(char *) "x",(char *) "y", NULL
16676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16678 if (SWIG_arg_fail(1)) SWIG_fail
;
16680 arg2
= (int)(SWIG_As_int(obj1
));
16681 if (SWIG_arg_fail(2)) SWIG_fail
;
16684 arg3
= (int)(SWIG_As_int(obj2
));
16685 if (SWIG_arg_fail(3)) SWIG_fail
;
16688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16689 (arg1
)->CalcBoundingBox(arg2
,arg3
);
16691 wxPyEndAllowThreads(__tstate
);
16692 if (PyErr_Occurred()) SWIG_fail
;
16694 Py_INCREF(Py_None
); resultobj
= Py_None
;
16701 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16702 PyObject
*resultobj
;
16703 wxDC
*arg1
= (wxDC
*) 0 ;
16704 wxPoint
*arg2
= 0 ;
16706 PyObject
* obj0
= 0 ;
16707 PyObject
* obj1
= 0 ;
16708 char *kwnames
[] = {
16709 (char *) "self",(char *) "point", NULL
16712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
16713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16714 if (SWIG_arg_fail(1)) SWIG_fail
;
16717 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16721 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
16723 wxPyEndAllowThreads(__tstate
);
16724 if (PyErr_Occurred()) SWIG_fail
;
16726 Py_INCREF(Py_None
); resultobj
= Py_None
;
16733 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16734 PyObject
*resultobj
;
16735 wxDC
*arg1
= (wxDC
*) 0 ;
16736 PyObject
* obj0
= 0 ;
16737 char *kwnames
[] = {
16738 (char *) "self", NULL
16741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
16742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16743 if (SWIG_arg_fail(1)) SWIG_fail
;
16745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16746 (arg1
)->ResetBoundingBox();
16748 wxPyEndAllowThreads(__tstate
);
16749 if (PyErr_Occurred()) SWIG_fail
;
16751 Py_INCREF(Py_None
); resultobj
= Py_None
;
16758 static PyObject
*_wrap_DC_MinX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16759 PyObject
*resultobj
;
16760 wxDC
*arg1
= (wxDC
*) 0 ;
16762 PyObject
* obj0
= 0 ;
16763 char *kwnames
[] = {
16764 (char *) "self", NULL
16767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
16768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16769 if (SWIG_arg_fail(1)) SWIG_fail
;
16771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16772 result
= (int)((wxDC
const *)arg1
)->MinX();
16774 wxPyEndAllowThreads(__tstate
);
16775 if (PyErr_Occurred()) SWIG_fail
;
16778 resultobj
= SWIG_From_int((int)(result
));
16786 static PyObject
*_wrap_DC_MaxX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16787 PyObject
*resultobj
;
16788 wxDC
*arg1
= (wxDC
*) 0 ;
16790 PyObject
* obj0
= 0 ;
16791 char *kwnames
[] = {
16792 (char *) "self", NULL
16795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
16796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16797 if (SWIG_arg_fail(1)) SWIG_fail
;
16799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16800 result
= (int)((wxDC
const *)arg1
)->MaxX();
16802 wxPyEndAllowThreads(__tstate
);
16803 if (PyErr_Occurred()) SWIG_fail
;
16806 resultobj
= SWIG_From_int((int)(result
));
16814 static PyObject
*_wrap_DC_MinY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16815 PyObject
*resultobj
;
16816 wxDC
*arg1
= (wxDC
*) 0 ;
16818 PyObject
* obj0
= 0 ;
16819 char *kwnames
[] = {
16820 (char *) "self", NULL
16823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
16824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16825 if (SWIG_arg_fail(1)) SWIG_fail
;
16827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16828 result
= (int)((wxDC
const *)arg1
)->MinY();
16830 wxPyEndAllowThreads(__tstate
);
16831 if (PyErr_Occurred()) SWIG_fail
;
16834 resultobj
= SWIG_From_int((int)(result
));
16842 static PyObject
*_wrap_DC_MaxY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16843 PyObject
*resultobj
;
16844 wxDC
*arg1
= (wxDC
*) 0 ;
16846 PyObject
* obj0
= 0 ;
16847 char *kwnames
[] = {
16848 (char *) "self", NULL
16851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
16852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16853 if (SWIG_arg_fail(1)) SWIG_fail
;
16855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16856 result
= (int)((wxDC
const *)arg1
)->MaxY();
16858 wxPyEndAllowThreads(__tstate
);
16859 if (PyErr_Occurred()) SWIG_fail
;
16862 resultobj
= SWIG_From_int((int)(result
));
16870 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16871 PyObject
*resultobj
;
16872 wxDC
*arg1
= (wxDC
*) 0 ;
16873 int *arg2
= (int *) 0 ;
16874 int *arg3
= (int *) 0 ;
16875 int *arg4
= (int *) 0 ;
16876 int *arg5
= (int *) 0 ;
16885 PyObject
* obj0
= 0 ;
16886 char *kwnames
[] = {
16887 (char *) "self", NULL
16890 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16891 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16892 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
16893 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
16894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
16895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16896 if (SWIG_arg_fail(1)) SWIG_fail
;
16898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16899 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
16901 wxPyEndAllowThreads(__tstate
);
16902 if (PyErr_Occurred()) SWIG_fail
;
16904 Py_INCREF(Py_None
); resultobj
= Py_None
;
16905 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16906 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16907 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16908 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16909 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
16910 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
16911 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
16912 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
16919 static PyObject
*_wrap_DC__DrawPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16920 PyObject
*resultobj
;
16921 wxDC
*arg1
= (wxDC
*) 0 ;
16922 PyObject
*arg2
= (PyObject
*) 0 ;
16923 PyObject
*arg3
= (PyObject
*) 0 ;
16924 PyObject
*arg4
= (PyObject
*) 0 ;
16926 PyObject
* obj0
= 0 ;
16927 PyObject
* obj1
= 0 ;
16928 PyObject
* obj2
= 0 ;
16929 PyObject
* obj3
= 0 ;
16930 char *kwnames
[] = {
16931 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
16934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16936 if (SWIG_arg_fail(1)) SWIG_fail
;
16941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16942 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
16944 wxPyEndAllowThreads(__tstate
);
16945 if (PyErr_Occurred()) SWIG_fail
;
16947 resultobj
= result
;
16954 static PyObject
*_wrap_DC__DrawLineList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16955 PyObject
*resultobj
;
16956 wxDC
*arg1
= (wxDC
*) 0 ;
16957 PyObject
*arg2
= (PyObject
*) 0 ;
16958 PyObject
*arg3
= (PyObject
*) 0 ;
16959 PyObject
*arg4
= (PyObject
*) 0 ;
16961 PyObject
* obj0
= 0 ;
16962 PyObject
* obj1
= 0 ;
16963 PyObject
* obj2
= 0 ;
16964 PyObject
* obj3
= 0 ;
16965 char *kwnames
[] = {
16966 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
16969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16971 if (SWIG_arg_fail(1)) SWIG_fail
;
16976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16977 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
16979 wxPyEndAllowThreads(__tstate
);
16980 if (PyErr_Occurred()) SWIG_fail
;
16982 resultobj
= result
;
16989 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16990 PyObject
*resultobj
;
16991 wxDC
*arg1
= (wxDC
*) 0 ;
16992 PyObject
*arg2
= (PyObject
*) 0 ;
16993 PyObject
*arg3
= (PyObject
*) 0 ;
16994 PyObject
*arg4
= (PyObject
*) 0 ;
16996 PyObject
* obj0
= 0 ;
16997 PyObject
* obj1
= 0 ;
16998 PyObject
* obj2
= 0 ;
16999 PyObject
* obj3
= 0 ;
17000 char *kwnames
[] = {
17001 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17006 if (SWIG_arg_fail(1)) SWIG_fail
;
17011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17012 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
17014 wxPyEndAllowThreads(__tstate
);
17015 if (PyErr_Occurred()) SWIG_fail
;
17017 resultobj
= result
;
17024 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17025 PyObject
*resultobj
;
17026 wxDC
*arg1
= (wxDC
*) 0 ;
17027 PyObject
*arg2
= (PyObject
*) 0 ;
17028 PyObject
*arg3
= (PyObject
*) 0 ;
17029 PyObject
*arg4
= (PyObject
*) 0 ;
17031 PyObject
* obj0
= 0 ;
17032 PyObject
* obj1
= 0 ;
17033 PyObject
* obj2
= 0 ;
17034 PyObject
* obj3
= 0 ;
17035 char *kwnames
[] = {
17036 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17041 if (SWIG_arg_fail(1)) SWIG_fail
;
17046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17047 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
17049 wxPyEndAllowThreads(__tstate
);
17050 if (PyErr_Occurred()) SWIG_fail
;
17052 resultobj
= result
;
17059 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17060 PyObject
*resultobj
;
17061 wxDC
*arg1
= (wxDC
*) 0 ;
17062 PyObject
*arg2
= (PyObject
*) 0 ;
17063 PyObject
*arg3
= (PyObject
*) 0 ;
17064 PyObject
*arg4
= (PyObject
*) 0 ;
17066 PyObject
* obj0
= 0 ;
17067 PyObject
* obj1
= 0 ;
17068 PyObject
* obj2
= 0 ;
17069 PyObject
* obj3
= 0 ;
17070 char *kwnames
[] = {
17071 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17076 if (SWIG_arg_fail(1)) SWIG_fail
;
17081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17082 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
17084 wxPyEndAllowThreads(__tstate
);
17085 if (PyErr_Occurred()) SWIG_fail
;
17087 resultobj
= result
;
17094 static PyObject
*_wrap_DC__DrawTextList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17095 PyObject
*resultobj
;
17096 wxDC
*arg1
= (wxDC
*) 0 ;
17097 PyObject
*arg2
= (PyObject
*) 0 ;
17098 PyObject
*arg3
= (PyObject
*) 0 ;
17099 PyObject
*arg4
= (PyObject
*) 0 ;
17100 PyObject
*arg5
= (PyObject
*) 0 ;
17102 PyObject
* obj0
= 0 ;
17103 PyObject
* obj1
= 0 ;
17104 PyObject
* obj2
= 0 ;
17105 PyObject
* obj3
= 0 ;
17106 PyObject
* obj4
= 0 ;
17107 char *kwnames
[] = {
17108 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
17111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17113 if (SWIG_arg_fail(1)) SWIG_fail
;
17119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17120 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
17122 wxPyEndAllowThreads(__tstate
);
17123 if (PyErr_Occurred()) SWIG_fail
;
17125 resultobj
= result
;
17132 static PyObject
* DC_swigregister(PyObject
*, PyObject
*args
) {
17134 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17135 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
17137 return Py_BuildValue((char *)"");
17139 static PyObject
*_wrap_new_MemoryDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17140 PyObject
*resultobj
;
17141 wxMemoryDC
*result
;
17142 char *kwnames
[] = {
17146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
17148 if (!wxPyCheckForApp()) SWIG_fail
;
17149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17150 result
= (wxMemoryDC
*)new wxMemoryDC();
17152 wxPyEndAllowThreads(__tstate
);
17153 if (PyErr_Occurred()) SWIG_fail
;
17155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
17162 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17163 PyObject
*resultobj
;
17164 wxDC
*arg1
= (wxDC
*) 0 ;
17165 wxMemoryDC
*result
;
17166 PyObject
* obj0
= 0 ;
17167 char *kwnames
[] = {
17168 (char *) "oldDC", NULL
17171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
17172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17173 if (SWIG_arg_fail(1)) SWIG_fail
;
17175 if (!wxPyCheckForApp()) SWIG_fail
;
17176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17177 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
17179 wxPyEndAllowThreads(__tstate
);
17180 if (PyErr_Occurred()) SWIG_fail
;
17182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
17189 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17190 PyObject
*resultobj
;
17191 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
17192 wxBitmap
*arg2
= 0 ;
17193 PyObject
* obj0
= 0 ;
17194 PyObject
* obj1
= 0 ;
17195 char *kwnames
[] = {
17196 (char *) "self",(char *) "bitmap", NULL
17199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
17200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
17201 if (SWIG_arg_fail(1)) SWIG_fail
;
17203 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
17204 if (SWIG_arg_fail(2)) SWIG_fail
;
17205 if (arg2
== NULL
) {
17206 SWIG_null_ref("wxBitmap");
17208 if (SWIG_arg_fail(2)) SWIG_fail
;
17211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17212 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
17214 wxPyEndAllowThreads(__tstate
);
17215 if (PyErr_Occurred()) SWIG_fail
;
17217 Py_INCREF(Py_None
); resultobj
= Py_None
;
17224 static PyObject
* MemoryDC_swigregister(PyObject
*, PyObject
*args
) {
17226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17227 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
17229 return Py_BuildValue((char *)"");
17231 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*, PyObject
*args
) {
17232 PyObject
*resultobj
;
17233 wxDC
*arg1
= (wxDC
*) 0 ;
17234 wxBitmap
*arg2
= 0 ;
17235 wxBufferedDC
*result
;
17236 PyObject
* obj0
= 0 ;
17237 PyObject
* obj1
= 0 ;
17239 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
17240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17241 if (SWIG_arg_fail(1)) SWIG_fail
;
17243 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
17244 if (SWIG_arg_fail(2)) SWIG_fail
;
17245 if (arg2
== NULL
) {
17246 SWIG_null_ref("wxBitmap");
17248 if (SWIG_arg_fail(2)) SWIG_fail
;
17251 if (!wxPyCheckForApp()) SWIG_fail
;
17252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17253 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
17255 wxPyEndAllowThreads(__tstate
);
17256 if (PyErr_Occurred()) SWIG_fail
;
17258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
17265 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*, PyObject
*args
) {
17266 PyObject
*resultobj
;
17267 wxDC
*arg1
= (wxDC
*) 0 ;
17269 wxBufferedDC
*result
;
17271 PyObject
* obj0
= 0 ;
17272 PyObject
* obj1
= 0 ;
17274 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
17275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17276 if (SWIG_arg_fail(1)) SWIG_fail
;
17279 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17282 if (!wxPyCheckForApp()) SWIG_fail
;
17283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17284 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
17286 wxPyEndAllowThreads(__tstate
);
17287 if (PyErr_Occurred()) SWIG_fail
;
17289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
17296 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
17301 argc
= PyObject_Length(args
);
17302 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
17303 argv
[ii
] = PyTuple_GetItem(args
,ii
);
17309 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
17319 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
17327 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
17335 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
17344 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
17347 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
17352 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
17357 static PyObject
*_wrap_delete_BufferedDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17358 PyObject
*resultobj
;
17359 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
17360 PyObject
* obj0
= 0 ;
17361 char *kwnames
[] = {
17362 (char *) "self", NULL
17365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
17366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_EXCEPTION
| 0);
17367 if (SWIG_arg_fail(1)) SWIG_fail
;
17369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17372 wxPyEndAllowThreads(__tstate
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17375 Py_INCREF(Py_None
); resultobj
= Py_None
;
17382 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17383 PyObject
*resultobj
;
17384 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
17385 PyObject
* obj0
= 0 ;
17386 char *kwnames
[] = {
17387 (char *) "self", NULL
17390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
17391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_EXCEPTION
| 0);
17392 if (SWIG_arg_fail(1)) SWIG_fail
;
17394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17397 wxPyEndAllowThreads(__tstate
);
17398 if (PyErr_Occurred()) SWIG_fail
;
17400 Py_INCREF(Py_None
); resultobj
= Py_None
;
17407 static PyObject
* BufferedDC_swigregister(PyObject
*, PyObject
*args
) {
17409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17410 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
17412 return Py_BuildValue((char *)"");
17414 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17415 PyObject
*resultobj
;
17416 wxWindow
*arg1
= (wxWindow
*) 0 ;
17417 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
17418 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
17419 wxBufferedPaintDC
*result
;
17420 PyObject
* obj0
= 0 ;
17421 PyObject
* obj1
= 0 ;
17422 char *kwnames
[] = {
17423 (char *) "window",(char *) "buffer", NULL
17426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
17427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17428 if (SWIG_arg_fail(1)) SWIG_fail
;
17431 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
17432 if (SWIG_arg_fail(2)) SWIG_fail
;
17433 if (arg2
== NULL
) {
17434 SWIG_null_ref("wxBitmap");
17436 if (SWIG_arg_fail(2)) SWIG_fail
;
17440 if (!wxPyCheckForApp()) SWIG_fail
;
17441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17442 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
17444 wxPyEndAllowThreads(__tstate
);
17445 if (PyErr_Occurred()) SWIG_fail
;
17447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
17454 static PyObject
* BufferedPaintDC_swigregister(PyObject
*, PyObject
*args
) {
17456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17457 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
17459 return Py_BuildValue((char *)"");
17461 static PyObject
*_wrap_new_ScreenDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17462 PyObject
*resultobj
;
17463 wxScreenDC
*result
;
17464 char *kwnames
[] = {
17468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
17470 if (!wxPyCheckForApp()) SWIG_fail
;
17471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17472 result
= (wxScreenDC
*)new wxScreenDC();
17474 wxPyEndAllowThreads(__tstate
);
17475 if (PyErr_Occurred()) SWIG_fail
;
17477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
17484 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17485 PyObject
*resultobj
;
17486 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
17487 wxWindow
*arg2
= (wxWindow
*) 0 ;
17489 PyObject
* obj0
= 0 ;
17490 PyObject
* obj1
= 0 ;
17491 char *kwnames
[] = {
17492 (char *) "self",(char *) "window", NULL
17495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
17496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
17497 if (SWIG_arg_fail(1)) SWIG_fail
;
17498 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17499 if (SWIG_arg_fail(2)) SWIG_fail
;
17501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17502 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
17504 wxPyEndAllowThreads(__tstate
);
17505 if (PyErr_Occurred()) SWIG_fail
;
17508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17516 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17517 PyObject
*resultobj
;
17518 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
17519 wxRect
*arg2
= (wxRect
*) NULL
;
17521 PyObject
* obj0
= 0 ;
17522 PyObject
* obj1
= 0 ;
17523 char *kwnames
[] = {
17524 (char *) "self",(char *) "rect", NULL
17527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
17528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
17529 if (SWIG_arg_fail(1)) SWIG_fail
;
17531 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
17532 if (SWIG_arg_fail(2)) SWIG_fail
;
17535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17536 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
17538 wxPyEndAllowThreads(__tstate
);
17539 if (PyErr_Occurred()) SWIG_fail
;
17542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17550 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17551 PyObject
*resultobj
;
17552 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
17554 PyObject
* obj0
= 0 ;
17555 char *kwnames
[] = {
17556 (char *) "self", NULL
17559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
17560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
17561 if (SWIG_arg_fail(1)) SWIG_fail
;
17563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17564 result
= (bool)(arg1
)->EndDrawingOnTop();
17566 wxPyEndAllowThreads(__tstate
);
17567 if (PyErr_Occurred()) SWIG_fail
;
17570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17578 static PyObject
* ScreenDC_swigregister(PyObject
*, PyObject
*args
) {
17580 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17581 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
17583 return Py_BuildValue((char *)"");
17585 static PyObject
*_wrap_new_ClientDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17586 PyObject
*resultobj
;
17587 wxWindow
*arg1
= (wxWindow
*) 0 ;
17588 wxClientDC
*result
;
17589 PyObject
* obj0
= 0 ;
17590 char *kwnames
[] = {
17591 (char *) "win", NULL
17594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
17595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17596 if (SWIG_arg_fail(1)) SWIG_fail
;
17598 if (!wxPyCheckForApp()) SWIG_fail
;
17599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17600 result
= (wxClientDC
*)new wxClientDC(arg1
);
17602 wxPyEndAllowThreads(__tstate
);
17603 if (PyErr_Occurred()) SWIG_fail
;
17605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
17612 static PyObject
* ClientDC_swigregister(PyObject
*, PyObject
*args
) {
17614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17615 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
17617 return Py_BuildValue((char *)"");
17619 static PyObject
*_wrap_new_PaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17620 PyObject
*resultobj
;
17621 wxWindow
*arg1
= (wxWindow
*) 0 ;
17623 PyObject
* obj0
= 0 ;
17624 char *kwnames
[] = {
17625 (char *) "win", NULL
17628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
17629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17630 if (SWIG_arg_fail(1)) SWIG_fail
;
17632 if (!wxPyCheckForApp()) SWIG_fail
;
17633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17634 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
17636 wxPyEndAllowThreads(__tstate
);
17637 if (PyErr_Occurred()) SWIG_fail
;
17639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
17646 static PyObject
* PaintDC_swigregister(PyObject
*, PyObject
*args
) {
17648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17649 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
17651 return Py_BuildValue((char *)"");
17653 static PyObject
*_wrap_new_WindowDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17654 PyObject
*resultobj
;
17655 wxWindow
*arg1
= (wxWindow
*) 0 ;
17656 wxWindowDC
*result
;
17657 PyObject
* obj0
= 0 ;
17658 char *kwnames
[] = {
17659 (char *) "win", NULL
17662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
17663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17664 if (SWIG_arg_fail(1)) SWIG_fail
;
17666 if (!wxPyCheckForApp()) SWIG_fail
;
17667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17668 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
17670 wxPyEndAllowThreads(__tstate
);
17671 if (PyErr_Occurred()) SWIG_fail
;
17673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
17680 static PyObject
* WindowDC_swigregister(PyObject
*, PyObject
*args
) {
17682 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17683 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
17685 return Py_BuildValue((char *)"");
17687 static PyObject
*_wrap_new_MirrorDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17688 PyObject
*resultobj
;
17691 wxMirrorDC
*result
;
17692 PyObject
* obj0
= 0 ;
17693 PyObject
* obj1
= 0 ;
17694 char *kwnames
[] = {
17695 (char *) "dc",(char *) "mirror", NULL
17698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
17700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17701 if (SWIG_arg_fail(1)) SWIG_fail
;
17702 if (arg1
== NULL
) {
17703 SWIG_null_ref("wxDC");
17705 if (SWIG_arg_fail(1)) SWIG_fail
;
17708 arg2
= (bool)(SWIG_As_bool(obj1
));
17709 if (SWIG_arg_fail(2)) SWIG_fail
;
17712 if (!wxPyCheckForApp()) SWIG_fail
;
17713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17714 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
17716 wxPyEndAllowThreads(__tstate
);
17717 if (PyErr_Occurred()) SWIG_fail
;
17719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
17726 static PyObject
* MirrorDC_swigregister(PyObject
*, PyObject
*args
) {
17728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17729 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
17731 return Py_BuildValue((char *)"");
17733 static PyObject
*_wrap_new_PostScriptDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17734 PyObject
*resultobj
;
17735 wxPrintData
*arg1
= 0 ;
17736 wxPostScriptDC
*result
;
17737 PyObject
* obj0
= 0 ;
17738 char *kwnames
[] = {
17739 (char *) "printData", NULL
17742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
17744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
17745 if (SWIG_arg_fail(1)) SWIG_fail
;
17746 if (arg1
== NULL
) {
17747 SWIG_null_ref("wxPrintData");
17749 if (SWIG_arg_fail(1)) SWIG_fail
;
17752 if (!wxPyCheckForApp()) SWIG_fail
;
17753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17754 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
17756 wxPyEndAllowThreads(__tstate
);
17757 if (PyErr_Occurred()) SWIG_fail
;
17759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
17766 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17767 PyObject
*resultobj
;
17768 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
17769 wxPrintData
*result
;
17770 PyObject
* obj0
= 0 ;
17771 char *kwnames
[] = {
17772 (char *) "self", NULL
17775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
17776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_EXCEPTION
| 0);
17777 if (SWIG_arg_fail(1)) SWIG_fail
;
17779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17781 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
17782 result
= (wxPrintData
*) &_result_ref
;
17785 wxPyEndAllowThreads(__tstate
);
17786 if (PyErr_Occurred()) SWIG_fail
;
17788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
17795 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17796 PyObject
*resultobj
;
17797 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
17798 wxPrintData
*arg2
= 0 ;
17799 PyObject
* obj0
= 0 ;
17800 PyObject
* obj1
= 0 ;
17801 char *kwnames
[] = {
17802 (char *) "self",(char *) "data", NULL
17805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
17806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_EXCEPTION
| 0);
17807 if (SWIG_arg_fail(1)) SWIG_fail
;
17809 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
17810 if (SWIG_arg_fail(2)) SWIG_fail
;
17811 if (arg2
== NULL
) {
17812 SWIG_null_ref("wxPrintData");
17814 if (SWIG_arg_fail(2)) SWIG_fail
;
17817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17818 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
17820 wxPyEndAllowThreads(__tstate
);
17821 if (PyErr_Occurred()) SWIG_fail
;
17823 Py_INCREF(Py_None
); resultobj
= Py_None
;
17830 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17831 PyObject
*resultobj
;
17833 PyObject
* obj0
= 0 ;
17834 char *kwnames
[] = {
17835 (char *) "ppi", NULL
17838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
17840 arg1
= (int)(SWIG_As_int(obj0
));
17841 if (SWIG_arg_fail(1)) SWIG_fail
;
17844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17845 wxPostScriptDC::SetResolution(arg1
);
17847 wxPyEndAllowThreads(__tstate
);
17848 if (PyErr_Occurred()) SWIG_fail
;
17850 Py_INCREF(Py_None
); resultobj
= Py_None
;
17857 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17858 PyObject
*resultobj
;
17860 char *kwnames
[] = {
17864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
17866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17867 result
= (int)wxPostScriptDC::GetResolution();
17869 wxPyEndAllowThreads(__tstate
);
17870 if (PyErr_Occurred()) SWIG_fail
;
17873 resultobj
= SWIG_From_int((int)(result
));
17881 static PyObject
* PostScriptDC_swigregister(PyObject
*, PyObject
*args
) {
17883 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17884 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
17886 return Py_BuildValue((char *)"");
17888 static PyObject
*_wrap_new_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17889 PyObject
*resultobj
;
17890 wxString
const &arg1_defvalue
= wxPyEmptyString
;
17891 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
17892 wxMetaFile
*result
;
17893 bool temp1
= false ;
17894 PyObject
* obj0
= 0 ;
17895 char *kwnames
[] = {
17896 (char *) "filename", NULL
17899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
17902 arg1
= wxString_in_helper(obj0
);
17903 if (arg1
== NULL
) SWIG_fail
;
17908 if (!wxPyCheckForApp()) SWIG_fail
;
17909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17910 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
17912 wxPyEndAllowThreads(__tstate
);
17913 if (PyErr_Occurred()) SWIG_fail
;
17915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
17930 static PyObject
*_wrap_delete_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17931 PyObject
*resultobj
;
17932 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
17933 PyObject
* obj0
= 0 ;
17934 char *kwnames
[] = {
17935 (char *) "self", NULL
17938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
17939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
17940 if (SWIG_arg_fail(1)) SWIG_fail
;
17942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17945 wxPyEndAllowThreads(__tstate
);
17946 if (PyErr_Occurred()) SWIG_fail
;
17948 Py_INCREF(Py_None
); resultobj
= Py_None
;
17955 static PyObject
*_wrap_MetaFile_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17956 PyObject
*resultobj
;
17957 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
17959 PyObject
* obj0
= 0 ;
17960 char *kwnames
[] = {
17961 (char *) "self", NULL
17964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
17965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
17966 if (SWIG_arg_fail(1)) SWIG_fail
;
17968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17969 result
= (bool)(arg1
)->Ok();
17971 wxPyEndAllowThreads(__tstate
);
17972 if (PyErr_Occurred()) SWIG_fail
;
17975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17983 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17984 PyObject
*resultobj
;
17985 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
17986 int arg2
= (int) 0 ;
17987 int arg3
= (int) 0 ;
17989 PyObject
* obj0
= 0 ;
17990 PyObject
* obj1
= 0 ;
17991 PyObject
* obj2
= 0 ;
17992 char *kwnames
[] = {
17993 (char *) "self",(char *) "width",(char *) "height", NULL
17996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
17998 if (SWIG_arg_fail(1)) SWIG_fail
;
18001 arg2
= (int)(SWIG_As_int(obj1
));
18002 if (SWIG_arg_fail(2)) SWIG_fail
;
18007 arg3
= (int)(SWIG_As_int(obj2
));
18008 if (SWIG_arg_fail(3)) SWIG_fail
;
18012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18013 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
18015 wxPyEndAllowThreads(__tstate
);
18016 if (PyErr_Occurred()) SWIG_fail
;
18019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18027 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18028 PyObject
*resultobj
;
18029 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18031 PyObject
* obj0
= 0 ;
18032 char *kwnames
[] = {
18033 (char *) "self", NULL
18036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
18037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18038 if (SWIG_arg_fail(1)) SWIG_fail
;
18040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18041 result
= (arg1
)->GetSize();
18043 wxPyEndAllowThreads(__tstate
);
18044 if (PyErr_Occurred()) SWIG_fail
;
18047 wxSize
* resultptr
;
18048 resultptr
= new wxSize((wxSize
&)(result
));
18049 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18057 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18058 PyObject
*resultobj
;
18059 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18061 PyObject
* obj0
= 0 ;
18062 char *kwnames
[] = {
18063 (char *) "self", NULL
18066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
18067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18068 if (SWIG_arg_fail(1)) SWIG_fail
;
18070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18071 result
= (int)(arg1
)->GetWidth();
18073 wxPyEndAllowThreads(__tstate
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18077 resultobj
= SWIG_From_int((int)(result
));
18085 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18086 PyObject
*resultobj
;
18087 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18089 PyObject
* obj0
= 0 ;
18090 char *kwnames
[] = {
18091 (char *) "self", NULL
18094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
18095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18096 if (SWIG_arg_fail(1)) SWIG_fail
;
18098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18099 result
= (int)(arg1
)->GetHeight();
18101 wxPyEndAllowThreads(__tstate
);
18102 if (PyErr_Occurred()) SWIG_fail
;
18105 resultobj
= SWIG_From_int((int)(result
));
18113 static PyObject
* MetaFile_swigregister(PyObject
*, PyObject
*args
) {
18115 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18116 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
18118 return Py_BuildValue((char *)"");
18120 static PyObject
*_wrap_new_MetaFileDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18121 PyObject
*resultobj
;
18122 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18123 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18124 int arg2
= (int) 0 ;
18125 int arg3
= (int) 0 ;
18126 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18127 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18128 wxMetaFileDC
*result
;
18129 bool temp1
= false ;
18130 bool temp4
= false ;
18131 PyObject
* obj0
= 0 ;
18132 PyObject
* obj1
= 0 ;
18133 PyObject
* obj2
= 0 ;
18134 PyObject
* obj3
= 0 ;
18135 char *kwnames
[] = {
18136 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
18139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18142 arg1
= wxString_in_helper(obj0
);
18143 if (arg1
== NULL
) SWIG_fail
;
18149 arg2
= (int)(SWIG_As_int(obj1
));
18150 if (SWIG_arg_fail(2)) SWIG_fail
;
18155 arg3
= (int)(SWIG_As_int(obj2
));
18156 if (SWIG_arg_fail(3)) SWIG_fail
;
18161 arg4
= wxString_in_helper(obj3
);
18162 if (arg4
== NULL
) SWIG_fail
;
18167 if (!wxPyCheckForApp()) SWIG_fail
;
18168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18169 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
18171 wxPyEndAllowThreads(__tstate
);
18172 if (PyErr_Occurred()) SWIG_fail
;
18174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
18197 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18198 PyObject
*resultobj
;
18199 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
18200 wxMetaFile
*result
;
18201 PyObject
* obj0
= 0 ;
18202 char *kwnames
[] = {
18203 (char *) "self", NULL
18206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
18207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_EXCEPTION
| 0);
18208 if (SWIG_arg_fail(1)) SWIG_fail
;
18210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18211 result
= (wxMetaFile
*)(arg1
)->Close();
18213 wxPyEndAllowThreads(__tstate
);
18214 if (PyErr_Occurred()) SWIG_fail
;
18216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
18223 static PyObject
* MetaFileDC_swigregister(PyObject
*, PyObject
*args
) {
18225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18226 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
18228 return Py_BuildValue((char *)"");
18230 static PyObject
*_wrap_new_PrinterDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18231 PyObject
*resultobj
;
18232 wxPrintData
*arg1
= 0 ;
18233 wxPrinterDC
*result
;
18234 PyObject
* obj0
= 0 ;
18235 char *kwnames
[] = {
18236 (char *) "printData", NULL
18239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
18241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
18242 if (SWIG_arg_fail(1)) SWIG_fail
;
18243 if (arg1
== NULL
) {
18244 SWIG_null_ref("wxPrintData");
18246 if (SWIG_arg_fail(1)) SWIG_fail
;
18249 if (!wxPyCheckForApp()) SWIG_fail
;
18250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18251 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
18253 wxPyEndAllowThreads(__tstate
);
18254 if (PyErr_Occurred()) SWIG_fail
;
18256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
18263 static PyObject
* PrinterDC_swigregister(PyObject
*, PyObject
*args
) {
18265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18266 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
18268 return Py_BuildValue((char *)"");
18270 static PyObject
*_wrap_new_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18271 PyObject
*resultobj
;
18274 int arg3
= (int) true ;
18275 int arg4
= (int) 1 ;
18276 wxImageList
*result
;
18277 PyObject
* obj0
= 0 ;
18278 PyObject
* obj1
= 0 ;
18279 PyObject
* obj2
= 0 ;
18280 PyObject
* obj3
= 0 ;
18281 char *kwnames
[] = {
18282 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
18285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18287 arg1
= (int)(SWIG_As_int(obj0
));
18288 if (SWIG_arg_fail(1)) SWIG_fail
;
18291 arg2
= (int)(SWIG_As_int(obj1
));
18292 if (SWIG_arg_fail(2)) SWIG_fail
;
18296 arg3
= (int)(SWIG_As_int(obj2
));
18297 if (SWIG_arg_fail(3)) SWIG_fail
;
18302 arg4
= (int)(SWIG_As_int(obj3
));
18303 if (SWIG_arg_fail(4)) SWIG_fail
;
18307 if (!wxPyCheckForApp()) SWIG_fail
;
18308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18309 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
18311 wxPyEndAllowThreads(__tstate
);
18312 if (PyErr_Occurred()) SWIG_fail
;
18315 resultobj
= wxPyMake_wxObject(result
, 1);
18323 static PyObject
*_wrap_delete_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18324 PyObject
*resultobj
;
18325 wxImageList
*arg1
= (wxImageList
*) 0 ;
18326 PyObject
* obj0
= 0 ;
18327 char *kwnames
[] = {
18328 (char *) "self", NULL
18331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
18332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18333 if (SWIG_arg_fail(1)) SWIG_fail
;
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18338 wxPyEndAllowThreads(__tstate
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18341 Py_INCREF(Py_None
); resultobj
= Py_None
;
18348 static PyObject
*_wrap_ImageList_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18349 PyObject
*resultobj
;
18350 wxImageList
*arg1
= (wxImageList
*) 0 ;
18351 wxBitmap
*arg2
= 0 ;
18352 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
18353 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
18355 PyObject
* obj0
= 0 ;
18356 PyObject
* obj1
= 0 ;
18357 PyObject
* obj2
= 0 ;
18358 char *kwnames
[] = {
18359 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
18362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18364 if (SWIG_arg_fail(1)) SWIG_fail
;
18366 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18367 if (SWIG_arg_fail(2)) SWIG_fail
;
18368 if (arg2
== NULL
) {
18369 SWIG_null_ref("wxBitmap");
18371 if (SWIG_arg_fail(2)) SWIG_fail
;
18375 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18376 if (SWIG_arg_fail(3)) SWIG_fail
;
18377 if (arg3
== NULL
) {
18378 SWIG_null_ref("wxBitmap");
18380 if (SWIG_arg_fail(3)) SWIG_fail
;
18384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18385 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
18387 wxPyEndAllowThreads(__tstate
);
18388 if (PyErr_Occurred()) SWIG_fail
;
18391 resultobj
= SWIG_From_int((int)(result
));
18399 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18400 PyObject
*resultobj
;
18401 wxImageList
*arg1
= (wxImageList
*) 0 ;
18402 wxBitmap
*arg2
= 0 ;
18403 wxColour
*arg3
= 0 ;
18406 PyObject
* obj0
= 0 ;
18407 PyObject
* obj1
= 0 ;
18408 PyObject
* obj2
= 0 ;
18409 char *kwnames
[] = {
18410 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
18413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18415 if (SWIG_arg_fail(1)) SWIG_fail
;
18417 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18418 if (SWIG_arg_fail(2)) SWIG_fail
;
18419 if (arg2
== NULL
) {
18420 SWIG_null_ref("wxBitmap");
18422 if (SWIG_arg_fail(2)) SWIG_fail
;
18426 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18430 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
18432 wxPyEndAllowThreads(__tstate
);
18433 if (PyErr_Occurred()) SWIG_fail
;
18436 resultobj
= SWIG_From_int((int)(result
));
18444 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18445 PyObject
*resultobj
;
18446 wxImageList
*arg1
= (wxImageList
*) 0 ;
18449 PyObject
* obj0
= 0 ;
18450 PyObject
* obj1
= 0 ;
18451 char *kwnames
[] = {
18452 (char *) "self",(char *) "icon", NULL
18455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
18456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18457 if (SWIG_arg_fail(1)) SWIG_fail
;
18459 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
18460 if (SWIG_arg_fail(2)) SWIG_fail
;
18461 if (arg2
== NULL
) {
18462 SWIG_null_ref("wxIcon");
18464 if (SWIG_arg_fail(2)) SWIG_fail
;
18467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18468 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
18470 wxPyEndAllowThreads(__tstate
);
18471 if (PyErr_Occurred()) SWIG_fail
;
18474 resultobj
= SWIG_From_int((int)(result
));
18482 static PyObject
*_wrap_ImageList_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18483 PyObject
*resultobj
;
18484 wxImageList
*arg1
= (wxImageList
*) 0 ;
18486 wxBitmap
*arg3
= 0 ;
18488 PyObject
* obj0
= 0 ;
18489 PyObject
* obj1
= 0 ;
18490 PyObject
* obj2
= 0 ;
18491 char *kwnames
[] = {
18492 (char *) "self",(char *) "index",(char *) "bitmap", NULL
18495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18497 if (SWIG_arg_fail(1)) SWIG_fail
;
18499 arg2
= (int)(SWIG_As_int(obj1
));
18500 if (SWIG_arg_fail(2)) SWIG_fail
;
18503 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18504 if (SWIG_arg_fail(3)) SWIG_fail
;
18505 if (arg3
== NULL
) {
18506 SWIG_null_ref("wxBitmap");
18508 if (SWIG_arg_fail(3)) SWIG_fail
;
18511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18512 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
18514 wxPyEndAllowThreads(__tstate
);
18515 if (PyErr_Occurred()) SWIG_fail
;
18518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18526 static PyObject
*_wrap_ImageList_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18527 PyObject
*resultobj
;
18528 wxImageList
*arg1
= (wxImageList
*) 0 ;
18533 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
18534 bool arg7
= (bool) (bool)false ;
18536 PyObject
* obj0
= 0 ;
18537 PyObject
* obj1
= 0 ;
18538 PyObject
* obj2
= 0 ;
18539 PyObject
* obj3
= 0 ;
18540 PyObject
* obj4
= 0 ;
18541 PyObject
* obj5
= 0 ;
18542 PyObject
* obj6
= 0 ;
18543 char *kwnames
[] = {
18544 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
18547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18549 if (SWIG_arg_fail(1)) SWIG_fail
;
18551 arg2
= (int)(SWIG_As_int(obj1
));
18552 if (SWIG_arg_fail(2)) SWIG_fail
;
18555 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18556 if (SWIG_arg_fail(3)) SWIG_fail
;
18557 if (arg3
== NULL
) {
18558 SWIG_null_ref("wxDC");
18560 if (SWIG_arg_fail(3)) SWIG_fail
;
18563 arg4
= (int)(SWIG_As_int(obj3
));
18564 if (SWIG_arg_fail(4)) SWIG_fail
;
18567 arg5
= (int)(SWIG_As_int(obj4
));
18568 if (SWIG_arg_fail(5)) SWIG_fail
;
18572 arg6
= (int)(SWIG_As_int(obj5
));
18573 if (SWIG_arg_fail(6)) SWIG_fail
;
18578 arg7
= (bool const)(SWIG_As_bool(obj6
));
18579 if (SWIG_arg_fail(7)) SWIG_fail
;
18583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18584 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
18586 wxPyEndAllowThreads(__tstate
);
18587 if (PyErr_Occurred()) SWIG_fail
;
18590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18598 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18599 PyObject
*resultobj
;
18600 wxImageList
*arg1
= (wxImageList
*) 0 ;
18602 PyObject
* obj0
= 0 ;
18603 char *kwnames
[] = {
18604 (char *) "self", NULL
18607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
18608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18609 if (SWIG_arg_fail(1)) SWIG_fail
;
18611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18612 result
= (int)(arg1
)->GetImageCount();
18614 wxPyEndAllowThreads(__tstate
);
18615 if (PyErr_Occurred()) SWIG_fail
;
18618 resultobj
= SWIG_From_int((int)(result
));
18626 static PyObject
*_wrap_ImageList_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18627 PyObject
*resultobj
;
18628 wxImageList
*arg1
= (wxImageList
*) 0 ;
18631 PyObject
* obj0
= 0 ;
18632 PyObject
* obj1
= 0 ;
18633 char *kwnames
[] = {
18634 (char *) "self",(char *) "index", NULL
18637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
18638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18639 if (SWIG_arg_fail(1)) SWIG_fail
;
18641 arg2
= (int)(SWIG_As_int(obj1
));
18642 if (SWIG_arg_fail(2)) SWIG_fail
;
18645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18646 result
= (bool)(arg1
)->Remove(arg2
);
18648 wxPyEndAllowThreads(__tstate
);
18649 if (PyErr_Occurred()) SWIG_fail
;
18652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18660 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18661 PyObject
*resultobj
;
18662 wxImageList
*arg1
= (wxImageList
*) 0 ;
18664 PyObject
* obj0
= 0 ;
18665 char *kwnames
[] = {
18666 (char *) "self", NULL
18669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
18670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18671 if (SWIG_arg_fail(1)) SWIG_fail
;
18673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18674 result
= (bool)(arg1
)->RemoveAll();
18676 wxPyEndAllowThreads(__tstate
);
18677 if (PyErr_Occurred()) SWIG_fail
;
18680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18688 static PyObject
*_wrap_ImageList_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18689 PyObject
*resultobj
;
18690 wxImageList
*arg1
= (wxImageList
*) 0 ;
18698 PyObject
* obj0
= 0 ;
18699 PyObject
* obj1
= 0 ;
18700 char *kwnames
[] = {
18701 (char *) "self",(char *) "index", NULL
18704 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18705 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
18706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18708 if (SWIG_arg_fail(1)) SWIG_fail
;
18710 arg2
= (int)(SWIG_As_int(obj1
));
18711 if (SWIG_arg_fail(2)) SWIG_fail
;
18714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18715 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
18717 wxPyEndAllowThreads(__tstate
);
18718 if (PyErr_Occurred()) SWIG_fail
;
18720 Py_INCREF(Py_None
); resultobj
= Py_None
;
18721 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18722 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18723 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
18724 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
18731 static PyObject
* ImageList_swigregister(PyObject
*, PyObject
*args
) {
18733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18734 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
18736 return Py_BuildValue((char *)"");
18738 static int _wrap_NORMAL_FONT_set(PyObject
*) {
18739 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
18744 static PyObject
*_wrap_NORMAL_FONT_get(void) {
18747 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
18752 static int _wrap_SMALL_FONT_set(PyObject
*) {
18753 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
18758 static PyObject
*_wrap_SMALL_FONT_get(void) {
18761 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
18766 static int _wrap_ITALIC_FONT_set(PyObject
*) {
18767 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
18772 static PyObject
*_wrap_ITALIC_FONT_get(void) {
18775 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
18780 static int _wrap_SWISS_FONT_set(PyObject
*) {
18781 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
18786 static PyObject
*_wrap_SWISS_FONT_get(void) {
18789 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
18794 static int _wrap_RED_PEN_set(PyObject
*) {
18795 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
18800 static PyObject
*_wrap_RED_PEN_get(void) {
18803 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
18808 static int _wrap_CYAN_PEN_set(PyObject
*) {
18809 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
18814 static PyObject
*_wrap_CYAN_PEN_get(void) {
18817 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
18822 static int _wrap_GREEN_PEN_set(PyObject
*) {
18823 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
18828 static PyObject
*_wrap_GREEN_PEN_get(void) {
18831 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
18836 static int _wrap_BLACK_PEN_set(PyObject
*) {
18837 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
18842 static PyObject
*_wrap_BLACK_PEN_get(void) {
18845 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
18850 static int _wrap_WHITE_PEN_set(PyObject
*) {
18851 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
18856 static PyObject
*_wrap_WHITE_PEN_get(void) {
18859 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
18864 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
18865 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
18870 static PyObject
*_wrap_TRANSPARENT_PEN_get(void) {
18873 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
18878 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
18879 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
18884 static PyObject
*_wrap_BLACK_DASHED_PEN_get(void) {
18887 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
18892 static int _wrap_GREY_PEN_set(PyObject
*) {
18893 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
18898 static PyObject
*_wrap_GREY_PEN_get(void) {
18901 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
18906 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
18907 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
18912 static PyObject
*_wrap_MEDIUM_GREY_PEN_get(void) {
18915 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
18920 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
18921 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
18926 static PyObject
*_wrap_LIGHT_GREY_PEN_get(void) {
18929 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
18934 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
18935 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
18940 static PyObject
*_wrap_BLUE_BRUSH_get(void) {
18943 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
18948 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
18949 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
18954 static PyObject
*_wrap_GREEN_BRUSH_get(void) {
18957 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
18962 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
18963 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
18968 static PyObject
*_wrap_WHITE_BRUSH_get(void) {
18971 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
18976 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
18977 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
18982 static PyObject
*_wrap_BLACK_BRUSH_get(void) {
18985 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
18990 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
18991 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
18996 static PyObject
*_wrap_TRANSPARENT_BRUSH_get(void) {
18999 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19004 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
19005 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
19010 static PyObject
*_wrap_CYAN_BRUSH_get(void) {
19013 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19018 static int _wrap_RED_BRUSH_set(PyObject
*) {
19019 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
19024 static PyObject
*_wrap_RED_BRUSH_get(void) {
19027 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19032 static int _wrap_GREY_BRUSH_set(PyObject
*) {
19033 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
19038 static PyObject
*_wrap_GREY_BRUSH_get(void) {
19041 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19046 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
19047 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
19052 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get(void) {
19055 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19060 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
19061 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
19066 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get(void) {
19069 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19074 static int _wrap_BLACK_set(PyObject
*) {
19075 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
19080 static PyObject
*_wrap_BLACK_get(void) {
19083 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
19088 static int _wrap_WHITE_set(PyObject
*) {
19089 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
19094 static PyObject
*_wrap_WHITE_get(void) {
19097 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
19102 static int _wrap_RED_set(PyObject
*) {
19103 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
19108 static PyObject
*_wrap_RED_get(void) {
19111 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
19116 static int _wrap_BLUE_set(PyObject
*) {
19117 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
19122 static PyObject
*_wrap_BLUE_get(void) {
19125 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
19130 static int _wrap_GREEN_set(PyObject
*) {
19131 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
19136 static PyObject
*_wrap_GREEN_get(void) {
19139 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
19144 static int _wrap_CYAN_set(PyObject
*) {
19145 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
19150 static PyObject
*_wrap_CYAN_get(void) {
19153 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
19158 static int _wrap_LIGHT_GREY_set(PyObject
*) {
19159 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
19164 static PyObject
*_wrap_LIGHT_GREY_get(void) {
19167 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
19172 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
19173 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
19178 static PyObject
*_wrap_STANDARD_CURSOR_get(void) {
19181 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
19186 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
19187 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
19192 static PyObject
*_wrap_HOURGLASS_CURSOR_get(void) {
19195 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
19200 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
19201 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
19206 static PyObject
*_wrap_CROSS_CURSOR_get(void) {
19209 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
19214 static int _wrap_NullBitmap_set(PyObject
*) {
19215 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
19220 static PyObject
*_wrap_NullBitmap_get(void) {
19223 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
19228 static int _wrap_NullIcon_set(PyObject
*) {
19229 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
19234 static PyObject
*_wrap_NullIcon_get(void) {
19237 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
19242 static int _wrap_NullCursor_set(PyObject
*) {
19243 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
19248 static PyObject
*_wrap_NullCursor_get(void) {
19251 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
19256 static int _wrap_NullPen_set(PyObject
*) {
19257 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
19262 static PyObject
*_wrap_NullPen_get(void) {
19265 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
19270 static int _wrap_NullBrush_set(PyObject
*) {
19271 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
19276 static PyObject
*_wrap_NullBrush_get(void) {
19279 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
19284 static int _wrap_NullPalette_set(PyObject
*) {
19285 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
19290 static PyObject
*_wrap_NullPalette_get(void) {
19293 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
19298 static int _wrap_NullFont_set(PyObject
*) {
19299 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
19304 static PyObject
*_wrap_NullFont_get(void) {
19307 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
19312 static int _wrap_NullColour_set(PyObject
*) {
19313 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
19318 static PyObject
*_wrap_NullColour_get(void) {
19321 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
19326 static PyObject
*_wrap_PenList_AddPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19327 PyObject
*resultobj
;
19328 wxPenList
*arg1
= (wxPenList
*) 0 ;
19329 wxPen
*arg2
= (wxPen
*) 0 ;
19330 PyObject
* obj0
= 0 ;
19331 PyObject
* obj1
= 0 ;
19332 char *kwnames
[] = {
19333 (char *) "self",(char *) "pen", NULL
19336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
19337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19338 if (SWIG_arg_fail(1)) SWIG_fail
;
19339 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
19340 if (SWIG_arg_fail(2)) SWIG_fail
;
19342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19343 (arg1
)->AddPen(arg2
);
19345 wxPyEndAllowThreads(__tstate
);
19346 if (PyErr_Occurred()) SWIG_fail
;
19348 Py_INCREF(Py_None
); resultobj
= Py_None
;
19355 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19356 PyObject
*resultobj
;
19357 wxPenList
*arg1
= (wxPenList
*) 0 ;
19358 wxColour
*arg2
= 0 ;
19363 PyObject
* obj0
= 0 ;
19364 PyObject
* obj1
= 0 ;
19365 PyObject
* obj2
= 0 ;
19366 PyObject
* obj3
= 0 ;
19367 char *kwnames
[] = {
19368 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
19371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19373 if (SWIG_arg_fail(1)) SWIG_fail
;
19376 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19379 arg3
= (int)(SWIG_As_int(obj2
));
19380 if (SWIG_arg_fail(3)) SWIG_fail
;
19383 arg4
= (int)(SWIG_As_int(obj3
));
19384 if (SWIG_arg_fail(4)) SWIG_fail
;
19387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19388 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
19390 wxPyEndAllowThreads(__tstate
);
19391 if (PyErr_Occurred()) SWIG_fail
;
19393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
19400 static PyObject
*_wrap_PenList_RemovePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19401 PyObject
*resultobj
;
19402 wxPenList
*arg1
= (wxPenList
*) 0 ;
19403 wxPen
*arg2
= (wxPen
*) 0 ;
19404 PyObject
* obj0
= 0 ;
19405 PyObject
* obj1
= 0 ;
19406 char *kwnames
[] = {
19407 (char *) "self",(char *) "pen", NULL
19410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
19411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19412 if (SWIG_arg_fail(1)) SWIG_fail
;
19413 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
19414 if (SWIG_arg_fail(2)) SWIG_fail
;
19416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19417 (arg1
)->RemovePen(arg2
);
19419 wxPyEndAllowThreads(__tstate
);
19420 if (PyErr_Occurred()) SWIG_fail
;
19422 Py_INCREF(Py_None
); resultobj
= Py_None
;
19429 static PyObject
*_wrap_PenList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19430 PyObject
*resultobj
;
19431 wxPenList
*arg1
= (wxPenList
*) 0 ;
19433 PyObject
* obj0
= 0 ;
19434 char *kwnames
[] = {
19435 (char *) "self", NULL
19438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
19439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19440 if (SWIG_arg_fail(1)) SWIG_fail
;
19442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19443 result
= (int)(arg1
)->GetCount();
19445 wxPyEndAllowThreads(__tstate
);
19446 if (PyErr_Occurred()) SWIG_fail
;
19449 resultobj
= SWIG_From_int((int)(result
));
19457 static PyObject
* PenList_swigregister(PyObject
*, PyObject
*args
) {
19459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19460 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
19462 return Py_BuildValue((char *)"");
19464 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19465 PyObject
*resultobj
;
19466 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19467 wxBrush
*arg2
= (wxBrush
*) 0 ;
19468 PyObject
* obj0
= 0 ;
19469 PyObject
* obj1
= 0 ;
19470 char *kwnames
[] = {
19471 (char *) "self",(char *) "brush", NULL
19474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
19475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19476 if (SWIG_arg_fail(1)) SWIG_fail
;
19477 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
19478 if (SWIG_arg_fail(2)) SWIG_fail
;
19480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19481 (arg1
)->AddBrush(arg2
);
19483 wxPyEndAllowThreads(__tstate
);
19484 if (PyErr_Occurred()) SWIG_fail
;
19486 Py_INCREF(Py_None
); resultobj
= Py_None
;
19493 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19494 PyObject
*resultobj
;
19495 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19496 wxColour
*arg2
= 0 ;
19500 PyObject
* obj0
= 0 ;
19501 PyObject
* obj1
= 0 ;
19502 PyObject
* obj2
= 0 ;
19503 char *kwnames
[] = {
19504 (char *) "self",(char *) "colour",(char *) "style", NULL
19507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19509 if (SWIG_arg_fail(1)) SWIG_fail
;
19512 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19515 arg3
= (int)(SWIG_As_int(obj2
));
19516 if (SWIG_arg_fail(3)) SWIG_fail
;
19519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19520 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
19522 wxPyEndAllowThreads(__tstate
);
19523 if (PyErr_Occurred()) SWIG_fail
;
19525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
19532 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19533 PyObject
*resultobj
;
19534 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19535 wxBrush
*arg2
= (wxBrush
*) 0 ;
19536 PyObject
* obj0
= 0 ;
19537 PyObject
* obj1
= 0 ;
19538 char *kwnames
[] = {
19539 (char *) "self",(char *) "brush", NULL
19542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
19543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19544 if (SWIG_arg_fail(1)) SWIG_fail
;
19545 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
19546 if (SWIG_arg_fail(2)) SWIG_fail
;
19548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19549 (arg1
)->RemoveBrush(arg2
);
19551 wxPyEndAllowThreads(__tstate
);
19552 if (PyErr_Occurred()) SWIG_fail
;
19554 Py_INCREF(Py_None
); resultobj
= Py_None
;
19561 static PyObject
*_wrap_BrushList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19562 PyObject
*resultobj
;
19563 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19565 PyObject
* obj0
= 0 ;
19566 char *kwnames
[] = {
19567 (char *) "self", NULL
19570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
19571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19572 if (SWIG_arg_fail(1)) SWIG_fail
;
19574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19575 result
= (int)(arg1
)->GetCount();
19577 wxPyEndAllowThreads(__tstate
);
19578 if (PyErr_Occurred()) SWIG_fail
;
19581 resultobj
= SWIG_From_int((int)(result
));
19589 static PyObject
* BrushList_swigregister(PyObject
*, PyObject
*args
) {
19591 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19592 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
19594 return Py_BuildValue((char *)"");
19596 static PyObject
*_wrap_new_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19597 PyObject
*resultobj
;
19598 wxColourDatabase
*result
;
19599 char *kwnames
[] = {
19603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
19605 if (!wxPyCheckForApp()) SWIG_fail
;
19606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19607 result
= (wxColourDatabase
*)new wxColourDatabase();
19609 wxPyEndAllowThreads(__tstate
);
19610 if (PyErr_Occurred()) SWIG_fail
;
19612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
19619 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19620 PyObject
*resultobj
;
19621 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19622 PyObject
* obj0
= 0 ;
19623 char *kwnames
[] = {
19624 (char *) "self", NULL
19627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
19628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19629 if (SWIG_arg_fail(1)) SWIG_fail
;
19631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19634 wxPyEndAllowThreads(__tstate
);
19635 if (PyErr_Occurred()) SWIG_fail
;
19637 Py_INCREF(Py_None
); resultobj
= Py_None
;
19644 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19645 PyObject
*resultobj
;
19646 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19647 wxString
*arg2
= 0 ;
19649 bool temp2
= false ;
19650 PyObject
* obj0
= 0 ;
19651 PyObject
* obj1
= 0 ;
19652 char *kwnames
[] = {
19653 (char *) "self",(char *) "name", NULL
19656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
19657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19658 if (SWIG_arg_fail(1)) SWIG_fail
;
19660 arg2
= wxString_in_helper(obj1
);
19661 if (arg2
== NULL
) SWIG_fail
;
19665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19666 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
19668 wxPyEndAllowThreads(__tstate
);
19669 if (PyErr_Occurred()) SWIG_fail
;
19672 wxColour
* resultptr
;
19673 resultptr
= new wxColour((wxColour
&)(result
));
19674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19690 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19691 PyObject
*resultobj
;
19692 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19693 wxColour
*arg2
= 0 ;
19696 PyObject
* obj0
= 0 ;
19697 PyObject
* obj1
= 0 ;
19698 char *kwnames
[] = {
19699 (char *) "self",(char *) "colour", NULL
19702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
19703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19704 if (SWIG_arg_fail(1)) SWIG_fail
;
19707 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19711 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
19713 wxPyEndAllowThreads(__tstate
);
19714 if (PyErr_Occurred()) SWIG_fail
;
19718 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19720 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19729 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19730 PyObject
*resultobj
;
19731 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19732 wxString
*arg2
= 0 ;
19733 wxColour
*arg3
= 0 ;
19734 bool temp2
= false ;
19736 PyObject
* obj0
= 0 ;
19737 PyObject
* obj1
= 0 ;
19738 PyObject
* obj2
= 0 ;
19739 char *kwnames
[] = {
19740 (char *) "self",(char *) "name",(char *) "colour", NULL
19743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19745 if (SWIG_arg_fail(1)) SWIG_fail
;
19747 arg2
= wxString_in_helper(obj1
);
19748 if (arg2
== NULL
) SWIG_fail
;
19753 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19757 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
19759 wxPyEndAllowThreads(__tstate
);
19760 if (PyErr_Occurred()) SWIG_fail
;
19762 Py_INCREF(Py_None
); resultobj
= Py_None
;
19777 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19778 PyObject
*resultobj
;
19779 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19780 wxString
*arg2
= 0 ;
19784 bool temp2
= false ;
19785 PyObject
* obj0
= 0 ;
19786 PyObject
* obj1
= 0 ;
19787 PyObject
* obj2
= 0 ;
19788 PyObject
* obj3
= 0 ;
19789 PyObject
* obj4
= 0 ;
19790 char *kwnames
[] = {
19791 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
19794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19796 if (SWIG_arg_fail(1)) SWIG_fail
;
19798 arg2
= wxString_in_helper(obj1
);
19799 if (arg2
== NULL
) SWIG_fail
;
19803 arg3
= (int)(SWIG_As_int(obj2
));
19804 if (SWIG_arg_fail(3)) SWIG_fail
;
19807 arg4
= (int)(SWIG_As_int(obj3
));
19808 if (SWIG_arg_fail(4)) SWIG_fail
;
19811 arg5
= (int)(SWIG_As_int(obj4
));
19812 if (SWIG_arg_fail(5)) SWIG_fail
;
19815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19816 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19818 wxPyEndAllowThreads(__tstate
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19821 Py_INCREF(Py_None
); resultobj
= Py_None
;
19836 static PyObject
* ColourDatabase_swigregister(PyObject
*, PyObject
*args
) {
19838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19839 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
19841 return Py_BuildValue((char *)"");
19843 static PyObject
*_wrap_FontList_AddFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19844 PyObject
*resultobj
;
19845 wxFontList
*arg1
= (wxFontList
*) 0 ;
19846 wxFont
*arg2
= (wxFont
*) 0 ;
19847 PyObject
* obj0
= 0 ;
19848 PyObject
* obj1
= 0 ;
19849 char *kwnames
[] = {
19850 (char *) "self",(char *) "font", NULL
19853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
19855 if (SWIG_arg_fail(1)) SWIG_fail
;
19856 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
19857 if (SWIG_arg_fail(2)) SWIG_fail
;
19859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19860 (arg1
)->AddFont(arg2
);
19862 wxPyEndAllowThreads(__tstate
);
19863 if (PyErr_Occurred()) SWIG_fail
;
19865 Py_INCREF(Py_None
); resultobj
= Py_None
;
19872 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19873 PyObject
*resultobj
;
19874 wxFontList
*arg1
= (wxFontList
*) 0 ;
19879 bool arg6
= (bool) false ;
19880 wxString
const &arg7_defvalue
= wxPyEmptyString
;
19881 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19882 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
19884 bool temp7
= false ;
19885 PyObject
* obj0
= 0 ;
19886 PyObject
* obj1
= 0 ;
19887 PyObject
* obj2
= 0 ;
19888 PyObject
* obj3
= 0 ;
19889 PyObject
* obj4
= 0 ;
19890 PyObject
* obj5
= 0 ;
19891 PyObject
* obj6
= 0 ;
19892 PyObject
* obj7
= 0 ;
19893 char *kwnames
[] = {
19894 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
19897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
19898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
19899 if (SWIG_arg_fail(1)) SWIG_fail
;
19901 arg2
= (int)(SWIG_As_int(obj1
));
19902 if (SWIG_arg_fail(2)) SWIG_fail
;
19905 arg3
= (int)(SWIG_As_int(obj2
));
19906 if (SWIG_arg_fail(3)) SWIG_fail
;
19909 arg4
= (int)(SWIG_As_int(obj3
));
19910 if (SWIG_arg_fail(4)) SWIG_fail
;
19913 arg5
= (int)(SWIG_As_int(obj4
));
19914 if (SWIG_arg_fail(5)) SWIG_fail
;
19918 arg6
= (bool)(SWIG_As_bool(obj5
));
19919 if (SWIG_arg_fail(6)) SWIG_fail
;
19924 arg7
= wxString_in_helper(obj6
);
19925 if (arg7
== NULL
) SWIG_fail
;
19931 arg8
= (wxFontEncoding
)(SWIG_As_int(obj7
));
19932 if (SWIG_arg_fail(8)) SWIG_fail
;
19936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19937 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
19939 wxPyEndAllowThreads(__tstate
);
19940 if (PyErr_Occurred()) SWIG_fail
;
19942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
19957 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19958 PyObject
*resultobj
;
19959 wxFontList
*arg1
= (wxFontList
*) 0 ;
19960 wxFont
*arg2
= (wxFont
*) 0 ;
19961 PyObject
* obj0
= 0 ;
19962 PyObject
* obj1
= 0 ;
19963 char *kwnames
[] = {
19964 (char *) "self",(char *) "font", NULL
19967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
19969 if (SWIG_arg_fail(1)) SWIG_fail
;
19970 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
19971 if (SWIG_arg_fail(2)) SWIG_fail
;
19973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19974 (arg1
)->RemoveFont(arg2
);
19976 wxPyEndAllowThreads(__tstate
);
19977 if (PyErr_Occurred()) SWIG_fail
;
19979 Py_INCREF(Py_None
); resultobj
= Py_None
;
19986 static PyObject
*_wrap_FontList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19987 PyObject
*resultobj
;
19988 wxFontList
*arg1
= (wxFontList
*) 0 ;
19990 PyObject
* obj0
= 0 ;
19991 char *kwnames
[] = {
19992 (char *) "self", NULL
19995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
19996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
19997 if (SWIG_arg_fail(1)) SWIG_fail
;
19999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20000 result
= (int)(arg1
)->GetCount();
20002 wxPyEndAllowThreads(__tstate
);
20003 if (PyErr_Occurred()) SWIG_fail
;
20006 resultobj
= SWIG_From_int((int)(result
));
20014 static PyObject
* FontList_swigregister(PyObject
*, PyObject
*args
) {
20016 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20017 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
20019 return Py_BuildValue((char *)"");
20021 static int _wrap_TheFontList_set(PyObject
*) {
20022 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
20027 static PyObject
*_wrap_TheFontList_get(void) {
20030 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
20035 static int _wrap_ThePenList_set(PyObject
*) {
20036 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
20041 static PyObject
*_wrap_ThePenList_get(void) {
20044 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
20049 static int _wrap_TheBrushList_set(PyObject
*) {
20050 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
20055 static PyObject
*_wrap_TheBrushList_get(void) {
20058 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
20063 static int _wrap_TheColourDatabase_set(PyObject
*) {
20064 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
20069 static PyObject
*_wrap_TheColourDatabase_get(void) {
20072 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
20077 static PyObject
*_wrap_new_Effects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20078 PyObject
*resultobj
;
20080 char *kwnames
[] = {
20084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
20086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20087 result
= (wxEffects
*)new wxEffects();
20089 wxPyEndAllowThreads(__tstate
);
20090 if (PyErr_Occurred()) SWIG_fail
;
20092 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
20099 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20100 PyObject
*resultobj
;
20101 wxEffects
*arg1
= (wxEffects
*) 0 ;
20103 PyObject
* obj0
= 0 ;
20104 char *kwnames
[] = {
20105 (char *) "self", NULL
20108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
20109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20110 if (SWIG_arg_fail(1)) SWIG_fail
;
20112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20113 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
20115 wxPyEndAllowThreads(__tstate
);
20116 if (PyErr_Occurred()) SWIG_fail
;
20119 wxColour
* resultptr
;
20120 resultptr
= new wxColour((wxColour
&)(result
));
20121 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20129 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20130 PyObject
*resultobj
;
20131 wxEffects
*arg1
= (wxEffects
*) 0 ;
20133 PyObject
* obj0
= 0 ;
20134 char *kwnames
[] = {
20135 (char *) "self", NULL
20138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
20139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20140 if (SWIG_arg_fail(1)) SWIG_fail
;
20142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20143 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
20145 wxPyEndAllowThreads(__tstate
);
20146 if (PyErr_Occurred()) SWIG_fail
;
20149 wxColour
* resultptr
;
20150 resultptr
= new wxColour((wxColour
&)(result
));
20151 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20159 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20160 PyObject
*resultobj
;
20161 wxEffects
*arg1
= (wxEffects
*) 0 ;
20163 PyObject
* obj0
= 0 ;
20164 char *kwnames
[] = {
20165 (char *) "self", NULL
20168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
20169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20170 if (SWIG_arg_fail(1)) SWIG_fail
;
20172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20173 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
20175 wxPyEndAllowThreads(__tstate
);
20176 if (PyErr_Occurred()) SWIG_fail
;
20179 wxColour
* resultptr
;
20180 resultptr
= new wxColour((wxColour
&)(result
));
20181 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20189 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20190 PyObject
*resultobj
;
20191 wxEffects
*arg1
= (wxEffects
*) 0 ;
20193 PyObject
* obj0
= 0 ;
20194 char *kwnames
[] = {
20195 (char *) "self", NULL
20198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
20199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20200 if (SWIG_arg_fail(1)) SWIG_fail
;
20202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20203 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
20205 wxPyEndAllowThreads(__tstate
);
20206 if (PyErr_Occurred()) SWIG_fail
;
20209 wxColour
* resultptr
;
20210 resultptr
= new wxColour((wxColour
&)(result
));
20211 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20219 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20220 PyObject
*resultobj
;
20221 wxEffects
*arg1
= (wxEffects
*) 0 ;
20223 PyObject
* obj0
= 0 ;
20224 char *kwnames
[] = {
20225 (char *) "self", NULL
20228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
20229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20230 if (SWIG_arg_fail(1)) SWIG_fail
;
20232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20233 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
20235 wxPyEndAllowThreads(__tstate
);
20236 if (PyErr_Occurred()) SWIG_fail
;
20239 wxColour
* resultptr
;
20240 resultptr
= new wxColour((wxColour
&)(result
));
20241 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20249 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20250 PyObject
*resultobj
;
20251 wxEffects
*arg1
= (wxEffects
*) 0 ;
20252 wxColour
*arg2
= 0 ;
20254 PyObject
* obj0
= 0 ;
20255 PyObject
* obj1
= 0 ;
20256 char *kwnames
[] = {
20257 (char *) "self",(char *) "c", NULL
20260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20262 if (SWIG_arg_fail(1)) SWIG_fail
;
20265 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20269 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
20271 wxPyEndAllowThreads(__tstate
);
20272 if (PyErr_Occurred()) SWIG_fail
;
20274 Py_INCREF(Py_None
); resultobj
= Py_None
;
20281 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20282 PyObject
*resultobj
;
20283 wxEffects
*arg1
= (wxEffects
*) 0 ;
20284 wxColour
*arg2
= 0 ;
20286 PyObject
* obj0
= 0 ;
20287 PyObject
* obj1
= 0 ;
20288 char *kwnames
[] = {
20289 (char *) "self",(char *) "c", NULL
20292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
20293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20294 if (SWIG_arg_fail(1)) SWIG_fail
;
20297 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20301 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
20303 wxPyEndAllowThreads(__tstate
);
20304 if (PyErr_Occurred()) SWIG_fail
;
20306 Py_INCREF(Py_None
); resultobj
= Py_None
;
20313 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20314 PyObject
*resultobj
;
20315 wxEffects
*arg1
= (wxEffects
*) 0 ;
20316 wxColour
*arg2
= 0 ;
20318 PyObject
* obj0
= 0 ;
20319 PyObject
* obj1
= 0 ;
20320 char *kwnames
[] = {
20321 (char *) "self",(char *) "c", NULL
20324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20326 if (SWIG_arg_fail(1)) SWIG_fail
;
20329 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20333 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
20335 wxPyEndAllowThreads(__tstate
);
20336 if (PyErr_Occurred()) SWIG_fail
;
20338 Py_INCREF(Py_None
); resultobj
= Py_None
;
20345 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20346 PyObject
*resultobj
;
20347 wxEffects
*arg1
= (wxEffects
*) 0 ;
20348 wxColour
*arg2
= 0 ;
20350 PyObject
* obj0
= 0 ;
20351 PyObject
* obj1
= 0 ;
20352 char *kwnames
[] = {
20353 (char *) "self",(char *) "c", NULL
20356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
20357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20358 if (SWIG_arg_fail(1)) SWIG_fail
;
20361 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20365 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
20367 wxPyEndAllowThreads(__tstate
);
20368 if (PyErr_Occurred()) SWIG_fail
;
20370 Py_INCREF(Py_None
); resultobj
= Py_None
;
20377 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20378 PyObject
*resultobj
;
20379 wxEffects
*arg1
= (wxEffects
*) 0 ;
20380 wxColour
*arg2
= 0 ;
20382 PyObject
* obj0
= 0 ;
20383 PyObject
* obj1
= 0 ;
20384 char *kwnames
[] = {
20385 (char *) "self",(char *) "c", NULL
20388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
20389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20390 if (SWIG_arg_fail(1)) SWIG_fail
;
20393 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20397 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
20399 wxPyEndAllowThreads(__tstate
);
20400 if (PyErr_Occurred()) SWIG_fail
;
20402 Py_INCREF(Py_None
); resultobj
= Py_None
;
20409 static PyObject
*_wrap_Effects_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20410 PyObject
*resultobj
;
20411 wxEffects
*arg1
= (wxEffects
*) 0 ;
20412 wxColour
*arg2
= 0 ;
20413 wxColour
*arg3
= 0 ;
20414 wxColour
*arg4
= 0 ;
20415 wxColour
*arg5
= 0 ;
20416 wxColour
*arg6
= 0 ;
20422 PyObject
* obj0
= 0 ;
20423 PyObject
* obj1
= 0 ;
20424 PyObject
* obj2
= 0 ;
20425 PyObject
* obj3
= 0 ;
20426 PyObject
* obj4
= 0 ;
20427 PyObject
* obj5
= 0 ;
20428 char *kwnames
[] = {
20429 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
20432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20434 if (SWIG_arg_fail(1)) SWIG_fail
;
20437 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20441 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
20445 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
20449 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
20453 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
20456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20457 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
20459 wxPyEndAllowThreads(__tstate
);
20460 if (PyErr_Occurred()) SWIG_fail
;
20462 Py_INCREF(Py_None
); resultobj
= Py_None
;
20469 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20470 PyObject
*resultobj
;
20471 wxEffects
*arg1
= (wxEffects
*) 0 ;
20474 int arg4
= (int) 1 ;
20476 PyObject
* obj0
= 0 ;
20477 PyObject
* obj1
= 0 ;
20478 PyObject
* obj2
= 0 ;
20479 PyObject
* obj3
= 0 ;
20480 char *kwnames
[] = {
20481 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
20484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20486 if (SWIG_arg_fail(1)) SWIG_fail
;
20488 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20489 if (SWIG_arg_fail(2)) SWIG_fail
;
20490 if (arg2
== NULL
) {
20491 SWIG_null_ref("wxDC");
20493 if (SWIG_arg_fail(2)) SWIG_fail
;
20497 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20501 arg4
= (int)(SWIG_As_int(obj3
));
20502 if (SWIG_arg_fail(4)) SWIG_fail
;
20506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20507 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
20509 wxPyEndAllowThreads(__tstate
);
20510 if (PyErr_Occurred()) SWIG_fail
;
20512 Py_INCREF(Py_None
); resultobj
= Py_None
;
20519 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20520 PyObject
*resultobj
;
20521 wxEffects
*arg1
= (wxEffects
*) 0 ;
20524 wxBitmap
*arg4
= 0 ;
20527 PyObject
* obj0
= 0 ;
20528 PyObject
* obj1
= 0 ;
20529 PyObject
* obj2
= 0 ;
20530 PyObject
* obj3
= 0 ;
20531 char *kwnames
[] = {
20532 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
20535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20537 if (SWIG_arg_fail(1)) SWIG_fail
;
20540 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20543 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20544 if (SWIG_arg_fail(3)) SWIG_fail
;
20545 if (arg3
== NULL
) {
20546 SWIG_null_ref("wxDC");
20548 if (SWIG_arg_fail(3)) SWIG_fail
;
20551 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20552 if (SWIG_arg_fail(4)) SWIG_fail
;
20553 if (arg4
== NULL
) {
20554 SWIG_null_ref("wxBitmap");
20556 if (SWIG_arg_fail(4)) SWIG_fail
;
20559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20560 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
20562 wxPyEndAllowThreads(__tstate
);
20563 if (PyErr_Occurred()) SWIG_fail
;
20566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20574 static PyObject
* Effects_swigregister(PyObject
*, PyObject
*args
) {
20576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20577 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
20579 return Py_BuildValue((char *)"");
20581 static PyMethodDef SwigMethods
[] = {
20582 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20583 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20584 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20585 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20586 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20587 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
20588 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20589 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20590 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20591 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20592 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20593 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20594 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20595 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20596 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20597 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20598 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20599 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20600 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20601 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20602 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20603 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20604 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
20605 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20606 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20607 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20608 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20609 { (char *)"Palette_GetColoursCount", (PyCFunction
) _wrap_Palette_GetColoursCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20610 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20611 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
20612 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20613 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20614 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20615 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20616 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20617 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20618 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20619 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20620 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20621 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20622 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20623 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20624 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20625 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20626 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20627 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20628 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20629 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20630 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
20631 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20632 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20633 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20634 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20635 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20636 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20637 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20638 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20639 { (char *)"Brush_IsHatch", (PyCFunction
) _wrap_Brush_IsHatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20640 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20641 { (char *)"Brush_MacGetTheme", (PyCFunction
) _wrap_Brush_MacGetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20642 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20643 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
20644 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20645 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20646 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20647 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20648 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20649 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20650 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20651 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20652 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20653 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20654 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20655 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20656 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20657 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20658 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20659 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20660 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20661 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20662 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20663 { (char *)"Bitmap_GetPalette", (PyCFunction
) _wrap_Bitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20664 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20665 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20666 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20667 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20668 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20669 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20670 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20671 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
20672 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20673 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
20674 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20675 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20676 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20677 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20678 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20679 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20680 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20681 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20682 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20683 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20684 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20685 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20686 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20687 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20688 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
20689 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20690 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20691 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20692 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20693 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20694 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20695 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20696 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
20697 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20698 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20699 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20700 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20701 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20702 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20703 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20704 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
20705 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20706 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20707 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20708 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20709 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20710 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
20711 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20712 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20713 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20714 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20715 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20716 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20717 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20718 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20719 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20720 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20721 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20722 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20723 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20724 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20725 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20726 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20727 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20728 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20729 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20730 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20731 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20732 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20733 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20734 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20735 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20736 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20737 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20738 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20739 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
20740 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20741 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20742 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20743 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20744 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20745 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20746 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20747 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20748 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20749 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20750 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20751 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20752 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20753 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
20754 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20755 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20756 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20757 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20758 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20759 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20760 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20761 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20762 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20763 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20764 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20765 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20766 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20767 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20768 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20769 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20770 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20771 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20772 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20773 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20774 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20775 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20776 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20777 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
20778 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20779 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20780 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20781 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20782 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20783 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20784 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20785 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20786 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
20787 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20788 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20789 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20790 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20791 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20792 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20793 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20794 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20795 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20796 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20797 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20798 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20799 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20800 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20801 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20802 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20803 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20804 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20805 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20806 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
20807 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20808 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20809 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20810 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20811 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20812 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20813 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20814 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20815 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20816 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20817 { (char *)"Font_GetPixelSize", (PyCFunction
) _wrap_Font_GetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20818 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
) _wrap_Font_IsUsingSizeInPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20819 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20820 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20821 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20822 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20823 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20824 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20825 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20826 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20827 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20828 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20829 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20830 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20831 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20832 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20833 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20834 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20835 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20836 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20837 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20838 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20839 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20840 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20841 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20842 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20843 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20844 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20845 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20846 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20847 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
20848 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20849 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20850 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20851 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20852 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20853 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20854 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20855 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
20856 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20857 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20858 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20859 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20860 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20861 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20862 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
20863 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20864 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20865 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20866 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20867 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20868 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20869 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20870 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20871 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20872 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20873 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20874 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20875 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20876 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20877 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20878 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20879 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20880 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20881 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20882 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20883 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20884 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
20885 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20886 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
20887 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20888 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20889 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20890 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20891 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20892 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20893 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20894 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
20895 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20896 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20897 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20898 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20899 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20900 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20901 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20902 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20903 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20904 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20905 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20906 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20907 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20908 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20909 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20910 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20911 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20912 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20913 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20914 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20915 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20916 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20917 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20918 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20919 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20920 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20921 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20922 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20923 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20924 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20925 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20926 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20927 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20928 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20929 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20930 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20931 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20932 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20933 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20934 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20935 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20936 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20937 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20938 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20939 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20940 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20941 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20942 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20943 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20944 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20945 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20946 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20947 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20948 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20949 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20950 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20951 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20952 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20953 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20954 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20955 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20956 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20957 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20958 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20959 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20960 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20961 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20962 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20963 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20964 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20965 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20966 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20967 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20968 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20969 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20970 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20971 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20972 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20973 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20974 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20975 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20976 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20977 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20978 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20979 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20980 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20981 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20982 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20983 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20984 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20985 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20986 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20987 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20988 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20989 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20990 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20991 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20992 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20993 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20994 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20995 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20996 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20997 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20998 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20999 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21000 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21001 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21002 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21003 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21004 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21005 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21006 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21007 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
) _wrap_DC_ComputeScaleAndOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21008 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21009 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21010 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21011 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21012 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21013 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21014 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21015 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21016 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21017 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21018 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21019 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21020 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21021 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21022 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
21023 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21024 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21025 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21026 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
21027 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
21028 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21029 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21030 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
21031 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21032 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
21033 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21034 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21035 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21036 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21037 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
21038 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21039 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
21040 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21041 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
21042 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21043 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
21044 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21045 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
21046 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21047 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21048 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21049 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21050 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21051 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
21052 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21053 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21054 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21055 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21056 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21057 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21058 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21059 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
21060 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21061 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21062 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
21063 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21064 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
21065 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21066 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21067 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21068 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21069 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21070 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21071 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21072 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21073 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21074 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21075 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21076 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
21077 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21078 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21079 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21080 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21081 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
21082 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21083 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21084 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21085 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21086 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
21087 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21088 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21089 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21090 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21091 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21092 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21093 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
21094 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21095 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21096 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21097 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21098 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
21099 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21100 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21101 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21102 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21103 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21104 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21105 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21106 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21107 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21108 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21109 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21110 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21111 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21112 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21113 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
21114 { NULL
, NULL
, 0, NULL
}
21118 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21120 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
21121 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
21123 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
21124 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
21126 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
21127 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
21129 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
21130 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
21132 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
21133 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
21135 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
21136 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
21138 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
21139 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
21141 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
21142 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
21144 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
21145 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
21147 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
21148 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
21150 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
21151 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
21153 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
21154 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
21156 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
21157 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
21159 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
21160 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
21162 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
21163 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
21165 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
21166 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
21168 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
21169 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
21171 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
21172 return (void *)((wxDC
*) ((wxClientDC
*) x
));
21174 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
21175 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
21177 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
21178 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
21180 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
21181 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
21183 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
21184 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
21186 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
21187 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
21189 static void *_p_wxPenTo_p_wxObject(void *x
) {
21190 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
21192 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
21193 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
21195 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
21196 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
21198 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
21199 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
21201 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
21202 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
21204 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
21205 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
21207 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
21208 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
21210 static void *_p_wxIconTo_p_wxObject(void *x
) {
21211 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
21213 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
21214 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
21216 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
21217 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
21219 static void *_p_wxSizerTo_p_wxObject(void *x
) {
21220 return (void *)((wxObject
*) ((wxSizer
*) x
));
21222 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
21223 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
21225 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
21226 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21228 static void *_p_wxPenListTo_p_wxObject(void *x
) {
21229 return (void *)((wxObject
*) ((wxPenList
*) x
));
21231 static void *_p_wxEventTo_p_wxObject(void *x
) {
21232 return (void *)((wxObject
*) ((wxEvent
*) x
));
21234 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
21235 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
21237 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
21238 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
21240 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
21241 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
21243 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
21244 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
21246 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
21247 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
21249 static void *_p_wxDCTo_p_wxObject(void *x
) {
21250 return (void *)((wxObject
*) ((wxDC
*) x
));
21252 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
21253 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21255 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
21256 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
21258 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
21259 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
21261 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
21262 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
21264 static void *_p_wxControlTo_p_wxObject(void *x
) {
21265 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
21267 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
21268 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
21270 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
21271 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
21273 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
21274 return (void *)((wxObject
*) ((wxFSFile
*) x
));
21276 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
21277 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
21279 static void *_p_wxRegionTo_p_wxObject(void *x
) {
21280 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
21282 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
21283 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
21285 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
21286 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
21288 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
21289 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
21291 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
21292 return (void *)((wxObject
*) ((wxEffects
*) x
));
21294 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
21295 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
21297 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
21298 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21300 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
21301 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
21303 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
21304 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
21306 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
21307 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
21309 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
21310 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
21312 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
21313 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
21315 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
21316 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21318 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
21319 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
21321 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
21322 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
21324 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
21325 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
21327 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
21328 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
21330 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
21331 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
21333 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
21334 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
21336 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
21337 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
21339 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
21340 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
21342 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
21343 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
21345 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
21346 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
21348 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
21349 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
21351 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
21352 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
21354 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
21355 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
21357 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
21358 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
21360 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
21361 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
21363 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
21364 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
21366 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
21367 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
21369 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
21370 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
21372 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
21373 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
21375 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
21376 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
21378 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
21379 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
21381 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
21382 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
21384 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
21385 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
21387 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
21388 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
21390 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
21391 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
21393 static void *_p_wxImageTo_p_wxObject(void *x
) {
21394 return (void *)((wxObject
*) ((wxImage
*) x
));
21396 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
21397 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
21399 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
21400 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
21402 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
21403 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
21405 static void *_p_wxImageListTo_p_wxObject(void *x
) {
21406 return (void *)((wxObject
*) ((wxImageList
*) x
));
21408 static void *_p_wxCursorTo_p_wxObject(void *x
) {
21409 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
21411 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
21412 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
21414 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
21415 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
21417 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
21418 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21420 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
21421 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
21423 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
21424 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
21426 static void *_p_wxWindowTo_p_wxObject(void *x
) {
21427 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
21429 static void *_p_wxMenuTo_p_wxObject(void *x
) {
21430 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
21432 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
21433 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
21435 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
21436 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
21438 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
21439 return (void *)((wxObject
*) ((wxBrushList
*) x
));
21441 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
21442 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
21444 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
21445 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
21447 static void *_p_wxMaskTo_p_wxObject(void *x
) {
21448 return (void *)((wxObject
*) ((wxMask
*) x
));
21450 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
21451 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
21453 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
21454 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
21456 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
21457 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
21459 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
21460 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
21462 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
21463 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
21465 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
21466 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
21468 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
21469 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
21471 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
21472 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
21474 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
21475 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
21477 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
21478 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
21480 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
21481 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
21483 static void *_p_wxFontTo_p_wxObject(void *x
) {
21484 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
21486 static void *_p_wxBrushTo_p_wxObject(void *x
) {
21487 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
21489 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
21490 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
21492 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
21493 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
21495 static void *_p_wxColourTo_p_wxObject(void *x
) {
21496 return (void *)((wxObject
*) ((wxColour
*) x
));
21498 static void *_p_wxFontListTo_p_wxObject(void *x
) {
21499 return (void *)((wxObject
*) ((wxFontList
*) x
));
21501 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
21502 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
21504 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
21505 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
21507 static void *_p_wxControlTo_p_wxWindow(void *x
) {
21508 return (void *)((wxWindow
*) ((wxControl
*) x
));
21510 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
21511 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
21513 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
21514 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
21516 static swig_type_info _swigt__p_wxPostScriptDC
[] = {{"_p_wxPostScriptDC", 0, "wxPostScriptDC *", 0, 0, 0, 0},{"_p_wxPostScriptDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21517 static swig_type_info _swigt__p_wxBrush
[] = {{"_p_wxBrush", 0, "wxBrush *", 0, 0, 0, 0},{"_p_wxBrush", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21518 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}};
21519 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxScreenDC", _p_wxScreenDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxClientDC", _p_wxClientDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxPaintDC", _p_wxPaintDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxPostScriptDC", _p_wxPostScriptDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxDC
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21520 static swig_type_info _swigt__p_wxMirrorDC
[] = {{"_p_wxMirrorDC", 0, "wxMirrorDC *", 0, 0, 0, 0},{"_p_wxMirrorDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21521 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}};
21522 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}};
21523 static swig_type_info _swigt__p_wxPyFontEnumerator
[] = {{"_p_wxPyFontEnumerator", 0, "wxPyFontEnumerator *", 0, 0, 0, 0},{"_p_wxPyFontEnumerator", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21524 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}};
21525 static swig_type_info _swigt__p_wxIconLocation
[] = {{"_p_wxIconLocation", 0, "wxIconLocation *", 0, 0, 0, 0},{"_p_wxIconLocation", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21526 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}};
21527 static swig_type_info _swigt__p_wxMetaFileDC
[] = {{"_p_wxMetaFileDC", 0, "wxMetaFileDC *", 0, 0, 0, 0},{"_p_wxMetaFileDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21528 static swig_type_info _swigt__p_wxMask
[] = {{"_p_wxMask", 0, "wxMask *", 0, 0, 0, 0},{"_p_wxMask", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21529 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}};
21530 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}};
21531 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}};
21532 static swig_type_info _swigt__p_double
[] = {{"_p_double", 0, "double *", 0, 0, 0, 0},{"_p_double", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21533 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0, 0, 0, 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxMemoryDC
, 0, 0, 0, 0, 0},{"_p_wxMemoryDC", 0, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxMemoryDC
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21534 static swig_type_info _swigt__p_wxFontMapper
[] = {{"_p_wxFontMapper", 0, "wxFontMapper *", 0, 0, 0, 0},{"_p_wxFontMapper", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21535 static swig_type_info _swigt__p_wxEffects
[] = {{"_p_wxEffects", 0, "wxEffects *", 0, 0, 0, 0},{"_p_wxEffects", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21536 static swig_type_info _swigt__p_wxNativeEncodingInfo
[] = {{"_p_wxNativeEncodingInfo", 0, "wxNativeEncodingInfo *", 0, 0, 0, 0},{"_p_wxNativeEncodingInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21537 static swig_type_info _swigt__p_wxPalette
[] = {{"_p_wxPalette", 0, "wxPalette *", 0, 0, 0, 0},{"_p_wxPalette", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21538 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}};
21539 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_wxRegionIterator", _p_wxRegionIteratorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPen", _p_wxPenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDatabase", _p_wxColourDatabaseTo_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_wxPenList", _p_wxPenListTo_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_wxMask", _p_wxMaskTo_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_wxFont", _p_wxFontTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxClientDC", _p_wxClientDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRegion", _p_wxRegionTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDC", _p_wxDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIcon", _p_wxIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGDIObject", _p_wxGDIObjectTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEffects", _p_wxEffectsTo_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_wxPostScriptDC", _p_wxPostScriptDCTo_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_wxDateEvent", _p_wxDateEventTo_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_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_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_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintDC", _p_wxPaintDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScreenDC", _p_wxScreenDCTo_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_wxBufferedDC", _p_wxBufferedDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPalette", _p_wxPaletteTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageList", _p_wxImageListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCursor", _p_wxCursorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEncodingConverter", _p_wxEncodingConverterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_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_wxBrushList", _p_wxBrushListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBitmap", _p_wxBitmapTo_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_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_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_wxBrush", _p_wxBrushTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMetaFile", _p_wxMetaFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColour", _p_wxColourTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontList", _p_wxFontListTo_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}};
21540 static swig_type_info _swigt__p_wxRegionIterator
[] = {{"_p_wxRegionIterator", 0, "wxRegionIterator *", 0, 0, 0, 0},{"_p_wxRegionIterator", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21541 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}};
21542 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}};
21543 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21544 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}};
21545 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}};
21546 static swig_type_info _swigt__p_wxPrinterDC
[] = {{"_p_wxPrinterDC", 0, "wxPrinterDC *", 0, 0, 0, 0},{"_p_wxPrinterDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21547 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0, 0, 0, 0},{"_p_wxIconBundle", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21548 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}};
21549 static swig_type_info _swigt__p_wxDash
[] = {{"_p_wxDash", 0, "wxDash *", 0, 0, 0, 0},{"_p_wxDash", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21550 static swig_type_info _swigt__p_wxScreenDC
[] = {{"_p_wxScreenDC", 0, "wxScreenDC *", 0, 0, 0, 0},{"_p_wxScreenDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21551 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}};
21552 static swig_type_info _swigt__p_wxClientDC
[] = {{"_p_wxClientDC", 0, "wxClientDC *", 0, 0, 0, 0},{"_p_wxClientDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21553 static swig_type_info _swigt__p_wxBufferedDC
[] = {{"_p_wxBufferedDC", 0, "wxBufferedDC *", 0, 0, 0, 0},{"_p_wxBufferedDC", 0, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxBufferedDC
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21554 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0, 0, 0, 0},{"_p_wxImageList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21555 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21556 static swig_type_info _swigt__p_wxGDIObject
[] = {{"_p_wxGDIObject", 0, "wxGDIObject *", 0, 0, 0, 0},{"_p_wxIcon", _p_wxIconTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxPen", _p_wxPenTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxFont", _p_wxFontTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxPalette", _p_wxPaletteTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxGDIObject", 0, 0, 0, 0, 0, 0},{"_p_wxCursor", _p_wxCursorTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxBitmap", _p_wxBitmapTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxRegion", _p_wxRegionTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxBrush", _p_wxBrushTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21557 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21558 static swig_type_info _swigt__p_wxLocale
[] = {{"_p_wxLocale", 0, "wxLocale *", 0, 0, 0, 0},{"_p_wxLocale", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21559 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}};
21560 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}};
21561 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}};
21562 static swig_type_info _swigt__p_wxConfigBase
[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0, 0, 0, 0},{"_p_wxConfigBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21563 static swig_type_info _swigt__p_wxLanguageInfo
[] = {{"_p_wxLanguageInfo", 0, "wxLanguageInfo *", 0, 0, 0, 0},{"_p_wxLanguageInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21564 static swig_type_info _swigt__p_wxWindowDC
[] = {{"_p_wxWindowDC", 0, "wxWindowDC *", 0, 0, 0, 0},{"_p_wxWindowDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21565 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0, 0, 0, 0},{"_p_wxPrintData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21566 static swig_type_info _swigt__p_wxBrushList
[] = {{"_p_wxBrushList", 0, "wxBrushList *", 0, 0, 0, 0},{"_p_wxBrushList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21567 static swig_type_info _swigt__p_wxFontList
[] = {{"_p_wxFontList", 0, "wxFontList *", 0, 0, 0, 0},{"_p_wxFontList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21568 static swig_type_info _swigt__p_wxPen
[] = {{"_p_wxPen", 0, "wxPen *", 0, 0, 0, 0},{"_p_wxPen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21569 static swig_type_info _swigt__p_wxBufferedPaintDC
[] = {{"_p_wxBufferedPaintDC", 0, "wxBufferedPaintDC *", 0, 0, 0, 0},{"_p_wxBufferedPaintDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21570 static swig_type_info _swigt__p_wxPaintDC
[] = {{"_p_wxPaintDC", 0, "wxPaintDC *", 0, 0, 0, 0},{"_p_wxPaintDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21571 static swig_type_info _swigt__p_wxPenList
[] = {{"_p_wxPenList", 0, "wxPenList *", 0, 0, 0, 0},{"_p_wxPenList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21572 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}};
21573 static swig_type_info _swigt__p_wxMetaFile
[] = {{"_p_wxMetaFile", 0, "wxMetaFile *", 0, 0, 0, 0},{"_p_wxMetaFile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21574 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}};
21575 static swig_type_info _swigt__p_wxNativeFontInfo
[] = {{"_p_wxNativeFontInfo", 0, "wxNativeFontInfo *", 0, 0, 0, 0},{"_p_wxNativeFontInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21576 static swig_type_info _swigt__p_wxEncodingConverter
[] = {{"_p_wxEncodingConverter", 0, "wxEncodingConverter *", 0, 0, 0, 0},{"_p_wxEncodingConverter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21577 static swig_type_info _swigt__p_wxColourDatabase
[] = {{"_p_wxColourDatabase", 0, "wxColourDatabase *", 0, 0, 0, 0},{"_p_wxColourDatabase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21579 static swig_type_info
*swig_types_initial
[] = {
21580 _swigt__p_wxPostScriptDC
,
21582 _swigt__p_wxColour
,
21584 _swigt__p_wxMirrorDC
,
21585 _swigt__p_form_ops_t
,
21586 _swigt__p_wxDuplexMode
,
21587 _swigt__p_wxPyFontEnumerator
,
21589 _swigt__p_wxIconLocation
,
21591 _swigt__p_wxMetaFileDC
,
21595 _swigt__p_wxWindow
,
21597 _swigt__p_wxMemoryDC
,
21598 _swigt__p_wxFontMapper
,
21599 _swigt__p_wxEffects
,
21600 _swigt__p_wxNativeEncodingInfo
,
21601 _swigt__p_wxPalette
,
21602 _swigt__p_wxBitmap
,
21603 _swigt__p_wxObject
,
21604 _swigt__p_wxRegionIterator
,
21606 _swigt__p_wxPaperSize
,
21607 _swigt__p_wxString
,
21608 _swigt__unsigned_int
,
21609 _swigt__p_unsigned_int
,
21610 _swigt__p_wxPrinterDC
,
21611 _swigt__p_wxIconBundle
,
21614 _swigt__p_wxScreenDC
,
21615 _swigt__p_wxCursor
,
21616 _swigt__p_wxClientDC
,
21617 _swigt__p_wxBufferedDC
,
21618 _swigt__p_wxImageList
,
21619 _swigt__p_unsigned_char
,
21620 _swigt__p_wxGDIObject
,
21622 _swigt__p_wxLocale
,
21624 _swigt__std__ptrdiff_t
,
21625 _swigt__p_wxRegion
,
21626 _swigt__p_wxConfigBase
,
21627 _swigt__p_wxLanguageInfo
,
21628 _swigt__p_wxWindowDC
,
21629 _swigt__p_wxPrintData
,
21630 _swigt__p_wxBrushList
,
21631 _swigt__p_wxFontList
,
21633 _swigt__p_wxBufferedPaintDC
,
21634 _swigt__p_wxPaintDC
,
21635 _swigt__p_wxPenList
,
21637 _swigt__p_wxMetaFile
,
21638 _swigt__p_unsigned_long
,
21639 _swigt__p_wxNativeFontInfo
,
21640 _swigt__p_wxEncodingConverter
,
21641 _swigt__p_wxColourDatabase
,
21646 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
21648 static swig_const_info swig_const_table
[] = {
21649 {0, 0, 0, 0.0, 0, 0}};
21660 /* Python-specific SWIG API */
21661 #define SWIG_newvarlink() SWIG_Python_newvarlink()
21662 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
21663 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
21665 /* -----------------------------------------------------------------------------
21666 * global variable support code.
21667 * ----------------------------------------------------------------------------- */
21669 typedef struct swig_globalvar
{
21670 char *name
; /* Name of global variable */
21671 PyObject
*(*get_attr
)(); /* Return the current value */
21672 int (*set_attr
)(PyObject
*); /* Set the value */
21673 struct swig_globalvar
*next
;
21676 typedef struct swig_varlinkobject
{
21678 swig_globalvar
*vars
;
21679 } swig_varlinkobject
;
21682 swig_varlink_repr(swig_varlinkobject
*v
) {
21684 return PyString_FromString("<Swig global variables>");
21688 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
21689 swig_globalvar
*var
;
21691 fprintf(fp
,"Swig global variables { ");
21692 for (var
= v
->vars
; var
; var
=var
->next
) {
21693 fprintf(fp
,"%s", var
->name
);
21694 if (var
->next
) fprintf(fp
,", ");
21696 fprintf(fp
," }\n");
21701 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
21702 swig_globalvar
*var
= v
->vars
;
21704 if (strcmp(var
->name
,n
) == 0) {
21705 return (*var
->get_attr
)();
21709 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
21714 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
21715 swig_globalvar
*var
= v
->vars
;
21717 if (strcmp(var
->name
,n
) == 0) {
21718 return (*var
->set_attr
)(p
);
21722 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
21726 static PyTypeObject varlinktype
= {
21727 PyObject_HEAD_INIT(0)
21728 0, /* Number of items in variable part (ob_size) */
21729 (char *)"swigvarlink", /* Type name (tp_name) */
21730 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
21731 0, /* Itemsize (tp_itemsize) */
21732 0, /* Deallocator (tp_dealloc) */
21733 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
21734 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
21735 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
21736 0, /* tp_compare */
21737 (reprfunc
) swig_varlink_repr
, /* tp_repr */
21738 0, /* tp_as_number */
21739 0, /* tp_as_sequence */
21740 0, /* tp_as_mapping */
21744 0, /* tp_getattro */
21745 0, /* tp_setattro */
21746 0, /* tp_as_buffer */
21749 #if PY_VERSION_HEX >= 0x02000000
21750 0, /* tp_traverse */
21753 #if PY_VERSION_HEX >= 0x02010000
21754 0, /* tp_richcompare */
21755 0, /* tp_weaklistoffset */
21757 #if PY_VERSION_HEX >= 0x02020000
21758 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
21760 #if PY_VERSION_HEX >= 0x02030000
21763 #ifdef COUNT_ALLOCS
21764 0,0,0,0 /* tp_alloc -> tp_next */
21768 /* Create a variable linking object for use later */
21770 SWIG_Python_newvarlink(void) {
21771 swig_varlinkobject
*result
= 0;
21772 result
= PyMem_NEW(swig_varlinkobject
,1);
21773 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
21774 result
->ob_type
= &varlinktype
;
21776 result
->ob_refcnt
= 0;
21777 Py_XINCREF((PyObject
*) result
);
21778 return ((PyObject
*) result
);
21782 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
21783 swig_varlinkobject
*v
;
21784 swig_globalvar
*gv
;
21785 v
= (swig_varlinkobject
*) p
;
21786 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
21787 gv
->name
= (char *) malloc(strlen(name
)+1);
21788 strcpy(gv
->name
,name
);
21789 gv
->get_attr
= get_attr
;
21790 gv
->set_attr
= set_attr
;
21791 gv
->next
= v
->vars
;
21795 /* -----------------------------------------------------------------------------
21796 * constants/methods manipulation
21797 * ----------------------------------------------------------------------------- */
21799 /* Install Constants */
21801 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
21804 for (i
= 0; constants
[i
].type
; i
++) {
21805 switch(constants
[i
].type
) {
21807 obj
= PyInt_FromLong(constants
[i
].lvalue
);
21809 case SWIG_PY_FLOAT
:
21810 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
21812 case SWIG_PY_STRING
:
21813 if (constants
[i
].pvalue
) {
21814 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
21816 Py_INCREF(Py_None
);
21820 case SWIG_PY_POINTER
:
21821 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
21823 case SWIG_PY_BINARY
:
21824 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
21831 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
21837 /* -----------------------------------------------------------------------------*/
21838 /* Fix SwigMethods to carry the callback ptrs when needed */
21839 /* -----------------------------------------------------------------------------*/
21842 SWIG_Python_FixMethods(PyMethodDef
*methods
,
21843 swig_const_info
*const_table
,
21844 swig_type_info
**types
,
21845 swig_type_info
**types_initial
) {
21847 for (i
= 0; methods
[i
].ml_name
; ++i
) {
21848 char *c
= methods
[i
].ml_doc
;
21849 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
21851 swig_const_info
*ci
= 0;
21852 char *name
= c
+ 10;
21853 for (j
= 0; const_table
[j
].type
; j
++) {
21854 if (strncmp(const_table
[j
].name
, name
,
21855 strlen(const_table
[j
].name
)) == 0) {
21856 ci
= &(const_table
[j
]);
21861 size_t shift
= (ci
->ptype
) - types
;
21862 swig_type_info
*ty
= types_initial
[shift
];
21863 size_t ldoc
= (c
- methods
[i
].ml_doc
);
21864 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
21865 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
21867 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
21868 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
21870 strncpy(buff
, "swig_ptr: ", 10);
21872 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
21873 methods
[i
].ml_doc
= ndoc
;
21879 /* -----------------------------------------------------------------------------*
21880 * Initialize type list
21881 * -----------------------------------------------------------------------------*/
21883 #if PY_MAJOR_VERSION < 2
21884 /* PyModule_AddObject function was introduced in Python 2.0. The following function
21885 is copied out of Python/modsupport.c in python version 2.3.4 */
21887 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
21890 if (!PyModule_Check(m
)) {
21891 PyErr_SetString(PyExc_TypeError
,
21892 "PyModule_AddObject() needs module as first arg");
21896 PyErr_SetString(PyExc_TypeError
,
21897 "PyModule_AddObject() needs non-NULL value");
21901 dict
= PyModule_GetDict(m
);
21902 if (dict
== NULL
) {
21903 /* Internal error -- modules must have a dict! */
21904 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
21905 PyModule_GetName(m
));
21908 if (PyDict_SetItemString(dict
, name
, o
))
21915 static swig_type_info
**
21916 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
21917 static PyMethodDef swig_empty_runtime_method_table
[] = {
21919 NULL
, NULL
, 0, NULL
21923 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
21924 swig_empty_runtime_method_table
);
21925 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
21926 if (pointer
&& module) {
21927 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
21929 return type_list_handle
;
21932 static swig_type_info
**
21933 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
21934 swig_type_info
**type_pointer
;
21936 /* first check if module already created */
21937 type_pointer
= SWIG_Python_GetTypeListHandle();
21938 if (type_pointer
) {
21939 return type_pointer
;
21941 /* create a new module and variable */
21942 return SWIG_Python_SetTypeListHandle(type_list_handle
);
21950 /* -----------------------------------------------------------------------------*
21951 * Partial Init method
21952 * -----------------------------------------------------------------------------*/
21954 #ifdef SWIG_LINK_RUNTIME
21958 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
21964 SWIGEXPORT(void) SWIG_init(void) {
21965 static PyObject
*SWIG_globals
= 0;
21966 static int typeinit
= 0;
21969 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
21971 /* Fix SwigMethods to carry the callback ptrs when needed */
21972 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
21974 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
21975 d
= PyModule_GetDict(m
);
21978 #ifdef SWIG_LINK_RUNTIME
21979 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
21981 # ifndef SWIG_STATIC_RUNTIME
21982 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
21985 for (i
= 0; swig_types_initial
[i
]; i
++) {
21986 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
21990 SWIG_InstallConstants(d
,swig_const_table
);
21993 PyDict_SetItemString(d
,"OutRegion", SWIG_From_int((int)(wxOutRegion
)));
21996 PyDict_SetItemString(d
,"PartRegion", SWIG_From_int((int)(wxPartRegion
)));
21999 PyDict_SetItemString(d
,"InRegion", SWIG_From_int((int)(wxInRegion
)));
22002 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_From_int((int)(wxFONTFAMILY_DEFAULT
)));
22005 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_From_int((int)(wxFONTFAMILY_DECORATIVE
)));
22008 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_From_int((int)(wxFONTFAMILY_ROMAN
)));
22011 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_From_int((int)(wxFONTFAMILY_SCRIPT
)));
22014 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_From_int((int)(wxFONTFAMILY_SWISS
)));
22017 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_From_int((int)(wxFONTFAMILY_MODERN
)));
22020 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_From_int((int)(wxFONTFAMILY_TELETYPE
)));
22023 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_From_int((int)(wxFONTFAMILY_MAX
)));
22026 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_From_int((int)(wxFONTFAMILY_UNKNOWN
)));
22029 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_From_int((int)(wxFONTSTYLE_NORMAL
)));
22032 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_From_int((int)(wxFONTSTYLE_ITALIC
)));
22035 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_From_int((int)(wxFONTSTYLE_SLANT
)));
22038 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_From_int((int)(wxFONTSTYLE_MAX
)));
22041 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_From_int((int)(wxFONTWEIGHT_NORMAL
)));
22044 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_From_int((int)(wxFONTWEIGHT_LIGHT
)));
22047 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_From_int((int)(wxFONTWEIGHT_BOLD
)));
22050 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_From_int((int)(wxFONTWEIGHT_MAX
)));
22053 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_From_int((int)(wxFONTFLAG_DEFAULT
)));
22056 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_From_int((int)(wxFONTFLAG_ITALIC
)));
22059 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_From_int((int)(wxFONTFLAG_SLANT
)));
22062 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_From_int((int)(wxFONTFLAG_LIGHT
)));
22065 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_From_int((int)(wxFONTFLAG_BOLD
)));
22068 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_From_int((int)(wxFONTFLAG_ANTIALIASED
)));
22071 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int((int)(wxFONTFLAG_NOT_ANTIALIASED
)));
22074 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_From_int((int)(wxFONTFLAG_UNDERLINED
)));
22077 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_From_int((int)(wxFONTFLAG_STRIKETHROUGH
)));
22080 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_From_int((int)(wxFONTFLAG_MASK
)));
22083 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_From_int((int)(wxFONTENCODING_SYSTEM
)));
22086 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_From_int((int)(wxFONTENCODING_DEFAULT
)));
22089 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_From_int((int)(wxFONTENCODING_ISO8859_1
)));
22092 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_From_int((int)(wxFONTENCODING_ISO8859_2
)));
22095 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_From_int((int)(wxFONTENCODING_ISO8859_3
)));
22098 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_From_int((int)(wxFONTENCODING_ISO8859_4
)));
22101 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_From_int((int)(wxFONTENCODING_ISO8859_5
)));
22104 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_From_int((int)(wxFONTENCODING_ISO8859_6
)));
22107 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_From_int((int)(wxFONTENCODING_ISO8859_7
)));
22110 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_From_int((int)(wxFONTENCODING_ISO8859_8
)));
22113 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_From_int((int)(wxFONTENCODING_ISO8859_9
)));
22116 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_From_int((int)(wxFONTENCODING_ISO8859_10
)));
22119 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_From_int((int)(wxFONTENCODING_ISO8859_11
)));
22122 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_From_int((int)(wxFONTENCODING_ISO8859_12
)));
22125 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_From_int((int)(wxFONTENCODING_ISO8859_13
)));
22128 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_From_int((int)(wxFONTENCODING_ISO8859_14
)));
22131 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_From_int((int)(wxFONTENCODING_ISO8859_15
)));
22134 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_From_int((int)(wxFONTENCODING_ISO8859_MAX
)));
22137 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_From_int((int)(wxFONTENCODING_KOI8
)));
22140 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_From_int((int)(wxFONTENCODING_KOI8_U
)));
22143 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_From_int((int)(wxFONTENCODING_ALTERNATIVE
)));
22146 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_From_int((int)(wxFONTENCODING_BULGARIAN
)));
22149 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_From_int((int)(wxFONTENCODING_CP437
)));
22152 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_From_int((int)(wxFONTENCODING_CP850
)));
22155 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_From_int((int)(wxFONTENCODING_CP852
)));
22158 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_From_int((int)(wxFONTENCODING_CP855
)));
22161 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_From_int((int)(wxFONTENCODING_CP866
)));
22164 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_From_int((int)(wxFONTENCODING_CP874
)));
22167 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_From_int((int)(wxFONTENCODING_CP932
)));
22170 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_From_int((int)(wxFONTENCODING_CP936
)));
22173 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_From_int((int)(wxFONTENCODING_CP949
)));
22176 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_From_int((int)(wxFONTENCODING_CP950
)));
22179 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_From_int((int)(wxFONTENCODING_CP1250
)));
22182 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_From_int((int)(wxFONTENCODING_CP1251
)));
22185 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_From_int((int)(wxFONTENCODING_CP1252
)));
22188 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_From_int((int)(wxFONTENCODING_CP1253
)));
22191 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_From_int((int)(wxFONTENCODING_CP1254
)));
22194 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_From_int((int)(wxFONTENCODING_CP1255
)));
22197 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_From_int((int)(wxFONTENCODING_CP1256
)));
22200 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_From_int((int)(wxFONTENCODING_CP1257
)));
22203 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_From_int((int)(wxFONTENCODING_CP12_MAX
)));
22206 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_From_int((int)(wxFONTENCODING_UTF7
)));
22209 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_From_int((int)(wxFONTENCODING_UTF8
)));
22212 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_From_int((int)(wxFONTENCODING_EUC_JP
)));
22215 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_From_int((int)(wxFONTENCODING_UTF16BE
)));
22218 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_From_int((int)(wxFONTENCODING_UTF16LE
)));
22221 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_From_int((int)(wxFONTENCODING_UTF32BE
)));
22224 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_From_int((int)(wxFONTENCODING_UTF32LE
)));
22227 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_From_int((int)(wxFONTENCODING_MACROMAN
)));
22230 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_From_int((int)(wxFONTENCODING_MACJAPANESE
)));
22233 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_From_int((int)(wxFONTENCODING_MACCHINESETRAD
)));
22236 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_From_int((int)(wxFONTENCODING_MACKOREAN
)));
22239 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_From_int((int)(wxFONTENCODING_MACARABIC
)));
22242 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_From_int((int)(wxFONTENCODING_MACHEBREW
)));
22245 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_From_int((int)(wxFONTENCODING_MACGREEK
)));
22248 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_From_int((int)(wxFONTENCODING_MACCYRILLIC
)));
22251 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_From_int((int)(wxFONTENCODING_MACDEVANAGARI
)));
22254 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_From_int((int)(wxFONTENCODING_MACGURMUKHI
)));
22257 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_From_int((int)(wxFONTENCODING_MACGUJARATI
)));
22260 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_From_int((int)(wxFONTENCODING_MACORIYA
)));
22263 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_From_int((int)(wxFONTENCODING_MACBENGALI
)));
22266 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_From_int((int)(wxFONTENCODING_MACTAMIL
)));
22269 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_From_int((int)(wxFONTENCODING_MACTELUGU
)));
22272 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_From_int((int)(wxFONTENCODING_MACKANNADA
)));
22275 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_From_int((int)(wxFONTENCODING_MACMALAJALAM
)));
22278 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_From_int((int)(wxFONTENCODING_MACSINHALESE
)));
22281 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_From_int((int)(wxFONTENCODING_MACBURMESE
)));
22284 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_From_int((int)(wxFONTENCODING_MACKHMER
)));
22287 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_From_int((int)(wxFONTENCODING_MACTHAI
)));
22290 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_From_int((int)(wxFONTENCODING_MACLAOTIAN
)));
22293 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_From_int((int)(wxFONTENCODING_MACGEORGIAN
)));
22296 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_From_int((int)(wxFONTENCODING_MACARMENIAN
)));
22299 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_From_int((int)(wxFONTENCODING_MACCHINESESIMP
)));
22302 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_From_int((int)(wxFONTENCODING_MACTIBETAN
)));
22305 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_From_int((int)(wxFONTENCODING_MACMONGOLIAN
)));
22308 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_From_int((int)(wxFONTENCODING_MACETHIOPIC
)));
22311 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_From_int((int)(wxFONTENCODING_MACCENTRALEUR
)));
22314 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_From_int((int)(wxFONTENCODING_MACVIATNAMESE
)));
22317 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_From_int((int)(wxFONTENCODING_MACARABICEXT
)));
22320 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_From_int((int)(wxFONTENCODING_MACSYMBOL
)));
22323 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_From_int((int)(wxFONTENCODING_MACDINGBATS
)));
22326 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_From_int((int)(wxFONTENCODING_MACTURKISH
)));
22329 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_From_int((int)(wxFONTENCODING_MACCROATIAN
)));
22332 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_From_int((int)(wxFONTENCODING_MACICELANDIC
)));
22335 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_From_int((int)(wxFONTENCODING_MACROMANIAN
)));
22338 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_From_int((int)(wxFONTENCODING_MACCELTIC
)));
22341 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_From_int((int)(wxFONTENCODING_MACGAELIC
)));
22344 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_From_int((int)(wxFONTENCODING_MACKEYBOARD
)));
22347 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_From_int((int)(wxFONTENCODING_MACMIN
)));
22350 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_From_int((int)(wxFONTENCODING_MACMAX
)));
22353 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_From_int((int)(wxFONTENCODING_MAX
)));
22356 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_From_int((int)(wxFONTENCODING_UTF16
)));
22359 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_From_int((int)(wxFONTENCODING_UTF32
)));
22362 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_From_int((int)(wxFONTENCODING_UNICODE
)));
22365 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_From_int((int)(wxFONTENCODING_GB2312
)));
22368 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_From_int((int)(wxFONTENCODING_BIG5
)));
22371 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_From_int((int)(wxFONTENCODING_SHIFT_JIS
)));
22374 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
22377 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_From_int((int)(wxLANGUAGE_DEFAULT
)));
22380 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_From_int((int)(wxLANGUAGE_UNKNOWN
)));
22383 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_From_int((int)(wxLANGUAGE_ABKHAZIAN
)));
22386 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_From_int((int)(wxLANGUAGE_AFAR
)));
22389 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_From_int((int)(wxLANGUAGE_AFRIKAANS
)));
22392 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_From_int((int)(wxLANGUAGE_ALBANIAN
)));
22395 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_From_int((int)(wxLANGUAGE_AMHARIC
)));
22398 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_From_int((int)(wxLANGUAGE_ARABIC
)));
22401 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_ALGERIA
)));
22404 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_BAHRAIN
)));
22407 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int((int)(wxLANGUAGE_ARABIC_EGYPT
)));
22410 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int((int)(wxLANGUAGE_ARABIC_IRAQ
)));
22413 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_JORDAN
)));
22416 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int((int)(wxLANGUAGE_ARABIC_KUWAIT
)));
22419 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int((int)(wxLANGUAGE_ARABIC_LEBANON
)));
22422 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_LIBYA
)));
22425 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int((int)(wxLANGUAGE_ARABIC_MOROCCO
)));
22428 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_OMAN
)));
22431 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_From_int((int)(wxLANGUAGE_ARABIC_QATAR
)));
22434 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
22437 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SUDAN
)));
22440 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SYRIA
)));
22443 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_TUNISIA
)));
22446 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_From_int((int)(wxLANGUAGE_ARABIC_UAE
)));
22449 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_YEMEN
)));
22452 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_From_int((int)(wxLANGUAGE_ARMENIAN
)));
22455 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_From_int((int)(wxLANGUAGE_ASSAMESE
)));
22458 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_From_int((int)(wxLANGUAGE_AYMARA
)));
22461 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_From_int((int)(wxLANGUAGE_AZERI
)));
22464 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_AZERI_CYRILLIC
)));
22467 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_From_int((int)(wxLANGUAGE_AZERI_LATIN
)));
22470 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_From_int((int)(wxLANGUAGE_BASHKIR
)));
22473 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_From_int((int)(wxLANGUAGE_BASQUE
)));
22476 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_From_int((int)(wxLANGUAGE_BELARUSIAN
)));
22479 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_From_int((int)(wxLANGUAGE_BENGALI
)));
22482 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_From_int((int)(wxLANGUAGE_BHUTANI
)));
22485 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_From_int((int)(wxLANGUAGE_BIHARI
)));
22488 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_From_int((int)(wxLANGUAGE_BISLAMA
)));
22491 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_From_int((int)(wxLANGUAGE_BRETON
)));
22494 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_From_int((int)(wxLANGUAGE_BULGARIAN
)));
22497 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_From_int((int)(wxLANGUAGE_BURMESE
)));
22500 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_From_int((int)(wxLANGUAGE_CAMBODIAN
)));
22503 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_From_int((int)(wxLANGUAGE_CATALAN
)));
22506 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_From_int((int)(wxLANGUAGE_CHINESE
)));
22509 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int((int)(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
22512 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int((int)(wxLANGUAGE_CHINESE_TRADITIONAL
)));
22515 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int((int)(wxLANGUAGE_CHINESE_HONGKONG
)));
22518 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_From_int((int)(wxLANGUAGE_CHINESE_MACAU
)));
22521 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int((int)(wxLANGUAGE_CHINESE_SINGAPORE
)));
22524 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int((int)(wxLANGUAGE_CHINESE_TAIWAN
)));
22527 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_From_int((int)(wxLANGUAGE_CORSICAN
)));
22530 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_From_int((int)(wxLANGUAGE_CROATIAN
)));
22533 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_From_int((int)(wxLANGUAGE_CZECH
)));
22536 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_From_int((int)(wxLANGUAGE_DANISH
)));
22539 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_From_int((int)(wxLANGUAGE_DUTCH
)));
22542 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int((int)(wxLANGUAGE_DUTCH_BELGIAN
)));
22545 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_From_int((int)(wxLANGUAGE_ENGLISH
)));
22548 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_UK
)));
22551 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_US
)));
22554 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
22557 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_BELIZE
)));
22560 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_BOTSWANA
)));
22563 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_CANADA
)));
22566 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
22569 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_DENMARK
)));
22572 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_EIRE
)));
22575 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_JAMAICA
)));
22578 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
22581 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
22584 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
22587 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_TRINIDAD
)));
22590 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
22593 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_From_int((int)(wxLANGUAGE_ESPERANTO
)));
22596 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_From_int((int)(wxLANGUAGE_ESTONIAN
)));
22599 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_From_int((int)(wxLANGUAGE_FAEROESE
)));
22602 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_From_int((int)(wxLANGUAGE_FARSI
)));
22605 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_From_int((int)(wxLANGUAGE_FIJI
)));
22608 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_From_int((int)(wxLANGUAGE_FINNISH
)));
22611 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_From_int((int)(wxLANGUAGE_FRENCH
)));
22614 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int((int)(wxLANGUAGE_FRENCH_BELGIAN
)));
22617 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int((int)(wxLANGUAGE_FRENCH_CANADIAN
)));
22620 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int((int)(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
22623 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_From_int((int)(wxLANGUAGE_FRENCH_MONACO
)));
22626 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_From_int((int)(wxLANGUAGE_FRENCH_SWISS
)));
22629 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_From_int((int)(wxLANGUAGE_FRISIAN
)));
22632 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_From_int((int)(wxLANGUAGE_GALICIAN
)));
22635 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_From_int((int)(wxLANGUAGE_GEORGIAN
)));
22638 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_From_int((int)(wxLANGUAGE_GERMAN
)));
22641 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int((int)(wxLANGUAGE_GERMAN_AUSTRIAN
)));
22644 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int((int)(wxLANGUAGE_GERMAN_BELGIUM
)));
22647 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int((int)(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
22650 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int((int)(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
22653 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_From_int((int)(wxLANGUAGE_GERMAN_SWISS
)));
22656 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_From_int((int)(wxLANGUAGE_GREEK
)));
22659 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_From_int((int)(wxLANGUAGE_GREENLANDIC
)));
22662 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_From_int((int)(wxLANGUAGE_GUARANI
)));
22665 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_From_int((int)(wxLANGUAGE_GUJARATI
)));
22668 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_From_int((int)(wxLANGUAGE_HAUSA
)));
22671 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_From_int((int)(wxLANGUAGE_HEBREW
)));
22674 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_From_int((int)(wxLANGUAGE_HINDI
)));
22677 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_From_int((int)(wxLANGUAGE_HUNGARIAN
)));
22680 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_From_int((int)(wxLANGUAGE_ICELANDIC
)));
22683 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_From_int((int)(wxLANGUAGE_INDONESIAN
)));
22686 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_From_int((int)(wxLANGUAGE_INTERLINGUA
)));
22689 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_From_int((int)(wxLANGUAGE_INTERLINGUE
)));
22692 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_From_int((int)(wxLANGUAGE_INUKTITUT
)));
22695 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_From_int((int)(wxLANGUAGE_INUPIAK
)));
22698 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_From_int((int)(wxLANGUAGE_IRISH
)));
22701 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_From_int((int)(wxLANGUAGE_ITALIAN
)));
22704 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int((int)(wxLANGUAGE_ITALIAN_SWISS
)));
22707 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_From_int((int)(wxLANGUAGE_JAPANESE
)));
22710 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_From_int((int)(wxLANGUAGE_JAVANESE
)));
22713 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_From_int((int)(wxLANGUAGE_KANNADA
)));
22716 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_From_int((int)(wxLANGUAGE_KASHMIRI
)));
22719 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int((int)(wxLANGUAGE_KASHMIRI_INDIA
)));
22722 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_From_int((int)(wxLANGUAGE_KAZAKH
)));
22725 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_From_int((int)(wxLANGUAGE_KERNEWEK
)));
22728 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_From_int((int)(wxLANGUAGE_KINYARWANDA
)));
22731 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_From_int((int)(wxLANGUAGE_KIRGHIZ
)));
22734 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_From_int((int)(wxLANGUAGE_KIRUNDI
)));
22737 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_From_int((int)(wxLANGUAGE_KONKANI
)));
22740 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_From_int((int)(wxLANGUAGE_KOREAN
)));
22743 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_From_int((int)(wxLANGUAGE_KURDISH
)));
22746 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_From_int((int)(wxLANGUAGE_LAOTHIAN
)));
22749 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_From_int((int)(wxLANGUAGE_LATIN
)));
22752 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_From_int((int)(wxLANGUAGE_LATVIAN
)));
22755 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_From_int((int)(wxLANGUAGE_LINGALA
)));
22758 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_From_int((int)(wxLANGUAGE_LITHUANIAN
)));
22761 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_From_int((int)(wxLANGUAGE_MACEDONIAN
)));
22764 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_From_int((int)(wxLANGUAGE_MALAGASY
)));
22767 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_From_int((int)(wxLANGUAGE_MALAY
)));
22770 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_From_int((int)(wxLANGUAGE_MALAYALAM
)));
22773 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int((int)(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
22776 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int((int)(wxLANGUAGE_MALAY_MALAYSIA
)));
22779 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_From_int((int)(wxLANGUAGE_MALTESE
)));
22782 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_From_int((int)(wxLANGUAGE_MANIPURI
)));
22785 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_From_int((int)(wxLANGUAGE_MAORI
)));
22788 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_From_int((int)(wxLANGUAGE_MARATHI
)));
22791 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_From_int((int)(wxLANGUAGE_MOLDAVIAN
)));
22794 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_From_int((int)(wxLANGUAGE_MONGOLIAN
)));
22797 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_From_int((int)(wxLANGUAGE_NAURU
)));
22800 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_From_int((int)(wxLANGUAGE_NEPALI
)));
22803 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_From_int((int)(wxLANGUAGE_NEPALI_INDIA
)));
22806 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int((int)(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
22809 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int((int)(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
22812 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_From_int((int)(wxLANGUAGE_OCCITAN
)));
22815 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_From_int((int)(wxLANGUAGE_ORIYA
)));
22818 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_From_int((int)(wxLANGUAGE_OROMO
)));
22821 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_From_int((int)(wxLANGUAGE_PASHTO
)));
22824 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_From_int((int)(wxLANGUAGE_POLISH
)));
22827 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_From_int((int)(wxLANGUAGE_PORTUGUESE
)));
22830 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int((int)(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
22833 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_From_int((int)(wxLANGUAGE_PUNJABI
)));
22836 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_From_int((int)(wxLANGUAGE_QUECHUA
)));
22839 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int((int)(wxLANGUAGE_RHAETO_ROMANCE
)));
22842 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_From_int((int)(wxLANGUAGE_ROMANIAN
)));
22845 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_From_int((int)(wxLANGUAGE_RUSSIAN
)));
22848 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int((int)(wxLANGUAGE_RUSSIAN_UKRAINE
)));
22851 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_From_int((int)(wxLANGUAGE_SAMOAN
)));
22854 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_From_int((int)(wxLANGUAGE_SANGHO
)));
22857 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_From_int((int)(wxLANGUAGE_SANSKRIT
)));
22860 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int((int)(wxLANGUAGE_SCOTS_GAELIC
)));
22863 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_From_int((int)(wxLANGUAGE_SERBIAN
)));
22866 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_SERBIAN_CYRILLIC
)));
22869 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int((int)(wxLANGUAGE_SERBIAN_LATIN
)));
22872 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int((int)(wxLANGUAGE_SERBO_CROATIAN
)));
22875 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_From_int((int)(wxLANGUAGE_SESOTHO
)));
22878 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_From_int((int)(wxLANGUAGE_SETSWANA
)));
22881 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_From_int((int)(wxLANGUAGE_SHONA
)));
22884 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_From_int((int)(wxLANGUAGE_SINDHI
)));
22887 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_From_int((int)(wxLANGUAGE_SINHALESE
)));
22890 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_From_int((int)(wxLANGUAGE_SISWATI
)));
22893 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_From_int((int)(wxLANGUAGE_SLOVAK
)));
22896 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_From_int((int)(wxLANGUAGE_SLOVENIAN
)));
22899 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_From_int((int)(wxLANGUAGE_SOMALI
)));
22902 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_From_int((int)(wxLANGUAGE_SPANISH
)));
22905 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_ARGENTINA
)));
22908 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_BOLIVIA
)));
22911 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_From_int((int)(wxLANGUAGE_SPANISH_CHILE
)));
22914 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_COLOMBIA
)));
22917 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_COSTA_RICA
)));
22920 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int((int)(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
22923 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int((int)(wxLANGUAGE_SPANISH_ECUADOR
)));
22926 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int((int)(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
22929 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_GUATEMALA
)));
22932 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int((int)(wxLANGUAGE_SPANISH_HONDURAS
)));
22935 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int((int)(wxLANGUAGE_SPANISH_MEXICAN
)));
22938 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_From_int((int)(wxLANGUAGE_SPANISH_MODERN
)));
22941 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_NICARAGUA
)));
22944 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PANAMA
)));
22947 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PARAGUAY
)));
22950 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PERU
)));
22953 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
22956 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int((int)(wxLANGUAGE_SPANISH_URUGUAY
)));
22959 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_From_int((int)(wxLANGUAGE_SPANISH_US
)));
22962 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_VENEZUELA
)));
22965 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_From_int((int)(wxLANGUAGE_SUNDANESE
)));
22968 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_From_int((int)(wxLANGUAGE_SWAHILI
)));
22971 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_From_int((int)(wxLANGUAGE_SWEDISH
)));
22974 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int((int)(wxLANGUAGE_SWEDISH_FINLAND
)));
22977 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_From_int((int)(wxLANGUAGE_TAGALOG
)));
22980 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_From_int((int)(wxLANGUAGE_TAJIK
)));
22983 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_From_int((int)(wxLANGUAGE_TAMIL
)));
22986 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_From_int((int)(wxLANGUAGE_TATAR
)));
22989 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_From_int((int)(wxLANGUAGE_TELUGU
)));
22992 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_From_int((int)(wxLANGUAGE_THAI
)));
22995 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_From_int((int)(wxLANGUAGE_TIBETAN
)));
22998 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_From_int((int)(wxLANGUAGE_TIGRINYA
)));
23001 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_From_int((int)(wxLANGUAGE_TONGA
)));
23004 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_From_int((int)(wxLANGUAGE_TSONGA
)));
23007 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_From_int((int)(wxLANGUAGE_TURKISH
)));
23010 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_From_int((int)(wxLANGUAGE_TURKMEN
)));
23013 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_From_int((int)(wxLANGUAGE_TWI
)));
23016 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_From_int((int)(wxLANGUAGE_UIGHUR
)));
23019 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_From_int((int)(wxLANGUAGE_UKRAINIAN
)));
23022 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_From_int((int)(wxLANGUAGE_URDU
)));
23025 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_From_int((int)(wxLANGUAGE_URDU_INDIA
)));
23028 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int((int)(wxLANGUAGE_URDU_PAKISTAN
)));
23031 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_From_int((int)(wxLANGUAGE_UZBEK
)));
23034 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_UZBEK_CYRILLIC
)));
23037 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_From_int((int)(wxLANGUAGE_UZBEK_LATIN
)));
23040 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_From_int((int)(wxLANGUAGE_VIETNAMESE
)));
23043 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_From_int((int)(wxLANGUAGE_VOLAPUK
)));
23046 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_From_int((int)(wxLANGUAGE_WELSH
)));
23049 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_From_int((int)(wxLANGUAGE_WOLOF
)));
23052 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_From_int((int)(wxLANGUAGE_XHOSA
)));
23055 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_From_int((int)(wxLANGUAGE_YIDDISH
)));
23058 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_From_int((int)(wxLANGUAGE_YORUBA
)));
23061 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_From_int((int)(wxLANGUAGE_ZHUANG
)));
23064 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_From_int((int)(wxLANGUAGE_ZULU
)));
23067 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_From_int((int)(wxLANGUAGE_USER_DEFINED
)));
23070 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_From_int((int)(wxLOCALE_CAT_NUMBER
)));
23073 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_From_int((int)(wxLOCALE_CAT_DATE
)));
23076 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_From_int((int)(wxLOCALE_CAT_MONEY
)));
23079 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_From_int((int)(wxLOCALE_CAT_MAX
)));
23082 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_From_int((int)(wxLOCALE_THOUSANDS_SEP
)));
23085 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_From_int((int)(wxLOCALE_DECIMAL_POINT
)));
23088 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_From_int((int)(wxLOCALE_LOAD_DEFAULT
)));
23091 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_From_int((int)(wxLOCALE_CONV_ENCODING
)));
23094 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_From_int((int)(wxCONVERT_STRICT
)));
23097 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_From_int((int)(wxCONVERT_SUBSTITUTE
)));
23100 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_From_int((int)(wxPLATFORM_CURRENT
)));
23103 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_From_int((int)(wxPLATFORM_UNIX
)));
23106 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_From_int((int)(wxPLATFORM_WINDOWS
)));
23109 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_From_int((int)(wxPLATFORM_OS2
)));
23112 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_From_int((int)(wxPLATFORM_MAC
)));
23115 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_From_int((int)(wxIMAGELIST_DRAW_NORMAL
)));
23118 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int((int)(wxIMAGELIST_DRAW_TRANSPARENT
)));
23121 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_From_int((int)(wxIMAGELIST_DRAW_SELECTED
)));
23124 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int((int)(wxIMAGELIST_DRAW_FOCUSED
)));
23127 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_From_int((int)(wxIMAGE_LIST_NORMAL
)));
23130 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_From_int((int)(wxIMAGE_LIST_SMALL
)));
23133 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_From_int((int)(wxIMAGE_LIST_STATE
)));
23135 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
23136 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
23137 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
23138 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
23139 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
23140 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
23141 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
23142 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
23143 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
23144 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
23145 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
23146 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
23147 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
23148 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
23149 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
23150 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
23151 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
23152 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
23153 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
23154 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
23155 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
23156 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
23157 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
23158 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
23159 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
23160 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
23161 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
23162 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
23163 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
23164 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
23165 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
23166 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
23167 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
23168 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
23169 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
23170 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
23171 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
23172 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
23173 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
23174 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
23175 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
23176 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
23177 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
23178 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
23179 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
23180 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
23181 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
23183 // Work around a chicken/egg problem in drawlist.cpp
23184 wxPyDrawList_SetAPIPtr();