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 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1632 #define SWIG_From_unsigned_SS_char PyInt_FromLong
1636 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\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 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\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 #include <wx/image.h>
1758 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
1759 char** cArray
= NULL
;
1762 if (!PyList_Check(listOfStrings
)) {
1763 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
1766 count
= PyList_Size(listOfStrings
);
1767 cArray
= new char*[count
];
1769 for(int x
=0; x
<count
; x
++) {
1770 // TODO: Need some validation and error checking here
1771 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
1777 static wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
1778 char** cArray
= NULL
;
1781 cArray
= ConvertListOfStrings(listOfStrings
);
1784 bmp
= new wxBitmap(cArray
);
1788 static wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
1791 PyString_AsStringAndSize(bits
, &buf
, &length
);
1792 return new wxBitmap(buf
, width
, height
, depth
);
1795 SWIGINTERNSHORT
long
1796 SWIG_As_long(PyObject
* obj
)
1799 if (!SWIG_AsVal_long(obj
, &v
)) {
1801 this is needed to make valgrind/purify happier.
1803 memset((void*)&v
, 0, sizeof(long));
1810 SWIG_Check_long(PyObject
* obj
)
1812 return SWIG_AsVal_long(obj
, (long*)0);
1815 static void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
1816 static wxSize
wxBitmap_GetSize(wxBitmap
*self
){
1817 wxSize
size(self
->GetWidth(), self
->GetHeight());
1820 static void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
1821 wxMask
*mask
= new wxMask(*self
, colour
);
1822 self
->SetMask(mask
);
1824 static void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
1825 self
->SetWidth(size
.x
);
1826 self
->SetHeight(size
.y
);
1828 static bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
1829 static bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
1830 static wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
1832 return new wxMask(bitmap
, *wxBLACK
);
1834 return new wxMask(bitmap
, colour
);
1837 #include <wx/iconbndl.h>
1839 static wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
1840 wxIcon
* icon
= new wxIcon();
1841 icon
->CopyFromBitmap(bmp
);
1844 static wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
1845 char** cArray
= NULL
;
1848 cArray
= ConvertListOfStrings(listOfStrings
);
1851 icon
= new wxIcon(cArray
);
1855 static void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
1856 static wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
1858 return new wxIconLocation(*filename
, num
);
1863 static void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
1865 self
->SetIndex(num
);
1870 static int wxIconLocation_GetIndex(wxIconLocation
*self
){
1872 return self
->GetIndex();
1877 static wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
1879 wxCHECK_MSG(false, NULL
,
1880 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
1882 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
1885 static void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
1888 static void wxRegionIterator_Next(wxRegionIterator
*self
){
1891 static bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
1892 return self
->operator bool();
1895 #include <wx/fontutil.h>
1896 #include <wx/fontmap.h>
1897 #include <wx/fontenum.h>
1899 static wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
1900 return self
->ToString();
1903 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
1904 { wxPyRaiseNotImplemented(); return NULL
; }
1906 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
1907 { wxPyRaiseNotImplemented(); return false; }
1909 static PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
1910 wxFontEncoding alt_enc
;
1911 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
1912 return PyInt_FromLong(alt_enc
);
1918 static wxFont
*new_wxFont(wxString
const &info
){
1919 wxNativeFontInfo nfi
;
1920 nfi
.FromString(info
);
1921 return new wxFont(nfi
);
1923 static wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
1924 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
1926 static wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
1927 return wxFontBase::New(pixelSize
, family
,
1928 style
, weight
, underlined
,
1931 static bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
1932 static bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
1934 class wxPyFontEnumerator
: public wxFontEnumerator
{
1936 wxPyFontEnumerator() {}
1937 ~wxPyFontEnumerator() {}
1939 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
1940 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
1945 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
1946 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
1949 static PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
1950 wxArrayString
* arr
= self
->GetEncodings();
1952 return wxArrayString2PyList_helper(*arr
);
1954 return PyList_New(0);
1956 static PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
1957 wxArrayString
* arr
= self
->GetFacenames();
1959 return wxArrayString2PyList_helper(*arr
);
1961 return PyList_New(0);
1966 static wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
1969 loc
= new wxLocale();
1971 loc
= new wxLocale(language
, flags
);
1972 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
1973 // for the floating point conversions and such to work right.
1974 #if PY_VERSION_HEX < 0x02040000
1975 setlocale(LC_NUMERIC
, "C");
1979 static bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
1980 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
1981 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
1982 // for the floating point conversions and such to work right.
1983 #if PY_VERSION_HEX < 0x02040000
1984 setlocale(LC_NUMERIC
, "C");
1988 static bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
1989 bool rc
= self
->Init(language
, flags
);
1990 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
1991 // for the floating point conversions and such to work right.
1992 #if PY_VERSION_HEX < 0x02040000
1993 setlocale(LC_NUMERIC
, "C");
1998 #include "wx/wxPython/pydrawxxx.h"
2000 static wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
2002 self
->GetPixel(x
, y
, &col
);
2005 static wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
2007 self
->GetPixel(pt
, &col
);
2012 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2014 if (PyNumber_Check(obj
)) {
2015 if (val
) *val
= PyFloat_AsDouble(obj
);
2019 SWIG_type_error("number", obj
);
2025 SWIGINTERNSHORT
double
2026 SWIG_As_double(PyObject
* obj
)
2029 if (!SWIG_AsVal_double(obj
, &v
)) {
2031 this is needed to make valgrind/purify happier.
2033 memset((void*)&v
, 0, sizeof(double));
2040 SWIG_Check_double(PyObject
* obj
)
2042 return SWIG_AsVal_double(obj
, (double*)0);
2045 static wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
2047 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
2051 static wxRect
wxDC_GetClippingRect(wxDC
*self
){
2053 self
->GetClippingBox(rect
);
2056 static wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
2058 self
->GetPartialTextExtents(text
, widths
);
2062 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2063 #define SWIG_From_double PyFloat_FromDouble
2067 static void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
2068 self
->SetLogicalOrigin(point
.x
, point
.y
);
2070 static void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
2071 self
->SetDeviceOrigin(point
.x
, point
.y
);
2073 static void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
2074 self
->CalcBoundingBox(point
.x
, point
.y
);
2076 static PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2077 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
2079 static PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2080 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
2082 static PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2083 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
2085 static PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2086 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
2088 static PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2089 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
2091 static PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
2092 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
2095 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
2103 #include <wx/dcbuffer.h>
2106 #include <wx/dcps.h>
2109 #include <wx/metafile.h>
2113 static void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
2114 self
->AddColour(name
, wxColour(red
, green
, blue
));
2117 #include <wx/effects.h>
2122 static PyObject
*_wrap_new_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2123 PyObject
*resultobj
;
2124 wxGDIObject
*result
;
2129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
2131 if (!wxPyCheckForApp()) SWIG_fail
;
2132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2133 result
= (wxGDIObject
*)new wxGDIObject();
2135 wxPyEndAllowThreads(__tstate
);
2136 if (PyErr_Occurred()) SWIG_fail
;
2138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
2145 static PyObject
*_wrap_delete_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2146 PyObject
*resultobj
;
2147 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2148 PyObject
* obj0
= 0 ;
2150 (char *) "self", NULL
2153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
2154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2155 if (SWIG_arg_fail(1)) SWIG_fail
;
2157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2160 wxPyEndAllowThreads(__tstate
);
2161 if (PyErr_Occurred()) SWIG_fail
;
2163 Py_INCREF(Py_None
); resultobj
= Py_None
;
2170 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2171 PyObject
*resultobj
;
2172 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2174 PyObject
* obj0
= 0 ;
2176 (char *) "self", NULL
2179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
2180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2181 if (SWIG_arg_fail(1)) SWIG_fail
;
2183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2184 result
= (bool)(arg1
)->GetVisible();
2186 wxPyEndAllowThreads(__tstate
);
2187 if (PyErr_Occurred()) SWIG_fail
;
2190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2198 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2199 PyObject
*resultobj
;
2200 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2202 PyObject
* obj0
= 0 ;
2203 PyObject
* obj1
= 0 ;
2205 (char *) "self",(char *) "visible", NULL
2208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
2209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2210 if (SWIG_arg_fail(1)) SWIG_fail
;
2212 arg2
= (bool)(SWIG_As_bool(obj1
));
2213 if (SWIG_arg_fail(2)) SWIG_fail
;
2216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2217 (arg1
)->SetVisible(arg2
);
2219 wxPyEndAllowThreads(__tstate
);
2220 if (PyErr_Occurred()) SWIG_fail
;
2222 Py_INCREF(Py_None
); resultobj
= Py_None
;
2229 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2230 PyObject
*resultobj
;
2231 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2233 PyObject
* obj0
= 0 ;
2235 (char *) "self", NULL
2238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
2239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2240 if (SWIG_arg_fail(1)) SWIG_fail
;
2242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2243 result
= (bool)(arg1
)->IsNull();
2245 wxPyEndAllowThreads(__tstate
);
2246 if (PyErr_Occurred()) SWIG_fail
;
2249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2257 static PyObject
* GDIObject_swigregister(PyObject
*, PyObject
*args
) {
2259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2260 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
2262 return Py_BuildValue((char *)"");
2264 static PyObject
*_wrap_new_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2265 PyObject
*resultobj
;
2266 byte arg1
= (byte
) 0 ;
2267 byte arg2
= (byte
) 0 ;
2268 byte arg3
= (byte
) 0 ;
2270 PyObject
* obj0
= 0 ;
2271 PyObject
* obj1
= 0 ;
2272 PyObject
* obj2
= 0 ;
2274 (char *) "red",(char *) "green",(char *) "blue", NULL
2277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2280 arg1
= (byte
)(SWIG_As_unsigned_SS_char(obj0
));
2281 if (SWIG_arg_fail(1)) SWIG_fail
;
2286 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
2287 if (SWIG_arg_fail(2)) SWIG_fail
;
2292 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
2293 if (SWIG_arg_fail(3)) SWIG_fail
;
2297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2298 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
2300 wxPyEndAllowThreads(__tstate
);
2301 if (PyErr_Occurred()) SWIG_fail
;
2303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2310 static PyObject
*_wrap_new_NamedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2311 PyObject
*resultobj
;
2312 wxString
*arg1
= 0 ;
2314 bool temp1
= false ;
2315 PyObject
* obj0
= 0 ;
2317 (char *) "colorName", NULL
2320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
2322 arg1
= wxString_in_helper(obj0
);
2323 if (arg1
== NULL
) SWIG_fail
;
2327 if (!wxPyCheckForApp()) SWIG_fail
;
2328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2329 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
2331 wxPyEndAllowThreads(__tstate
);
2332 if (PyErr_Occurred()) SWIG_fail
;
2334 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2349 static PyObject
*_wrap_new_ColourRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2350 PyObject
*resultobj
;
2351 unsigned long arg1
;
2353 PyObject
* obj0
= 0 ;
2355 (char *) "colRGB", NULL
2358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
2360 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
2361 if (SWIG_arg_fail(1)) SWIG_fail
;
2364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2365 result
= (wxColour
*)new wxColour(arg1
);
2367 wxPyEndAllowThreads(__tstate
);
2368 if (PyErr_Occurred()) SWIG_fail
;
2370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2377 static PyObject
*_wrap_delete_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2378 PyObject
*resultobj
;
2379 wxColour
*arg1
= (wxColour
*) 0 ;
2380 PyObject
* obj0
= 0 ;
2382 (char *) "self", NULL
2385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
2386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2387 if (SWIG_arg_fail(1)) SWIG_fail
;
2389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2392 wxPyEndAllowThreads(__tstate
);
2393 if (PyErr_Occurred()) SWIG_fail
;
2395 Py_INCREF(Py_None
); resultobj
= Py_None
;
2402 static PyObject
*_wrap_Colour_Red(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2403 PyObject
*resultobj
;
2404 wxColour
*arg1
= (wxColour
*) 0 ;
2406 PyObject
* obj0
= 0 ;
2408 (char *) "self", NULL
2411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
2412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2413 if (SWIG_arg_fail(1)) SWIG_fail
;
2415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2416 result
= (byte
)(arg1
)->Red();
2418 wxPyEndAllowThreads(__tstate
);
2419 if (PyErr_Occurred()) SWIG_fail
;
2422 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
2430 static PyObject
*_wrap_Colour_Green(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2431 PyObject
*resultobj
;
2432 wxColour
*arg1
= (wxColour
*) 0 ;
2434 PyObject
* obj0
= 0 ;
2436 (char *) "self", NULL
2439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
2440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2441 if (SWIG_arg_fail(1)) SWIG_fail
;
2443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2444 result
= (byte
)(arg1
)->Green();
2446 wxPyEndAllowThreads(__tstate
);
2447 if (PyErr_Occurred()) SWIG_fail
;
2450 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
2458 static PyObject
*_wrap_Colour_Blue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2459 PyObject
*resultobj
;
2460 wxColour
*arg1
= (wxColour
*) 0 ;
2462 PyObject
* obj0
= 0 ;
2464 (char *) "self", NULL
2467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
2468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2469 if (SWIG_arg_fail(1)) SWIG_fail
;
2471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2472 result
= (byte
)(arg1
)->Blue();
2474 wxPyEndAllowThreads(__tstate
);
2475 if (PyErr_Occurred()) SWIG_fail
;
2478 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
2486 static PyObject
*_wrap_Colour_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2487 PyObject
*resultobj
;
2488 wxColour
*arg1
= (wxColour
*) 0 ;
2490 PyObject
* obj0
= 0 ;
2492 (char *) "self", NULL
2495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
2496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2497 if (SWIG_arg_fail(1)) SWIG_fail
;
2499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2500 result
= (bool)(arg1
)->Ok();
2502 wxPyEndAllowThreads(__tstate
);
2503 if (PyErr_Occurred()) SWIG_fail
;
2506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2514 static PyObject
*_wrap_Colour_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2515 PyObject
*resultobj
;
2516 wxColour
*arg1
= (wxColour
*) 0 ;
2520 PyObject
* obj0
= 0 ;
2521 PyObject
* obj1
= 0 ;
2522 PyObject
* obj2
= 0 ;
2523 PyObject
* obj3
= 0 ;
2525 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
2528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2530 if (SWIG_arg_fail(1)) SWIG_fail
;
2532 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
2533 if (SWIG_arg_fail(2)) SWIG_fail
;
2536 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
2537 if (SWIG_arg_fail(3)) SWIG_fail
;
2540 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
2541 if (SWIG_arg_fail(4)) SWIG_fail
;
2544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2545 (arg1
)->Set(arg2
,arg3
,arg4
);
2547 wxPyEndAllowThreads(__tstate
);
2548 if (PyErr_Occurred()) SWIG_fail
;
2550 Py_INCREF(Py_None
); resultobj
= Py_None
;
2557 static PyObject
*_wrap_Colour_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2558 PyObject
*resultobj
;
2559 wxColour
*arg1
= (wxColour
*) 0 ;
2560 unsigned long arg2
;
2561 PyObject
* obj0
= 0 ;
2562 PyObject
* obj1
= 0 ;
2564 (char *) "self",(char *) "colRGB", NULL
2567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
2568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2569 if (SWIG_arg_fail(1)) SWIG_fail
;
2571 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
2572 if (SWIG_arg_fail(2)) SWIG_fail
;
2575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2578 wxPyEndAllowThreads(__tstate
);
2579 if (PyErr_Occurred()) SWIG_fail
;
2581 Py_INCREF(Py_None
); resultobj
= Py_None
;
2588 static PyObject
*_wrap_Colour_SetFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2589 PyObject
*resultobj
;
2590 wxColour
*arg1
= (wxColour
*) 0 ;
2591 wxString
*arg2
= 0 ;
2592 bool temp2
= false ;
2593 PyObject
* obj0
= 0 ;
2594 PyObject
* obj1
= 0 ;
2596 (char *) "self",(char *) "colourName", NULL
2599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
2600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2601 if (SWIG_arg_fail(1)) SWIG_fail
;
2603 arg2
= wxString_in_helper(obj1
);
2604 if (arg2
== NULL
) SWIG_fail
;
2608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2609 (arg1
)->InitFromName((wxString
const &)*arg2
);
2611 wxPyEndAllowThreads(__tstate
);
2612 if (PyErr_Occurred()) SWIG_fail
;
2614 Py_INCREF(Py_None
); resultobj
= Py_None
;
2629 static PyObject
*_wrap_Colour_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2630 PyObject
*resultobj
;
2631 wxColour
*arg1
= (wxColour
*) 0 ;
2633 PyObject
* obj0
= 0 ;
2635 (char *) "self", NULL
2638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
2639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2640 if (SWIG_arg_fail(1)) SWIG_fail
;
2642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2643 result
= (long)((wxColour
const *)arg1
)->GetPixel();
2645 wxPyEndAllowThreads(__tstate
);
2646 if (PyErr_Occurred()) SWIG_fail
;
2649 resultobj
= SWIG_From_long((long)(result
));
2657 static PyObject
*_wrap_Colour___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2658 PyObject
*resultobj
;
2659 wxColour
*arg1
= (wxColour
*) 0 ;
2660 wxColour
*arg2
= 0 ;
2663 PyObject
* obj0
= 0 ;
2664 PyObject
* obj1
= 0 ;
2666 (char *) "self",(char *) "colour", NULL
2669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2671 if (SWIG_arg_fail(1)) SWIG_fail
;
2674 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2678 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
2680 wxPyEndAllowThreads(__tstate
);
2681 if (PyErr_Occurred()) SWIG_fail
;
2684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2692 static PyObject
*_wrap_Colour___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2693 PyObject
*resultobj
;
2694 wxColour
*arg1
= (wxColour
*) 0 ;
2695 wxColour
*arg2
= 0 ;
2698 PyObject
* obj0
= 0 ;
2699 PyObject
* obj1
= 0 ;
2701 (char *) "self",(char *) "colour", NULL
2704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2706 if (SWIG_arg_fail(1)) SWIG_fail
;
2709 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2713 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
2715 wxPyEndAllowThreads(__tstate
);
2716 if (PyErr_Occurred()) SWIG_fail
;
2719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2727 static PyObject
*_wrap_Colour_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2728 PyObject
*resultobj
;
2729 wxColour
*arg1
= (wxColour
*) 0 ;
2731 PyObject
* obj0
= 0 ;
2733 (char *) "self", NULL
2736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
2737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2738 if (SWIG_arg_fail(1)) SWIG_fail
;
2740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2741 result
= (PyObject
*)wxColour_Get(arg1
);
2743 wxPyEndAllowThreads(__tstate
);
2744 if (PyErr_Occurred()) SWIG_fail
;
2753 static PyObject
*_wrap_Colour_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2754 PyObject
*resultobj
;
2755 wxColour
*arg1
= (wxColour
*) 0 ;
2756 unsigned long result
;
2757 PyObject
* obj0
= 0 ;
2759 (char *) "self", NULL
2762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
2763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2764 if (SWIG_arg_fail(1)) SWIG_fail
;
2766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2767 result
= (unsigned long)wxColour_GetRGB(arg1
);
2769 wxPyEndAllowThreads(__tstate
);
2770 if (PyErr_Occurred()) SWIG_fail
;
2773 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
2781 static PyObject
* Colour_swigregister(PyObject
*, PyObject
*args
) {
2783 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2784 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
2786 return Py_BuildValue((char *)"");
2788 static PyObject
*_wrap_new_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2789 PyObject
*resultobj
;
2791 unsigned char *arg2
= (unsigned char *) 0 ;
2792 unsigned char *arg3
= (unsigned char *) 0 ;
2793 unsigned char *arg4
= (unsigned char *) 0 ;
2795 PyObject
* obj0
= 0 ;
2796 PyObject
* obj1
= 0 ;
2797 PyObject
* obj2
= 0 ;
2798 PyObject
* obj3
= 0 ;
2800 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
2803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2805 arg1
= (int)(SWIG_As_int(obj0
));
2806 if (SWIG_arg_fail(1)) SWIG_fail
;
2808 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
2809 if (SWIG_arg_fail(2)) SWIG_fail
;
2810 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
2811 if (SWIG_arg_fail(3)) SWIG_fail
;
2812 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
2813 if (SWIG_arg_fail(4)) SWIG_fail
;
2815 if (!wxPyCheckForApp()) SWIG_fail
;
2816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2817 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
2819 wxPyEndAllowThreads(__tstate
);
2820 if (PyErr_Occurred()) SWIG_fail
;
2822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
2829 static PyObject
*_wrap_delete_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2830 PyObject
*resultobj
;
2831 wxPalette
*arg1
= (wxPalette
*) 0 ;
2832 PyObject
* obj0
= 0 ;
2834 (char *) "self", NULL
2837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
2838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
2839 if (SWIG_arg_fail(1)) SWIG_fail
;
2841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2844 wxPyEndAllowThreads(__tstate
);
2845 if (PyErr_Occurred()) SWIG_fail
;
2847 Py_INCREF(Py_None
); resultobj
= Py_None
;
2854 static PyObject
*_wrap_Palette_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2855 PyObject
*resultobj
;
2856 wxPalette
*arg1
= (wxPalette
*) 0 ;
2861 PyObject
* obj0
= 0 ;
2862 PyObject
* obj1
= 0 ;
2863 PyObject
* obj2
= 0 ;
2864 PyObject
* obj3
= 0 ;
2866 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
2869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
2871 if (SWIG_arg_fail(1)) SWIG_fail
;
2873 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
2874 if (SWIG_arg_fail(2)) SWIG_fail
;
2877 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
2878 if (SWIG_arg_fail(3)) SWIG_fail
;
2881 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
2882 if (SWIG_arg_fail(4)) SWIG_fail
;
2885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2886 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
2888 wxPyEndAllowThreads(__tstate
);
2889 if (PyErr_Occurred()) SWIG_fail
;
2892 resultobj
= SWIG_From_int((int)(result
));
2900 static PyObject
*_wrap_Palette_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2901 PyObject
*resultobj
;
2902 wxPalette
*arg1
= (wxPalette
*) 0 ;
2904 byte
*arg3
= (byte
*) 0 ;
2905 byte
*arg4
= (byte
*) 0 ;
2906 byte
*arg5
= (byte
*) 0 ;
2914 PyObject
* obj0
= 0 ;
2915 PyObject
* obj1
= 0 ;
2917 (char *) "self",(char *) "pixel", NULL
2920 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2921 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2922 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
2924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
2925 if (SWIG_arg_fail(1)) SWIG_fail
;
2927 arg2
= (int)(SWIG_As_int(obj1
));
2928 if (SWIG_arg_fail(2)) SWIG_fail
;
2931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2932 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
2934 wxPyEndAllowThreads(__tstate
);
2935 if (PyErr_Occurred()) SWIG_fail
;
2938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2940 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2941 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
2942 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2943 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
2944 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2945 SWIG_From_unsigned_SS_char((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, 0)));
2952 static PyObject
*_wrap_Palette_GetColoursCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2953 PyObject
*resultobj
;
2954 wxPalette
*arg1
= (wxPalette
*) 0 ;
2956 PyObject
* obj0
= 0 ;
2958 (char *) "self", NULL
2961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_GetColoursCount",kwnames
,&obj0
)) goto fail
;
2962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
2963 if (SWIG_arg_fail(1)) SWIG_fail
;
2965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2966 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
2968 wxPyEndAllowThreads(__tstate
);
2969 if (PyErr_Occurred()) SWIG_fail
;
2972 resultobj
= SWIG_From_int((int)(result
));
2980 static PyObject
*_wrap_Palette_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2981 PyObject
*resultobj
;
2982 wxPalette
*arg1
= (wxPalette
*) 0 ;
2984 PyObject
* obj0
= 0 ;
2986 (char *) "self", NULL
2989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
2990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
2991 if (SWIG_arg_fail(1)) SWIG_fail
;
2993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2994 result
= (bool)(arg1
)->Ok();
2996 wxPyEndAllowThreads(__tstate
);
2997 if (PyErr_Occurred()) SWIG_fail
;
3000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3008 static PyObject
* Palette_swigregister(PyObject
*, PyObject
*args
) {
3010 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3011 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
3013 return Py_BuildValue((char *)"");
3015 static PyObject
*_wrap_new_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3016 PyObject
*resultobj
;
3017 wxColour
*arg1
= 0 ;
3018 int arg2
= (int) 1 ;
3019 int arg3
= (int) wxSOLID
;
3022 PyObject
* obj0
= 0 ;
3023 PyObject
* obj1
= 0 ;
3024 PyObject
* obj2
= 0 ;
3026 (char *) "colour",(char *) "width",(char *) "style", NULL
3029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3032 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
3036 arg2
= (int)(SWIG_As_int(obj1
));
3037 if (SWIG_arg_fail(2)) SWIG_fail
;
3042 arg3
= (int)(SWIG_As_int(obj2
));
3043 if (SWIG_arg_fail(3)) SWIG_fail
;
3047 if (!wxPyCheckForApp()) SWIG_fail
;
3048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3049 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
3051 wxPyEndAllowThreads(__tstate
);
3052 if (PyErr_Occurred()) SWIG_fail
;
3054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
3061 static PyObject
*_wrap_delete_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3062 PyObject
*resultobj
;
3063 wxPen
*arg1
= (wxPen
*) 0 ;
3064 PyObject
* obj0
= 0 ;
3066 (char *) "self", NULL
3069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
3070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3071 if (SWIG_arg_fail(1)) SWIG_fail
;
3073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3076 wxPyEndAllowThreads(__tstate
);
3077 if (PyErr_Occurred()) SWIG_fail
;
3079 Py_INCREF(Py_None
); resultobj
= Py_None
;
3086 static PyObject
*_wrap_Pen_GetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3087 PyObject
*resultobj
;
3088 wxPen
*arg1
= (wxPen
*) 0 ;
3090 PyObject
* obj0
= 0 ;
3092 (char *) "self", NULL
3095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
3096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3097 if (SWIG_arg_fail(1)) SWIG_fail
;
3099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3100 result
= (int)(arg1
)->GetCap();
3102 wxPyEndAllowThreads(__tstate
);
3103 if (PyErr_Occurred()) SWIG_fail
;
3106 resultobj
= SWIG_From_int((int)(result
));
3114 static PyObject
*_wrap_Pen_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3115 PyObject
*resultobj
;
3116 wxPen
*arg1
= (wxPen
*) 0 ;
3118 PyObject
* obj0
= 0 ;
3120 (char *) "self", NULL
3123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
3124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3125 if (SWIG_arg_fail(1)) SWIG_fail
;
3127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3128 result
= (arg1
)->GetColour();
3130 wxPyEndAllowThreads(__tstate
);
3131 if (PyErr_Occurred()) SWIG_fail
;
3134 wxColour
* resultptr
;
3135 resultptr
= new wxColour((wxColour
&)(result
));
3136 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3144 static PyObject
*_wrap_Pen_GetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3145 PyObject
*resultobj
;
3146 wxPen
*arg1
= (wxPen
*) 0 ;
3148 PyObject
* obj0
= 0 ;
3150 (char *) "self", NULL
3153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
3154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3155 if (SWIG_arg_fail(1)) SWIG_fail
;
3157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3158 result
= (int)(arg1
)->GetJoin();
3160 wxPyEndAllowThreads(__tstate
);
3161 if (PyErr_Occurred()) SWIG_fail
;
3164 resultobj
= SWIG_From_int((int)(result
));
3172 static PyObject
*_wrap_Pen_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3173 PyObject
*resultobj
;
3174 wxPen
*arg1
= (wxPen
*) 0 ;
3176 PyObject
* obj0
= 0 ;
3178 (char *) "self", NULL
3181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
3182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3183 if (SWIG_arg_fail(1)) SWIG_fail
;
3185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3186 result
= (int)(arg1
)->GetStyle();
3188 wxPyEndAllowThreads(__tstate
);
3189 if (PyErr_Occurred()) SWIG_fail
;
3192 resultobj
= SWIG_From_int((int)(result
));
3200 static PyObject
*_wrap_Pen_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3201 PyObject
*resultobj
;
3202 wxPen
*arg1
= (wxPen
*) 0 ;
3204 PyObject
* obj0
= 0 ;
3206 (char *) "self", NULL
3209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
3210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3211 if (SWIG_arg_fail(1)) SWIG_fail
;
3213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3214 result
= (int)(arg1
)->GetWidth();
3216 wxPyEndAllowThreads(__tstate
);
3217 if (PyErr_Occurred()) SWIG_fail
;
3220 resultobj
= SWIG_From_int((int)(result
));
3228 static PyObject
*_wrap_Pen_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3229 PyObject
*resultobj
;
3230 wxPen
*arg1
= (wxPen
*) 0 ;
3232 PyObject
* obj0
= 0 ;
3234 (char *) "self", NULL
3237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
3238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3239 if (SWIG_arg_fail(1)) SWIG_fail
;
3241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3242 result
= (bool)(arg1
)->Ok();
3244 wxPyEndAllowThreads(__tstate
);
3245 if (PyErr_Occurred()) SWIG_fail
;
3248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3256 static PyObject
*_wrap_Pen_SetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3257 PyObject
*resultobj
;
3258 wxPen
*arg1
= (wxPen
*) 0 ;
3260 PyObject
* obj0
= 0 ;
3261 PyObject
* obj1
= 0 ;
3263 (char *) "self",(char *) "cap_style", NULL
3266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
3267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3268 if (SWIG_arg_fail(1)) SWIG_fail
;
3270 arg2
= (int)(SWIG_As_int(obj1
));
3271 if (SWIG_arg_fail(2)) SWIG_fail
;
3274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3275 (arg1
)->SetCap(arg2
);
3277 wxPyEndAllowThreads(__tstate
);
3278 if (PyErr_Occurred()) SWIG_fail
;
3280 Py_INCREF(Py_None
); resultobj
= Py_None
;
3287 static PyObject
*_wrap_Pen_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3288 PyObject
*resultobj
;
3289 wxPen
*arg1
= (wxPen
*) 0 ;
3290 wxColour
*arg2
= 0 ;
3292 PyObject
* obj0
= 0 ;
3293 PyObject
* obj1
= 0 ;
3295 (char *) "self",(char *) "colour", NULL
3298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3300 if (SWIG_arg_fail(1)) SWIG_fail
;
3303 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3307 (arg1
)->SetColour(*arg2
);
3309 wxPyEndAllowThreads(__tstate
);
3310 if (PyErr_Occurred()) SWIG_fail
;
3312 Py_INCREF(Py_None
); resultobj
= Py_None
;
3319 static PyObject
*_wrap_Pen_SetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3320 PyObject
*resultobj
;
3321 wxPen
*arg1
= (wxPen
*) 0 ;
3323 PyObject
* obj0
= 0 ;
3324 PyObject
* obj1
= 0 ;
3326 (char *) "self",(char *) "join_style", NULL
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
3330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3331 if (SWIG_arg_fail(1)) SWIG_fail
;
3333 arg2
= (int)(SWIG_As_int(obj1
));
3334 if (SWIG_arg_fail(2)) SWIG_fail
;
3337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3338 (arg1
)->SetJoin(arg2
);
3340 wxPyEndAllowThreads(__tstate
);
3341 if (PyErr_Occurred()) SWIG_fail
;
3343 Py_INCREF(Py_None
); resultobj
= Py_None
;
3350 static PyObject
*_wrap_Pen_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3351 PyObject
*resultobj
;
3352 wxPen
*arg1
= (wxPen
*) 0 ;
3354 PyObject
* obj0
= 0 ;
3355 PyObject
* obj1
= 0 ;
3357 (char *) "self",(char *) "style", NULL
3360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
3361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3362 if (SWIG_arg_fail(1)) SWIG_fail
;
3364 arg2
= (int)(SWIG_As_int(obj1
));
3365 if (SWIG_arg_fail(2)) SWIG_fail
;
3368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3369 (arg1
)->SetStyle(arg2
);
3371 wxPyEndAllowThreads(__tstate
);
3372 if (PyErr_Occurred()) SWIG_fail
;
3374 Py_INCREF(Py_None
); resultobj
= Py_None
;
3381 static PyObject
*_wrap_Pen_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3382 PyObject
*resultobj
;
3383 wxPen
*arg1
= (wxPen
*) 0 ;
3385 PyObject
* obj0
= 0 ;
3386 PyObject
* obj1
= 0 ;
3388 (char *) "self",(char *) "width", NULL
3391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3393 if (SWIG_arg_fail(1)) SWIG_fail
;
3395 arg2
= (int)(SWIG_As_int(obj1
));
3396 if (SWIG_arg_fail(2)) SWIG_fail
;
3399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3400 (arg1
)->SetWidth(arg2
);
3402 wxPyEndAllowThreads(__tstate
);
3403 if (PyErr_Occurred()) SWIG_fail
;
3405 Py_INCREF(Py_None
); resultobj
= Py_None
;
3412 static PyObject
*_wrap_Pen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3413 PyObject
*resultobj
;
3414 wxPen
*arg1
= (wxPen
*) 0 ;
3416 wxDash
*arg3
= (wxDash
*) 0 ;
3417 PyObject
* obj0
= 0 ;
3418 PyObject
* obj1
= 0 ;
3420 (char *) "self",(char *) "dashes", NULL
3423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
3424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3425 if (SWIG_arg_fail(1)) SWIG_fail
;
3427 arg2
= PyList_Size(obj1
);
3428 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
3429 if (arg3
== NULL
) SWIG_fail
;
3432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3433 (arg1
)->SetDashes(arg2
,arg3
);
3435 wxPyEndAllowThreads(__tstate
);
3436 if (PyErr_Occurred()) SWIG_fail
;
3438 Py_INCREF(Py_None
); resultobj
= Py_None
;
3440 if (arg3
) delete [] arg3
;
3445 if (arg3
) delete [] arg3
;
3451 static PyObject
*_wrap_Pen_GetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
*resultobj
;
3453 wxPen
*arg1
= (wxPen
*) 0 ;
3455 PyObject
* obj0
= 0 ;
3457 (char *) "self", NULL
3460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
3461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3462 if (SWIG_arg_fail(1)) SWIG_fail
;
3464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3465 result
= (PyObject
*)wxPen_GetDashes(arg1
);
3467 wxPyEndAllowThreads(__tstate
);
3468 if (PyErr_Occurred()) SWIG_fail
;
3477 static PyObject
*_wrap_Pen__SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
*resultobj
;
3479 wxPen
*arg1
= (wxPen
*) 0 ;
3480 PyObject
*arg2
= (PyObject
*) 0 ;
3481 PyObject
*arg3
= (PyObject
*) 0 ;
3482 PyObject
* obj0
= 0 ;
3483 PyObject
* obj1
= 0 ;
3484 PyObject
* obj2
= 0 ;
3486 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
3489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3491 if (SWIG_arg_fail(1)) SWIG_fail
;
3495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3496 wxPen__SetDashes(arg1
,arg2
,arg3
);
3498 wxPyEndAllowThreads(__tstate
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3501 Py_INCREF(Py_None
); resultobj
= Py_None
;
3508 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3509 PyObject
*resultobj
;
3510 wxPen
*arg1
= (wxPen
*) 0 ;
3512 PyObject
* obj0
= 0 ;
3514 (char *) "self", NULL
3517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
3518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3519 if (SWIG_arg_fail(1)) SWIG_fail
;
3521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3522 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
3524 wxPyEndAllowThreads(__tstate
);
3525 if (PyErr_Occurred()) SWIG_fail
;
3528 resultobj
= SWIG_From_int((int)(result
));
3536 static PyObject
*_wrap_Pen_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3537 PyObject
*resultobj
;
3538 wxPen
*arg1
= (wxPen
*) 0 ;
3540 PyObject
* obj0
= 0 ;
3542 (char *) "self", NULL
3545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStipple",kwnames
,&obj0
)) goto fail
;
3546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3547 if (SWIG_arg_fail(1)) SWIG_fail
;
3549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3550 result
= (wxBitmap
*)(arg1
)->GetStipple();
3552 wxPyEndAllowThreads(__tstate
);
3553 if (PyErr_Occurred()) SWIG_fail
;
3555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
3562 static PyObject
*_wrap_Pen_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3563 PyObject
*resultobj
;
3564 wxPen
*arg1
= (wxPen
*) 0 ;
3565 wxBitmap
*arg2
= 0 ;
3566 PyObject
* obj0
= 0 ;
3567 PyObject
* obj1
= 0 ;
3569 (char *) "self",(char *) "stipple", NULL
3572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
3573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3574 if (SWIG_arg_fail(1)) SWIG_fail
;
3576 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3577 if (SWIG_arg_fail(2)) SWIG_fail
;
3579 SWIG_null_ref("wxBitmap");
3581 if (SWIG_arg_fail(2)) SWIG_fail
;
3584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3585 (arg1
)->SetStipple(*arg2
);
3587 wxPyEndAllowThreads(__tstate
);
3588 if (PyErr_Occurred()) SWIG_fail
;
3590 Py_INCREF(Py_None
); resultobj
= Py_None
;
3597 static PyObject
*_wrap_Pen___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3598 PyObject
*resultobj
;
3599 wxPen
*arg1
= (wxPen
*) 0 ;
3600 wxPen
*arg2
= (wxPen
*) 0 ;
3602 PyObject
* obj0
= 0 ;
3603 PyObject
* obj1
= 0 ;
3605 (char *) "self",(char *) "other", NULL
3608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3610 if (SWIG_arg_fail(1)) SWIG_fail
;
3611 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3612 if (SWIG_arg_fail(2)) SWIG_fail
;
3614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3615 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
3617 wxPyEndAllowThreads(__tstate
);
3618 if (PyErr_Occurred()) SWIG_fail
;
3621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3629 static PyObject
*_wrap_Pen___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3630 PyObject
*resultobj
;
3631 wxPen
*arg1
= (wxPen
*) 0 ;
3632 wxPen
*arg2
= (wxPen
*) 0 ;
3634 PyObject
* obj0
= 0 ;
3635 PyObject
* obj1
= 0 ;
3637 (char *) "self",(char *) "other", NULL
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3642 if (SWIG_arg_fail(1)) SWIG_fail
;
3643 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3644 if (SWIG_arg_fail(2)) SWIG_fail
;
3646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3647 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
3649 wxPyEndAllowThreads(__tstate
);
3650 if (PyErr_Occurred()) SWIG_fail
;
3653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3661 static PyObject
* Pen_swigregister(PyObject
*, PyObject
*args
) {
3663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3664 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
3666 return Py_BuildValue((char *)"");
3668 static PyObject
*_wrap_new_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3669 PyObject
*resultobj
;
3670 wxColour
*arg1
= 0 ;
3671 int arg2
= (int) wxSOLID
;
3674 PyObject
* obj0
= 0 ;
3675 PyObject
* obj1
= 0 ;
3677 (char *) "colour",(char *) "style", NULL
3680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
3683 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
3687 arg2
= (int)(SWIG_As_int(obj1
));
3688 if (SWIG_arg_fail(2)) SWIG_fail
;
3692 if (!wxPyCheckForApp()) SWIG_fail
;
3693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3694 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
3706 static PyObject
*_wrap_delete_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3707 PyObject
*resultobj
;
3708 wxBrush
*arg1
= (wxBrush
*) 0 ;
3709 PyObject
* obj0
= 0 ;
3711 (char *) "self", NULL
3714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
3715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3716 if (SWIG_arg_fail(1)) SWIG_fail
;
3718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3721 wxPyEndAllowThreads(__tstate
);
3722 if (PyErr_Occurred()) SWIG_fail
;
3724 Py_INCREF(Py_None
); resultobj
= Py_None
;
3731 static PyObject
*_wrap_Brush_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3732 PyObject
*resultobj
;
3733 wxBrush
*arg1
= (wxBrush
*) 0 ;
3734 wxColour
*arg2
= 0 ;
3736 PyObject
* obj0
= 0 ;
3737 PyObject
* obj1
= 0 ;
3739 (char *) "self",(char *) "col", NULL
3742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3744 if (SWIG_arg_fail(1)) SWIG_fail
;
3747 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3751 (arg1
)->SetColour((wxColour
const &)*arg2
);
3753 wxPyEndAllowThreads(__tstate
);
3754 if (PyErr_Occurred()) SWIG_fail
;
3756 Py_INCREF(Py_None
); resultobj
= Py_None
;
3763 static PyObject
*_wrap_Brush_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3764 PyObject
*resultobj
;
3765 wxBrush
*arg1
= (wxBrush
*) 0 ;
3767 PyObject
* obj0
= 0 ;
3768 PyObject
* obj1
= 0 ;
3770 (char *) "self",(char *) "style", NULL
3773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
3774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3775 if (SWIG_arg_fail(1)) SWIG_fail
;
3777 arg2
= (int)(SWIG_As_int(obj1
));
3778 if (SWIG_arg_fail(2)) SWIG_fail
;
3781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3782 (arg1
)->SetStyle(arg2
);
3784 wxPyEndAllowThreads(__tstate
);
3785 if (PyErr_Occurred()) SWIG_fail
;
3787 Py_INCREF(Py_None
); resultobj
= Py_None
;
3794 static PyObject
*_wrap_Brush_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3795 PyObject
*resultobj
;
3796 wxBrush
*arg1
= (wxBrush
*) 0 ;
3797 wxBitmap
*arg2
= 0 ;
3798 PyObject
* obj0
= 0 ;
3799 PyObject
* obj1
= 0 ;
3801 (char *) "self",(char *) "stipple", NULL
3804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
3805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3806 if (SWIG_arg_fail(1)) SWIG_fail
;
3808 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3809 if (SWIG_arg_fail(2)) SWIG_fail
;
3811 SWIG_null_ref("wxBitmap");
3813 if (SWIG_arg_fail(2)) SWIG_fail
;
3816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3817 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
3819 wxPyEndAllowThreads(__tstate
);
3820 if (PyErr_Occurred()) SWIG_fail
;
3822 Py_INCREF(Py_None
); resultobj
= Py_None
;
3829 static PyObject
*_wrap_Brush_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3830 PyObject
*resultobj
;
3831 wxBrush
*arg1
= (wxBrush
*) 0 ;
3833 PyObject
* obj0
= 0 ;
3835 (char *) "self", NULL
3838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
3839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3840 if (SWIG_arg_fail(1)) SWIG_fail
;
3842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3843 result
= ((wxBrush
const *)arg1
)->GetColour();
3845 wxPyEndAllowThreads(__tstate
);
3846 if (PyErr_Occurred()) SWIG_fail
;
3849 wxColour
* resultptr
;
3850 resultptr
= new wxColour((wxColour
&)(result
));
3851 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3859 static PyObject
*_wrap_Brush_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
*resultobj
;
3861 wxBrush
*arg1
= (wxBrush
*) 0 ;
3863 PyObject
* obj0
= 0 ;
3865 (char *) "self", NULL
3868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
3869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3870 if (SWIG_arg_fail(1)) SWIG_fail
;
3872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3873 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
3875 wxPyEndAllowThreads(__tstate
);
3876 if (PyErr_Occurred()) SWIG_fail
;
3879 resultobj
= SWIG_From_int((int)(result
));
3887 static PyObject
*_wrap_Brush_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3888 PyObject
*resultobj
;
3889 wxBrush
*arg1
= (wxBrush
*) 0 ;
3891 PyObject
* obj0
= 0 ;
3893 (char *) "self", NULL
3896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
3897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3898 if (SWIG_arg_fail(1)) SWIG_fail
;
3900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3901 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
3903 wxPyEndAllowThreads(__tstate
);
3904 if (PyErr_Occurred()) SWIG_fail
;
3906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
3913 static PyObject
*_wrap_Brush_IsHatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3914 PyObject
*resultobj
;
3915 wxBrush
*arg1
= (wxBrush
*) 0 ;
3917 PyObject
* obj0
= 0 ;
3919 (char *) "self", NULL
3922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_IsHatch",kwnames
,&obj0
)) goto fail
;
3923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3924 if (SWIG_arg_fail(1)) SWIG_fail
;
3926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3927 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
3929 wxPyEndAllowThreads(__tstate
);
3930 if (PyErr_Occurred()) SWIG_fail
;
3933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3941 static PyObject
*_wrap_Brush_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3942 PyObject
*resultobj
;
3943 wxBrush
*arg1
= (wxBrush
*) 0 ;
3945 PyObject
* obj0
= 0 ;
3947 (char *) "self", NULL
3950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
3951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3952 if (SWIG_arg_fail(1)) SWIG_fail
;
3954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3955 result
= (bool)(arg1
)->Ok();
3957 wxPyEndAllowThreads(__tstate
);
3958 if (PyErr_Occurred()) SWIG_fail
;
3961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3969 static PyObject
* Brush_swigregister(PyObject
*, PyObject
*args
) {
3971 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3972 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
3974 return Py_BuildValue((char *)"");
3976 static PyObject
*_wrap_new_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3977 PyObject
*resultobj
;
3978 wxString
*arg1
= 0 ;
3979 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
3981 bool temp1
= false ;
3982 PyObject
* obj0
= 0 ;
3983 PyObject
* obj1
= 0 ;
3985 (char *) "name",(char *) "type", NULL
3988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3990 arg1
= wxString_in_helper(obj0
);
3991 if (arg1
== NULL
) SWIG_fail
;
3996 arg2
= (wxBitmapType
)(SWIG_As_int(obj1
));
3997 if (SWIG_arg_fail(2)) SWIG_fail
;
4001 if (!wxPyCheckForApp()) SWIG_fail
;
4002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4003 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
4005 wxPyEndAllowThreads(__tstate
);
4006 if (PyErr_Occurred()) SWIG_fail
;
4008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4023 static PyObject
*_wrap_delete_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4024 PyObject
*resultobj
;
4025 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4026 PyObject
* obj0
= 0 ;
4028 (char *) "self", NULL
4031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
4032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4033 if (SWIG_arg_fail(1)) SWIG_fail
;
4035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4038 wxPyEndAllowThreads(__tstate
);
4039 if (PyErr_Occurred()) SWIG_fail
;
4041 Py_INCREF(Py_None
); resultobj
= Py_None
;
4048 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4049 PyObject
*resultobj
;
4052 int arg3
= (int) -1 ;
4054 PyObject
* obj0
= 0 ;
4055 PyObject
* obj1
= 0 ;
4056 PyObject
* obj2
= 0 ;
4058 (char *) "width",(char *) "height",(char *) "depth", NULL
4061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4063 arg1
= (int)(SWIG_As_int(obj0
));
4064 if (SWIG_arg_fail(1)) SWIG_fail
;
4067 arg2
= (int)(SWIG_As_int(obj1
));
4068 if (SWIG_arg_fail(2)) SWIG_fail
;
4072 arg3
= (int)(SWIG_As_int(obj2
));
4073 if (SWIG_arg_fail(3)) SWIG_fail
;
4077 if (!wxPyCheckForApp()) SWIG_fail
;
4078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4079 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
4081 wxPyEndAllowThreads(__tstate
);
4082 if (PyErr_Occurred()) SWIG_fail
;
4084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4091 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4092 PyObject
*resultobj
;
4095 PyObject
* obj0
= 0 ;
4097 (char *) "icon", NULL
4100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
4102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4103 if (SWIG_arg_fail(1)) SWIG_fail
;
4105 SWIG_null_ref("wxIcon");
4107 if (SWIG_arg_fail(1)) SWIG_fail
;
4110 if (!wxPyCheckForApp()) SWIG_fail
;
4111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4112 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
4114 wxPyEndAllowThreads(__tstate
);
4115 if (PyErr_Occurred()) SWIG_fail
;
4117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4124 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
*resultobj
;
4127 int arg2
= (int) -1 ;
4129 PyObject
* obj0
= 0 ;
4130 PyObject
* obj1
= 0 ;
4132 (char *) "image",(char *) "depth", NULL
4135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
4137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
4138 if (SWIG_arg_fail(1)) SWIG_fail
;
4140 SWIG_null_ref("wxImage");
4142 if (SWIG_arg_fail(1)) SWIG_fail
;
4146 arg2
= (int)(SWIG_As_int(obj1
));
4147 if (SWIG_arg_fail(2)) SWIG_fail
;
4151 if (!wxPyCheckForApp()) SWIG_fail
;
4152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4153 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
4155 wxPyEndAllowThreads(__tstate
);
4156 if (PyErr_Occurred()) SWIG_fail
;
4158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4165 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4166 PyObject
*resultobj
;
4167 PyObject
*arg1
= (PyObject
*) 0 ;
4169 PyObject
* obj0
= 0 ;
4171 (char *) "listOfStrings", NULL
4174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
4177 if (!wxPyCheckForApp()) SWIG_fail
;
4178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4179 result
= (wxBitmap
*)new_wxBitmap(arg1
);
4181 wxPyEndAllowThreads(__tstate
);
4182 if (PyErr_Occurred()) SWIG_fail
;
4184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4191 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4192 PyObject
*resultobj
;
4193 PyObject
*arg1
= (PyObject
*) 0 ;
4196 int arg4
= (int) 1 ;
4198 PyObject
* obj0
= 0 ;
4199 PyObject
* obj1
= 0 ;
4200 PyObject
* obj2
= 0 ;
4201 PyObject
* obj3
= 0 ;
4203 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
4206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4209 arg2
= (int)(SWIG_As_int(obj1
));
4210 if (SWIG_arg_fail(2)) SWIG_fail
;
4213 arg3
= (int)(SWIG_As_int(obj2
));
4214 if (SWIG_arg_fail(3)) SWIG_fail
;
4218 arg4
= (int)(SWIG_As_int(obj3
));
4219 if (SWIG_arg_fail(4)) SWIG_fail
;
4223 if (!wxPyCheckForApp()) SWIG_fail
;
4224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4225 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
4227 wxPyEndAllowThreads(__tstate
);
4228 if (PyErr_Occurred()) SWIG_fail
;
4230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4237 static PyObject
*_wrap_Bitmap_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
*resultobj
;
4239 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4241 PyObject
* obj0
= 0 ;
4243 (char *) "self", NULL
4246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHandle",kwnames
,&obj0
)) goto fail
;
4247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4248 if (SWIG_arg_fail(1)) SWIG_fail
;
4250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4251 result
= (long)(arg1
)->GetHandle();
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4257 resultobj
= SWIG_From_long((long)(result
));
4265 static PyObject
*_wrap_Bitmap_SetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4266 PyObject
*resultobj
;
4267 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4269 PyObject
* obj0
= 0 ;
4270 PyObject
* obj1
= 0 ;
4272 (char *) "self",(char *) "handle", NULL
4275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
4276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4277 if (SWIG_arg_fail(1)) SWIG_fail
;
4279 arg2
= (long)(SWIG_As_long(obj1
));
4280 if (SWIG_arg_fail(2)) SWIG_fail
;
4283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4284 wxBitmap_SetHandle(arg1
,arg2
);
4286 wxPyEndAllowThreads(__tstate
);
4287 if (PyErr_Occurred()) SWIG_fail
;
4289 Py_INCREF(Py_None
); resultobj
= Py_None
;
4296 static PyObject
*_wrap_Bitmap_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4297 PyObject
*resultobj
;
4298 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4300 PyObject
* obj0
= 0 ;
4302 (char *) "self", NULL
4305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
4306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4307 if (SWIG_arg_fail(1)) SWIG_fail
;
4309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4310 result
= (bool)(arg1
)->Ok();
4312 wxPyEndAllowThreads(__tstate
);
4313 if (PyErr_Occurred()) SWIG_fail
;
4316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4324 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4325 PyObject
*resultobj
;
4326 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4328 PyObject
* obj0
= 0 ;
4330 (char *) "self", NULL
4333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
4334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4335 if (SWIG_arg_fail(1)) SWIG_fail
;
4337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4338 result
= (int)(arg1
)->GetWidth();
4340 wxPyEndAllowThreads(__tstate
);
4341 if (PyErr_Occurred()) SWIG_fail
;
4344 resultobj
= SWIG_From_int((int)(result
));
4352 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4353 PyObject
*resultobj
;
4354 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4356 PyObject
* obj0
= 0 ;
4358 (char *) "self", NULL
4361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
4362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4363 if (SWIG_arg_fail(1)) SWIG_fail
;
4365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4366 result
= (int)(arg1
)->GetHeight();
4368 wxPyEndAllowThreads(__tstate
);
4369 if (PyErr_Occurred()) SWIG_fail
;
4372 resultobj
= SWIG_From_int((int)(result
));
4380 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4381 PyObject
*resultobj
;
4382 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4384 PyObject
* obj0
= 0 ;
4386 (char *) "self", NULL
4389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
4390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4391 if (SWIG_arg_fail(1)) SWIG_fail
;
4393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4394 result
= (int)(arg1
)->GetDepth();
4396 wxPyEndAllowThreads(__tstate
);
4397 if (PyErr_Occurred()) SWIG_fail
;
4400 resultobj
= SWIG_From_int((int)(result
));
4408 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4409 PyObject
*resultobj
;
4410 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4412 PyObject
* obj0
= 0 ;
4414 (char *) "self", NULL
4417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
4418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4419 if (SWIG_arg_fail(1)) SWIG_fail
;
4421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4422 result
= wxBitmap_GetSize(arg1
);
4424 wxPyEndAllowThreads(__tstate
);
4425 if (PyErr_Occurred()) SWIG_fail
;
4429 resultptr
= new wxSize((wxSize
&)(result
));
4430 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4438 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4439 PyObject
*resultobj
;
4440 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4441 SwigValueWrapper
<wxImage
> result
;
4442 PyObject
* obj0
= 0 ;
4444 (char *) "self", NULL
4447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
4448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4449 if (SWIG_arg_fail(1)) SWIG_fail
;
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4452 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4458 wxImage
* resultptr
;
4459 resultptr
= new wxImage((wxImage
&)(result
));
4460 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
4468 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4469 PyObject
*resultobj
;
4470 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4472 PyObject
* obj0
= 0 ;
4474 (char *) "self", NULL
4477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
4478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4479 if (SWIG_arg_fail(1)) SWIG_fail
;
4481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4482 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
4484 wxPyEndAllowThreads(__tstate
);
4485 if (PyErr_Occurred()) SWIG_fail
;
4487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
4494 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4495 PyObject
*resultobj
;
4496 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4497 wxMask
*arg2
= (wxMask
*) 0 ;
4498 PyObject
* obj0
= 0 ;
4499 PyObject
* obj1
= 0 ;
4501 (char *) "self",(char *) "mask", NULL
4504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
4505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4506 if (SWIG_arg_fail(1)) SWIG_fail
;
4507 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMask
, SWIG_POINTER_EXCEPTION
| 0);
4508 if (SWIG_arg_fail(2)) SWIG_fail
;
4510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4511 (arg1
)->SetMask(arg2
);
4513 wxPyEndAllowThreads(__tstate
);
4514 if (PyErr_Occurred()) SWIG_fail
;
4516 Py_INCREF(Py_None
); resultobj
= Py_None
;
4523 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4524 PyObject
*resultobj
;
4525 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4526 wxColour
*arg2
= 0 ;
4528 PyObject
* obj0
= 0 ;
4529 PyObject
* obj1
= 0 ;
4531 (char *) "self",(char *) "colour", NULL
4534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
4535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4536 if (SWIG_arg_fail(1)) SWIG_fail
;
4539 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4543 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
4545 wxPyEndAllowThreads(__tstate
);
4546 if (PyErr_Occurred()) SWIG_fail
;
4548 Py_INCREF(Py_None
); resultobj
= Py_None
;
4555 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4556 PyObject
*resultobj
;
4557 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4559 SwigValueWrapper
<wxBitmap
> result
;
4561 PyObject
* obj0
= 0 ;
4562 PyObject
* obj1
= 0 ;
4564 (char *) "self",(char *) "rect", NULL
4567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4569 if (SWIG_arg_fail(1)) SWIG_fail
;
4572 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4576 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
4578 wxPyEndAllowThreads(__tstate
);
4579 if (PyErr_Occurred()) SWIG_fail
;
4582 wxBitmap
* resultptr
;
4583 resultptr
= new wxBitmap((wxBitmap
&)(result
));
4584 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4592 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4593 PyObject
*resultobj
;
4594 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4595 wxString
*arg2
= 0 ;
4597 wxPalette
*arg4
= (wxPalette
*) NULL
;
4599 bool temp2
= false ;
4600 PyObject
* obj0
= 0 ;
4601 PyObject
* obj1
= 0 ;
4602 PyObject
* obj2
= 0 ;
4603 PyObject
* obj3
= 0 ;
4605 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
4608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4610 if (SWIG_arg_fail(1)) SWIG_fail
;
4612 arg2
= wxString_in_helper(obj1
);
4613 if (arg2
== NULL
) SWIG_fail
;
4617 arg3
= (wxBitmapType
)(SWIG_As_int(obj2
));
4618 if (SWIG_arg_fail(3)) SWIG_fail
;
4621 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
4622 if (SWIG_arg_fail(4)) SWIG_fail
;
4625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4626 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
4628 wxPyEndAllowThreads(__tstate
);
4629 if (PyErr_Occurred()) SWIG_fail
;
4632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4648 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
*resultobj
;
4650 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4651 wxString
*arg2
= 0 ;
4654 bool temp2
= false ;
4655 PyObject
* obj0
= 0 ;
4656 PyObject
* obj1
= 0 ;
4657 PyObject
* obj2
= 0 ;
4659 (char *) "self",(char *) "name",(char *) "type", NULL
4662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4664 if (SWIG_arg_fail(1)) SWIG_fail
;
4666 arg2
= wxString_in_helper(obj1
);
4667 if (arg2
== NULL
) SWIG_fail
;
4671 arg3
= (wxBitmapType
)(SWIG_As_int(obj2
));
4672 if (SWIG_arg_fail(3)) SWIG_fail
;
4675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4676 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
4678 wxPyEndAllowThreads(__tstate
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4698 static PyObject
*_wrap_Bitmap_GetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4699 PyObject
*resultobj
;
4700 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4702 PyObject
* obj0
= 0 ;
4704 (char *) "self", NULL
4707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetPalette",kwnames
,&obj0
)) goto fail
;
4708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4709 if (SWIG_arg_fail(1)) SWIG_fail
;
4711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4712 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
4714 wxPyEndAllowThreads(__tstate
);
4715 if (PyErr_Occurred()) SWIG_fail
;
4717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 0);
4724 static PyObject
*_wrap_Bitmap_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4725 PyObject
*resultobj
;
4726 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4727 wxPalette
*arg2
= 0 ;
4728 PyObject
* obj0
= 0 ;
4729 PyObject
* obj1
= 0 ;
4731 (char *) "self",(char *) "palette", NULL
4734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
4735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4736 if (SWIG_arg_fail(1)) SWIG_fail
;
4738 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
4739 if (SWIG_arg_fail(2)) SWIG_fail
;
4741 SWIG_null_ref("wxPalette");
4743 if (SWIG_arg_fail(2)) SWIG_fail
;
4746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4747 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
4749 wxPyEndAllowThreads(__tstate
);
4750 if (PyErr_Occurred()) SWIG_fail
;
4752 Py_INCREF(Py_None
); resultobj
= Py_None
;
4759 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4760 PyObject
*resultobj
;
4761 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4764 PyObject
* obj0
= 0 ;
4765 PyObject
* obj1
= 0 ;
4767 (char *) "self",(char *) "icon", NULL
4770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4772 if (SWIG_arg_fail(1)) SWIG_fail
;
4774 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4775 if (SWIG_arg_fail(2)) SWIG_fail
;
4777 SWIG_null_ref("wxIcon");
4779 if (SWIG_arg_fail(2)) SWIG_fail
;
4782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4783 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
4785 wxPyEndAllowThreads(__tstate
);
4786 if (PyErr_Occurred()) SWIG_fail
;
4789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4797 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4798 PyObject
*resultobj
;
4799 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4801 PyObject
* obj0
= 0 ;
4802 PyObject
* obj1
= 0 ;
4804 (char *) "self",(char *) "height", NULL
4807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4809 if (SWIG_arg_fail(1)) SWIG_fail
;
4811 arg2
= (int)(SWIG_As_int(obj1
));
4812 if (SWIG_arg_fail(2)) SWIG_fail
;
4815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4816 (arg1
)->SetHeight(arg2
);
4818 wxPyEndAllowThreads(__tstate
);
4819 if (PyErr_Occurred()) SWIG_fail
;
4821 Py_INCREF(Py_None
); resultobj
= Py_None
;
4828 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4829 PyObject
*resultobj
;
4830 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4832 PyObject
* obj0
= 0 ;
4833 PyObject
* obj1
= 0 ;
4835 (char *) "self",(char *) "width", NULL
4838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4840 if (SWIG_arg_fail(1)) SWIG_fail
;
4842 arg2
= (int)(SWIG_As_int(obj1
));
4843 if (SWIG_arg_fail(2)) SWIG_fail
;
4846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4847 (arg1
)->SetWidth(arg2
);
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4852 Py_INCREF(Py_None
); resultobj
= Py_None
;
4859 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4860 PyObject
*resultobj
;
4861 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4863 PyObject
* obj0
= 0 ;
4864 PyObject
* obj1
= 0 ;
4866 (char *) "self",(char *) "depth", NULL
4869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4871 if (SWIG_arg_fail(1)) SWIG_fail
;
4873 arg2
= (int)(SWIG_As_int(obj1
));
4874 if (SWIG_arg_fail(2)) SWIG_fail
;
4877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4878 (arg1
)->SetDepth(arg2
);
4880 wxPyEndAllowThreads(__tstate
);
4881 if (PyErr_Occurred()) SWIG_fail
;
4883 Py_INCREF(Py_None
); resultobj
= Py_None
;
4890 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4891 PyObject
*resultobj
;
4892 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4895 PyObject
* obj0
= 0 ;
4896 PyObject
* obj1
= 0 ;
4898 (char *) "self",(char *) "size", NULL
4901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4903 if (SWIG_arg_fail(1)) SWIG_fail
;
4906 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4910 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
4912 wxPyEndAllowThreads(__tstate
);
4913 if (PyErr_Occurred()) SWIG_fail
;
4915 Py_INCREF(Py_None
); resultobj
= Py_None
;
4922 static PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4923 PyObject
*resultobj
;
4924 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4925 wxCursor
*arg2
= 0 ;
4927 PyObject
* obj0
= 0 ;
4928 PyObject
* obj1
= 0 ;
4930 (char *) "self",(char *) "cursor", NULL
4933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
4934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4935 if (SWIG_arg_fail(1)) SWIG_fail
;
4937 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
4938 if (SWIG_arg_fail(2)) SWIG_fail
;
4940 SWIG_null_ref("wxCursor");
4942 if (SWIG_arg_fail(2)) SWIG_fail
;
4945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4946 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) SWIG_fail
;
4952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4960 static PyObject
*_wrap_Bitmap_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4961 PyObject
*resultobj
;
4962 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4964 PyObject
* obj0
= 0 ;
4966 (char *) "self", NULL
4969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetQuality",kwnames
,&obj0
)) goto fail
;
4970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4971 if (SWIG_arg_fail(1)) SWIG_fail
;
4973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4974 result
= (int)(arg1
)->GetQuality();
4976 wxPyEndAllowThreads(__tstate
);
4977 if (PyErr_Occurred()) SWIG_fail
;
4980 resultobj
= SWIG_From_int((int)(result
));
4988 static PyObject
*_wrap_Bitmap_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4989 PyObject
*resultobj
;
4990 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4992 PyObject
* obj0
= 0 ;
4993 PyObject
* obj1
= 0 ;
4995 (char *) "self",(char *) "q", NULL
4998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
4999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5000 if (SWIG_arg_fail(1)) SWIG_fail
;
5002 arg2
= (int)(SWIG_As_int(obj1
));
5003 if (SWIG_arg_fail(2)) SWIG_fail
;
5006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5007 (arg1
)->SetQuality(arg2
);
5009 wxPyEndAllowThreads(__tstate
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5012 Py_INCREF(Py_None
); resultobj
= Py_None
;
5019 static PyObject
*_wrap_Bitmap___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5020 PyObject
*resultobj
;
5021 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5022 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
5024 PyObject
* obj0
= 0 ;
5025 PyObject
* obj1
= 0 ;
5027 (char *) "self",(char *) "other", NULL
5030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5032 if (SWIG_arg_fail(1)) SWIG_fail
;
5033 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5034 if (SWIG_arg_fail(2)) SWIG_fail
;
5036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5037 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5051 static PyObject
*_wrap_Bitmap___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5052 PyObject
*resultobj
;
5053 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5054 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
5056 PyObject
* obj0
= 0 ;
5057 PyObject
* obj1
= 0 ;
5059 (char *) "self",(char *) "other", NULL
5062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5064 if (SWIG_arg_fail(1)) SWIG_fail
;
5065 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5066 if (SWIG_arg_fail(2)) SWIG_fail
;
5068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5069 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
5071 wxPyEndAllowThreads(__tstate
);
5072 if (PyErr_Occurred()) SWIG_fail
;
5075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5083 static PyObject
* Bitmap_swigregister(PyObject
*, PyObject
*args
) {
5085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5086 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
5088 return Py_BuildValue((char *)"");
5090 static PyObject
*_wrap_new_Mask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5091 PyObject
*resultobj
;
5092 wxBitmap
*arg1
= 0 ;
5093 wxColour
const &arg2_defvalue
= wxNullColour
;
5094 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
5097 PyObject
* obj0
= 0 ;
5098 PyObject
* obj1
= 0 ;
5100 (char *) "bitmap",(char *) "colour", NULL
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
5105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5106 if (SWIG_arg_fail(1)) SWIG_fail
;
5108 SWIG_null_ref("wxBitmap");
5110 if (SWIG_arg_fail(1)) SWIG_fail
;
5115 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5119 if (!wxPyCheckForApp()) SWIG_fail
;
5120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5121 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
5123 wxPyEndAllowThreads(__tstate
);
5124 if (PyErr_Occurred()) SWIG_fail
;
5126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
5133 static PyObject
* Mask_swigregister(PyObject
*, PyObject
*args
) {
5135 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5136 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
5138 return Py_BuildValue((char *)"");
5140 static PyObject
*_wrap_new_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5141 PyObject
*resultobj
;
5142 wxString
*arg1
= 0 ;
5144 int arg3
= (int) -1 ;
5145 int arg4
= (int) -1 ;
5147 bool temp1
= false ;
5148 PyObject
* obj0
= 0 ;
5149 PyObject
* obj1
= 0 ;
5150 PyObject
* obj2
= 0 ;
5151 PyObject
* obj3
= 0 ;
5153 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
5156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5158 arg1
= wxString_in_helper(obj0
);
5159 if (arg1
== NULL
) SWIG_fail
;
5163 arg2
= (wxBitmapType
)(SWIG_As_int(obj1
));
5164 if (SWIG_arg_fail(2)) SWIG_fail
;
5168 arg3
= (int)(SWIG_As_int(obj2
));
5169 if (SWIG_arg_fail(3)) SWIG_fail
;
5174 arg4
= (int)(SWIG_As_int(obj3
));
5175 if (SWIG_arg_fail(4)) SWIG_fail
;
5179 if (!wxPyCheckForApp()) SWIG_fail
;
5180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5181 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
5183 wxPyEndAllowThreads(__tstate
);
5184 if (PyErr_Occurred()) SWIG_fail
;
5186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5201 static PyObject
*_wrap_delete_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5202 PyObject
*resultobj
;
5203 wxIcon
*arg1
= (wxIcon
*) 0 ;
5204 PyObject
* obj0
= 0 ;
5206 (char *) "self", NULL
5209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
5210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5211 if (SWIG_arg_fail(1)) SWIG_fail
;
5213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5216 wxPyEndAllowThreads(__tstate
);
5217 if (PyErr_Occurred()) SWIG_fail
;
5219 Py_INCREF(Py_None
); resultobj
= Py_None
;
5226 static PyObject
*_wrap_new_EmptyIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5227 PyObject
*resultobj
;
5233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
5235 if (!wxPyCheckForApp()) SWIG_fail
;
5236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5237 result
= (wxIcon
*)new wxIcon();
5239 wxPyEndAllowThreads(__tstate
);
5240 if (PyErr_Occurred()) SWIG_fail
;
5242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5249 static PyObject
*_wrap_new_IconFromLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5250 PyObject
*resultobj
;
5251 wxIconLocation
*arg1
= 0 ;
5253 PyObject
* obj0
= 0 ;
5255 (char *) "loc", NULL
5258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
5260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5261 if (SWIG_arg_fail(1)) SWIG_fail
;
5263 SWIG_null_ref("wxIconLocation");
5265 if (SWIG_arg_fail(1)) SWIG_fail
;
5268 if (!wxPyCheckForApp()) SWIG_fail
;
5269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5270 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
5272 wxPyEndAllowThreads(__tstate
);
5273 if (PyErr_Occurred()) SWIG_fail
;
5275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5282 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5283 PyObject
*resultobj
;
5284 wxBitmap
*arg1
= 0 ;
5286 PyObject
* obj0
= 0 ;
5288 (char *) "bmp", NULL
5291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
5293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5294 if (SWIG_arg_fail(1)) SWIG_fail
;
5296 SWIG_null_ref("wxBitmap");
5298 if (SWIG_arg_fail(1)) SWIG_fail
;
5301 if (!wxPyCheckForApp()) SWIG_fail
;
5302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5303 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
5305 wxPyEndAllowThreads(__tstate
);
5306 if (PyErr_Occurred()) SWIG_fail
;
5308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5315 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5316 PyObject
*resultobj
;
5317 PyObject
*arg1
= (PyObject
*) 0 ;
5319 PyObject
* obj0
= 0 ;
5321 (char *) "listOfStrings", NULL
5324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
5327 if (!wxPyCheckForApp()) SWIG_fail
;
5328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5329 result
= (wxIcon
*)new_wxIcon(arg1
);
5331 wxPyEndAllowThreads(__tstate
);
5332 if (PyErr_Occurred()) SWIG_fail
;
5334 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5341 static PyObject
*_wrap_Icon_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5342 PyObject
*resultobj
;
5343 wxIcon
*arg1
= (wxIcon
*) 0 ;
5344 wxString
*arg2
= 0 ;
5347 bool temp2
= false ;
5348 PyObject
* obj0
= 0 ;
5349 PyObject
* obj1
= 0 ;
5350 PyObject
* obj2
= 0 ;
5352 (char *) "self",(char *) "name",(char *) "type", NULL
5355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5357 if (SWIG_arg_fail(1)) SWIG_fail
;
5359 arg2
= wxString_in_helper(obj1
);
5360 if (arg2
== NULL
) SWIG_fail
;
5364 arg3
= (wxBitmapType
)(SWIG_As_int(obj2
));
5365 if (SWIG_arg_fail(3)) SWIG_fail
;
5368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5369 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
5371 wxPyEndAllowThreads(__tstate
);
5372 if (PyErr_Occurred()) SWIG_fail
;
5375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5391 static PyObject
*_wrap_Icon_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5392 PyObject
*resultobj
;
5393 wxIcon
*arg1
= (wxIcon
*) 0 ;
5395 PyObject
* obj0
= 0 ;
5397 (char *) "self", NULL
5400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHandle",kwnames
,&obj0
)) goto fail
;
5401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5402 if (SWIG_arg_fail(1)) SWIG_fail
;
5404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5405 result
= (long)(arg1
)->GetHandle();
5407 wxPyEndAllowThreads(__tstate
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5411 resultobj
= SWIG_From_long((long)(result
));
5419 static PyObject
*_wrap_Icon_SetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5420 PyObject
*resultobj
;
5421 wxIcon
*arg1
= (wxIcon
*) 0 ;
5423 PyObject
* obj0
= 0 ;
5424 PyObject
* obj1
= 0 ;
5426 (char *) "self",(char *) "handle", NULL
5429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
5430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5431 if (SWIG_arg_fail(1)) SWIG_fail
;
5433 arg2
= (long)(SWIG_As_long(obj1
));
5434 if (SWIG_arg_fail(2)) SWIG_fail
;
5437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5438 wxIcon_SetHandle(arg1
,arg2
);
5440 wxPyEndAllowThreads(__tstate
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5443 Py_INCREF(Py_None
); resultobj
= Py_None
;
5450 static PyObject
*_wrap_Icon_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5451 PyObject
*resultobj
;
5452 wxIcon
*arg1
= (wxIcon
*) 0 ;
5454 PyObject
* obj0
= 0 ;
5456 (char *) "self", NULL
5459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
5460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5461 if (SWIG_arg_fail(1)) SWIG_fail
;
5463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5464 result
= (bool)(arg1
)->Ok();
5466 wxPyEndAllowThreads(__tstate
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5478 static PyObject
*_wrap_Icon_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5479 PyObject
*resultobj
;
5480 wxIcon
*arg1
= (wxIcon
*) 0 ;
5482 PyObject
* obj0
= 0 ;
5484 (char *) "self", NULL
5487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
5488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5489 if (SWIG_arg_fail(1)) SWIG_fail
;
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 result
= (int)(arg1
)->GetWidth();
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5498 resultobj
= SWIG_From_int((int)(result
));
5506 static PyObject
*_wrap_Icon_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5507 PyObject
*resultobj
;
5508 wxIcon
*arg1
= (wxIcon
*) 0 ;
5510 PyObject
* obj0
= 0 ;
5512 (char *) "self", NULL
5515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
5516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5517 if (SWIG_arg_fail(1)) SWIG_fail
;
5519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5520 result
= (int)(arg1
)->GetHeight();
5522 wxPyEndAllowThreads(__tstate
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5526 resultobj
= SWIG_From_int((int)(result
));
5534 static PyObject
*_wrap_Icon_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5535 PyObject
*resultobj
;
5536 wxIcon
*arg1
= (wxIcon
*) 0 ;
5538 PyObject
* obj0
= 0 ;
5540 (char *) "self", NULL
5543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
5544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5545 if (SWIG_arg_fail(1)) SWIG_fail
;
5547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5548 result
= (int)(arg1
)->GetDepth();
5550 wxPyEndAllowThreads(__tstate
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5554 resultobj
= SWIG_From_int((int)(result
));
5562 static PyObject
*_wrap_Icon_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5563 PyObject
*resultobj
;
5564 wxIcon
*arg1
= (wxIcon
*) 0 ;
5566 PyObject
* obj0
= 0 ;
5567 PyObject
* obj1
= 0 ;
5569 (char *) "self",(char *) "w", NULL
5572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5574 if (SWIG_arg_fail(1)) SWIG_fail
;
5576 arg2
= (int)(SWIG_As_int(obj1
));
5577 if (SWIG_arg_fail(2)) SWIG_fail
;
5580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5581 (arg1
)->SetWidth(arg2
);
5583 wxPyEndAllowThreads(__tstate
);
5584 if (PyErr_Occurred()) SWIG_fail
;
5586 Py_INCREF(Py_None
); resultobj
= Py_None
;
5593 static PyObject
*_wrap_Icon_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5594 PyObject
*resultobj
;
5595 wxIcon
*arg1
= (wxIcon
*) 0 ;
5597 PyObject
* obj0
= 0 ;
5598 PyObject
* obj1
= 0 ;
5600 (char *) "self",(char *) "h", NULL
5603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, 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 (arg1
)->SetHeight(arg2
);
5614 wxPyEndAllowThreads(__tstate
);
5615 if (PyErr_Occurred()) SWIG_fail
;
5617 Py_INCREF(Py_None
); resultobj
= Py_None
;
5624 static PyObject
*_wrap_Icon_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5625 PyObject
*resultobj
;
5626 wxIcon
*arg1
= (wxIcon
*) 0 ;
5628 PyObject
* obj0
= 0 ;
5629 PyObject
* obj1
= 0 ;
5631 (char *) "self",(char *) "d", NULL
5634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
5635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5636 if (SWIG_arg_fail(1)) SWIG_fail
;
5638 arg2
= (int)(SWIG_As_int(obj1
));
5639 if (SWIG_arg_fail(2)) SWIG_fail
;
5642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5643 (arg1
)->SetDepth(arg2
);
5645 wxPyEndAllowThreads(__tstate
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5648 Py_INCREF(Py_None
); resultobj
= Py_None
;
5655 static PyObject
*_wrap_Icon_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5656 PyObject
*resultobj
;
5657 wxIcon
*arg1
= (wxIcon
*) 0 ;
5660 PyObject
* obj0
= 0 ;
5661 PyObject
* obj1
= 0 ;
5663 (char *) "self",(char *) "size", NULL
5666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5668 if (SWIG_arg_fail(1)) SWIG_fail
;
5671 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5675 (arg1
)->SetSize((wxSize
const &)*arg2
);
5677 wxPyEndAllowThreads(__tstate
);
5678 if (PyErr_Occurred()) SWIG_fail
;
5680 Py_INCREF(Py_None
); resultobj
= Py_None
;
5687 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5688 PyObject
*resultobj
;
5689 wxIcon
*arg1
= (wxIcon
*) 0 ;
5690 wxBitmap
*arg2
= 0 ;
5691 PyObject
* obj0
= 0 ;
5692 PyObject
* obj1
= 0 ;
5694 (char *) "self",(char *) "bmp", NULL
5697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5699 if (SWIG_arg_fail(1)) SWIG_fail
;
5701 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5702 if (SWIG_arg_fail(2)) SWIG_fail
;
5704 SWIG_null_ref("wxBitmap");
5706 if (SWIG_arg_fail(2)) SWIG_fail
;
5709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5710 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
5712 wxPyEndAllowThreads(__tstate
);
5713 if (PyErr_Occurred()) SWIG_fail
;
5715 Py_INCREF(Py_None
); resultobj
= Py_None
;
5722 static PyObject
* Icon_swigregister(PyObject
*, PyObject
*args
) {
5724 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5725 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
5727 return Py_BuildValue((char *)"");
5729 static PyObject
*_wrap_new_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5730 PyObject
*resultobj
;
5731 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
5732 int arg2
= (int) 0 ;
5733 wxIconLocation
*result
;
5734 bool temp1
= false ;
5735 PyObject
* obj0
= 0 ;
5736 PyObject
* obj1
= 0 ;
5738 (char *) "filename",(char *) "num", NULL
5741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
5744 arg1
= wxString_in_helper(obj0
);
5745 if (arg1
== NULL
) SWIG_fail
;
5751 arg2
= (int)(SWIG_As_int(obj1
));
5752 if (SWIG_arg_fail(2)) SWIG_fail
;
5756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5757 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
5759 wxPyEndAllowThreads(__tstate
);
5760 if (PyErr_Occurred()) SWIG_fail
;
5762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
5777 static PyObject
*_wrap_delete_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
*resultobj
;
5779 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5780 PyObject
* obj0
= 0 ;
5782 (char *) "self", NULL
5785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
5786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5787 if (SWIG_arg_fail(1)) SWIG_fail
;
5789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5792 wxPyEndAllowThreads(__tstate
);
5793 if (PyErr_Occurred()) SWIG_fail
;
5795 Py_INCREF(Py_None
); resultobj
= Py_None
;
5802 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5803 PyObject
*resultobj
;
5804 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5806 PyObject
* obj0
= 0 ;
5808 (char *) "self", NULL
5811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
5812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5813 if (SWIG_arg_fail(1)) SWIG_fail
;
5815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5816 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
5818 wxPyEndAllowThreads(__tstate
);
5819 if (PyErr_Occurred()) SWIG_fail
;
5822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5830 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5831 PyObject
*resultobj
;
5832 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5833 wxString
*arg2
= 0 ;
5834 bool temp2
= false ;
5835 PyObject
* obj0
= 0 ;
5836 PyObject
* obj1
= 0 ;
5838 (char *) "self",(char *) "filename", NULL
5841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
5842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5843 if (SWIG_arg_fail(1)) SWIG_fail
;
5845 arg2
= wxString_in_helper(obj1
);
5846 if (arg2
== NULL
) SWIG_fail
;
5850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5851 (arg1
)->SetFileName((wxString
const &)*arg2
);
5853 wxPyEndAllowThreads(__tstate
);
5854 if (PyErr_Occurred()) SWIG_fail
;
5856 Py_INCREF(Py_None
); resultobj
= Py_None
;
5871 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5872 PyObject
*resultobj
;
5873 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5875 PyObject
* obj0
= 0 ;
5877 (char *) "self", NULL
5880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
5881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5882 if (SWIG_arg_fail(1)) SWIG_fail
;
5884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5886 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
5887 result
= (wxString
*) &_result_ref
;
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) SWIG_fail
;
5895 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5897 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5906 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5907 PyObject
*resultobj
;
5908 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5910 PyObject
* obj0
= 0 ;
5911 PyObject
* obj1
= 0 ;
5913 (char *) "self",(char *) "num", NULL
5916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
5917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5918 if (SWIG_arg_fail(1)) SWIG_fail
;
5920 arg2
= (int)(SWIG_As_int(obj1
));
5921 if (SWIG_arg_fail(2)) SWIG_fail
;
5924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5925 wxIconLocation_SetIndex(arg1
,arg2
);
5927 wxPyEndAllowThreads(__tstate
);
5928 if (PyErr_Occurred()) SWIG_fail
;
5930 Py_INCREF(Py_None
); resultobj
= Py_None
;
5937 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5938 PyObject
*resultobj
;
5939 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5941 PyObject
* obj0
= 0 ;
5943 (char *) "self", NULL
5946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
5947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5948 if (SWIG_arg_fail(1)) SWIG_fail
;
5950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5951 result
= (int)wxIconLocation_GetIndex(arg1
);
5953 wxPyEndAllowThreads(__tstate
);
5954 if (PyErr_Occurred()) SWIG_fail
;
5957 resultobj
= SWIG_From_int((int)(result
));
5965 static PyObject
* IconLocation_swigregister(PyObject
*, PyObject
*args
) {
5967 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5968 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
5970 return Py_BuildValue((char *)"");
5972 static PyObject
*_wrap_new_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5973 PyObject
*resultobj
;
5974 wxIconBundle
*result
;
5979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
5981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5982 result
= (wxIconBundle
*)new wxIconBundle();
5984 wxPyEndAllowThreads(__tstate
);
5985 if (PyErr_Occurred()) SWIG_fail
;
5987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
5994 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5995 PyObject
*resultobj
;
5996 wxString
*arg1
= 0 ;
5998 wxIconBundle
*result
;
5999 bool temp1
= false ;
6000 PyObject
* obj0
= 0 ;
6001 PyObject
* obj1
= 0 ;
6003 (char *) "file",(char *) "type", NULL
6006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6008 arg1
= wxString_in_helper(obj0
);
6009 if (arg1
== NULL
) SWIG_fail
;
6013 arg2
= (long)(SWIG_As_long(obj1
));
6014 if (SWIG_arg_fail(2)) SWIG_fail
;
6017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6018 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
6020 wxPyEndAllowThreads(__tstate
);
6021 if (PyErr_Occurred()) SWIG_fail
;
6023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
6038 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6039 PyObject
*resultobj
;
6041 wxIconBundle
*result
;
6042 PyObject
* obj0
= 0 ;
6044 (char *) "icon", NULL
6047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
6049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
6050 if (SWIG_arg_fail(1)) SWIG_fail
;
6052 SWIG_null_ref("wxIcon");
6054 if (SWIG_arg_fail(1)) SWIG_fail
;
6057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6058 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
6060 wxPyEndAllowThreads(__tstate
);
6061 if (PyErr_Occurred()) SWIG_fail
;
6063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
6070 static PyObject
*_wrap_delete_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6071 PyObject
*resultobj
;
6072 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
6073 PyObject
* obj0
= 0 ;
6075 (char *) "self", NULL
6078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
6079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
6080 if (SWIG_arg_fail(1)) SWIG_fail
;
6082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6085 wxPyEndAllowThreads(__tstate
);
6086 if (PyErr_Occurred()) SWIG_fail
;
6088 Py_INCREF(Py_None
); resultobj
= Py_None
;
6095 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6096 PyObject
*resultobj
;
6097 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
6099 PyObject
* obj0
= 0 ;
6100 PyObject
* obj1
= 0 ;
6102 (char *) "self",(char *) "icon", NULL
6105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
6106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
6107 if (SWIG_arg_fail(1)) SWIG_fail
;
6109 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
6110 if (SWIG_arg_fail(2)) SWIG_fail
;
6112 SWIG_null_ref("wxIcon");
6114 if (SWIG_arg_fail(2)) SWIG_fail
;
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6123 Py_INCREF(Py_None
); resultobj
= Py_None
;
6130 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
*resultobj
;
6132 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
6133 wxString
*arg2
= 0 ;
6135 bool temp2
= false ;
6136 PyObject
* obj0
= 0 ;
6137 PyObject
* obj1
= 0 ;
6138 PyObject
* obj2
= 0 ;
6140 (char *) "self",(char *) "file",(char *) "type", NULL
6143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
6145 if (SWIG_arg_fail(1)) SWIG_fail
;
6147 arg2
= wxString_in_helper(obj1
);
6148 if (arg2
== NULL
) SWIG_fail
;
6152 arg3
= (long)(SWIG_As_long(obj2
));
6153 if (SWIG_arg_fail(3)) SWIG_fail
;
6156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6157 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
6159 wxPyEndAllowThreads(__tstate
);
6160 if (PyErr_Occurred()) SWIG_fail
;
6162 Py_INCREF(Py_None
); resultobj
= Py_None
;
6177 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6178 PyObject
*resultobj
;
6179 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
6183 PyObject
* obj0
= 0 ;
6184 PyObject
* obj1
= 0 ;
6186 (char *) "self",(char *) "size", NULL
6189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
6190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
6191 if (SWIG_arg_fail(1)) SWIG_fail
;
6194 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6199 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
6200 result
= (wxIcon
*) &_result_ref
;
6203 wxPyEndAllowThreads(__tstate
);
6204 if (PyErr_Occurred()) SWIG_fail
;
6207 wxIcon
* resultptr
= new wxIcon(*result
);
6208 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
6216 static PyObject
* IconBundle_swigregister(PyObject
*, PyObject
*args
) {
6218 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6219 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
6221 return Py_BuildValue((char *)"");
6223 static PyObject
*_wrap_new_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6224 PyObject
*resultobj
;
6225 wxString
*arg1
= (wxString
*) 0 ;
6227 int arg3
= (int) 0 ;
6228 int arg4
= (int) 0 ;
6230 bool temp1
= false ;
6231 PyObject
* obj0
= 0 ;
6232 PyObject
* obj1
= 0 ;
6233 PyObject
* obj2
= 0 ;
6234 PyObject
* obj3
= 0 ;
6236 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6241 arg1
= wxString_in_helper(obj0
);
6242 if (arg1
== NULL
) SWIG_fail
;
6246 arg2
= (long)(SWIG_As_long(obj1
));
6247 if (SWIG_arg_fail(2)) SWIG_fail
;
6251 arg3
= (int)(SWIG_As_int(obj2
));
6252 if (SWIG_arg_fail(3)) SWIG_fail
;
6257 arg4
= (int)(SWIG_As_int(obj3
));
6258 if (SWIG_arg_fail(4)) SWIG_fail
;
6262 if (!wxPyCheckForApp()) SWIG_fail
;
6263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6264 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
6266 wxPyEndAllowThreads(__tstate
);
6267 if (PyErr_Occurred()) SWIG_fail
;
6269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6284 static PyObject
*_wrap_delete_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6285 PyObject
*resultobj
;
6286 wxCursor
*arg1
= (wxCursor
*) 0 ;
6287 PyObject
* obj0
= 0 ;
6289 (char *) "self", NULL
6292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
6293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6294 if (SWIG_arg_fail(1)) SWIG_fail
;
6296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6299 wxPyEndAllowThreads(__tstate
);
6300 if (PyErr_Occurred()) SWIG_fail
;
6302 Py_INCREF(Py_None
); resultobj
= Py_None
;
6309 static PyObject
*_wrap_new_StockCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6310 PyObject
*resultobj
;
6313 PyObject
* obj0
= 0 ;
6318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
6320 arg1
= (int)(SWIG_As_int(obj0
));
6321 if (SWIG_arg_fail(1)) SWIG_fail
;
6324 if (!wxPyCheckForApp()) SWIG_fail
;
6325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6326 result
= (wxCursor
*)new wxCursor(arg1
);
6328 wxPyEndAllowThreads(__tstate
);
6329 if (PyErr_Occurred()) SWIG_fail
;
6331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6338 static PyObject
*_wrap_new_CursorFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6339 PyObject
*resultobj
;
6342 PyObject
* obj0
= 0 ;
6344 (char *) "image", NULL
6347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
6349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
6350 if (SWIG_arg_fail(1)) SWIG_fail
;
6352 SWIG_null_ref("wxImage");
6354 if (SWIG_arg_fail(1)) SWIG_fail
;
6357 if (!wxPyCheckForApp()) SWIG_fail
;
6358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6359 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
6361 wxPyEndAllowThreads(__tstate
);
6362 if (PyErr_Occurred()) SWIG_fail
;
6364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6371 static PyObject
*_wrap_Cursor_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6372 PyObject
*resultobj
;
6373 wxCursor
*arg1
= (wxCursor
*) 0 ;
6375 PyObject
* obj0
= 0 ;
6377 (char *) "self", NULL
6380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHandle",kwnames
,&obj0
)) goto fail
;
6381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6382 if (SWIG_arg_fail(1)) SWIG_fail
;
6384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6385 result
= (long)(arg1
)->GetHandle();
6387 wxPyEndAllowThreads(__tstate
);
6388 if (PyErr_Occurred()) SWIG_fail
;
6391 resultobj
= SWIG_From_long((long)(result
));
6399 static PyObject
*_wrap_Cursor_SetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6400 PyObject
*resultobj
;
6401 wxCursor
*arg1
= (wxCursor
*) 0 ;
6403 PyObject
* obj0
= 0 ;
6404 PyObject
* obj1
= 0 ;
6406 (char *) "self",(char *) "handle", NULL
6409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
6410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6411 if (SWIG_arg_fail(1)) SWIG_fail
;
6413 arg2
= (long)(SWIG_As_long(obj1
));
6414 if (SWIG_arg_fail(2)) SWIG_fail
;
6417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6418 wxCursor_SetHandle(arg1
,arg2
);
6420 wxPyEndAllowThreads(__tstate
);
6421 if (PyErr_Occurred()) SWIG_fail
;
6423 Py_INCREF(Py_None
); resultobj
= Py_None
;
6430 static PyObject
*_wrap_Cursor_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6431 PyObject
*resultobj
;
6432 wxCursor
*arg1
= (wxCursor
*) 0 ;
6434 PyObject
* obj0
= 0 ;
6436 (char *) "self", NULL
6439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
6440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6441 if (SWIG_arg_fail(1)) SWIG_fail
;
6443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6444 result
= (bool)(arg1
)->Ok();
6446 wxPyEndAllowThreads(__tstate
);
6447 if (PyErr_Occurred()) SWIG_fail
;
6450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6458 static PyObject
*_wrap_Cursor_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6459 PyObject
*resultobj
;
6460 wxCursor
*arg1
= (wxCursor
*) 0 ;
6462 PyObject
* obj0
= 0 ;
6464 (char *) "self", NULL
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetWidth",kwnames
,&obj0
)) goto fail
;
6468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6469 if (SWIG_arg_fail(1)) SWIG_fail
;
6471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6472 result
= (int)(arg1
)->GetWidth();
6474 wxPyEndAllowThreads(__tstate
);
6475 if (PyErr_Occurred()) SWIG_fail
;
6478 resultobj
= SWIG_From_int((int)(result
));
6486 static PyObject
*_wrap_Cursor_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6487 PyObject
*resultobj
;
6488 wxCursor
*arg1
= (wxCursor
*) 0 ;
6490 PyObject
* obj0
= 0 ;
6492 (char *) "self", NULL
6495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHeight",kwnames
,&obj0
)) goto fail
;
6496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6497 if (SWIG_arg_fail(1)) SWIG_fail
;
6499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6500 result
= (int)(arg1
)->GetHeight();
6502 wxPyEndAllowThreads(__tstate
);
6503 if (PyErr_Occurred()) SWIG_fail
;
6506 resultobj
= SWIG_From_int((int)(result
));
6514 static PyObject
*_wrap_Cursor_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6515 PyObject
*resultobj
;
6516 wxCursor
*arg1
= (wxCursor
*) 0 ;
6518 PyObject
* obj0
= 0 ;
6520 (char *) "self", NULL
6523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetDepth",kwnames
,&obj0
)) goto fail
;
6524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6525 if (SWIG_arg_fail(1)) SWIG_fail
;
6527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6528 result
= (int)(arg1
)->GetDepth();
6530 wxPyEndAllowThreads(__tstate
);
6531 if (PyErr_Occurred()) SWIG_fail
;
6534 resultobj
= SWIG_From_int((int)(result
));
6542 static PyObject
*_wrap_Cursor_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6543 PyObject
*resultobj
;
6544 wxCursor
*arg1
= (wxCursor
*) 0 ;
6546 PyObject
* obj0
= 0 ;
6547 PyObject
* obj1
= 0 ;
6549 (char *) "self",(char *) "w", NULL
6552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
6553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6554 if (SWIG_arg_fail(1)) SWIG_fail
;
6556 arg2
= (int)(SWIG_As_int(obj1
));
6557 if (SWIG_arg_fail(2)) SWIG_fail
;
6560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6561 (arg1
)->SetWidth(arg2
);
6563 wxPyEndAllowThreads(__tstate
);
6564 if (PyErr_Occurred()) SWIG_fail
;
6566 Py_INCREF(Py_None
); resultobj
= Py_None
;
6573 static PyObject
*_wrap_Cursor_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6574 PyObject
*resultobj
;
6575 wxCursor
*arg1
= (wxCursor
*) 0 ;
6577 PyObject
* obj0
= 0 ;
6578 PyObject
* obj1
= 0 ;
6580 (char *) "self",(char *) "h", NULL
6583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6585 if (SWIG_arg_fail(1)) SWIG_fail
;
6587 arg2
= (int)(SWIG_As_int(obj1
));
6588 if (SWIG_arg_fail(2)) SWIG_fail
;
6591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6592 (arg1
)->SetHeight(arg2
);
6594 wxPyEndAllowThreads(__tstate
);
6595 if (PyErr_Occurred()) SWIG_fail
;
6597 Py_INCREF(Py_None
); resultobj
= Py_None
;
6604 static PyObject
*_wrap_Cursor_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6605 PyObject
*resultobj
;
6606 wxCursor
*arg1
= (wxCursor
*) 0 ;
6608 PyObject
* obj0
= 0 ;
6609 PyObject
* obj1
= 0 ;
6611 (char *) "self",(char *) "d", NULL
6614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
6615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6616 if (SWIG_arg_fail(1)) SWIG_fail
;
6618 arg2
= (int)(SWIG_As_int(obj1
));
6619 if (SWIG_arg_fail(2)) SWIG_fail
;
6622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6623 (arg1
)->SetDepth(arg2
);
6625 wxPyEndAllowThreads(__tstate
);
6626 if (PyErr_Occurred()) SWIG_fail
;
6628 Py_INCREF(Py_None
); resultobj
= Py_None
;
6635 static PyObject
*_wrap_Cursor_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6636 PyObject
*resultobj
;
6637 wxCursor
*arg1
= (wxCursor
*) 0 ;
6640 PyObject
* obj0
= 0 ;
6641 PyObject
* obj1
= 0 ;
6643 (char *) "self",(char *) "size", NULL
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6648 if (SWIG_arg_fail(1)) SWIG_fail
;
6651 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6655 (arg1
)->SetSize((wxSize
const &)*arg2
);
6657 wxPyEndAllowThreads(__tstate
);
6658 if (PyErr_Occurred()) SWIG_fail
;
6660 Py_INCREF(Py_None
); resultobj
= Py_None
;
6667 static PyObject
* Cursor_swigregister(PyObject
*, PyObject
*args
) {
6669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6670 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
6672 return Py_BuildValue((char *)"");
6674 static PyObject
*_wrap_new_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
*resultobj
;
6676 int arg1
= (int) 0 ;
6677 int arg2
= (int) 0 ;
6678 int arg3
= (int) 0 ;
6679 int arg4
= (int) 0 ;
6681 PyObject
* obj0
= 0 ;
6682 PyObject
* obj1
= 0 ;
6683 PyObject
* obj2
= 0 ;
6684 PyObject
* obj3
= 0 ;
6686 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6692 arg1
= (int)(SWIG_As_int(obj0
));
6693 if (SWIG_arg_fail(1)) SWIG_fail
;
6698 arg2
= (int)(SWIG_As_int(obj1
));
6699 if (SWIG_arg_fail(2)) SWIG_fail
;
6704 arg3
= (int)(SWIG_As_int(obj2
));
6705 if (SWIG_arg_fail(3)) SWIG_fail
;
6710 arg4
= (int)(SWIG_As_int(obj3
));
6711 if (SWIG_arg_fail(4)) SWIG_fail
;
6715 if (!wxPyCheckForApp()) SWIG_fail
;
6716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6717 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
6719 wxPyEndAllowThreads(__tstate
);
6720 if (PyErr_Occurred()) SWIG_fail
;
6722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6729 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6730 PyObject
*resultobj
;
6731 wxBitmap
*arg1
= 0 ;
6733 PyObject
* obj0
= 0 ;
6735 (char *) "bmp", NULL
6738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
6740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6741 if (SWIG_arg_fail(1)) SWIG_fail
;
6743 SWIG_null_ref("wxBitmap");
6745 if (SWIG_arg_fail(1)) SWIG_fail
;
6748 if (!wxPyCheckForApp()) SWIG_fail
;
6749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6750 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
6752 wxPyEndAllowThreads(__tstate
);
6753 if (PyErr_Occurred()) SWIG_fail
;
6755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6762 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6763 PyObject
*resultobj
;
6764 wxBitmap
*arg1
= 0 ;
6765 wxColour
*arg2
= 0 ;
6766 int arg3
= (int) 0 ;
6769 PyObject
* obj0
= 0 ;
6770 PyObject
* obj1
= 0 ;
6771 PyObject
* obj2
= 0 ;
6773 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
6776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6779 if (SWIG_arg_fail(1)) SWIG_fail
;
6781 SWIG_null_ref("wxBitmap");
6783 if (SWIG_arg_fail(1)) SWIG_fail
;
6787 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6791 arg3
= (int)(SWIG_As_int(obj2
));
6792 if (SWIG_arg_fail(3)) SWIG_fail
;
6796 if (!wxPyCheckForApp()) SWIG_fail
;
6797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6798 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
6800 wxPyEndAllowThreads(__tstate
);
6801 if (PyErr_Occurred()) SWIG_fail
;
6803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6810 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6811 PyObject
*resultobj
;
6813 wxPoint
*arg2
= (wxPoint
*) 0 ;
6814 int arg3
= (int) wxWINDING_RULE
;
6816 PyObject
* obj0
= 0 ;
6817 PyObject
* obj1
= 0 ;
6819 (char *) "points",(char *) "fillStyle", NULL
6822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
6824 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
6825 if (arg2
== NULL
) SWIG_fail
;
6829 arg3
= (int)(SWIG_As_int(obj1
));
6830 if (SWIG_arg_fail(3)) SWIG_fail
;
6834 if (!wxPyCheckForApp()) SWIG_fail
;
6835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6836 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
6838 wxPyEndAllowThreads(__tstate
);
6839 if (PyErr_Occurred()) SWIG_fail
;
6841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6843 if (arg2
) delete [] arg2
;
6848 if (arg2
) delete [] arg2
;
6854 static PyObject
*_wrap_delete_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
*resultobj
;
6856 wxRegion
*arg1
= (wxRegion
*) 0 ;
6857 PyObject
* obj0
= 0 ;
6859 (char *) "self", NULL
6862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
6863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6864 if (SWIG_arg_fail(1)) SWIG_fail
;
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6869 wxPyEndAllowThreads(__tstate
);
6870 if (PyErr_Occurred()) SWIG_fail
;
6872 Py_INCREF(Py_None
); resultobj
= Py_None
;
6879 static PyObject
*_wrap_Region_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6880 PyObject
*resultobj
;
6881 wxRegion
*arg1
= (wxRegion
*) 0 ;
6882 PyObject
* obj0
= 0 ;
6884 (char *) "self", NULL
6887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
6888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6889 if (SWIG_arg_fail(1)) SWIG_fail
;
6891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6894 wxPyEndAllowThreads(__tstate
);
6895 if (PyErr_Occurred()) SWIG_fail
;
6897 Py_INCREF(Py_None
); resultobj
= Py_None
;
6904 static PyObject
*_wrap_Region_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6905 PyObject
*resultobj
;
6906 wxRegion
*arg1
= (wxRegion
*) 0 ;
6910 PyObject
* obj0
= 0 ;
6911 PyObject
* obj1
= 0 ;
6912 PyObject
* obj2
= 0 ;
6914 (char *) "self",(char *) "x",(char *) "y", NULL
6917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6919 if (SWIG_arg_fail(1)) SWIG_fail
;
6921 arg2
= (int)(SWIG_As_int(obj1
));
6922 if (SWIG_arg_fail(2)) SWIG_fail
;
6925 arg3
= (int)(SWIG_As_int(obj2
));
6926 if (SWIG_arg_fail(3)) SWIG_fail
;
6929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6930 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
6932 wxPyEndAllowThreads(__tstate
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6944 static PyObject
*_wrap_Region_Contains(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6945 PyObject
*resultobj
;
6946 wxRegion
*arg1
= (wxRegion
*) 0 ;
6949 wxRegionContain result
;
6950 PyObject
* obj0
= 0 ;
6951 PyObject
* obj1
= 0 ;
6952 PyObject
* obj2
= 0 ;
6954 (char *) "self",(char *) "x",(char *) "y", NULL
6957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6959 if (SWIG_arg_fail(1)) SWIG_fail
;
6961 arg2
= (int)(SWIG_As_int(obj1
));
6962 if (SWIG_arg_fail(2)) SWIG_fail
;
6965 arg3
= (int)(SWIG_As_int(obj2
));
6966 if (SWIG_arg_fail(3)) SWIG_fail
;
6969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6970 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
6972 wxPyEndAllowThreads(__tstate
);
6973 if (PyErr_Occurred()) SWIG_fail
;
6975 resultobj
= SWIG_From_int((result
));
6982 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6983 PyObject
*resultobj
;
6984 wxRegion
*arg1
= (wxRegion
*) 0 ;
6986 wxRegionContain result
;
6988 PyObject
* obj0
= 0 ;
6989 PyObject
* obj1
= 0 ;
6991 (char *) "self",(char *) "pt", NULL
6994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
6995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6996 if (SWIG_arg_fail(1)) SWIG_fail
;
6999 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7003 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
7005 wxPyEndAllowThreads(__tstate
);
7006 if (PyErr_Occurred()) SWIG_fail
;
7008 resultobj
= SWIG_From_int((result
));
7015 static PyObject
*_wrap_Region_ContainsRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7016 PyObject
*resultobj
;
7017 wxRegion
*arg1
= (wxRegion
*) 0 ;
7019 wxRegionContain result
;
7021 PyObject
* obj0
= 0 ;
7022 PyObject
* obj1
= 0 ;
7024 (char *) "self",(char *) "rect", NULL
7027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7029 if (SWIG_arg_fail(1)) SWIG_fail
;
7032 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7036 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
7038 wxPyEndAllowThreads(__tstate
);
7039 if (PyErr_Occurred()) SWIG_fail
;
7041 resultobj
= SWIG_From_int((result
));
7048 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7049 PyObject
*resultobj
;
7050 wxRegion
*arg1
= (wxRegion
*) 0 ;
7055 wxRegionContain result
;
7056 PyObject
* obj0
= 0 ;
7057 PyObject
* obj1
= 0 ;
7058 PyObject
* obj2
= 0 ;
7059 PyObject
* obj3
= 0 ;
7060 PyObject
* obj4
= 0 ;
7062 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
7065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7067 if (SWIG_arg_fail(1)) SWIG_fail
;
7069 arg2
= (int)(SWIG_As_int(obj1
));
7070 if (SWIG_arg_fail(2)) SWIG_fail
;
7073 arg3
= (int)(SWIG_As_int(obj2
));
7074 if (SWIG_arg_fail(3)) SWIG_fail
;
7077 arg4
= (int)(SWIG_As_int(obj3
));
7078 if (SWIG_arg_fail(4)) SWIG_fail
;
7081 arg5
= (int)(SWIG_As_int(obj4
));
7082 if (SWIG_arg_fail(5)) SWIG_fail
;
7085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7086 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
7088 wxPyEndAllowThreads(__tstate
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7091 resultobj
= SWIG_From_int((result
));
7098 static PyObject
*_wrap_Region_GetBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7099 PyObject
*resultobj
;
7100 wxRegion
*arg1
= (wxRegion
*) 0 ;
7102 PyObject
* obj0
= 0 ;
7104 (char *) "self", NULL
7107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
7108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7109 if (SWIG_arg_fail(1)) SWIG_fail
;
7111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7112 result
= (arg1
)->GetBox();
7114 wxPyEndAllowThreads(__tstate
);
7115 if (PyErr_Occurred()) SWIG_fail
;
7119 resultptr
= new wxRect((wxRect
&)(result
));
7120 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7128 static PyObject
*_wrap_Region_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7129 PyObject
*resultobj
;
7130 wxRegion
*arg1
= (wxRegion
*) 0 ;
7136 PyObject
* obj0
= 0 ;
7137 PyObject
* obj1
= 0 ;
7138 PyObject
* obj2
= 0 ;
7139 PyObject
* obj3
= 0 ;
7140 PyObject
* obj4
= 0 ;
7142 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7147 if (SWIG_arg_fail(1)) SWIG_fail
;
7149 arg2
= (int)(SWIG_As_int(obj1
));
7150 if (SWIG_arg_fail(2)) SWIG_fail
;
7153 arg3
= (int)(SWIG_As_int(obj2
));
7154 if (SWIG_arg_fail(3)) SWIG_fail
;
7157 arg4
= (int)(SWIG_As_int(obj3
));
7158 if (SWIG_arg_fail(4)) SWIG_fail
;
7161 arg5
= (int)(SWIG_As_int(obj4
));
7162 if (SWIG_arg_fail(5)) SWIG_fail
;
7165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7166 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
7168 wxPyEndAllowThreads(__tstate
);
7169 if (PyErr_Occurred()) SWIG_fail
;
7172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7180 static PyObject
*_wrap_Region_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7181 PyObject
*resultobj
;
7182 wxRegion
*arg1
= (wxRegion
*) 0 ;
7186 PyObject
* obj0
= 0 ;
7187 PyObject
* obj1
= 0 ;
7189 (char *) "self",(char *) "rect", NULL
7192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7194 if (SWIG_arg_fail(1)) SWIG_fail
;
7197 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7201 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
7203 wxPyEndAllowThreads(__tstate
);
7204 if (PyErr_Occurred()) SWIG_fail
;
7207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7215 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7216 PyObject
*resultobj
;
7217 wxRegion
*arg1
= (wxRegion
*) 0 ;
7218 wxRegion
*arg2
= 0 ;
7220 PyObject
* obj0
= 0 ;
7221 PyObject
* obj1
= 0 ;
7223 (char *) "self",(char *) "region", NULL
7226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
7227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7228 if (SWIG_arg_fail(1)) SWIG_fail
;
7230 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7231 if (SWIG_arg_fail(2)) SWIG_fail
;
7233 SWIG_null_ref("wxRegion");
7235 if (SWIG_arg_fail(2)) SWIG_fail
;
7238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7239 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7253 static PyObject
*_wrap_Region_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7254 PyObject
*resultobj
;
7255 wxRegion
*arg1
= (wxRegion
*) 0 ;
7257 PyObject
* obj0
= 0 ;
7259 (char *) "self", NULL
7262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
7263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7264 if (SWIG_arg_fail(1)) SWIG_fail
;
7266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7267 result
= (bool)(arg1
)->IsEmpty();
7269 wxPyEndAllowThreads(__tstate
);
7270 if (PyErr_Occurred()) SWIG_fail
;
7273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7281 static PyObject
*_wrap_Region_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7282 PyObject
*resultobj
;
7283 wxRegion
*arg1
= (wxRegion
*) 0 ;
7289 PyObject
* obj0
= 0 ;
7290 PyObject
* obj1
= 0 ;
7291 PyObject
* obj2
= 0 ;
7292 PyObject
* obj3
= 0 ;
7293 PyObject
* obj4
= 0 ;
7295 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7300 if (SWIG_arg_fail(1)) SWIG_fail
;
7302 arg2
= (int)(SWIG_As_int(obj1
));
7303 if (SWIG_arg_fail(2)) SWIG_fail
;
7306 arg3
= (int)(SWIG_As_int(obj2
));
7307 if (SWIG_arg_fail(3)) SWIG_fail
;
7310 arg4
= (int)(SWIG_As_int(obj3
));
7311 if (SWIG_arg_fail(4)) SWIG_fail
;
7314 arg5
= (int)(SWIG_As_int(obj4
));
7315 if (SWIG_arg_fail(5)) SWIG_fail
;
7318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7319 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
7321 wxPyEndAllowThreads(__tstate
);
7322 if (PyErr_Occurred()) SWIG_fail
;
7325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7333 static PyObject
*_wrap_Region_UnionRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7334 PyObject
*resultobj
;
7335 wxRegion
*arg1
= (wxRegion
*) 0 ;
7339 PyObject
* obj0
= 0 ;
7340 PyObject
* obj1
= 0 ;
7342 (char *) "self",(char *) "rect", NULL
7345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7347 if (SWIG_arg_fail(1)) SWIG_fail
;
7350 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7354 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
7356 wxPyEndAllowThreads(__tstate
);
7357 if (PyErr_Occurred()) SWIG_fail
;
7360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7368 static PyObject
*_wrap_Region_UnionRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7369 PyObject
*resultobj
;
7370 wxRegion
*arg1
= (wxRegion
*) 0 ;
7371 wxRegion
*arg2
= 0 ;
7373 PyObject
* obj0
= 0 ;
7374 PyObject
* obj1
= 0 ;
7376 (char *) "self",(char *) "region", NULL
7379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
7380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7381 if (SWIG_arg_fail(1)) SWIG_fail
;
7383 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7384 if (SWIG_arg_fail(2)) SWIG_fail
;
7386 SWIG_null_ref("wxRegion");
7388 if (SWIG_arg_fail(2)) SWIG_fail
;
7391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7392 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
7394 wxPyEndAllowThreads(__tstate
);
7395 if (PyErr_Occurred()) SWIG_fail
;
7398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7406 static PyObject
*_wrap_Region_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7407 PyObject
*resultobj
;
7408 wxRegion
*arg1
= (wxRegion
*) 0 ;
7414 PyObject
* obj0
= 0 ;
7415 PyObject
* obj1
= 0 ;
7416 PyObject
* obj2
= 0 ;
7417 PyObject
* obj3
= 0 ;
7418 PyObject
* obj4
= 0 ;
7420 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7425 if (SWIG_arg_fail(1)) SWIG_fail
;
7427 arg2
= (int)(SWIG_As_int(obj1
));
7428 if (SWIG_arg_fail(2)) SWIG_fail
;
7431 arg3
= (int)(SWIG_As_int(obj2
));
7432 if (SWIG_arg_fail(3)) SWIG_fail
;
7435 arg4
= (int)(SWIG_As_int(obj3
));
7436 if (SWIG_arg_fail(4)) SWIG_fail
;
7439 arg5
= (int)(SWIG_As_int(obj4
));
7440 if (SWIG_arg_fail(5)) SWIG_fail
;
7443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7444 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
7446 wxPyEndAllowThreads(__tstate
);
7447 if (PyErr_Occurred()) SWIG_fail
;
7450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7458 static PyObject
*_wrap_Region_SubtractRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7459 PyObject
*resultobj
;
7460 wxRegion
*arg1
= (wxRegion
*) 0 ;
7464 PyObject
* obj0
= 0 ;
7465 PyObject
* obj1
= 0 ;
7467 (char *) "self",(char *) "rect", NULL
7470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7472 if (SWIG_arg_fail(1)) SWIG_fail
;
7475 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7479 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
7481 wxPyEndAllowThreads(__tstate
);
7482 if (PyErr_Occurred()) SWIG_fail
;
7485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7493 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7494 PyObject
*resultobj
;
7495 wxRegion
*arg1
= (wxRegion
*) 0 ;
7496 wxRegion
*arg2
= 0 ;
7498 PyObject
* obj0
= 0 ;
7499 PyObject
* obj1
= 0 ;
7501 (char *) "self",(char *) "region", NULL
7504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
7505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7506 if (SWIG_arg_fail(1)) SWIG_fail
;
7508 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7509 if (SWIG_arg_fail(2)) SWIG_fail
;
7511 SWIG_null_ref("wxRegion");
7513 if (SWIG_arg_fail(2)) SWIG_fail
;
7516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7517 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
7519 wxPyEndAllowThreads(__tstate
);
7520 if (PyErr_Occurred()) SWIG_fail
;
7523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7531 static PyObject
*_wrap_Region_Xor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7532 PyObject
*resultobj
;
7533 wxRegion
*arg1
= (wxRegion
*) 0 ;
7539 PyObject
* obj0
= 0 ;
7540 PyObject
* obj1
= 0 ;
7541 PyObject
* obj2
= 0 ;
7542 PyObject
* obj3
= 0 ;
7543 PyObject
* obj4
= 0 ;
7545 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7550 if (SWIG_arg_fail(1)) SWIG_fail
;
7552 arg2
= (int)(SWIG_As_int(obj1
));
7553 if (SWIG_arg_fail(2)) SWIG_fail
;
7556 arg3
= (int)(SWIG_As_int(obj2
));
7557 if (SWIG_arg_fail(3)) SWIG_fail
;
7560 arg4
= (int)(SWIG_As_int(obj3
));
7561 if (SWIG_arg_fail(4)) SWIG_fail
;
7564 arg5
= (int)(SWIG_As_int(obj4
));
7565 if (SWIG_arg_fail(5)) SWIG_fail
;
7568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7569 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
7571 wxPyEndAllowThreads(__tstate
);
7572 if (PyErr_Occurred()) SWIG_fail
;
7575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7583 static PyObject
*_wrap_Region_XorRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7584 PyObject
*resultobj
;
7585 wxRegion
*arg1
= (wxRegion
*) 0 ;
7589 PyObject
* obj0
= 0 ;
7590 PyObject
* obj1
= 0 ;
7592 (char *) "self",(char *) "rect", NULL
7595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7597 if (SWIG_arg_fail(1)) SWIG_fail
;
7600 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7604 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
7606 wxPyEndAllowThreads(__tstate
);
7607 if (PyErr_Occurred()) SWIG_fail
;
7610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7618 static PyObject
*_wrap_Region_XorRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7619 PyObject
*resultobj
;
7620 wxRegion
*arg1
= (wxRegion
*) 0 ;
7621 wxRegion
*arg2
= 0 ;
7623 PyObject
* obj0
= 0 ;
7624 PyObject
* obj1
= 0 ;
7626 (char *) "self",(char *) "region", NULL
7629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
7630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7631 if (SWIG_arg_fail(1)) SWIG_fail
;
7633 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7634 if (SWIG_arg_fail(2)) SWIG_fail
;
7636 SWIG_null_ref("wxRegion");
7638 if (SWIG_arg_fail(2)) SWIG_fail
;
7641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7642 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
7644 wxPyEndAllowThreads(__tstate
);
7645 if (PyErr_Occurred()) SWIG_fail
;
7648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7656 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7657 PyObject
*resultobj
;
7658 wxRegion
*arg1
= (wxRegion
*) 0 ;
7659 SwigValueWrapper
<wxBitmap
> result
;
7660 PyObject
* obj0
= 0 ;
7662 (char *) "self", NULL
7665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
7666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7667 if (SWIG_arg_fail(1)) SWIG_fail
;
7669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7670 result
= (arg1
)->ConvertToBitmap();
7672 wxPyEndAllowThreads(__tstate
);
7673 if (PyErr_Occurred()) SWIG_fail
;
7676 wxBitmap
* resultptr
;
7677 resultptr
= new wxBitmap((wxBitmap
&)(result
));
7678 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
7686 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7687 PyObject
*resultobj
;
7688 wxRegion
*arg1
= (wxRegion
*) 0 ;
7689 wxBitmap
*arg2
= 0 ;
7691 PyObject
* obj0
= 0 ;
7692 PyObject
* obj1
= 0 ;
7694 (char *) "self",(char *) "bmp", NULL
7697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7699 if (SWIG_arg_fail(1)) SWIG_fail
;
7701 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7702 if (SWIG_arg_fail(2)) SWIG_fail
;
7704 SWIG_null_ref("wxBitmap");
7706 if (SWIG_arg_fail(2)) SWIG_fail
;
7709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7710 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
7712 wxPyEndAllowThreads(__tstate
);
7713 if (PyErr_Occurred()) SWIG_fail
;
7716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7724 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7725 PyObject
*resultobj
;
7726 wxRegion
*arg1
= (wxRegion
*) 0 ;
7727 wxBitmap
*arg2
= 0 ;
7728 wxColour
*arg3
= 0 ;
7729 int arg4
= (int) 0 ;
7732 PyObject
* obj0
= 0 ;
7733 PyObject
* obj1
= 0 ;
7734 PyObject
* obj2
= 0 ;
7735 PyObject
* obj3
= 0 ;
7737 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
7740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7742 if (SWIG_arg_fail(1)) SWIG_fail
;
7744 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7745 if (SWIG_arg_fail(2)) SWIG_fail
;
7747 SWIG_null_ref("wxBitmap");
7749 if (SWIG_arg_fail(2)) SWIG_fail
;
7753 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
7757 arg4
= (int)(SWIG_As_int(obj3
));
7758 if (SWIG_arg_fail(4)) SWIG_fail
;
7762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7763 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
7765 wxPyEndAllowThreads(__tstate
);
7766 if (PyErr_Occurred()) SWIG_fail
;
7769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7777 static PyObject
* Region_swigregister(PyObject
*, PyObject
*args
) {
7779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7780 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
7782 return Py_BuildValue((char *)"");
7784 static PyObject
*_wrap_new_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
;
7786 wxRegion
*arg1
= 0 ;
7787 wxRegionIterator
*result
;
7788 PyObject
* obj0
= 0 ;
7790 (char *) "region", NULL
7793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
7795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7796 if (SWIG_arg_fail(1)) SWIG_fail
;
7798 SWIG_null_ref("wxRegion");
7800 if (SWIG_arg_fail(1)) SWIG_fail
;
7803 if (!wxPyCheckForApp()) SWIG_fail
;
7804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7805 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
7807 wxPyEndAllowThreads(__tstate
);
7808 if (PyErr_Occurred()) SWIG_fail
;
7810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
7817 static PyObject
*_wrap_delete_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7818 PyObject
*resultobj
;
7819 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7820 PyObject
* obj0
= 0 ;
7822 (char *) "self", NULL
7825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
7826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7827 if (SWIG_arg_fail(1)) SWIG_fail
;
7829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7832 wxPyEndAllowThreads(__tstate
);
7833 if (PyErr_Occurred()) SWIG_fail
;
7835 Py_INCREF(Py_None
); resultobj
= Py_None
;
7842 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7843 PyObject
*resultobj
;
7844 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7846 PyObject
* obj0
= 0 ;
7848 (char *) "self", NULL
7851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
7852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7853 if (SWIG_arg_fail(1)) SWIG_fail
;
7855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7856 result
= (int)(arg1
)->GetX();
7858 wxPyEndAllowThreads(__tstate
);
7859 if (PyErr_Occurred()) SWIG_fail
;
7862 resultobj
= SWIG_From_int((int)(result
));
7870 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7871 PyObject
*resultobj
;
7872 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7874 PyObject
* obj0
= 0 ;
7876 (char *) "self", NULL
7879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
7880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7881 if (SWIG_arg_fail(1)) SWIG_fail
;
7883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7884 result
= (int)(arg1
)->GetY();
7886 wxPyEndAllowThreads(__tstate
);
7887 if (PyErr_Occurred()) SWIG_fail
;
7890 resultobj
= SWIG_From_int((int)(result
));
7898 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7899 PyObject
*resultobj
;
7900 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7902 PyObject
* obj0
= 0 ;
7904 (char *) "self", NULL
7907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
7908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7909 if (SWIG_arg_fail(1)) SWIG_fail
;
7911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7912 result
= (int)(arg1
)->GetW();
7914 wxPyEndAllowThreads(__tstate
);
7915 if (PyErr_Occurred()) SWIG_fail
;
7918 resultobj
= SWIG_From_int((int)(result
));
7926 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7927 PyObject
*resultobj
;
7928 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7930 PyObject
* obj0
= 0 ;
7932 (char *) "self", NULL
7935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
7936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7937 if (SWIG_arg_fail(1)) SWIG_fail
;
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 result
= (int)(arg1
)->GetWidth();
7942 wxPyEndAllowThreads(__tstate
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7946 resultobj
= SWIG_From_int((int)(result
));
7954 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7955 PyObject
*resultobj
;
7956 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7958 PyObject
* obj0
= 0 ;
7960 (char *) "self", NULL
7963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
7964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7965 if (SWIG_arg_fail(1)) SWIG_fail
;
7967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7968 result
= (int)(arg1
)->GetH();
7970 wxPyEndAllowThreads(__tstate
);
7971 if (PyErr_Occurred()) SWIG_fail
;
7974 resultobj
= SWIG_From_int((int)(result
));
7982 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7983 PyObject
*resultobj
;
7984 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7986 PyObject
* obj0
= 0 ;
7988 (char *) "self", NULL
7991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
7992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7993 if (SWIG_arg_fail(1)) SWIG_fail
;
7995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7996 result
= (int)(arg1
)->GetHeight();
7998 wxPyEndAllowThreads(__tstate
);
7999 if (PyErr_Occurred()) SWIG_fail
;
8002 resultobj
= SWIG_From_int((int)(result
));
8010 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
*resultobj
;
8012 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8014 PyObject
* obj0
= 0 ;
8016 (char *) "self", NULL
8019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
8020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8021 if (SWIG_arg_fail(1)) SWIG_fail
;
8023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8024 result
= (arg1
)->GetRect();
8026 wxPyEndAllowThreads(__tstate
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8031 resultptr
= new wxRect((wxRect
&)(result
));
8032 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8040 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8041 PyObject
*resultobj
;
8042 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8044 PyObject
* obj0
= 0 ;
8046 (char *) "self", NULL
8049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
8050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8051 if (SWIG_arg_fail(1)) SWIG_fail
;
8053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8054 result
= (bool)(arg1
)->HaveRects();
8056 wxPyEndAllowThreads(__tstate
);
8057 if (PyErr_Occurred()) SWIG_fail
;
8060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8068 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8069 PyObject
*resultobj
;
8070 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8071 PyObject
* obj0
= 0 ;
8073 (char *) "self", NULL
8076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
8077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8078 if (SWIG_arg_fail(1)) SWIG_fail
;
8080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8083 wxPyEndAllowThreads(__tstate
);
8084 if (PyErr_Occurred()) SWIG_fail
;
8086 Py_INCREF(Py_None
); resultobj
= Py_None
;
8093 static PyObject
*_wrap_RegionIterator_Next(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8094 PyObject
*resultobj
;
8095 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8096 PyObject
* obj0
= 0 ;
8098 (char *) "self", NULL
8101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
8102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8103 if (SWIG_arg_fail(1)) SWIG_fail
;
8105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8106 wxRegionIterator_Next(arg1
);
8108 wxPyEndAllowThreads(__tstate
);
8109 if (PyErr_Occurred()) SWIG_fail
;
8111 Py_INCREF(Py_None
); resultobj
= Py_None
;
8118 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8119 PyObject
*resultobj
;
8120 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8122 PyObject
* obj0
= 0 ;
8124 (char *) "self", NULL
8127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
8128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8129 if (SWIG_arg_fail(1)) SWIG_fail
;
8131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8132 result
= (bool)wxRegionIterator___nonzero__(arg1
);
8134 wxPyEndAllowThreads(__tstate
);
8135 if (PyErr_Occurred()) SWIG_fail
;
8138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8146 static PyObject
* RegionIterator_swigregister(PyObject
*, PyObject
*args
) {
8148 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8149 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
8151 return Py_BuildValue((char *)"");
8153 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8154 PyObject
*resultobj
;
8155 wxNativeFontInfo
*result
;
8160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
8162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8163 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
8165 wxPyEndAllowThreads(__tstate
);
8166 if (PyErr_Occurred()) SWIG_fail
;
8168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
8175 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8176 PyObject
*resultobj
;
8177 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8178 PyObject
* obj0
= 0 ;
8180 (char *) "self", NULL
8183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
8184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8185 if (SWIG_arg_fail(1)) SWIG_fail
;
8187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8190 wxPyEndAllowThreads(__tstate
);
8191 if (PyErr_Occurred()) SWIG_fail
;
8193 Py_INCREF(Py_None
); resultobj
= Py_None
;
8200 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8201 PyObject
*resultobj
;
8202 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8203 PyObject
* obj0
= 0 ;
8205 (char *) "self", NULL
8208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
8209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8210 if (SWIG_arg_fail(1)) SWIG_fail
;
8212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8215 wxPyEndAllowThreads(__tstate
);
8216 if (PyErr_Occurred()) SWIG_fail
;
8218 Py_INCREF(Py_None
); resultobj
= Py_None
;
8225 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8226 PyObject
*resultobj
;
8227 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8229 PyObject
* obj0
= 0 ;
8230 PyObject
* obj1
= 0 ;
8232 (char *) "self",(char *) "font", NULL
8235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
8236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8237 if (SWIG_arg_fail(1)) SWIG_fail
;
8239 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8240 if (SWIG_arg_fail(2)) SWIG_fail
;
8242 SWIG_null_ref("wxFont");
8244 if (SWIG_arg_fail(2)) SWIG_fail
;
8247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8248 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
8250 wxPyEndAllowThreads(__tstate
);
8251 if (PyErr_Occurred()) SWIG_fail
;
8253 Py_INCREF(Py_None
); resultobj
= Py_None
;
8260 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8261 PyObject
*resultobj
;
8262 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8264 PyObject
* obj0
= 0 ;
8266 (char *) "self", NULL
8269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
8270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8271 if (SWIG_arg_fail(1)) SWIG_fail
;
8273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8274 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
8276 wxPyEndAllowThreads(__tstate
);
8277 if (PyErr_Occurred()) SWIG_fail
;
8280 resultobj
= SWIG_From_int((int)(result
));
8288 static PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8289 PyObject
*resultobj
;
8290 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8292 PyObject
* obj0
= 0 ;
8294 (char *) "self", NULL
8297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPixelSize",kwnames
,&obj0
)) goto fail
;
8298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8299 if (SWIG_arg_fail(1)) SWIG_fail
;
8301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8302 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
8304 wxPyEndAllowThreads(__tstate
);
8305 if (PyErr_Occurred()) SWIG_fail
;
8309 resultptr
= new wxSize((wxSize
&)(result
));
8310 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8318 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8319 PyObject
*resultobj
;
8320 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8322 PyObject
* obj0
= 0 ;
8324 (char *) "self", NULL
8327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
8328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8329 if (SWIG_arg_fail(1)) SWIG_fail
;
8331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8332 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
8334 wxPyEndAllowThreads(__tstate
);
8335 if (PyErr_Occurred()) SWIG_fail
;
8337 resultobj
= SWIG_From_int((result
));
8344 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8345 PyObject
*resultobj
;
8346 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8347 wxFontWeight result
;
8348 PyObject
* obj0
= 0 ;
8350 (char *) "self", NULL
8353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
8354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8355 if (SWIG_arg_fail(1)) SWIG_fail
;
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8358 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
8360 wxPyEndAllowThreads(__tstate
);
8361 if (PyErr_Occurred()) SWIG_fail
;
8363 resultobj
= SWIG_From_int((result
));
8370 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8371 PyObject
*resultobj
;
8372 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8374 PyObject
* obj0
= 0 ;
8376 (char *) "self", NULL
8379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
8380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8381 if (SWIG_arg_fail(1)) SWIG_fail
;
8383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8384 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
8386 wxPyEndAllowThreads(__tstate
);
8387 if (PyErr_Occurred()) SWIG_fail
;
8390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8398 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8399 PyObject
*resultobj
;
8400 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8402 PyObject
* obj0
= 0 ;
8404 (char *) "self", NULL
8407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
8408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8409 if (SWIG_arg_fail(1)) SWIG_fail
;
8411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8412 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
8414 wxPyEndAllowThreads(__tstate
);
8415 if (PyErr_Occurred()) SWIG_fail
;
8419 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8421 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8430 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8431 PyObject
*resultobj
;
8432 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8433 wxFontFamily result
;
8434 PyObject
* obj0
= 0 ;
8436 (char *) "self", NULL
8439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
8440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8441 if (SWIG_arg_fail(1)) SWIG_fail
;
8443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8444 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
8446 wxPyEndAllowThreads(__tstate
);
8447 if (PyErr_Occurred()) SWIG_fail
;
8449 resultobj
= SWIG_From_int((result
));
8456 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8457 PyObject
*resultobj
;
8458 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8459 wxFontEncoding result
;
8460 PyObject
* obj0
= 0 ;
8462 (char *) "self", NULL
8465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
8466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8467 if (SWIG_arg_fail(1)) SWIG_fail
;
8469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8470 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
8472 wxPyEndAllowThreads(__tstate
);
8473 if (PyErr_Occurred()) SWIG_fail
;
8475 resultobj
= SWIG_From_int((result
));
8482 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8483 PyObject
*resultobj
;
8484 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8486 PyObject
* obj0
= 0 ;
8487 PyObject
* obj1
= 0 ;
8489 (char *) "self",(char *) "pointsize", NULL
8492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8494 if (SWIG_arg_fail(1)) SWIG_fail
;
8496 arg2
= (int)(SWIG_As_int(obj1
));
8497 if (SWIG_arg_fail(2)) SWIG_fail
;
8500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8501 (arg1
)->SetPointSize(arg2
);
8503 wxPyEndAllowThreads(__tstate
);
8504 if (PyErr_Occurred()) SWIG_fail
;
8506 Py_INCREF(Py_None
); resultobj
= Py_None
;
8513 static PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8514 PyObject
*resultobj
;
8515 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8518 PyObject
* obj0
= 0 ;
8519 PyObject
* obj1
= 0 ;
8521 (char *) "self",(char *) "pixelSize", NULL
8524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8526 if (SWIG_arg_fail(1)) SWIG_fail
;
8529 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8533 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
8535 wxPyEndAllowThreads(__tstate
);
8536 if (PyErr_Occurred()) SWIG_fail
;
8538 Py_INCREF(Py_None
); resultobj
= Py_None
;
8545 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8546 PyObject
*resultobj
;
8547 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8549 PyObject
* obj0
= 0 ;
8550 PyObject
* obj1
= 0 ;
8552 (char *) "self",(char *) "style", NULL
8555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8557 if (SWIG_arg_fail(1)) SWIG_fail
;
8559 arg2
= (wxFontStyle
)(SWIG_As_int(obj1
));
8560 if (SWIG_arg_fail(2)) SWIG_fail
;
8563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8564 (arg1
)->SetStyle((wxFontStyle
)arg2
);
8566 wxPyEndAllowThreads(__tstate
);
8567 if (PyErr_Occurred()) SWIG_fail
;
8569 Py_INCREF(Py_None
); resultobj
= Py_None
;
8576 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8577 PyObject
*resultobj
;
8578 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8580 PyObject
* obj0
= 0 ;
8581 PyObject
* obj1
= 0 ;
8583 (char *) "self",(char *) "weight", NULL
8586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8588 if (SWIG_arg_fail(1)) SWIG_fail
;
8590 arg2
= (wxFontWeight
)(SWIG_As_int(obj1
));
8591 if (SWIG_arg_fail(2)) SWIG_fail
;
8594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8595 (arg1
)->SetWeight((wxFontWeight
)arg2
);
8597 wxPyEndAllowThreads(__tstate
);
8598 if (PyErr_Occurred()) SWIG_fail
;
8600 Py_INCREF(Py_None
); resultobj
= Py_None
;
8607 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8608 PyObject
*resultobj
;
8609 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8611 PyObject
* obj0
= 0 ;
8612 PyObject
* obj1
= 0 ;
8614 (char *) "self",(char *) "underlined", NULL
8617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8619 if (SWIG_arg_fail(1)) SWIG_fail
;
8621 arg2
= (bool)(SWIG_As_bool(obj1
));
8622 if (SWIG_arg_fail(2)) SWIG_fail
;
8625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8626 (arg1
)->SetUnderlined(arg2
);
8628 wxPyEndAllowThreads(__tstate
);
8629 if (PyErr_Occurred()) SWIG_fail
;
8631 Py_INCREF(Py_None
); resultobj
= Py_None
;
8638 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8639 PyObject
*resultobj
;
8640 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8642 PyObject
* obj0
= 0 ;
8643 PyObject
* obj1
= 0 ;
8645 (char *) "self",(char *) "facename", NULL
8648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8650 if (SWIG_arg_fail(1)) SWIG_fail
;
8652 wxString
* sptr
= wxString_in_helper(obj1
);
8653 if (sptr
== NULL
) SWIG_fail
;
8658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8659 (arg1
)->SetFaceName(arg2
);
8661 wxPyEndAllowThreads(__tstate
);
8662 if (PyErr_Occurred()) SWIG_fail
;
8664 Py_INCREF(Py_None
); resultobj
= Py_None
;
8671 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8672 PyObject
*resultobj
;
8673 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8675 PyObject
* obj0
= 0 ;
8676 PyObject
* obj1
= 0 ;
8678 (char *) "self",(char *) "family", NULL
8681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8683 if (SWIG_arg_fail(1)) SWIG_fail
;
8685 arg2
= (wxFontFamily
)(SWIG_As_int(obj1
));
8686 if (SWIG_arg_fail(2)) SWIG_fail
;
8689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8690 (arg1
)->SetFamily((wxFontFamily
)arg2
);
8692 wxPyEndAllowThreads(__tstate
);
8693 if (PyErr_Occurred()) SWIG_fail
;
8695 Py_INCREF(Py_None
); resultobj
= Py_None
;
8702 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8703 PyObject
*resultobj
;
8704 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8705 wxFontEncoding arg2
;
8706 PyObject
* obj0
= 0 ;
8707 PyObject
* obj1
= 0 ;
8709 (char *) "self",(char *) "encoding", NULL
8712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8714 if (SWIG_arg_fail(1)) SWIG_fail
;
8716 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
8717 if (SWIG_arg_fail(2)) SWIG_fail
;
8720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8721 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8723 wxPyEndAllowThreads(__tstate
);
8724 if (PyErr_Occurred()) SWIG_fail
;
8726 Py_INCREF(Py_None
); resultobj
= Py_None
;
8733 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8734 PyObject
*resultobj
;
8735 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8736 wxString
*arg2
= 0 ;
8738 bool temp2
= false ;
8739 PyObject
* obj0
= 0 ;
8740 PyObject
* obj1
= 0 ;
8742 (char *) "self",(char *) "s", NULL
8745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8747 if (SWIG_arg_fail(1)) SWIG_fail
;
8749 arg2
= wxString_in_helper(obj1
);
8750 if (arg2
== NULL
) SWIG_fail
;
8754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8755 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
8757 wxPyEndAllowThreads(__tstate
);
8758 if (PyErr_Occurred()) SWIG_fail
;
8761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8777 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8778 PyObject
*resultobj
;
8779 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8781 PyObject
* obj0
= 0 ;
8783 (char *) "self", NULL
8786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
8787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8788 if (SWIG_arg_fail(1)) SWIG_fail
;
8790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8791 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
8793 wxPyEndAllowThreads(__tstate
);
8794 if (PyErr_Occurred()) SWIG_fail
;
8798 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8800 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8809 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8810 PyObject
*resultobj
;
8811 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8813 PyObject
* obj0
= 0 ;
8815 (char *) "self", NULL
8818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
8819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8820 if (SWIG_arg_fail(1)) SWIG_fail
;
8822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8823 result
= wxNativeFontInfo___str__(arg1
);
8825 wxPyEndAllowThreads(__tstate
);
8826 if (PyErr_Occurred()) SWIG_fail
;
8830 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8832 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8841 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8842 PyObject
*resultobj
;
8843 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8844 wxString
*arg2
= 0 ;
8846 bool temp2
= false ;
8847 PyObject
* obj0
= 0 ;
8848 PyObject
* obj1
= 0 ;
8850 (char *) "self",(char *) "s", NULL
8853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
8854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8855 if (SWIG_arg_fail(1)) SWIG_fail
;
8857 arg2
= wxString_in_helper(obj1
);
8858 if (arg2
== NULL
) SWIG_fail
;
8862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8863 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
8865 wxPyEndAllowThreads(__tstate
);
8866 if (PyErr_Occurred()) SWIG_fail
;
8869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8885 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8886 PyObject
*resultobj
;
8887 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8889 PyObject
* obj0
= 0 ;
8891 (char *) "self", NULL
8894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
8895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8896 if (SWIG_arg_fail(1)) SWIG_fail
;
8898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8899 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
8901 wxPyEndAllowThreads(__tstate
);
8902 if (PyErr_Occurred()) SWIG_fail
;
8906 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8908 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8917 static PyObject
* NativeFontInfo_swigregister(PyObject
*, PyObject
*args
) {
8919 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8920 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
8922 return Py_BuildValue((char *)"");
8924 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8925 PyObject
*resultobj
;
8926 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8927 wxString
*arg2
= (wxString
*) 0 ;
8928 bool temp2
= false ;
8929 PyObject
* obj0
= 0 ;
8930 PyObject
* obj1
= 0 ;
8932 (char *) "self",(char *) "facename", NULL
8935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8937 if (SWIG_arg_fail(1)) SWIG_fail
;
8939 arg2
= wxString_in_helper(obj1
);
8940 if (arg2
== NULL
) SWIG_fail
;
8943 if (arg1
) (arg1
)->facename
= *arg2
;
8945 Py_INCREF(Py_None
); resultobj
= Py_None
;
8960 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8961 PyObject
*resultobj
;
8962 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8964 PyObject
* obj0
= 0 ;
8966 (char *) "self", NULL
8969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
8970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8971 if (SWIG_arg_fail(1)) SWIG_fail
;
8972 result
= (wxString
*)& ((arg1
)->facename
);
8976 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8978 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8987 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8988 PyObject
*resultobj
;
8989 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8990 wxFontEncoding arg2
;
8991 PyObject
* obj0
= 0 ;
8992 PyObject
* obj1
= 0 ;
8994 (char *) "self",(char *) "encoding", NULL
8997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8999 if (SWIG_arg_fail(1)) SWIG_fail
;
9001 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
9002 if (SWIG_arg_fail(2)) SWIG_fail
;
9004 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
9006 Py_INCREF(Py_None
); resultobj
= Py_None
;
9013 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9014 PyObject
*resultobj
;
9015 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
9016 wxFontEncoding result
;
9017 PyObject
* obj0
= 0 ;
9019 (char *) "self", NULL
9022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
9023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
9024 if (SWIG_arg_fail(1)) SWIG_fail
;
9025 result
= (wxFontEncoding
) ((arg1
)->encoding
);
9027 resultobj
= SWIG_From_int((result
));
9034 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9035 PyObject
*resultobj
;
9036 wxNativeEncodingInfo
*result
;
9041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
9043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9044 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
9046 wxPyEndAllowThreads(__tstate
);
9047 if (PyErr_Occurred()) SWIG_fail
;
9049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
9056 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9057 PyObject
*resultobj
;
9058 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
9059 PyObject
* obj0
= 0 ;
9061 (char *) "self", NULL
9064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
9065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
9066 if (SWIG_arg_fail(1)) SWIG_fail
;
9068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9071 wxPyEndAllowThreads(__tstate
);
9072 if (PyErr_Occurred()) SWIG_fail
;
9074 Py_INCREF(Py_None
); resultobj
= Py_None
;
9081 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9082 PyObject
*resultobj
;
9083 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
9084 wxString
*arg2
= 0 ;
9086 bool temp2
= false ;
9087 PyObject
* obj0
= 0 ;
9088 PyObject
* obj1
= 0 ;
9090 (char *) "self",(char *) "s", NULL
9093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
9094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
9095 if (SWIG_arg_fail(1)) SWIG_fail
;
9097 arg2
= wxString_in_helper(obj1
);
9098 if (arg2
== NULL
) SWIG_fail
;
9102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9103 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
9105 wxPyEndAllowThreads(__tstate
);
9106 if (PyErr_Occurred()) SWIG_fail
;
9109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9125 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9126 PyObject
*resultobj
;
9127 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
9129 PyObject
* obj0
= 0 ;
9131 (char *) "self", NULL
9134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
9135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
9136 if (SWIG_arg_fail(1)) SWIG_fail
;
9138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9139 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
9141 wxPyEndAllowThreads(__tstate
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9146 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9148 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9157 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*, PyObject
*args
) {
9159 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9160 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
9162 return Py_BuildValue((char *)"");
9164 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9165 PyObject
*resultobj
;
9166 wxFontEncoding arg1
;
9167 wxNativeEncodingInfo
*result
;
9168 PyObject
* obj0
= 0 ;
9170 (char *) "encoding", NULL
9173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
9175 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
9176 if (SWIG_arg_fail(1)) SWIG_fail
;
9179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9180 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
9182 wxPyEndAllowThreads(__tstate
);
9183 if (PyErr_Occurred()) SWIG_fail
;
9185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
9192 static PyObject
*_wrap_TestFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9193 PyObject
*resultobj
;
9194 wxNativeEncodingInfo
*arg1
= 0 ;
9196 PyObject
* obj0
= 0 ;
9198 (char *) "info", NULL
9201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
9203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
9204 if (SWIG_arg_fail(1)) SWIG_fail
;
9206 SWIG_null_ref("wxNativeEncodingInfo");
9208 if (SWIG_arg_fail(1)) SWIG_fail
;
9211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9212 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
9214 wxPyEndAllowThreads(__tstate
);
9215 if (PyErr_Occurred()) SWIG_fail
;
9218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9226 static PyObject
*_wrap_new_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9227 PyObject
*resultobj
;
9228 wxFontMapper
*result
;
9233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
9235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9236 result
= (wxFontMapper
*)new wxFontMapper();
9238 wxPyEndAllowThreads(__tstate
);
9239 if (PyErr_Occurred()) SWIG_fail
;
9241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
9248 static PyObject
*_wrap_delete_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9249 PyObject
*resultobj
;
9250 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9251 PyObject
* obj0
= 0 ;
9253 (char *) "self", NULL
9256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
9257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9258 if (SWIG_arg_fail(1)) SWIG_fail
;
9260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9263 wxPyEndAllowThreads(__tstate
);
9264 if (PyErr_Occurred()) SWIG_fail
;
9266 Py_INCREF(Py_None
); resultobj
= Py_None
;
9273 static PyObject
*_wrap_FontMapper_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9274 PyObject
*resultobj
;
9275 wxFontMapper
*result
;
9280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
9282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9283 result
= (wxFontMapper
*)wxFontMapper::Get();
9285 wxPyEndAllowThreads(__tstate
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
9295 static PyObject
*_wrap_FontMapper_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9296 PyObject
*resultobj
;
9297 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9298 wxFontMapper
*result
;
9299 PyObject
* obj0
= 0 ;
9301 (char *) "mapper", NULL
9304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
9305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9306 if (SWIG_arg_fail(1)) SWIG_fail
;
9308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9309 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
9311 wxPyEndAllowThreads(__tstate
);
9312 if (PyErr_Occurred()) SWIG_fail
;
9314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
9321 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9322 PyObject
*resultobj
;
9323 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9324 wxString
*arg2
= 0 ;
9325 bool arg3
= (bool) true ;
9326 wxFontEncoding result
;
9327 bool temp2
= false ;
9328 PyObject
* obj0
= 0 ;
9329 PyObject
* obj1
= 0 ;
9330 PyObject
* obj2
= 0 ;
9332 (char *) "self",(char *) "charset",(char *) "interactive", NULL
9335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9337 if (SWIG_arg_fail(1)) SWIG_fail
;
9339 arg2
= wxString_in_helper(obj1
);
9340 if (arg2
== NULL
) SWIG_fail
;
9345 arg3
= (bool)(SWIG_As_bool(obj2
));
9346 if (SWIG_arg_fail(3)) SWIG_fail
;
9350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9351 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
9353 wxPyEndAllowThreads(__tstate
);
9354 if (PyErr_Occurred()) SWIG_fail
;
9356 resultobj
= SWIG_From_int((result
));
9371 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9372 PyObject
*resultobj
;
9378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
9380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9381 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
9383 wxPyEndAllowThreads(__tstate
);
9384 if (PyErr_Occurred()) SWIG_fail
;
9387 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9395 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9396 PyObject
*resultobj
;
9398 wxFontEncoding result
;
9399 PyObject
* obj0
= 0 ;
9404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
9406 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
9407 if (SWIG_arg_fail(1)) SWIG_fail
;
9410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9411 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
9413 wxPyEndAllowThreads(__tstate
);
9414 if (PyErr_Occurred()) SWIG_fail
;
9416 resultobj
= SWIG_From_int((result
));
9423 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9424 PyObject
*resultobj
;
9425 wxFontEncoding arg1
;
9427 PyObject
* obj0
= 0 ;
9429 (char *) "encoding", NULL
9432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
9434 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
9435 if (SWIG_arg_fail(1)) SWIG_fail
;
9438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9439 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
9441 wxPyEndAllowThreads(__tstate
);
9442 if (PyErr_Occurred()) SWIG_fail
;
9446 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9448 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9457 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9458 PyObject
*resultobj
;
9459 wxFontEncoding arg1
;
9461 PyObject
* obj0
= 0 ;
9463 (char *) "encoding", NULL
9466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
9468 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
9469 if (SWIG_arg_fail(1)) SWIG_fail
;
9472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9473 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
9475 wxPyEndAllowThreads(__tstate
);
9476 if (PyErr_Occurred()) SWIG_fail
;
9480 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9482 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9491 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9492 PyObject
*resultobj
;
9493 wxString
*arg1
= 0 ;
9494 wxFontEncoding result
;
9495 bool temp1
= false ;
9496 PyObject
* obj0
= 0 ;
9498 (char *) "name", NULL
9501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
9503 arg1
= wxString_in_helper(obj0
);
9504 if (arg1
== NULL
) SWIG_fail
;
9508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9509 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
9511 wxPyEndAllowThreads(__tstate
);
9512 if (PyErr_Occurred()) SWIG_fail
;
9514 resultobj
= SWIG_From_int((result
));
9529 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9530 PyObject
*resultobj
;
9531 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9532 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
9533 PyObject
* obj0
= 0 ;
9534 PyObject
* obj1
= 0 ;
9536 (char *) "self",(char *) "config", NULL
9539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
9540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9541 if (SWIG_arg_fail(1)) SWIG_fail
;
9542 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
9543 if (SWIG_arg_fail(2)) SWIG_fail
;
9545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9546 (arg1
)->SetConfig(arg2
);
9548 wxPyEndAllowThreads(__tstate
);
9549 if (PyErr_Occurred()) SWIG_fail
;
9551 Py_INCREF(Py_None
); resultobj
= Py_None
;
9558 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9559 PyObject
*resultobj
;
9560 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9561 wxString
*arg2
= 0 ;
9562 bool temp2
= false ;
9563 PyObject
* obj0
= 0 ;
9564 PyObject
* obj1
= 0 ;
9566 (char *) "self",(char *) "prefix", NULL
9569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
9570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9571 if (SWIG_arg_fail(1)) SWIG_fail
;
9573 arg2
= wxString_in_helper(obj1
);
9574 if (arg2
== NULL
) SWIG_fail
;
9578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9579 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
9581 wxPyEndAllowThreads(__tstate
);
9582 if (PyErr_Occurred()) SWIG_fail
;
9584 Py_INCREF(Py_None
); resultobj
= Py_None
;
9599 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9600 PyObject
*resultobj
;
9606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
9608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9609 result
= wxFontMapper::GetDefaultConfigPath();
9611 wxPyEndAllowThreads(__tstate
);
9612 if (PyErr_Occurred()) SWIG_fail
;
9616 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9618 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9627 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9628 PyObject
*resultobj
;
9629 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9630 wxFontEncoding arg2
;
9631 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9632 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9633 bool arg4
= (bool) true ;
9635 bool temp3
= false ;
9636 PyObject
* obj0
= 0 ;
9637 PyObject
* obj1
= 0 ;
9638 PyObject
* obj2
= 0 ;
9639 PyObject
* obj3
= 0 ;
9641 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
9644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9646 if (SWIG_arg_fail(1)) SWIG_fail
;
9648 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
9649 if (SWIG_arg_fail(2)) SWIG_fail
;
9653 arg3
= wxString_in_helper(obj2
);
9654 if (arg3
== NULL
) SWIG_fail
;
9660 arg4
= (bool)(SWIG_As_bool(obj3
));
9661 if (SWIG_arg_fail(4)) SWIG_fail
;
9665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9666 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
9668 wxPyEndAllowThreads(__tstate
);
9669 if (PyErr_Occurred()) SWIG_fail
;
9686 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9687 PyObject
*resultobj
;
9688 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9689 wxFontEncoding arg2
;
9690 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9691 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9693 bool temp3
= false ;
9694 PyObject
* obj0
= 0 ;
9695 PyObject
* obj1
= 0 ;
9696 PyObject
* obj2
= 0 ;
9698 (char *) "self",(char *) "encoding",(char *) "facename", NULL
9701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9703 if (SWIG_arg_fail(1)) SWIG_fail
;
9705 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
9706 if (SWIG_arg_fail(2)) SWIG_fail
;
9710 arg3
= wxString_in_helper(obj2
);
9711 if (arg3
== NULL
) SWIG_fail
;
9716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9717 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
9719 wxPyEndAllowThreads(__tstate
);
9720 if (PyErr_Occurred()) SWIG_fail
;
9723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9739 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9740 PyObject
*resultobj
;
9741 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9742 wxWindow
*arg2
= (wxWindow
*) 0 ;
9743 PyObject
* obj0
= 0 ;
9744 PyObject
* obj1
= 0 ;
9746 (char *) "self",(char *) "parent", NULL
9749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
9750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9751 if (SWIG_arg_fail(1)) SWIG_fail
;
9752 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9753 if (SWIG_arg_fail(2)) SWIG_fail
;
9755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9756 (arg1
)->SetDialogParent(arg2
);
9758 wxPyEndAllowThreads(__tstate
);
9759 if (PyErr_Occurred()) SWIG_fail
;
9761 Py_INCREF(Py_None
); resultobj
= Py_None
;
9768 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9769 PyObject
*resultobj
;
9770 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9771 wxString
*arg2
= 0 ;
9772 bool temp2
= false ;
9773 PyObject
* obj0
= 0 ;
9774 PyObject
* obj1
= 0 ;
9776 (char *) "self",(char *) "title", NULL
9779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
9780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9781 if (SWIG_arg_fail(1)) SWIG_fail
;
9783 arg2
= wxString_in_helper(obj1
);
9784 if (arg2
== NULL
) SWIG_fail
;
9788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9789 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
9791 wxPyEndAllowThreads(__tstate
);
9792 if (PyErr_Occurred()) SWIG_fail
;
9794 Py_INCREF(Py_None
); resultobj
= Py_None
;
9809 static PyObject
* FontMapper_swigregister(PyObject
*, PyObject
*args
) {
9811 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9812 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
9814 return Py_BuildValue((char *)"");
9816 static PyObject
*_wrap_new_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9817 PyObject
*resultobj
;
9822 bool arg5
= (bool) false ;
9823 wxString
const &arg6_defvalue
= wxPyEmptyString
;
9824 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9825 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9827 bool temp6
= false ;
9828 PyObject
* obj0
= 0 ;
9829 PyObject
* obj1
= 0 ;
9830 PyObject
* obj2
= 0 ;
9831 PyObject
* obj3
= 0 ;
9832 PyObject
* obj4
= 0 ;
9833 PyObject
* obj5
= 0 ;
9834 PyObject
* obj6
= 0 ;
9836 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
9839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9841 arg1
= (int)(SWIG_As_int(obj0
));
9842 if (SWIG_arg_fail(1)) SWIG_fail
;
9845 arg2
= (int)(SWIG_As_int(obj1
));
9846 if (SWIG_arg_fail(2)) SWIG_fail
;
9849 arg3
= (int)(SWIG_As_int(obj2
));
9850 if (SWIG_arg_fail(3)) SWIG_fail
;
9853 arg4
= (int)(SWIG_As_int(obj3
));
9854 if (SWIG_arg_fail(4)) SWIG_fail
;
9858 arg5
= (bool)(SWIG_As_bool(obj4
));
9859 if (SWIG_arg_fail(5)) SWIG_fail
;
9864 arg6
= wxString_in_helper(obj5
);
9865 if (arg6
== NULL
) SWIG_fail
;
9871 arg7
= (wxFontEncoding
)(SWIG_As_int(obj6
));
9872 if (SWIG_arg_fail(7)) SWIG_fail
;
9876 if (!wxPyCheckForApp()) SWIG_fail
;
9877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9878 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
9880 wxPyEndAllowThreads(__tstate
);
9881 if (PyErr_Occurred()) SWIG_fail
;
9883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9898 static PyObject
*_wrap_delete_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9899 PyObject
*resultobj
;
9900 wxFont
*arg1
= (wxFont
*) 0 ;
9901 PyObject
* obj0
= 0 ;
9903 (char *) "self", NULL
9906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
9907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9908 if (SWIG_arg_fail(1)) SWIG_fail
;
9910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9913 wxPyEndAllowThreads(__tstate
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9916 Py_INCREF(Py_None
); resultobj
= Py_None
;
9923 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9924 PyObject
*resultobj
;
9925 wxNativeFontInfo
*arg1
= 0 ;
9927 PyObject
* obj0
= 0 ;
9929 (char *) "info", NULL
9932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
9934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
9935 if (SWIG_arg_fail(1)) SWIG_fail
;
9937 SWIG_null_ref("wxNativeFontInfo");
9939 if (SWIG_arg_fail(1)) SWIG_fail
;
9942 if (!wxPyCheckForApp()) SWIG_fail
;
9943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9944 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
9946 wxPyEndAllowThreads(__tstate
);
9947 if (PyErr_Occurred()) SWIG_fail
;
9949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9956 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9957 PyObject
*resultobj
;
9958 wxString
*arg1
= 0 ;
9960 bool temp1
= false ;
9961 PyObject
* obj0
= 0 ;
9963 (char *) "info", NULL
9966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
9968 arg1
= wxString_in_helper(obj0
);
9969 if (arg1
== NULL
) SWIG_fail
;
9973 if (!wxPyCheckForApp()) SWIG_fail
;
9974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9975 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
9977 wxPyEndAllowThreads(__tstate
);
9978 if (PyErr_Occurred()) SWIG_fail
;
9980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9995 static PyObject
*_wrap_new_Font2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9996 PyObject
*resultobj
;
9999 int arg3
= (int) wxFONTFLAG_DEFAULT
;
10000 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10001 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10002 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
10004 bool temp4
= false ;
10005 PyObject
* obj0
= 0 ;
10006 PyObject
* obj1
= 0 ;
10007 PyObject
* obj2
= 0 ;
10008 PyObject
* obj3
= 0 ;
10009 PyObject
* obj4
= 0 ;
10010 char *kwnames
[] = {
10011 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
10014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10016 arg1
= (int)(SWIG_As_int(obj0
));
10017 if (SWIG_arg_fail(1)) SWIG_fail
;
10020 arg2
= (wxFontFamily
)(SWIG_As_int(obj1
));
10021 if (SWIG_arg_fail(2)) SWIG_fail
;
10025 arg3
= (int)(SWIG_As_int(obj2
));
10026 if (SWIG_arg_fail(3)) SWIG_fail
;
10031 arg4
= wxString_in_helper(obj3
);
10032 if (arg4
== NULL
) SWIG_fail
;
10038 arg5
= (wxFontEncoding
)(SWIG_As_int(obj4
));
10039 if (SWIG_arg_fail(5)) SWIG_fail
;
10043 if (!wxPyCheckForApp()) SWIG_fail
;
10044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10045 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
10047 wxPyEndAllowThreads(__tstate
);
10048 if (PyErr_Occurred()) SWIG_fail
;
10050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
10065 static PyObject
*_wrap_new_FontFromPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10066 PyObject
*resultobj
;
10071 bool arg5
= (bool) false ;
10072 wxString
const &arg6_defvalue
= wxEmptyString
;
10073 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10074 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
10077 bool temp6
= false ;
10078 PyObject
* obj0
= 0 ;
10079 PyObject
* obj1
= 0 ;
10080 PyObject
* obj2
= 0 ;
10081 PyObject
* obj3
= 0 ;
10082 PyObject
* obj4
= 0 ;
10083 PyObject
* obj5
= 0 ;
10084 PyObject
* obj6
= 0 ;
10085 char *kwnames
[] = {
10086 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
10089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10092 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
10095 arg2
= (int)(SWIG_As_int(obj1
));
10096 if (SWIG_arg_fail(2)) SWIG_fail
;
10099 arg3
= (int)(SWIG_As_int(obj2
));
10100 if (SWIG_arg_fail(3)) SWIG_fail
;
10103 arg4
= (int)(SWIG_As_int(obj3
));
10104 if (SWIG_arg_fail(4)) SWIG_fail
;
10108 arg5
= (bool)(SWIG_As_bool(obj4
));
10109 if (SWIG_arg_fail(5)) SWIG_fail
;
10114 arg6
= wxString_in_helper(obj5
);
10115 if (arg6
== NULL
) SWIG_fail
;
10121 arg7
= (wxFontEncoding
)(SWIG_As_int(obj6
));
10122 if (SWIG_arg_fail(7)) SWIG_fail
;
10126 if (!wxPyCheckForApp()) SWIG_fail
;
10127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10128 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
10130 wxPyEndAllowThreads(__tstate
);
10131 if (PyErr_Occurred()) SWIG_fail
;
10133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
10148 static PyObject
*_wrap_Font_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10149 PyObject
*resultobj
;
10150 wxFont
*arg1
= (wxFont
*) 0 ;
10152 PyObject
* obj0
= 0 ;
10153 char *kwnames
[] = {
10154 (char *) "self", NULL
10157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
10158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10159 if (SWIG_arg_fail(1)) SWIG_fail
;
10161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10162 result
= (bool)((wxFont
const *)arg1
)->Ok();
10164 wxPyEndAllowThreads(__tstate
);
10165 if (PyErr_Occurred()) SWIG_fail
;
10168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10176 static PyObject
*_wrap_Font___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10177 PyObject
*resultobj
;
10178 wxFont
*arg1
= (wxFont
*) 0 ;
10179 wxFont
*arg2
= (wxFont
*) 0 ;
10181 PyObject
* obj0
= 0 ;
10182 PyObject
* obj1
= 0 ;
10183 char *kwnames
[] = {
10184 (char *) "self",(char *) "other", NULL
10187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
10188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10189 if (SWIG_arg_fail(1)) SWIG_fail
;
10190 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10191 if (SWIG_arg_fail(2)) SWIG_fail
;
10193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10194 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
10196 wxPyEndAllowThreads(__tstate
);
10197 if (PyErr_Occurred()) SWIG_fail
;
10200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10208 static PyObject
*_wrap_Font___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10209 PyObject
*resultobj
;
10210 wxFont
*arg1
= (wxFont
*) 0 ;
10211 wxFont
*arg2
= (wxFont
*) 0 ;
10213 PyObject
* obj0
= 0 ;
10214 PyObject
* obj1
= 0 ;
10215 char *kwnames
[] = {
10216 (char *) "self",(char *) "other", NULL
10219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
10220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10221 if (SWIG_arg_fail(1)) SWIG_fail
;
10222 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10223 if (SWIG_arg_fail(2)) SWIG_fail
;
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10226 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10240 static PyObject
*_wrap_Font_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10241 PyObject
*resultobj
;
10242 wxFont
*arg1
= (wxFont
*) 0 ;
10244 PyObject
* obj0
= 0 ;
10245 char *kwnames
[] = {
10246 (char *) "self", NULL
10249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
10250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10251 if (SWIG_arg_fail(1)) SWIG_fail
;
10253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10254 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
10256 wxPyEndAllowThreads(__tstate
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10260 resultobj
= SWIG_From_int((int)(result
));
10268 static PyObject
*_wrap_Font_GetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10269 PyObject
*resultobj
;
10270 wxFont
*arg1
= (wxFont
*) 0 ;
10272 PyObject
* obj0
= 0 ;
10273 char *kwnames
[] = {
10274 (char *) "self", NULL
10277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPixelSize",kwnames
,&obj0
)) goto fail
;
10278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10279 if (SWIG_arg_fail(1)) SWIG_fail
;
10281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10282 result
= ((wxFont
const *)arg1
)->GetPixelSize();
10284 wxPyEndAllowThreads(__tstate
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10288 wxSize
* resultptr
;
10289 resultptr
= new wxSize((wxSize
&)(result
));
10290 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10298 static PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10299 PyObject
*resultobj
;
10300 wxFont
*arg1
= (wxFont
*) 0 ;
10302 PyObject
* obj0
= 0 ;
10303 char *kwnames
[] = {
10304 (char *) "self", NULL
10307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsUsingSizeInPixels",kwnames
,&obj0
)) goto fail
;
10308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10309 if (SWIG_arg_fail(1)) SWIG_fail
;
10311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10312 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
10314 wxPyEndAllowThreads(__tstate
);
10315 if (PyErr_Occurred()) SWIG_fail
;
10318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10326 static PyObject
*_wrap_Font_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10327 PyObject
*resultobj
;
10328 wxFont
*arg1
= (wxFont
*) 0 ;
10330 PyObject
* obj0
= 0 ;
10331 char *kwnames
[] = {
10332 (char *) "self", NULL
10335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
10336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10337 if (SWIG_arg_fail(1)) SWIG_fail
;
10339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10340 result
= (int)((wxFont
const *)arg1
)->GetFamily();
10342 wxPyEndAllowThreads(__tstate
);
10343 if (PyErr_Occurred()) SWIG_fail
;
10346 resultobj
= SWIG_From_int((int)(result
));
10354 static PyObject
*_wrap_Font_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10355 PyObject
*resultobj
;
10356 wxFont
*arg1
= (wxFont
*) 0 ;
10358 PyObject
* obj0
= 0 ;
10359 char *kwnames
[] = {
10360 (char *) "self", NULL
10363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
10364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10365 if (SWIG_arg_fail(1)) SWIG_fail
;
10367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10368 result
= (int)((wxFont
const *)arg1
)->GetStyle();
10370 wxPyEndAllowThreads(__tstate
);
10371 if (PyErr_Occurred()) SWIG_fail
;
10374 resultobj
= SWIG_From_int((int)(result
));
10382 static PyObject
*_wrap_Font_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10383 PyObject
*resultobj
;
10384 wxFont
*arg1
= (wxFont
*) 0 ;
10386 PyObject
* obj0
= 0 ;
10387 char *kwnames
[] = {
10388 (char *) "self", NULL
10391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
10392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10393 if (SWIG_arg_fail(1)) SWIG_fail
;
10395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10396 result
= (int)((wxFont
const *)arg1
)->GetWeight();
10398 wxPyEndAllowThreads(__tstate
);
10399 if (PyErr_Occurred()) SWIG_fail
;
10402 resultobj
= SWIG_From_int((int)(result
));
10410 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10411 PyObject
*resultobj
;
10412 wxFont
*arg1
= (wxFont
*) 0 ;
10414 PyObject
* obj0
= 0 ;
10415 char *kwnames
[] = {
10416 (char *) "self", NULL
10419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
10420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10421 if (SWIG_arg_fail(1)) SWIG_fail
;
10423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10424 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
10426 wxPyEndAllowThreads(__tstate
);
10427 if (PyErr_Occurred()) SWIG_fail
;
10430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10438 static PyObject
*_wrap_Font_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10439 PyObject
*resultobj
;
10440 wxFont
*arg1
= (wxFont
*) 0 ;
10442 PyObject
* obj0
= 0 ;
10443 char *kwnames
[] = {
10444 (char *) "self", NULL
10447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
10448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10449 if (SWIG_arg_fail(1)) SWIG_fail
;
10451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10452 result
= ((wxFont
const *)arg1
)->GetFaceName();
10454 wxPyEndAllowThreads(__tstate
);
10455 if (PyErr_Occurred()) SWIG_fail
;
10459 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10461 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10470 static PyObject
*_wrap_Font_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10471 PyObject
*resultobj
;
10472 wxFont
*arg1
= (wxFont
*) 0 ;
10473 wxFontEncoding result
;
10474 PyObject
* obj0
= 0 ;
10475 char *kwnames
[] = {
10476 (char *) "self", NULL
10479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
10480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10481 if (SWIG_arg_fail(1)) SWIG_fail
;
10483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10484 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
10486 wxPyEndAllowThreads(__tstate
);
10487 if (PyErr_Occurred()) SWIG_fail
;
10489 resultobj
= SWIG_From_int((result
));
10496 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10497 PyObject
*resultobj
;
10498 wxFont
*arg1
= (wxFont
*) 0 ;
10499 wxNativeFontInfo
*result
;
10500 PyObject
* obj0
= 0 ;
10501 char *kwnames
[] = {
10502 (char *) "self", NULL
10505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
10506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10507 if (SWIG_arg_fail(1)) SWIG_fail
;
10509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10510 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
10512 wxPyEndAllowThreads(__tstate
);
10513 if (PyErr_Occurred()) SWIG_fail
;
10515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
10522 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10523 PyObject
*resultobj
;
10524 wxFont
*arg1
= (wxFont
*) 0 ;
10526 PyObject
* obj0
= 0 ;
10527 char *kwnames
[] = {
10528 (char *) "self", NULL
10531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
10532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10533 if (SWIG_arg_fail(1)) SWIG_fail
;
10535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10536 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
10538 wxPyEndAllowThreads(__tstate
);
10539 if (PyErr_Occurred()) SWIG_fail
;
10542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10550 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10551 PyObject
*resultobj
;
10552 wxFont
*arg1
= (wxFont
*) 0 ;
10554 PyObject
* obj0
= 0 ;
10555 char *kwnames
[] = {
10556 (char *) "self", NULL
10559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
10560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10561 if (SWIG_arg_fail(1)) SWIG_fail
;
10563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10564 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
10566 wxPyEndAllowThreads(__tstate
);
10567 if (PyErr_Occurred()) SWIG_fail
;
10571 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10573 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10582 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10583 PyObject
*resultobj
;
10584 wxFont
*arg1
= (wxFont
*) 0 ;
10586 PyObject
* obj0
= 0 ;
10587 char *kwnames
[] = {
10588 (char *) "self", NULL
10591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
10592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10593 if (SWIG_arg_fail(1)) SWIG_fail
;
10595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10596 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
10598 wxPyEndAllowThreads(__tstate
);
10599 if (PyErr_Occurred()) SWIG_fail
;
10603 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10605 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10614 static PyObject
*_wrap_Font_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10615 PyObject
*resultobj
;
10616 wxFont
*arg1
= (wxFont
*) 0 ;
10618 PyObject
* obj0
= 0 ;
10619 PyObject
* obj1
= 0 ;
10620 char *kwnames
[] = {
10621 (char *) "self",(char *) "pointSize", NULL
10624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10626 if (SWIG_arg_fail(1)) SWIG_fail
;
10628 arg2
= (int)(SWIG_As_int(obj1
));
10629 if (SWIG_arg_fail(2)) SWIG_fail
;
10632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10633 (arg1
)->SetPointSize(arg2
);
10635 wxPyEndAllowThreads(__tstate
);
10636 if (PyErr_Occurred()) SWIG_fail
;
10638 Py_INCREF(Py_None
); resultobj
= Py_None
;
10645 static PyObject
*_wrap_Font_SetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10646 PyObject
*resultobj
;
10647 wxFont
*arg1
= (wxFont
*) 0 ;
10650 PyObject
* obj0
= 0 ;
10651 PyObject
* obj1
= 0 ;
10652 char *kwnames
[] = {
10653 (char *) "self",(char *) "pixelSize", NULL
10656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10658 if (SWIG_arg_fail(1)) SWIG_fail
;
10661 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10665 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
10667 wxPyEndAllowThreads(__tstate
);
10668 if (PyErr_Occurred()) SWIG_fail
;
10670 Py_INCREF(Py_None
); resultobj
= Py_None
;
10677 static PyObject
*_wrap_Font_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10678 PyObject
*resultobj
;
10679 wxFont
*arg1
= (wxFont
*) 0 ;
10681 PyObject
* obj0
= 0 ;
10682 PyObject
* obj1
= 0 ;
10683 char *kwnames
[] = {
10684 (char *) "self",(char *) "family", NULL
10687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
10688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10689 if (SWIG_arg_fail(1)) SWIG_fail
;
10691 arg2
= (int)(SWIG_As_int(obj1
));
10692 if (SWIG_arg_fail(2)) SWIG_fail
;
10695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10696 (arg1
)->SetFamily(arg2
);
10698 wxPyEndAllowThreads(__tstate
);
10699 if (PyErr_Occurred()) SWIG_fail
;
10701 Py_INCREF(Py_None
); resultobj
= Py_None
;
10708 static PyObject
*_wrap_Font_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10709 PyObject
*resultobj
;
10710 wxFont
*arg1
= (wxFont
*) 0 ;
10712 PyObject
* obj0
= 0 ;
10713 PyObject
* obj1
= 0 ;
10714 char *kwnames
[] = {
10715 (char *) "self",(char *) "style", NULL
10718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10720 if (SWIG_arg_fail(1)) SWIG_fail
;
10722 arg2
= (int)(SWIG_As_int(obj1
));
10723 if (SWIG_arg_fail(2)) SWIG_fail
;
10726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10727 (arg1
)->SetStyle(arg2
);
10729 wxPyEndAllowThreads(__tstate
);
10730 if (PyErr_Occurred()) SWIG_fail
;
10732 Py_INCREF(Py_None
); resultobj
= Py_None
;
10739 static PyObject
*_wrap_Font_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10740 PyObject
*resultobj
;
10741 wxFont
*arg1
= (wxFont
*) 0 ;
10743 PyObject
* obj0
= 0 ;
10744 PyObject
* obj1
= 0 ;
10745 char *kwnames
[] = {
10746 (char *) "self",(char *) "weight", NULL
10749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
10750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10751 if (SWIG_arg_fail(1)) SWIG_fail
;
10753 arg2
= (int)(SWIG_As_int(obj1
));
10754 if (SWIG_arg_fail(2)) SWIG_fail
;
10757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10758 (arg1
)->SetWeight(arg2
);
10760 wxPyEndAllowThreads(__tstate
);
10761 if (PyErr_Occurred()) SWIG_fail
;
10763 Py_INCREF(Py_None
); resultobj
= Py_None
;
10770 static PyObject
*_wrap_Font_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10771 PyObject
*resultobj
;
10772 wxFont
*arg1
= (wxFont
*) 0 ;
10773 wxString
*arg2
= 0 ;
10774 bool temp2
= false ;
10775 PyObject
* obj0
= 0 ;
10776 PyObject
* obj1
= 0 ;
10777 char *kwnames
[] = {
10778 (char *) "self",(char *) "faceName", NULL
10781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
10782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10783 if (SWIG_arg_fail(1)) SWIG_fail
;
10785 arg2
= wxString_in_helper(obj1
);
10786 if (arg2
== NULL
) SWIG_fail
;
10790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10791 (arg1
)->SetFaceName((wxString
const &)*arg2
);
10793 wxPyEndAllowThreads(__tstate
);
10794 if (PyErr_Occurred()) SWIG_fail
;
10796 Py_INCREF(Py_None
); resultobj
= Py_None
;
10811 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10812 PyObject
*resultobj
;
10813 wxFont
*arg1
= (wxFont
*) 0 ;
10815 PyObject
* obj0
= 0 ;
10816 PyObject
* obj1
= 0 ;
10817 char *kwnames
[] = {
10818 (char *) "self",(char *) "underlined", NULL
10821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
10822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10823 if (SWIG_arg_fail(1)) SWIG_fail
;
10825 arg2
= (bool)(SWIG_As_bool(obj1
));
10826 if (SWIG_arg_fail(2)) SWIG_fail
;
10829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10830 (arg1
)->SetUnderlined(arg2
);
10832 wxPyEndAllowThreads(__tstate
);
10833 if (PyErr_Occurred()) SWIG_fail
;
10835 Py_INCREF(Py_None
); resultobj
= Py_None
;
10842 static PyObject
*_wrap_Font_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10843 PyObject
*resultobj
;
10844 wxFont
*arg1
= (wxFont
*) 0 ;
10845 wxFontEncoding arg2
;
10846 PyObject
* obj0
= 0 ;
10847 PyObject
* obj1
= 0 ;
10848 char *kwnames
[] = {
10849 (char *) "self",(char *) "encoding", NULL
10852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
10853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10854 if (SWIG_arg_fail(1)) SWIG_fail
;
10856 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
10857 if (SWIG_arg_fail(2)) SWIG_fail
;
10860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10861 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
10863 wxPyEndAllowThreads(__tstate
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10866 Py_INCREF(Py_None
); resultobj
= Py_None
;
10873 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10874 PyObject
*resultobj
;
10875 wxFont
*arg1
= (wxFont
*) 0 ;
10876 wxNativeFontInfo
*arg2
= 0 ;
10877 PyObject
* obj0
= 0 ;
10878 PyObject
* obj1
= 0 ;
10879 char *kwnames
[] = {
10880 (char *) "self",(char *) "info", NULL
10883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
10884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10885 if (SWIG_arg_fail(1)) SWIG_fail
;
10887 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
10888 if (SWIG_arg_fail(2)) SWIG_fail
;
10889 if (arg2
== NULL
) {
10890 SWIG_null_ref("wxNativeFontInfo");
10892 if (SWIG_arg_fail(2)) SWIG_fail
;
10895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10896 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
10898 wxPyEndAllowThreads(__tstate
);
10899 if (PyErr_Occurred()) SWIG_fail
;
10901 Py_INCREF(Py_None
); resultobj
= Py_None
;
10908 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10909 PyObject
*resultobj
;
10910 wxFont
*arg1
= (wxFont
*) 0 ;
10911 wxString
*arg2
= 0 ;
10912 bool temp2
= false ;
10913 PyObject
* obj0
= 0 ;
10914 PyObject
* obj1
= 0 ;
10915 char *kwnames
[] = {
10916 (char *) "self",(char *) "info", NULL
10919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
10920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10921 if (SWIG_arg_fail(1)) SWIG_fail
;
10923 arg2
= wxString_in_helper(obj1
);
10924 if (arg2
== NULL
) SWIG_fail
;
10928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10929 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
10931 wxPyEndAllowThreads(__tstate
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10934 Py_INCREF(Py_None
); resultobj
= Py_None
;
10949 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10950 PyObject
*resultobj
;
10951 wxFont
*arg1
= (wxFont
*) 0 ;
10952 wxString
*arg2
= 0 ;
10953 bool temp2
= false ;
10954 PyObject
* obj0
= 0 ;
10955 PyObject
* obj1
= 0 ;
10956 char *kwnames
[] = {
10957 (char *) "self",(char *) "info", NULL
10960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
10961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10962 if (SWIG_arg_fail(1)) SWIG_fail
;
10964 arg2
= wxString_in_helper(obj1
);
10965 if (arg2
== NULL
) SWIG_fail
;
10969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10970 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
10972 wxPyEndAllowThreads(__tstate
);
10973 if (PyErr_Occurred()) SWIG_fail
;
10975 Py_INCREF(Py_None
); resultobj
= Py_None
;
10990 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10991 PyObject
*resultobj
;
10992 wxFont
*arg1
= (wxFont
*) 0 ;
10994 PyObject
* obj0
= 0 ;
10995 char *kwnames
[] = {
10996 (char *) "self", NULL
10999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
11000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11001 if (SWIG_arg_fail(1)) SWIG_fail
;
11003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11004 result
= ((wxFont
const *)arg1
)->GetFamilyString();
11006 wxPyEndAllowThreads(__tstate
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11011 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11013 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11022 static PyObject
*_wrap_Font_GetStyleString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11023 PyObject
*resultobj
;
11024 wxFont
*arg1
= (wxFont
*) 0 ;
11026 PyObject
* obj0
= 0 ;
11027 char *kwnames
[] = {
11028 (char *) "self", NULL
11031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
11032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11033 if (SWIG_arg_fail(1)) SWIG_fail
;
11035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11036 result
= ((wxFont
const *)arg1
)->GetStyleString();
11038 wxPyEndAllowThreads(__tstate
);
11039 if (PyErr_Occurred()) SWIG_fail
;
11043 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11045 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11054 static PyObject
*_wrap_Font_GetWeightString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11055 PyObject
*resultobj
;
11056 wxFont
*arg1
= (wxFont
*) 0 ;
11058 PyObject
* obj0
= 0 ;
11059 char *kwnames
[] = {
11060 (char *) "self", NULL
11063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
11064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11065 if (SWIG_arg_fail(1)) SWIG_fail
;
11067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11068 result
= ((wxFont
const *)arg1
)->GetWeightString();
11070 wxPyEndAllowThreads(__tstate
);
11071 if (PyErr_Occurred()) SWIG_fail
;
11075 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11077 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11086 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11087 PyObject
*resultobj
;
11088 wxFont
*arg1
= (wxFont
*) 0 ;
11089 bool arg2
= (bool) true ;
11090 PyObject
* obj0
= 0 ;
11091 PyObject
* obj1
= 0 ;
11092 char *kwnames
[] = {
11093 (char *) "self",(char *) "no", NULL
11096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
11097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11098 if (SWIG_arg_fail(1)) SWIG_fail
;
11101 arg2
= (bool)(SWIG_As_bool(obj1
));
11102 if (SWIG_arg_fail(2)) SWIG_fail
;
11106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11107 (arg1
)->SetNoAntiAliasing(arg2
);
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11112 Py_INCREF(Py_None
); resultobj
= Py_None
;
11119 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11120 PyObject
*resultobj
;
11121 wxFont
*arg1
= (wxFont
*) 0 ;
11123 PyObject
* obj0
= 0 ;
11124 char *kwnames
[] = {
11125 (char *) "self", NULL
11128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
11129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11130 if (SWIG_arg_fail(1)) SWIG_fail
;
11132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11133 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
11135 wxPyEndAllowThreads(__tstate
);
11136 if (PyErr_Occurred()) SWIG_fail
;
11139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11147 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11148 PyObject
*resultobj
;
11149 wxFontEncoding result
;
11150 char *kwnames
[] = {
11154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
11156 if (!wxPyCheckForApp()) SWIG_fail
;
11157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11158 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
11160 wxPyEndAllowThreads(__tstate
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11163 resultobj
= SWIG_From_int((result
));
11170 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11171 PyObject
*resultobj
;
11172 wxFontEncoding arg1
;
11173 PyObject
* obj0
= 0 ;
11174 char *kwnames
[] = {
11175 (char *) "encoding", NULL
11178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
11180 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
11181 if (SWIG_arg_fail(1)) SWIG_fail
;
11184 if (!wxPyCheckForApp()) SWIG_fail
;
11185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11186 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
11188 wxPyEndAllowThreads(__tstate
);
11189 if (PyErr_Occurred()) SWIG_fail
;
11191 Py_INCREF(Py_None
); resultobj
= Py_None
;
11198 static PyObject
* Font_swigregister(PyObject
*, PyObject
*args
) {
11200 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11201 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
11203 return Py_BuildValue((char *)"");
11205 static PyObject
*_wrap_new_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11206 PyObject
*resultobj
;
11207 wxPyFontEnumerator
*result
;
11208 char *kwnames
[] = {
11212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
11214 if (!wxPyCheckForApp()) SWIG_fail
;
11215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11216 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
11218 wxPyEndAllowThreads(__tstate
);
11219 if (PyErr_Occurred()) SWIG_fail
;
11221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
11228 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11229 PyObject
*resultobj
;
11230 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
11231 PyObject
* obj0
= 0 ;
11232 char *kwnames
[] = {
11233 (char *) "self", NULL
11236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
11237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
11238 if (SWIG_arg_fail(1)) SWIG_fail
;
11240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11243 wxPyEndAllowThreads(__tstate
);
11244 if (PyErr_Occurred()) SWIG_fail
;
11246 Py_INCREF(Py_None
); resultobj
= Py_None
;
11253 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11254 PyObject
*resultobj
;
11255 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
11256 PyObject
*arg2
= (PyObject
*) 0 ;
11257 PyObject
*arg3
= (PyObject
*) 0 ;
11259 PyObject
* obj0
= 0 ;
11260 PyObject
* obj1
= 0 ;
11261 PyObject
* obj2
= 0 ;
11262 PyObject
* obj3
= 0 ;
11263 char *kwnames
[] = {
11264 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
11267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
11269 if (SWIG_arg_fail(1)) SWIG_fail
;
11273 arg4
= (bool)(SWIG_As_bool(obj3
));
11274 if (SWIG_arg_fail(4)) SWIG_fail
;
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11278 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
11280 wxPyEndAllowThreads(__tstate
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11283 Py_INCREF(Py_None
); resultobj
= Py_None
;
11290 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11291 PyObject
*resultobj
;
11292 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
11293 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
11294 bool arg3
= (bool) false ;
11296 PyObject
* obj0
= 0 ;
11297 PyObject
* obj1
= 0 ;
11298 PyObject
* obj2
= 0 ;
11299 char *kwnames
[] = {
11300 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
11303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
11305 if (SWIG_arg_fail(1)) SWIG_fail
;
11308 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
11309 if (SWIG_arg_fail(2)) SWIG_fail
;
11314 arg3
= (bool)(SWIG_As_bool(obj2
));
11315 if (SWIG_arg_fail(3)) SWIG_fail
;
11319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11320 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
11322 wxPyEndAllowThreads(__tstate
);
11323 if (PyErr_Occurred()) SWIG_fail
;
11326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11334 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11335 PyObject
*resultobj
;
11336 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
11337 wxString
const &arg2_defvalue
= wxPyEmptyString
;
11338 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11340 bool temp2
= false ;
11341 PyObject
* obj0
= 0 ;
11342 PyObject
* obj1
= 0 ;
11343 char *kwnames
[] = {
11344 (char *) "self",(char *) "facename", NULL
11347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
11348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
11349 if (SWIG_arg_fail(1)) SWIG_fail
;
11352 arg2
= wxString_in_helper(obj1
);
11353 if (arg2
== NULL
) SWIG_fail
;
11358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11359 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
11361 wxPyEndAllowThreads(__tstate
);
11362 if (PyErr_Occurred()) SWIG_fail
;
11365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11381 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11382 PyObject
*resultobj
;
11383 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
11385 PyObject
* obj0
= 0 ;
11386 char *kwnames
[] = {
11387 (char *) "self", NULL
11390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
11391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
11392 if (SWIG_arg_fail(1)) SWIG_fail
;
11394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
11397 wxPyEndAllowThreads(__tstate
);
11398 if (PyErr_Occurred()) SWIG_fail
;
11400 resultobj
= result
;
11407 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11408 PyObject
*resultobj
;
11409 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
11411 PyObject
* obj0
= 0 ;
11412 char *kwnames
[] = {
11413 (char *) "self", NULL
11416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
11417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
11418 if (SWIG_arg_fail(1)) SWIG_fail
;
11420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11421 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
11423 wxPyEndAllowThreads(__tstate
);
11424 if (PyErr_Occurred()) SWIG_fail
;
11426 resultobj
= result
;
11433 static PyObject
* FontEnumerator_swigregister(PyObject
*, PyObject
*args
) {
11435 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11436 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
11438 return Py_BuildValue((char *)"");
11440 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11441 PyObject
*resultobj
;
11442 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11444 PyObject
* obj0
= 0 ;
11445 PyObject
* obj1
= 0 ;
11446 char *kwnames
[] = {
11447 (char *) "self",(char *) "Language", NULL
11450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11452 if (SWIG_arg_fail(1)) SWIG_fail
;
11454 arg2
= (int)(SWIG_As_int(obj1
));
11455 if (SWIG_arg_fail(2)) SWIG_fail
;
11457 if (arg1
) (arg1
)->Language
= arg2
;
11459 Py_INCREF(Py_None
); resultobj
= Py_None
;
11466 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11467 PyObject
*resultobj
;
11468 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11470 PyObject
* obj0
= 0 ;
11471 char *kwnames
[] = {
11472 (char *) "self", NULL
11475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
11476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11477 if (SWIG_arg_fail(1)) SWIG_fail
;
11478 result
= (int) ((arg1
)->Language
);
11481 resultobj
= SWIG_From_int((int)(result
));
11489 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11490 PyObject
*resultobj
;
11491 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11492 wxString
*arg2
= (wxString
*) 0 ;
11493 bool temp2
= false ;
11494 PyObject
* obj0
= 0 ;
11495 PyObject
* obj1
= 0 ;
11496 char *kwnames
[] = {
11497 (char *) "self",(char *) "CanonicalName", NULL
11500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11502 if (SWIG_arg_fail(1)) SWIG_fail
;
11504 arg2
= wxString_in_helper(obj1
);
11505 if (arg2
== NULL
) SWIG_fail
;
11508 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
11510 Py_INCREF(Py_None
); resultobj
= Py_None
;
11525 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11526 PyObject
*resultobj
;
11527 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11529 PyObject
* obj0
= 0 ;
11530 char *kwnames
[] = {
11531 (char *) "self", NULL
11534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
11535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11536 if (SWIG_arg_fail(1)) SWIG_fail
;
11537 result
= (wxString
*)& ((arg1
)->CanonicalName
);
11541 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11543 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11552 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11553 PyObject
*resultobj
;
11554 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11555 wxString
*arg2
= (wxString
*) 0 ;
11556 bool temp2
= false ;
11557 PyObject
* obj0
= 0 ;
11558 PyObject
* obj1
= 0 ;
11559 char *kwnames
[] = {
11560 (char *) "self",(char *) "Description", NULL
11563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11565 if (SWIG_arg_fail(1)) SWIG_fail
;
11567 arg2
= wxString_in_helper(obj1
);
11568 if (arg2
== NULL
) SWIG_fail
;
11571 if (arg1
) (arg1
)->Description
= *arg2
;
11573 Py_INCREF(Py_None
); resultobj
= Py_None
;
11588 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11589 PyObject
*resultobj
;
11590 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11592 PyObject
* obj0
= 0 ;
11593 char *kwnames
[] = {
11594 (char *) "self", NULL
11597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
11598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11599 if (SWIG_arg_fail(1)) SWIG_fail
;
11600 result
= (wxString
*)& ((arg1
)->Description
);
11604 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11606 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11615 static PyObject
* LanguageInfo_swigregister(PyObject
*, PyObject
*args
) {
11617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11618 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
11620 return Py_BuildValue((char *)"");
11622 static PyObject
*_wrap_new_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11623 PyObject
*resultobj
;
11624 int arg1
= (int) -1 ;
11625 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
11627 PyObject
* obj0
= 0 ;
11628 PyObject
* obj1
= 0 ;
11629 char *kwnames
[] = {
11630 (char *) "language",(char *) "flags", NULL
11633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
11636 arg1
= (int)(SWIG_As_int(obj0
));
11637 if (SWIG_arg_fail(1)) SWIG_fail
;
11642 arg2
= (int)(SWIG_As_int(obj1
));
11643 if (SWIG_arg_fail(2)) SWIG_fail
;
11647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11648 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
11650 wxPyEndAllowThreads(__tstate
);
11651 if (PyErr_Occurred()) SWIG_fail
;
11653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
11660 static PyObject
*_wrap_delete_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11661 PyObject
*resultobj
;
11662 wxLocale
*arg1
= (wxLocale
*) 0 ;
11663 PyObject
* obj0
= 0 ;
11664 char *kwnames
[] = {
11665 (char *) "self", NULL
11668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
11669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11670 if (SWIG_arg_fail(1)) SWIG_fail
;
11672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11675 wxPyEndAllowThreads(__tstate
);
11676 if (PyErr_Occurred()) SWIG_fail
;
11678 Py_INCREF(Py_None
); resultobj
= Py_None
;
11685 static PyObject
*_wrap_Locale_Init1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11686 PyObject
*resultobj
;
11687 wxLocale
*arg1
= (wxLocale
*) 0 ;
11688 wxString
*arg2
= 0 ;
11689 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11690 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11691 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11692 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11693 bool arg5
= (bool) true ;
11694 bool arg6
= (bool) false ;
11696 bool temp2
= false ;
11697 bool temp3
= false ;
11698 bool temp4
= false ;
11699 PyObject
* obj0
= 0 ;
11700 PyObject
* obj1
= 0 ;
11701 PyObject
* obj2
= 0 ;
11702 PyObject
* obj3
= 0 ;
11703 PyObject
* obj4
= 0 ;
11704 PyObject
* obj5
= 0 ;
11705 char *kwnames
[] = {
11706 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
11709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11711 if (SWIG_arg_fail(1)) SWIG_fail
;
11713 arg2
= wxString_in_helper(obj1
);
11714 if (arg2
== NULL
) SWIG_fail
;
11719 arg3
= wxString_in_helper(obj2
);
11720 if (arg3
== NULL
) SWIG_fail
;
11726 arg4
= wxString_in_helper(obj3
);
11727 if (arg4
== NULL
) SWIG_fail
;
11733 arg5
= (bool)(SWIG_As_bool(obj4
));
11734 if (SWIG_arg_fail(5)) SWIG_fail
;
11739 arg6
= (bool)(SWIG_As_bool(obj5
));
11740 if (SWIG_arg_fail(6)) SWIG_fail
;
11744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11745 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
11747 wxPyEndAllowThreads(__tstate
);
11748 if (PyErr_Occurred()) SWIG_fail
;
11751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11783 static PyObject
*_wrap_Locale_Init2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11784 PyObject
*resultobj
;
11785 wxLocale
*arg1
= (wxLocale
*) 0 ;
11786 int arg2
= (int) wxLANGUAGE_DEFAULT
;
11787 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
11789 PyObject
* obj0
= 0 ;
11790 PyObject
* obj1
= 0 ;
11791 PyObject
* obj2
= 0 ;
11792 char *kwnames
[] = {
11793 (char *) "self",(char *) "language",(char *) "flags", NULL
11796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11798 if (SWIG_arg_fail(1)) SWIG_fail
;
11801 arg2
= (int)(SWIG_As_int(obj1
));
11802 if (SWIG_arg_fail(2)) SWIG_fail
;
11807 arg3
= (int)(SWIG_As_int(obj2
));
11808 if (SWIG_arg_fail(3)) SWIG_fail
;
11812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11813 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
11815 wxPyEndAllowThreads(__tstate
);
11816 if (PyErr_Occurred()) SWIG_fail
;
11819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11827 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11828 PyObject
*resultobj
;
11830 char *kwnames
[] = {
11834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
11836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11837 result
= (int)wxLocale::GetSystemLanguage();
11839 wxPyEndAllowThreads(__tstate
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11843 resultobj
= SWIG_From_int((int)(result
));
11851 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11852 PyObject
*resultobj
;
11853 wxFontEncoding result
;
11854 char *kwnames
[] = {
11858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
11860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11861 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
11863 wxPyEndAllowThreads(__tstate
);
11864 if (PyErr_Occurred()) SWIG_fail
;
11866 resultobj
= SWIG_From_int((result
));
11873 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11874 PyObject
*resultobj
;
11876 char *kwnames
[] = {
11880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
11882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11883 result
= wxLocale::GetSystemEncodingName();
11885 wxPyEndAllowThreads(__tstate
);
11886 if (PyErr_Occurred()) SWIG_fail
;
11890 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11892 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11901 static PyObject
*_wrap_Locale_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11902 PyObject
*resultobj
;
11903 wxLocale
*arg1
= (wxLocale
*) 0 ;
11905 PyObject
* obj0
= 0 ;
11906 char *kwnames
[] = {
11907 (char *) "self", NULL
11910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
11911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11912 if (SWIG_arg_fail(1)) SWIG_fail
;
11914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11915 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
11917 wxPyEndAllowThreads(__tstate
);
11918 if (PyErr_Occurred()) SWIG_fail
;
11921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11929 static PyObject
*_wrap_Locale_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11930 PyObject
*resultobj
;
11931 wxLocale
*arg1
= (wxLocale
*) 0 ;
11933 PyObject
* obj0
= 0 ;
11934 char *kwnames
[] = {
11935 (char *) "self", NULL
11938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
11939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11940 if (SWIG_arg_fail(1)) SWIG_fail
;
11942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11943 result
= ((wxLocale
const *)arg1
)->GetLocale();
11945 wxPyEndAllowThreads(__tstate
);
11946 if (PyErr_Occurred()) SWIG_fail
;
11950 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11952 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11961 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11962 PyObject
*resultobj
;
11963 wxLocale
*arg1
= (wxLocale
*) 0 ;
11965 PyObject
* obj0
= 0 ;
11966 char *kwnames
[] = {
11967 (char *) "self", NULL
11970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
11971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11972 if (SWIG_arg_fail(1)) SWIG_fail
;
11974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11975 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
11977 wxPyEndAllowThreads(__tstate
);
11978 if (PyErr_Occurred()) SWIG_fail
;
11981 resultobj
= SWIG_From_int((int)(result
));
11989 static PyObject
*_wrap_Locale_GetSysName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11990 PyObject
*resultobj
;
11991 wxLocale
*arg1
= (wxLocale
*) 0 ;
11993 PyObject
* obj0
= 0 ;
11994 char *kwnames
[] = {
11995 (char *) "self", NULL
11998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
11999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12000 if (SWIG_arg_fail(1)) SWIG_fail
;
12002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12003 result
= ((wxLocale
const *)arg1
)->GetSysName();
12005 wxPyEndAllowThreads(__tstate
);
12006 if (PyErr_Occurred()) SWIG_fail
;
12010 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12012 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12021 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12022 PyObject
*resultobj
;
12023 wxLocale
*arg1
= (wxLocale
*) 0 ;
12025 PyObject
* obj0
= 0 ;
12026 char *kwnames
[] = {
12027 (char *) "self", NULL
12030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
12031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12032 if (SWIG_arg_fail(1)) SWIG_fail
;
12034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12035 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
12037 wxPyEndAllowThreads(__tstate
);
12038 if (PyErr_Occurred()) SWIG_fail
;
12042 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12044 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12053 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12054 PyObject
*resultobj
;
12055 wxString
*arg1
= 0 ;
12056 bool temp1
= false ;
12057 PyObject
* obj0
= 0 ;
12058 char *kwnames
[] = {
12059 (char *) "prefix", NULL
12062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
12064 arg1
= wxString_in_helper(obj0
);
12065 if (arg1
== NULL
) SWIG_fail
;
12069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12070 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
12072 wxPyEndAllowThreads(__tstate
);
12073 if (PyErr_Occurred()) SWIG_fail
;
12075 Py_INCREF(Py_None
); resultobj
= Py_None
;
12090 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12091 PyObject
*resultobj
;
12092 wxLocale
*arg1
= (wxLocale
*) 0 ;
12093 wxString
*arg2
= 0 ;
12095 bool temp2
= false ;
12096 PyObject
* obj0
= 0 ;
12097 PyObject
* obj1
= 0 ;
12098 char *kwnames
[] = {
12099 (char *) "self",(char *) "szDomain", NULL
12102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
12103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12104 if (SWIG_arg_fail(1)) SWIG_fail
;
12106 arg2
= wxString_in_helper(obj1
);
12107 if (arg2
== NULL
) SWIG_fail
;
12111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12112 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
12114 wxPyEndAllowThreads(__tstate
);
12115 if (PyErr_Occurred()) SWIG_fail
;
12118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12134 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12135 PyObject
*resultobj
;
12136 wxLocale
*arg1
= (wxLocale
*) 0 ;
12137 wxString
*arg2
= 0 ;
12139 bool temp2
= false ;
12140 PyObject
* obj0
= 0 ;
12141 PyObject
* obj1
= 0 ;
12142 char *kwnames
[] = {
12143 (char *) "self",(char *) "szDomain", NULL
12146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
12147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12148 if (SWIG_arg_fail(1)) SWIG_fail
;
12150 arg2
= wxString_in_helper(obj1
);
12151 if (arg2
== NULL
) SWIG_fail
;
12155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12156 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
12158 wxPyEndAllowThreads(__tstate
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12178 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12179 PyObject
*resultobj
;
12181 wxLanguageInfo
*result
;
12182 PyObject
* obj0
= 0 ;
12183 char *kwnames
[] = {
12184 (char *) "lang", NULL
12187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
12189 arg1
= (int)(SWIG_As_int(obj0
));
12190 if (SWIG_arg_fail(1)) SWIG_fail
;
12193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12194 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
12196 wxPyEndAllowThreads(__tstate
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
12206 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12207 PyObject
*resultobj
;
12210 PyObject
* obj0
= 0 ;
12211 char *kwnames
[] = {
12212 (char *) "lang", NULL
12215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
12217 arg1
= (int)(SWIG_As_int(obj0
));
12218 if (SWIG_arg_fail(1)) SWIG_fail
;
12221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12222 result
= wxLocale::GetLanguageName(arg1
);
12224 wxPyEndAllowThreads(__tstate
);
12225 if (PyErr_Occurred()) SWIG_fail
;
12229 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12231 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12240 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12241 PyObject
*resultobj
;
12242 wxString
*arg1
= 0 ;
12243 wxLanguageInfo
*result
;
12244 bool temp1
= false ;
12245 PyObject
* obj0
= 0 ;
12246 char *kwnames
[] = {
12247 (char *) "locale", NULL
12250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
12252 arg1
= wxString_in_helper(obj0
);
12253 if (arg1
== NULL
) SWIG_fail
;
12257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12258 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
12260 wxPyEndAllowThreads(__tstate
);
12261 if (PyErr_Occurred()) SWIG_fail
;
12263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
12278 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12279 PyObject
*resultobj
;
12280 wxLanguageInfo
*arg1
= 0 ;
12281 PyObject
* obj0
= 0 ;
12282 char *kwnames
[] = {
12283 (char *) "info", NULL
12286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
12288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
12289 if (SWIG_arg_fail(1)) SWIG_fail
;
12290 if (arg1
== NULL
) {
12291 SWIG_null_ref("wxLanguageInfo");
12293 if (SWIG_arg_fail(1)) SWIG_fail
;
12296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12297 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
12299 wxPyEndAllowThreads(__tstate
);
12300 if (PyErr_Occurred()) SWIG_fail
;
12302 Py_INCREF(Py_None
); resultobj
= Py_None
;
12309 static PyObject
*_wrap_Locale_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12310 PyObject
*resultobj
;
12311 wxLocale
*arg1
= (wxLocale
*) 0 ;
12312 wxString
*arg2
= 0 ;
12313 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12314 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12316 bool temp2
= false ;
12317 bool temp3
= false ;
12318 PyObject
* obj0
= 0 ;
12319 PyObject
* obj1
= 0 ;
12320 PyObject
* obj2
= 0 ;
12321 char *kwnames
[] = {
12322 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
12325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12327 if (SWIG_arg_fail(1)) SWIG_fail
;
12329 arg2
= wxString_in_helper(obj1
);
12330 if (arg2
== NULL
) SWIG_fail
;
12335 arg3
= wxString_in_helper(obj2
);
12336 if (arg3
== NULL
) SWIG_fail
;
12341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12342 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12344 wxPyEndAllowThreads(__tstate
);
12345 if (PyErr_Occurred()) SWIG_fail
;
12349 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12351 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12376 static PyObject
*_wrap_Locale_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12377 PyObject
*resultobj
;
12378 wxLocale
*arg1
= (wxLocale
*) 0 ;
12380 PyObject
* obj0
= 0 ;
12381 char *kwnames
[] = {
12382 (char *) "self", NULL
12385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
12386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12387 if (SWIG_arg_fail(1)) SWIG_fail
;
12389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12391 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
12392 result
= (wxString
*) &_result_ref
;
12395 wxPyEndAllowThreads(__tstate
);
12396 if (PyErr_Occurred()) SWIG_fail
;
12400 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12402 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12411 static PyObject
* Locale_swigregister(PyObject
*, PyObject
*args
) {
12413 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12414 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
12416 return Py_BuildValue((char *)"");
12418 static PyObject
*_wrap_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12419 PyObject
*resultobj
;
12421 char *kwnames
[] = {
12425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
12427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12428 result
= (wxLocale
*)wxGetLocale();
12430 wxPyEndAllowThreads(__tstate
);
12431 if (PyErr_Occurred()) SWIG_fail
;
12433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
12440 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*, PyObject
*args
) {
12441 PyObject
*resultobj
;
12442 wxString
*arg1
= 0 ;
12444 bool temp1
= false ;
12445 PyObject
* obj0
= 0 ;
12447 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
12449 arg1
= wxString_in_helper(obj0
);
12450 if (arg1
== NULL
) SWIG_fail
;
12454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12455 result
= wxGetTranslation((wxString
const &)*arg1
);
12457 wxPyEndAllowThreads(__tstate
);
12458 if (PyErr_Occurred()) SWIG_fail
;
12462 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12464 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12481 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*, PyObject
*args
) {
12482 PyObject
*resultobj
;
12483 wxString
*arg1
= 0 ;
12484 wxString
*arg2
= 0 ;
12487 bool temp1
= false ;
12488 bool temp2
= false ;
12489 PyObject
* obj0
= 0 ;
12490 PyObject
* obj1
= 0 ;
12491 PyObject
* obj2
= 0 ;
12493 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
12495 arg1
= wxString_in_helper(obj0
);
12496 if (arg1
== NULL
) SWIG_fail
;
12500 arg2
= wxString_in_helper(obj1
);
12501 if (arg2
== NULL
) SWIG_fail
;
12505 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
12506 if (SWIG_arg_fail(3)) SWIG_fail
;
12509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12510 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
12512 wxPyEndAllowThreads(__tstate
);
12513 if (PyErr_Occurred()) SWIG_fail
;
12517 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12519 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12544 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
12549 argc
= PyObject_Length(args
);
12550 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
12551 argv
[ii
] = PyTuple_GetItem(args
,ii
);
12556 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12559 return _wrap_GetTranslation__SWIG_0(self
,args
);
12565 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12569 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
12572 _v
= SWIG_Check_unsigned_SS_long(argv
[2]);
12574 return _wrap_GetTranslation__SWIG_1(self
,args
);
12580 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
12585 static PyObject
*_wrap_new_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12586 PyObject
*resultobj
;
12587 wxEncodingConverter
*result
;
12588 char *kwnames
[] = {
12592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
12594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12595 result
= (wxEncodingConverter
*)new wxEncodingConverter();
12597 wxPyEndAllowThreads(__tstate
);
12598 if (PyErr_Occurred()) SWIG_fail
;
12600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
12607 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12608 PyObject
*resultobj
;
12609 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12610 PyObject
* obj0
= 0 ;
12611 char *kwnames
[] = {
12612 (char *) "self", NULL
12615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
12616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12617 if (SWIG_arg_fail(1)) SWIG_fail
;
12619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12622 wxPyEndAllowThreads(__tstate
);
12623 if (PyErr_Occurred()) SWIG_fail
;
12625 Py_INCREF(Py_None
); resultobj
= Py_None
;
12632 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12633 PyObject
*resultobj
;
12634 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12635 wxFontEncoding arg2
;
12636 wxFontEncoding arg3
;
12637 int arg4
= (int) wxCONVERT_STRICT
;
12639 PyObject
* obj0
= 0 ;
12640 PyObject
* obj1
= 0 ;
12641 PyObject
* obj2
= 0 ;
12642 PyObject
* obj3
= 0 ;
12643 char *kwnames
[] = {
12644 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
12647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12649 if (SWIG_arg_fail(1)) SWIG_fail
;
12651 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
12652 if (SWIG_arg_fail(2)) SWIG_fail
;
12655 arg3
= (wxFontEncoding
)(SWIG_As_int(obj2
));
12656 if (SWIG_arg_fail(3)) SWIG_fail
;
12660 arg4
= (int)(SWIG_As_int(obj3
));
12661 if (SWIG_arg_fail(4)) SWIG_fail
;
12665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12666 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
12668 wxPyEndAllowThreads(__tstate
);
12669 if (PyErr_Occurred()) SWIG_fail
;
12672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12680 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12681 PyObject
*resultobj
;
12682 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12683 wxString
*arg2
= 0 ;
12685 bool temp2
= false ;
12686 PyObject
* obj0
= 0 ;
12687 PyObject
* obj1
= 0 ;
12688 char *kwnames
[] = {
12689 (char *) "self",(char *) "input", NULL
12692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
12693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12694 if (SWIG_arg_fail(1)) SWIG_fail
;
12696 arg2
= wxString_in_helper(obj1
);
12697 if (arg2
== NULL
) SWIG_fail
;
12701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12702 result
= (arg1
)->Convert((wxString
const &)*arg2
);
12704 wxPyEndAllowThreads(__tstate
);
12705 if (PyErr_Occurred()) SWIG_fail
;
12709 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12711 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12728 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12729 PyObject
*resultobj
;
12730 wxFontEncoding arg1
;
12731 int arg2
= (int) wxPLATFORM_CURRENT
;
12732 wxFontEncodingArray result
;
12733 PyObject
* obj0
= 0 ;
12734 PyObject
* obj1
= 0 ;
12735 char *kwnames
[] = {
12736 (char *) "enc",(char *) "platform", NULL
12739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
12741 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
12742 if (SWIG_arg_fail(1)) SWIG_fail
;
12746 arg2
= (int)(SWIG_As_int(obj1
));
12747 if (SWIG_arg_fail(2)) SWIG_fail
;
12751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12752 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
12754 wxPyEndAllowThreads(__tstate
);
12755 if (PyErr_Occurred()) SWIG_fail
;
12758 resultobj
= PyList_New(0);
12759 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
12760 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
12761 PyList_Append(resultobj
, number
);
12771 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12772 PyObject
*resultobj
;
12773 wxFontEncoding arg1
;
12774 wxFontEncodingArray result
;
12775 PyObject
* obj0
= 0 ;
12776 char *kwnames
[] = {
12777 (char *) "enc", NULL
12780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
12782 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
12783 if (SWIG_arg_fail(1)) SWIG_fail
;
12786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12787 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
12789 wxPyEndAllowThreads(__tstate
);
12790 if (PyErr_Occurred()) SWIG_fail
;
12793 resultobj
= PyList_New(0);
12794 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
12795 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
12796 PyList_Append(resultobj
, number
);
12806 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12807 PyObject
*resultobj
;
12808 wxFontEncoding arg1
;
12809 wxFontEncoding arg2
;
12811 PyObject
* obj0
= 0 ;
12812 PyObject
* obj1
= 0 ;
12813 char *kwnames
[] = {
12814 (char *) "encIn",(char *) "encOut", NULL
12817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
12819 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
12820 if (SWIG_arg_fail(1)) SWIG_fail
;
12823 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
12824 if (SWIG_arg_fail(2)) SWIG_fail
;
12827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12828 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
12830 wxPyEndAllowThreads(__tstate
);
12831 if (PyErr_Occurred()) SWIG_fail
;
12834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12842 static PyObject
* EncodingConverter_swigregister(PyObject
*, PyObject
*args
) {
12844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12845 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
12847 return Py_BuildValue((char *)"");
12849 static PyObject
*_wrap_delete_DC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12850 PyObject
*resultobj
;
12851 wxDC
*arg1
= (wxDC
*) 0 ;
12852 PyObject
* obj0
= 0 ;
12853 char *kwnames
[] = {
12854 (char *) "self", NULL
12857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
12858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12859 if (SWIG_arg_fail(1)) SWIG_fail
;
12861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12864 wxPyEndAllowThreads(__tstate
);
12865 if (PyErr_Occurred()) SWIG_fail
;
12867 Py_INCREF(Py_None
); resultobj
= Py_None
;
12874 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12875 PyObject
*resultobj
;
12876 wxDC
*arg1
= (wxDC
*) 0 ;
12877 PyObject
* obj0
= 0 ;
12878 char *kwnames
[] = {
12879 (char *) "self", NULL
12882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
12883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12884 if (SWIG_arg_fail(1)) SWIG_fail
;
12886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12887 (arg1
)->BeginDrawing();
12889 wxPyEndAllowThreads(__tstate
);
12890 if (PyErr_Occurred()) SWIG_fail
;
12892 Py_INCREF(Py_None
); resultobj
= Py_None
;
12899 static PyObject
*_wrap_DC_EndDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12900 PyObject
*resultobj
;
12901 wxDC
*arg1
= (wxDC
*) 0 ;
12902 PyObject
* obj0
= 0 ;
12903 char *kwnames
[] = {
12904 (char *) "self", NULL
12907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
12908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12909 if (SWIG_arg_fail(1)) SWIG_fail
;
12911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12912 (arg1
)->EndDrawing();
12914 wxPyEndAllowThreads(__tstate
);
12915 if (PyErr_Occurred()) SWIG_fail
;
12917 Py_INCREF(Py_None
); resultobj
= Py_None
;
12924 static PyObject
*_wrap_DC_FloodFill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12925 PyObject
*resultobj
;
12926 wxDC
*arg1
= (wxDC
*) 0 ;
12929 wxColour
*arg4
= 0 ;
12930 int arg5
= (int) wxFLOOD_SURFACE
;
12933 PyObject
* obj0
= 0 ;
12934 PyObject
* obj1
= 0 ;
12935 PyObject
* obj2
= 0 ;
12936 PyObject
* obj3
= 0 ;
12937 PyObject
* obj4
= 0 ;
12938 char *kwnames
[] = {
12939 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
12942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12944 if (SWIG_arg_fail(1)) SWIG_fail
;
12946 arg2
= (int)(SWIG_As_int(obj1
));
12947 if (SWIG_arg_fail(2)) SWIG_fail
;
12950 arg3
= (int)(SWIG_As_int(obj2
));
12951 if (SWIG_arg_fail(3)) SWIG_fail
;
12955 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
12959 arg5
= (int)(SWIG_As_int(obj4
));
12960 if (SWIG_arg_fail(5)) SWIG_fail
;
12964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12965 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
12967 wxPyEndAllowThreads(__tstate
);
12968 if (PyErr_Occurred()) SWIG_fail
;
12971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12979 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12980 PyObject
*resultobj
;
12981 wxDC
*arg1
= (wxDC
*) 0 ;
12982 wxPoint
*arg2
= 0 ;
12983 wxColour
*arg3
= 0 ;
12984 int arg4
= (int) wxFLOOD_SURFACE
;
12988 PyObject
* obj0
= 0 ;
12989 PyObject
* obj1
= 0 ;
12990 PyObject
* obj2
= 0 ;
12991 PyObject
* obj3
= 0 ;
12992 char *kwnames
[] = {
12993 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
12996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12998 if (SWIG_arg_fail(1)) SWIG_fail
;
13001 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13005 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13009 arg4
= (int)(SWIG_As_int(obj3
));
13010 if (SWIG_arg_fail(4)) SWIG_fail
;
13014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13015 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
13017 wxPyEndAllowThreads(__tstate
);
13018 if (PyErr_Occurred()) SWIG_fail
;
13021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13029 static PyObject
*_wrap_DC_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13030 PyObject
*resultobj
;
13031 wxDC
*arg1
= (wxDC
*) 0 ;
13035 PyObject
* obj0
= 0 ;
13036 PyObject
* obj1
= 0 ;
13037 PyObject
* obj2
= 0 ;
13038 char *kwnames
[] = {
13039 (char *) "self",(char *) "x",(char *) "y", NULL
13042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13044 if (SWIG_arg_fail(1)) SWIG_fail
;
13046 arg2
= (int)(SWIG_As_int(obj1
));
13047 if (SWIG_arg_fail(2)) SWIG_fail
;
13050 arg3
= (int)(SWIG_As_int(obj2
));
13051 if (SWIG_arg_fail(3)) SWIG_fail
;
13054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13055 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
13057 wxPyEndAllowThreads(__tstate
);
13058 if (PyErr_Occurred()) SWIG_fail
;
13061 wxColour
* resultptr
;
13062 resultptr
= new wxColour((wxColour
&)(result
));
13063 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13071 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13072 PyObject
*resultobj
;
13073 wxDC
*arg1
= (wxDC
*) 0 ;
13074 wxPoint
*arg2
= 0 ;
13077 PyObject
* obj0
= 0 ;
13078 PyObject
* obj1
= 0 ;
13079 char *kwnames
[] = {
13080 (char *) "self",(char *) "pt", NULL
13083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
13084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13085 if (SWIG_arg_fail(1)) SWIG_fail
;
13088 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13092 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
13094 wxPyEndAllowThreads(__tstate
);
13095 if (PyErr_Occurred()) SWIG_fail
;
13098 wxColour
* resultptr
;
13099 resultptr
= new wxColour((wxColour
&)(result
));
13100 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13108 static PyObject
*_wrap_DC_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13109 PyObject
*resultobj
;
13110 wxDC
*arg1
= (wxDC
*) 0 ;
13115 PyObject
* obj0
= 0 ;
13116 PyObject
* obj1
= 0 ;
13117 PyObject
* obj2
= 0 ;
13118 PyObject
* obj3
= 0 ;
13119 PyObject
* obj4
= 0 ;
13120 char *kwnames
[] = {
13121 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
13124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13126 if (SWIG_arg_fail(1)) SWIG_fail
;
13128 arg2
= (int)(SWIG_As_int(obj1
));
13129 if (SWIG_arg_fail(2)) SWIG_fail
;
13132 arg3
= (int)(SWIG_As_int(obj2
));
13133 if (SWIG_arg_fail(3)) SWIG_fail
;
13136 arg4
= (int)(SWIG_As_int(obj3
));
13137 if (SWIG_arg_fail(4)) SWIG_fail
;
13140 arg5
= (int)(SWIG_As_int(obj4
));
13141 if (SWIG_arg_fail(5)) SWIG_fail
;
13144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13145 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
13147 wxPyEndAllowThreads(__tstate
);
13148 if (PyErr_Occurred()) SWIG_fail
;
13150 Py_INCREF(Py_None
); resultobj
= Py_None
;
13157 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13158 PyObject
*resultobj
;
13159 wxDC
*arg1
= (wxDC
*) 0 ;
13160 wxPoint
*arg2
= 0 ;
13161 wxPoint
*arg3
= 0 ;
13164 PyObject
* obj0
= 0 ;
13165 PyObject
* obj1
= 0 ;
13166 PyObject
* obj2
= 0 ;
13167 char *kwnames
[] = {
13168 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
13171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13173 if (SWIG_arg_fail(1)) SWIG_fail
;
13176 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13180 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13184 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
13186 wxPyEndAllowThreads(__tstate
);
13187 if (PyErr_Occurred()) SWIG_fail
;
13189 Py_INCREF(Py_None
); resultobj
= Py_None
;
13196 static PyObject
*_wrap_DC_CrossHair(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13197 PyObject
*resultobj
;
13198 wxDC
*arg1
= (wxDC
*) 0 ;
13201 PyObject
* obj0
= 0 ;
13202 PyObject
* obj1
= 0 ;
13203 PyObject
* obj2
= 0 ;
13204 char *kwnames
[] = {
13205 (char *) "self",(char *) "x",(char *) "y", NULL
13208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13210 if (SWIG_arg_fail(1)) SWIG_fail
;
13212 arg2
= (int)(SWIG_As_int(obj1
));
13213 if (SWIG_arg_fail(2)) SWIG_fail
;
13216 arg3
= (int)(SWIG_As_int(obj2
));
13217 if (SWIG_arg_fail(3)) SWIG_fail
;
13220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13221 (arg1
)->CrossHair(arg2
,arg3
);
13223 wxPyEndAllowThreads(__tstate
);
13224 if (PyErr_Occurred()) SWIG_fail
;
13226 Py_INCREF(Py_None
); resultobj
= Py_None
;
13233 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13234 PyObject
*resultobj
;
13235 wxDC
*arg1
= (wxDC
*) 0 ;
13236 wxPoint
*arg2
= 0 ;
13238 PyObject
* obj0
= 0 ;
13239 PyObject
* obj1
= 0 ;
13240 char *kwnames
[] = {
13241 (char *) "self",(char *) "pt", NULL
13244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
13245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13246 if (SWIG_arg_fail(1)) SWIG_fail
;
13249 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13253 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
13255 wxPyEndAllowThreads(__tstate
);
13256 if (PyErr_Occurred()) SWIG_fail
;
13258 Py_INCREF(Py_None
); resultobj
= Py_None
;
13265 static PyObject
*_wrap_DC_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13266 PyObject
*resultobj
;
13267 wxDC
*arg1
= (wxDC
*) 0 ;
13274 PyObject
* obj0
= 0 ;
13275 PyObject
* obj1
= 0 ;
13276 PyObject
* obj2
= 0 ;
13277 PyObject
* obj3
= 0 ;
13278 PyObject
* obj4
= 0 ;
13279 PyObject
* obj5
= 0 ;
13280 PyObject
* obj6
= 0 ;
13281 char *kwnames
[] = {
13282 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
13285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13287 if (SWIG_arg_fail(1)) SWIG_fail
;
13289 arg2
= (int)(SWIG_As_int(obj1
));
13290 if (SWIG_arg_fail(2)) SWIG_fail
;
13293 arg3
= (int)(SWIG_As_int(obj2
));
13294 if (SWIG_arg_fail(3)) SWIG_fail
;
13297 arg4
= (int)(SWIG_As_int(obj3
));
13298 if (SWIG_arg_fail(4)) SWIG_fail
;
13301 arg5
= (int)(SWIG_As_int(obj4
));
13302 if (SWIG_arg_fail(5)) SWIG_fail
;
13305 arg6
= (int)(SWIG_As_int(obj5
));
13306 if (SWIG_arg_fail(6)) SWIG_fail
;
13309 arg7
= (int)(SWIG_As_int(obj6
));
13310 if (SWIG_arg_fail(7)) SWIG_fail
;
13313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13314 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13316 wxPyEndAllowThreads(__tstate
);
13317 if (PyErr_Occurred()) SWIG_fail
;
13319 Py_INCREF(Py_None
); resultobj
= Py_None
;
13326 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13327 PyObject
*resultobj
;
13328 wxDC
*arg1
= (wxDC
*) 0 ;
13329 wxPoint
*arg2
= 0 ;
13330 wxPoint
*arg3
= 0 ;
13331 wxPoint
*arg4
= 0 ;
13335 PyObject
* obj0
= 0 ;
13336 PyObject
* obj1
= 0 ;
13337 PyObject
* obj2
= 0 ;
13338 PyObject
* obj3
= 0 ;
13339 char *kwnames
[] = {
13340 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
13343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13345 if (SWIG_arg_fail(1)) SWIG_fail
;
13348 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13352 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13356 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13360 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
13362 wxPyEndAllowThreads(__tstate
);
13363 if (PyErr_Occurred()) SWIG_fail
;
13365 Py_INCREF(Py_None
); resultobj
= Py_None
;
13372 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13373 PyObject
*resultobj
;
13374 wxDC
*arg1
= (wxDC
*) 0 ;
13379 PyObject
* obj0
= 0 ;
13380 PyObject
* obj1
= 0 ;
13381 PyObject
* obj2
= 0 ;
13382 PyObject
* obj3
= 0 ;
13383 PyObject
* obj4
= 0 ;
13384 char *kwnames
[] = {
13385 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13390 if (SWIG_arg_fail(1)) SWIG_fail
;
13392 arg2
= (int)(SWIG_As_int(obj1
));
13393 if (SWIG_arg_fail(2)) SWIG_fail
;
13396 arg3
= (int)(SWIG_As_int(obj2
));
13397 if (SWIG_arg_fail(3)) SWIG_fail
;
13400 arg4
= (int)(SWIG_As_int(obj3
));
13401 if (SWIG_arg_fail(4)) SWIG_fail
;
13404 arg5
= (int)(SWIG_As_int(obj4
));
13405 if (SWIG_arg_fail(5)) SWIG_fail
;
13408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13409 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
13411 wxPyEndAllowThreads(__tstate
);
13412 if (PyErr_Occurred()) SWIG_fail
;
13414 Py_INCREF(Py_None
); resultobj
= Py_None
;
13421 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13422 PyObject
*resultobj
;
13423 wxDC
*arg1
= (wxDC
*) 0 ;
13426 PyObject
* obj0
= 0 ;
13427 PyObject
* obj1
= 0 ;
13428 char *kwnames
[] = {
13429 (char *) "self",(char *) "rect", NULL
13432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13434 if (SWIG_arg_fail(1)) SWIG_fail
;
13437 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13441 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
13443 wxPyEndAllowThreads(__tstate
);
13444 if (PyErr_Occurred()) SWIG_fail
;
13446 Py_INCREF(Py_None
); resultobj
= Py_None
;
13453 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13454 PyObject
*resultobj
;
13455 wxDC
*arg1
= (wxDC
*) 0 ;
13462 PyObject
* obj0
= 0 ;
13463 PyObject
* obj1
= 0 ;
13464 PyObject
* obj2
= 0 ;
13465 PyObject
* obj3
= 0 ;
13466 PyObject
* obj4
= 0 ;
13467 PyObject
* obj5
= 0 ;
13468 PyObject
* obj6
= 0 ;
13469 char *kwnames
[] = {
13470 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
13473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13475 if (SWIG_arg_fail(1)) SWIG_fail
;
13477 arg2
= (int)(SWIG_As_int(obj1
));
13478 if (SWIG_arg_fail(2)) SWIG_fail
;
13481 arg3
= (int)(SWIG_As_int(obj2
));
13482 if (SWIG_arg_fail(3)) SWIG_fail
;
13485 arg4
= (int)(SWIG_As_int(obj3
));
13486 if (SWIG_arg_fail(4)) SWIG_fail
;
13489 arg5
= (int)(SWIG_As_int(obj4
));
13490 if (SWIG_arg_fail(5)) SWIG_fail
;
13493 arg6
= (double)(SWIG_As_double(obj5
));
13494 if (SWIG_arg_fail(6)) SWIG_fail
;
13497 arg7
= (double)(SWIG_As_double(obj6
));
13498 if (SWIG_arg_fail(7)) SWIG_fail
;
13501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13502 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13504 wxPyEndAllowThreads(__tstate
);
13505 if (PyErr_Occurred()) SWIG_fail
;
13507 Py_INCREF(Py_None
); resultobj
= Py_None
;
13514 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13515 PyObject
*resultobj
;
13516 wxDC
*arg1
= (wxDC
*) 0 ;
13517 wxPoint
*arg2
= 0 ;
13523 PyObject
* obj0
= 0 ;
13524 PyObject
* obj1
= 0 ;
13525 PyObject
* obj2
= 0 ;
13526 PyObject
* obj3
= 0 ;
13527 PyObject
* obj4
= 0 ;
13528 char *kwnames
[] = {
13529 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
13532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13534 if (SWIG_arg_fail(1)) SWIG_fail
;
13537 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13541 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13544 arg4
= (double)(SWIG_As_double(obj3
));
13545 if (SWIG_arg_fail(4)) SWIG_fail
;
13548 arg5
= (double)(SWIG_As_double(obj4
));
13549 if (SWIG_arg_fail(5)) SWIG_fail
;
13552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13553 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
13555 wxPyEndAllowThreads(__tstate
);
13556 if (PyErr_Occurred()) SWIG_fail
;
13558 Py_INCREF(Py_None
); resultobj
= Py_None
;
13565 static PyObject
*_wrap_DC_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13566 PyObject
*resultobj
;
13567 wxDC
*arg1
= (wxDC
*) 0 ;
13570 PyObject
* obj0
= 0 ;
13571 PyObject
* obj1
= 0 ;
13572 PyObject
* obj2
= 0 ;
13573 char *kwnames
[] = {
13574 (char *) "self",(char *) "x",(char *) "y", NULL
13577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13579 if (SWIG_arg_fail(1)) SWIG_fail
;
13581 arg2
= (int)(SWIG_As_int(obj1
));
13582 if (SWIG_arg_fail(2)) SWIG_fail
;
13585 arg3
= (int)(SWIG_As_int(obj2
));
13586 if (SWIG_arg_fail(3)) SWIG_fail
;
13589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13590 (arg1
)->DrawPoint(arg2
,arg3
);
13592 wxPyEndAllowThreads(__tstate
);
13593 if (PyErr_Occurred()) SWIG_fail
;
13595 Py_INCREF(Py_None
); resultobj
= Py_None
;
13602 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13603 PyObject
*resultobj
;
13604 wxDC
*arg1
= (wxDC
*) 0 ;
13605 wxPoint
*arg2
= 0 ;
13607 PyObject
* obj0
= 0 ;
13608 PyObject
* obj1
= 0 ;
13609 char *kwnames
[] = {
13610 (char *) "self",(char *) "pt", NULL
13613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
13614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13615 if (SWIG_arg_fail(1)) SWIG_fail
;
13618 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13622 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13627 Py_INCREF(Py_None
); resultobj
= Py_None
;
13634 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13635 PyObject
*resultobj
;
13636 wxDC
*arg1
= (wxDC
*) 0 ;
13641 PyObject
* obj0
= 0 ;
13642 PyObject
* obj1
= 0 ;
13643 PyObject
* obj2
= 0 ;
13644 PyObject
* obj3
= 0 ;
13645 PyObject
* obj4
= 0 ;
13646 char *kwnames
[] = {
13647 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13652 if (SWIG_arg_fail(1)) SWIG_fail
;
13654 arg2
= (int)(SWIG_As_int(obj1
));
13655 if (SWIG_arg_fail(2)) SWIG_fail
;
13658 arg3
= (int)(SWIG_As_int(obj2
));
13659 if (SWIG_arg_fail(3)) SWIG_fail
;
13662 arg4
= (int)(SWIG_As_int(obj3
));
13663 if (SWIG_arg_fail(4)) SWIG_fail
;
13666 arg5
= (int)(SWIG_As_int(obj4
));
13667 if (SWIG_arg_fail(5)) SWIG_fail
;
13670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13671 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
13673 wxPyEndAllowThreads(__tstate
);
13674 if (PyErr_Occurred()) SWIG_fail
;
13676 Py_INCREF(Py_None
); resultobj
= Py_None
;
13683 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13684 PyObject
*resultobj
;
13685 wxDC
*arg1
= (wxDC
*) 0 ;
13688 PyObject
* obj0
= 0 ;
13689 PyObject
* obj1
= 0 ;
13690 char *kwnames
[] = {
13691 (char *) "self",(char *) "rect", NULL
13694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13696 if (SWIG_arg_fail(1)) SWIG_fail
;
13699 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13703 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
13705 wxPyEndAllowThreads(__tstate
);
13706 if (PyErr_Occurred()) SWIG_fail
;
13708 Py_INCREF(Py_None
); resultobj
= Py_None
;
13715 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13716 PyObject
*resultobj
;
13717 wxDC
*arg1
= (wxDC
*) 0 ;
13718 wxPoint
*arg2
= 0 ;
13722 PyObject
* obj0
= 0 ;
13723 PyObject
* obj1
= 0 ;
13724 PyObject
* obj2
= 0 ;
13725 char *kwnames
[] = {
13726 (char *) "self",(char *) "pt",(char *) "sz", NULL
13729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13731 if (SWIG_arg_fail(1)) SWIG_fail
;
13734 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13738 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13742 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13744 wxPyEndAllowThreads(__tstate
);
13745 if (PyErr_Occurred()) SWIG_fail
;
13747 Py_INCREF(Py_None
); resultobj
= Py_None
;
13754 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13755 PyObject
*resultobj
;
13756 wxDC
*arg1
= (wxDC
*) 0 ;
13762 PyObject
* obj0
= 0 ;
13763 PyObject
* obj1
= 0 ;
13764 PyObject
* obj2
= 0 ;
13765 PyObject
* obj3
= 0 ;
13766 PyObject
* obj4
= 0 ;
13767 PyObject
* obj5
= 0 ;
13768 char *kwnames
[] = {
13769 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
13772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13774 if (SWIG_arg_fail(1)) SWIG_fail
;
13776 arg2
= (int)(SWIG_As_int(obj1
));
13777 if (SWIG_arg_fail(2)) SWIG_fail
;
13780 arg3
= (int)(SWIG_As_int(obj2
));
13781 if (SWIG_arg_fail(3)) SWIG_fail
;
13784 arg4
= (int)(SWIG_As_int(obj3
));
13785 if (SWIG_arg_fail(4)) SWIG_fail
;
13788 arg5
= (int)(SWIG_As_int(obj4
));
13789 if (SWIG_arg_fail(5)) SWIG_fail
;
13792 arg6
= (double)(SWIG_As_double(obj5
));
13793 if (SWIG_arg_fail(6)) SWIG_fail
;
13796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13797 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
13799 wxPyEndAllowThreads(__tstate
);
13800 if (PyErr_Occurred()) SWIG_fail
;
13802 Py_INCREF(Py_None
); resultobj
= Py_None
;
13809 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13810 PyObject
*resultobj
;
13811 wxDC
*arg1
= (wxDC
*) 0 ;
13815 PyObject
* obj0
= 0 ;
13816 PyObject
* obj1
= 0 ;
13817 PyObject
* obj2
= 0 ;
13818 char *kwnames
[] = {
13819 (char *) "self",(char *) "r",(char *) "radius", NULL
13822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13824 if (SWIG_arg_fail(1)) SWIG_fail
;
13827 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13830 arg3
= (double)(SWIG_As_double(obj2
));
13831 if (SWIG_arg_fail(3)) SWIG_fail
;
13834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13835 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
13837 wxPyEndAllowThreads(__tstate
);
13838 if (PyErr_Occurred()) SWIG_fail
;
13840 Py_INCREF(Py_None
); resultobj
= Py_None
;
13847 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13848 PyObject
*resultobj
;
13849 wxDC
*arg1
= (wxDC
*) 0 ;
13850 wxPoint
*arg2
= 0 ;
13855 PyObject
* obj0
= 0 ;
13856 PyObject
* obj1
= 0 ;
13857 PyObject
* obj2
= 0 ;
13858 PyObject
* obj3
= 0 ;
13859 char *kwnames
[] = {
13860 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
13863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13865 if (SWIG_arg_fail(1)) SWIG_fail
;
13868 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13872 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13875 arg4
= (double)(SWIG_As_double(obj3
));
13876 if (SWIG_arg_fail(4)) SWIG_fail
;
13879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13880 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
13882 wxPyEndAllowThreads(__tstate
);
13883 if (PyErr_Occurred()) SWIG_fail
;
13885 Py_INCREF(Py_None
); resultobj
= Py_None
;
13892 static PyObject
*_wrap_DC_DrawCircle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13893 PyObject
*resultobj
;
13894 wxDC
*arg1
= (wxDC
*) 0 ;
13898 PyObject
* obj0
= 0 ;
13899 PyObject
* obj1
= 0 ;
13900 PyObject
* obj2
= 0 ;
13901 PyObject
* obj3
= 0 ;
13902 char *kwnames
[] = {
13903 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
13906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13908 if (SWIG_arg_fail(1)) SWIG_fail
;
13910 arg2
= (int)(SWIG_As_int(obj1
));
13911 if (SWIG_arg_fail(2)) SWIG_fail
;
13914 arg3
= (int)(SWIG_As_int(obj2
));
13915 if (SWIG_arg_fail(3)) SWIG_fail
;
13918 arg4
= (int)(SWIG_As_int(obj3
));
13919 if (SWIG_arg_fail(4)) SWIG_fail
;
13922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13923 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
13925 wxPyEndAllowThreads(__tstate
);
13926 if (PyErr_Occurred()) SWIG_fail
;
13928 Py_INCREF(Py_None
); resultobj
= Py_None
;
13935 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13936 PyObject
*resultobj
;
13937 wxDC
*arg1
= (wxDC
*) 0 ;
13938 wxPoint
*arg2
= 0 ;
13941 PyObject
* obj0
= 0 ;
13942 PyObject
* obj1
= 0 ;
13943 PyObject
* obj2
= 0 ;
13944 char *kwnames
[] = {
13945 (char *) "self",(char *) "pt",(char *) "radius", NULL
13948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13950 if (SWIG_arg_fail(1)) SWIG_fail
;
13953 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13956 arg3
= (int)(SWIG_As_int(obj2
));
13957 if (SWIG_arg_fail(3)) SWIG_fail
;
13960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13961 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
13963 wxPyEndAllowThreads(__tstate
);
13964 if (PyErr_Occurred()) SWIG_fail
;
13966 Py_INCREF(Py_None
); resultobj
= Py_None
;
13973 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13974 PyObject
*resultobj
;
13975 wxDC
*arg1
= (wxDC
*) 0 ;
13980 PyObject
* obj0
= 0 ;
13981 PyObject
* obj1
= 0 ;
13982 PyObject
* obj2
= 0 ;
13983 PyObject
* obj3
= 0 ;
13984 PyObject
* obj4
= 0 ;
13985 char *kwnames
[] = {
13986 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13991 if (SWIG_arg_fail(1)) SWIG_fail
;
13993 arg2
= (int)(SWIG_As_int(obj1
));
13994 if (SWIG_arg_fail(2)) SWIG_fail
;
13997 arg3
= (int)(SWIG_As_int(obj2
));
13998 if (SWIG_arg_fail(3)) SWIG_fail
;
14001 arg4
= (int)(SWIG_As_int(obj3
));
14002 if (SWIG_arg_fail(4)) SWIG_fail
;
14005 arg5
= (int)(SWIG_As_int(obj4
));
14006 if (SWIG_arg_fail(5)) SWIG_fail
;
14009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14010 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
14012 wxPyEndAllowThreads(__tstate
);
14013 if (PyErr_Occurred()) SWIG_fail
;
14015 Py_INCREF(Py_None
); resultobj
= Py_None
;
14022 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14023 PyObject
*resultobj
;
14024 wxDC
*arg1
= (wxDC
*) 0 ;
14027 PyObject
* obj0
= 0 ;
14028 PyObject
* obj1
= 0 ;
14029 char *kwnames
[] = {
14030 (char *) "self",(char *) "rect", NULL
14033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14035 if (SWIG_arg_fail(1)) SWIG_fail
;
14038 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14042 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
14044 wxPyEndAllowThreads(__tstate
);
14045 if (PyErr_Occurred()) SWIG_fail
;
14047 Py_INCREF(Py_None
); resultobj
= Py_None
;
14054 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14055 PyObject
*resultobj
;
14056 wxDC
*arg1
= (wxDC
*) 0 ;
14057 wxPoint
*arg2
= 0 ;
14061 PyObject
* obj0
= 0 ;
14062 PyObject
* obj1
= 0 ;
14063 PyObject
* obj2
= 0 ;
14064 char *kwnames
[] = {
14065 (char *) "self",(char *) "pt",(char *) "sz", NULL
14068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14070 if (SWIG_arg_fail(1)) SWIG_fail
;
14073 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14077 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14081 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
14083 wxPyEndAllowThreads(__tstate
);
14084 if (PyErr_Occurred()) SWIG_fail
;
14086 Py_INCREF(Py_None
); resultobj
= Py_None
;
14093 static PyObject
*_wrap_DC_DrawIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14094 PyObject
*resultobj
;
14095 wxDC
*arg1
= (wxDC
*) 0 ;
14099 PyObject
* obj0
= 0 ;
14100 PyObject
* obj1
= 0 ;
14101 PyObject
* obj2
= 0 ;
14102 PyObject
* obj3
= 0 ;
14103 char *kwnames
[] = {
14104 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
14107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14109 if (SWIG_arg_fail(1)) SWIG_fail
;
14111 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
14112 if (SWIG_arg_fail(2)) SWIG_fail
;
14113 if (arg2
== NULL
) {
14114 SWIG_null_ref("wxIcon");
14116 if (SWIG_arg_fail(2)) SWIG_fail
;
14119 arg3
= (int)(SWIG_As_int(obj2
));
14120 if (SWIG_arg_fail(3)) SWIG_fail
;
14123 arg4
= (int)(SWIG_As_int(obj3
));
14124 if (SWIG_arg_fail(4)) SWIG_fail
;
14127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14128 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
14130 wxPyEndAllowThreads(__tstate
);
14131 if (PyErr_Occurred()) SWIG_fail
;
14133 Py_INCREF(Py_None
); resultobj
= Py_None
;
14140 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14141 PyObject
*resultobj
;
14142 wxDC
*arg1
= (wxDC
*) 0 ;
14144 wxPoint
*arg3
= 0 ;
14146 PyObject
* obj0
= 0 ;
14147 PyObject
* obj1
= 0 ;
14148 PyObject
* obj2
= 0 ;
14149 char *kwnames
[] = {
14150 (char *) "self",(char *) "icon",(char *) "pt", NULL
14153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14155 if (SWIG_arg_fail(1)) SWIG_fail
;
14157 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
14158 if (SWIG_arg_fail(2)) SWIG_fail
;
14159 if (arg2
== NULL
) {
14160 SWIG_null_ref("wxIcon");
14162 if (SWIG_arg_fail(2)) SWIG_fail
;
14166 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14170 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
14172 wxPyEndAllowThreads(__tstate
);
14173 if (PyErr_Occurred()) SWIG_fail
;
14175 Py_INCREF(Py_None
); resultobj
= Py_None
;
14182 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14183 PyObject
*resultobj
;
14184 wxDC
*arg1
= (wxDC
*) 0 ;
14185 wxBitmap
*arg2
= 0 ;
14188 bool arg5
= (bool) false ;
14189 PyObject
* obj0
= 0 ;
14190 PyObject
* obj1
= 0 ;
14191 PyObject
* obj2
= 0 ;
14192 PyObject
* obj3
= 0 ;
14193 PyObject
* obj4
= 0 ;
14194 char *kwnames
[] = {
14195 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
14198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14200 if (SWIG_arg_fail(1)) SWIG_fail
;
14202 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
14203 if (SWIG_arg_fail(2)) SWIG_fail
;
14204 if (arg2
== NULL
) {
14205 SWIG_null_ref("wxBitmap");
14207 if (SWIG_arg_fail(2)) SWIG_fail
;
14210 arg3
= (int)(SWIG_As_int(obj2
));
14211 if (SWIG_arg_fail(3)) SWIG_fail
;
14214 arg4
= (int)(SWIG_As_int(obj3
));
14215 if (SWIG_arg_fail(4)) SWIG_fail
;
14219 arg5
= (bool)(SWIG_As_bool(obj4
));
14220 if (SWIG_arg_fail(5)) SWIG_fail
;
14224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14225 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
14227 wxPyEndAllowThreads(__tstate
);
14228 if (PyErr_Occurred()) SWIG_fail
;
14230 Py_INCREF(Py_None
); resultobj
= Py_None
;
14237 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14238 PyObject
*resultobj
;
14239 wxDC
*arg1
= (wxDC
*) 0 ;
14240 wxBitmap
*arg2
= 0 ;
14241 wxPoint
*arg3
= 0 ;
14242 bool arg4
= (bool) false ;
14244 PyObject
* obj0
= 0 ;
14245 PyObject
* obj1
= 0 ;
14246 PyObject
* obj2
= 0 ;
14247 PyObject
* obj3
= 0 ;
14248 char *kwnames
[] = {
14249 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
14252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14254 if (SWIG_arg_fail(1)) SWIG_fail
;
14256 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
14257 if (SWIG_arg_fail(2)) SWIG_fail
;
14258 if (arg2
== NULL
) {
14259 SWIG_null_ref("wxBitmap");
14261 if (SWIG_arg_fail(2)) SWIG_fail
;
14265 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14269 arg4
= (bool)(SWIG_As_bool(obj3
));
14270 if (SWIG_arg_fail(4)) SWIG_fail
;
14274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14275 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
14277 wxPyEndAllowThreads(__tstate
);
14278 if (PyErr_Occurred()) SWIG_fail
;
14280 Py_INCREF(Py_None
); resultobj
= Py_None
;
14287 static PyObject
*_wrap_DC_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14288 PyObject
*resultobj
;
14289 wxDC
*arg1
= (wxDC
*) 0 ;
14290 wxString
*arg2
= 0 ;
14293 bool temp2
= false ;
14294 PyObject
* obj0
= 0 ;
14295 PyObject
* obj1
= 0 ;
14296 PyObject
* obj2
= 0 ;
14297 PyObject
* obj3
= 0 ;
14298 char *kwnames
[] = {
14299 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
14302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14304 if (SWIG_arg_fail(1)) SWIG_fail
;
14306 arg2
= wxString_in_helper(obj1
);
14307 if (arg2
== NULL
) SWIG_fail
;
14311 arg3
= (int)(SWIG_As_int(obj2
));
14312 if (SWIG_arg_fail(3)) SWIG_fail
;
14315 arg4
= (int)(SWIG_As_int(obj3
));
14316 if (SWIG_arg_fail(4)) SWIG_fail
;
14319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14320 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
14322 wxPyEndAllowThreads(__tstate
);
14323 if (PyErr_Occurred()) SWIG_fail
;
14325 Py_INCREF(Py_None
); resultobj
= Py_None
;
14340 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14341 PyObject
*resultobj
;
14342 wxDC
*arg1
= (wxDC
*) 0 ;
14343 wxString
*arg2
= 0 ;
14344 wxPoint
*arg3
= 0 ;
14345 bool temp2
= false ;
14347 PyObject
* obj0
= 0 ;
14348 PyObject
* obj1
= 0 ;
14349 PyObject
* obj2
= 0 ;
14350 char *kwnames
[] = {
14351 (char *) "self",(char *) "text",(char *) "pt", NULL
14354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14356 if (SWIG_arg_fail(1)) SWIG_fail
;
14358 arg2
= wxString_in_helper(obj1
);
14359 if (arg2
== NULL
) SWIG_fail
;
14364 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14368 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
14370 wxPyEndAllowThreads(__tstate
);
14371 if (PyErr_Occurred()) SWIG_fail
;
14373 Py_INCREF(Py_None
); resultobj
= Py_None
;
14388 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14389 PyObject
*resultobj
;
14390 wxDC
*arg1
= (wxDC
*) 0 ;
14391 wxString
*arg2
= 0 ;
14395 bool temp2
= false ;
14396 PyObject
* obj0
= 0 ;
14397 PyObject
* obj1
= 0 ;
14398 PyObject
* obj2
= 0 ;
14399 PyObject
* obj3
= 0 ;
14400 PyObject
* obj4
= 0 ;
14401 char *kwnames
[] = {
14402 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
14405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14407 if (SWIG_arg_fail(1)) SWIG_fail
;
14409 arg2
= wxString_in_helper(obj1
);
14410 if (arg2
== NULL
) SWIG_fail
;
14414 arg3
= (int)(SWIG_As_int(obj2
));
14415 if (SWIG_arg_fail(3)) SWIG_fail
;
14418 arg4
= (int)(SWIG_As_int(obj3
));
14419 if (SWIG_arg_fail(4)) SWIG_fail
;
14422 arg5
= (double)(SWIG_As_double(obj4
));
14423 if (SWIG_arg_fail(5)) SWIG_fail
;
14426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14427 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
14429 wxPyEndAllowThreads(__tstate
);
14430 if (PyErr_Occurred()) SWIG_fail
;
14432 Py_INCREF(Py_None
); resultobj
= Py_None
;
14447 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14448 PyObject
*resultobj
;
14449 wxDC
*arg1
= (wxDC
*) 0 ;
14450 wxString
*arg2
= 0 ;
14451 wxPoint
*arg3
= 0 ;
14453 bool temp2
= false ;
14455 PyObject
* obj0
= 0 ;
14456 PyObject
* obj1
= 0 ;
14457 PyObject
* obj2
= 0 ;
14458 PyObject
* obj3
= 0 ;
14459 char *kwnames
[] = {
14460 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
14463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14465 if (SWIG_arg_fail(1)) SWIG_fail
;
14467 arg2
= wxString_in_helper(obj1
);
14468 if (arg2
== NULL
) SWIG_fail
;
14473 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14476 arg4
= (double)(SWIG_As_double(obj3
));
14477 if (SWIG_arg_fail(4)) SWIG_fail
;
14480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14481 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
14483 wxPyEndAllowThreads(__tstate
);
14484 if (PyErr_Occurred()) SWIG_fail
;
14486 Py_INCREF(Py_None
); resultobj
= Py_None
;
14501 static PyObject
*_wrap_DC_Blit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14502 PyObject
*resultobj
;
14503 wxDC
*arg1
= (wxDC
*) 0 ;
14508 wxDC
*arg6
= (wxDC
*) 0 ;
14511 int arg9
= (int) wxCOPY
;
14512 bool arg10
= (bool) false ;
14513 int arg11
= (int) -1 ;
14514 int arg12
= (int) -1 ;
14516 PyObject
* obj0
= 0 ;
14517 PyObject
* obj1
= 0 ;
14518 PyObject
* obj2
= 0 ;
14519 PyObject
* obj3
= 0 ;
14520 PyObject
* obj4
= 0 ;
14521 PyObject
* obj5
= 0 ;
14522 PyObject
* obj6
= 0 ;
14523 PyObject
* obj7
= 0 ;
14524 PyObject
* obj8
= 0 ;
14525 PyObject
* obj9
= 0 ;
14526 PyObject
* obj10
= 0 ;
14527 PyObject
* obj11
= 0 ;
14528 char *kwnames
[] = {
14529 (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
14532 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
;
14533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14534 if (SWIG_arg_fail(1)) SWIG_fail
;
14536 arg2
= (int)(SWIG_As_int(obj1
));
14537 if (SWIG_arg_fail(2)) SWIG_fail
;
14540 arg3
= (int)(SWIG_As_int(obj2
));
14541 if (SWIG_arg_fail(3)) SWIG_fail
;
14544 arg4
= (int)(SWIG_As_int(obj3
));
14545 if (SWIG_arg_fail(4)) SWIG_fail
;
14548 arg5
= (int)(SWIG_As_int(obj4
));
14549 if (SWIG_arg_fail(5)) SWIG_fail
;
14551 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14552 if (SWIG_arg_fail(6)) SWIG_fail
;
14554 arg7
= (int)(SWIG_As_int(obj6
));
14555 if (SWIG_arg_fail(7)) SWIG_fail
;
14558 arg8
= (int)(SWIG_As_int(obj7
));
14559 if (SWIG_arg_fail(8)) SWIG_fail
;
14563 arg9
= (int)(SWIG_As_int(obj8
));
14564 if (SWIG_arg_fail(9)) SWIG_fail
;
14569 arg10
= (bool)(SWIG_As_bool(obj9
));
14570 if (SWIG_arg_fail(10)) SWIG_fail
;
14575 arg11
= (int)(SWIG_As_int(obj10
));
14576 if (SWIG_arg_fail(11)) SWIG_fail
;
14581 arg12
= (int)(SWIG_As_int(obj11
));
14582 if (SWIG_arg_fail(12)) SWIG_fail
;
14586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14587 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
14589 wxPyEndAllowThreads(__tstate
);
14590 if (PyErr_Occurred()) SWIG_fail
;
14593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14601 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14602 PyObject
*resultobj
;
14603 wxDC
*arg1
= (wxDC
*) 0 ;
14604 wxPoint
*arg2
= 0 ;
14606 wxDC
*arg4
= (wxDC
*) 0 ;
14607 wxPoint
*arg5
= 0 ;
14608 int arg6
= (int) wxCOPY
;
14609 bool arg7
= (bool) false ;
14610 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
14611 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
14617 PyObject
* obj0
= 0 ;
14618 PyObject
* obj1
= 0 ;
14619 PyObject
* obj2
= 0 ;
14620 PyObject
* obj3
= 0 ;
14621 PyObject
* obj4
= 0 ;
14622 PyObject
* obj5
= 0 ;
14623 PyObject
* obj6
= 0 ;
14624 PyObject
* obj7
= 0 ;
14625 char *kwnames
[] = {
14626 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
14629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14631 if (SWIG_arg_fail(1)) SWIG_fail
;
14634 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14638 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14640 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14641 if (SWIG_arg_fail(4)) SWIG_fail
;
14644 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14648 arg6
= (int)(SWIG_As_int(obj5
));
14649 if (SWIG_arg_fail(6)) SWIG_fail
;
14654 arg7
= (bool)(SWIG_As_bool(obj6
));
14655 if (SWIG_arg_fail(7)) SWIG_fail
;
14661 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
14665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14666 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
14668 wxPyEndAllowThreads(__tstate
);
14669 if (PyErr_Occurred()) SWIG_fail
;
14672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14680 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14681 PyObject
*resultobj
;
14682 wxDC
*arg1
= (wxDC
*) 0 ;
14687 PyObject
* obj0
= 0 ;
14688 PyObject
* obj1
= 0 ;
14689 PyObject
* obj2
= 0 ;
14690 PyObject
* obj3
= 0 ;
14691 PyObject
* obj4
= 0 ;
14692 char *kwnames
[] = {
14693 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14698 if (SWIG_arg_fail(1)) SWIG_fail
;
14700 arg2
= (int)(SWIG_As_int(obj1
));
14701 if (SWIG_arg_fail(2)) SWIG_fail
;
14704 arg3
= (int)(SWIG_As_int(obj2
));
14705 if (SWIG_arg_fail(3)) SWIG_fail
;
14708 arg4
= (int)(SWIG_As_int(obj3
));
14709 if (SWIG_arg_fail(4)) SWIG_fail
;
14712 arg5
= (int)(SWIG_As_int(obj4
));
14713 if (SWIG_arg_fail(5)) SWIG_fail
;
14716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14717 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
14719 wxPyEndAllowThreads(__tstate
);
14720 if (PyErr_Occurred()) SWIG_fail
;
14722 Py_INCREF(Py_None
); resultobj
= Py_None
;
14729 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14730 PyObject
*resultobj
;
14731 wxDC
*arg1
= (wxDC
*) 0 ;
14732 wxPoint
*arg2
= 0 ;
14736 PyObject
* obj0
= 0 ;
14737 PyObject
* obj1
= 0 ;
14738 PyObject
* obj2
= 0 ;
14739 char *kwnames
[] = {
14740 (char *) "self",(char *) "pt",(char *) "sz", NULL
14743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14745 if (SWIG_arg_fail(1)) SWIG_fail
;
14748 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14752 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14756 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
14758 wxPyEndAllowThreads(__tstate
);
14759 if (PyErr_Occurred()) SWIG_fail
;
14761 Py_INCREF(Py_None
); resultobj
= Py_None
;
14768 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14769 PyObject
*resultobj
;
14770 wxDC
*arg1
= (wxDC
*) 0 ;
14771 wxRegion
*arg2
= 0 ;
14772 PyObject
* obj0
= 0 ;
14773 PyObject
* obj1
= 0 ;
14774 char *kwnames
[] = {
14775 (char *) "self",(char *) "region", NULL
14778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
14779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14780 if (SWIG_arg_fail(1)) SWIG_fail
;
14782 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
14783 if (SWIG_arg_fail(2)) SWIG_fail
;
14784 if (arg2
== NULL
) {
14785 SWIG_null_ref("wxRegion");
14787 if (SWIG_arg_fail(2)) SWIG_fail
;
14790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14791 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
14793 wxPyEndAllowThreads(__tstate
);
14794 if (PyErr_Occurred()) SWIG_fail
;
14796 Py_INCREF(Py_None
); resultobj
= Py_None
;
14803 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14804 PyObject
*resultobj
;
14805 wxDC
*arg1
= (wxDC
*) 0 ;
14808 PyObject
* obj0
= 0 ;
14809 PyObject
* obj1
= 0 ;
14810 char *kwnames
[] = {
14811 (char *) "self",(char *) "rect", NULL
14814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",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
;
14819 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14823 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
14825 wxPyEndAllowThreads(__tstate
);
14826 if (PyErr_Occurred()) SWIG_fail
;
14828 Py_INCREF(Py_None
); resultobj
= Py_None
;
14835 static PyObject
*_wrap_DC_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14836 PyObject
*resultobj
;
14837 wxDC
*arg1
= (wxDC
*) 0 ;
14839 wxPoint
*arg3
= (wxPoint
*) 0 ;
14840 int arg4
= (int) 0 ;
14841 int arg5
= (int) 0 ;
14842 PyObject
* obj0
= 0 ;
14843 PyObject
* obj1
= 0 ;
14844 PyObject
* obj2
= 0 ;
14845 PyObject
* obj3
= 0 ;
14846 char *kwnames
[] = {
14847 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
14850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14852 if (SWIG_arg_fail(1)) SWIG_fail
;
14854 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
14855 if (arg3
== NULL
) SWIG_fail
;
14859 arg4
= (int)(SWIG_As_int(obj2
));
14860 if (SWIG_arg_fail(4)) SWIG_fail
;
14865 arg5
= (int)(SWIG_As_int(obj3
));
14866 if (SWIG_arg_fail(5)) SWIG_fail
;
14870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14871 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
14873 wxPyEndAllowThreads(__tstate
);
14874 if (PyErr_Occurred()) SWIG_fail
;
14876 Py_INCREF(Py_None
); resultobj
= Py_None
;
14878 if (arg3
) delete [] arg3
;
14883 if (arg3
) delete [] arg3
;
14889 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14890 PyObject
*resultobj
;
14891 wxDC
*arg1
= (wxDC
*) 0 ;
14893 wxPoint
*arg3
= (wxPoint
*) 0 ;
14894 int arg4
= (int) 0 ;
14895 int arg5
= (int) 0 ;
14896 int arg6
= (int) wxODDEVEN_RULE
;
14897 PyObject
* obj0
= 0 ;
14898 PyObject
* obj1
= 0 ;
14899 PyObject
* obj2
= 0 ;
14900 PyObject
* obj3
= 0 ;
14901 PyObject
* obj4
= 0 ;
14902 char *kwnames
[] = {
14903 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
14906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14908 if (SWIG_arg_fail(1)) SWIG_fail
;
14910 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
14911 if (arg3
== NULL
) SWIG_fail
;
14915 arg4
= (int)(SWIG_As_int(obj2
));
14916 if (SWIG_arg_fail(4)) SWIG_fail
;
14921 arg5
= (int)(SWIG_As_int(obj3
));
14922 if (SWIG_arg_fail(5)) SWIG_fail
;
14927 arg6
= (int)(SWIG_As_int(obj4
));
14928 if (SWIG_arg_fail(6)) SWIG_fail
;
14932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14933 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
14935 wxPyEndAllowThreads(__tstate
);
14936 if (PyErr_Occurred()) SWIG_fail
;
14938 Py_INCREF(Py_None
); resultobj
= Py_None
;
14940 if (arg3
) delete [] arg3
;
14945 if (arg3
) delete [] arg3
;
14951 static PyObject
*_wrap_DC_DrawLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14952 PyObject
*resultobj
;
14953 wxDC
*arg1
= (wxDC
*) 0 ;
14954 wxString
*arg2
= 0 ;
14956 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
14957 int arg5
= (int) -1 ;
14958 bool temp2
= false ;
14960 PyObject
* obj0
= 0 ;
14961 PyObject
* obj1
= 0 ;
14962 PyObject
* obj2
= 0 ;
14963 PyObject
* obj3
= 0 ;
14964 PyObject
* obj4
= 0 ;
14965 char *kwnames
[] = {
14966 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
14969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14971 if (SWIG_arg_fail(1)) SWIG_fail
;
14973 arg2
= wxString_in_helper(obj1
);
14974 if (arg2
== NULL
) SWIG_fail
;
14979 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
14983 arg4
= (int)(SWIG_As_int(obj3
));
14984 if (SWIG_arg_fail(4)) SWIG_fail
;
14989 arg5
= (int)(SWIG_As_int(obj4
));
14990 if (SWIG_arg_fail(5)) SWIG_fail
;
14994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14995 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
14997 wxPyEndAllowThreads(__tstate
);
14998 if (PyErr_Occurred()) SWIG_fail
;
15000 Py_INCREF(Py_None
); resultobj
= Py_None
;
15015 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15016 PyObject
*resultobj
;
15017 wxDC
*arg1
= (wxDC
*) 0 ;
15018 wxString
*arg2
= 0 ;
15019 wxBitmap
*arg3
= 0 ;
15021 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
15022 int arg6
= (int) -1 ;
15024 bool temp2
= false ;
15026 PyObject
* obj0
= 0 ;
15027 PyObject
* obj1
= 0 ;
15028 PyObject
* obj2
= 0 ;
15029 PyObject
* obj3
= 0 ;
15030 PyObject
* obj4
= 0 ;
15031 PyObject
* obj5
= 0 ;
15032 char *kwnames
[] = {
15033 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
15036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15038 if (SWIG_arg_fail(1)) SWIG_fail
;
15040 arg2
= wxString_in_helper(obj1
);
15041 if (arg2
== NULL
) SWIG_fail
;
15045 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
15046 if (SWIG_arg_fail(3)) SWIG_fail
;
15047 if (arg3
== NULL
) {
15048 SWIG_null_ref("wxBitmap");
15050 if (SWIG_arg_fail(3)) SWIG_fail
;
15054 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
15058 arg5
= (int)(SWIG_As_int(obj4
));
15059 if (SWIG_arg_fail(5)) SWIG_fail
;
15064 arg6
= (int)(SWIG_As_int(obj5
));
15065 if (SWIG_arg_fail(6)) SWIG_fail
;
15069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15070 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
15072 wxPyEndAllowThreads(__tstate
);
15073 if (PyErr_Occurred()) SWIG_fail
;
15076 wxRect
* resultptr
;
15077 resultptr
= new wxRect((wxRect
&)(result
));
15078 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
15094 static PyObject
*_wrap_DC_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15095 PyObject
*resultobj
;
15096 wxDC
*arg1
= (wxDC
*) 0 ;
15098 wxPoint
*arg3
= (wxPoint
*) 0 ;
15099 PyObject
* obj0
= 0 ;
15100 PyObject
* obj1
= 0 ;
15101 char *kwnames
[] = {
15102 (char *) "self",(char *) "points", NULL
15105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
15106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15107 if (SWIG_arg_fail(1)) SWIG_fail
;
15109 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
15110 if (arg3
== NULL
) SWIG_fail
;
15113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15114 (arg1
)->DrawSpline(arg2
,arg3
);
15116 wxPyEndAllowThreads(__tstate
);
15117 if (PyErr_Occurred()) SWIG_fail
;
15119 Py_INCREF(Py_None
); resultobj
= Py_None
;
15121 if (arg3
) delete [] arg3
;
15126 if (arg3
) delete [] arg3
;
15132 static PyObject
*_wrap_DC_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15133 PyObject
*resultobj
;
15134 wxDC
*arg1
= (wxDC
*) 0 ;
15135 PyObject
* obj0
= 0 ;
15136 char *kwnames
[] = {
15137 (char *) "self", NULL
15140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
15141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15142 if (SWIG_arg_fail(1)) SWIG_fail
;
15144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15147 wxPyEndAllowThreads(__tstate
);
15148 if (PyErr_Occurred()) SWIG_fail
;
15150 Py_INCREF(Py_None
); resultobj
= Py_None
;
15157 static PyObject
*_wrap_DC_StartDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15158 PyObject
*resultobj
;
15159 wxDC
*arg1
= (wxDC
*) 0 ;
15160 wxString
*arg2
= 0 ;
15162 bool temp2
= false ;
15163 PyObject
* obj0
= 0 ;
15164 PyObject
* obj1
= 0 ;
15165 char *kwnames
[] = {
15166 (char *) "self",(char *) "message", NULL
15169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
15170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15171 if (SWIG_arg_fail(1)) SWIG_fail
;
15173 arg2
= wxString_in_helper(obj1
);
15174 if (arg2
== NULL
) SWIG_fail
;
15178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15179 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
15181 wxPyEndAllowThreads(__tstate
);
15182 if (PyErr_Occurred()) SWIG_fail
;
15185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15201 static PyObject
*_wrap_DC_EndDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15202 PyObject
*resultobj
;
15203 wxDC
*arg1
= (wxDC
*) 0 ;
15204 PyObject
* obj0
= 0 ;
15205 char *kwnames
[] = {
15206 (char *) "self", NULL
15209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
15210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15211 if (SWIG_arg_fail(1)) SWIG_fail
;
15213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15216 wxPyEndAllowThreads(__tstate
);
15217 if (PyErr_Occurred()) SWIG_fail
;
15219 Py_INCREF(Py_None
); resultobj
= Py_None
;
15226 static PyObject
*_wrap_DC_StartPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15227 PyObject
*resultobj
;
15228 wxDC
*arg1
= (wxDC
*) 0 ;
15229 PyObject
* obj0
= 0 ;
15230 char *kwnames
[] = {
15231 (char *) "self", NULL
15234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
15235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15236 if (SWIG_arg_fail(1)) SWIG_fail
;
15238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15239 (arg1
)->StartPage();
15241 wxPyEndAllowThreads(__tstate
);
15242 if (PyErr_Occurred()) SWIG_fail
;
15244 Py_INCREF(Py_None
); resultobj
= Py_None
;
15251 static PyObject
*_wrap_DC_EndPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15252 PyObject
*resultobj
;
15253 wxDC
*arg1
= (wxDC
*) 0 ;
15254 PyObject
* obj0
= 0 ;
15255 char *kwnames
[] = {
15256 (char *) "self", NULL
15259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
15260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15261 if (SWIG_arg_fail(1)) SWIG_fail
;
15263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15266 wxPyEndAllowThreads(__tstate
);
15267 if (PyErr_Occurred()) SWIG_fail
;
15269 Py_INCREF(Py_None
); resultobj
= Py_None
;
15276 static PyObject
*_wrap_DC_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15277 PyObject
*resultobj
;
15278 wxDC
*arg1
= (wxDC
*) 0 ;
15280 PyObject
* obj0
= 0 ;
15281 PyObject
* obj1
= 0 ;
15282 char *kwnames
[] = {
15283 (char *) "self",(char *) "font", NULL
15286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15288 if (SWIG_arg_fail(1)) SWIG_fail
;
15290 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15291 if (SWIG_arg_fail(2)) SWIG_fail
;
15292 if (arg2
== NULL
) {
15293 SWIG_null_ref("wxFont");
15295 if (SWIG_arg_fail(2)) SWIG_fail
;
15298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15299 (arg1
)->SetFont((wxFont
const &)*arg2
);
15301 wxPyEndAllowThreads(__tstate
);
15302 if (PyErr_Occurred()) SWIG_fail
;
15304 Py_INCREF(Py_None
); resultobj
= Py_None
;
15311 static PyObject
*_wrap_DC_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15312 PyObject
*resultobj
;
15313 wxDC
*arg1
= (wxDC
*) 0 ;
15315 PyObject
* obj0
= 0 ;
15316 PyObject
* obj1
= 0 ;
15317 char *kwnames
[] = {
15318 (char *) "self",(char *) "pen", NULL
15321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
15322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15323 if (SWIG_arg_fail(1)) SWIG_fail
;
15325 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
15326 if (SWIG_arg_fail(2)) SWIG_fail
;
15327 if (arg2
== NULL
) {
15328 SWIG_null_ref("wxPen");
15330 if (SWIG_arg_fail(2)) SWIG_fail
;
15333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15334 (arg1
)->SetPen((wxPen
const &)*arg2
);
15336 wxPyEndAllowThreads(__tstate
);
15337 if (PyErr_Occurred()) SWIG_fail
;
15339 Py_INCREF(Py_None
); resultobj
= Py_None
;
15346 static PyObject
*_wrap_DC_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15347 PyObject
*resultobj
;
15348 wxDC
*arg1
= (wxDC
*) 0 ;
15349 wxBrush
*arg2
= 0 ;
15350 PyObject
* obj0
= 0 ;
15351 PyObject
* obj1
= 0 ;
15352 char *kwnames
[] = {
15353 (char *) "self",(char *) "brush", NULL
15356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
15357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15358 if (SWIG_arg_fail(1)) SWIG_fail
;
15360 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
15361 if (SWIG_arg_fail(2)) SWIG_fail
;
15362 if (arg2
== NULL
) {
15363 SWIG_null_ref("wxBrush");
15365 if (SWIG_arg_fail(2)) SWIG_fail
;
15368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15369 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
15371 wxPyEndAllowThreads(__tstate
);
15372 if (PyErr_Occurred()) SWIG_fail
;
15374 Py_INCREF(Py_None
); resultobj
= Py_None
;
15381 static PyObject
*_wrap_DC_SetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15382 PyObject
*resultobj
;
15383 wxDC
*arg1
= (wxDC
*) 0 ;
15384 wxBrush
*arg2
= 0 ;
15385 PyObject
* obj0
= 0 ;
15386 PyObject
* obj1
= 0 ;
15387 char *kwnames
[] = {
15388 (char *) "self",(char *) "brush", NULL
15391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
15392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15393 if (SWIG_arg_fail(1)) SWIG_fail
;
15395 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
15396 if (SWIG_arg_fail(2)) SWIG_fail
;
15397 if (arg2
== NULL
) {
15398 SWIG_null_ref("wxBrush");
15400 if (SWIG_arg_fail(2)) SWIG_fail
;
15403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15404 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
15406 wxPyEndAllowThreads(__tstate
);
15407 if (PyErr_Occurred()) SWIG_fail
;
15409 Py_INCREF(Py_None
); resultobj
= Py_None
;
15416 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15417 PyObject
*resultobj
;
15418 wxDC
*arg1
= (wxDC
*) 0 ;
15420 PyObject
* obj0
= 0 ;
15421 PyObject
* obj1
= 0 ;
15422 char *kwnames
[] = {
15423 (char *) "self",(char *) "mode", NULL
15426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
15427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15428 if (SWIG_arg_fail(1)) SWIG_fail
;
15430 arg2
= (int)(SWIG_As_int(obj1
));
15431 if (SWIG_arg_fail(2)) SWIG_fail
;
15434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15435 (arg1
)->SetBackgroundMode(arg2
);
15437 wxPyEndAllowThreads(__tstate
);
15438 if (PyErr_Occurred()) SWIG_fail
;
15440 Py_INCREF(Py_None
); resultobj
= Py_None
;
15447 static PyObject
*_wrap_DC_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15448 PyObject
*resultobj
;
15449 wxDC
*arg1
= (wxDC
*) 0 ;
15450 wxPalette
*arg2
= 0 ;
15451 PyObject
* obj0
= 0 ;
15452 PyObject
* obj1
= 0 ;
15453 char *kwnames
[] = {
15454 (char *) "self",(char *) "palette", NULL
15457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
15458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15459 if (SWIG_arg_fail(1)) SWIG_fail
;
15461 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
15462 if (SWIG_arg_fail(2)) SWIG_fail
;
15463 if (arg2
== NULL
) {
15464 SWIG_null_ref("wxPalette");
15466 if (SWIG_arg_fail(2)) SWIG_fail
;
15469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15470 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
15472 wxPyEndAllowThreads(__tstate
);
15473 if (PyErr_Occurred()) SWIG_fail
;
15475 Py_INCREF(Py_None
); resultobj
= Py_None
;
15482 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15483 PyObject
*resultobj
;
15484 wxDC
*arg1
= (wxDC
*) 0 ;
15485 PyObject
* obj0
= 0 ;
15486 char *kwnames
[] = {
15487 (char *) "self", NULL
15490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
15491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15492 if (SWIG_arg_fail(1)) SWIG_fail
;
15494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15495 (arg1
)->DestroyClippingRegion();
15497 wxPyEndAllowThreads(__tstate
);
15498 if (PyErr_Occurred()) SWIG_fail
;
15500 Py_INCREF(Py_None
); resultobj
= Py_None
;
15507 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15508 PyObject
*resultobj
;
15509 wxDC
*arg1
= (wxDC
*) 0 ;
15510 int *arg2
= (int *) 0 ;
15511 int *arg3
= (int *) 0 ;
15512 int *arg4
= (int *) 0 ;
15513 int *arg5
= (int *) 0 ;
15522 PyObject
* obj0
= 0 ;
15523 char *kwnames
[] = {
15524 (char *) "self", NULL
15527 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15528 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15529 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15530 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
15532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15533 if (SWIG_arg_fail(1)) SWIG_fail
;
15535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15536 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
15538 wxPyEndAllowThreads(__tstate
);
15539 if (PyErr_Occurred()) SWIG_fail
;
15541 Py_INCREF(Py_None
); resultobj
= Py_None
;
15542 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15543 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15544 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15545 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15546 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15547 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15548 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15549 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15556 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15557 PyObject
*resultobj
;
15558 wxDC
*arg1
= (wxDC
*) 0 ;
15560 PyObject
* obj0
= 0 ;
15561 char *kwnames
[] = {
15562 (char *) "self", NULL
15565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
15566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15567 if (SWIG_arg_fail(1)) SWIG_fail
;
15569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15570 result
= wxDC_GetClippingRect(arg1
);
15572 wxPyEndAllowThreads(__tstate
);
15573 if (PyErr_Occurred()) SWIG_fail
;
15576 wxRect
* resultptr
;
15577 resultptr
= new wxRect((wxRect
&)(result
));
15578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
15586 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15587 PyObject
*resultobj
;
15588 wxDC
*arg1
= (wxDC
*) 0 ;
15590 PyObject
* obj0
= 0 ;
15591 char *kwnames
[] = {
15592 (char *) "self", NULL
15595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
15596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15597 if (SWIG_arg_fail(1)) SWIG_fail
;
15599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15600 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
15602 wxPyEndAllowThreads(__tstate
);
15603 if (PyErr_Occurred()) SWIG_fail
;
15606 resultobj
= SWIG_From_int((int)(result
));
15614 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15615 PyObject
*resultobj
;
15616 wxDC
*arg1
= (wxDC
*) 0 ;
15618 PyObject
* obj0
= 0 ;
15619 char *kwnames
[] = {
15620 (char *) "self", NULL
15623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
15624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15625 if (SWIG_arg_fail(1)) SWIG_fail
;
15627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15628 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
15630 wxPyEndAllowThreads(__tstate
);
15631 if (PyErr_Occurred()) SWIG_fail
;
15634 resultobj
= SWIG_From_int((int)(result
));
15642 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15643 PyObject
*resultobj
;
15644 wxDC
*arg1
= (wxDC
*) 0 ;
15645 wxString
*arg2
= 0 ;
15646 int *arg3
= (int *) 0 ;
15647 int *arg4
= (int *) 0 ;
15648 bool temp2
= false ;
15653 PyObject
* obj0
= 0 ;
15654 PyObject
* obj1
= 0 ;
15655 char *kwnames
[] = {
15656 (char *) "self",(char *) "string", NULL
15659 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15660 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
15662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15663 if (SWIG_arg_fail(1)) SWIG_fail
;
15665 arg2
= wxString_in_helper(obj1
);
15666 if (arg2
== NULL
) SWIG_fail
;
15670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15671 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
15673 wxPyEndAllowThreads(__tstate
);
15674 if (PyErr_Occurred()) SWIG_fail
;
15676 Py_INCREF(Py_None
); resultobj
= Py_None
;
15677 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15678 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15679 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15680 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15695 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15696 PyObject
*resultobj
;
15697 wxDC
*arg1
= (wxDC
*) 0 ;
15698 wxString
*arg2
= 0 ;
15699 int *arg3
= (int *) 0 ;
15700 int *arg4
= (int *) 0 ;
15701 int *arg5
= (int *) 0 ;
15702 int *arg6
= (int *) 0 ;
15703 wxFont
*arg7
= (wxFont
*) NULL
;
15704 bool temp2
= false ;
15713 PyObject
* obj0
= 0 ;
15714 PyObject
* obj1
= 0 ;
15715 PyObject
* obj2
= 0 ;
15716 char *kwnames
[] = {
15717 (char *) "self",(char *) "string",(char *) "font", NULL
15720 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15721 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15722 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15723 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
15724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15726 if (SWIG_arg_fail(1)) SWIG_fail
;
15728 arg2
= wxString_in_helper(obj1
);
15729 if (arg2
== NULL
) SWIG_fail
;
15733 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15734 if (SWIG_arg_fail(7)) SWIG_fail
;
15737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15738 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15740 wxPyEndAllowThreads(__tstate
);
15741 if (PyErr_Occurred()) SWIG_fail
;
15743 Py_INCREF(Py_None
); resultobj
= Py_None
;
15744 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15745 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15746 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15747 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15748 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15749 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15750 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
15751 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
15766 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15767 PyObject
*resultobj
;
15768 wxDC
*arg1
= (wxDC
*) 0 ;
15769 wxString
*arg2
= 0 ;
15770 int *arg3
= (int *) 0 ;
15771 int *arg4
= (int *) 0 ;
15772 int *arg5
= (int *) 0 ;
15773 wxFont
*arg6
= (wxFont
*) NULL
;
15774 bool temp2
= false ;
15781 PyObject
* obj0
= 0 ;
15782 PyObject
* obj1
= 0 ;
15783 PyObject
* obj2
= 0 ;
15784 char *kwnames
[] = {
15785 (char *) "self",(char *) "text",(char *) "font", NULL
15788 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15789 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15790 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15793 if (SWIG_arg_fail(1)) SWIG_fail
;
15795 arg2
= wxString_in_helper(obj1
);
15796 if (arg2
== NULL
) SWIG_fail
;
15800 SWIG_Python_ConvertPtr(obj2
, (void **)&arg6
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15801 if (SWIG_arg_fail(6)) SWIG_fail
;
15804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15805 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
15807 wxPyEndAllowThreads(__tstate
);
15808 if (PyErr_Occurred()) SWIG_fail
;
15810 Py_INCREF(Py_None
); resultobj
= Py_None
;
15811 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15812 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15813 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15814 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15815 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15816 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15831 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15832 PyObject
*resultobj
;
15833 wxDC
*arg1
= (wxDC
*) 0 ;
15834 wxString
*arg2
= 0 ;
15836 bool temp2
= false ;
15837 PyObject
* obj0
= 0 ;
15838 PyObject
* obj1
= 0 ;
15839 char *kwnames
[] = {
15840 (char *) "self",(char *) "text", NULL
15843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
15844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15845 if (SWIG_arg_fail(1)) SWIG_fail
;
15847 arg2
= wxString_in_helper(obj1
);
15848 if (arg2
== NULL
) SWIG_fail
;
15852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15853 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
15855 wxPyEndAllowThreads(__tstate
);
15856 if (PyErr_Occurred()) SWIG_fail
;
15859 resultobj
= PyList_New(0);
15861 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
15862 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
15863 PyList_Append(resultobj
, val
);
15881 static PyObject
*_wrap_DC_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15882 PyObject
*resultobj
;
15883 wxDC
*arg1
= (wxDC
*) 0 ;
15885 PyObject
* obj0
= 0 ;
15886 char *kwnames
[] = {
15887 (char *) "self", NULL
15890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
15891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15892 if (SWIG_arg_fail(1)) SWIG_fail
;
15894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15895 result
= (arg1
)->GetSize();
15897 wxPyEndAllowThreads(__tstate
);
15898 if (PyErr_Occurred()) SWIG_fail
;
15901 wxSize
* resultptr
;
15902 resultptr
= new wxSize((wxSize
&)(result
));
15903 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15911 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15912 PyObject
*resultobj
;
15913 wxDC
*arg1
= (wxDC
*) 0 ;
15914 int *arg2
= (int *) 0 ;
15915 int *arg3
= (int *) 0 ;
15920 PyObject
* obj0
= 0 ;
15921 char *kwnames
[] = {
15922 (char *) "self", NULL
15925 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15926 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
15928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15929 if (SWIG_arg_fail(1)) SWIG_fail
;
15931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15932 (arg1
)->GetSize(arg2
,arg3
);
15934 wxPyEndAllowThreads(__tstate
);
15935 if (PyErr_Occurred()) SWIG_fail
;
15937 Py_INCREF(Py_None
); resultobj
= Py_None
;
15938 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15939 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15940 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15941 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15948 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15949 PyObject
*resultobj
;
15950 wxDC
*arg1
= (wxDC
*) 0 ;
15952 PyObject
* obj0
= 0 ;
15953 char *kwnames
[] = {
15954 (char *) "self", NULL
15957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
15958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15959 if (SWIG_arg_fail(1)) SWIG_fail
;
15961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15962 result
= ((wxDC
const *)arg1
)->GetSizeMM();
15964 wxPyEndAllowThreads(__tstate
);
15965 if (PyErr_Occurred()) SWIG_fail
;
15968 wxSize
* resultptr
;
15969 resultptr
= new wxSize((wxSize
&)(result
));
15970 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15978 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15979 PyObject
*resultobj
;
15980 wxDC
*arg1
= (wxDC
*) 0 ;
15981 int *arg2
= (int *) 0 ;
15982 int *arg3
= (int *) 0 ;
15987 PyObject
* obj0
= 0 ;
15988 char *kwnames
[] = {
15989 (char *) "self", NULL
15992 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15993 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
15995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15996 if (SWIG_arg_fail(1)) SWIG_fail
;
15998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15999 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
16001 wxPyEndAllowThreads(__tstate
);
16002 if (PyErr_Occurred()) SWIG_fail
;
16004 Py_INCREF(Py_None
); resultobj
= Py_None
;
16005 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16006 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16007 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16008 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16015 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16016 PyObject
*resultobj
;
16017 wxDC
*arg1
= (wxDC
*) 0 ;
16020 PyObject
* obj0
= 0 ;
16021 PyObject
* obj1
= 0 ;
16022 char *kwnames
[] = {
16023 (char *) "self",(char *) "x", NULL
16026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
16027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16028 if (SWIG_arg_fail(1)) SWIG_fail
;
16030 arg2
= (int)(SWIG_As_int(obj1
));
16031 if (SWIG_arg_fail(2)) SWIG_fail
;
16034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16035 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
16037 wxPyEndAllowThreads(__tstate
);
16038 if (PyErr_Occurred()) SWIG_fail
;
16041 resultobj
= SWIG_From_int((int)(result
));
16049 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16050 PyObject
*resultobj
;
16051 wxDC
*arg1
= (wxDC
*) 0 ;
16054 PyObject
* obj0
= 0 ;
16055 PyObject
* obj1
= 0 ;
16056 char *kwnames
[] = {
16057 (char *) "self",(char *) "y", NULL
16060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
16061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16062 if (SWIG_arg_fail(1)) SWIG_fail
;
16064 arg2
= (int)(SWIG_As_int(obj1
));
16065 if (SWIG_arg_fail(2)) SWIG_fail
;
16068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16069 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
16071 wxPyEndAllowThreads(__tstate
);
16072 if (PyErr_Occurred()) SWIG_fail
;
16075 resultobj
= SWIG_From_int((int)(result
));
16083 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16084 PyObject
*resultobj
;
16085 wxDC
*arg1
= (wxDC
*) 0 ;
16088 PyObject
* obj0
= 0 ;
16089 PyObject
* obj1
= 0 ;
16090 char *kwnames
[] = {
16091 (char *) "self",(char *) "x", NULL
16094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
16095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16096 if (SWIG_arg_fail(1)) SWIG_fail
;
16098 arg2
= (int)(SWIG_As_int(obj1
));
16099 if (SWIG_arg_fail(2)) SWIG_fail
;
16102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16103 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
16105 wxPyEndAllowThreads(__tstate
);
16106 if (PyErr_Occurred()) SWIG_fail
;
16109 resultobj
= SWIG_From_int((int)(result
));
16117 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16118 PyObject
*resultobj
;
16119 wxDC
*arg1
= (wxDC
*) 0 ;
16122 PyObject
* obj0
= 0 ;
16123 PyObject
* obj1
= 0 ;
16124 char *kwnames
[] = {
16125 (char *) "self",(char *) "y", NULL
16128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
16129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16130 if (SWIG_arg_fail(1)) SWIG_fail
;
16132 arg2
= (int)(SWIG_As_int(obj1
));
16133 if (SWIG_arg_fail(2)) SWIG_fail
;
16136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16137 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
16139 wxPyEndAllowThreads(__tstate
);
16140 if (PyErr_Occurred()) SWIG_fail
;
16143 resultobj
= SWIG_From_int((int)(result
));
16151 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16152 PyObject
*resultobj
;
16153 wxDC
*arg1
= (wxDC
*) 0 ;
16156 PyObject
* obj0
= 0 ;
16157 PyObject
* obj1
= 0 ;
16158 char *kwnames
[] = {
16159 (char *) "self",(char *) "x", NULL
16162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
16163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16164 if (SWIG_arg_fail(1)) SWIG_fail
;
16166 arg2
= (int)(SWIG_As_int(obj1
));
16167 if (SWIG_arg_fail(2)) SWIG_fail
;
16170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16171 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
16173 wxPyEndAllowThreads(__tstate
);
16174 if (PyErr_Occurred()) SWIG_fail
;
16177 resultobj
= SWIG_From_int((int)(result
));
16185 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16186 PyObject
*resultobj
;
16187 wxDC
*arg1
= (wxDC
*) 0 ;
16190 PyObject
* obj0
= 0 ;
16191 PyObject
* obj1
= 0 ;
16192 char *kwnames
[] = {
16193 (char *) "self",(char *) "y", NULL
16196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
16197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16198 if (SWIG_arg_fail(1)) SWIG_fail
;
16200 arg2
= (int)(SWIG_As_int(obj1
));
16201 if (SWIG_arg_fail(2)) SWIG_fail
;
16204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16205 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
16207 wxPyEndAllowThreads(__tstate
);
16208 if (PyErr_Occurred()) SWIG_fail
;
16211 resultobj
= SWIG_From_int((int)(result
));
16219 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16220 PyObject
*resultobj
;
16221 wxDC
*arg1
= (wxDC
*) 0 ;
16224 PyObject
* obj0
= 0 ;
16225 PyObject
* obj1
= 0 ;
16226 char *kwnames
[] = {
16227 (char *) "self",(char *) "x", NULL
16230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
16231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16232 if (SWIG_arg_fail(1)) SWIG_fail
;
16234 arg2
= (int)(SWIG_As_int(obj1
));
16235 if (SWIG_arg_fail(2)) SWIG_fail
;
16238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16239 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
16241 wxPyEndAllowThreads(__tstate
);
16242 if (PyErr_Occurred()) SWIG_fail
;
16245 resultobj
= SWIG_From_int((int)(result
));
16253 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16254 PyObject
*resultobj
;
16255 wxDC
*arg1
= (wxDC
*) 0 ;
16258 PyObject
* obj0
= 0 ;
16259 PyObject
* obj1
= 0 ;
16260 char *kwnames
[] = {
16261 (char *) "self",(char *) "y", NULL
16264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
16265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16266 if (SWIG_arg_fail(1)) SWIG_fail
;
16268 arg2
= (int)(SWIG_As_int(obj1
));
16269 if (SWIG_arg_fail(2)) SWIG_fail
;
16272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16273 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
16275 wxPyEndAllowThreads(__tstate
);
16276 if (PyErr_Occurred()) SWIG_fail
;
16279 resultobj
= SWIG_From_int((int)(result
));
16287 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16288 PyObject
*resultobj
;
16289 wxDC
*arg1
= (wxDC
*) 0 ;
16291 PyObject
* obj0
= 0 ;
16292 char *kwnames
[] = {
16293 (char *) "self", NULL
16296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
16297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16298 if (SWIG_arg_fail(1)) SWIG_fail
;
16300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16301 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
16303 wxPyEndAllowThreads(__tstate
);
16304 if (PyErr_Occurred()) SWIG_fail
;
16307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16315 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16316 PyObject
*resultobj
;
16317 wxDC
*arg1
= (wxDC
*) 0 ;
16319 PyObject
* obj0
= 0 ;
16320 char *kwnames
[] = {
16321 (char *) "self", NULL
16324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
16325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16326 if (SWIG_arg_fail(1)) SWIG_fail
;
16328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16329 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
16331 wxPyEndAllowThreads(__tstate
);
16332 if (PyErr_Occurred()) SWIG_fail
;
16335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16343 static PyObject
*_wrap_DC_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16344 PyObject
*resultobj
;
16345 wxDC
*arg1
= (wxDC
*) 0 ;
16347 PyObject
* obj0
= 0 ;
16348 char *kwnames
[] = {
16349 (char *) "self", NULL
16352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
16353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16354 if (SWIG_arg_fail(1)) SWIG_fail
;
16356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16357 result
= (int)((wxDC
const *)arg1
)->GetDepth();
16359 wxPyEndAllowThreads(__tstate
);
16360 if (PyErr_Occurred()) SWIG_fail
;
16363 resultobj
= SWIG_From_int((int)(result
));
16371 static PyObject
*_wrap_DC_GetPPI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16372 PyObject
*resultobj
;
16373 wxDC
*arg1
= (wxDC
*) 0 ;
16375 PyObject
* obj0
= 0 ;
16376 char *kwnames
[] = {
16377 (char *) "self", NULL
16380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
16381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16382 if (SWIG_arg_fail(1)) SWIG_fail
;
16384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16385 result
= ((wxDC
const *)arg1
)->GetPPI();
16387 wxPyEndAllowThreads(__tstate
);
16388 if (PyErr_Occurred()) SWIG_fail
;
16391 wxSize
* resultptr
;
16392 resultptr
= new wxSize((wxSize
&)(result
));
16393 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16401 static PyObject
*_wrap_DC_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16402 PyObject
*resultobj
;
16403 wxDC
*arg1
= (wxDC
*) 0 ;
16405 PyObject
* obj0
= 0 ;
16406 char *kwnames
[] = {
16407 (char *) "self", NULL
16410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
16411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16412 if (SWIG_arg_fail(1)) SWIG_fail
;
16414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16415 result
= (bool)((wxDC
const *)arg1
)->Ok();
16417 wxPyEndAllowThreads(__tstate
);
16418 if (PyErr_Occurred()) SWIG_fail
;
16421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16429 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16430 PyObject
*resultobj
;
16431 wxDC
*arg1
= (wxDC
*) 0 ;
16433 PyObject
* obj0
= 0 ;
16434 char *kwnames
[] = {
16435 (char *) "self", NULL
16438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
16439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16440 if (SWIG_arg_fail(1)) SWIG_fail
;
16442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16443 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
16445 wxPyEndAllowThreads(__tstate
);
16446 if (PyErr_Occurred()) SWIG_fail
;
16449 resultobj
= SWIG_From_int((int)(result
));
16457 static PyObject
*_wrap_DC_GetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16458 PyObject
*resultobj
;
16459 wxDC
*arg1
= (wxDC
*) 0 ;
16461 PyObject
* obj0
= 0 ;
16462 char *kwnames
[] = {
16463 (char *) "self", NULL
16466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
16467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16468 if (SWIG_arg_fail(1)) SWIG_fail
;
16470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16472 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
16473 result
= (wxBrush
*) &_result_ref
;
16476 wxPyEndAllowThreads(__tstate
);
16477 if (PyErr_Occurred()) SWIG_fail
;
16480 wxBrush
* resultptr
= new wxBrush(*result
);
16481 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
16489 static PyObject
*_wrap_DC_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16490 PyObject
*resultobj
;
16491 wxDC
*arg1
= (wxDC
*) 0 ;
16493 PyObject
* obj0
= 0 ;
16494 char *kwnames
[] = {
16495 (char *) "self", NULL
16498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
16499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16500 if (SWIG_arg_fail(1)) SWIG_fail
;
16502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16504 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
16505 result
= (wxBrush
*) &_result_ref
;
16508 wxPyEndAllowThreads(__tstate
);
16509 if (PyErr_Occurred()) SWIG_fail
;
16512 wxBrush
* resultptr
= new wxBrush(*result
);
16513 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
16521 static PyObject
*_wrap_DC_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16522 PyObject
*resultobj
;
16523 wxDC
*arg1
= (wxDC
*) 0 ;
16525 PyObject
* obj0
= 0 ;
16526 char *kwnames
[] = {
16527 (char *) "self", NULL
16530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
16531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16532 if (SWIG_arg_fail(1)) SWIG_fail
;
16534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16536 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
16537 result
= (wxFont
*) &_result_ref
;
16540 wxPyEndAllowThreads(__tstate
);
16541 if (PyErr_Occurred()) SWIG_fail
;
16544 wxFont
* resultptr
= new wxFont(*result
);
16545 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
16553 static PyObject
*_wrap_DC_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16554 PyObject
*resultobj
;
16555 wxDC
*arg1
= (wxDC
*) 0 ;
16557 PyObject
* obj0
= 0 ;
16558 char *kwnames
[] = {
16559 (char *) "self", NULL
16562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
16563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16564 if (SWIG_arg_fail(1)) SWIG_fail
;
16566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16568 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
16569 result
= (wxPen
*) &_result_ref
;
16572 wxPyEndAllowThreads(__tstate
);
16573 if (PyErr_Occurred()) SWIG_fail
;
16576 wxPen
* resultptr
= new wxPen(*result
);
16577 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
16585 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16586 PyObject
*resultobj
;
16587 wxDC
*arg1
= (wxDC
*) 0 ;
16589 PyObject
* obj0
= 0 ;
16590 char *kwnames
[] = {
16591 (char *) "self", NULL
16594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
16595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16596 if (SWIG_arg_fail(1)) SWIG_fail
;
16598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16600 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
16601 result
= (wxColour
*) &_result_ref
;
16604 wxPyEndAllowThreads(__tstate
);
16605 if (PyErr_Occurred()) SWIG_fail
;
16607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
16614 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16615 PyObject
*resultobj
;
16616 wxDC
*arg1
= (wxDC
*) 0 ;
16618 PyObject
* obj0
= 0 ;
16619 char *kwnames
[] = {
16620 (char *) "self", NULL
16623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
16624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16625 if (SWIG_arg_fail(1)) SWIG_fail
;
16627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16629 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
16630 result
= (wxColour
*) &_result_ref
;
16633 wxPyEndAllowThreads(__tstate
);
16634 if (PyErr_Occurred()) SWIG_fail
;
16636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
16643 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16644 PyObject
*resultobj
;
16645 wxDC
*arg1
= (wxDC
*) 0 ;
16646 wxColour
*arg2
= 0 ;
16648 PyObject
* obj0
= 0 ;
16649 PyObject
* obj1
= 0 ;
16650 char *kwnames
[] = {
16651 (char *) "self",(char *) "colour", NULL
16654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
16655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16656 if (SWIG_arg_fail(1)) SWIG_fail
;
16659 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16663 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
16665 wxPyEndAllowThreads(__tstate
);
16666 if (PyErr_Occurred()) SWIG_fail
;
16668 Py_INCREF(Py_None
); resultobj
= Py_None
;
16675 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16676 PyObject
*resultobj
;
16677 wxDC
*arg1
= (wxDC
*) 0 ;
16678 wxColour
*arg2
= 0 ;
16680 PyObject
* obj0
= 0 ;
16681 PyObject
* obj1
= 0 ;
16682 char *kwnames
[] = {
16683 (char *) "self",(char *) "colour", NULL
16686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16688 if (SWIG_arg_fail(1)) SWIG_fail
;
16691 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16695 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
16697 wxPyEndAllowThreads(__tstate
);
16698 if (PyErr_Occurred()) SWIG_fail
;
16700 Py_INCREF(Py_None
); resultobj
= Py_None
;
16707 static PyObject
*_wrap_DC_GetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16708 PyObject
*resultobj
;
16709 wxDC
*arg1
= (wxDC
*) 0 ;
16711 PyObject
* obj0
= 0 ;
16712 char *kwnames
[] = {
16713 (char *) "self", NULL
16716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
16717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16718 if (SWIG_arg_fail(1)) SWIG_fail
;
16720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16721 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
16723 wxPyEndAllowThreads(__tstate
);
16724 if (PyErr_Occurred()) SWIG_fail
;
16727 resultobj
= SWIG_From_int((int)(result
));
16735 static PyObject
*_wrap_DC_SetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16736 PyObject
*resultobj
;
16737 wxDC
*arg1
= (wxDC
*) 0 ;
16739 PyObject
* obj0
= 0 ;
16740 PyObject
* obj1
= 0 ;
16741 char *kwnames
[] = {
16742 (char *) "self",(char *) "mode", NULL
16745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
16746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16747 if (SWIG_arg_fail(1)) SWIG_fail
;
16749 arg2
= (int)(SWIG_As_int(obj1
));
16750 if (SWIG_arg_fail(2)) SWIG_fail
;
16753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16754 (arg1
)->SetMapMode(arg2
);
16756 wxPyEndAllowThreads(__tstate
);
16757 if (PyErr_Occurred()) SWIG_fail
;
16759 Py_INCREF(Py_None
); resultobj
= Py_None
;
16766 static PyObject
*_wrap_DC_GetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16767 PyObject
*resultobj
;
16768 wxDC
*arg1
= (wxDC
*) 0 ;
16769 double *arg2
= (double *) 0 ;
16770 double *arg3
= (double *) 0 ;
16775 PyObject
* obj0
= 0 ;
16776 char *kwnames
[] = {
16777 (char *) "self", NULL
16780 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16781 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
16783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16784 if (SWIG_arg_fail(1)) SWIG_fail
;
16786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16787 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
16789 wxPyEndAllowThreads(__tstate
);
16790 if (PyErr_Occurred()) SWIG_fail
;
16792 Py_INCREF(Py_None
); resultobj
= Py_None
;
16793 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16794 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
16795 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16796 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
16803 static PyObject
*_wrap_DC_SetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16804 PyObject
*resultobj
;
16805 wxDC
*arg1
= (wxDC
*) 0 ;
16808 PyObject
* obj0
= 0 ;
16809 PyObject
* obj1
= 0 ;
16810 PyObject
* obj2
= 0 ;
16811 char *kwnames
[] = {
16812 (char *) "self",(char *) "x",(char *) "y", NULL
16815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16817 if (SWIG_arg_fail(1)) SWIG_fail
;
16819 arg2
= (double)(SWIG_As_double(obj1
));
16820 if (SWIG_arg_fail(2)) SWIG_fail
;
16823 arg3
= (double)(SWIG_As_double(obj2
));
16824 if (SWIG_arg_fail(3)) SWIG_fail
;
16827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16828 (arg1
)->SetUserScale(arg2
,arg3
);
16830 wxPyEndAllowThreads(__tstate
);
16831 if (PyErr_Occurred()) SWIG_fail
;
16833 Py_INCREF(Py_None
); resultobj
= Py_None
;
16840 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16841 PyObject
*resultobj
;
16842 wxDC
*arg1
= (wxDC
*) 0 ;
16843 double *arg2
= (double *) 0 ;
16844 double *arg3
= (double *) 0 ;
16849 PyObject
* obj0
= 0 ;
16850 char *kwnames
[] = {
16851 (char *) "self", NULL
16854 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16855 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
16857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16858 if (SWIG_arg_fail(1)) SWIG_fail
;
16860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16861 (arg1
)->GetLogicalScale(arg2
,arg3
);
16863 wxPyEndAllowThreads(__tstate
);
16864 if (PyErr_Occurred()) SWIG_fail
;
16866 Py_INCREF(Py_None
); resultobj
= Py_None
;
16867 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16868 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
16869 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16870 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
16877 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16878 PyObject
*resultobj
;
16879 wxDC
*arg1
= (wxDC
*) 0 ;
16882 PyObject
* obj0
= 0 ;
16883 PyObject
* obj1
= 0 ;
16884 PyObject
* obj2
= 0 ;
16885 char *kwnames
[] = {
16886 (char *) "self",(char *) "x",(char *) "y", NULL
16889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16891 if (SWIG_arg_fail(1)) SWIG_fail
;
16893 arg2
= (double)(SWIG_As_double(obj1
));
16894 if (SWIG_arg_fail(2)) SWIG_fail
;
16897 arg3
= (double)(SWIG_As_double(obj2
));
16898 if (SWIG_arg_fail(3)) SWIG_fail
;
16901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16902 (arg1
)->SetLogicalScale(arg2
,arg3
);
16904 wxPyEndAllowThreads(__tstate
);
16905 if (PyErr_Occurred()) SWIG_fail
;
16907 Py_INCREF(Py_None
); resultobj
= Py_None
;
16914 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16915 PyObject
*resultobj
;
16916 wxDC
*arg1
= (wxDC
*) 0 ;
16918 PyObject
* obj0
= 0 ;
16919 char *kwnames
[] = {
16920 (char *) "self", NULL
16923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
16924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16925 if (SWIG_arg_fail(1)) SWIG_fail
;
16927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16928 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
16930 wxPyEndAllowThreads(__tstate
);
16931 if (PyErr_Occurred()) SWIG_fail
;
16934 wxPoint
* resultptr
;
16935 resultptr
= new wxPoint((wxPoint
&)(result
));
16936 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16944 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16945 PyObject
*resultobj
;
16946 wxDC
*arg1
= (wxDC
*) 0 ;
16947 int *arg2
= (int *) 0 ;
16948 int *arg3
= (int *) 0 ;
16953 PyObject
* obj0
= 0 ;
16954 char *kwnames
[] = {
16955 (char *) "self", NULL
16958 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16959 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
16961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16962 if (SWIG_arg_fail(1)) SWIG_fail
;
16964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16965 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
16967 wxPyEndAllowThreads(__tstate
);
16968 if (PyErr_Occurred()) SWIG_fail
;
16970 Py_INCREF(Py_None
); resultobj
= Py_None
;
16971 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16972 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16973 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16974 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16981 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16982 PyObject
*resultobj
;
16983 wxDC
*arg1
= (wxDC
*) 0 ;
16986 PyObject
* obj0
= 0 ;
16987 PyObject
* obj1
= 0 ;
16988 PyObject
* obj2
= 0 ;
16989 char *kwnames
[] = {
16990 (char *) "self",(char *) "x",(char *) "y", NULL
16993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16995 if (SWIG_arg_fail(1)) SWIG_fail
;
16997 arg2
= (int)(SWIG_As_int(obj1
));
16998 if (SWIG_arg_fail(2)) SWIG_fail
;
17001 arg3
= (int)(SWIG_As_int(obj2
));
17002 if (SWIG_arg_fail(3)) SWIG_fail
;
17005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17006 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
17008 wxPyEndAllowThreads(__tstate
);
17009 if (PyErr_Occurred()) SWIG_fail
;
17011 Py_INCREF(Py_None
); resultobj
= Py_None
;
17018 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17019 PyObject
*resultobj
;
17020 wxDC
*arg1
= (wxDC
*) 0 ;
17021 wxPoint
*arg2
= 0 ;
17023 PyObject
* obj0
= 0 ;
17024 PyObject
* obj1
= 0 ;
17025 char *kwnames
[] = {
17026 (char *) "self",(char *) "point", NULL
17029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
17030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17031 if (SWIG_arg_fail(1)) SWIG_fail
;
17034 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17038 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
17040 wxPyEndAllowThreads(__tstate
);
17041 if (PyErr_Occurred()) SWIG_fail
;
17043 Py_INCREF(Py_None
); resultobj
= Py_None
;
17050 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17051 PyObject
*resultobj
;
17052 wxDC
*arg1
= (wxDC
*) 0 ;
17054 PyObject
* obj0
= 0 ;
17055 char *kwnames
[] = {
17056 (char *) "self", NULL
17059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
17060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17061 if (SWIG_arg_fail(1)) SWIG_fail
;
17063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17064 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
17066 wxPyEndAllowThreads(__tstate
);
17067 if (PyErr_Occurred()) SWIG_fail
;
17070 wxPoint
* resultptr
;
17071 resultptr
= new wxPoint((wxPoint
&)(result
));
17072 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17080 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17081 PyObject
*resultobj
;
17082 wxDC
*arg1
= (wxDC
*) 0 ;
17083 int *arg2
= (int *) 0 ;
17084 int *arg3
= (int *) 0 ;
17089 PyObject
* obj0
= 0 ;
17090 char *kwnames
[] = {
17091 (char *) "self", NULL
17094 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17095 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
17097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17098 if (SWIG_arg_fail(1)) SWIG_fail
;
17100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17101 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
17103 wxPyEndAllowThreads(__tstate
);
17104 if (PyErr_Occurred()) SWIG_fail
;
17106 Py_INCREF(Py_None
); resultobj
= Py_None
;
17107 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17108 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17109 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17110 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17117 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17118 PyObject
*resultobj
;
17119 wxDC
*arg1
= (wxDC
*) 0 ;
17122 PyObject
* obj0
= 0 ;
17123 PyObject
* obj1
= 0 ;
17124 PyObject
* obj2
= 0 ;
17125 char *kwnames
[] = {
17126 (char *) "self",(char *) "x",(char *) "y", NULL
17129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17131 if (SWIG_arg_fail(1)) SWIG_fail
;
17133 arg2
= (int)(SWIG_As_int(obj1
));
17134 if (SWIG_arg_fail(2)) SWIG_fail
;
17137 arg3
= (int)(SWIG_As_int(obj2
));
17138 if (SWIG_arg_fail(3)) SWIG_fail
;
17141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17142 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
17144 wxPyEndAllowThreads(__tstate
);
17145 if (PyErr_Occurred()) SWIG_fail
;
17147 Py_INCREF(Py_None
); resultobj
= Py_None
;
17154 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17155 PyObject
*resultobj
;
17156 wxDC
*arg1
= (wxDC
*) 0 ;
17157 wxPoint
*arg2
= 0 ;
17159 PyObject
* obj0
= 0 ;
17160 PyObject
* obj1
= 0 ;
17161 char *kwnames
[] = {
17162 (char *) "self",(char *) "point", NULL
17165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
17166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17167 if (SWIG_arg_fail(1)) SWIG_fail
;
17170 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17174 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
17176 wxPyEndAllowThreads(__tstate
);
17177 if (PyErr_Occurred()) SWIG_fail
;
17179 Py_INCREF(Py_None
); resultobj
= Py_None
;
17186 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17187 PyObject
*resultobj
;
17188 wxDC
*arg1
= (wxDC
*) 0 ;
17191 PyObject
* obj0
= 0 ;
17192 PyObject
* obj1
= 0 ;
17193 PyObject
* obj2
= 0 ;
17194 char *kwnames
[] = {
17195 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
17198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17200 if (SWIG_arg_fail(1)) SWIG_fail
;
17202 arg2
= (bool)(SWIG_As_bool(obj1
));
17203 if (SWIG_arg_fail(2)) SWIG_fail
;
17206 arg3
= (bool)(SWIG_As_bool(obj2
));
17207 if (SWIG_arg_fail(3)) SWIG_fail
;
17210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17211 (arg1
)->SetAxisOrientation(arg2
,arg3
);
17213 wxPyEndAllowThreads(__tstate
);
17214 if (PyErr_Occurred()) SWIG_fail
;
17216 Py_INCREF(Py_None
); resultobj
= Py_None
;
17223 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17224 PyObject
*resultobj
;
17225 wxDC
*arg1
= (wxDC
*) 0 ;
17227 PyObject
* obj0
= 0 ;
17228 char *kwnames
[] = {
17229 (char *) "self", NULL
17232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
17233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17234 if (SWIG_arg_fail(1)) SWIG_fail
;
17236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17237 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
17239 wxPyEndAllowThreads(__tstate
);
17240 if (PyErr_Occurred()) SWIG_fail
;
17243 resultobj
= SWIG_From_int((int)(result
));
17251 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17252 PyObject
*resultobj
;
17253 wxDC
*arg1
= (wxDC
*) 0 ;
17255 PyObject
* obj0
= 0 ;
17256 PyObject
* obj1
= 0 ;
17257 char *kwnames
[] = {
17258 (char *) "self",(char *) "function", NULL
17261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
17262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17263 if (SWIG_arg_fail(1)) SWIG_fail
;
17265 arg2
= (int)(SWIG_As_int(obj1
));
17266 if (SWIG_arg_fail(2)) SWIG_fail
;
17269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17270 (arg1
)->SetLogicalFunction(arg2
);
17272 wxPyEndAllowThreads(__tstate
);
17273 if (PyErr_Occurred()) SWIG_fail
;
17275 Py_INCREF(Py_None
); resultobj
= Py_None
;
17282 static PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17283 PyObject
*resultobj
;
17284 wxDC
*arg1
= (wxDC
*) 0 ;
17285 PyObject
* obj0
= 0 ;
17286 char *kwnames
[] = {
17287 (char *) "self", NULL
17290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ComputeScaleAndOrigin",kwnames
,&obj0
)) goto fail
;
17291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17292 if (SWIG_arg_fail(1)) SWIG_fail
;
17294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17295 (arg1
)->ComputeScaleAndOrigin();
17297 wxPyEndAllowThreads(__tstate
);
17298 if (PyErr_Occurred()) SWIG_fail
;
17300 Py_INCREF(Py_None
); resultobj
= Py_None
;
17307 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17308 PyObject
*resultobj
;
17309 wxDC
*arg1
= (wxDC
*) 0 ;
17312 PyObject
* obj0
= 0 ;
17313 PyObject
* obj1
= 0 ;
17314 PyObject
* obj2
= 0 ;
17315 char *kwnames
[] = {
17316 (char *) "self",(char *) "x",(char *) "y", NULL
17319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17321 if (SWIG_arg_fail(1)) SWIG_fail
;
17323 arg2
= (int)(SWIG_As_int(obj1
));
17324 if (SWIG_arg_fail(2)) SWIG_fail
;
17327 arg3
= (int)(SWIG_As_int(obj2
));
17328 if (SWIG_arg_fail(3)) SWIG_fail
;
17331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17332 (arg1
)->CalcBoundingBox(arg2
,arg3
);
17334 wxPyEndAllowThreads(__tstate
);
17335 if (PyErr_Occurred()) SWIG_fail
;
17337 Py_INCREF(Py_None
); resultobj
= Py_None
;
17344 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17345 PyObject
*resultobj
;
17346 wxDC
*arg1
= (wxDC
*) 0 ;
17347 wxPoint
*arg2
= 0 ;
17349 PyObject
* obj0
= 0 ;
17350 PyObject
* obj1
= 0 ;
17351 char *kwnames
[] = {
17352 (char *) "self",(char *) "point", NULL
17355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
17356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17357 if (SWIG_arg_fail(1)) SWIG_fail
;
17360 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17364 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
17366 wxPyEndAllowThreads(__tstate
);
17367 if (PyErr_Occurred()) SWIG_fail
;
17369 Py_INCREF(Py_None
); resultobj
= Py_None
;
17376 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17377 PyObject
*resultobj
;
17378 wxDC
*arg1
= (wxDC
*) 0 ;
17379 PyObject
* obj0
= 0 ;
17380 char *kwnames
[] = {
17381 (char *) "self", NULL
17384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
17385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17386 if (SWIG_arg_fail(1)) SWIG_fail
;
17388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17389 (arg1
)->ResetBoundingBox();
17391 wxPyEndAllowThreads(__tstate
);
17392 if (PyErr_Occurred()) SWIG_fail
;
17394 Py_INCREF(Py_None
); resultobj
= Py_None
;
17401 static PyObject
*_wrap_DC_MinX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17402 PyObject
*resultobj
;
17403 wxDC
*arg1
= (wxDC
*) 0 ;
17405 PyObject
* obj0
= 0 ;
17406 char *kwnames
[] = {
17407 (char *) "self", NULL
17410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
17411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17412 if (SWIG_arg_fail(1)) SWIG_fail
;
17414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17415 result
= (int)((wxDC
const *)arg1
)->MinX();
17417 wxPyEndAllowThreads(__tstate
);
17418 if (PyErr_Occurred()) SWIG_fail
;
17421 resultobj
= SWIG_From_int((int)(result
));
17429 static PyObject
*_wrap_DC_MaxX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17430 PyObject
*resultobj
;
17431 wxDC
*arg1
= (wxDC
*) 0 ;
17433 PyObject
* obj0
= 0 ;
17434 char *kwnames
[] = {
17435 (char *) "self", NULL
17438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
17439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17440 if (SWIG_arg_fail(1)) SWIG_fail
;
17442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17443 result
= (int)((wxDC
const *)arg1
)->MaxX();
17445 wxPyEndAllowThreads(__tstate
);
17446 if (PyErr_Occurred()) SWIG_fail
;
17449 resultobj
= SWIG_From_int((int)(result
));
17457 static PyObject
*_wrap_DC_MinY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17458 PyObject
*resultobj
;
17459 wxDC
*arg1
= (wxDC
*) 0 ;
17461 PyObject
* obj0
= 0 ;
17462 char *kwnames
[] = {
17463 (char *) "self", NULL
17466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
17467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17468 if (SWIG_arg_fail(1)) SWIG_fail
;
17470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17471 result
= (int)((wxDC
const *)arg1
)->MinY();
17473 wxPyEndAllowThreads(__tstate
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17477 resultobj
= SWIG_From_int((int)(result
));
17485 static PyObject
*_wrap_DC_MaxY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17486 PyObject
*resultobj
;
17487 wxDC
*arg1
= (wxDC
*) 0 ;
17489 PyObject
* obj0
= 0 ;
17490 char *kwnames
[] = {
17491 (char *) "self", NULL
17494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
17495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17496 if (SWIG_arg_fail(1)) SWIG_fail
;
17498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17499 result
= (int)((wxDC
const *)arg1
)->MaxY();
17501 wxPyEndAllowThreads(__tstate
);
17502 if (PyErr_Occurred()) SWIG_fail
;
17505 resultobj
= SWIG_From_int((int)(result
));
17513 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17514 PyObject
*resultobj
;
17515 wxDC
*arg1
= (wxDC
*) 0 ;
17516 int *arg2
= (int *) 0 ;
17517 int *arg3
= (int *) 0 ;
17518 int *arg4
= (int *) 0 ;
17519 int *arg5
= (int *) 0 ;
17528 PyObject
* obj0
= 0 ;
17529 char *kwnames
[] = {
17530 (char *) "self", NULL
17533 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17534 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17535 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
17536 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
17537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
17538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17539 if (SWIG_arg_fail(1)) SWIG_fail
;
17541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17542 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
17544 wxPyEndAllowThreads(__tstate
);
17545 if (PyErr_Occurred()) SWIG_fail
;
17547 Py_INCREF(Py_None
); resultobj
= Py_None
;
17548 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17549 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17550 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17551 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17552 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
17553 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
17554 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
17555 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
17562 static PyObject
*_wrap_DC_GetHDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17563 PyObject
*resultobj
;
17564 wxDC
*arg1
= (wxDC
*) 0 ;
17566 PyObject
* obj0
= 0 ;
17567 char *kwnames
[] = {
17568 (char *) "self", NULL
17571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetHDC",kwnames
,&obj0
)) goto fail
;
17572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17573 if (SWIG_arg_fail(1)) SWIG_fail
;
17575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17576 result
= (long)(arg1
)->GetHDC();
17578 wxPyEndAllowThreads(__tstate
);
17579 if (PyErr_Occurred()) SWIG_fail
;
17582 resultobj
= SWIG_From_long((long)(result
));
17590 static PyObject
*_wrap_DC__DrawPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17591 PyObject
*resultobj
;
17592 wxDC
*arg1
= (wxDC
*) 0 ;
17593 PyObject
*arg2
= (PyObject
*) 0 ;
17594 PyObject
*arg3
= (PyObject
*) 0 ;
17595 PyObject
*arg4
= (PyObject
*) 0 ;
17597 PyObject
* obj0
= 0 ;
17598 PyObject
* obj1
= 0 ;
17599 PyObject
* obj2
= 0 ;
17600 PyObject
* obj3
= 0 ;
17601 char *kwnames
[] = {
17602 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17607 if (SWIG_arg_fail(1)) SWIG_fail
;
17612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17613 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
17615 wxPyEndAllowThreads(__tstate
);
17616 if (PyErr_Occurred()) SWIG_fail
;
17618 resultobj
= result
;
17625 static PyObject
*_wrap_DC__DrawLineList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17626 PyObject
*resultobj
;
17627 wxDC
*arg1
= (wxDC
*) 0 ;
17628 PyObject
*arg2
= (PyObject
*) 0 ;
17629 PyObject
*arg3
= (PyObject
*) 0 ;
17630 PyObject
*arg4
= (PyObject
*) 0 ;
17632 PyObject
* obj0
= 0 ;
17633 PyObject
* obj1
= 0 ;
17634 PyObject
* obj2
= 0 ;
17635 PyObject
* obj3
= 0 ;
17636 char *kwnames
[] = {
17637 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17642 if (SWIG_arg_fail(1)) SWIG_fail
;
17647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17648 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
17650 wxPyEndAllowThreads(__tstate
);
17651 if (PyErr_Occurred()) SWIG_fail
;
17653 resultobj
= result
;
17660 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17661 PyObject
*resultobj
;
17662 wxDC
*arg1
= (wxDC
*) 0 ;
17663 PyObject
*arg2
= (PyObject
*) 0 ;
17664 PyObject
*arg3
= (PyObject
*) 0 ;
17665 PyObject
*arg4
= (PyObject
*) 0 ;
17667 PyObject
* obj0
= 0 ;
17668 PyObject
* obj1
= 0 ;
17669 PyObject
* obj2
= 0 ;
17670 PyObject
* obj3
= 0 ;
17671 char *kwnames
[] = {
17672 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17677 if (SWIG_arg_fail(1)) SWIG_fail
;
17682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17683 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
17685 wxPyEndAllowThreads(__tstate
);
17686 if (PyErr_Occurred()) SWIG_fail
;
17688 resultobj
= result
;
17695 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17696 PyObject
*resultobj
;
17697 wxDC
*arg1
= (wxDC
*) 0 ;
17698 PyObject
*arg2
= (PyObject
*) 0 ;
17699 PyObject
*arg3
= (PyObject
*) 0 ;
17700 PyObject
*arg4
= (PyObject
*) 0 ;
17702 PyObject
* obj0
= 0 ;
17703 PyObject
* obj1
= 0 ;
17704 PyObject
* obj2
= 0 ;
17705 PyObject
* obj3
= 0 ;
17706 char *kwnames
[] = {
17707 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17712 if (SWIG_arg_fail(1)) SWIG_fail
;
17717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17718 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
17720 wxPyEndAllowThreads(__tstate
);
17721 if (PyErr_Occurred()) SWIG_fail
;
17723 resultobj
= result
;
17730 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17731 PyObject
*resultobj
;
17732 wxDC
*arg1
= (wxDC
*) 0 ;
17733 PyObject
*arg2
= (PyObject
*) 0 ;
17734 PyObject
*arg3
= (PyObject
*) 0 ;
17735 PyObject
*arg4
= (PyObject
*) 0 ;
17737 PyObject
* obj0
= 0 ;
17738 PyObject
* obj1
= 0 ;
17739 PyObject
* obj2
= 0 ;
17740 PyObject
* obj3
= 0 ;
17741 char *kwnames
[] = {
17742 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17747 if (SWIG_arg_fail(1)) SWIG_fail
;
17752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17753 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
17755 wxPyEndAllowThreads(__tstate
);
17756 if (PyErr_Occurred()) SWIG_fail
;
17758 resultobj
= result
;
17765 static PyObject
*_wrap_DC__DrawTextList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17766 PyObject
*resultobj
;
17767 wxDC
*arg1
= (wxDC
*) 0 ;
17768 PyObject
*arg2
= (PyObject
*) 0 ;
17769 PyObject
*arg3
= (PyObject
*) 0 ;
17770 PyObject
*arg4
= (PyObject
*) 0 ;
17771 PyObject
*arg5
= (PyObject
*) 0 ;
17773 PyObject
* obj0
= 0 ;
17774 PyObject
* obj1
= 0 ;
17775 PyObject
* obj2
= 0 ;
17776 PyObject
* obj3
= 0 ;
17777 PyObject
* obj4
= 0 ;
17778 char *kwnames
[] = {
17779 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
17782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17784 if (SWIG_arg_fail(1)) SWIG_fail
;
17790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17791 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
17793 wxPyEndAllowThreads(__tstate
);
17794 if (PyErr_Occurred()) SWIG_fail
;
17796 resultobj
= result
;
17803 static PyObject
* DC_swigregister(PyObject
*, PyObject
*args
) {
17805 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17806 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
17808 return Py_BuildValue((char *)"");
17810 static PyObject
*_wrap_new_MemoryDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17811 PyObject
*resultobj
;
17812 wxMemoryDC
*result
;
17813 char *kwnames
[] = {
17817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
17819 if (!wxPyCheckForApp()) SWIG_fail
;
17820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17821 result
= (wxMemoryDC
*)new wxMemoryDC();
17823 wxPyEndAllowThreads(__tstate
);
17824 if (PyErr_Occurred()) SWIG_fail
;
17826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
17833 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17834 PyObject
*resultobj
;
17835 wxDC
*arg1
= (wxDC
*) 0 ;
17836 wxMemoryDC
*result
;
17837 PyObject
* obj0
= 0 ;
17838 char *kwnames
[] = {
17839 (char *) "oldDC", NULL
17842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
17843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17844 if (SWIG_arg_fail(1)) SWIG_fail
;
17846 if (!wxPyCheckForApp()) SWIG_fail
;
17847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17848 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
17850 wxPyEndAllowThreads(__tstate
);
17851 if (PyErr_Occurred()) SWIG_fail
;
17853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
17860 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17861 PyObject
*resultobj
;
17862 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
17863 wxBitmap
*arg2
= 0 ;
17864 PyObject
* obj0
= 0 ;
17865 PyObject
* obj1
= 0 ;
17866 char *kwnames
[] = {
17867 (char *) "self",(char *) "bitmap", NULL
17870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
17871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
17872 if (SWIG_arg_fail(1)) SWIG_fail
;
17874 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
17875 if (SWIG_arg_fail(2)) SWIG_fail
;
17876 if (arg2
== NULL
) {
17877 SWIG_null_ref("wxBitmap");
17879 if (SWIG_arg_fail(2)) SWIG_fail
;
17882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17883 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
17885 wxPyEndAllowThreads(__tstate
);
17886 if (PyErr_Occurred()) SWIG_fail
;
17888 Py_INCREF(Py_None
); resultobj
= Py_None
;
17895 static PyObject
* MemoryDC_swigregister(PyObject
*, PyObject
*args
) {
17897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17898 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
17900 return Py_BuildValue((char *)"");
17902 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*, PyObject
*args
) {
17903 PyObject
*resultobj
;
17904 wxDC
*arg1
= (wxDC
*) 0 ;
17905 wxBitmap
*arg2
= 0 ;
17906 wxBufferedDC
*result
;
17907 PyObject
* obj0
= 0 ;
17908 PyObject
* obj1
= 0 ;
17910 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
17911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17912 if (SWIG_arg_fail(1)) SWIG_fail
;
17914 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
17915 if (SWIG_arg_fail(2)) SWIG_fail
;
17916 if (arg2
== NULL
) {
17917 SWIG_null_ref("wxBitmap");
17919 if (SWIG_arg_fail(2)) SWIG_fail
;
17922 if (!wxPyCheckForApp()) SWIG_fail
;
17923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17924 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
17926 wxPyEndAllowThreads(__tstate
);
17927 if (PyErr_Occurred()) SWIG_fail
;
17929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
17936 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*, PyObject
*args
) {
17937 PyObject
*resultobj
;
17938 wxDC
*arg1
= (wxDC
*) 0 ;
17940 wxBufferedDC
*result
;
17942 PyObject
* obj0
= 0 ;
17943 PyObject
* obj1
= 0 ;
17945 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
17946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17947 if (SWIG_arg_fail(1)) SWIG_fail
;
17950 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17953 if (!wxPyCheckForApp()) SWIG_fail
;
17954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17955 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
17957 wxPyEndAllowThreads(__tstate
);
17958 if (PyErr_Occurred()) SWIG_fail
;
17960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
17967 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
17972 argc
= PyObject_Length(args
);
17973 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
17974 argv
[ii
] = PyTuple_GetItem(args
,ii
);
17980 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
17990 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
17998 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
18006 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
18015 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
18018 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
18023 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
18028 static PyObject
*_wrap_delete_BufferedDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18029 PyObject
*resultobj
;
18030 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
18031 PyObject
* obj0
= 0 ;
18032 char *kwnames
[] = {
18033 (char *) "self", NULL
18036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
18037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_EXCEPTION
| 0);
18038 if (SWIG_arg_fail(1)) SWIG_fail
;
18040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18043 wxPyEndAllowThreads(__tstate
);
18044 if (PyErr_Occurred()) SWIG_fail
;
18046 Py_INCREF(Py_None
); resultobj
= Py_None
;
18053 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18054 PyObject
*resultobj
;
18055 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
18056 PyObject
* obj0
= 0 ;
18057 char *kwnames
[] = {
18058 (char *) "self", NULL
18061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
18062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_EXCEPTION
| 0);
18063 if (SWIG_arg_fail(1)) SWIG_fail
;
18065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18068 wxPyEndAllowThreads(__tstate
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18071 Py_INCREF(Py_None
); resultobj
= Py_None
;
18078 static PyObject
* BufferedDC_swigregister(PyObject
*, PyObject
*args
) {
18080 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18081 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
18083 return Py_BuildValue((char *)"");
18085 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18086 PyObject
*resultobj
;
18087 wxWindow
*arg1
= (wxWindow
*) 0 ;
18088 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
18089 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
18090 wxBufferedPaintDC
*result
;
18091 PyObject
* obj0
= 0 ;
18092 PyObject
* obj1
= 0 ;
18093 char *kwnames
[] = {
18094 (char *) "window",(char *) "buffer", NULL
18097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
18098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18099 if (SWIG_arg_fail(1)) SWIG_fail
;
18102 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18103 if (SWIG_arg_fail(2)) SWIG_fail
;
18104 if (arg2
== NULL
) {
18105 SWIG_null_ref("wxBitmap");
18107 if (SWIG_arg_fail(2)) SWIG_fail
;
18111 if (!wxPyCheckForApp()) SWIG_fail
;
18112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18113 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
18115 wxPyEndAllowThreads(__tstate
);
18116 if (PyErr_Occurred()) SWIG_fail
;
18118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
18125 static PyObject
* BufferedPaintDC_swigregister(PyObject
*, PyObject
*args
) {
18127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18128 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
18130 return Py_BuildValue((char *)"");
18132 static PyObject
*_wrap_new_ScreenDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18133 PyObject
*resultobj
;
18134 wxScreenDC
*result
;
18135 char *kwnames
[] = {
18139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
18141 if (!wxPyCheckForApp()) SWIG_fail
;
18142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18143 result
= (wxScreenDC
*)new wxScreenDC();
18145 wxPyEndAllowThreads(__tstate
);
18146 if (PyErr_Occurred()) SWIG_fail
;
18148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
18155 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18156 PyObject
*resultobj
;
18157 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
18158 wxWindow
*arg2
= (wxWindow
*) 0 ;
18160 PyObject
* obj0
= 0 ;
18161 PyObject
* obj1
= 0 ;
18162 char *kwnames
[] = {
18163 (char *) "self",(char *) "window", NULL
18166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
18167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
18168 if (SWIG_arg_fail(1)) SWIG_fail
;
18169 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18170 if (SWIG_arg_fail(2)) SWIG_fail
;
18172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18173 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
18175 wxPyEndAllowThreads(__tstate
);
18176 if (PyErr_Occurred()) SWIG_fail
;
18179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18187 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18188 PyObject
*resultobj
;
18189 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
18190 wxRect
*arg2
= (wxRect
*) NULL
;
18192 PyObject
* obj0
= 0 ;
18193 PyObject
* obj1
= 0 ;
18194 char *kwnames
[] = {
18195 (char *) "self",(char *) "rect", NULL
18198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
18199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
18200 if (SWIG_arg_fail(1)) SWIG_fail
;
18202 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
18203 if (SWIG_arg_fail(2)) SWIG_fail
;
18206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18207 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
18209 wxPyEndAllowThreads(__tstate
);
18210 if (PyErr_Occurred()) SWIG_fail
;
18213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18221 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18222 PyObject
*resultobj
;
18223 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
18225 PyObject
* obj0
= 0 ;
18226 char *kwnames
[] = {
18227 (char *) "self", NULL
18230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
18231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
18232 if (SWIG_arg_fail(1)) SWIG_fail
;
18234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18235 result
= (bool)(arg1
)->EndDrawingOnTop();
18237 wxPyEndAllowThreads(__tstate
);
18238 if (PyErr_Occurred()) SWIG_fail
;
18241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18249 static PyObject
* ScreenDC_swigregister(PyObject
*, PyObject
*args
) {
18251 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18252 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
18254 return Py_BuildValue((char *)"");
18256 static PyObject
*_wrap_new_ClientDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18257 PyObject
*resultobj
;
18258 wxWindow
*arg1
= (wxWindow
*) 0 ;
18259 wxClientDC
*result
;
18260 PyObject
* obj0
= 0 ;
18261 char *kwnames
[] = {
18262 (char *) "win", NULL
18265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
18266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18267 if (SWIG_arg_fail(1)) SWIG_fail
;
18269 if (!wxPyCheckForApp()) SWIG_fail
;
18270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18271 result
= (wxClientDC
*)new wxClientDC(arg1
);
18273 wxPyEndAllowThreads(__tstate
);
18274 if (PyErr_Occurred()) SWIG_fail
;
18276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
18283 static PyObject
* ClientDC_swigregister(PyObject
*, PyObject
*args
) {
18285 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18286 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
18288 return Py_BuildValue((char *)"");
18290 static PyObject
*_wrap_new_PaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18291 PyObject
*resultobj
;
18292 wxWindow
*arg1
= (wxWindow
*) 0 ;
18294 PyObject
* obj0
= 0 ;
18295 char *kwnames
[] = {
18296 (char *) "win", NULL
18299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
18300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18301 if (SWIG_arg_fail(1)) SWIG_fail
;
18303 if (!wxPyCheckForApp()) SWIG_fail
;
18304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18305 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
18307 wxPyEndAllowThreads(__tstate
);
18308 if (PyErr_Occurred()) SWIG_fail
;
18310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
18317 static PyObject
* PaintDC_swigregister(PyObject
*, PyObject
*args
) {
18319 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18320 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
18322 return Py_BuildValue((char *)"");
18324 static PyObject
*_wrap_new_WindowDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18325 PyObject
*resultobj
;
18326 wxWindow
*arg1
= (wxWindow
*) 0 ;
18327 wxWindowDC
*result
;
18328 PyObject
* obj0
= 0 ;
18329 char *kwnames
[] = {
18330 (char *) "win", NULL
18333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
18334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18335 if (SWIG_arg_fail(1)) SWIG_fail
;
18337 if (!wxPyCheckForApp()) SWIG_fail
;
18338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18339 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
18341 wxPyEndAllowThreads(__tstate
);
18342 if (PyErr_Occurred()) SWIG_fail
;
18344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
18351 static PyObject
* WindowDC_swigregister(PyObject
*, PyObject
*args
) {
18353 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18354 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
18356 return Py_BuildValue((char *)"");
18358 static PyObject
*_wrap_new_MirrorDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18359 PyObject
*resultobj
;
18362 wxMirrorDC
*result
;
18363 PyObject
* obj0
= 0 ;
18364 PyObject
* obj1
= 0 ;
18365 char *kwnames
[] = {
18366 (char *) "dc",(char *) "mirror", NULL
18369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
18371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18372 if (SWIG_arg_fail(1)) SWIG_fail
;
18373 if (arg1
== NULL
) {
18374 SWIG_null_ref("wxDC");
18376 if (SWIG_arg_fail(1)) SWIG_fail
;
18379 arg2
= (bool)(SWIG_As_bool(obj1
));
18380 if (SWIG_arg_fail(2)) SWIG_fail
;
18383 if (!wxPyCheckForApp()) SWIG_fail
;
18384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18385 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
18387 wxPyEndAllowThreads(__tstate
);
18388 if (PyErr_Occurred()) SWIG_fail
;
18390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
18397 static PyObject
* MirrorDC_swigregister(PyObject
*, PyObject
*args
) {
18399 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18400 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
18402 return Py_BuildValue((char *)"");
18404 static PyObject
*_wrap_new_PostScriptDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18405 PyObject
*resultobj
;
18406 wxPrintData
*arg1
= 0 ;
18407 wxPostScriptDC
*result
;
18408 PyObject
* obj0
= 0 ;
18409 char *kwnames
[] = {
18410 (char *) "printData", NULL
18413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
18415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
18416 if (SWIG_arg_fail(1)) SWIG_fail
;
18417 if (arg1
== NULL
) {
18418 SWIG_null_ref("wxPrintData");
18420 if (SWIG_arg_fail(1)) SWIG_fail
;
18423 if (!wxPyCheckForApp()) SWIG_fail
;
18424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18425 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
18427 wxPyEndAllowThreads(__tstate
);
18428 if (PyErr_Occurred()) SWIG_fail
;
18430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
18437 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18438 PyObject
*resultobj
;
18439 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
18440 wxPrintData
*result
;
18441 PyObject
* obj0
= 0 ;
18442 char *kwnames
[] = {
18443 (char *) "self", NULL
18446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
18447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_EXCEPTION
| 0);
18448 if (SWIG_arg_fail(1)) SWIG_fail
;
18450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18452 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
18453 result
= (wxPrintData
*) &_result_ref
;
18456 wxPyEndAllowThreads(__tstate
);
18457 if (PyErr_Occurred()) SWIG_fail
;
18459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
18466 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18467 PyObject
*resultobj
;
18468 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
18469 wxPrintData
*arg2
= 0 ;
18470 PyObject
* obj0
= 0 ;
18471 PyObject
* obj1
= 0 ;
18472 char *kwnames
[] = {
18473 (char *) "self",(char *) "data", NULL
18476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
18477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_EXCEPTION
| 0);
18478 if (SWIG_arg_fail(1)) SWIG_fail
;
18480 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
18481 if (SWIG_arg_fail(2)) SWIG_fail
;
18482 if (arg2
== NULL
) {
18483 SWIG_null_ref("wxPrintData");
18485 if (SWIG_arg_fail(2)) SWIG_fail
;
18488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18489 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
18491 wxPyEndAllowThreads(__tstate
);
18492 if (PyErr_Occurred()) SWIG_fail
;
18494 Py_INCREF(Py_None
); resultobj
= Py_None
;
18501 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18502 PyObject
*resultobj
;
18504 PyObject
* obj0
= 0 ;
18505 char *kwnames
[] = {
18506 (char *) "ppi", NULL
18509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
18511 arg1
= (int)(SWIG_As_int(obj0
));
18512 if (SWIG_arg_fail(1)) SWIG_fail
;
18515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18516 wxPostScriptDC::SetResolution(arg1
);
18518 wxPyEndAllowThreads(__tstate
);
18519 if (PyErr_Occurred()) SWIG_fail
;
18521 Py_INCREF(Py_None
); resultobj
= Py_None
;
18528 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18529 PyObject
*resultobj
;
18531 char *kwnames
[] = {
18535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
18537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18538 result
= (int)wxPostScriptDC::GetResolution();
18540 wxPyEndAllowThreads(__tstate
);
18541 if (PyErr_Occurred()) SWIG_fail
;
18544 resultobj
= SWIG_From_int((int)(result
));
18552 static PyObject
* PostScriptDC_swigregister(PyObject
*, PyObject
*args
) {
18554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18555 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
18557 return Py_BuildValue((char *)"");
18559 static PyObject
*_wrap_new_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18560 PyObject
*resultobj
;
18561 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18562 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18563 wxMetaFile
*result
;
18564 bool temp1
= false ;
18565 PyObject
* obj0
= 0 ;
18566 char *kwnames
[] = {
18567 (char *) "filename", NULL
18570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
18573 arg1
= wxString_in_helper(obj0
);
18574 if (arg1
== NULL
) SWIG_fail
;
18579 if (!wxPyCheckForApp()) SWIG_fail
;
18580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18581 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
18583 wxPyEndAllowThreads(__tstate
);
18584 if (PyErr_Occurred()) SWIG_fail
;
18586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
18601 static PyObject
*_wrap_delete_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18602 PyObject
*resultobj
;
18603 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18604 PyObject
* obj0
= 0 ;
18605 char *kwnames
[] = {
18606 (char *) "self", NULL
18609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
18610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18611 if (SWIG_arg_fail(1)) SWIG_fail
;
18613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18616 wxPyEndAllowThreads(__tstate
);
18617 if (PyErr_Occurred()) SWIG_fail
;
18619 Py_INCREF(Py_None
); resultobj
= Py_None
;
18626 static PyObject
*_wrap_MetaFile_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18627 PyObject
*resultobj
;
18628 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18630 PyObject
* obj0
= 0 ;
18631 char *kwnames
[] = {
18632 (char *) "self", NULL
18635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
18636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18637 if (SWIG_arg_fail(1)) SWIG_fail
;
18639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18640 result
= (bool)(arg1
)->Ok();
18642 wxPyEndAllowThreads(__tstate
);
18643 if (PyErr_Occurred()) SWIG_fail
;
18646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18654 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18655 PyObject
*resultobj
;
18656 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18657 int arg2
= (int) 0 ;
18658 int arg3
= (int) 0 ;
18660 PyObject
* obj0
= 0 ;
18661 PyObject
* obj1
= 0 ;
18662 PyObject
* obj2
= 0 ;
18663 char *kwnames
[] = {
18664 (char *) "self",(char *) "width",(char *) "height", NULL
18667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18669 if (SWIG_arg_fail(1)) SWIG_fail
;
18672 arg2
= (int)(SWIG_As_int(obj1
));
18673 if (SWIG_arg_fail(2)) SWIG_fail
;
18678 arg3
= (int)(SWIG_As_int(obj2
));
18679 if (SWIG_arg_fail(3)) SWIG_fail
;
18683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18684 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
18686 wxPyEndAllowThreads(__tstate
);
18687 if (PyErr_Occurred()) SWIG_fail
;
18690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18698 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18699 PyObject
*resultobj
;
18700 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18702 PyObject
* obj0
= 0 ;
18703 char *kwnames
[] = {
18704 (char *) "self", NULL
18707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
18708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18709 if (SWIG_arg_fail(1)) SWIG_fail
;
18711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18712 result
= (arg1
)->GetSize();
18714 wxPyEndAllowThreads(__tstate
);
18715 if (PyErr_Occurred()) SWIG_fail
;
18718 wxSize
* resultptr
;
18719 resultptr
= new wxSize((wxSize
&)(result
));
18720 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18728 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18729 PyObject
*resultobj
;
18730 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18732 PyObject
* obj0
= 0 ;
18733 char *kwnames
[] = {
18734 (char *) "self", NULL
18737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
18738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18739 if (SWIG_arg_fail(1)) SWIG_fail
;
18741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18742 result
= (int)(arg1
)->GetWidth();
18744 wxPyEndAllowThreads(__tstate
);
18745 if (PyErr_Occurred()) SWIG_fail
;
18748 resultobj
= SWIG_From_int((int)(result
));
18756 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18757 PyObject
*resultobj
;
18758 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18760 PyObject
* obj0
= 0 ;
18761 char *kwnames
[] = {
18762 (char *) "self", NULL
18765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
18766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18767 if (SWIG_arg_fail(1)) SWIG_fail
;
18769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18770 result
= (int)(arg1
)->GetHeight();
18772 wxPyEndAllowThreads(__tstate
);
18773 if (PyErr_Occurred()) SWIG_fail
;
18776 resultobj
= SWIG_From_int((int)(result
));
18784 static PyObject
*_wrap_MetaFile_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18785 PyObject
*resultobj
;
18786 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18788 PyObject
* obj0
= 0 ;
18789 char *kwnames
[] = {
18790 (char *) "self", NULL
18793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetFileName",kwnames
,&obj0
)) goto fail
;
18794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18795 if (SWIG_arg_fail(1)) SWIG_fail
;
18797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18799 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
18800 result
= (wxString
*) &_result_ref
;
18803 wxPyEndAllowThreads(__tstate
);
18804 if (PyErr_Occurred()) SWIG_fail
;
18808 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18810 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18819 static PyObject
* MetaFile_swigregister(PyObject
*, PyObject
*args
) {
18821 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18822 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
18824 return Py_BuildValue((char *)"");
18826 static PyObject
*_wrap_new_MetaFileDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18827 PyObject
*resultobj
;
18828 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18829 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18830 int arg2
= (int) 0 ;
18831 int arg3
= (int) 0 ;
18832 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18833 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18834 wxMetaFileDC
*result
;
18835 bool temp1
= false ;
18836 bool temp4
= false ;
18837 PyObject
* obj0
= 0 ;
18838 PyObject
* obj1
= 0 ;
18839 PyObject
* obj2
= 0 ;
18840 PyObject
* obj3
= 0 ;
18841 char *kwnames
[] = {
18842 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
18845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18848 arg1
= wxString_in_helper(obj0
);
18849 if (arg1
== NULL
) SWIG_fail
;
18855 arg2
= (int)(SWIG_As_int(obj1
));
18856 if (SWIG_arg_fail(2)) SWIG_fail
;
18861 arg3
= (int)(SWIG_As_int(obj2
));
18862 if (SWIG_arg_fail(3)) SWIG_fail
;
18867 arg4
= wxString_in_helper(obj3
);
18868 if (arg4
== NULL
) SWIG_fail
;
18873 if (!wxPyCheckForApp()) SWIG_fail
;
18874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18875 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
18877 wxPyEndAllowThreads(__tstate
);
18878 if (PyErr_Occurred()) SWIG_fail
;
18880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
18903 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18904 PyObject
*resultobj
;
18905 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
18906 wxMetaFile
*result
;
18907 PyObject
* obj0
= 0 ;
18908 char *kwnames
[] = {
18909 (char *) "self", NULL
18912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
18913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_EXCEPTION
| 0);
18914 if (SWIG_arg_fail(1)) SWIG_fail
;
18916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18917 result
= (wxMetaFile
*)(arg1
)->Close();
18919 wxPyEndAllowThreads(__tstate
);
18920 if (PyErr_Occurred()) SWIG_fail
;
18922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
18929 static PyObject
* MetaFileDC_swigregister(PyObject
*, PyObject
*args
) {
18931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18932 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
18934 return Py_BuildValue((char *)"");
18936 static PyObject
*_wrap_new_PrinterDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18937 PyObject
*resultobj
;
18938 wxPrintData
*arg1
= 0 ;
18939 wxPrinterDC
*result
;
18940 PyObject
* obj0
= 0 ;
18941 char *kwnames
[] = {
18942 (char *) "printData", NULL
18945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
18947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
18948 if (SWIG_arg_fail(1)) SWIG_fail
;
18949 if (arg1
== NULL
) {
18950 SWIG_null_ref("wxPrintData");
18952 if (SWIG_arg_fail(1)) SWIG_fail
;
18955 if (!wxPyCheckForApp()) SWIG_fail
;
18956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18957 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
18959 wxPyEndAllowThreads(__tstate
);
18960 if (PyErr_Occurred()) SWIG_fail
;
18962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
18969 static PyObject
* PrinterDC_swigregister(PyObject
*, PyObject
*args
) {
18971 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18972 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
18974 return Py_BuildValue((char *)"");
18976 static PyObject
*_wrap_new_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18977 PyObject
*resultobj
;
18980 int arg3
= (int) true ;
18981 int arg4
= (int) 1 ;
18982 wxImageList
*result
;
18983 PyObject
* obj0
= 0 ;
18984 PyObject
* obj1
= 0 ;
18985 PyObject
* obj2
= 0 ;
18986 PyObject
* obj3
= 0 ;
18987 char *kwnames
[] = {
18988 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
18991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18993 arg1
= (int)(SWIG_As_int(obj0
));
18994 if (SWIG_arg_fail(1)) SWIG_fail
;
18997 arg2
= (int)(SWIG_As_int(obj1
));
18998 if (SWIG_arg_fail(2)) SWIG_fail
;
19002 arg3
= (int)(SWIG_As_int(obj2
));
19003 if (SWIG_arg_fail(3)) SWIG_fail
;
19008 arg4
= (int)(SWIG_As_int(obj3
));
19009 if (SWIG_arg_fail(4)) SWIG_fail
;
19013 if (!wxPyCheckForApp()) SWIG_fail
;
19014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19015 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
19017 wxPyEndAllowThreads(__tstate
);
19018 if (PyErr_Occurred()) SWIG_fail
;
19021 resultobj
= wxPyMake_wxObject(result
, 1);
19029 static PyObject
*_wrap_delete_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19030 PyObject
*resultobj
;
19031 wxImageList
*arg1
= (wxImageList
*) 0 ;
19032 PyObject
* obj0
= 0 ;
19033 char *kwnames
[] = {
19034 (char *) "self", NULL
19037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
19038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19039 if (SWIG_arg_fail(1)) SWIG_fail
;
19041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19044 wxPyEndAllowThreads(__tstate
);
19045 if (PyErr_Occurred()) SWIG_fail
;
19047 Py_INCREF(Py_None
); resultobj
= Py_None
;
19054 static PyObject
*_wrap_ImageList_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19055 PyObject
*resultobj
;
19056 wxImageList
*arg1
= (wxImageList
*) 0 ;
19057 wxBitmap
*arg2
= 0 ;
19058 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
19059 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
19061 PyObject
* obj0
= 0 ;
19062 PyObject
* obj1
= 0 ;
19063 PyObject
* obj2
= 0 ;
19064 char *kwnames
[] = {
19065 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
19068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19070 if (SWIG_arg_fail(1)) SWIG_fail
;
19072 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19073 if (SWIG_arg_fail(2)) SWIG_fail
;
19074 if (arg2
== NULL
) {
19075 SWIG_null_ref("wxBitmap");
19077 if (SWIG_arg_fail(2)) SWIG_fail
;
19081 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19082 if (SWIG_arg_fail(3)) SWIG_fail
;
19083 if (arg3
== NULL
) {
19084 SWIG_null_ref("wxBitmap");
19086 if (SWIG_arg_fail(3)) SWIG_fail
;
19090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19091 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
19093 wxPyEndAllowThreads(__tstate
);
19094 if (PyErr_Occurred()) SWIG_fail
;
19097 resultobj
= SWIG_From_int((int)(result
));
19105 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19106 PyObject
*resultobj
;
19107 wxImageList
*arg1
= (wxImageList
*) 0 ;
19108 wxBitmap
*arg2
= 0 ;
19109 wxColour
*arg3
= 0 ;
19112 PyObject
* obj0
= 0 ;
19113 PyObject
* obj1
= 0 ;
19114 PyObject
* obj2
= 0 ;
19115 char *kwnames
[] = {
19116 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
19119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19121 if (SWIG_arg_fail(1)) SWIG_fail
;
19123 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19124 if (SWIG_arg_fail(2)) SWIG_fail
;
19125 if (arg2
== NULL
) {
19126 SWIG_null_ref("wxBitmap");
19128 if (SWIG_arg_fail(2)) SWIG_fail
;
19132 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19136 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
19138 wxPyEndAllowThreads(__tstate
);
19139 if (PyErr_Occurred()) SWIG_fail
;
19142 resultobj
= SWIG_From_int((int)(result
));
19150 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19151 PyObject
*resultobj
;
19152 wxImageList
*arg1
= (wxImageList
*) 0 ;
19155 PyObject
* obj0
= 0 ;
19156 PyObject
* obj1
= 0 ;
19157 char *kwnames
[] = {
19158 (char *) "self",(char *) "icon", NULL
19161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
19162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19163 if (SWIG_arg_fail(1)) SWIG_fail
;
19165 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
19166 if (SWIG_arg_fail(2)) SWIG_fail
;
19167 if (arg2
== NULL
) {
19168 SWIG_null_ref("wxIcon");
19170 if (SWIG_arg_fail(2)) SWIG_fail
;
19173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19174 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
19176 wxPyEndAllowThreads(__tstate
);
19177 if (PyErr_Occurred()) SWIG_fail
;
19180 resultobj
= SWIG_From_int((int)(result
));
19188 static PyObject
*_wrap_ImageList_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19189 PyObject
*resultobj
;
19190 wxImageList
*arg1
= (wxImageList
*) 0 ;
19192 wxBitmap
*arg3
= 0 ;
19193 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
19194 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
19196 PyObject
* obj0
= 0 ;
19197 PyObject
* obj1
= 0 ;
19198 PyObject
* obj2
= 0 ;
19199 PyObject
* obj3
= 0 ;
19200 char *kwnames
[] = {
19201 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
19204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19206 if (SWIG_arg_fail(1)) SWIG_fail
;
19208 arg2
= (int)(SWIG_As_int(obj1
));
19209 if (SWIG_arg_fail(2)) SWIG_fail
;
19212 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19213 if (SWIG_arg_fail(3)) SWIG_fail
;
19214 if (arg3
== NULL
) {
19215 SWIG_null_ref("wxBitmap");
19217 if (SWIG_arg_fail(3)) SWIG_fail
;
19221 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19222 if (SWIG_arg_fail(4)) SWIG_fail
;
19223 if (arg4
== NULL
) {
19224 SWIG_null_ref("wxBitmap");
19226 if (SWIG_arg_fail(4)) SWIG_fail
;
19230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19231 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
19233 wxPyEndAllowThreads(__tstate
);
19234 if (PyErr_Occurred()) SWIG_fail
;
19237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19245 static PyObject
*_wrap_ImageList_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19246 PyObject
*resultobj
;
19247 wxImageList
*arg1
= (wxImageList
*) 0 ;
19252 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
19253 bool arg7
= (bool) (bool)false ;
19255 PyObject
* obj0
= 0 ;
19256 PyObject
* obj1
= 0 ;
19257 PyObject
* obj2
= 0 ;
19258 PyObject
* obj3
= 0 ;
19259 PyObject
* obj4
= 0 ;
19260 PyObject
* obj5
= 0 ;
19261 PyObject
* obj6
= 0 ;
19262 char *kwnames
[] = {
19263 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
19266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19268 if (SWIG_arg_fail(1)) SWIG_fail
;
19270 arg2
= (int)(SWIG_As_int(obj1
));
19271 if (SWIG_arg_fail(2)) SWIG_fail
;
19274 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19275 if (SWIG_arg_fail(3)) SWIG_fail
;
19276 if (arg3
== NULL
) {
19277 SWIG_null_ref("wxDC");
19279 if (SWIG_arg_fail(3)) SWIG_fail
;
19282 arg4
= (int)(SWIG_As_int(obj3
));
19283 if (SWIG_arg_fail(4)) SWIG_fail
;
19286 arg5
= (int)(SWIG_As_int(obj4
));
19287 if (SWIG_arg_fail(5)) SWIG_fail
;
19291 arg6
= (int)(SWIG_As_int(obj5
));
19292 if (SWIG_arg_fail(6)) SWIG_fail
;
19297 arg7
= (bool const)(SWIG_As_bool(obj6
));
19298 if (SWIG_arg_fail(7)) SWIG_fail
;
19302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19303 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
19305 wxPyEndAllowThreads(__tstate
);
19306 if (PyErr_Occurred()) SWIG_fail
;
19309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19317 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19318 PyObject
*resultobj
;
19319 wxImageList
*arg1
= (wxImageList
*) 0 ;
19321 PyObject
* obj0
= 0 ;
19322 char *kwnames
[] = {
19323 (char *) "self", NULL
19326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
19327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19328 if (SWIG_arg_fail(1)) SWIG_fail
;
19330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19331 result
= (int)(arg1
)->GetImageCount();
19333 wxPyEndAllowThreads(__tstate
);
19334 if (PyErr_Occurred()) SWIG_fail
;
19337 resultobj
= SWIG_From_int((int)(result
));
19345 static PyObject
*_wrap_ImageList_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19346 PyObject
*resultobj
;
19347 wxImageList
*arg1
= (wxImageList
*) 0 ;
19350 PyObject
* obj0
= 0 ;
19351 PyObject
* obj1
= 0 ;
19352 char *kwnames
[] = {
19353 (char *) "self",(char *) "index", NULL
19356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
19357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19358 if (SWIG_arg_fail(1)) SWIG_fail
;
19360 arg2
= (int)(SWIG_As_int(obj1
));
19361 if (SWIG_arg_fail(2)) SWIG_fail
;
19364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19365 result
= (bool)(arg1
)->Remove(arg2
);
19367 wxPyEndAllowThreads(__tstate
);
19368 if (PyErr_Occurred()) SWIG_fail
;
19371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19379 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19380 PyObject
*resultobj
;
19381 wxImageList
*arg1
= (wxImageList
*) 0 ;
19383 PyObject
* obj0
= 0 ;
19384 char *kwnames
[] = {
19385 (char *) "self", NULL
19388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
19389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19390 if (SWIG_arg_fail(1)) SWIG_fail
;
19392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19393 result
= (bool)(arg1
)->RemoveAll();
19395 wxPyEndAllowThreads(__tstate
);
19396 if (PyErr_Occurred()) SWIG_fail
;
19399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19407 static PyObject
*_wrap_ImageList_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19408 PyObject
*resultobj
;
19409 wxImageList
*arg1
= (wxImageList
*) 0 ;
19417 PyObject
* obj0
= 0 ;
19418 PyObject
* obj1
= 0 ;
19419 char *kwnames
[] = {
19420 (char *) "self",(char *) "index", NULL
19423 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19424 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
19425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19427 if (SWIG_arg_fail(1)) SWIG_fail
;
19429 arg2
= (int)(SWIG_As_int(obj1
));
19430 if (SWIG_arg_fail(2)) SWIG_fail
;
19433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19434 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
19436 wxPyEndAllowThreads(__tstate
);
19437 if (PyErr_Occurred()) SWIG_fail
;
19439 Py_INCREF(Py_None
); resultobj
= Py_None
;
19440 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19441 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19442 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
19443 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
19450 static PyObject
* ImageList_swigregister(PyObject
*, PyObject
*args
) {
19452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19453 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
19455 return Py_BuildValue((char *)"");
19457 static int _wrap_NORMAL_FONT_set(PyObject
*) {
19458 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
19463 static PyObject
*_wrap_NORMAL_FONT_get(void) {
19466 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
19471 static int _wrap_SMALL_FONT_set(PyObject
*) {
19472 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
19477 static PyObject
*_wrap_SMALL_FONT_get(void) {
19480 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
19485 static int _wrap_ITALIC_FONT_set(PyObject
*) {
19486 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
19491 static PyObject
*_wrap_ITALIC_FONT_get(void) {
19494 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
19499 static int _wrap_SWISS_FONT_set(PyObject
*) {
19500 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
19505 static PyObject
*_wrap_SWISS_FONT_get(void) {
19508 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
19513 static int _wrap_RED_PEN_set(PyObject
*) {
19514 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
19519 static PyObject
*_wrap_RED_PEN_get(void) {
19522 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
19527 static int _wrap_CYAN_PEN_set(PyObject
*) {
19528 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
19533 static PyObject
*_wrap_CYAN_PEN_get(void) {
19536 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
19541 static int _wrap_GREEN_PEN_set(PyObject
*) {
19542 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
19547 static PyObject
*_wrap_GREEN_PEN_get(void) {
19550 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
19555 static int _wrap_BLACK_PEN_set(PyObject
*) {
19556 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
19561 static PyObject
*_wrap_BLACK_PEN_get(void) {
19564 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
19569 static int _wrap_WHITE_PEN_set(PyObject
*) {
19570 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
19575 static PyObject
*_wrap_WHITE_PEN_get(void) {
19578 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
19583 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
19584 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
19589 static PyObject
*_wrap_TRANSPARENT_PEN_get(void) {
19592 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
19597 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
19598 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
19603 static PyObject
*_wrap_BLACK_DASHED_PEN_get(void) {
19606 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
19611 static int _wrap_GREY_PEN_set(PyObject
*) {
19612 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
19617 static PyObject
*_wrap_GREY_PEN_get(void) {
19620 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
19625 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
19626 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
19631 static PyObject
*_wrap_MEDIUM_GREY_PEN_get(void) {
19634 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
19639 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
19640 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
19645 static PyObject
*_wrap_LIGHT_GREY_PEN_get(void) {
19648 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
19653 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
19654 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
19659 static PyObject
*_wrap_BLUE_BRUSH_get(void) {
19662 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19667 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
19668 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
19673 static PyObject
*_wrap_GREEN_BRUSH_get(void) {
19676 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19681 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
19682 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
19687 static PyObject
*_wrap_WHITE_BRUSH_get(void) {
19690 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19695 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
19696 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
19701 static PyObject
*_wrap_BLACK_BRUSH_get(void) {
19704 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19709 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
19710 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
19715 static PyObject
*_wrap_TRANSPARENT_BRUSH_get(void) {
19718 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19723 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
19724 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
19729 static PyObject
*_wrap_CYAN_BRUSH_get(void) {
19732 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19737 static int _wrap_RED_BRUSH_set(PyObject
*) {
19738 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
19743 static PyObject
*_wrap_RED_BRUSH_get(void) {
19746 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19751 static int _wrap_GREY_BRUSH_set(PyObject
*) {
19752 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
19757 static PyObject
*_wrap_GREY_BRUSH_get(void) {
19760 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19765 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
19766 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
19771 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get(void) {
19774 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19779 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
19780 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
19785 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get(void) {
19788 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19793 static int _wrap_BLACK_set(PyObject
*) {
19794 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
19799 static PyObject
*_wrap_BLACK_get(void) {
19802 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
19807 static int _wrap_WHITE_set(PyObject
*) {
19808 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
19813 static PyObject
*_wrap_WHITE_get(void) {
19816 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
19821 static int _wrap_RED_set(PyObject
*) {
19822 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
19827 static PyObject
*_wrap_RED_get(void) {
19830 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
19835 static int _wrap_BLUE_set(PyObject
*) {
19836 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
19841 static PyObject
*_wrap_BLUE_get(void) {
19844 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
19849 static int _wrap_GREEN_set(PyObject
*) {
19850 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
19855 static PyObject
*_wrap_GREEN_get(void) {
19858 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
19863 static int _wrap_CYAN_set(PyObject
*) {
19864 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
19869 static PyObject
*_wrap_CYAN_get(void) {
19872 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
19877 static int _wrap_LIGHT_GREY_set(PyObject
*) {
19878 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
19883 static PyObject
*_wrap_LIGHT_GREY_get(void) {
19886 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
19891 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
19892 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
19897 static PyObject
*_wrap_STANDARD_CURSOR_get(void) {
19900 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
19905 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
19906 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
19911 static PyObject
*_wrap_HOURGLASS_CURSOR_get(void) {
19914 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
19919 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
19920 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
19925 static PyObject
*_wrap_CROSS_CURSOR_get(void) {
19928 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
19933 static int _wrap_NullBitmap_set(PyObject
*) {
19934 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
19939 static PyObject
*_wrap_NullBitmap_get(void) {
19942 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
19947 static int _wrap_NullIcon_set(PyObject
*) {
19948 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
19953 static PyObject
*_wrap_NullIcon_get(void) {
19956 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
19961 static int _wrap_NullCursor_set(PyObject
*) {
19962 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
19967 static PyObject
*_wrap_NullCursor_get(void) {
19970 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
19975 static int _wrap_NullPen_set(PyObject
*) {
19976 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
19981 static PyObject
*_wrap_NullPen_get(void) {
19984 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
19989 static int _wrap_NullBrush_set(PyObject
*) {
19990 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
19995 static PyObject
*_wrap_NullBrush_get(void) {
19998 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
20003 static int _wrap_NullPalette_set(PyObject
*) {
20004 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
20009 static PyObject
*_wrap_NullPalette_get(void) {
20012 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
20017 static int _wrap_NullFont_set(PyObject
*) {
20018 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
20023 static PyObject
*_wrap_NullFont_get(void) {
20026 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
20031 static int _wrap_NullColour_set(PyObject
*) {
20032 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
20037 static PyObject
*_wrap_NullColour_get(void) {
20040 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
20045 static PyObject
*_wrap_PenList_AddPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20046 PyObject
*resultobj
;
20047 wxPenList
*arg1
= (wxPenList
*) 0 ;
20048 wxPen
*arg2
= (wxPen
*) 0 ;
20049 PyObject
* obj0
= 0 ;
20050 PyObject
* obj1
= 0 ;
20051 char *kwnames
[] = {
20052 (char *) "self",(char *) "pen", NULL
20055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
20056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
20057 if (SWIG_arg_fail(1)) SWIG_fail
;
20058 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
20059 if (SWIG_arg_fail(2)) SWIG_fail
;
20061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20062 (arg1
)->AddPen(arg2
);
20064 wxPyEndAllowThreads(__tstate
);
20065 if (PyErr_Occurred()) SWIG_fail
;
20067 Py_INCREF(Py_None
); resultobj
= Py_None
;
20074 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20075 PyObject
*resultobj
;
20076 wxPenList
*arg1
= (wxPenList
*) 0 ;
20077 wxColour
*arg2
= 0 ;
20082 PyObject
* obj0
= 0 ;
20083 PyObject
* obj1
= 0 ;
20084 PyObject
* obj2
= 0 ;
20085 PyObject
* obj3
= 0 ;
20086 char *kwnames
[] = {
20087 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
20090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
20092 if (SWIG_arg_fail(1)) SWIG_fail
;
20095 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20098 arg3
= (int)(SWIG_As_int(obj2
));
20099 if (SWIG_arg_fail(3)) SWIG_fail
;
20102 arg4
= (int)(SWIG_As_int(obj3
));
20103 if (SWIG_arg_fail(4)) SWIG_fail
;
20106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20107 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
20109 wxPyEndAllowThreads(__tstate
);
20110 if (PyErr_Occurred()) SWIG_fail
;
20112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
20119 static PyObject
*_wrap_PenList_RemovePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20120 PyObject
*resultobj
;
20121 wxPenList
*arg1
= (wxPenList
*) 0 ;
20122 wxPen
*arg2
= (wxPen
*) 0 ;
20123 PyObject
* obj0
= 0 ;
20124 PyObject
* obj1
= 0 ;
20125 char *kwnames
[] = {
20126 (char *) "self",(char *) "pen", NULL
20129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
20130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
20131 if (SWIG_arg_fail(1)) SWIG_fail
;
20132 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
20133 if (SWIG_arg_fail(2)) SWIG_fail
;
20135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20136 (arg1
)->RemovePen(arg2
);
20138 wxPyEndAllowThreads(__tstate
);
20139 if (PyErr_Occurred()) SWIG_fail
;
20141 Py_INCREF(Py_None
); resultobj
= Py_None
;
20148 static PyObject
*_wrap_PenList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20149 PyObject
*resultobj
;
20150 wxPenList
*arg1
= (wxPenList
*) 0 ;
20152 PyObject
* obj0
= 0 ;
20153 char *kwnames
[] = {
20154 (char *) "self", NULL
20157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
20158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
20159 if (SWIG_arg_fail(1)) SWIG_fail
;
20161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20162 result
= (int)(arg1
)->GetCount();
20164 wxPyEndAllowThreads(__tstate
);
20165 if (PyErr_Occurred()) SWIG_fail
;
20168 resultobj
= SWIG_From_int((int)(result
));
20176 static PyObject
* PenList_swigregister(PyObject
*, PyObject
*args
) {
20178 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20179 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
20181 return Py_BuildValue((char *)"");
20183 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20184 PyObject
*resultobj
;
20185 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
20186 wxBrush
*arg2
= (wxBrush
*) 0 ;
20187 PyObject
* obj0
= 0 ;
20188 PyObject
* obj1
= 0 ;
20189 char *kwnames
[] = {
20190 (char *) "self",(char *) "brush", NULL
20193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
20194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
20195 if (SWIG_arg_fail(1)) SWIG_fail
;
20196 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
20197 if (SWIG_arg_fail(2)) SWIG_fail
;
20199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20200 (arg1
)->AddBrush(arg2
);
20202 wxPyEndAllowThreads(__tstate
);
20203 if (PyErr_Occurred()) SWIG_fail
;
20205 Py_INCREF(Py_None
); resultobj
= Py_None
;
20212 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20213 PyObject
*resultobj
;
20214 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
20215 wxColour
*arg2
= 0 ;
20219 PyObject
* obj0
= 0 ;
20220 PyObject
* obj1
= 0 ;
20221 PyObject
* obj2
= 0 ;
20222 char *kwnames
[] = {
20223 (char *) "self",(char *) "colour",(char *) "style", NULL
20226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
20228 if (SWIG_arg_fail(1)) SWIG_fail
;
20231 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20234 arg3
= (int)(SWIG_As_int(obj2
));
20235 if (SWIG_arg_fail(3)) SWIG_fail
;
20238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20239 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
20241 wxPyEndAllowThreads(__tstate
);
20242 if (PyErr_Occurred()) SWIG_fail
;
20244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
20251 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20252 PyObject
*resultobj
;
20253 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
20254 wxBrush
*arg2
= (wxBrush
*) 0 ;
20255 PyObject
* obj0
= 0 ;
20256 PyObject
* obj1
= 0 ;
20257 char *kwnames
[] = {
20258 (char *) "self",(char *) "brush", NULL
20261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
20262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
20263 if (SWIG_arg_fail(1)) SWIG_fail
;
20264 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
20265 if (SWIG_arg_fail(2)) SWIG_fail
;
20267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20268 (arg1
)->RemoveBrush(arg2
);
20270 wxPyEndAllowThreads(__tstate
);
20271 if (PyErr_Occurred()) SWIG_fail
;
20273 Py_INCREF(Py_None
); resultobj
= Py_None
;
20280 static PyObject
*_wrap_BrushList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20281 PyObject
*resultobj
;
20282 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
20284 PyObject
* obj0
= 0 ;
20285 char *kwnames
[] = {
20286 (char *) "self", NULL
20289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
20290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
20291 if (SWIG_arg_fail(1)) SWIG_fail
;
20293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20294 result
= (int)(arg1
)->GetCount();
20296 wxPyEndAllowThreads(__tstate
);
20297 if (PyErr_Occurred()) SWIG_fail
;
20300 resultobj
= SWIG_From_int((int)(result
));
20308 static PyObject
* BrushList_swigregister(PyObject
*, PyObject
*args
) {
20310 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20311 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
20313 return Py_BuildValue((char *)"");
20315 static PyObject
*_wrap_new_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20316 PyObject
*resultobj
;
20317 wxColourDatabase
*result
;
20318 char *kwnames
[] = {
20322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
20324 if (!wxPyCheckForApp()) SWIG_fail
;
20325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20326 result
= (wxColourDatabase
*)new wxColourDatabase();
20328 wxPyEndAllowThreads(__tstate
);
20329 if (PyErr_Occurred()) SWIG_fail
;
20331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
20338 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20339 PyObject
*resultobj
;
20340 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
20341 PyObject
* obj0
= 0 ;
20342 char *kwnames
[] = {
20343 (char *) "self", NULL
20346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
20347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
20348 if (SWIG_arg_fail(1)) SWIG_fail
;
20350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20353 wxPyEndAllowThreads(__tstate
);
20354 if (PyErr_Occurred()) SWIG_fail
;
20356 Py_INCREF(Py_None
); resultobj
= Py_None
;
20363 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20364 PyObject
*resultobj
;
20365 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
20366 wxString
*arg2
= 0 ;
20368 bool temp2
= false ;
20369 PyObject
* obj0
= 0 ;
20370 PyObject
* obj1
= 0 ;
20371 char *kwnames
[] = {
20372 (char *) "self",(char *) "name", NULL
20375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
20376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
20377 if (SWIG_arg_fail(1)) SWIG_fail
;
20379 arg2
= wxString_in_helper(obj1
);
20380 if (arg2
== NULL
) SWIG_fail
;
20384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20385 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
20387 wxPyEndAllowThreads(__tstate
);
20388 if (PyErr_Occurred()) SWIG_fail
;
20391 wxColour
* resultptr
;
20392 resultptr
= new wxColour((wxColour
&)(result
));
20393 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20409 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20410 PyObject
*resultobj
;
20411 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
20412 wxColour
*arg2
= 0 ;
20415 PyObject
* obj0
= 0 ;
20416 PyObject
* obj1
= 0 ;
20417 char *kwnames
[] = {
20418 (char *) "self",(char *) "colour", NULL
20421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
20422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
20423 if (SWIG_arg_fail(1)) SWIG_fail
;
20426 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20430 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
20432 wxPyEndAllowThreads(__tstate
);
20433 if (PyErr_Occurred()) SWIG_fail
;
20437 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20439 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20448 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20449 PyObject
*resultobj
;
20450 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
20451 wxString
*arg2
= 0 ;
20452 wxColour
*arg3
= 0 ;
20453 bool temp2
= false ;
20455 PyObject
* obj0
= 0 ;
20456 PyObject
* obj1
= 0 ;
20457 PyObject
* obj2
= 0 ;
20458 char *kwnames
[] = {
20459 (char *) "self",(char *) "name",(char *) "colour", NULL
20462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
20464 if (SWIG_arg_fail(1)) SWIG_fail
;
20466 arg2
= wxString_in_helper(obj1
);
20467 if (arg2
== NULL
) SWIG_fail
;
20472 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
20475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20476 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
20478 wxPyEndAllowThreads(__tstate
);
20479 if (PyErr_Occurred()) SWIG_fail
;
20481 Py_INCREF(Py_None
); resultobj
= Py_None
;
20496 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20497 PyObject
*resultobj
;
20498 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
20499 wxString
*arg2
= 0 ;
20503 bool temp2
= false ;
20504 PyObject
* obj0
= 0 ;
20505 PyObject
* obj1
= 0 ;
20506 PyObject
* obj2
= 0 ;
20507 PyObject
* obj3
= 0 ;
20508 PyObject
* obj4
= 0 ;
20509 char *kwnames
[] = {
20510 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
20513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
20515 if (SWIG_arg_fail(1)) SWIG_fail
;
20517 arg2
= wxString_in_helper(obj1
);
20518 if (arg2
== NULL
) SWIG_fail
;
20522 arg3
= (int)(SWIG_As_int(obj2
));
20523 if (SWIG_arg_fail(3)) SWIG_fail
;
20526 arg4
= (int)(SWIG_As_int(obj3
));
20527 if (SWIG_arg_fail(4)) SWIG_fail
;
20530 arg5
= (int)(SWIG_As_int(obj4
));
20531 if (SWIG_arg_fail(5)) SWIG_fail
;
20534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20535 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
20537 wxPyEndAllowThreads(__tstate
);
20538 if (PyErr_Occurred()) SWIG_fail
;
20540 Py_INCREF(Py_None
); resultobj
= Py_None
;
20555 static PyObject
* ColourDatabase_swigregister(PyObject
*, PyObject
*args
) {
20557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20558 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
20560 return Py_BuildValue((char *)"");
20562 static PyObject
*_wrap_FontList_AddFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20563 PyObject
*resultobj
;
20564 wxFontList
*arg1
= (wxFontList
*) 0 ;
20565 wxFont
*arg2
= (wxFont
*) 0 ;
20566 PyObject
* obj0
= 0 ;
20567 PyObject
* obj1
= 0 ;
20568 char *kwnames
[] = {
20569 (char *) "self",(char *) "font", NULL
20572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
20573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20574 if (SWIG_arg_fail(1)) SWIG_fail
;
20575 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
20576 if (SWIG_arg_fail(2)) SWIG_fail
;
20578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20579 (arg1
)->AddFont(arg2
);
20581 wxPyEndAllowThreads(__tstate
);
20582 if (PyErr_Occurred()) SWIG_fail
;
20584 Py_INCREF(Py_None
); resultobj
= Py_None
;
20591 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20592 PyObject
*resultobj
;
20593 wxFontList
*arg1
= (wxFontList
*) 0 ;
20598 bool arg6
= (bool) false ;
20599 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20600 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20601 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
20603 bool temp7
= false ;
20604 PyObject
* obj0
= 0 ;
20605 PyObject
* obj1
= 0 ;
20606 PyObject
* obj2
= 0 ;
20607 PyObject
* obj3
= 0 ;
20608 PyObject
* obj4
= 0 ;
20609 PyObject
* obj5
= 0 ;
20610 PyObject
* obj6
= 0 ;
20611 PyObject
* obj7
= 0 ;
20612 char *kwnames
[] = {
20613 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
20616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20618 if (SWIG_arg_fail(1)) SWIG_fail
;
20620 arg2
= (int)(SWIG_As_int(obj1
));
20621 if (SWIG_arg_fail(2)) SWIG_fail
;
20624 arg3
= (int)(SWIG_As_int(obj2
));
20625 if (SWIG_arg_fail(3)) SWIG_fail
;
20628 arg4
= (int)(SWIG_As_int(obj3
));
20629 if (SWIG_arg_fail(4)) SWIG_fail
;
20632 arg5
= (int)(SWIG_As_int(obj4
));
20633 if (SWIG_arg_fail(5)) SWIG_fail
;
20637 arg6
= (bool)(SWIG_As_bool(obj5
));
20638 if (SWIG_arg_fail(6)) SWIG_fail
;
20643 arg7
= wxString_in_helper(obj6
);
20644 if (arg7
== NULL
) SWIG_fail
;
20650 arg8
= (wxFontEncoding
)(SWIG_As_int(obj7
));
20651 if (SWIG_arg_fail(8)) SWIG_fail
;
20655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20656 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
20658 wxPyEndAllowThreads(__tstate
);
20659 if (PyErr_Occurred()) SWIG_fail
;
20661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
20676 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20677 PyObject
*resultobj
;
20678 wxFontList
*arg1
= (wxFontList
*) 0 ;
20679 wxFont
*arg2
= (wxFont
*) 0 ;
20680 PyObject
* obj0
= 0 ;
20681 PyObject
* obj1
= 0 ;
20682 char *kwnames
[] = {
20683 (char *) "self",(char *) "font", NULL
20686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
20687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20688 if (SWIG_arg_fail(1)) SWIG_fail
;
20689 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
20690 if (SWIG_arg_fail(2)) SWIG_fail
;
20692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20693 (arg1
)->RemoveFont(arg2
);
20695 wxPyEndAllowThreads(__tstate
);
20696 if (PyErr_Occurred()) SWIG_fail
;
20698 Py_INCREF(Py_None
); resultobj
= Py_None
;
20705 static PyObject
*_wrap_FontList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20706 PyObject
*resultobj
;
20707 wxFontList
*arg1
= (wxFontList
*) 0 ;
20709 PyObject
* obj0
= 0 ;
20710 char *kwnames
[] = {
20711 (char *) "self", NULL
20714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
20715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20716 if (SWIG_arg_fail(1)) SWIG_fail
;
20718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20719 result
= (int)(arg1
)->GetCount();
20721 wxPyEndAllowThreads(__tstate
);
20722 if (PyErr_Occurred()) SWIG_fail
;
20725 resultobj
= SWIG_From_int((int)(result
));
20733 static PyObject
* FontList_swigregister(PyObject
*, PyObject
*args
) {
20735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20736 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
20738 return Py_BuildValue((char *)"");
20740 static int _wrap_TheFontList_set(PyObject
*) {
20741 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
20746 static PyObject
*_wrap_TheFontList_get(void) {
20749 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
20754 static int _wrap_ThePenList_set(PyObject
*) {
20755 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
20760 static PyObject
*_wrap_ThePenList_get(void) {
20763 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
20768 static int _wrap_TheBrushList_set(PyObject
*) {
20769 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
20774 static PyObject
*_wrap_TheBrushList_get(void) {
20777 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
20782 static int _wrap_TheColourDatabase_set(PyObject
*) {
20783 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
20788 static PyObject
*_wrap_TheColourDatabase_get(void) {
20791 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
20796 static PyObject
*_wrap_new_Effects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20797 PyObject
*resultobj
;
20799 char *kwnames
[] = {
20803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
20805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20806 result
= (wxEffects
*)new wxEffects();
20808 wxPyEndAllowThreads(__tstate
);
20809 if (PyErr_Occurred()) SWIG_fail
;
20811 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
20818 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20819 PyObject
*resultobj
;
20820 wxEffects
*arg1
= (wxEffects
*) 0 ;
20822 PyObject
* obj0
= 0 ;
20823 char *kwnames
[] = {
20824 (char *) "self", NULL
20827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
20828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20829 if (SWIG_arg_fail(1)) SWIG_fail
;
20831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20832 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
20834 wxPyEndAllowThreads(__tstate
);
20835 if (PyErr_Occurred()) SWIG_fail
;
20838 wxColour
* resultptr
;
20839 resultptr
= new wxColour((wxColour
&)(result
));
20840 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20848 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20849 PyObject
*resultobj
;
20850 wxEffects
*arg1
= (wxEffects
*) 0 ;
20852 PyObject
* obj0
= 0 ;
20853 char *kwnames
[] = {
20854 (char *) "self", NULL
20857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
20858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20859 if (SWIG_arg_fail(1)) SWIG_fail
;
20861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20862 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
20864 wxPyEndAllowThreads(__tstate
);
20865 if (PyErr_Occurred()) SWIG_fail
;
20868 wxColour
* resultptr
;
20869 resultptr
= new wxColour((wxColour
&)(result
));
20870 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20878 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20879 PyObject
*resultobj
;
20880 wxEffects
*arg1
= (wxEffects
*) 0 ;
20882 PyObject
* obj0
= 0 ;
20883 char *kwnames
[] = {
20884 (char *) "self", NULL
20887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
20888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20889 if (SWIG_arg_fail(1)) SWIG_fail
;
20891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20892 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
20894 wxPyEndAllowThreads(__tstate
);
20895 if (PyErr_Occurred()) SWIG_fail
;
20898 wxColour
* resultptr
;
20899 resultptr
= new wxColour((wxColour
&)(result
));
20900 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20908 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20909 PyObject
*resultobj
;
20910 wxEffects
*arg1
= (wxEffects
*) 0 ;
20912 PyObject
* obj0
= 0 ;
20913 char *kwnames
[] = {
20914 (char *) "self", NULL
20917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
20918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20919 if (SWIG_arg_fail(1)) SWIG_fail
;
20921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20922 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
20924 wxPyEndAllowThreads(__tstate
);
20925 if (PyErr_Occurred()) SWIG_fail
;
20928 wxColour
* resultptr
;
20929 resultptr
= new wxColour((wxColour
&)(result
));
20930 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20938 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20939 PyObject
*resultobj
;
20940 wxEffects
*arg1
= (wxEffects
*) 0 ;
20942 PyObject
* obj0
= 0 ;
20943 char *kwnames
[] = {
20944 (char *) "self", NULL
20947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
20948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20949 if (SWIG_arg_fail(1)) SWIG_fail
;
20951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20952 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
20954 wxPyEndAllowThreads(__tstate
);
20955 if (PyErr_Occurred()) SWIG_fail
;
20958 wxColour
* resultptr
;
20959 resultptr
= new wxColour((wxColour
&)(result
));
20960 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20968 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20969 PyObject
*resultobj
;
20970 wxEffects
*arg1
= (wxEffects
*) 0 ;
20971 wxColour
*arg2
= 0 ;
20973 PyObject
* obj0
= 0 ;
20974 PyObject
* obj1
= 0 ;
20975 char *kwnames
[] = {
20976 (char *) "self",(char *) "c", NULL
20979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20981 if (SWIG_arg_fail(1)) SWIG_fail
;
20984 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20988 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
20990 wxPyEndAllowThreads(__tstate
);
20991 if (PyErr_Occurred()) SWIG_fail
;
20993 Py_INCREF(Py_None
); resultobj
= Py_None
;
21000 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21001 PyObject
*resultobj
;
21002 wxEffects
*arg1
= (wxEffects
*) 0 ;
21003 wxColour
*arg2
= 0 ;
21005 PyObject
* obj0
= 0 ;
21006 PyObject
* obj1
= 0 ;
21007 char *kwnames
[] = {
21008 (char *) "self",(char *) "c", NULL
21011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
21012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21013 if (SWIG_arg_fail(1)) SWIG_fail
;
21016 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21020 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
21022 wxPyEndAllowThreads(__tstate
);
21023 if (PyErr_Occurred()) SWIG_fail
;
21025 Py_INCREF(Py_None
); resultobj
= Py_None
;
21032 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21033 PyObject
*resultobj
;
21034 wxEffects
*arg1
= (wxEffects
*) 0 ;
21035 wxColour
*arg2
= 0 ;
21037 PyObject
* obj0
= 0 ;
21038 PyObject
* obj1
= 0 ;
21039 char *kwnames
[] = {
21040 (char *) "self",(char *) "c", NULL
21043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21045 if (SWIG_arg_fail(1)) SWIG_fail
;
21048 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21052 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
21054 wxPyEndAllowThreads(__tstate
);
21055 if (PyErr_Occurred()) SWIG_fail
;
21057 Py_INCREF(Py_None
); resultobj
= Py_None
;
21064 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21065 PyObject
*resultobj
;
21066 wxEffects
*arg1
= (wxEffects
*) 0 ;
21067 wxColour
*arg2
= 0 ;
21069 PyObject
* obj0
= 0 ;
21070 PyObject
* obj1
= 0 ;
21071 char *kwnames
[] = {
21072 (char *) "self",(char *) "c", NULL
21075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
21076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21077 if (SWIG_arg_fail(1)) SWIG_fail
;
21080 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21084 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
21086 wxPyEndAllowThreads(__tstate
);
21087 if (PyErr_Occurred()) SWIG_fail
;
21089 Py_INCREF(Py_None
); resultobj
= Py_None
;
21096 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21097 PyObject
*resultobj
;
21098 wxEffects
*arg1
= (wxEffects
*) 0 ;
21099 wxColour
*arg2
= 0 ;
21101 PyObject
* obj0
= 0 ;
21102 PyObject
* obj1
= 0 ;
21103 char *kwnames
[] = {
21104 (char *) "self",(char *) "c", NULL
21107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
21108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21109 if (SWIG_arg_fail(1)) SWIG_fail
;
21112 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21116 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
21118 wxPyEndAllowThreads(__tstate
);
21119 if (PyErr_Occurred()) SWIG_fail
;
21121 Py_INCREF(Py_None
); resultobj
= Py_None
;
21128 static PyObject
*_wrap_Effects_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21129 PyObject
*resultobj
;
21130 wxEffects
*arg1
= (wxEffects
*) 0 ;
21131 wxColour
*arg2
= 0 ;
21132 wxColour
*arg3
= 0 ;
21133 wxColour
*arg4
= 0 ;
21134 wxColour
*arg5
= 0 ;
21135 wxColour
*arg6
= 0 ;
21141 PyObject
* obj0
= 0 ;
21142 PyObject
* obj1
= 0 ;
21143 PyObject
* obj2
= 0 ;
21144 PyObject
* obj3
= 0 ;
21145 PyObject
* obj4
= 0 ;
21146 PyObject
* obj5
= 0 ;
21147 char *kwnames
[] = {
21148 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
21151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21153 if (SWIG_arg_fail(1)) SWIG_fail
;
21156 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21160 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21164 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
21168 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
21172 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
21175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21176 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
21178 wxPyEndAllowThreads(__tstate
);
21179 if (PyErr_Occurred()) SWIG_fail
;
21181 Py_INCREF(Py_None
); resultobj
= Py_None
;
21188 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21189 PyObject
*resultobj
;
21190 wxEffects
*arg1
= (wxEffects
*) 0 ;
21193 int arg4
= (int) 1 ;
21195 PyObject
* obj0
= 0 ;
21196 PyObject
* obj1
= 0 ;
21197 PyObject
* obj2
= 0 ;
21198 PyObject
* obj3
= 0 ;
21199 char *kwnames
[] = {
21200 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
21203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21205 if (SWIG_arg_fail(1)) SWIG_fail
;
21207 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21208 if (SWIG_arg_fail(2)) SWIG_fail
;
21209 if (arg2
== NULL
) {
21210 SWIG_null_ref("wxDC");
21212 if (SWIG_arg_fail(2)) SWIG_fail
;
21216 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
21220 arg4
= (int)(SWIG_As_int(obj3
));
21221 if (SWIG_arg_fail(4)) SWIG_fail
;
21225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21226 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
21228 wxPyEndAllowThreads(__tstate
);
21229 if (PyErr_Occurred()) SWIG_fail
;
21231 Py_INCREF(Py_None
); resultobj
= Py_None
;
21238 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21239 PyObject
*resultobj
;
21240 wxEffects
*arg1
= (wxEffects
*) 0 ;
21243 wxBitmap
*arg4
= 0 ;
21246 PyObject
* obj0
= 0 ;
21247 PyObject
* obj1
= 0 ;
21248 PyObject
* obj2
= 0 ;
21249 PyObject
* obj3
= 0 ;
21250 char *kwnames
[] = {
21251 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
21254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21256 if (SWIG_arg_fail(1)) SWIG_fail
;
21259 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
21262 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21263 if (SWIG_arg_fail(3)) SWIG_fail
;
21264 if (arg3
== NULL
) {
21265 SWIG_null_ref("wxDC");
21267 if (SWIG_arg_fail(3)) SWIG_fail
;
21270 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
21271 if (SWIG_arg_fail(4)) SWIG_fail
;
21272 if (arg4
== NULL
) {
21273 SWIG_null_ref("wxBitmap");
21275 if (SWIG_arg_fail(4)) SWIG_fail
;
21278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21279 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
21281 wxPyEndAllowThreads(__tstate
);
21282 if (PyErr_Occurred()) SWIG_fail
;
21285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21293 static PyObject
* Effects_swigregister(PyObject
*, PyObject
*args
) {
21295 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21296 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
21298 return Py_BuildValue((char *)"");
21300 static PyMethodDef SwigMethods
[] = {
21301 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21302 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21303 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21304 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21305 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21306 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
21307 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21308 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21309 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21310 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21311 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21312 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21313 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21314 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21315 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21316 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21317 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21318 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21319 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21320 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21321 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21322 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21323 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
21324 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21325 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21326 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21327 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21328 { (char *)"Palette_GetColoursCount", (PyCFunction
) _wrap_Palette_GetColoursCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21329 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21330 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
21331 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21332 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21333 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21334 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21335 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21336 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21337 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21338 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21339 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21340 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21341 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21342 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21343 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21344 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21345 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21346 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21347 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21348 { (char *)"Pen_GetStipple", (PyCFunction
) _wrap_Pen_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21349 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21350 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21351 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21352 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
21353 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21354 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21355 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21356 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21357 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21358 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21359 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21360 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21361 { (char *)"Brush_IsHatch", (PyCFunction
) _wrap_Brush_IsHatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21362 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21363 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
21364 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21365 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21366 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21367 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21368 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21369 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21370 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21371 { (char *)"Bitmap_GetHandle", (PyCFunction
) _wrap_Bitmap_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21372 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21373 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21374 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21375 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21376 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21377 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21378 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21379 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21380 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21381 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21382 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21383 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21384 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21385 { (char *)"Bitmap_GetPalette", (PyCFunction
) _wrap_Bitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21386 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21387 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21388 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21389 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21390 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21391 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21392 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21393 { (char *)"Bitmap_GetQuality", (PyCFunction
) _wrap_Bitmap_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21394 { (char *)"Bitmap_SetQuality", (PyCFunction
) _wrap_Bitmap_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21395 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21396 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21397 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
21398 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21399 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
21400 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21401 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21402 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21403 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21404 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21405 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21406 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21407 { (char *)"Icon_GetHandle", (PyCFunction
) _wrap_Icon_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21408 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21409 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21410 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21411 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21412 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21413 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21414 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21415 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21416 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21417 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21418 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
21419 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21420 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21421 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21422 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21423 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21424 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21425 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21426 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
21427 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21428 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21429 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21430 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21431 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21432 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21433 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21434 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
21435 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21436 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21437 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21438 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21439 { (char *)"Cursor_GetHandle", (PyCFunction
) _wrap_Cursor_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21440 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21441 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21442 { (char *)"Cursor_GetWidth", (PyCFunction
) _wrap_Cursor_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21443 { (char *)"Cursor_GetHeight", (PyCFunction
) _wrap_Cursor_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21444 { (char *)"Cursor_GetDepth", (PyCFunction
) _wrap_Cursor_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21445 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21446 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21447 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21448 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21449 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
21450 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21451 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21452 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21453 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21454 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21455 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21456 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21457 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21458 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21459 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21460 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21461 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21462 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21463 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21464 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21465 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21466 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21467 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21468 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21469 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21470 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21471 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21472 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21473 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21474 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21475 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21476 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21477 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21478 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
21479 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21480 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21481 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21482 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21483 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21484 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21485 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21486 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21487 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21488 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21489 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21490 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21491 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21492 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
21493 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21494 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21495 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21496 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21497 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21498 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_GetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21499 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21500 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21501 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21502 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21503 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21504 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21505 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21506 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21507 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21508 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21509 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21510 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21511 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21512 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21513 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21514 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21515 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21516 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21517 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21518 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
21519 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21520 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21521 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21522 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21523 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21524 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21525 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21526 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21527 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
21528 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21529 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21530 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21531 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21532 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21533 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21534 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21535 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21536 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21537 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21538 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21539 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21540 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21541 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21542 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21543 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21544 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21545 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21546 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21547 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
21548 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21549 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21550 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21551 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21552 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21553 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21554 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21555 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21556 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21557 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21558 { (char *)"Font_GetPixelSize", (PyCFunction
) _wrap_Font_GetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21559 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
) _wrap_Font_IsUsingSizeInPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21560 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21561 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21562 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21563 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21564 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21565 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21566 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21567 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21568 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21569 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21570 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21571 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21572 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21573 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21574 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21575 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21576 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21577 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21578 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21579 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21580 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21581 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21582 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21583 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21584 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21585 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21586 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21587 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21588 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
21589 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21590 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21591 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21592 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21593 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21594 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21595 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21596 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
21597 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21598 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21599 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21600 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21601 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21602 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21603 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
21604 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21605 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21606 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21607 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21608 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21609 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21610 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21611 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21612 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21613 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21614 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21615 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21616 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21617 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21618 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21619 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21620 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21621 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21622 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21623 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21624 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21625 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
21626 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21627 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
21628 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21629 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21630 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21631 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21632 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21633 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21634 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21635 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
21636 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21637 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21638 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21639 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21640 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21641 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21642 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21643 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21644 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21645 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21646 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21647 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21648 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21649 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21650 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21651 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21652 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21653 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21654 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21655 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21656 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21657 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21658 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21659 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21660 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21661 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21662 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21663 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21664 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21665 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21666 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21667 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21668 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21669 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21670 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21671 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21672 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21673 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21674 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21675 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21676 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21677 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21678 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21679 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21680 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21681 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21682 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21683 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21684 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21685 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21686 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21687 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21688 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21689 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21690 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21691 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21692 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21693 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21694 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21695 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21696 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21697 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21698 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21699 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21700 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21701 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21702 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21703 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21704 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21705 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21706 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21707 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21708 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21709 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21710 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21711 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21712 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21713 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21714 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21715 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21716 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21717 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21718 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21719 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21720 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21721 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21722 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21723 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21724 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21725 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21726 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21727 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21728 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21729 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21730 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21731 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21732 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21733 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21734 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21735 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21736 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21737 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21738 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21739 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21740 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21741 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21742 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21743 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21744 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21745 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21746 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21747 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21748 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
) _wrap_DC_ComputeScaleAndOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21749 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21750 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21751 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21752 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21753 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21754 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21755 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21756 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21757 { (char *)"DC_GetHDC", (PyCFunction
) _wrap_DC_GetHDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21758 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21759 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21760 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21761 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21762 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21763 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21764 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
21765 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21766 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21767 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21768 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
21769 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
21770 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21771 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21772 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
21773 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21774 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
21775 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21776 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21777 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21778 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21779 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
21780 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21781 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
21782 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21783 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
21784 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21785 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
21786 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21787 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
21788 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21789 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21790 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21791 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21792 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21793 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
21794 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21795 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21796 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21797 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21798 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21799 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21800 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21801 { (char *)"MetaFile_GetFileName", (PyCFunction
) _wrap_MetaFile_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21802 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
21803 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21804 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21805 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
21806 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21807 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
21808 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21809 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21810 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21811 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21812 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21813 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21814 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21815 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21816 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21817 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21818 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21819 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
21820 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21821 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21822 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21823 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21824 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
21825 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21826 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21827 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21828 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21829 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
21830 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21831 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21832 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21833 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21834 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21835 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21836 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
21837 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21838 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21839 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21840 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21841 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
21842 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21843 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21844 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21845 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21846 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21847 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21848 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21849 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21850 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21851 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21852 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21853 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21854 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21855 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21856 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
21857 { NULL
, NULL
, 0, NULL
}
21861 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21863 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
21864 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
21866 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
21867 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
21869 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
21870 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
21872 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
21873 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
21875 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
21876 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
21878 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
21879 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
21881 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
21882 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
21884 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
21885 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
21887 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
21888 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
21890 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
21891 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
21893 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
21894 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
21896 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
21897 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
21899 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
21900 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
21902 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
21903 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
21905 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
21906 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
21908 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
21909 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
21911 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
21912 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
21914 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
21915 return (void *)((wxDC
*) ((wxClientDC
*) x
));
21917 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
21918 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
21920 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
21921 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
21923 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
21924 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
21926 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
21927 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
21929 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
21930 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
21932 static void *_p_wxPenTo_p_wxObject(void *x
) {
21933 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
21935 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
21936 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
21938 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
21939 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
21941 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
21942 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
21944 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
21945 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
21947 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
21948 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
21950 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
21951 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
21953 static void *_p_wxIconTo_p_wxObject(void *x
) {
21954 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
21956 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
21957 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
21959 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
21960 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
21962 static void *_p_wxSizerTo_p_wxObject(void *x
) {
21963 return (void *)((wxObject
*) ((wxSizer
*) x
));
21965 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
21966 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
21968 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
21969 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21971 static void *_p_wxPenListTo_p_wxObject(void *x
) {
21972 return (void *)((wxObject
*) ((wxPenList
*) x
));
21974 static void *_p_wxEventTo_p_wxObject(void *x
) {
21975 return (void *)((wxObject
*) ((wxEvent
*) x
));
21977 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
21978 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
21980 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
21981 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
21983 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
21984 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
21986 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
21987 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
21989 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
21990 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
21992 static void *_p_wxDCTo_p_wxObject(void *x
) {
21993 return (void *)((wxObject
*) ((wxDC
*) x
));
21995 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
21996 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21998 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
21999 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
22001 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
22002 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
22004 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
22005 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
22007 static void *_p_wxControlTo_p_wxObject(void *x
) {
22008 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
22010 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
22011 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
22013 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
22014 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
22016 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
22017 return (void *)((wxObject
*) ((wxFSFile
*) x
));
22019 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
22020 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
22022 static void *_p_wxRegionTo_p_wxObject(void *x
) {
22023 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
22025 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
22026 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
22028 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
22029 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
22031 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
22032 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
22034 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
22035 return (void *)((wxObject
*) ((wxEffects
*) x
));
22037 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
22038 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
22040 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
22041 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
22043 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
22044 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
22046 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
22047 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
22049 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
22050 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
22052 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
22053 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
22055 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
22056 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
22058 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
22059 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
22061 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
22062 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
22064 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
22065 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
22067 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
22068 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
22070 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
22071 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
22073 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
22074 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
22076 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
22077 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
22079 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
22080 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
22082 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
22083 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
22085 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
22086 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
22088 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
22089 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
22091 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
22092 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
22094 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
22095 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
22097 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
22098 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
22100 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
22101 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
22103 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
22104 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
22106 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
22107 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
22109 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
22110 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
22112 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
22113 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
22115 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
22116 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
22118 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
22119 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
22121 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
22122 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
22124 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
22125 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
22127 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
22128 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
22130 static void *_p_wxImageTo_p_wxObject(void *x
) {
22131 return (void *)((wxObject
*) ((wxImage
*) x
));
22133 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
22134 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
22136 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
22137 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
22139 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
22140 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
22142 static void *_p_wxImageListTo_p_wxObject(void *x
) {
22143 return (void *)((wxObject
*) ((wxImageList
*) x
));
22145 static void *_p_wxCursorTo_p_wxObject(void *x
) {
22146 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
22148 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
22149 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
22151 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
22152 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
22154 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
22155 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
22157 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
22158 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
22160 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
22161 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
22163 static void *_p_wxWindowTo_p_wxObject(void *x
) {
22164 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
22166 static void *_p_wxMenuTo_p_wxObject(void *x
) {
22167 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
22169 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
22170 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
22172 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
22173 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
22175 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
22176 return (void *)((wxObject
*) ((wxBrushList
*) x
));
22178 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
22179 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
22181 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
22182 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
22184 static void *_p_wxMaskTo_p_wxObject(void *x
) {
22185 return (void *)((wxObject
*) ((wxMask
*) x
));
22187 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
22188 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
22190 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
22191 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
22193 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
22194 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
22196 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
22197 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
22199 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
22200 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
22202 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
22203 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
22205 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
22206 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
22208 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
22209 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
22211 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
22212 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
22214 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
22215 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
22217 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
22218 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
22220 static void *_p_wxFontTo_p_wxObject(void *x
) {
22221 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
22223 static void *_p_wxBrushTo_p_wxObject(void *x
) {
22224 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
22226 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
22227 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
22229 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
22230 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
22232 static void *_p_wxColourTo_p_wxObject(void *x
) {
22233 return (void *)((wxObject
*) ((wxColour
*) x
));
22235 static void *_p_wxFontListTo_p_wxObject(void *x
) {
22236 return (void *)((wxObject
*) ((wxFontList
*) x
));
22238 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
22239 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
22241 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
22242 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
22244 static void *_p_wxControlTo_p_wxWindow(void *x
) {
22245 return (void *)((wxWindow
*) ((wxControl
*) x
));
22247 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
22248 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
22250 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
22251 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
22253 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}};
22254 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}};
22255 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}};
22256 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}};
22257 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}};
22258 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}};
22259 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}};
22260 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}};
22261 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}};
22262 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}};
22263 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}};
22264 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}};
22265 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}};
22266 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}};
22267 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}};
22268 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}};
22269 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}};
22270 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}};
22271 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}};
22272 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}};
22273 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}};
22274 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}};
22275 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}};
22276 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_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_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_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_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}};
22277 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}};
22278 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}};
22279 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}};
22280 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}};
22281 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}};
22282 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}};
22283 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}};
22284 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}};
22285 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}};
22286 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}};
22287 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}};
22288 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}};
22289 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}};
22290 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}};
22291 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}};
22292 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}};
22293 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}};
22294 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}};
22295 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}};
22296 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}};
22297 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}};
22298 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}};
22299 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}};
22300 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}};
22301 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}};
22302 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}};
22303 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}};
22304 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}};
22305 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}};
22306 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}};
22307 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}};
22308 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}};
22309 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}};
22310 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}};
22311 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}};
22312 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}};
22313 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}};
22314 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}};
22316 static swig_type_info
*swig_types_initial
[] = {
22317 _swigt__p_wxPostScriptDC
,
22319 _swigt__p_wxColour
,
22321 _swigt__p_wxMirrorDC
,
22322 _swigt__p_form_ops_t
,
22323 _swigt__p_wxDuplexMode
,
22324 _swigt__p_wxPyFontEnumerator
,
22326 _swigt__p_wxIconLocation
,
22328 _swigt__p_wxMetaFileDC
,
22332 _swigt__p_wxWindow
,
22334 _swigt__p_wxMemoryDC
,
22335 _swigt__p_wxFontMapper
,
22336 _swigt__p_wxEffects
,
22337 _swigt__p_wxNativeEncodingInfo
,
22338 _swigt__p_wxPalette
,
22339 _swigt__p_wxBitmap
,
22340 _swigt__p_wxObject
,
22341 _swigt__p_wxRegionIterator
,
22343 _swigt__p_wxPaperSize
,
22344 _swigt__p_wxString
,
22345 _swigt__unsigned_int
,
22346 _swigt__p_unsigned_int
,
22347 _swigt__p_wxPrinterDC
,
22348 _swigt__p_wxIconBundle
,
22351 _swigt__p_wxScreenDC
,
22352 _swigt__p_wxCursor
,
22353 _swigt__p_wxClientDC
,
22354 _swigt__p_wxBufferedDC
,
22355 _swigt__p_wxImageList
,
22356 _swigt__p_unsigned_char
,
22357 _swigt__p_wxGDIObject
,
22359 _swigt__p_wxLocale
,
22361 _swigt__std__ptrdiff_t
,
22362 _swigt__p_wxRegion
,
22363 _swigt__p_wxConfigBase
,
22364 _swigt__p_wxLanguageInfo
,
22365 _swigt__p_wxWindowDC
,
22366 _swigt__p_wxPrintData
,
22367 _swigt__p_wxBrushList
,
22368 _swigt__p_wxFontList
,
22370 _swigt__p_wxBufferedPaintDC
,
22371 _swigt__p_wxPaintDC
,
22372 _swigt__p_wxPenList
,
22374 _swigt__p_wxMetaFile
,
22375 _swigt__p_unsigned_long
,
22376 _swigt__p_wxNativeFontInfo
,
22377 _swigt__p_wxEncodingConverter
,
22378 _swigt__p_wxColourDatabase
,
22383 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22385 static swig_const_info swig_const_table
[] = {
22386 {0, 0, 0, 0.0, 0, 0}};
22397 /* Python-specific SWIG API */
22398 #define SWIG_newvarlink() SWIG_Python_newvarlink()
22399 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
22400 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
22402 /* -----------------------------------------------------------------------------
22403 * global variable support code.
22404 * ----------------------------------------------------------------------------- */
22406 typedef struct swig_globalvar
{
22407 char *name
; /* Name of global variable */
22408 PyObject
*(*get_attr
)(); /* Return the current value */
22409 int (*set_attr
)(PyObject
*); /* Set the value */
22410 struct swig_globalvar
*next
;
22413 typedef struct swig_varlinkobject
{
22415 swig_globalvar
*vars
;
22416 } swig_varlinkobject
;
22419 swig_varlink_repr(swig_varlinkobject
*v
) {
22421 return PyString_FromString("<Swig global variables>");
22425 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
22426 swig_globalvar
*var
;
22428 fprintf(fp
,"Swig global variables { ");
22429 for (var
= v
->vars
; var
; var
=var
->next
) {
22430 fprintf(fp
,"%s", var
->name
);
22431 if (var
->next
) fprintf(fp
,", ");
22433 fprintf(fp
," }\n");
22438 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
22439 swig_globalvar
*var
= v
->vars
;
22441 if (strcmp(var
->name
,n
) == 0) {
22442 return (*var
->get_attr
)();
22446 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
22451 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
22452 swig_globalvar
*var
= v
->vars
;
22454 if (strcmp(var
->name
,n
) == 0) {
22455 return (*var
->set_attr
)(p
);
22459 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
22463 static PyTypeObject varlinktype
= {
22464 PyObject_HEAD_INIT(0)
22465 0, /* Number of items in variable part (ob_size) */
22466 (char *)"swigvarlink", /* Type name (tp_name) */
22467 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
22468 0, /* Itemsize (tp_itemsize) */
22469 0, /* Deallocator (tp_dealloc) */
22470 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
22471 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
22472 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
22473 0, /* tp_compare */
22474 (reprfunc
) swig_varlink_repr
, /* tp_repr */
22475 0, /* tp_as_number */
22476 0, /* tp_as_sequence */
22477 0, /* tp_as_mapping */
22481 0, /* tp_getattro */
22482 0, /* tp_setattro */
22483 0, /* tp_as_buffer */
22486 #if PY_VERSION_HEX >= 0x02000000
22487 0, /* tp_traverse */
22490 #if PY_VERSION_HEX >= 0x02010000
22491 0, /* tp_richcompare */
22492 0, /* tp_weaklistoffset */
22494 #if PY_VERSION_HEX >= 0x02020000
22495 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
22497 #if PY_VERSION_HEX >= 0x02030000
22500 #ifdef COUNT_ALLOCS
22501 0,0,0,0 /* tp_alloc -> tp_next */
22505 /* Create a variable linking object for use later */
22507 SWIG_Python_newvarlink(void) {
22508 swig_varlinkobject
*result
= 0;
22509 result
= PyMem_NEW(swig_varlinkobject
,1);
22510 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
22511 result
->ob_type
= &varlinktype
;
22513 result
->ob_refcnt
= 0;
22514 Py_XINCREF((PyObject
*) result
);
22515 return ((PyObject
*) result
);
22519 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
22520 swig_varlinkobject
*v
;
22521 swig_globalvar
*gv
;
22522 v
= (swig_varlinkobject
*) p
;
22523 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
22524 gv
->name
= (char *) malloc(strlen(name
)+1);
22525 strcpy(gv
->name
,name
);
22526 gv
->get_attr
= get_attr
;
22527 gv
->set_attr
= set_attr
;
22528 gv
->next
= v
->vars
;
22532 /* -----------------------------------------------------------------------------
22533 * constants/methods manipulation
22534 * ----------------------------------------------------------------------------- */
22536 /* Install Constants */
22538 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
22541 for (i
= 0; constants
[i
].type
; i
++) {
22542 switch(constants
[i
].type
) {
22544 obj
= PyInt_FromLong(constants
[i
].lvalue
);
22546 case SWIG_PY_FLOAT
:
22547 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
22549 case SWIG_PY_STRING
:
22550 if (constants
[i
].pvalue
) {
22551 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
22553 Py_INCREF(Py_None
);
22557 case SWIG_PY_POINTER
:
22558 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
22560 case SWIG_PY_BINARY
:
22561 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
22568 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
22574 /* -----------------------------------------------------------------------------*/
22575 /* Fix SwigMethods to carry the callback ptrs when needed */
22576 /* -----------------------------------------------------------------------------*/
22579 SWIG_Python_FixMethods(PyMethodDef
*methods
,
22580 swig_const_info
*const_table
,
22581 swig_type_info
**types
,
22582 swig_type_info
**types_initial
) {
22584 for (i
= 0; methods
[i
].ml_name
; ++i
) {
22585 char *c
= methods
[i
].ml_doc
;
22586 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
22588 swig_const_info
*ci
= 0;
22589 char *name
= c
+ 10;
22590 for (j
= 0; const_table
[j
].type
; j
++) {
22591 if (strncmp(const_table
[j
].name
, name
,
22592 strlen(const_table
[j
].name
)) == 0) {
22593 ci
= &(const_table
[j
]);
22598 size_t shift
= (ci
->ptype
) - types
;
22599 swig_type_info
*ty
= types_initial
[shift
];
22600 size_t ldoc
= (c
- methods
[i
].ml_doc
);
22601 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
22602 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
22604 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
22605 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
22607 strncpy(buff
, "swig_ptr: ", 10);
22609 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
22610 methods
[i
].ml_doc
= ndoc
;
22616 /* -----------------------------------------------------------------------------*
22617 * Initialize type list
22618 * -----------------------------------------------------------------------------*/
22620 #if PY_MAJOR_VERSION < 2
22621 /* PyModule_AddObject function was introduced in Python 2.0. The following function
22622 is copied out of Python/modsupport.c in python version 2.3.4 */
22624 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
22627 if (!PyModule_Check(m
)) {
22628 PyErr_SetString(PyExc_TypeError
,
22629 "PyModule_AddObject() needs module as first arg");
22633 PyErr_SetString(PyExc_TypeError
,
22634 "PyModule_AddObject() needs non-NULL value");
22638 dict
= PyModule_GetDict(m
);
22639 if (dict
== NULL
) {
22640 /* Internal error -- modules must have a dict! */
22641 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
22642 PyModule_GetName(m
));
22645 if (PyDict_SetItemString(dict
, name
, o
))
22652 static swig_type_info
**
22653 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
22654 static PyMethodDef swig_empty_runtime_method_table
[] = {
22656 NULL
, NULL
, 0, NULL
22660 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
22661 swig_empty_runtime_method_table
);
22662 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
22663 if (pointer
&& module) {
22664 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
22666 return type_list_handle
;
22669 static swig_type_info
**
22670 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
22671 swig_type_info
**type_pointer
;
22673 /* first check if module already created */
22674 type_pointer
= SWIG_Python_GetTypeListHandle();
22675 if (type_pointer
) {
22676 return type_pointer
;
22678 /* create a new module and variable */
22679 return SWIG_Python_SetTypeListHandle(type_list_handle
);
22687 /* -----------------------------------------------------------------------------*
22688 * Partial Init method
22689 * -----------------------------------------------------------------------------*/
22691 #ifdef SWIG_LINK_RUNTIME
22695 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
22701 SWIGEXPORT(void) SWIG_init(void) {
22702 static PyObject
*SWIG_globals
= 0;
22703 static int typeinit
= 0;
22706 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
22708 /* Fix SwigMethods to carry the callback ptrs when needed */
22709 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
22711 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
22712 d
= PyModule_GetDict(m
);
22715 #ifdef SWIG_LINK_RUNTIME
22716 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
22718 # ifndef SWIG_STATIC_RUNTIME
22719 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
22722 for (i
= 0; swig_types_initial
[i
]; i
++) {
22723 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
22727 SWIG_InstallConstants(d
,swig_const_table
);
22730 PyDict_SetItemString(d
,"OutRegion", SWIG_From_int((int)(wxOutRegion
)));
22733 PyDict_SetItemString(d
,"PartRegion", SWIG_From_int((int)(wxPartRegion
)));
22736 PyDict_SetItemString(d
,"InRegion", SWIG_From_int((int)(wxInRegion
)));
22739 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_From_int((int)(wxFONTFAMILY_DEFAULT
)));
22742 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_From_int((int)(wxFONTFAMILY_DECORATIVE
)));
22745 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_From_int((int)(wxFONTFAMILY_ROMAN
)));
22748 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_From_int((int)(wxFONTFAMILY_SCRIPT
)));
22751 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_From_int((int)(wxFONTFAMILY_SWISS
)));
22754 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_From_int((int)(wxFONTFAMILY_MODERN
)));
22757 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_From_int((int)(wxFONTFAMILY_TELETYPE
)));
22760 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_From_int((int)(wxFONTFAMILY_MAX
)));
22763 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_From_int((int)(wxFONTFAMILY_UNKNOWN
)));
22766 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_From_int((int)(wxFONTSTYLE_NORMAL
)));
22769 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_From_int((int)(wxFONTSTYLE_ITALIC
)));
22772 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_From_int((int)(wxFONTSTYLE_SLANT
)));
22775 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_From_int((int)(wxFONTSTYLE_MAX
)));
22778 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_From_int((int)(wxFONTWEIGHT_NORMAL
)));
22781 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_From_int((int)(wxFONTWEIGHT_LIGHT
)));
22784 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_From_int((int)(wxFONTWEIGHT_BOLD
)));
22787 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_From_int((int)(wxFONTWEIGHT_MAX
)));
22790 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_From_int((int)(wxFONTFLAG_DEFAULT
)));
22793 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_From_int((int)(wxFONTFLAG_ITALIC
)));
22796 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_From_int((int)(wxFONTFLAG_SLANT
)));
22799 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_From_int((int)(wxFONTFLAG_LIGHT
)));
22802 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_From_int((int)(wxFONTFLAG_BOLD
)));
22805 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_From_int((int)(wxFONTFLAG_ANTIALIASED
)));
22808 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int((int)(wxFONTFLAG_NOT_ANTIALIASED
)));
22811 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_From_int((int)(wxFONTFLAG_UNDERLINED
)));
22814 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_From_int((int)(wxFONTFLAG_STRIKETHROUGH
)));
22817 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_From_int((int)(wxFONTFLAG_MASK
)));
22820 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_From_int((int)(wxFONTENCODING_SYSTEM
)));
22823 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_From_int((int)(wxFONTENCODING_DEFAULT
)));
22826 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_From_int((int)(wxFONTENCODING_ISO8859_1
)));
22829 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_From_int((int)(wxFONTENCODING_ISO8859_2
)));
22832 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_From_int((int)(wxFONTENCODING_ISO8859_3
)));
22835 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_From_int((int)(wxFONTENCODING_ISO8859_4
)));
22838 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_From_int((int)(wxFONTENCODING_ISO8859_5
)));
22841 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_From_int((int)(wxFONTENCODING_ISO8859_6
)));
22844 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_From_int((int)(wxFONTENCODING_ISO8859_7
)));
22847 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_From_int((int)(wxFONTENCODING_ISO8859_8
)));
22850 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_From_int((int)(wxFONTENCODING_ISO8859_9
)));
22853 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_From_int((int)(wxFONTENCODING_ISO8859_10
)));
22856 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_From_int((int)(wxFONTENCODING_ISO8859_11
)));
22859 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_From_int((int)(wxFONTENCODING_ISO8859_12
)));
22862 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_From_int((int)(wxFONTENCODING_ISO8859_13
)));
22865 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_From_int((int)(wxFONTENCODING_ISO8859_14
)));
22868 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_From_int((int)(wxFONTENCODING_ISO8859_15
)));
22871 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_From_int((int)(wxFONTENCODING_ISO8859_MAX
)));
22874 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_From_int((int)(wxFONTENCODING_KOI8
)));
22877 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_From_int((int)(wxFONTENCODING_KOI8_U
)));
22880 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_From_int((int)(wxFONTENCODING_ALTERNATIVE
)));
22883 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_From_int((int)(wxFONTENCODING_BULGARIAN
)));
22886 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_From_int((int)(wxFONTENCODING_CP437
)));
22889 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_From_int((int)(wxFONTENCODING_CP850
)));
22892 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_From_int((int)(wxFONTENCODING_CP852
)));
22895 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_From_int((int)(wxFONTENCODING_CP855
)));
22898 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_From_int((int)(wxFONTENCODING_CP866
)));
22901 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_From_int((int)(wxFONTENCODING_CP874
)));
22904 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_From_int((int)(wxFONTENCODING_CP932
)));
22907 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_From_int((int)(wxFONTENCODING_CP936
)));
22910 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_From_int((int)(wxFONTENCODING_CP949
)));
22913 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_From_int((int)(wxFONTENCODING_CP950
)));
22916 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_From_int((int)(wxFONTENCODING_CP1250
)));
22919 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_From_int((int)(wxFONTENCODING_CP1251
)));
22922 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_From_int((int)(wxFONTENCODING_CP1252
)));
22925 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_From_int((int)(wxFONTENCODING_CP1253
)));
22928 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_From_int((int)(wxFONTENCODING_CP1254
)));
22931 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_From_int((int)(wxFONTENCODING_CP1255
)));
22934 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_From_int((int)(wxFONTENCODING_CP1256
)));
22937 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_From_int((int)(wxFONTENCODING_CP1257
)));
22940 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_From_int((int)(wxFONTENCODING_CP12_MAX
)));
22943 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_From_int((int)(wxFONTENCODING_UTF7
)));
22946 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_From_int((int)(wxFONTENCODING_UTF8
)));
22949 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_From_int((int)(wxFONTENCODING_EUC_JP
)));
22952 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_From_int((int)(wxFONTENCODING_UTF16BE
)));
22955 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_From_int((int)(wxFONTENCODING_UTF16LE
)));
22958 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_From_int((int)(wxFONTENCODING_UTF32BE
)));
22961 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_From_int((int)(wxFONTENCODING_UTF32LE
)));
22964 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_From_int((int)(wxFONTENCODING_MACROMAN
)));
22967 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_From_int((int)(wxFONTENCODING_MACJAPANESE
)));
22970 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_From_int((int)(wxFONTENCODING_MACCHINESETRAD
)));
22973 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_From_int((int)(wxFONTENCODING_MACKOREAN
)));
22976 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_From_int((int)(wxFONTENCODING_MACARABIC
)));
22979 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_From_int((int)(wxFONTENCODING_MACHEBREW
)));
22982 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_From_int((int)(wxFONTENCODING_MACGREEK
)));
22985 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_From_int((int)(wxFONTENCODING_MACCYRILLIC
)));
22988 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_From_int((int)(wxFONTENCODING_MACDEVANAGARI
)));
22991 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_From_int((int)(wxFONTENCODING_MACGURMUKHI
)));
22994 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_From_int((int)(wxFONTENCODING_MACGUJARATI
)));
22997 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_From_int((int)(wxFONTENCODING_MACORIYA
)));
23000 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_From_int((int)(wxFONTENCODING_MACBENGALI
)));
23003 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_From_int((int)(wxFONTENCODING_MACTAMIL
)));
23006 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_From_int((int)(wxFONTENCODING_MACTELUGU
)));
23009 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_From_int((int)(wxFONTENCODING_MACKANNADA
)));
23012 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_From_int((int)(wxFONTENCODING_MACMALAJALAM
)));
23015 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_From_int((int)(wxFONTENCODING_MACSINHALESE
)));
23018 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_From_int((int)(wxFONTENCODING_MACBURMESE
)));
23021 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_From_int((int)(wxFONTENCODING_MACKHMER
)));
23024 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_From_int((int)(wxFONTENCODING_MACTHAI
)));
23027 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_From_int((int)(wxFONTENCODING_MACLAOTIAN
)));
23030 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_From_int((int)(wxFONTENCODING_MACGEORGIAN
)));
23033 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_From_int((int)(wxFONTENCODING_MACARMENIAN
)));
23036 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_From_int((int)(wxFONTENCODING_MACCHINESESIMP
)));
23039 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_From_int((int)(wxFONTENCODING_MACTIBETAN
)));
23042 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_From_int((int)(wxFONTENCODING_MACMONGOLIAN
)));
23045 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_From_int((int)(wxFONTENCODING_MACETHIOPIC
)));
23048 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_From_int((int)(wxFONTENCODING_MACCENTRALEUR
)));
23051 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_From_int((int)(wxFONTENCODING_MACVIATNAMESE
)));
23054 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_From_int((int)(wxFONTENCODING_MACARABICEXT
)));
23057 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_From_int((int)(wxFONTENCODING_MACSYMBOL
)));
23060 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_From_int((int)(wxFONTENCODING_MACDINGBATS
)));
23063 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_From_int((int)(wxFONTENCODING_MACTURKISH
)));
23066 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_From_int((int)(wxFONTENCODING_MACCROATIAN
)));
23069 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_From_int((int)(wxFONTENCODING_MACICELANDIC
)));
23072 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_From_int((int)(wxFONTENCODING_MACROMANIAN
)));
23075 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_From_int((int)(wxFONTENCODING_MACCELTIC
)));
23078 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_From_int((int)(wxFONTENCODING_MACGAELIC
)));
23081 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_From_int((int)(wxFONTENCODING_MACKEYBOARD
)));
23084 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_From_int((int)(wxFONTENCODING_MACMIN
)));
23087 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_From_int((int)(wxFONTENCODING_MACMAX
)));
23090 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_From_int((int)(wxFONTENCODING_MAX
)));
23093 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_From_int((int)(wxFONTENCODING_UTF16
)));
23096 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_From_int((int)(wxFONTENCODING_UTF32
)));
23099 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_From_int((int)(wxFONTENCODING_UNICODE
)));
23102 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_From_int((int)(wxFONTENCODING_GB2312
)));
23105 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_From_int((int)(wxFONTENCODING_BIG5
)));
23108 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_From_int((int)(wxFONTENCODING_SHIFT_JIS
)));
23111 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
23114 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_From_int((int)(wxLANGUAGE_DEFAULT
)));
23117 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_From_int((int)(wxLANGUAGE_UNKNOWN
)));
23120 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_From_int((int)(wxLANGUAGE_ABKHAZIAN
)));
23123 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_From_int((int)(wxLANGUAGE_AFAR
)));
23126 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_From_int((int)(wxLANGUAGE_AFRIKAANS
)));
23129 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_From_int((int)(wxLANGUAGE_ALBANIAN
)));
23132 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_From_int((int)(wxLANGUAGE_AMHARIC
)));
23135 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_From_int((int)(wxLANGUAGE_ARABIC
)));
23138 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_ALGERIA
)));
23141 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_BAHRAIN
)));
23144 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int((int)(wxLANGUAGE_ARABIC_EGYPT
)));
23147 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int((int)(wxLANGUAGE_ARABIC_IRAQ
)));
23150 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_JORDAN
)));
23153 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int((int)(wxLANGUAGE_ARABIC_KUWAIT
)));
23156 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int((int)(wxLANGUAGE_ARABIC_LEBANON
)));
23159 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_LIBYA
)));
23162 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int((int)(wxLANGUAGE_ARABIC_MOROCCO
)));
23165 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_OMAN
)));
23168 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_From_int((int)(wxLANGUAGE_ARABIC_QATAR
)));
23171 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
23174 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SUDAN
)));
23177 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SYRIA
)));
23180 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_TUNISIA
)));
23183 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_From_int((int)(wxLANGUAGE_ARABIC_UAE
)));
23186 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_YEMEN
)));
23189 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_From_int((int)(wxLANGUAGE_ARMENIAN
)));
23192 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_From_int((int)(wxLANGUAGE_ASSAMESE
)));
23195 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_From_int((int)(wxLANGUAGE_AYMARA
)));
23198 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_From_int((int)(wxLANGUAGE_AZERI
)));
23201 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_AZERI_CYRILLIC
)));
23204 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_From_int((int)(wxLANGUAGE_AZERI_LATIN
)));
23207 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_From_int((int)(wxLANGUAGE_BASHKIR
)));
23210 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_From_int((int)(wxLANGUAGE_BASQUE
)));
23213 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_From_int((int)(wxLANGUAGE_BELARUSIAN
)));
23216 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_From_int((int)(wxLANGUAGE_BENGALI
)));
23219 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_From_int((int)(wxLANGUAGE_BHUTANI
)));
23222 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_From_int((int)(wxLANGUAGE_BIHARI
)));
23225 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_From_int((int)(wxLANGUAGE_BISLAMA
)));
23228 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_From_int((int)(wxLANGUAGE_BRETON
)));
23231 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_From_int((int)(wxLANGUAGE_BULGARIAN
)));
23234 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_From_int((int)(wxLANGUAGE_BURMESE
)));
23237 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_From_int((int)(wxLANGUAGE_CAMBODIAN
)));
23240 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_From_int((int)(wxLANGUAGE_CATALAN
)));
23243 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_From_int((int)(wxLANGUAGE_CHINESE
)));
23246 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int((int)(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
23249 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int((int)(wxLANGUAGE_CHINESE_TRADITIONAL
)));
23252 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int((int)(wxLANGUAGE_CHINESE_HONGKONG
)));
23255 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_From_int((int)(wxLANGUAGE_CHINESE_MACAU
)));
23258 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int((int)(wxLANGUAGE_CHINESE_SINGAPORE
)));
23261 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int((int)(wxLANGUAGE_CHINESE_TAIWAN
)));
23264 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_From_int((int)(wxLANGUAGE_CORSICAN
)));
23267 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_From_int((int)(wxLANGUAGE_CROATIAN
)));
23270 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_From_int((int)(wxLANGUAGE_CZECH
)));
23273 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_From_int((int)(wxLANGUAGE_DANISH
)));
23276 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_From_int((int)(wxLANGUAGE_DUTCH
)));
23279 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int((int)(wxLANGUAGE_DUTCH_BELGIAN
)));
23282 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_From_int((int)(wxLANGUAGE_ENGLISH
)));
23285 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_UK
)));
23288 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_US
)));
23291 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
23294 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_BELIZE
)));
23297 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_BOTSWANA
)));
23300 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_CANADA
)));
23303 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
23306 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_DENMARK
)));
23309 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_EIRE
)));
23312 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_JAMAICA
)));
23315 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
23318 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
23321 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
23324 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_TRINIDAD
)));
23327 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
23330 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_From_int((int)(wxLANGUAGE_ESPERANTO
)));
23333 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_From_int((int)(wxLANGUAGE_ESTONIAN
)));
23336 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_From_int((int)(wxLANGUAGE_FAEROESE
)));
23339 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_From_int((int)(wxLANGUAGE_FARSI
)));
23342 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_From_int((int)(wxLANGUAGE_FIJI
)));
23345 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_From_int((int)(wxLANGUAGE_FINNISH
)));
23348 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_From_int((int)(wxLANGUAGE_FRENCH
)));
23351 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int((int)(wxLANGUAGE_FRENCH_BELGIAN
)));
23354 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int((int)(wxLANGUAGE_FRENCH_CANADIAN
)));
23357 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int((int)(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
23360 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_From_int((int)(wxLANGUAGE_FRENCH_MONACO
)));
23363 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_From_int((int)(wxLANGUAGE_FRENCH_SWISS
)));
23366 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_From_int((int)(wxLANGUAGE_FRISIAN
)));
23369 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_From_int((int)(wxLANGUAGE_GALICIAN
)));
23372 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_From_int((int)(wxLANGUAGE_GEORGIAN
)));
23375 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_From_int((int)(wxLANGUAGE_GERMAN
)));
23378 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int((int)(wxLANGUAGE_GERMAN_AUSTRIAN
)));
23381 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int((int)(wxLANGUAGE_GERMAN_BELGIUM
)));
23384 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int((int)(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
23387 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int((int)(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
23390 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_From_int((int)(wxLANGUAGE_GERMAN_SWISS
)));
23393 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_From_int((int)(wxLANGUAGE_GREEK
)));
23396 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_From_int((int)(wxLANGUAGE_GREENLANDIC
)));
23399 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_From_int((int)(wxLANGUAGE_GUARANI
)));
23402 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_From_int((int)(wxLANGUAGE_GUJARATI
)));
23405 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_From_int((int)(wxLANGUAGE_HAUSA
)));
23408 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_From_int((int)(wxLANGUAGE_HEBREW
)));
23411 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_From_int((int)(wxLANGUAGE_HINDI
)));
23414 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_From_int((int)(wxLANGUAGE_HUNGARIAN
)));
23417 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_From_int((int)(wxLANGUAGE_ICELANDIC
)));
23420 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_From_int((int)(wxLANGUAGE_INDONESIAN
)));
23423 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_From_int((int)(wxLANGUAGE_INTERLINGUA
)));
23426 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_From_int((int)(wxLANGUAGE_INTERLINGUE
)));
23429 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_From_int((int)(wxLANGUAGE_INUKTITUT
)));
23432 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_From_int((int)(wxLANGUAGE_INUPIAK
)));
23435 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_From_int((int)(wxLANGUAGE_IRISH
)));
23438 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_From_int((int)(wxLANGUAGE_ITALIAN
)));
23441 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int((int)(wxLANGUAGE_ITALIAN_SWISS
)));
23444 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_From_int((int)(wxLANGUAGE_JAPANESE
)));
23447 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_From_int((int)(wxLANGUAGE_JAVANESE
)));
23450 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_From_int((int)(wxLANGUAGE_KANNADA
)));
23453 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_From_int((int)(wxLANGUAGE_KASHMIRI
)));
23456 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int((int)(wxLANGUAGE_KASHMIRI_INDIA
)));
23459 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_From_int((int)(wxLANGUAGE_KAZAKH
)));
23462 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_From_int((int)(wxLANGUAGE_KERNEWEK
)));
23465 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_From_int((int)(wxLANGUAGE_KINYARWANDA
)));
23468 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_From_int((int)(wxLANGUAGE_KIRGHIZ
)));
23471 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_From_int((int)(wxLANGUAGE_KIRUNDI
)));
23474 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_From_int((int)(wxLANGUAGE_KONKANI
)));
23477 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_From_int((int)(wxLANGUAGE_KOREAN
)));
23480 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_From_int((int)(wxLANGUAGE_KURDISH
)));
23483 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_From_int((int)(wxLANGUAGE_LAOTHIAN
)));
23486 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_From_int((int)(wxLANGUAGE_LATIN
)));
23489 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_From_int((int)(wxLANGUAGE_LATVIAN
)));
23492 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_From_int((int)(wxLANGUAGE_LINGALA
)));
23495 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_From_int((int)(wxLANGUAGE_LITHUANIAN
)));
23498 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_From_int((int)(wxLANGUAGE_MACEDONIAN
)));
23501 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_From_int((int)(wxLANGUAGE_MALAGASY
)));
23504 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_From_int((int)(wxLANGUAGE_MALAY
)));
23507 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_From_int((int)(wxLANGUAGE_MALAYALAM
)));
23510 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int((int)(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
23513 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int((int)(wxLANGUAGE_MALAY_MALAYSIA
)));
23516 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_From_int((int)(wxLANGUAGE_MALTESE
)));
23519 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_From_int((int)(wxLANGUAGE_MANIPURI
)));
23522 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_From_int((int)(wxLANGUAGE_MAORI
)));
23525 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_From_int((int)(wxLANGUAGE_MARATHI
)));
23528 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_From_int((int)(wxLANGUAGE_MOLDAVIAN
)));
23531 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_From_int((int)(wxLANGUAGE_MONGOLIAN
)));
23534 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_From_int((int)(wxLANGUAGE_NAURU
)));
23537 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_From_int((int)(wxLANGUAGE_NEPALI
)));
23540 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_From_int((int)(wxLANGUAGE_NEPALI_INDIA
)));
23543 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int((int)(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
23546 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int((int)(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
23549 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_From_int((int)(wxLANGUAGE_OCCITAN
)));
23552 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_From_int((int)(wxLANGUAGE_ORIYA
)));
23555 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_From_int((int)(wxLANGUAGE_OROMO
)));
23558 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_From_int((int)(wxLANGUAGE_PASHTO
)));
23561 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_From_int((int)(wxLANGUAGE_POLISH
)));
23564 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_From_int((int)(wxLANGUAGE_PORTUGUESE
)));
23567 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int((int)(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
23570 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_From_int((int)(wxLANGUAGE_PUNJABI
)));
23573 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_From_int((int)(wxLANGUAGE_QUECHUA
)));
23576 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int((int)(wxLANGUAGE_RHAETO_ROMANCE
)));
23579 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_From_int((int)(wxLANGUAGE_ROMANIAN
)));
23582 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_From_int((int)(wxLANGUAGE_RUSSIAN
)));
23585 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int((int)(wxLANGUAGE_RUSSIAN_UKRAINE
)));
23588 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_From_int((int)(wxLANGUAGE_SAMOAN
)));
23591 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_From_int((int)(wxLANGUAGE_SANGHO
)));
23594 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_From_int((int)(wxLANGUAGE_SANSKRIT
)));
23597 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int((int)(wxLANGUAGE_SCOTS_GAELIC
)));
23600 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_From_int((int)(wxLANGUAGE_SERBIAN
)));
23603 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_SERBIAN_CYRILLIC
)));
23606 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int((int)(wxLANGUAGE_SERBIAN_LATIN
)));
23609 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int((int)(wxLANGUAGE_SERBO_CROATIAN
)));
23612 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_From_int((int)(wxLANGUAGE_SESOTHO
)));
23615 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_From_int((int)(wxLANGUAGE_SETSWANA
)));
23618 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_From_int((int)(wxLANGUAGE_SHONA
)));
23621 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_From_int((int)(wxLANGUAGE_SINDHI
)));
23624 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_From_int((int)(wxLANGUAGE_SINHALESE
)));
23627 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_From_int((int)(wxLANGUAGE_SISWATI
)));
23630 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_From_int((int)(wxLANGUAGE_SLOVAK
)));
23633 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_From_int((int)(wxLANGUAGE_SLOVENIAN
)));
23636 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_From_int((int)(wxLANGUAGE_SOMALI
)));
23639 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_From_int((int)(wxLANGUAGE_SPANISH
)));
23642 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_ARGENTINA
)));
23645 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_BOLIVIA
)));
23648 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_From_int((int)(wxLANGUAGE_SPANISH_CHILE
)));
23651 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_COLOMBIA
)));
23654 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_COSTA_RICA
)));
23657 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int((int)(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
23660 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int((int)(wxLANGUAGE_SPANISH_ECUADOR
)));
23663 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int((int)(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
23666 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_GUATEMALA
)));
23669 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int((int)(wxLANGUAGE_SPANISH_HONDURAS
)));
23672 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int((int)(wxLANGUAGE_SPANISH_MEXICAN
)));
23675 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_From_int((int)(wxLANGUAGE_SPANISH_MODERN
)));
23678 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_NICARAGUA
)));
23681 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PANAMA
)));
23684 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PARAGUAY
)));
23687 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PERU
)));
23690 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
23693 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int((int)(wxLANGUAGE_SPANISH_URUGUAY
)));
23696 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_From_int((int)(wxLANGUAGE_SPANISH_US
)));
23699 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_VENEZUELA
)));
23702 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_From_int((int)(wxLANGUAGE_SUNDANESE
)));
23705 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_From_int((int)(wxLANGUAGE_SWAHILI
)));
23708 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_From_int((int)(wxLANGUAGE_SWEDISH
)));
23711 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int((int)(wxLANGUAGE_SWEDISH_FINLAND
)));
23714 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_From_int((int)(wxLANGUAGE_TAGALOG
)));
23717 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_From_int((int)(wxLANGUAGE_TAJIK
)));
23720 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_From_int((int)(wxLANGUAGE_TAMIL
)));
23723 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_From_int((int)(wxLANGUAGE_TATAR
)));
23726 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_From_int((int)(wxLANGUAGE_TELUGU
)));
23729 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_From_int((int)(wxLANGUAGE_THAI
)));
23732 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_From_int((int)(wxLANGUAGE_TIBETAN
)));
23735 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_From_int((int)(wxLANGUAGE_TIGRINYA
)));
23738 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_From_int((int)(wxLANGUAGE_TONGA
)));
23741 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_From_int((int)(wxLANGUAGE_TSONGA
)));
23744 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_From_int((int)(wxLANGUAGE_TURKISH
)));
23747 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_From_int((int)(wxLANGUAGE_TURKMEN
)));
23750 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_From_int((int)(wxLANGUAGE_TWI
)));
23753 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_From_int((int)(wxLANGUAGE_UIGHUR
)));
23756 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_From_int((int)(wxLANGUAGE_UKRAINIAN
)));
23759 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_From_int((int)(wxLANGUAGE_URDU
)));
23762 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_From_int((int)(wxLANGUAGE_URDU_INDIA
)));
23765 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int((int)(wxLANGUAGE_URDU_PAKISTAN
)));
23768 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_From_int((int)(wxLANGUAGE_UZBEK
)));
23771 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_UZBEK_CYRILLIC
)));
23774 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_From_int((int)(wxLANGUAGE_UZBEK_LATIN
)));
23777 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_From_int((int)(wxLANGUAGE_VIETNAMESE
)));
23780 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_From_int((int)(wxLANGUAGE_VOLAPUK
)));
23783 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_From_int((int)(wxLANGUAGE_WELSH
)));
23786 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_From_int((int)(wxLANGUAGE_WOLOF
)));
23789 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_From_int((int)(wxLANGUAGE_XHOSA
)));
23792 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_From_int((int)(wxLANGUAGE_YIDDISH
)));
23795 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_From_int((int)(wxLANGUAGE_YORUBA
)));
23798 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_From_int((int)(wxLANGUAGE_ZHUANG
)));
23801 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_From_int((int)(wxLANGUAGE_ZULU
)));
23804 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_From_int((int)(wxLANGUAGE_USER_DEFINED
)));
23807 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_From_int((int)(wxLOCALE_CAT_NUMBER
)));
23810 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_From_int((int)(wxLOCALE_CAT_DATE
)));
23813 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_From_int((int)(wxLOCALE_CAT_MONEY
)));
23816 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_From_int((int)(wxLOCALE_CAT_MAX
)));
23819 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_From_int((int)(wxLOCALE_THOUSANDS_SEP
)));
23822 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_From_int((int)(wxLOCALE_DECIMAL_POINT
)));
23825 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_From_int((int)(wxLOCALE_LOAD_DEFAULT
)));
23828 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_From_int((int)(wxLOCALE_CONV_ENCODING
)));
23831 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_From_int((int)(wxCONVERT_STRICT
)));
23834 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_From_int((int)(wxCONVERT_SUBSTITUTE
)));
23837 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_From_int((int)(wxPLATFORM_CURRENT
)));
23840 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_From_int((int)(wxPLATFORM_UNIX
)));
23843 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_From_int((int)(wxPLATFORM_WINDOWS
)));
23846 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_From_int((int)(wxPLATFORM_OS2
)));
23849 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_From_int((int)(wxPLATFORM_MAC
)));
23852 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_From_int((int)(wxIMAGELIST_DRAW_NORMAL
)));
23855 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int((int)(wxIMAGELIST_DRAW_TRANSPARENT
)));
23858 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_From_int((int)(wxIMAGELIST_DRAW_SELECTED
)));
23861 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int((int)(wxIMAGELIST_DRAW_FOCUSED
)));
23864 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_From_int((int)(wxIMAGE_LIST_NORMAL
)));
23867 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_From_int((int)(wxIMAGE_LIST_SMALL
)));
23870 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_From_int((int)(wxIMAGE_LIST_STATE
)));
23872 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
23873 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
23874 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
23875 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
23876 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
23877 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
23878 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
23879 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
23880 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
23881 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
23882 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
23883 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
23884 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
23885 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
23886 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
23887 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
23888 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
23889 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
23890 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
23891 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
23892 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
23893 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
23894 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
23895 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
23896 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
23897 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
23898 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
23899 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
23900 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
23901 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
23902 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
23903 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
23904 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
23905 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
23906 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
23907 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
23908 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
23909 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
23910 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
23911 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
23912 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
23913 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
23914 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
23915 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
23916 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
23917 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
23918 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
23920 // Work around a chicken/egg problem in drawlist.cpp
23921 wxPyDrawList_SetAPIPtr();