1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxPostScriptDC swig_types[0]
1342 #define SWIGTYPE_p_wxBrush swig_types[1]
1343 #define SWIGTYPE_p_wxColour swig_types[2]
1344 #define SWIGTYPE_p_wxDC swig_types[3]
1345 #define SWIGTYPE_p_wxMirrorDC swig_types[4]
1346 #define SWIGTYPE_p_form_ops_t swig_types[5]
1347 #define SWIGTYPE_p_wxDuplexMode swig_types[6]
1348 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[7]
1349 #define SWIGTYPE_p_char swig_types[8]
1350 #define SWIGTYPE_p_wxIconLocation swig_types[9]
1351 #define SWIGTYPE_p_wxImage swig_types[10]
1352 #define SWIGTYPE_p_wxMetaFileDC swig_types[11]
1353 #define SWIGTYPE_p_wxMask swig_types[12]
1354 #define SWIGTYPE_p_wxSize swig_types[13]
1355 #define SWIGTYPE_p_wxFont swig_types[14]
1356 #define SWIGTYPE_p_wxWindow swig_types[15]
1357 #define SWIGTYPE_p_double swig_types[16]
1358 #define SWIGTYPE_p_wxMemoryDC swig_types[17]
1359 #define SWIGTYPE_p_wxFontMapper swig_types[18]
1360 #define SWIGTYPE_p_wxEffects swig_types[19]
1361 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[20]
1362 #define SWIGTYPE_p_wxPalette swig_types[21]
1363 #define SWIGTYPE_p_wxBitmap swig_types[22]
1364 #define SWIGTYPE_p_wxObject swig_types[23]
1365 #define SWIGTYPE_p_wxRegionIterator swig_types[24]
1366 #define SWIGTYPE_p_wxRect swig_types[25]
1367 #define SWIGTYPE_p_wxPaperSize swig_types[26]
1368 #define SWIGTYPE_p_wxString swig_types[27]
1369 #define SWIGTYPE_unsigned_int swig_types[28]
1370 #define SWIGTYPE_p_unsigned_int swig_types[29]
1371 #define SWIGTYPE_p_wxPrinterDC swig_types[30]
1372 #define SWIGTYPE_p_wxIconBundle swig_types[31]
1373 #define SWIGTYPE_p_wxPoint swig_types[32]
1374 #define SWIGTYPE_p_wxDash swig_types[33]
1375 #define SWIGTYPE_p_wxScreenDC swig_types[34]
1376 #define SWIGTYPE_p_wxCursor swig_types[35]
1377 #define SWIGTYPE_p_wxClientDC swig_types[36]
1378 #define SWIGTYPE_p_wxBufferedDC swig_types[37]
1379 #define SWIGTYPE_p_wxImageList swig_types[38]
1380 #define SWIGTYPE_p_unsigned_char swig_types[39]
1381 #define SWIGTYPE_p_wxGDIObject swig_types[40]
1382 #define SWIGTYPE_p_wxIcon swig_types[41]
1383 #define SWIGTYPE_p_wxLocale swig_types[42]
1384 #define SWIGTYPE_ptrdiff_t swig_types[43]
1385 #define SWIGTYPE_std__ptrdiff_t swig_types[44]
1386 #define SWIGTYPE_p_wxRegion swig_types[45]
1387 #define SWIGTYPE_p_wxConfigBase swig_types[46]
1388 #define SWIGTYPE_p_wxLanguageInfo swig_types[47]
1389 #define SWIGTYPE_p_wxWindowDC swig_types[48]
1390 #define SWIGTYPE_p_wxPrintData swig_types[49]
1391 #define SWIGTYPE_p_wxBrushList swig_types[50]
1392 #define SWIGTYPE_p_wxFontList swig_types[51]
1393 #define SWIGTYPE_p_wxPen swig_types[52]
1394 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[53]
1395 #define SWIGTYPE_p_wxPaintDC swig_types[54]
1396 #define SWIGTYPE_p_wxPenList swig_types[55]
1397 #define SWIGTYPE_p_int swig_types[56]
1398 #define SWIGTYPE_p_wxMetaFile swig_types[57]
1399 #define SWIGTYPE_p_unsigned_long swig_types[58]
1400 #define SWIGTYPE_p_wxNativeFontInfo swig_types[59]
1401 #define SWIGTYPE_p_wxEncodingConverter swig_types[60]
1402 #define SWIGTYPE_p_wxColourDatabase swig_types[61]
1403 static swig_type_info
*swig_types
[63];
1405 /* -------- TYPES TABLE (END) -------- */
1408 /*-----------------------------------------------
1409 @(target):= _gdi_.so
1410 ------------------------------------------------*/
1411 #define SWIG_init init_gdi_
1413 #define SWIG_name "_gdi_"
1415 #include "wx/wxPython/wxPython.h"
1416 #include "wx/wxPython/pyclasses.h"
1419 static const wxString
wxPyEmptyString(wxEmptyString
);
1425 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1428 if (value
< min_value
) {
1430 PyErr_Format(PyExc_OverflowError
,
1431 "value %ld is less than '%s' minimum %ld",
1432 value
, errmsg
, min_value
);
1435 } else if (value
> max_value
) {
1437 PyErr_Format(PyExc_OverflowError
,
1438 "value %ld is greater than '%s' maximum %ld",
1439 value
, errmsg
, max_value
);
1448 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1450 if (PyNumber_Check(obj
)) {
1451 if (val
) *val
= PyInt_AsLong(obj
);
1455 SWIG_type_error("number", obj
);
1461 #if INT_MAX != LONG_MAX
1463 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1465 const char* errmsg
= val
? "int" : (char*)0;
1467 if (SWIG_AsVal_long(obj
, &v
)) {
1468 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1469 if (val
) *val
= (int)(v
);
1478 SWIG_type_error(errmsg
, obj
);
1484 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1486 return SWIG_AsVal_long(obj
,(long*)val
);
1492 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1494 if (obj
== Py_True
) {
1495 if (val
) *val
= true;
1498 if (obj
== Py_False
) {
1499 if (val
) *val
= false;
1503 if (SWIG_AsVal_int(obj
, &res
)) {
1504 if (val
) *val
= res
? true : false;
1510 SWIG_type_error("bool", obj
);
1516 SWIGINTERNSHORT
bool
1517 SWIG_As_bool(PyObject
* obj
)
1520 if (!SWIG_AsVal_bool(obj
, &v
)) {
1522 this is needed to make valgrind/purify happier.
1524 memset((void*)&v
, 0, sizeof(bool));
1531 SWIG_Check_bool(PyObject
* obj
)
1533 return SWIG_AsVal_bool(obj
, (bool*)0);
1538 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1541 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1542 SWIG_type_error("unsigned number", obj
);
1545 *val
= (unsigned long)v
;
1551 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1552 unsigned long max_value
,
1555 if (value
> max_value
) {
1557 PyErr_Format(PyExc_OverflowError
,
1558 "value %lu is greater than '%s' minimum %lu",
1559 value
, errmsg
, max_value
);
1568 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
1570 const char* errmsg
= val
? "unsigned char" : (char*)0;
1572 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1573 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
1574 if (val
) *val
= (unsigned char)(v
);
1583 SWIG_type_error(errmsg
, obj
);
1589 SWIGINTERNSHORT
unsigned char
1590 SWIG_As_unsigned_SS_char(PyObject
* obj
)
1593 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
1595 this is needed to make valgrind/purify happier.
1597 memset((void*)&v
, 0, sizeof(unsigned char));
1604 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
1606 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
1610 SWIGINTERNSHORT
unsigned long
1611 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1614 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1616 this is needed to make valgrind/purify happier.
1618 memset((void*)&v
, 0, sizeof(unsigned long));
1625 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1627 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1631 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1632 #define SWIG_From_unsigned_SS_char PyInt_FromLong
1636 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1637 #define SWIG_From_long PyInt_FromLong
1640 static PyObject
*wxColour_Get(wxColour
*self
){
1641 PyObject
* rv
= PyTuple_New(3);
1647 green
= self
->Green();
1648 blue
= self
->Blue();
1650 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
1651 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
1652 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
1655 static unsigned long wxColour_GetRGB(wxColour
*self
){
1656 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
1659 SWIGINTERNSHORT PyObject
*
1660 SWIG_From_unsigned_SS_long(unsigned long value
)
1662 return (value
> LONG_MAX
) ?
1663 PyLong_FromUnsignedLong(value
)
1664 : PyInt_FromLong((long)(value
));
1669 SWIG_As_int(PyObject
* obj
)
1672 if (!SWIG_AsVal_int(obj
, &v
)) {
1674 this is needed to make valgrind/purify happier.
1676 memset((void*)&v
, 0, sizeof(int));
1683 SWIG_Check_int(PyObject
* obj
)
1685 return SWIG_AsVal_int(obj
, (int*)0);
1689 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1690 #define SWIG_From_int PyInt_FromLong
1694 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1700 } else if (target
== Py_None
) {
1704 if (!PyTuple_Check(target
)) {
1706 target
= PyTuple_New(1);
1707 PyTuple_SetItem(target
, 0, o2
);
1709 o3
= PyTuple_New(1);
1710 PyTuple_SetItem(o3
, 0, o
);
1713 target
= PySequence_Concat(o2
, o3
);
1721 static PyObject
*wxPen_GetDashes(wxPen
*self
){
1723 int count
= self
->GetDashes(&dashes
);
1724 bool blocked
= wxPyBeginBlockThreads();
1725 PyObject
* retval
= PyList_New(0);
1726 for (int x
=0; x
<count
; x
++) {
1727 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
1728 PyList_Append(retval
, pyint
);
1731 wxPyEndBlockThreads(blocked
);
1734 static void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
1735 bool blocked
= wxPyBeginBlockThreads();
1736 int size
= PyList_Size(pyDashes
);
1737 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
1739 // black magic warning! The array of wxDashes needs to exist as
1740 // long as the pen does because wxPen does not copy the array. So
1741 // stick a copy in a Python string object and attach it to _self,
1742 // and then call SetDashes with a pointer to that array. Then
1743 // when the Python pen object is destroyed the array will be
1745 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
1746 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
1748 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
1750 Py_DECREF(strDashes
);
1751 wxPyEndBlockThreads(blocked
);
1753 static bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
1754 static bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
1756 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1757 #define SWIG_From_short PyInt_FromLong
1762 SWIG_AsVal_short(PyObject
*obj
, short *val
)
1764 const char* errmsg
= val
? "short" : (char*)0;
1766 if (SWIG_AsVal_long(obj
, &v
)) {
1767 if (SWIG_CheckLongInRange(v
, SHRT_MIN
, SHRT_MAX
, errmsg
)) {
1768 if (val
) *val
= (short)(v
);
1777 SWIG_type_error(errmsg
, obj
);
1783 SWIGINTERNSHORT
short
1784 SWIG_As_short(PyObject
* obj
)
1787 if (!SWIG_AsVal_short(obj
, &v
)) {
1789 this is needed to make valgrind/purify happier.
1791 memset((void*)&v
, 0, sizeof(short));
1798 SWIG_Check_short(PyObject
* obj
)
1800 return SWIG_AsVal_short(obj
, (short*)0);
1804 #include <wx/image.h>
1806 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
1807 char** cArray
= NULL
;
1810 if (!PyList_Check(listOfStrings
)) {
1811 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
1814 count
= PyList_Size(listOfStrings
);
1815 cArray
= new char*[count
];
1817 for(int x
=0; x
<count
; x
++) {
1818 // TODO: Need some validation and error checking here
1819 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
1825 static wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
1826 char** cArray
= NULL
;
1829 cArray
= ConvertListOfStrings(listOfStrings
);
1832 bmp
= new wxBitmap(cArray
);
1836 static wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
1839 PyString_AsStringAndSize(bits
, &buf
, &length
);
1840 return new wxBitmap(buf
, width
, height
, depth
);
1842 static wxSize
wxBitmap_GetSize(wxBitmap
*self
){
1843 wxSize
size(self
->GetWidth(), self
->GetHeight());
1846 static void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
1847 wxMask
*mask
= new wxMask(*self
, colour
);
1848 self
->SetMask(mask
);
1850 static void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
1851 self
->SetWidth(size
.x
);
1852 self
->SetHeight(size
.y
);
1854 static bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
1855 static bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
1856 static wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
1858 return new wxMask(bitmap
, *wxBLACK
);
1860 return new wxMask(bitmap
, colour
);
1863 #include <wx/iconbndl.h>
1865 static wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
1866 wxIcon
* icon
= new wxIcon();
1867 icon
->CopyFromBitmap(bmp
);
1870 static wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
1871 char** cArray
= NULL
;
1874 cArray
= ConvertListOfStrings(listOfStrings
);
1877 icon
= new wxIcon(cArray
);
1881 static wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
1885 return new wxIconLocation(*filename
);
1888 static void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
1895 static int wxIconLocation_GetIndex(wxIconLocation
*self
){
1903 SWIGINTERNSHORT
long
1904 SWIG_As_long(PyObject
* obj
)
1907 if (!SWIG_AsVal_long(obj
, &v
)) {
1909 this is needed to make valgrind/purify happier.
1911 memset((void*)&v
, 0, sizeof(long));
1918 SWIG_Check_long(PyObject
* obj
)
1920 return SWIG_AsVal_long(obj
, (long*)0);
1923 static wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
1925 wxCHECK_MSG(false, NULL
,
1926 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
1928 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
1933 static void wxRegionIterator_Next(wxRegionIterator
*self
){
1936 static bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
1937 return self
->operator bool();
1940 #include <wx/fontutil.h>
1941 #include <wx/fontmap.h>
1942 #include <wx/fontenum.h>
1944 static wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
1945 return self
->ToString();
1948 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
1949 static wxNativeEncodingInfo info
;
1950 if ( wxGetNativeFontEncoding(encoding
, &info
) )
1956 static PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
1957 wxFontEncoding alt_enc
;
1958 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
1959 return PyInt_FromLong(alt_enc
);
1965 static wxFont
*new_wxFont(wxString
const &info
){
1966 wxNativeFontInfo nfi
;
1967 nfi
.FromString(info
);
1968 return new wxFont(nfi
);
1970 static wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
1971 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
1973 static wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
1974 return wxFontBase::New(pixelSize
, family
,
1975 style
, weight
, underlined
,
1978 static bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
1979 static bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
1981 class wxPyFontEnumerator
: public wxFontEnumerator
{
1983 wxPyFontEnumerator() {}
1984 ~wxPyFontEnumerator() {}
1986 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
1987 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
1992 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
1993 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
1996 static PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
1997 wxArrayString
* arr
= self
->GetEncodings();
1999 return wxArrayString2PyList_helper(*arr
);
2001 return PyList_New(0);
2003 static PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
2004 wxArrayString
* arr
= self
->GetFacenames();
2006 return wxArrayString2PyList_helper(*arr
);
2008 return PyList_New(0);
2013 static wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
2016 loc
= new wxLocale();
2018 loc
= new wxLocale(language
, flags
);
2019 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
2020 // for the floating point conversions and such to work right.
2021 #if PY_VERSION_HEX < 0x02040000
2022 setlocale(LC_NUMERIC
, "C");
2026 static bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
2027 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
2028 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
2029 // for the floating point conversions and such to work right.
2030 #if PY_VERSION_HEX < 0x02040000
2031 setlocale(LC_NUMERIC
, "C");
2035 static bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
2036 bool rc
= self
->Init(language
, flags
);
2037 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
2038 // for the floating point conversions and such to work right.
2039 #if PY_VERSION_HEX < 0x02040000
2040 setlocale(LC_NUMERIC
, "C");
2045 #include "wx/wxPython/pydrawxxx.h"
2047 static wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
2049 self
->GetPixel(x
, y
, &col
);
2052 static wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
2054 self
->GetPixel(pt
, &col
);
2059 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2061 if (PyNumber_Check(obj
)) {
2062 if (val
) *val
= PyFloat_AsDouble(obj
);
2066 SWIG_type_error("number", obj
);
2072 SWIGINTERNSHORT
double
2073 SWIG_As_double(PyObject
* obj
)
2076 if (!SWIG_AsVal_double(obj
, &v
)) {
2078 this is needed to make valgrind/purify happier.
2080 memset((void*)&v
, 0, sizeof(double));
2087 SWIG_Check_double(PyObject
* obj
)
2089 return SWIG_AsVal_double(obj
, (double*)0);
2092 static wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
2094 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
2098 static wxRect
wxDC_GetClippingRect(wxDC
*self
){
2100 self
->GetClippingBox(rect
);
2103 static wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
2105 self
->GetPartialTextExtents(text
, widths
);
2109 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2110 #define SWIG_From_double PyFloat_FromDouble
2114 static void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
2115 self
->SetLogicalOrigin(point
.x
, point
.y
);
2117 static void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
2118 self
->SetDeviceOrigin(point
.x
, point
.y
);
2120 static void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
2121 self
->CalcBoundingBox(point
.x
, point
.y
);
2123 static PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2124 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
2126 static PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2127 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
2129 static PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2130 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
2132 static PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2133 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
2135 static PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2136 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
2138 static PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
2139 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
2142 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
2150 #include <wx/dcbuffer.h>
2153 #include <wx/dcps.h>
2156 #include <wx/metafile.h>
2160 static void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
2161 self
->AddColour(name
, wxColour(red
, green
, blue
));
2164 #include <wx/effects.h>
2169 static PyObject
*_wrap_new_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2170 PyObject
*resultobj
;
2171 wxGDIObject
*result
;
2176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
2178 if (!wxPyCheckForApp()) SWIG_fail
;
2179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2180 result
= (wxGDIObject
*)new wxGDIObject();
2182 wxPyEndAllowThreads(__tstate
);
2183 if (PyErr_Occurred()) SWIG_fail
;
2185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
2192 static PyObject
*_wrap_delete_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2193 PyObject
*resultobj
;
2194 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2195 PyObject
* obj0
= 0 ;
2197 (char *) "self", NULL
2200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
2201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2202 if (SWIG_arg_fail(1)) SWIG_fail
;
2204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2207 wxPyEndAllowThreads(__tstate
);
2208 if (PyErr_Occurred()) SWIG_fail
;
2210 Py_INCREF(Py_None
); resultobj
= Py_None
;
2217 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2218 PyObject
*resultobj
;
2219 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2221 PyObject
* obj0
= 0 ;
2223 (char *) "self", NULL
2226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
2227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2228 if (SWIG_arg_fail(1)) SWIG_fail
;
2230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2231 result
= (bool)(arg1
)->GetVisible();
2233 wxPyEndAllowThreads(__tstate
);
2234 if (PyErr_Occurred()) SWIG_fail
;
2237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2245 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2246 PyObject
*resultobj
;
2247 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2249 PyObject
* obj0
= 0 ;
2250 PyObject
* obj1
= 0 ;
2252 (char *) "self",(char *) "visible", NULL
2255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
2256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2257 if (SWIG_arg_fail(1)) SWIG_fail
;
2259 arg2
= (bool)(SWIG_As_bool(obj1
));
2260 if (SWIG_arg_fail(2)) SWIG_fail
;
2263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2264 (arg1
)->SetVisible(arg2
);
2266 wxPyEndAllowThreads(__tstate
);
2267 if (PyErr_Occurred()) SWIG_fail
;
2269 Py_INCREF(Py_None
); resultobj
= Py_None
;
2276 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2277 PyObject
*resultobj
;
2278 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2280 PyObject
* obj0
= 0 ;
2282 (char *) "self", NULL
2285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
2286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2287 if (SWIG_arg_fail(1)) SWIG_fail
;
2289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2290 result
= (bool)(arg1
)->IsNull();
2292 wxPyEndAllowThreads(__tstate
);
2293 if (PyErr_Occurred()) SWIG_fail
;
2296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2304 static PyObject
* GDIObject_swigregister(PyObject
*, PyObject
*args
) {
2306 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2307 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
2309 return Py_BuildValue((char *)"");
2311 static PyObject
*_wrap_new_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2312 PyObject
*resultobj
;
2313 byte arg1
= (byte
) 0 ;
2314 byte arg2
= (byte
) 0 ;
2315 byte arg3
= (byte
) 0 ;
2317 PyObject
* obj0
= 0 ;
2318 PyObject
* obj1
= 0 ;
2319 PyObject
* obj2
= 0 ;
2321 (char *) "red",(char *) "green",(char *) "blue", NULL
2324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2327 arg1
= (byte
)(SWIG_As_unsigned_SS_char(obj0
));
2328 if (SWIG_arg_fail(1)) SWIG_fail
;
2333 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
2334 if (SWIG_arg_fail(2)) SWIG_fail
;
2339 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
2340 if (SWIG_arg_fail(3)) SWIG_fail
;
2344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2345 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
2347 wxPyEndAllowThreads(__tstate
);
2348 if (PyErr_Occurred()) SWIG_fail
;
2350 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2357 static PyObject
*_wrap_new_NamedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2358 PyObject
*resultobj
;
2359 wxString
*arg1
= 0 ;
2361 bool temp1
= false ;
2362 PyObject
* obj0
= 0 ;
2364 (char *) "colorName", NULL
2367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
2369 arg1
= wxString_in_helper(obj0
);
2370 if (arg1
== NULL
) SWIG_fail
;
2374 if (!wxPyCheckForApp()) SWIG_fail
;
2375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2376 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
2378 wxPyEndAllowThreads(__tstate
);
2379 if (PyErr_Occurred()) SWIG_fail
;
2381 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2396 static PyObject
*_wrap_new_ColourRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2397 PyObject
*resultobj
;
2398 unsigned long arg1
;
2400 PyObject
* obj0
= 0 ;
2402 (char *) "colRGB", NULL
2405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
2407 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
2408 if (SWIG_arg_fail(1)) SWIG_fail
;
2411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2412 result
= (wxColour
*)new wxColour(arg1
);
2414 wxPyEndAllowThreads(__tstate
);
2415 if (PyErr_Occurred()) SWIG_fail
;
2417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2424 static PyObject
*_wrap_delete_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2425 PyObject
*resultobj
;
2426 wxColour
*arg1
= (wxColour
*) 0 ;
2427 PyObject
* obj0
= 0 ;
2429 (char *) "self", NULL
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
2433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2434 if (SWIG_arg_fail(1)) SWIG_fail
;
2436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2439 wxPyEndAllowThreads(__tstate
);
2440 if (PyErr_Occurred()) SWIG_fail
;
2442 Py_INCREF(Py_None
); resultobj
= Py_None
;
2449 static PyObject
*_wrap_Colour_Red(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
*resultobj
;
2451 wxColour
*arg1
= (wxColour
*) 0 ;
2453 PyObject
* obj0
= 0 ;
2455 (char *) "self", NULL
2458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
2459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2460 if (SWIG_arg_fail(1)) SWIG_fail
;
2462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2463 result
= (byte
)(arg1
)->Red();
2465 wxPyEndAllowThreads(__tstate
);
2466 if (PyErr_Occurred()) SWIG_fail
;
2469 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
2477 static PyObject
*_wrap_Colour_Green(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2478 PyObject
*resultobj
;
2479 wxColour
*arg1
= (wxColour
*) 0 ;
2481 PyObject
* obj0
= 0 ;
2483 (char *) "self", NULL
2486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
2487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2488 if (SWIG_arg_fail(1)) SWIG_fail
;
2490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2491 result
= (byte
)(arg1
)->Green();
2493 wxPyEndAllowThreads(__tstate
);
2494 if (PyErr_Occurred()) SWIG_fail
;
2497 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
2505 static PyObject
*_wrap_Colour_Blue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2506 PyObject
*resultobj
;
2507 wxColour
*arg1
= (wxColour
*) 0 ;
2509 PyObject
* obj0
= 0 ;
2511 (char *) "self", NULL
2514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
2515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2516 if (SWIG_arg_fail(1)) SWIG_fail
;
2518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2519 result
= (byte
)(arg1
)->Blue();
2521 wxPyEndAllowThreads(__tstate
);
2522 if (PyErr_Occurred()) SWIG_fail
;
2525 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
2533 static PyObject
*_wrap_Colour_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2534 PyObject
*resultobj
;
2535 wxColour
*arg1
= (wxColour
*) 0 ;
2537 PyObject
* obj0
= 0 ;
2539 (char *) "self", NULL
2542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
2543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2544 if (SWIG_arg_fail(1)) SWIG_fail
;
2546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2547 result
= (bool)(arg1
)->Ok();
2549 wxPyEndAllowThreads(__tstate
);
2550 if (PyErr_Occurred()) SWIG_fail
;
2553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2561 static PyObject
*_wrap_Colour_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2562 PyObject
*resultobj
;
2563 wxColour
*arg1
= (wxColour
*) 0 ;
2567 PyObject
* obj0
= 0 ;
2568 PyObject
* obj1
= 0 ;
2569 PyObject
* obj2
= 0 ;
2570 PyObject
* obj3
= 0 ;
2572 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
2575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2577 if (SWIG_arg_fail(1)) SWIG_fail
;
2579 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
2580 if (SWIG_arg_fail(2)) SWIG_fail
;
2583 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
2584 if (SWIG_arg_fail(3)) SWIG_fail
;
2587 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
2588 if (SWIG_arg_fail(4)) SWIG_fail
;
2591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2592 (arg1
)->Set(arg2
,arg3
,arg4
);
2594 wxPyEndAllowThreads(__tstate
);
2595 if (PyErr_Occurred()) SWIG_fail
;
2597 Py_INCREF(Py_None
); resultobj
= Py_None
;
2604 static PyObject
*_wrap_Colour_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2605 PyObject
*resultobj
;
2606 wxColour
*arg1
= (wxColour
*) 0 ;
2607 unsigned long arg2
;
2608 PyObject
* obj0
= 0 ;
2609 PyObject
* obj1
= 0 ;
2611 (char *) "self",(char *) "colRGB", NULL
2614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
2615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2616 if (SWIG_arg_fail(1)) SWIG_fail
;
2618 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
2619 if (SWIG_arg_fail(2)) SWIG_fail
;
2622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2625 wxPyEndAllowThreads(__tstate
);
2626 if (PyErr_Occurred()) SWIG_fail
;
2628 Py_INCREF(Py_None
); resultobj
= Py_None
;
2635 static PyObject
*_wrap_Colour_SetFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2636 PyObject
*resultobj
;
2637 wxColour
*arg1
= (wxColour
*) 0 ;
2638 wxString
*arg2
= 0 ;
2639 bool temp2
= false ;
2640 PyObject
* obj0
= 0 ;
2641 PyObject
* obj1
= 0 ;
2643 (char *) "self",(char *) "colourName", NULL
2646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
2647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2648 if (SWIG_arg_fail(1)) SWIG_fail
;
2650 arg2
= wxString_in_helper(obj1
);
2651 if (arg2
== NULL
) SWIG_fail
;
2655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2656 (arg1
)->InitFromName((wxString
const &)*arg2
);
2658 wxPyEndAllowThreads(__tstate
);
2659 if (PyErr_Occurred()) SWIG_fail
;
2661 Py_INCREF(Py_None
); resultobj
= Py_None
;
2676 static PyObject
*_wrap_Colour_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2677 PyObject
*resultobj
;
2678 wxColour
*arg1
= (wxColour
*) 0 ;
2680 PyObject
* obj0
= 0 ;
2682 (char *) "self", NULL
2685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
2686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2687 if (SWIG_arg_fail(1)) SWIG_fail
;
2689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2690 result
= (long)((wxColour
const *)arg1
)->GetPixel();
2692 wxPyEndAllowThreads(__tstate
);
2693 if (PyErr_Occurred()) SWIG_fail
;
2696 resultobj
= SWIG_From_long((long)(result
));
2704 static PyObject
*_wrap_Colour___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2705 PyObject
*resultobj
;
2706 wxColour
*arg1
= (wxColour
*) 0 ;
2707 wxColour
*arg2
= 0 ;
2710 PyObject
* obj0
= 0 ;
2711 PyObject
* obj1
= 0 ;
2713 (char *) "self",(char *) "colour", NULL
2716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2718 if (SWIG_arg_fail(1)) SWIG_fail
;
2721 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2725 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
2727 wxPyEndAllowThreads(__tstate
);
2728 if (PyErr_Occurred()) SWIG_fail
;
2731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2739 static PyObject
*_wrap_Colour___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2740 PyObject
*resultobj
;
2741 wxColour
*arg1
= (wxColour
*) 0 ;
2742 wxColour
*arg2
= 0 ;
2745 PyObject
* obj0
= 0 ;
2746 PyObject
* obj1
= 0 ;
2748 (char *) "self",(char *) "colour", NULL
2751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2753 if (SWIG_arg_fail(1)) SWIG_fail
;
2756 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2760 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
2762 wxPyEndAllowThreads(__tstate
);
2763 if (PyErr_Occurred()) SWIG_fail
;
2766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2774 static PyObject
*_wrap_Colour_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2775 PyObject
*resultobj
;
2776 wxColour
*arg1
= (wxColour
*) 0 ;
2778 PyObject
* obj0
= 0 ;
2780 (char *) "self", NULL
2783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
2784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2785 if (SWIG_arg_fail(1)) SWIG_fail
;
2787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2788 result
= (PyObject
*)wxColour_Get(arg1
);
2790 wxPyEndAllowThreads(__tstate
);
2791 if (PyErr_Occurred()) SWIG_fail
;
2800 static PyObject
*_wrap_Colour_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2801 PyObject
*resultobj
;
2802 wxColour
*arg1
= (wxColour
*) 0 ;
2803 unsigned long result
;
2804 PyObject
* obj0
= 0 ;
2806 (char *) "self", NULL
2809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
2810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2811 if (SWIG_arg_fail(1)) SWIG_fail
;
2813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2814 result
= (unsigned long)wxColour_GetRGB(arg1
);
2816 wxPyEndAllowThreads(__tstate
);
2817 if (PyErr_Occurred()) SWIG_fail
;
2820 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
2828 static PyObject
* Colour_swigregister(PyObject
*, PyObject
*args
) {
2830 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2831 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
2833 return Py_BuildValue((char *)"");
2835 static PyObject
*_wrap_new_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2836 PyObject
*resultobj
;
2838 unsigned char *arg2
= (unsigned char *) 0 ;
2839 unsigned char *arg3
= (unsigned char *) 0 ;
2840 unsigned char *arg4
= (unsigned char *) 0 ;
2842 PyObject
* obj0
= 0 ;
2843 PyObject
* obj1
= 0 ;
2844 PyObject
* obj2
= 0 ;
2845 PyObject
* obj3
= 0 ;
2847 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
2850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2852 arg1
= (int)(SWIG_As_int(obj0
));
2853 if (SWIG_arg_fail(1)) SWIG_fail
;
2855 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
2856 if (SWIG_arg_fail(2)) SWIG_fail
;
2857 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
2858 if (SWIG_arg_fail(3)) SWIG_fail
;
2859 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
2860 if (SWIG_arg_fail(4)) SWIG_fail
;
2862 if (!wxPyCheckForApp()) SWIG_fail
;
2863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2864 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
2866 wxPyEndAllowThreads(__tstate
);
2867 if (PyErr_Occurred()) SWIG_fail
;
2869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
2876 static PyObject
*_wrap_delete_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2877 PyObject
*resultobj
;
2878 wxPalette
*arg1
= (wxPalette
*) 0 ;
2879 PyObject
* obj0
= 0 ;
2881 (char *) "self", NULL
2884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
2885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
2886 if (SWIG_arg_fail(1)) SWIG_fail
;
2888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2891 wxPyEndAllowThreads(__tstate
);
2892 if (PyErr_Occurred()) SWIG_fail
;
2894 Py_INCREF(Py_None
); resultobj
= Py_None
;
2901 static PyObject
*_wrap_Palette_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2902 PyObject
*resultobj
;
2903 wxPalette
*arg1
= (wxPalette
*) 0 ;
2908 PyObject
* obj0
= 0 ;
2909 PyObject
* obj1
= 0 ;
2910 PyObject
* obj2
= 0 ;
2911 PyObject
* obj3
= 0 ;
2913 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
2916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
2918 if (SWIG_arg_fail(1)) SWIG_fail
;
2920 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
2921 if (SWIG_arg_fail(2)) SWIG_fail
;
2924 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
2925 if (SWIG_arg_fail(3)) SWIG_fail
;
2928 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
2929 if (SWIG_arg_fail(4)) SWIG_fail
;
2932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2933 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
2935 wxPyEndAllowThreads(__tstate
);
2936 if (PyErr_Occurred()) SWIG_fail
;
2939 resultobj
= SWIG_From_int((int)(result
));
2947 static PyObject
*_wrap_Palette_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2948 PyObject
*resultobj
;
2949 wxPalette
*arg1
= (wxPalette
*) 0 ;
2951 byte
*arg3
= (byte
*) 0 ;
2952 byte
*arg4
= (byte
*) 0 ;
2953 byte
*arg5
= (byte
*) 0 ;
2961 PyObject
* obj0
= 0 ;
2962 PyObject
* obj1
= 0 ;
2964 (char *) "self",(char *) "pixel", NULL
2967 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2968 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2969 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
2971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
2972 if (SWIG_arg_fail(1)) SWIG_fail
;
2974 arg2
= (int)(SWIG_As_int(obj1
));
2975 if (SWIG_arg_fail(2)) SWIG_fail
;
2978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2979 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
2981 wxPyEndAllowThreads(__tstate
);
2982 if (PyErr_Occurred()) SWIG_fail
;
2985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2987 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2988 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
2989 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2990 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
2991 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2992 SWIG_From_unsigned_SS_char((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, 0)));
2999 static PyObject
*_wrap_Palette_GetColoursCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3000 PyObject
*resultobj
;
3001 wxPalette
*arg1
= (wxPalette
*) 0 ;
3003 PyObject
* obj0
= 0 ;
3005 (char *) "self", NULL
3008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_GetColoursCount",kwnames
,&obj0
)) goto fail
;
3009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
3010 if (SWIG_arg_fail(1)) SWIG_fail
;
3012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3013 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
3015 wxPyEndAllowThreads(__tstate
);
3016 if (PyErr_Occurred()) SWIG_fail
;
3019 resultobj
= SWIG_From_int((int)(result
));
3027 static PyObject
*_wrap_Palette_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3028 PyObject
*resultobj
;
3029 wxPalette
*arg1
= (wxPalette
*) 0 ;
3031 PyObject
* obj0
= 0 ;
3033 (char *) "self", NULL
3036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
3037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
3038 if (SWIG_arg_fail(1)) SWIG_fail
;
3040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3041 result
= (bool)(arg1
)->Ok();
3043 wxPyEndAllowThreads(__tstate
);
3044 if (PyErr_Occurred()) SWIG_fail
;
3047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3055 static PyObject
* Palette_swigregister(PyObject
*, PyObject
*args
) {
3057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3058 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
3060 return Py_BuildValue((char *)"");
3062 static PyObject
*_wrap_new_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
*resultobj
;
3064 wxColour
*arg1
= 0 ;
3065 int arg2
= (int) 1 ;
3066 int arg3
= (int) wxSOLID
;
3069 PyObject
* obj0
= 0 ;
3070 PyObject
* obj1
= 0 ;
3071 PyObject
* obj2
= 0 ;
3073 (char *) "colour",(char *) "width",(char *) "style", NULL
3076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3079 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
3083 arg2
= (int)(SWIG_As_int(obj1
));
3084 if (SWIG_arg_fail(2)) SWIG_fail
;
3089 arg3
= (int)(SWIG_As_int(obj2
));
3090 if (SWIG_arg_fail(3)) SWIG_fail
;
3094 if (!wxPyCheckForApp()) SWIG_fail
;
3095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3096 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
3098 wxPyEndAllowThreads(__tstate
);
3099 if (PyErr_Occurred()) SWIG_fail
;
3101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
3108 static PyObject
*_wrap_delete_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
*resultobj
;
3110 wxPen
*arg1
= (wxPen
*) 0 ;
3111 PyObject
* obj0
= 0 ;
3113 (char *) "self", NULL
3116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
3117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3118 if (SWIG_arg_fail(1)) SWIG_fail
;
3120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3123 wxPyEndAllowThreads(__tstate
);
3124 if (PyErr_Occurred()) SWIG_fail
;
3126 Py_INCREF(Py_None
); resultobj
= Py_None
;
3133 static PyObject
*_wrap_Pen_GetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3134 PyObject
*resultobj
;
3135 wxPen
*arg1
= (wxPen
*) 0 ;
3137 PyObject
* obj0
= 0 ;
3139 (char *) "self", NULL
3142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
3143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3144 if (SWIG_arg_fail(1)) SWIG_fail
;
3146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3147 result
= (int)(arg1
)->GetCap();
3149 wxPyEndAllowThreads(__tstate
);
3150 if (PyErr_Occurred()) SWIG_fail
;
3153 resultobj
= SWIG_From_int((int)(result
));
3161 static PyObject
*_wrap_Pen_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3162 PyObject
*resultobj
;
3163 wxPen
*arg1
= (wxPen
*) 0 ;
3165 PyObject
* obj0
= 0 ;
3167 (char *) "self", NULL
3170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
3171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3172 if (SWIG_arg_fail(1)) SWIG_fail
;
3174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3175 result
= (arg1
)->GetColour();
3177 wxPyEndAllowThreads(__tstate
);
3178 if (PyErr_Occurred()) SWIG_fail
;
3181 wxColour
* resultptr
;
3182 resultptr
= new wxColour((wxColour
&)(result
));
3183 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3191 static PyObject
*_wrap_Pen_GetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3192 PyObject
*resultobj
;
3193 wxPen
*arg1
= (wxPen
*) 0 ;
3195 PyObject
* obj0
= 0 ;
3197 (char *) "self", NULL
3200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
3201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3202 if (SWIG_arg_fail(1)) SWIG_fail
;
3204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3205 result
= (int)(arg1
)->GetJoin();
3207 wxPyEndAllowThreads(__tstate
);
3208 if (PyErr_Occurred()) SWIG_fail
;
3211 resultobj
= SWIG_From_int((int)(result
));
3219 static PyObject
*_wrap_Pen_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3220 PyObject
*resultobj
;
3221 wxPen
*arg1
= (wxPen
*) 0 ;
3223 PyObject
* obj0
= 0 ;
3225 (char *) "self", NULL
3228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
3229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3230 if (SWIG_arg_fail(1)) SWIG_fail
;
3232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3233 result
= (int)(arg1
)->GetStyle();
3235 wxPyEndAllowThreads(__tstate
);
3236 if (PyErr_Occurred()) SWIG_fail
;
3239 resultobj
= SWIG_From_int((int)(result
));
3247 static PyObject
*_wrap_Pen_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3248 PyObject
*resultobj
;
3249 wxPen
*arg1
= (wxPen
*) 0 ;
3251 PyObject
* obj0
= 0 ;
3253 (char *) "self", NULL
3256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
3257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3258 if (SWIG_arg_fail(1)) SWIG_fail
;
3260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3261 result
= (int)(arg1
)->GetWidth();
3263 wxPyEndAllowThreads(__tstate
);
3264 if (PyErr_Occurred()) SWIG_fail
;
3267 resultobj
= SWIG_From_int((int)(result
));
3275 static PyObject
*_wrap_Pen_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3276 PyObject
*resultobj
;
3277 wxPen
*arg1
= (wxPen
*) 0 ;
3279 PyObject
* obj0
= 0 ;
3281 (char *) "self", NULL
3284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
3285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3286 if (SWIG_arg_fail(1)) SWIG_fail
;
3288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3289 result
= (bool)(arg1
)->Ok();
3291 wxPyEndAllowThreads(__tstate
);
3292 if (PyErr_Occurred()) SWIG_fail
;
3295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3303 static PyObject
*_wrap_Pen_SetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3304 PyObject
*resultobj
;
3305 wxPen
*arg1
= (wxPen
*) 0 ;
3307 PyObject
* obj0
= 0 ;
3308 PyObject
* obj1
= 0 ;
3310 (char *) "self",(char *) "cap_style", NULL
3313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
3314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3315 if (SWIG_arg_fail(1)) SWIG_fail
;
3317 arg2
= (int)(SWIG_As_int(obj1
));
3318 if (SWIG_arg_fail(2)) SWIG_fail
;
3321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3322 (arg1
)->SetCap(arg2
);
3324 wxPyEndAllowThreads(__tstate
);
3325 if (PyErr_Occurred()) SWIG_fail
;
3327 Py_INCREF(Py_None
); resultobj
= Py_None
;
3334 static PyObject
*_wrap_Pen_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3335 PyObject
*resultobj
;
3336 wxPen
*arg1
= (wxPen
*) 0 ;
3337 wxColour
*arg2
= 0 ;
3339 PyObject
* obj0
= 0 ;
3340 PyObject
* obj1
= 0 ;
3342 (char *) "self",(char *) "colour", NULL
3345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3347 if (SWIG_arg_fail(1)) SWIG_fail
;
3350 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3354 (arg1
)->SetColour(*arg2
);
3356 wxPyEndAllowThreads(__tstate
);
3357 if (PyErr_Occurred()) SWIG_fail
;
3359 Py_INCREF(Py_None
); resultobj
= Py_None
;
3366 static PyObject
*_wrap_Pen_SetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3367 PyObject
*resultobj
;
3368 wxPen
*arg1
= (wxPen
*) 0 ;
3370 PyObject
* obj0
= 0 ;
3371 PyObject
* obj1
= 0 ;
3373 (char *) "self",(char *) "join_style", NULL
3376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
3377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3378 if (SWIG_arg_fail(1)) SWIG_fail
;
3380 arg2
= (int)(SWIG_As_int(obj1
));
3381 if (SWIG_arg_fail(2)) SWIG_fail
;
3384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3385 (arg1
)->SetJoin(arg2
);
3387 wxPyEndAllowThreads(__tstate
);
3388 if (PyErr_Occurred()) SWIG_fail
;
3390 Py_INCREF(Py_None
); resultobj
= Py_None
;
3397 static PyObject
*_wrap_Pen_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3398 PyObject
*resultobj
;
3399 wxPen
*arg1
= (wxPen
*) 0 ;
3401 PyObject
* obj0
= 0 ;
3402 PyObject
* obj1
= 0 ;
3404 (char *) "self",(char *) "style", NULL
3407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
3408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3409 if (SWIG_arg_fail(1)) SWIG_fail
;
3411 arg2
= (int)(SWIG_As_int(obj1
));
3412 if (SWIG_arg_fail(2)) SWIG_fail
;
3415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3416 (arg1
)->SetStyle(arg2
);
3418 wxPyEndAllowThreads(__tstate
);
3419 if (PyErr_Occurred()) SWIG_fail
;
3421 Py_INCREF(Py_None
); resultobj
= Py_None
;
3428 static PyObject
*_wrap_Pen_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3429 PyObject
*resultobj
;
3430 wxPen
*arg1
= (wxPen
*) 0 ;
3432 PyObject
* obj0
= 0 ;
3433 PyObject
* obj1
= 0 ;
3435 (char *) "self",(char *) "width", NULL
3438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3440 if (SWIG_arg_fail(1)) SWIG_fail
;
3442 arg2
= (int)(SWIG_As_int(obj1
));
3443 if (SWIG_arg_fail(2)) SWIG_fail
;
3446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3447 (arg1
)->SetWidth(arg2
);
3449 wxPyEndAllowThreads(__tstate
);
3450 if (PyErr_Occurred()) SWIG_fail
;
3452 Py_INCREF(Py_None
); resultobj
= Py_None
;
3459 static PyObject
*_wrap_Pen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3460 PyObject
*resultobj
;
3461 wxPen
*arg1
= (wxPen
*) 0 ;
3463 wxDash
*arg3
= (wxDash
*) 0 ;
3464 PyObject
* obj0
= 0 ;
3465 PyObject
* obj1
= 0 ;
3467 (char *) "self",(char *) "dashes", NULL
3470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
3471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3472 if (SWIG_arg_fail(1)) SWIG_fail
;
3474 arg2
= PyList_Size(obj1
);
3475 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
3476 if (arg3
== NULL
) SWIG_fail
;
3479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3480 (arg1
)->SetDashes(arg2
,arg3
);
3482 wxPyEndAllowThreads(__tstate
);
3483 if (PyErr_Occurred()) SWIG_fail
;
3485 Py_INCREF(Py_None
); resultobj
= Py_None
;
3487 if (arg3
) delete [] arg3
;
3492 if (arg3
) delete [] arg3
;
3498 static PyObject
*_wrap_Pen_GetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3499 PyObject
*resultobj
;
3500 wxPen
*arg1
= (wxPen
*) 0 ;
3502 PyObject
* obj0
= 0 ;
3504 (char *) "self", NULL
3507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
3508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3509 if (SWIG_arg_fail(1)) SWIG_fail
;
3511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3512 result
= (PyObject
*)wxPen_GetDashes(arg1
);
3514 wxPyEndAllowThreads(__tstate
);
3515 if (PyErr_Occurred()) SWIG_fail
;
3524 static PyObject
*_wrap_Pen__SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3525 PyObject
*resultobj
;
3526 wxPen
*arg1
= (wxPen
*) 0 ;
3527 PyObject
*arg2
= (PyObject
*) 0 ;
3528 PyObject
*arg3
= (PyObject
*) 0 ;
3529 PyObject
* obj0
= 0 ;
3530 PyObject
* obj1
= 0 ;
3531 PyObject
* obj2
= 0 ;
3533 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
3536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3538 if (SWIG_arg_fail(1)) SWIG_fail
;
3542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3543 wxPen__SetDashes(arg1
,arg2
,arg3
);
3545 wxPyEndAllowThreads(__tstate
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3548 Py_INCREF(Py_None
); resultobj
= Py_None
;
3555 static PyObject
*_wrap_Pen___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3556 PyObject
*resultobj
;
3557 wxPen
*arg1
= (wxPen
*) 0 ;
3558 wxPen
*arg2
= (wxPen
*) 0 ;
3560 PyObject
* obj0
= 0 ;
3561 PyObject
* obj1
= 0 ;
3563 (char *) "self",(char *) "other", NULL
3566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3568 if (SWIG_arg_fail(1)) SWIG_fail
;
3569 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3570 if (SWIG_arg_fail(2)) SWIG_fail
;
3572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3573 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
3575 wxPyEndAllowThreads(__tstate
);
3576 if (PyErr_Occurred()) SWIG_fail
;
3579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3587 static PyObject
*_wrap_Pen___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
*resultobj
;
3589 wxPen
*arg1
= (wxPen
*) 0 ;
3590 wxPen
*arg2
= (wxPen
*) 0 ;
3592 PyObject
* obj0
= 0 ;
3593 PyObject
* obj1
= 0 ;
3595 (char *) "self",(char *) "other", NULL
3598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3600 if (SWIG_arg_fail(1)) SWIG_fail
;
3601 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3602 if (SWIG_arg_fail(2)) SWIG_fail
;
3604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3605 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
3607 wxPyEndAllowThreads(__tstate
);
3608 if (PyErr_Occurred()) SWIG_fail
;
3611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3619 static PyObject
* Pen_swigregister(PyObject
*, PyObject
*args
) {
3621 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3622 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
3624 return Py_BuildValue((char *)"");
3626 static PyObject
*_wrap_new_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3627 PyObject
*resultobj
;
3628 wxColour
*arg1
= 0 ;
3629 int arg2
= (int) wxSOLID
;
3632 PyObject
* obj0
= 0 ;
3633 PyObject
* obj1
= 0 ;
3635 (char *) "colour",(char *) "style", NULL
3638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
3641 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
3645 arg2
= (int)(SWIG_As_int(obj1
));
3646 if (SWIG_arg_fail(2)) SWIG_fail
;
3650 if (!wxPyCheckForApp()) SWIG_fail
;
3651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3652 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
3654 wxPyEndAllowThreads(__tstate
);
3655 if (PyErr_Occurred()) SWIG_fail
;
3657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
3664 static PyObject
*_wrap_delete_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3665 PyObject
*resultobj
;
3666 wxBrush
*arg1
= (wxBrush
*) 0 ;
3667 PyObject
* obj0
= 0 ;
3669 (char *) "self", NULL
3672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
3673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3674 if (SWIG_arg_fail(1)) SWIG_fail
;
3676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3679 wxPyEndAllowThreads(__tstate
);
3680 if (PyErr_Occurred()) SWIG_fail
;
3682 Py_INCREF(Py_None
); resultobj
= Py_None
;
3689 static PyObject
*_wrap_Brush_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3690 PyObject
*resultobj
;
3691 wxBrush
*arg1
= (wxBrush
*) 0 ;
3692 wxColour
*arg2
= 0 ;
3694 PyObject
* obj0
= 0 ;
3695 PyObject
* obj1
= 0 ;
3697 (char *) "self",(char *) "col", NULL
3700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3702 if (SWIG_arg_fail(1)) SWIG_fail
;
3705 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3709 (arg1
)->SetColour((wxColour
const &)*arg2
);
3711 wxPyEndAllowThreads(__tstate
);
3712 if (PyErr_Occurred()) SWIG_fail
;
3714 Py_INCREF(Py_None
); resultobj
= Py_None
;
3721 static PyObject
*_wrap_Brush_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3722 PyObject
*resultobj
;
3723 wxBrush
*arg1
= (wxBrush
*) 0 ;
3725 PyObject
* obj0
= 0 ;
3726 PyObject
* obj1
= 0 ;
3728 (char *) "self",(char *) "style", NULL
3731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
3732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3733 if (SWIG_arg_fail(1)) SWIG_fail
;
3735 arg2
= (int)(SWIG_As_int(obj1
));
3736 if (SWIG_arg_fail(2)) SWIG_fail
;
3739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3740 (arg1
)->SetStyle(arg2
);
3742 wxPyEndAllowThreads(__tstate
);
3743 if (PyErr_Occurred()) SWIG_fail
;
3745 Py_INCREF(Py_None
); resultobj
= Py_None
;
3752 static PyObject
*_wrap_Brush_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
*resultobj
;
3754 wxBrush
*arg1
= (wxBrush
*) 0 ;
3755 wxBitmap
*arg2
= 0 ;
3756 PyObject
* obj0
= 0 ;
3757 PyObject
* obj1
= 0 ;
3759 (char *) "self",(char *) "stipple", NULL
3762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
3763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3764 if (SWIG_arg_fail(1)) SWIG_fail
;
3766 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3767 if (SWIG_arg_fail(2)) SWIG_fail
;
3769 SWIG_null_ref("wxBitmap");
3771 if (SWIG_arg_fail(2)) SWIG_fail
;
3774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3775 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
3777 wxPyEndAllowThreads(__tstate
);
3778 if (PyErr_Occurred()) SWIG_fail
;
3780 Py_INCREF(Py_None
); resultobj
= Py_None
;
3787 static PyObject
*_wrap_Brush_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3788 PyObject
*resultobj
;
3789 wxBrush
*arg1
= (wxBrush
*) 0 ;
3791 PyObject
* obj0
= 0 ;
3793 (char *) "self", NULL
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
3797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3798 if (SWIG_arg_fail(1)) SWIG_fail
;
3800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3801 result
= ((wxBrush
const *)arg1
)->GetColour();
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3807 wxColour
* resultptr
;
3808 resultptr
= new wxColour((wxColour
&)(result
));
3809 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3817 static PyObject
*_wrap_Brush_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3818 PyObject
*resultobj
;
3819 wxBrush
*arg1
= (wxBrush
*) 0 ;
3821 PyObject
* obj0
= 0 ;
3823 (char *) "self", NULL
3826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
3827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3828 if (SWIG_arg_fail(1)) SWIG_fail
;
3830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3831 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
3833 wxPyEndAllowThreads(__tstate
);
3834 if (PyErr_Occurred()) SWIG_fail
;
3837 resultobj
= SWIG_From_int((int)(result
));
3845 static PyObject
*_wrap_Brush_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3846 PyObject
*resultobj
;
3847 wxBrush
*arg1
= (wxBrush
*) 0 ;
3849 PyObject
* obj0
= 0 ;
3851 (char *) "self", NULL
3854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
3855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3856 if (SWIG_arg_fail(1)) SWIG_fail
;
3858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3859 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
3861 wxPyEndAllowThreads(__tstate
);
3862 if (PyErr_Occurred()) SWIG_fail
;
3864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
3871 static PyObject
*_wrap_Brush_IsHatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
*resultobj
;
3873 wxBrush
*arg1
= (wxBrush
*) 0 ;
3875 PyObject
* obj0
= 0 ;
3877 (char *) "self", NULL
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_IsHatch",kwnames
,&obj0
)) goto fail
;
3881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3882 if (SWIG_arg_fail(1)) SWIG_fail
;
3884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3885 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
3887 wxPyEndAllowThreads(__tstate
);
3888 if (PyErr_Occurred()) SWIG_fail
;
3891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3899 static PyObject
*_wrap_Brush_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
*resultobj
;
3901 wxBrush
*arg1
= (wxBrush
*) 0 ;
3903 PyObject
* obj0
= 0 ;
3905 (char *) "self", NULL
3908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
3909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3910 if (SWIG_arg_fail(1)) SWIG_fail
;
3912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3913 result
= (bool)(arg1
)->Ok();
3915 wxPyEndAllowThreads(__tstate
);
3916 if (PyErr_Occurred()) SWIG_fail
;
3919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3927 static PyObject
*_wrap_Brush_MacGetTheme(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3928 PyObject
*resultobj
;
3929 wxBrush
*arg1
= (wxBrush
*) 0 ;
3931 PyObject
* obj0
= 0 ;
3933 (char *) "self", NULL
3936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_MacGetTheme",kwnames
,&obj0
)) goto fail
;
3937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3938 if (SWIG_arg_fail(1)) SWIG_fail
;
3940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3941 result
= (short)(arg1
)->MacGetTheme();
3943 wxPyEndAllowThreads(__tstate
);
3944 if (PyErr_Occurred()) SWIG_fail
;
3947 resultobj
= SWIG_From_short((short)(result
));
3955 static PyObject
*_wrap_Brush_MacSetTheme(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3956 PyObject
*resultobj
;
3957 wxBrush
*arg1
= (wxBrush
*) 0 ;
3959 PyObject
* obj0
= 0 ;
3960 PyObject
* obj1
= 0 ;
3962 (char *) "self",(char *) "macThemeBrush", NULL
3965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) goto fail
;
3966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3967 if (SWIG_arg_fail(1)) SWIG_fail
;
3969 arg2
= (short)(SWIG_As_short(obj1
));
3970 if (SWIG_arg_fail(2)) SWIG_fail
;
3973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3974 (arg1
)->MacSetTheme(arg2
);
3976 wxPyEndAllowThreads(__tstate
);
3977 if (PyErr_Occurred()) SWIG_fail
;
3979 Py_INCREF(Py_None
); resultobj
= Py_None
;
3986 static PyObject
* Brush_swigregister(PyObject
*, PyObject
*args
) {
3988 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3989 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
3991 return Py_BuildValue((char *)"");
3993 static PyObject
*_wrap_new_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3994 PyObject
*resultobj
;
3995 wxString
*arg1
= 0 ;
3996 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
3998 bool temp1
= false ;
3999 PyObject
* obj0
= 0 ;
4000 PyObject
* obj1
= 0 ;
4002 (char *) "name",(char *) "type", NULL
4005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4007 arg1
= wxString_in_helper(obj0
);
4008 if (arg1
== NULL
) SWIG_fail
;
4013 arg2
= (wxBitmapType
)(SWIG_As_int(obj1
));
4014 if (SWIG_arg_fail(2)) SWIG_fail
;
4018 if (!wxPyCheckForApp()) SWIG_fail
;
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) SWIG_fail
;
4025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4040 static PyObject
*_wrap_delete_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4041 PyObject
*resultobj
;
4042 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4043 PyObject
* obj0
= 0 ;
4045 (char *) "self", NULL
4048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
4049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4050 if (SWIG_arg_fail(1)) SWIG_fail
;
4052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4055 wxPyEndAllowThreads(__tstate
);
4056 if (PyErr_Occurred()) SWIG_fail
;
4058 Py_INCREF(Py_None
); resultobj
= Py_None
;
4065 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4066 PyObject
*resultobj
;
4069 int arg3
= (int) -1 ;
4071 PyObject
* obj0
= 0 ;
4072 PyObject
* obj1
= 0 ;
4073 PyObject
* obj2
= 0 ;
4075 (char *) "width",(char *) "height",(char *) "depth", NULL
4078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4080 arg1
= (int)(SWIG_As_int(obj0
));
4081 if (SWIG_arg_fail(1)) SWIG_fail
;
4084 arg2
= (int)(SWIG_As_int(obj1
));
4085 if (SWIG_arg_fail(2)) SWIG_fail
;
4089 arg3
= (int)(SWIG_As_int(obj2
));
4090 if (SWIG_arg_fail(3)) SWIG_fail
;
4094 if (!wxPyCheckForApp()) SWIG_fail
;
4095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4096 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
4098 wxPyEndAllowThreads(__tstate
);
4099 if (PyErr_Occurred()) SWIG_fail
;
4101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4108 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4109 PyObject
*resultobj
;
4112 PyObject
* obj0
= 0 ;
4114 (char *) "icon", NULL
4117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
4119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4120 if (SWIG_arg_fail(1)) SWIG_fail
;
4122 SWIG_null_ref("wxIcon");
4124 if (SWIG_arg_fail(1)) SWIG_fail
;
4127 if (!wxPyCheckForApp()) SWIG_fail
;
4128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4129 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
4131 wxPyEndAllowThreads(__tstate
);
4132 if (PyErr_Occurred()) SWIG_fail
;
4134 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4141 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4142 PyObject
*resultobj
;
4144 int arg2
= (int) -1 ;
4146 PyObject
* obj0
= 0 ;
4147 PyObject
* obj1
= 0 ;
4149 (char *) "image",(char *) "depth", NULL
4152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
4154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
4155 if (SWIG_arg_fail(1)) SWIG_fail
;
4157 SWIG_null_ref("wxImage");
4159 if (SWIG_arg_fail(1)) SWIG_fail
;
4163 arg2
= (int)(SWIG_As_int(obj1
));
4164 if (SWIG_arg_fail(2)) SWIG_fail
;
4168 if (!wxPyCheckForApp()) SWIG_fail
;
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
4172 wxPyEndAllowThreads(__tstate
);
4173 if (PyErr_Occurred()) SWIG_fail
;
4175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4182 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4183 PyObject
*resultobj
;
4184 PyObject
*arg1
= (PyObject
*) 0 ;
4186 PyObject
* obj0
= 0 ;
4188 (char *) "listOfStrings", NULL
4191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
4194 if (!wxPyCheckForApp()) SWIG_fail
;
4195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4196 result
= (wxBitmap
*)new_wxBitmap(arg1
);
4198 wxPyEndAllowThreads(__tstate
);
4199 if (PyErr_Occurred()) SWIG_fail
;
4201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4208 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4209 PyObject
*resultobj
;
4210 PyObject
*arg1
= (PyObject
*) 0 ;
4213 int arg4
= (int) 1 ;
4215 PyObject
* obj0
= 0 ;
4216 PyObject
* obj1
= 0 ;
4217 PyObject
* obj2
= 0 ;
4218 PyObject
* obj3
= 0 ;
4220 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4226 arg2
= (int)(SWIG_As_int(obj1
));
4227 if (SWIG_arg_fail(2)) SWIG_fail
;
4230 arg3
= (int)(SWIG_As_int(obj2
));
4231 if (SWIG_arg_fail(3)) SWIG_fail
;
4235 arg4
= (int)(SWIG_As_int(obj3
));
4236 if (SWIG_arg_fail(4)) SWIG_fail
;
4240 if (!wxPyCheckForApp()) SWIG_fail
;
4241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4242 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
4244 wxPyEndAllowThreads(__tstate
);
4245 if (PyErr_Occurred()) SWIG_fail
;
4247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4254 static PyObject
*_wrap_Bitmap_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4255 PyObject
*resultobj
;
4256 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4258 PyObject
* obj0
= 0 ;
4260 (char *) "self", NULL
4263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
4264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4265 if (SWIG_arg_fail(1)) SWIG_fail
;
4267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4268 result
= (bool)(arg1
)->Ok();
4270 wxPyEndAllowThreads(__tstate
);
4271 if (PyErr_Occurred()) SWIG_fail
;
4274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4282 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4283 PyObject
*resultobj
;
4284 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4286 PyObject
* obj0
= 0 ;
4288 (char *) "self", NULL
4291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
4292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4293 if (SWIG_arg_fail(1)) SWIG_fail
;
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4296 result
= (int)(arg1
)->GetWidth();
4298 wxPyEndAllowThreads(__tstate
);
4299 if (PyErr_Occurred()) SWIG_fail
;
4302 resultobj
= SWIG_From_int((int)(result
));
4310 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
*resultobj
;
4312 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4314 PyObject
* obj0
= 0 ;
4316 (char *) "self", NULL
4319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
4320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4321 if (SWIG_arg_fail(1)) SWIG_fail
;
4323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4324 result
= (int)(arg1
)->GetHeight();
4326 wxPyEndAllowThreads(__tstate
);
4327 if (PyErr_Occurred()) SWIG_fail
;
4330 resultobj
= SWIG_From_int((int)(result
));
4338 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4339 PyObject
*resultobj
;
4340 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4342 PyObject
* obj0
= 0 ;
4344 (char *) "self", NULL
4347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
4348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4349 if (SWIG_arg_fail(1)) SWIG_fail
;
4351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4352 result
= (int)(arg1
)->GetDepth();
4354 wxPyEndAllowThreads(__tstate
);
4355 if (PyErr_Occurred()) SWIG_fail
;
4358 resultobj
= SWIG_From_int((int)(result
));
4366 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4367 PyObject
*resultobj
;
4368 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4370 PyObject
* obj0
= 0 ;
4372 (char *) "self", NULL
4375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
4376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4377 if (SWIG_arg_fail(1)) SWIG_fail
;
4379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4380 result
= wxBitmap_GetSize(arg1
);
4382 wxPyEndAllowThreads(__tstate
);
4383 if (PyErr_Occurred()) SWIG_fail
;
4387 resultptr
= new wxSize((wxSize
&)(result
));
4388 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4396 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4397 PyObject
*resultobj
;
4398 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4399 SwigValueWrapper
<wxImage
> result
;
4400 PyObject
* obj0
= 0 ;
4402 (char *) "self", NULL
4405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
4406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4407 if (SWIG_arg_fail(1)) SWIG_fail
;
4409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4410 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
4412 wxPyEndAllowThreads(__tstate
);
4413 if (PyErr_Occurred()) SWIG_fail
;
4416 wxImage
* resultptr
;
4417 resultptr
= new wxImage((wxImage
&)(result
));
4418 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
4426 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4427 PyObject
*resultobj
;
4428 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4430 PyObject
* obj0
= 0 ;
4432 (char *) "self", NULL
4435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
4436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4437 if (SWIG_arg_fail(1)) SWIG_fail
;
4439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4440 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
4442 wxPyEndAllowThreads(__tstate
);
4443 if (PyErr_Occurred()) SWIG_fail
;
4445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
4452 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4453 PyObject
*resultobj
;
4454 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4455 wxMask
*arg2
= (wxMask
*) 0 ;
4456 PyObject
* obj0
= 0 ;
4457 PyObject
* obj1
= 0 ;
4459 (char *) "self",(char *) "mask", NULL
4462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
4463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4464 if (SWIG_arg_fail(1)) SWIG_fail
;
4465 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMask
, SWIG_POINTER_EXCEPTION
| 0);
4466 if (SWIG_arg_fail(2)) SWIG_fail
;
4468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4469 (arg1
)->SetMask(arg2
);
4471 wxPyEndAllowThreads(__tstate
);
4472 if (PyErr_Occurred()) SWIG_fail
;
4474 Py_INCREF(Py_None
); resultobj
= Py_None
;
4481 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4482 PyObject
*resultobj
;
4483 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4484 wxColour
*arg2
= 0 ;
4486 PyObject
* obj0
= 0 ;
4487 PyObject
* obj1
= 0 ;
4489 (char *) "self",(char *) "colour", NULL
4492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
4493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4494 if (SWIG_arg_fail(1)) SWIG_fail
;
4497 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4501 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
4503 wxPyEndAllowThreads(__tstate
);
4504 if (PyErr_Occurred()) SWIG_fail
;
4506 Py_INCREF(Py_None
); resultobj
= Py_None
;
4513 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4514 PyObject
*resultobj
;
4515 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4517 SwigValueWrapper
<wxBitmap
> result
;
4519 PyObject
* obj0
= 0 ;
4520 PyObject
* obj1
= 0 ;
4522 (char *) "self",(char *) "rect", NULL
4525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4527 if (SWIG_arg_fail(1)) SWIG_fail
;
4530 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4534 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
4536 wxPyEndAllowThreads(__tstate
);
4537 if (PyErr_Occurred()) SWIG_fail
;
4540 wxBitmap
* resultptr
;
4541 resultptr
= new wxBitmap((wxBitmap
&)(result
));
4542 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4550 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4551 PyObject
*resultobj
;
4552 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4553 wxString
*arg2
= 0 ;
4555 wxPalette
*arg4
= (wxPalette
*) NULL
;
4557 bool temp2
= false ;
4558 PyObject
* obj0
= 0 ;
4559 PyObject
* obj1
= 0 ;
4560 PyObject
* obj2
= 0 ;
4561 PyObject
* obj3
= 0 ;
4563 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
4566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4568 if (SWIG_arg_fail(1)) SWIG_fail
;
4570 arg2
= wxString_in_helper(obj1
);
4571 if (arg2
== NULL
) SWIG_fail
;
4575 arg3
= (wxBitmapType
)(SWIG_As_int(obj2
));
4576 if (SWIG_arg_fail(3)) SWIG_fail
;
4579 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
4580 if (SWIG_arg_fail(4)) SWIG_fail
;
4583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4584 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
4586 wxPyEndAllowThreads(__tstate
);
4587 if (PyErr_Occurred()) SWIG_fail
;
4590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4606 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4607 PyObject
*resultobj
;
4608 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4609 wxString
*arg2
= 0 ;
4612 bool temp2
= false ;
4613 PyObject
* obj0
= 0 ;
4614 PyObject
* obj1
= 0 ;
4615 PyObject
* obj2
= 0 ;
4617 (char *) "self",(char *) "name",(char *) "type", NULL
4620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4622 if (SWIG_arg_fail(1)) SWIG_fail
;
4624 arg2
= wxString_in_helper(obj1
);
4625 if (arg2
== NULL
) SWIG_fail
;
4629 arg3
= (wxBitmapType
)(SWIG_As_int(obj2
));
4630 if (SWIG_arg_fail(3)) SWIG_fail
;
4633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4634 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
4636 wxPyEndAllowThreads(__tstate
);
4637 if (PyErr_Occurred()) SWIG_fail
;
4640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4656 static PyObject
*_wrap_Bitmap_GetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4657 PyObject
*resultobj
;
4658 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4660 PyObject
* obj0
= 0 ;
4662 (char *) "self", NULL
4665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetPalette",kwnames
,&obj0
)) goto fail
;
4666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4667 if (SWIG_arg_fail(1)) SWIG_fail
;
4669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4670 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
4672 wxPyEndAllowThreads(__tstate
);
4673 if (PyErr_Occurred()) SWIG_fail
;
4675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 0);
4682 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4683 PyObject
*resultobj
;
4684 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4687 PyObject
* obj0
= 0 ;
4688 PyObject
* obj1
= 0 ;
4690 (char *) "self",(char *) "icon", NULL
4693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4695 if (SWIG_arg_fail(1)) SWIG_fail
;
4697 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4698 if (SWIG_arg_fail(2)) SWIG_fail
;
4700 SWIG_null_ref("wxIcon");
4702 if (SWIG_arg_fail(2)) SWIG_fail
;
4705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4706 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
4708 wxPyEndAllowThreads(__tstate
);
4709 if (PyErr_Occurred()) SWIG_fail
;
4712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4720 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4721 PyObject
*resultobj
;
4722 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4724 PyObject
* obj0
= 0 ;
4725 PyObject
* obj1
= 0 ;
4727 (char *) "self",(char *) "height", NULL
4730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4732 if (SWIG_arg_fail(1)) SWIG_fail
;
4734 arg2
= (int)(SWIG_As_int(obj1
));
4735 if (SWIG_arg_fail(2)) SWIG_fail
;
4738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4739 (arg1
)->SetHeight(arg2
);
4741 wxPyEndAllowThreads(__tstate
);
4742 if (PyErr_Occurred()) SWIG_fail
;
4744 Py_INCREF(Py_None
); resultobj
= Py_None
;
4751 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4752 PyObject
*resultobj
;
4753 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4755 PyObject
* obj0
= 0 ;
4756 PyObject
* obj1
= 0 ;
4758 (char *) "self",(char *) "width", NULL
4761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4763 if (SWIG_arg_fail(1)) SWIG_fail
;
4765 arg2
= (int)(SWIG_As_int(obj1
));
4766 if (SWIG_arg_fail(2)) SWIG_fail
;
4769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4770 (arg1
)->SetWidth(arg2
);
4772 wxPyEndAllowThreads(__tstate
);
4773 if (PyErr_Occurred()) SWIG_fail
;
4775 Py_INCREF(Py_None
); resultobj
= Py_None
;
4782 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4783 PyObject
*resultobj
;
4784 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4786 PyObject
* obj0
= 0 ;
4787 PyObject
* obj1
= 0 ;
4789 (char *) "self",(char *) "depth", NULL
4792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4794 if (SWIG_arg_fail(1)) SWIG_fail
;
4796 arg2
= (int)(SWIG_As_int(obj1
));
4797 if (SWIG_arg_fail(2)) SWIG_fail
;
4800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4801 (arg1
)->SetDepth(arg2
);
4803 wxPyEndAllowThreads(__tstate
);
4804 if (PyErr_Occurred()) SWIG_fail
;
4806 Py_INCREF(Py_None
); resultobj
= Py_None
;
4813 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4814 PyObject
*resultobj
;
4815 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4818 PyObject
* obj0
= 0 ;
4819 PyObject
* obj1
= 0 ;
4821 (char *) "self",(char *) "size", NULL
4824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4826 if (SWIG_arg_fail(1)) SWIG_fail
;
4829 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4833 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
4835 wxPyEndAllowThreads(__tstate
);
4836 if (PyErr_Occurred()) SWIG_fail
;
4838 Py_INCREF(Py_None
); resultobj
= Py_None
;
4845 static PyObject
*_wrap_Bitmap___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4846 PyObject
*resultobj
;
4847 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4848 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
4850 PyObject
* obj0
= 0 ;
4851 PyObject
* obj1
= 0 ;
4853 (char *) "self",(char *) "other", NULL
4856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4858 if (SWIG_arg_fail(1)) SWIG_fail
;
4859 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4860 if (SWIG_arg_fail(2)) SWIG_fail
;
4862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4863 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
4865 wxPyEndAllowThreads(__tstate
);
4866 if (PyErr_Occurred()) SWIG_fail
;
4869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4877 static PyObject
*_wrap_Bitmap___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4878 PyObject
*resultobj
;
4879 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4880 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
4882 PyObject
* obj0
= 0 ;
4883 PyObject
* obj1
= 0 ;
4885 (char *) "self",(char *) "other", NULL
4888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4890 if (SWIG_arg_fail(1)) SWIG_fail
;
4891 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4892 if (SWIG_arg_fail(2)) SWIG_fail
;
4894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4895 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
4897 wxPyEndAllowThreads(__tstate
);
4898 if (PyErr_Occurred()) SWIG_fail
;
4901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4909 static PyObject
* Bitmap_swigregister(PyObject
*, PyObject
*args
) {
4911 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4912 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
4914 return Py_BuildValue((char *)"");
4916 static PyObject
*_wrap_new_Mask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4917 PyObject
*resultobj
;
4918 wxBitmap
*arg1
= 0 ;
4919 wxColour
const &arg2_defvalue
= wxNullColour
;
4920 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
4923 PyObject
* obj0
= 0 ;
4924 PyObject
* obj1
= 0 ;
4926 (char *) "bitmap",(char *) "colour", NULL
4929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
4931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4932 if (SWIG_arg_fail(1)) SWIG_fail
;
4934 SWIG_null_ref("wxBitmap");
4936 if (SWIG_arg_fail(1)) SWIG_fail
;
4941 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4945 if (!wxPyCheckForApp()) SWIG_fail
;
4946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4947 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
4949 wxPyEndAllowThreads(__tstate
);
4950 if (PyErr_Occurred()) SWIG_fail
;
4952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
4959 static PyObject
* Mask_swigregister(PyObject
*, PyObject
*args
) {
4961 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4962 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
4964 return Py_BuildValue((char *)"");
4966 static PyObject
*_wrap_new_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4967 PyObject
*resultobj
;
4968 wxString
*arg1
= 0 ;
4970 int arg3
= (int) -1 ;
4971 int arg4
= (int) -1 ;
4973 bool temp1
= false ;
4974 PyObject
* obj0
= 0 ;
4975 PyObject
* obj1
= 0 ;
4976 PyObject
* obj2
= 0 ;
4977 PyObject
* obj3
= 0 ;
4979 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
4982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4984 arg1
= wxString_in_helper(obj0
);
4985 if (arg1
== NULL
) SWIG_fail
;
4989 arg2
= (wxBitmapType
)(SWIG_As_int(obj1
));
4990 if (SWIG_arg_fail(2)) SWIG_fail
;
4994 arg3
= (int)(SWIG_As_int(obj2
));
4995 if (SWIG_arg_fail(3)) SWIG_fail
;
5000 arg4
= (int)(SWIG_As_int(obj3
));
5001 if (SWIG_arg_fail(4)) SWIG_fail
;
5005 if (!wxPyCheckForApp()) SWIG_fail
;
5006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5007 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
5009 wxPyEndAllowThreads(__tstate
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5027 static PyObject
*_wrap_delete_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5028 PyObject
*resultobj
;
5029 wxIcon
*arg1
= (wxIcon
*) 0 ;
5030 PyObject
* obj0
= 0 ;
5032 (char *) "self", NULL
5035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
5036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5037 if (SWIG_arg_fail(1)) SWIG_fail
;
5039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5042 wxPyEndAllowThreads(__tstate
);
5043 if (PyErr_Occurred()) SWIG_fail
;
5045 Py_INCREF(Py_None
); resultobj
= Py_None
;
5052 static PyObject
*_wrap_new_EmptyIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5053 PyObject
*resultobj
;
5059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
5061 if (!wxPyCheckForApp()) SWIG_fail
;
5062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5063 result
= (wxIcon
*)new wxIcon();
5065 wxPyEndAllowThreads(__tstate
);
5066 if (PyErr_Occurred()) SWIG_fail
;
5068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5075 static PyObject
*_wrap_new_IconFromLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5076 PyObject
*resultobj
;
5077 wxIconLocation
*arg1
= 0 ;
5079 PyObject
* obj0
= 0 ;
5081 (char *) "loc", NULL
5084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
5086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5087 if (SWIG_arg_fail(1)) SWIG_fail
;
5089 SWIG_null_ref("wxIconLocation");
5091 if (SWIG_arg_fail(1)) SWIG_fail
;
5094 if (!wxPyCheckForApp()) SWIG_fail
;
5095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5096 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
5098 wxPyEndAllowThreads(__tstate
);
5099 if (PyErr_Occurred()) SWIG_fail
;
5101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5108 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5109 PyObject
*resultobj
;
5110 wxBitmap
*arg1
= 0 ;
5112 PyObject
* obj0
= 0 ;
5114 (char *) "bmp", NULL
5117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
5119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5120 if (SWIG_arg_fail(1)) SWIG_fail
;
5122 SWIG_null_ref("wxBitmap");
5124 if (SWIG_arg_fail(1)) SWIG_fail
;
5127 if (!wxPyCheckForApp()) SWIG_fail
;
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5129 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
5131 wxPyEndAllowThreads(__tstate
);
5132 if (PyErr_Occurred()) SWIG_fail
;
5134 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5141 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
*resultobj
;
5143 PyObject
*arg1
= (PyObject
*) 0 ;
5145 PyObject
* obj0
= 0 ;
5147 (char *) "listOfStrings", NULL
5150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
5153 if (!wxPyCheckForApp()) SWIG_fail
;
5154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5155 result
= (wxIcon
*)new_wxIcon(arg1
);
5157 wxPyEndAllowThreads(__tstate
);
5158 if (PyErr_Occurred()) SWIG_fail
;
5160 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5167 static PyObject
*_wrap_Icon_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5168 PyObject
*resultobj
;
5169 wxIcon
*arg1
= (wxIcon
*) 0 ;
5171 PyObject
* obj0
= 0 ;
5173 (char *) "self", NULL
5176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
5177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5178 if (SWIG_arg_fail(1)) SWIG_fail
;
5180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5181 result
= (bool)(arg1
)->Ok();
5183 wxPyEndAllowThreads(__tstate
);
5184 if (PyErr_Occurred()) SWIG_fail
;
5187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5195 static PyObject
*_wrap_Icon_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5196 PyObject
*resultobj
;
5197 wxIcon
*arg1
= (wxIcon
*) 0 ;
5199 PyObject
* obj0
= 0 ;
5201 (char *) "self", NULL
5204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
5205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5206 if (SWIG_arg_fail(1)) SWIG_fail
;
5208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5209 result
= (int)(arg1
)->GetWidth();
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5215 resultobj
= SWIG_From_int((int)(result
));
5223 static PyObject
*_wrap_Icon_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5224 PyObject
*resultobj
;
5225 wxIcon
*arg1
= (wxIcon
*) 0 ;
5227 PyObject
* obj0
= 0 ;
5229 (char *) "self", NULL
5232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
5233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5234 if (SWIG_arg_fail(1)) SWIG_fail
;
5236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5237 result
= (int)(arg1
)->GetHeight();
5239 wxPyEndAllowThreads(__tstate
);
5240 if (PyErr_Occurred()) SWIG_fail
;
5243 resultobj
= SWIG_From_int((int)(result
));
5251 static PyObject
*_wrap_Icon_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5252 PyObject
*resultobj
;
5253 wxIcon
*arg1
= (wxIcon
*) 0 ;
5255 PyObject
* obj0
= 0 ;
5257 (char *) "self", NULL
5260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
5261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5262 if (SWIG_arg_fail(1)) SWIG_fail
;
5264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5265 result
= (int)(arg1
)->GetDepth();
5267 wxPyEndAllowThreads(__tstate
);
5268 if (PyErr_Occurred()) SWIG_fail
;
5271 resultobj
= SWIG_From_int((int)(result
));
5279 static PyObject
*_wrap_Icon_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5280 PyObject
*resultobj
;
5281 wxIcon
*arg1
= (wxIcon
*) 0 ;
5283 PyObject
* obj0
= 0 ;
5284 PyObject
* obj1
= 0 ;
5286 (char *) "self",(char *) "w", NULL
5289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5291 if (SWIG_arg_fail(1)) SWIG_fail
;
5293 arg2
= (int)(SWIG_As_int(obj1
));
5294 if (SWIG_arg_fail(2)) SWIG_fail
;
5297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5298 (arg1
)->SetWidth(arg2
);
5300 wxPyEndAllowThreads(__tstate
);
5301 if (PyErr_Occurred()) SWIG_fail
;
5303 Py_INCREF(Py_None
); resultobj
= Py_None
;
5310 static PyObject
*_wrap_Icon_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5311 PyObject
*resultobj
;
5312 wxIcon
*arg1
= (wxIcon
*) 0 ;
5314 PyObject
* obj0
= 0 ;
5315 PyObject
* obj1
= 0 ;
5317 (char *) "self",(char *) "h", NULL
5320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5322 if (SWIG_arg_fail(1)) SWIG_fail
;
5324 arg2
= (int)(SWIG_As_int(obj1
));
5325 if (SWIG_arg_fail(2)) SWIG_fail
;
5328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5329 (arg1
)->SetHeight(arg2
);
5331 wxPyEndAllowThreads(__tstate
);
5332 if (PyErr_Occurred()) SWIG_fail
;
5334 Py_INCREF(Py_None
); resultobj
= Py_None
;
5341 static PyObject
*_wrap_Icon_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5342 PyObject
*resultobj
;
5343 wxIcon
*arg1
= (wxIcon
*) 0 ;
5345 PyObject
* obj0
= 0 ;
5346 PyObject
* obj1
= 0 ;
5348 (char *) "self",(char *) "d", NULL
5351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
5352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5353 if (SWIG_arg_fail(1)) SWIG_fail
;
5355 arg2
= (int)(SWIG_As_int(obj1
));
5356 if (SWIG_arg_fail(2)) SWIG_fail
;
5359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5360 (arg1
)->SetDepth(arg2
);
5362 wxPyEndAllowThreads(__tstate
);
5363 if (PyErr_Occurred()) SWIG_fail
;
5365 Py_INCREF(Py_None
); resultobj
= Py_None
;
5372 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5373 PyObject
*resultobj
;
5374 wxIcon
*arg1
= (wxIcon
*) 0 ;
5375 wxBitmap
*arg2
= 0 ;
5376 PyObject
* obj0
= 0 ;
5377 PyObject
* obj1
= 0 ;
5379 (char *) "self",(char *) "bmp", NULL
5382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5384 if (SWIG_arg_fail(1)) SWIG_fail
;
5386 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5387 if (SWIG_arg_fail(2)) SWIG_fail
;
5389 SWIG_null_ref("wxBitmap");
5391 if (SWIG_arg_fail(2)) SWIG_fail
;
5394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5395 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
5397 wxPyEndAllowThreads(__tstate
);
5398 if (PyErr_Occurred()) SWIG_fail
;
5400 Py_INCREF(Py_None
); resultobj
= Py_None
;
5407 static PyObject
* Icon_swigregister(PyObject
*, PyObject
*args
) {
5409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5410 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
5412 return Py_BuildValue((char *)"");
5414 static PyObject
*_wrap_new_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5415 PyObject
*resultobj
;
5416 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
5417 int arg2
= (int) 0 ;
5418 wxIconLocation
*result
;
5419 bool temp1
= false ;
5420 PyObject
* obj0
= 0 ;
5421 PyObject
* obj1
= 0 ;
5423 (char *) "filename",(char *) "num", NULL
5426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
5429 arg1
= wxString_in_helper(obj0
);
5430 if (arg1
== NULL
) SWIG_fail
;
5436 arg2
= (int)(SWIG_As_int(obj1
));
5437 if (SWIG_arg_fail(2)) SWIG_fail
;
5441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5442 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
5444 wxPyEndAllowThreads(__tstate
);
5445 if (PyErr_Occurred()) SWIG_fail
;
5447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
5462 static PyObject
*_wrap_delete_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
*resultobj
;
5464 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5465 PyObject
* obj0
= 0 ;
5467 (char *) "self", NULL
5470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
5471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5472 if (SWIG_arg_fail(1)) SWIG_fail
;
5474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5477 wxPyEndAllowThreads(__tstate
);
5478 if (PyErr_Occurred()) SWIG_fail
;
5480 Py_INCREF(Py_None
); resultobj
= Py_None
;
5487 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5488 PyObject
*resultobj
;
5489 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5491 PyObject
* obj0
= 0 ;
5493 (char *) "self", NULL
5496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
5497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5498 if (SWIG_arg_fail(1)) SWIG_fail
;
5500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5501 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
5503 wxPyEndAllowThreads(__tstate
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5515 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5516 PyObject
*resultobj
;
5517 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5518 wxString
*arg2
= 0 ;
5519 bool temp2
= false ;
5520 PyObject
* obj0
= 0 ;
5521 PyObject
* obj1
= 0 ;
5523 (char *) "self",(char *) "filename", NULL
5526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
5527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5528 if (SWIG_arg_fail(1)) SWIG_fail
;
5530 arg2
= wxString_in_helper(obj1
);
5531 if (arg2
== NULL
) SWIG_fail
;
5535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5536 (arg1
)->SetFileName((wxString
const &)*arg2
);
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5541 Py_INCREF(Py_None
); resultobj
= Py_None
;
5556 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5557 PyObject
*resultobj
;
5558 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5560 PyObject
* obj0
= 0 ;
5562 (char *) "self", NULL
5565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
5566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5567 if (SWIG_arg_fail(1)) SWIG_fail
;
5569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5571 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
5572 result
= (wxString
*) &_result_ref
;
5575 wxPyEndAllowThreads(__tstate
);
5576 if (PyErr_Occurred()) SWIG_fail
;
5580 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5582 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5591 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5592 PyObject
*resultobj
;
5593 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5595 PyObject
* obj0
= 0 ;
5596 PyObject
* obj1
= 0 ;
5598 (char *) "self",(char *) "num", NULL
5601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
5602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5603 if (SWIG_arg_fail(1)) SWIG_fail
;
5605 arg2
= (int)(SWIG_As_int(obj1
));
5606 if (SWIG_arg_fail(2)) SWIG_fail
;
5609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5610 wxIconLocation_SetIndex(arg1
,arg2
);
5612 wxPyEndAllowThreads(__tstate
);
5613 if (PyErr_Occurred()) SWIG_fail
;
5615 Py_INCREF(Py_None
); resultobj
= Py_None
;
5622 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5623 PyObject
*resultobj
;
5624 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5626 PyObject
* obj0
= 0 ;
5628 (char *) "self", NULL
5631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
5632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5633 if (SWIG_arg_fail(1)) SWIG_fail
;
5635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5636 result
= (int)wxIconLocation_GetIndex(arg1
);
5638 wxPyEndAllowThreads(__tstate
);
5639 if (PyErr_Occurred()) SWIG_fail
;
5642 resultobj
= SWIG_From_int((int)(result
));
5650 static PyObject
* IconLocation_swigregister(PyObject
*, PyObject
*args
) {
5652 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5653 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
5655 return Py_BuildValue((char *)"");
5657 static PyObject
*_wrap_new_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5658 PyObject
*resultobj
;
5659 wxIconBundle
*result
;
5664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
5666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5667 result
= (wxIconBundle
*)new wxIconBundle();
5669 wxPyEndAllowThreads(__tstate
);
5670 if (PyErr_Occurred()) SWIG_fail
;
5672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
5679 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5680 PyObject
*resultobj
;
5681 wxString
*arg1
= 0 ;
5683 wxIconBundle
*result
;
5684 bool temp1
= false ;
5685 PyObject
* obj0
= 0 ;
5686 PyObject
* obj1
= 0 ;
5688 (char *) "file",(char *) "type", NULL
5691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5693 arg1
= wxString_in_helper(obj0
);
5694 if (arg1
== NULL
) SWIG_fail
;
5698 arg2
= (long)(SWIG_As_long(obj1
));
5699 if (SWIG_arg_fail(2)) SWIG_fail
;
5702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5703 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
5705 wxPyEndAllowThreads(__tstate
);
5706 if (PyErr_Occurred()) SWIG_fail
;
5708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
5723 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5724 PyObject
*resultobj
;
5726 wxIconBundle
*result
;
5727 PyObject
* obj0
= 0 ;
5729 (char *) "icon", NULL
5732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
5734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5735 if (SWIG_arg_fail(1)) SWIG_fail
;
5737 SWIG_null_ref("wxIcon");
5739 if (SWIG_arg_fail(1)) SWIG_fail
;
5742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5743 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
5745 wxPyEndAllowThreads(__tstate
);
5746 if (PyErr_Occurred()) SWIG_fail
;
5748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
5755 static PyObject
*_wrap_delete_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5756 PyObject
*resultobj
;
5757 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
5758 PyObject
* obj0
= 0 ;
5760 (char *) "self", NULL
5763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
5764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
5765 if (SWIG_arg_fail(1)) SWIG_fail
;
5767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5770 wxPyEndAllowThreads(__tstate
);
5771 if (PyErr_Occurred()) SWIG_fail
;
5773 Py_INCREF(Py_None
); resultobj
= Py_None
;
5780 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5781 PyObject
*resultobj
;
5782 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
5784 PyObject
* obj0
= 0 ;
5785 PyObject
* obj1
= 0 ;
5787 (char *) "self",(char *) "icon", NULL
5790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
5792 if (SWIG_arg_fail(1)) SWIG_fail
;
5794 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5795 if (SWIG_arg_fail(2)) SWIG_fail
;
5797 SWIG_null_ref("wxIcon");
5799 if (SWIG_arg_fail(2)) SWIG_fail
;
5802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5803 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
5805 wxPyEndAllowThreads(__tstate
);
5806 if (PyErr_Occurred()) SWIG_fail
;
5808 Py_INCREF(Py_None
); resultobj
= Py_None
;
5815 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5816 PyObject
*resultobj
;
5817 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
5818 wxString
*arg2
= 0 ;
5820 bool temp2
= false ;
5821 PyObject
* obj0
= 0 ;
5822 PyObject
* obj1
= 0 ;
5823 PyObject
* obj2
= 0 ;
5825 (char *) "self",(char *) "file",(char *) "type", NULL
5828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
5830 if (SWIG_arg_fail(1)) SWIG_fail
;
5832 arg2
= wxString_in_helper(obj1
);
5833 if (arg2
== NULL
) SWIG_fail
;
5837 arg3
= (long)(SWIG_As_long(obj2
));
5838 if (SWIG_arg_fail(3)) SWIG_fail
;
5841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5842 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
5844 wxPyEndAllowThreads(__tstate
);
5845 if (PyErr_Occurred()) SWIG_fail
;
5847 Py_INCREF(Py_None
); resultobj
= Py_None
;
5862 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5863 PyObject
*resultobj
;
5864 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
5868 PyObject
* obj0
= 0 ;
5869 PyObject
* obj1
= 0 ;
5871 (char *) "self",(char *) "size", NULL
5874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
5876 if (SWIG_arg_fail(1)) SWIG_fail
;
5879 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5884 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
5885 result
= (wxIcon
*) &_result_ref
;
5888 wxPyEndAllowThreads(__tstate
);
5889 if (PyErr_Occurred()) SWIG_fail
;
5892 wxIcon
* resultptr
= new wxIcon(*result
);
5893 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
5901 static PyObject
* IconBundle_swigregister(PyObject
*, PyObject
*args
) {
5903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5904 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
5906 return Py_BuildValue((char *)"");
5908 static PyObject
*_wrap_new_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5909 PyObject
*resultobj
;
5910 wxString
*arg1
= (wxString
*) 0 ;
5912 int arg3
= (int) 0 ;
5913 int arg4
= (int) 0 ;
5915 bool temp1
= false ;
5916 PyObject
* obj0
= 0 ;
5917 PyObject
* obj1
= 0 ;
5918 PyObject
* obj2
= 0 ;
5919 PyObject
* obj3
= 0 ;
5921 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
5924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5926 arg1
= wxString_in_helper(obj0
);
5927 if (arg1
== NULL
) SWIG_fail
;
5931 arg2
= (long)(SWIG_As_long(obj1
));
5932 if (SWIG_arg_fail(2)) SWIG_fail
;
5936 arg3
= (int)(SWIG_As_int(obj2
));
5937 if (SWIG_arg_fail(3)) SWIG_fail
;
5942 arg4
= (int)(SWIG_As_int(obj3
));
5943 if (SWIG_arg_fail(4)) SWIG_fail
;
5947 if (!wxPyCheckForApp()) SWIG_fail
;
5948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5949 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
5951 wxPyEndAllowThreads(__tstate
);
5952 if (PyErr_Occurred()) SWIG_fail
;
5954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
5969 static PyObject
*_wrap_delete_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5970 PyObject
*resultobj
;
5971 wxCursor
*arg1
= (wxCursor
*) 0 ;
5972 PyObject
* obj0
= 0 ;
5974 (char *) "self", NULL
5977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
5978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5979 if (SWIG_arg_fail(1)) SWIG_fail
;
5981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5984 wxPyEndAllowThreads(__tstate
);
5985 if (PyErr_Occurred()) SWIG_fail
;
5987 Py_INCREF(Py_None
); resultobj
= Py_None
;
5994 static PyObject
*_wrap_new_StockCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5995 PyObject
*resultobj
;
5998 PyObject
* obj0
= 0 ;
6003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
6005 arg1
= (int)(SWIG_As_int(obj0
));
6006 if (SWIG_arg_fail(1)) SWIG_fail
;
6009 if (!wxPyCheckForApp()) SWIG_fail
;
6010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6011 result
= (wxCursor
*)new wxCursor(arg1
);
6013 wxPyEndAllowThreads(__tstate
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6023 static PyObject
*_wrap_new_CursorFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6024 PyObject
*resultobj
;
6027 PyObject
* obj0
= 0 ;
6029 (char *) "image", NULL
6032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
6034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
6035 if (SWIG_arg_fail(1)) SWIG_fail
;
6037 SWIG_null_ref("wxImage");
6039 if (SWIG_arg_fail(1)) SWIG_fail
;
6042 if (!wxPyCheckForApp()) SWIG_fail
;
6043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6044 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
6046 wxPyEndAllowThreads(__tstate
);
6047 if (PyErr_Occurred()) SWIG_fail
;
6049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6056 static PyObject
*_wrap_Cursor_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6057 PyObject
*resultobj
;
6058 wxCursor
*arg1
= (wxCursor
*) 0 ;
6060 PyObject
* obj0
= 0 ;
6062 (char *) "self", NULL
6065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
6066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6067 if (SWIG_arg_fail(1)) SWIG_fail
;
6069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6070 result
= (bool)(arg1
)->Ok();
6072 wxPyEndAllowThreads(__tstate
);
6073 if (PyErr_Occurred()) SWIG_fail
;
6076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6084 static PyObject
* Cursor_swigregister(PyObject
*, PyObject
*args
) {
6086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6087 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
6089 return Py_BuildValue((char *)"");
6091 static PyObject
*_wrap_new_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6092 PyObject
*resultobj
;
6093 int arg1
= (int) 0 ;
6094 int arg2
= (int) 0 ;
6095 int arg3
= (int) 0 ;
6096 int arg4
= (int) 0 ;
6098 PyObject
* obj0
= 0 ;
6099 PyObject
* obj1
= 0 ;
6100 PyObject
* obj2
= 0 ;
6101 PyObject
* obj3
= 0 ;
6103 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6109 arg1
= (int)(SWIG_As_int(obj0
));
6110 if (SWIG_arg_fail(1)) SWIG_fail
;
6115 arg2
= (int)(SWIG_As_int(obj1
));
6116 if (SWIG_arg_fail(2)) SWIG_fail
;
6121 arg3
= (int)(SWIG_As_int(obj2
));
6122 if (SWIG_arg_fail(3)) SWIG_fail
;
6127 arg4
= (int)(SWIG_As_int(obj3
));
6128 if (SWIG_arg_fail(4)) SWIG_fail
;
6132 if (!wxPyCheckForApp()) SWIG_fail
;
6133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6134 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
6136 wxPyEndAllowThreads(__tstate
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6146 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6147 PyObject
*resultobj
;
6148 wxBitmap
*arg1
= 0 ;
6150 PyObject
* obj0
= 0 ;
6152 (char *) "bmp", NULL
6155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
6157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6158 if (SWIG_arg_fail(1)) SWIG_fail
;
6160 SWIG_null_ref("wxBitmap");
6162 if (SWIG_arg_fail(1)) SWIG_fail
;
6165 if (!wxPyCheckForApp()) SWIG_fail
;
6166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6167 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
6169 wxPyEndAllowThreads(__tstate
);
6170 if (PyErr_Occurred()) SWIG_fail
;
6172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6179 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6180 PyObject
*resultobj
;
6181 wxBitmap
*arg1
= 0 ;
6182 wxColour
*arg2
= 0 ;
6183 int arg3
= (int) 0 ;
6186 PyObject
* obj0
= 0 ;
6187 PyObject
* obj1
= 0 ;
6188 PyObject
* obj2
= 0 ;
6190 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
6193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6196 if (SWIG_arg_fail(1)) SWIG_fail
;
6198 SWIG_null_ref("wxBitmap");
6200 if (SWIG_arg_fail(1)) SWIG_fail
;
6204 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6208 arg3
= (int)(SWIG_As_int(obj2
));
6209 if (SWIG_arg_fail(3)) SWIG_fail
;
6213 if (!wxPyCheckForApp()) SWIG_fail
;
6214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6215 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
6217 wxPyEndAllowThreads(__tstate
);
6218 if (PyErr_Occurred()) SWIG_fail
;
6220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6227 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6228 PyObject
*resultobj
;
6230 wxPoint
*arg2
= (wxPoint
*) 0 ;
6231 int arg3
= (int) wxWINDING_RULE
;
6233 PyObject
* obj0
= 0 ;
6234 PyObject
* obj1
= 0 ;
6236 (char *) "points",(char *) "fillStyle", NULL
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
6241 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
6242 if (arg2
== NULL
) SWIG_fail
;
6246 arg3
= (int)(SWIG_As_int(obj1
));
6247 if (SWIG_arg_fail(3)) SWIG_fail
;
6251 if (!wxPyCheckForApp()) SWIG_fail
;
6252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6253 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
6255 wxPyEndAllowThreads(__tstate
);
6256 if (PyErr_Occurred()) SWIG_fail
;
6258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6260 if (arg2
) delete [] arg2
;
6265 if (arg2
) delete [] arg2
;
6271 static PyObject
*_wrap_delete_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6272 PyObject
*resultobj
;
6273 wxRegion
*arg1
= (wxRegion
*) 0 ;
6274 PyObject
* obj0
= 0 ;
6276 (char *) "self", NULL
6279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
6280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6281 if (SWIG_arg_fail(1)) SWIG_fail
;
6283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6286 wxPyEndAllowThreads(__tstate
);
6287 if (PyErr_Occurred()) SWIG_fail
;
6289 Py_INCREF(Py_None
); resultobj
= Py_None
;
6296 static PyObject
*_wrap_Region_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6297 PyObject
*resultobj
;
6298 wxRegion
*arg1
= (wxRegion
*) 0 ;
6299 PyObject
* obj0
= 0 ;
6301 (char *) "self", NULL
6304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
6305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6306 if (SWIG_arg_fail(1)) SWIG_fail
;
6308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6311 wxPyEndAllowThreads(__tstate
);
6312 if (PyErr_Occurred()) SWIG_fail
;
6314 Py_INCREF(Py_None
); resultobj
= Py_None
;
6321 static PyObject
*_wrap_Region_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6322 PyObject
*resultobj
;
6323 wxRegion
*arg1
= (wxRegion
*) 0 ;
6327 PyObject
* obj0
= 0 ;
6328 PyObject
* obj1
= 0 ;
6329 PyObject
* obj2
= 0 ;
6331 (char *) "self",(char *) "x",(char *) "y", NULL
6334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6336 if (SWIG_arg_fail(1)) SWIG_fail
;
6338 arg2
= (int)(SWIG_As_int(obj1
));
6339 if (SWIG_arg_fail(2)) SWIG_fail
;
6342 arg3
= (int)(SWIG_As_int(obj2
));
6343 if (SWIG_arg_fail(3)) SWIG_fail
;
6346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6347 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
6349 wxPyEndAllowThreads(__tstate
);
6350 if (PyErr_Occurred()) SWIG_fail
;
6353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6361 static PyObject
*_wrap_Region_Contains(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6362 PyObject
*resultobj
;
6363 wxRegion
*arg1
= (wxRegion
*) 0 ;
6366 wxRegionContain result
;
6367 PyObject
* obj0
= 0 ;
6368 PyObject
* obj1
= 0 ;
6369 PyObject
* obj2
= 0 ;
6371 (char *) "self",(char *) "x",(char *) "y", NULL
6374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6376 if (SWIG_arg_fail(1)) SWIG_fail
;
6378 arg2
= (int)(SWIG_As_int(obj1
));
6379 if (SWIG_arg_fail(2)) SWIG_fail
;
6382 arg3
= (int)(SWIG_As_int(obj2
));
6383 if (SWIG_arg_fail(3)) SWIG_fail
;
6386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6387 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
6389 wxPyEndAllowThreads(__tstate
);
6390 if (PyErr_Occurred()) SWIG_fail
;
6392 resultobj
= SWIG_From_int((result
));
6399 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6400 PyObject
*resultobj
;
6401 wxRegion
*arg1
= (wxRegion
*) 0 ;
6403 wxRegionContain result
;
6405 PyObject
* obj0
= 0 ;
6406 PyObject
* obj1
= 0 ;
6408 (char *) "self",(char *) "pt", NULL
6411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
6412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6413 if (SWIG_arg_fail(1)) SWIG_fail
;
6416 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6420 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
6422 wxPyEndAllowThreads(__tstate
);
6423 if (PyErr_Occurred()) SWIG_fail
;
6425 resultobj
= SWIG_From_int((result
));
6432 static PyObject
*_wrap_Region_ContainsRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6433 PyObject
*resultobj
;
6434 wxRegion
*arg1
= (wxRegion
*) 0 ;
6436 wxRegionContain result
;
6438 PyObject
* obj0
= 0 ;
6439 PyObject
* obj1
= 0 ;
6441 (char *) "self",(char *) "rect", NULL
6444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6446 if (SWIG_arg_fail(1)) SWIG_fail
;
6449 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6453 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
6455 wxPyEndAllowThreads(__tstate
);
6456 if (PyErr_Occurred()) SWIG_fail
;
6458 resultobj
= SWIG_From_int((result
));
6465 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6466 PyObject
*resultobj
;
6467 wxRegion
*arg1
= (wxRegion
*) 0 ;
6472 wxRegionContain result
;
6473 PyObject
* obj0
= 0 ;
6474 PyObject
* obj1
= 0 ;
6475 PyObject
* obj2
= 0 ;
6476 PyObject
* obj3
= 0 ;
6477 PyObject
* obj4
= 0 ;
6479 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
6482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6484 if (SWIG_arg_fail(1)) SWIG_fail
;
6486 arg2
= (int)(SWIG_As_int(obj1
));
6487 if (SWIG_arg_fail(2)) SWIG_fail
;
6490 arg3
= (int)(SWIG_As_int(obj2
));
6491 if (SWIG_arg_fail(3)) SWIG_fail
;
6494 arg4
= (int)(SWIG_As_int(obj3
));
6495 if (SWIG_arg_fail(4)) SWIG_fail
;
6498 arg5
= (int)(SWIG_As_int(obj4
));
6499 if (SWIG_arg_fail(5)) SWIG_fail
;
6502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6503 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
6505 wxPyEndAllowThreads(__tstate
);
6506 if (PyErr_Occurred()) SWIG_fail
;
6508 resultobj
= SWIG_From_int((result
));
6515 static PyObject
*_wrap_Region_GetBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6516 PyObject
*resultobj
;
6517 wxRegion
*arg1
= (wxRegion
*) 0 ;
6519 PyObject
* obj0
= 0 ;
6521 (char *) "self", NULL
6524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
6525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6526 if (SWIG_arg_fail(1)) SWIG_fail
;
6528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6529 result
= (arg1
)->GetBox();
6531 wxPyEndAllowThreads(__tstate
);
6532 if (PyErr_Occurred()) SWIG_fail
;
6536 resultptr
= new wxRect((wxRect
&)(result
));
6537 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
6545 static PyObject
*_wrap_Region_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6546 PyObject
*resultobj
;
6547 wxRegion
*arg1
= (wxRegion
*) 0 ;
6553 PyObject
* obj0
= 0 ;
6554 PyObject
* obj1
= 0 ;
6555 PyObject
* obj2
= 0 ;
6556 PyObject
* obj3
= 0 ;
6557 PyObject
* obj4
= 0 ;
6559 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6564 if (SWIG_arg_fail(1)) SWIG_fail
;
6566 arg2
= (int)(SWIG_As_int(obj1
));
6567 if (SWIG_arg_fail(2)) SWIG_fail
;
6570 arg3
= (int)(SWIG_As_int(obj2
));
6571 if (SWIG_arg_fail(3)) SWIG_fail
;
6574 arg4
= (int)(SWIG_As_int(obj3
));
6575 if (SWIG_arg_fail(4)) SWIG_fail
;
6578 arg5
= (int)(SWIG_As_int(obj4
));
6579 if (SWIG_arg_fail(5)) SWIG_fail
;
6582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6583 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
6585 wxPyEndAllowThreads(__tstate
);
6586 if (PyErr_Occurred()) SWIG_fail
;
6589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6597 static PyObject
*_wrap_Region_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6598 PyObject
*resultobj
;
6599 wxRegion
*arg1
= (wxRegion
*) 0 ;
6603 PyObject
* obj0
= 0 ;
6604 PyObject
* obj1
= 0 ;
6606 (char *) "self",(char *) "rect", NULL
6609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6611 if (SWIG_arg_fail(1)) SWIG_fail
;
6614 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6618 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
6620 wxPyEndAllowThreads(__tstate
);
6621 if (PyErr_Occurred()) SWIG_fail
;
6624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6632 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6633 PyObject
*resultobj
;
6634 wxRegion
*arg1
= (wxRegion
*) 0 ;
6635 wxRegion
*arg2
= 0 ;
6637 PyObject
* obj0
= 0 ;
6638 PyObject
* obj1
= 0 ;
6640 (char *) "self",(char *) "region", NULL
6643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6645 if (SWIG_arg_fail(1)) SWIG_fail
;
6647 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6648 if (SWIG_arg_fail(2)) SWIG_fail
;
6650 SWIG_null_ref("wxRegion");
6652 if (SWIG_arg_fail(2)) SWIG_fail
;
6655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6656 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
6658 wxPyEndAllowThreads(__tstate
);
6659 if (PyErr_Occurred()) SWIG_fail
;
6662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6670 static PyObject
*_wrap_Region_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6671 PyObject
*resultobj
;
6672 wxRegion
*arg1
= (wxRegion
*) 0 ;
6674 PyObject
* obj0
= 0 ;
6676 (char *) "self", NULL
6679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
6680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6681 if (SWIG_arg_fail(1)) SWIG_fail
;
6683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6684 result
= (bool)(arg1
)->IsEmpty();
6686 wxPyEndAllowThreads(__tstate
);
6687 if (PyErr_Occurred()) SWIG_fail
;
6690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6698 static PyObject
*_wrap_Region_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6699 PyObject
*resultobj
;
6700 wxRegion
*arg1
= (wxRegion
*) 0 ;
6706 PyObject
* obj0
= 0 ;
6707 PyObject
* obj1
= 0 ;
6708 PyObject
* obj2
= 0 ;
6709 PyObject
* obj3
= 0 ;
6710 PyObject
* obj4
= 0 ;
6712 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6717 if (SWIG_arg_fail(1)) SWIG_fail
;
6719 arg2
= (int)(SWIG_As_int(obj1
));
6720 if (SWIG_arg_fail(2)) SWIG_fail
;
6723 arg3
= (int)(SWIG_As_int(obj2
));
6724 if (SWIG_arg_fail(3)) SWIG_fail
;
6727 arg4
= (int)(SWIG_As_int(obj3
));
6728 if (SWIG_arg_fail(4)) SWIG_fail
;
6731 arg5
= (int)(SWIG_As_int(obj4
));
6732 if (SWIG_arg_fail(5)) SWIG_fail
;
6735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6736 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
6738 wxPyEndAllowThreads(__tstate
);
6739 if (PyErr_Occurred()) SWIG_fail
;
6742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6750 static PyObject
*_wrap_Region_UnionRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6751 PyObject
*resultobj
;
6752 wxRegion
*arg1
= (wxRegion
*) 0 ;
6756 PyObject
* obj0
= 0 ;
6757 PyObject
* obj1
= 0 ;
6759 (char *) "self",(char *) "rect", NULL
6762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6764 if (SWIG_arg_fail(1)) SWIG_fail
;
6767 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6771 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
6773 wxPyEndAllowThreads(__tstate
);
6774 if (PyErr_Occurred()) SWIG_fail
;
6777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6785 static PyObject
*_wrap_Region_UnionRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
*resultobj
;
6787 wxRegion
*arg1
= (wxRegion
*) 0 ;
6788 wxRegion
*arg2
= 0 ;
6790 PyObject
* obj0
= 0 ;
6791 PyObject
* obj1
= 0 ;
6793 (char *) "self",(char *) "region", NULL
6796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6798 if (SWIG_arg_fail(1)) SWIG_fail
;
6800 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6801 if (SWIG_arg_fail(2)) SWIG_fail
;
6803 SWIG_null_ref("wxRegion");
6805 if (SWIG_arg_fail(2)) SWIG_fail
;
6808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6809 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
6811 wxPyEndAllowThreads(__tstate
);
6812 if (PyErr_Occurred()) SWIG_fail
;
6815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6823 static PyObject
*_wrap_Region_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
*resultobj
;
6825 wxRegion
*arg1
= (wxRegion
*) 0 ;
6831 PyObject
* obj0
= 0 ;
6832 PyObject
* obj1
= 0 ;
6833 PyObject
* obj2
= 0 ;
6834 PyObject
* obj3
= 0 ;
6835 PyObject
* obj4
= 0 ;
6837 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6842 if (SWIG_arg_fail(1)) SWIG_fail
;
6844 arg2
= (int)(SWIG_As_int(obj1
));
6845 if (SWIG_arg_fail(2)) SWIG_fail
;
6848 arg3
= (int)(SWIG_As_int(obj2
));
6849 if (SWIG_arg_fail(3)) SWIG_fail
;
6852 arg4
= (int)(SWIG_As_int(obj3
));
6853 if (SWIG_arg_fail(4)) SWIG_fail
;
6856 arg5
= (int)(SWIG_As_int(obj4
));
6857 if (SWIG_arg_fail(5)) SWIG_fail
;
6860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6861 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
6863 wxPyEndAllowThreads(__tstate
);
6864 if (PyErr_Occurred()) SWIG_fail
;
6867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6875 static PyObject
*_wrap_Region_SubtractRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6876 PyObject
*resultobj
;
6877 wxRegion
*arg1
= (wxRegion
*) 0 ;
6881 PyObject
* obj0
= 0 ;
6882 PyObject
* obj1
= 0 ;
6884 (char *) "self",(char *) "rect", NULL
6887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6889 if (SWIG_arg_fail(1)) SWIG_fail
;
6892 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6896 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
6898 wxPyEndAllowThreads(__tstate
);
6899 if (PyErr_Occurred()) SWIG_fail
;
6902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6910 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6911 PyObject
*resultobj
;
6912 wxRegion
*arg1
= (wxRegion
*) 0 ;
6913 wxRegion
*arg2
= 0 ;
6915 PyObject
* obj0
= 0 ;
6916 PyObject
* obj1
= 0 ;
6918 (char *) "self",(char *) "region", NULL
6921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6923 if (SWIG_arg_fail(1)) SWIG_fail
;
6925 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6926 if (SWIG_arg_fail(2)) SWIG_fail
;
6928 SWIG_null_ref("wxRegion");
6930 if (SWIG_arg_fail(2)) SWIG_fail
;
6933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6934 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
6936 wxPyEndAllowThreads(__tstate
);
6937 if (PyErr_Occurred()) SWIG_fail
;
6940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6948 static PyObject
*_wrap_Region_Xor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6949 PyObject
*resultobj
;
6950 wxRegion
*arg1
= (wxRegion
*) 0 ;
6956 PyObject
* obj0
= 0 ;
6957 PyObject
* obj1
= 0 ;
6958 PyObject
* obj2
= 0 ;
6959 PyObject
* obj3
= 0 ;
6960 PyObject
* obj4
= 0 ;
6962 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6967 if (SWIG_arg_fail(1)) SWIG_fail
;
6969 arg2
= (int)(SWIG_As_int(obj1
));
6970 if (SWIG_arg_fail(2)) SWIG_fail
;
6973 arg3
= (int)(SWIG_As_int(obj2
));
6974 if (SWIG_arg_fail(3)) SWIG_fail
;
6977 arg4
= (int)(SWIG_As_int(obj3
));
6978 if (SWIG_arg_fail(4)) SWIG_fail
;
6981 arg5
= (int)(SWIG_As_int(obj4
));
6982 if (SWIG_arg_fail(5)) SWIG_fail
;
6985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6986 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
6988 wxPyEndAllowThreads(__tstate
);
6989 if (PyErr_Occurred()) SWIG_fail
;
6992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7000 static PyObject
*_wrap_Region_XorRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7001 PyObject
*resultobj
;
7002 wxRegion
*arg1
= (wxRegion
*) 0 ;
7006 PyObject
* obj0
= 0 ;
7007 PyObject
* obj1
= 0 ;
7009 (char *) "self",(char *) "rect", NULL
7012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7014 if (SWIG_arg_fail(1)) SWIG_fail
;
7017 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7021 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
7023 wxPyEndAllowThreads(__tstate
);
7024 if (PyErr_Occurred()) SWIG_fail
;
7027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7035 static PyObject
*_wrap_Region_XorRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
*resultobj
;
7037 wxRegion
*arg1
= (wxRegion
*) 0 ;
7038 wxRegion
*arg2
= 0 ;
7040 PyObject
* obj0
= 0 ;
7041 PyObject
* obj1
= 0 ;
7043 (char *) "self",(char *) "region", NULL
7046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
7047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7048 if (SWIG_arg_fail(1)) SWIG_fail
;
7050 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7051 if (SWIG_arg_fail(2)) SWIG_fail
;
7053 SWIG_null_ref("wxRegion");
7055 if (SWIG_arg_fail(2)) SWIG_fail
;
7058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7059 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
7061 wxPyEndAllowThreads(__tstate
);
7062 if (PyErr_Occurred()) SWIG_fail
;
7065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7073 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
*resultobj
;
7075 wxRegion
*arg1
= (wxRegion
*) 0 ;
7076 SwigValueWrapper
<wxBitmap
> result
;
7077 PyObject
* obj0
= 0 ;
7079 (char *) "self", NULL
7082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
7083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7084 if (SWIG_arg_fail(1)) SWIG_fail
;
7086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7087 result
= (arg1
)->ConvertToBitmap();
7089 wxPyEndAllowThreads(__tstate
);
7090 if (PyErr_Occurred()) SWIG_fail
;
7093 wxBitmap
* resultptr
;
7094 resultptr
= new wxBitmap((wxBitmap
&)(result
));
7095 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
7103 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7104 PyObject
*resultobj
;
7105 wxRegion
*arg1
= (wxRegion
*) 0 ;
7106 wxBitmap
*arg2
= 0 ;
7108 PyObject
* obj0
= 0 ;
7109 PyObject
* obj1
= 0 ;
7111 (char *) "self",(char *) "bmp", NULL
7114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7116 if (SWIG_arg_fail(1)) SWIG_fail
;
7118 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7119 if (SWIG_arg_fail(2)) SWIG_fail
;
7121 SWIG_null_ref("wxBitmap");
7123 if (SWIG_arg_fail(2)) SWIG_fail
;
7126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7127 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
7129 wxPyEndAllowThreads(__tstate
);
7130 if (PyErr_Occurred()) SWIG_fail
;
7133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7141 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7142 PyObject
*resultobj
;
7143 wxRegion
*arg1
= (wxRegion
*) 0 ;
7144 wxBitmap
*arg2
= 0 ;
7145 wxColour
*arg3
= 0 ;
7146 int arg4
= (int) 0 ;
7149 PyObject
* obj0
= 0 ;
7150 PyObject
* obj1
= 0 ;
7151 PyObject
* obj2
= 0 ;
7152 PyObject
* obj3
= 0 ;
7154 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
7157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7159 if (SWIG_arg_fail(1)) SWIG_fail
;
7161 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7162 if (SWIG_arg_fail(2)) SWIG_fail
;
7164 SWIG_null_ref("wxBitmap");
7166 if (SWIG_arg_fail(2)) SWIG_fail
;
7170 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
7174 arg4
= (int)(SWIG_As_int(obj3
));
7175 if (SWIG_arg_fail(4)) SWIG_fail
;
7179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7180 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
7182 wxPyEndAllowThreads(__tstate
);
7183 if (PyErr_Occurred()) SWIG_fail
;
7186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7194 static PyObject
* Region_swigregister(PyObject
*, PyObject
*args
) {
7196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7197 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
7199 return Py_BuildValue((char *)"");
7201 static PyObject
*_wrap_new_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7202 PyObject
*resultobj
;
7203 wxRegion
*arg1
= 0 ;
7204 wxRegionIterator
*result
;
7205 PyObject
* obj0
= 0 ;
7207 (char *) "region", NULL
7210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
7212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7213 if (SWIG_arg_fail(1)) SWIG_fail
;
7215 SWIG_null_ref("wxRegion");
7217 if (SWIG_arg_fail(1)) SWIG_fail
;
7220 if (!wxPyCheckForApp()) SWIG_fail
;
7221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7222 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
7224 wxPyEndAllowThreads(__tstate
);
7225 if (PyErr_Occurred()) SWIG_fail
;
7227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
7234 static PyObject
*_wrap_delete_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7235 PyObject
*resultobj
;
7236 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7237 PyObject
* obj0
= 0 ;
7239 (char *) "self", NULL
7242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
7243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7244 if (SWIG_arg_fail(1)) SWIG_fail
;
7246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7249 wxPyEndAllowThreads(__tstate
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7252 Py_INCREF(Py_None
); resultobj
= Py_None
;
7259 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
*resultobj
;
7261 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7263 PyObject
* obj0
= 0 ;
7265 (char *) "self", NULL
7268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
7269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7270 if (SWIG_arg_fail(1)) SWIG_fail
;
7272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7273 result
= (int)(arg1
)->GetX();
7275 wxPyEndAllowThreads(__tstate
);
7276 if (PyErr_Occurred()) SWIG_fail
;
7279 resultobj
= SWIG_From_int((int)(result
));
7287 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7288 PyObject
*resultobj
;
7289 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7291 PyObject
* obj0
= 0 ;
7293 (char *) "self", NULL
7296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
7297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7298 if (SWIG_arg_fail(1)) SWIG_fail
;
7300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7301 result
= (int)(arg1
)->GetY();
7303 wxPyEndAllowThreads(__tstate
);
7304 if (PyErr_Occurred()) SWIG_fail
;
7307 resultobj
= SWIG_From_int((int)(result
));
7315 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7316 PyObject
*resultobj
;
7317 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7319 PyObject
* obj0
= 0 ;
7321 (char *) "self", NULL
7324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
7325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7326 if (SWIG_arg_fail(1)) SWIG_fail
;
7328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7329 result
= (int)(arg1
)->GetW();
7331 wxPyEndAllowThreads(__tstate
);
7332 if (PyErr_Occurred()) SWIG_fail
;
7335 resultobj
= SWIG_From_int((int)(result
));
7343 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7344 PyObject
*resultobj
;
7345 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7347 PyObject
* obj0
= 0 ;
7349 (char *) "self", NULL
7352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
7353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7354 if (SWIG_arg_fail(1)) SWIG_fail
;
7356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7357 result
= (int)(arg1
)->GetWidth();
7359 wxPyEndAllowThreads(__tstate
);
7360 if (PyErr_Occurred()) SWIG_fail
;
7363 resultobj
= SWIG_From_int((int)(result
));
7371 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7372 PyObject
*resultobj
;
7373 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7375 PyObject
* obj0
= 0 ;
7377 (char *) "self", NULL
7380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
7381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7382 if (SWIG_arg_fail(1)) SWIG_fail
;
7384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7385 result
= (int)(arg1
)->GetH();
7387 wxPyEndAllowThreads(__tstate
);
7388 if (PyErr_Occurred()) SWIG_fail
;
7391 resultobj
= SWIG_From_int((int)(result
));
7399 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7400 PyObject
*resultobj
;
7401 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7403 PyObject
* obj0
= 0 ;
7405 (char *) "self", NULL
7408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
7409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7410 if (SWIG_arg_fail(1)) SWIG_fail
;
7412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7413 result
= (int)(arg1
)->GetHeight();
7415 wxPyEndAllowThreads(__tstate
);
7416 if (PyErr_Occurred()) SWIG_fail
;
7419 resultobj
= SWIG_From_int((int)(result
));
7427 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7428 PyObject
*resultobj
;
7429 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7431 PyObject
* obj0
= 0 ;
7433 (char *) "self", NULL
7436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
7437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7438 if (SWIG_arg_fail(1)) SWIG_fail
;
7440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7441 result
= (arg1
)->GetRect();
7443 wxPyEndAllowThreads(__tstate
);
7444 if (PyErr_Occurred()) SWIG_fail
;
7448 resultptr
= new wxRect((wxRect
&)(result
));
7449 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7457 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7458 PyObject
*resultobj
;
7459 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7461 PyObject
* obj0
= 0 ;
7463 (char *) "self", NULL
7466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
7467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7468 if (SWIG_arg_fail(1)) SWIG_fail
;
7470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7471 result
= (bool)(arg1
)->HaveRects();
7473 wxPyEndAllowThreads(__tstate
);
7474 if (PyErr_Occurred()) SWIG_fail
;
7477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7485 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7486 PyObject
*resultobj
;
7487 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7488 PyObject
* obj0
= 0 ;
7490 (char *) "self", NULL
7493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
7494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7495 if (SWIG_arg_fail(1)) SWIG_fail
;
7497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7503 Py_INCREF(Py_None
); resultobj
= Py_None
;
7510 static PyObject
*_wrap_RegionIterator_Next(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7511 PyObject
*resultobj
;
7512 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7513 PyObject
* obj0
= 0 ;
7515 (char *) "self", NULL
7518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
7519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7520 if (SWIG_arg_fail(1)) SWIG_fail
;
7522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7523 wxRegionIterator_Next(arg1
);
7525 wxPyEndAllowThreads(__tstate
);
7526 if (PyErr_Occurred()) SWIG_fail
;
7528 Py_INCREF(Py_None
); resultobj
= Py_None
;
7535 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7536 PyObject
*resultobj
;
7537 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7539 PyObject
* obj0
= 0 ;
7541 (char *) "self", NULL
7544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
7545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7546 if (SWIG_arg_fail(1)) SWIG_fail
;
7548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7549 result
= (bool)wxRegionIterator___nonzero__(arg1
);
7551 wxPyEndAllowThreads(__tstate
);
7552 if (PyErr_Occurred()) SWIG_fail
;
7555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7563 static PyObject
* RegionIterator_swigregister(PyObject
*, PyObject
*args
) {
7565 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7566 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
7568 return Py_BuildValue((char *)"");
7570 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7571 PyObject
*resultobj
;
7572 wxNativeFontInfo
*result
;
7577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
7579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7580 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
7582 wxPyEndAllowThreads(__tstate
);
7583 if (PyErr_Occurred()) SWIG_fail
;
7585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
7592 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7593 PyObject
*resultobj
;
7594 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7595 PyObject
* obj0
= 0 ;
7597 (char *) "self", NULL
7600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
7601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7602 if (SWIG_arg_fail(1)) SWIG_fail
;
7604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7607 wxPyEndAllowThreads(__tstate
);
7608 if (PyErr_Occurred()) SWIG_fail
;
7610 Py_INCREF(Py_None
); resultobj
= Py_None
;
7617 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7618 PyObject
*resultobj
;
7619 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7620 PyObject
* obj0
= 0 ;
7622 (char *) "self", NULL
7625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
7626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7627 if (SWIG_arg_fail(1)) SWIG_fail
;
7629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7632 wxPyEndAllowThreads(__tstate
);
7633 if (PyErr_Occurred()) SWIG_fail
;
7635 Py_INCREF(Py_None
); resultobj
= Py_None
;
7642 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7643 PyObject
*resultobj
;
7644 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7646 PyObject
* obj0
= 0 ;
7647 PyObject
* obj1
= 0 ;
7649 (char *) "self",(char *) "font", NULL
7652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
7653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7654 if (SWIG_arg_fail(1)) SWIG_fail
;
7656 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
7657 if (SWIG_arg_fail(2)) SWIG_fail
;
7659 SWIG_null_ref("wxFont");
7661 if (SWIG_arg_fail(2)) SWIG_fail
;
7664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7665 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
7667 wxPyEndAllowThreads(__tstate
);
7668 if (PyErr_Occurred()) SWIG_fail
;
7670 Py_INCREF(Py_None
); resultobj
= Py_None
;
7677 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7678 PyObject
*resultobj
;
7679 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7681 PyObject
* obj0
= 0 ;
7683 (char *) "self", NULL
7686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
7687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7688 if (SWIG_arg_fail(1)) SWIG_fail
;
7690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7691 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
7693 wxPyEndAllowThreads(__tstate
);
7694 if (PyErr_Occurred()) SWIG_fail
;
7697 resultobj
= SWIG_From_int((int)(result
));
7705 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7706 PyObject
*resultobj
;
7707 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7709 PyObject
* obj0
= 0 ;
7711 (char *) "self", NULL
7714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
7715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7716 if (SWIG_arg_fail(1)) SWIG_fail
;
7718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7719 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
7721 wxPyEndAllowThreads(__tstate
);
7722 if (PyErr_Occurred()) SWIG_fail
;
7724 resultobj
= SWIG_From_int((result
));
7731 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7732 PyObject
*resultobj
;
7733 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7734 wxFontWeight result
;
7735 PyObject
* obj0
= 0 ;
7737 (char *) "self", NULL
7740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
7741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7742 if (SWIG_arg_fail(1)) SWIG_fail
;
7744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7745 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
7747 wxPyEndAllowThreads(__tstate
);
7748 if (PyErr_Occurred()) SWIG_fail
;
7750 resultobj
= SWIG_From_int((result
));
7757 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7758 PyObject
*resultobj
;
7759 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7761 PyObject
* obj0
= 0 ;
7763 (char *) "self", NULL
7766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
7767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7768 if (SWIG_arg_fail(1)) SWIG_fail
;
7770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7771 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
7773 wxPyEndAllowThreads(__tstate
);
7774 if (PyErr_Occurred()) SWIG_fail
;
7777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7785 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7786 PyObject
*resultobj
;
7787 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7789 PyObject
* obj0
= 0 ;
7791 (char *) "self", NULL
7794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
7795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7796 if (SWIG_arg_fail(1)) SWIG_fail
;
7798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7799 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
7801 wxPyEndAllowThreads(__tstate
);
7802 if (PyErr_Occurred()) SWIG_fail
;
7806 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7808 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7817 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7818 PyObject
*resultobj
;
7819 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7820 wxFontFamily result
;
7821 PyObject
* obj0
= 0 ;
7823 (char *) "self", NULL
7826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
7827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7828 if (SWIG_arg_fail(1)) SWIG_fail
;
7830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7831 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
7833 wxPyEndAllowThreads(__tstate
);
7834 if (PyErr_Occurred()) SWIG_fail
;
7836 resultobj
= SWIG_From_int((result
));
7843 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7844 PyObject
*resultobj
;
7845 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7846 wxFontEncoding result
;
7847 PyObject
* obj0
= 0 ;
7849 (char *) "self", NULL
7852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
7853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7854 if (SWIG_arg_fail(1)) SWIG_fail
;
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
7859 wxPyEndAllowThreads(__tstate
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7862 resultobj
= SWIG_From_int((result
));
7869 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7870 PyObject
*resultobj
;
7871 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7873 PyObject
* obj0
= 0 ;
7874 PyObject
* obj1
= 0 ;
7876 (char *) "self",(char *) "pointsize", NULL
7879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7881 if (SWIG_arg_fail(1)) SWIG_fail
;
7883 arg2
= (int)(SWIG_As_int(obj1
));
7884 if (SWIG_arg_fail(2)) SWIG_fail
;
7887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7888 (arg1
)->SetPointSize(arg2
);
7890 wxPyEndAllowThreads(__tstate
);
7891 if (PyErr_Occurred()) SWIG_fail
;
7893 Py_INCREF(Py_None
); resultobj
= Py_None
;
7900 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7901 PyObject
*resultobj
;
7902 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7904 PyObject
* obj0
= 0 ;
7905 PyObject
* obj1
= 0 ;
7907 (char *) "self",(char *) "style", NULL
7910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7912 if (SWIG_arg_fail(1)) SWIG_fail
;
7914 arg2
= (wxFontStyle
)(SWIG_As_int(obj1
));
7915 if (SWIG_arg_fail(2)) SWIG_fail
;
7918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7919 (arg1
)->SetStyle((wxFontStyle
)arg2
);
7921 wxPyEndAllowThreads(__tstate
);
7922 if (PyErr_Occurred()) SWIG_fail
;
7924 Py_INCREF(Py_None
); resultobj
= Py_None
;
7931 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7932 PyObject
*resultobj
;
7933 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7935 PyObject
* obj0
= 0 ;
7936 PyObject
* obj1
= 0 ;
7938 (char *) "self",(char *) "weight", NULL
7941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7943 if (SWIG_arg_fail(1)) SWIG_fail
;
7945 arg2
= (wxFontWeight
)(SWIG_As_int(obj1
));
7946 if (SWIG_arg_fail(2)) SWIG_fail
;
7949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7950 (arg1
)->SetWeight((wxFontWeight
)arg2
);
7952 wxPyEndAllowThreads(__tstate
);
7953 if (PyErr_Occurred()) SWIG_fail
;
7955 Py_INCREF(Py_None
); resultobj
= Py_None
;
7962 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7963 PyObject
*resultobj
;
7964 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7966 PyObject
* obj0
= 0 ;
7967 PyObject
* obj1
= 0 ;
7969 (char *) "self",(char *) "underlined", NULL
7972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
7973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7974 if (SWIG_arg_fail(1)) SWIG_fail
;
7976 arg2
= (bool)(SWIG_As_bool(obj1
));
7977 if (SWIG_arg_fail(2)) SWIG_fail
;
7980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7981 (arg1
)->SetUnderlined(arg2
);
7983 wxPyEndAllowThreads(__tstate
);
7984 if (PyErr_Occurred()) SWIG_fail
;
7986 Py_INCREF(Py_None
); resultobj
= Py_None
;
7993 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7994 PyObject
*resultobj
;
7995 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7997 PyObject
* obj0
= 0 ;
7998 PyObject
* obj1
= 0 ;
8000 (char *) "self",(char *) "facename", NULL
8003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8005 if (SWIG_arg_fail(1)) SWIG_fail
;
8007 wxString
* sptr
= wxString_in_helper(obj1
);
8008 if (sptr
== NULL
) SWIG_fail
;
8013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8014 (arg1
)->SetFaceName(arg2
);
8016 wxPyEndAllowThreads(__tstate
);
8017 if (PyErr_Occurred()) SWIG_fail
;
8019 Py_INCREF(Py_None
); resultobj
= Py_None
;
8026 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8027 PyObject
*resultobj
;
8028 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8030 PyObject
* obj0
= 0 ;
8031 PyObject
* obj1
= 0 ;
8033 (char *) "self",(char *) "family", NULL
8036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8038 if (SWIG_arg_fail(1)) SWIG_fail
;
8040 arg2
= (wxFontFamily
)(SWIG_As_int(obj1
));
8041 if (SWIG_arg_fail(2)) SWIG_fail
;
8044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8045 (arg1
)->SetFamily((wxFontFamily
)arg2
);
8047 wxPyEndAllowThreads(__tstate
);
8048 if (PyErr_Occurred()) SWIG_fail
;
8050 Py_INCREF(Py_None
); resultobj
= Py_None
;
8057 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8058 PyObject
*resultobj
;
8059 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8060 wxFontEncoding arg2
;
8061 PyObject
* obj0
= 0 ;
8062 PyObject
* obj1
= 0 ;
8064 (char *) "self",(char *) "encoding", NULL
8067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8069 if (SWIG_arg_fail(1)) SWIG_fail
;
8071 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
8072 if (SWIG_arg_fail(2)) SWIG_fail
;
8075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8076 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8078 wxPyEndAllowThreads(__tstate
);
8079 if (PyErr_Occurred()) SWIG_fail
;
8081 Py_INCREF(Py_None
); resultobj
= Py_None
;
8088 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8089 PyObject
*resultobj
;
8090 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8091 wxString
*arg2
= 0 ;
8093 bool temp2
= false ;
8094 PyObject
* obj0
= 0 ;
8095 PyObject
* obj1
= 0 ;
8097 (char *) "self",(char *) "s", NULL
8100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8102 if (SWIG_arg_fail(1)) SWIG_fail
;
8104 arg2
= wxString_in_helper(obj1
);
8105 if (arg2
== NULL
) SWIG_fail
;
8109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8110 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
8112 wxPyEndAllowThreads(__tstate
);
8113 if (PyErr_Occurred()) SWIG_fail
;
8116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8132 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8133 PyObject
*resultobj
;
8134 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8136 PyObject
* obj0
= 0 ;
8138 (char *) "self", NULL
8141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
8142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8143 if (SWIG_arg_fail(1)) SWIG_fail
;
8145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8146 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
8148 wxPyEndAllowThreads(__tstate
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8153 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8155 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8164 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8165 PyObject
*resultobj
;
8166 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8168 PyObject
* obj0
= 0 ;
8170 (char *) "self", NULL
8173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
8174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8175 if (SWIG_arg_fail(1)) SWIG_fail
;
8177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8178 result
= wxNativeFontInfo___str__(arg1
);
8180 wxPyEndAllowThreads(__tstate
);
8181 if (PyErr_Occurred()) SWIG_fail
;
8185 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8187 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8196 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8197 PyObject
*resultobj
;
8198 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8199 wxString
*arg2
= 0 ;
8201 bool temp2
= false ;
8202 PyObject
* obj0
= 0 ;
8203 PyObject
* obj1
= 0 ;
8205 (char *) "self",(char *) "s", NULL
8208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) 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 arg2
= wxString_in_helper(obj1
);
8213 if (arg2
== NULL
) SWIG_fail
;
8217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8218 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
8220 wxPyEndAllowThreads(__tstate
);
8221 if (PyErr_Occurred()) SWIG_fail
;
8224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8240 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8241 PyObject
*resultobj
;
8242 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8244 PyObject
* obj0
= 0 ;
8246 (char *) "self", NULL
8249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
8250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8251 if (SWIG_arg_fail(1)) SWIG_fail
;
8253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8254 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
8256 wxPyEndAllowThreads(__tstate
);
8257 if (PyErr_Occurred()) SWIG_fail
;
8261 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8263 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8272 static PyObject
* NativeFontInfo_swigregister(PyObject
*, PyObject
*args
) {
8274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8275 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
8277 return Py_BuildValue((char *)"");
8279 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8280 PyObject
*resultobj
;
8281 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8282 wxString
*arg2
= (wxString
*) 0 ;
8283 bool temp2
= false ;
8284 PyObject
* obj0
= 0 ;
8285 PyObject
* obj1
= 0 ;
8287 (char *) "self",(char *) "facename", NULL
8290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8292 if (SWIG_arg_fail(1)) SWIG_fail
;
8294 arg2
= wxString_in_helper(obj1
);
8295 if (arg2
== NULL
) SWIG_fail
;
8298 if (arg1
) (arg1
)->facename
= *arg2
;
8300 Py_INCREF(Py_None
); resultobj
= Py_None
;
8315 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8316 PyObject
*resultobj
;
8317 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8319 PyObject
* obj0
= 0 ;
8321 (char *) "self", NULL
8324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
8325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8326 if (SWIG_arg_fail(1)) SWIG_fail
;
8327 result
= (wxString
*)& ((arg1
)->facename
);
8331 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8333 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8342 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8343 PyObject
*resultobj
;
8344 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8345 wxFontEncoding arg2
;
8346 PyObject
* obj0
= 0 ;
8347 PyObject
* obj1
= 0 ;
8349 (char *) "self",(char *) "encoding", NULL
8352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8354 if (SWIG_arg_fail(1)) SWIG_fail
;
8356 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
8357 if (SWIG_arg_fail(2)) SWIG_fail
;
8359 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
8361 Py_INCREF(Py_None
); resultobj
= Py_None
;
8368 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8369 PyObject
*resultobj
;
8370 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8371 wxFontEncoding result
;
8372 PyObject
* obj0
= 0 ;
8374 (char *) "self", NULL
8377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
8378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8379 if (SWIG_arg_fail(1)) SWIG_fail
;
8380 result
= (wxFontEncoding
) ((arg1
)->encoding
);
8382 resultobj
= SWIG_From_int((result
));
8389 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8390 PyObject
*resultobj
;
8391 wxNativeEncodingInfo
*result
;
8396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
8398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8399 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
8401 wxPyEndAllowThreads(__tstate
);
8402 if (PyErr_Occurred()) SWIG_fail
;
8404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
8411 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8412 PyObject
*resultobj
;
8413 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8414 PyObject
* obj0
= 0 ;
8416 (char *) "self", NULL
8419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
8420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8421 if (SWIG_arg_fail(1)) SWIG_fail
;
8423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8426 wxPyEndAllowThreads(__tstate
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8429 Py_INCREF(Py_None
); resultobj
= Py_None
;
8436 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8437 PyObject
*resultobj
;
8438 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8439 wxString
*arg2
= 0 ;
8441 bool temp2
= false ;
8442 PyObject
* obj0
= 0 ;
8443 PyObject
* obj1
= 0 ;
8445 (char *) "self",(char *) "s", NULL
8448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8450 if (SWIG_arg_fail(1)) SWIG_fail
;
8452 arg2
= wxString_in_helper(obj1
);
8453 if (arg2
== NULL
) SWIG_fail
;
8457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8458 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
8460 wxPyEndAllowThreads(__tstate
);
8461 if (PyErr_Occurred()) SWIG_fail
;
8464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8480 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8481 PyObject
*resultobj
;
8482 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8484 PyObject
* obj0
= 0 ;
8486 (char *) "self", NULL
8489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
8490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8491 if (SWIG_arg_fail(1)) SWIG_fail
;
8493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8494 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
8496 wxPyEndAllowThreads(__tstate
);
8497 if (PyErr_Occurred()) SWIG_fail
;
8501 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8503 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8512 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*, PyObject
*args
) {
8514 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8515 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
8517 return Py_BuildValue((char *)"");
8519 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8520 PyObject
*resultobj
;
8521 wxFontEncoding arg1
;
8522 wxNativeEncodingInfo
*result
;
8523 PyObject
* obj0
= 0 ;
8525 (char *) "encoding", NULL
8528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
8530 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
8531 if (SWIG_arg_fail(1)) SWIG_fail
;
8534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8535 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
8537 wxPyEndAllowThreads(__tstate
);
8538 if (PyErr_Occurred()) SWIG_fail
;
8540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
8547 static PyObject
*_wrap_TestFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8548 PyObject
*resultobj
;
8549 wxNativeEncodingInfo
*arg1
= 0 ;
8551 PyObject
* obj0
= 0 ;
8553 (char *) "info", NULL
8556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
8558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8559 if (SWIG_arg_fail(1)) SWIG_fail
;
8561 SWIG_null_ref("wxNativeEncodingInfo");
8563 if (SWIG_arg_fail(1)) SWIG_fail
;
8566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8567 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
8569 wxPyEndAllowThreads(__tstate
);
8570 if (PyErr_Occurred()) SWIG_fail
;
8573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8581 static PyObject
*_wrap_new_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8582 PyObject
*resultobj
;
8583 wxFontMapper
*result
;
8588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
8590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8591 result
= (wxFontMapper
*)new wxFontMapper();
8593 wxPyEndAllowThreads(__tstate
);
8594 if (PyErr_Occurred()) SWIG_fail
;
8596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
8603 static PyObject
*_wrap_delete_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8604 PyObject
*resultobj
;
8605 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8606 PyObject
* obj0
= 0 ;
8608 (char *) "self", NULL
8611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
8612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8613 if (SWIG_arg_fail(1)) SWIG_fail
;
8615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8618 wxPyEndAllowThreads(__tstate
);
8619 if (PyErr_Occurred()) SWIG_fail
;
8621 Py_INCREF(Py_None
); resultobj
= Py_None
;
8628 static PyObject
*_wrap_FontMapper_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8629 PyObject
*resultobj
;
8630 wxFontMapper
*result
;
8635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
8637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8638 result
= (wxFontMapper
*)wxFontMapper::Get();
8640 wxPyEndAllowThreads(__tstate
);
8641 if (PyErr_Occurred()) SWIG_fail
;
8643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
8650 static PyObject
*_wrap_FontMapper_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8651 PyObject
*resultobj
;
8652 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8653 wxFontMapper
*result
;
8654 PyObject
* obj0
= 0 ;
8656 (char *) "mapper", NULL
8659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
8660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8661 if (SWIG_arg_fail(1)) SWIG_fail
;
8663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8664 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
8666 wxPyEndAllowThreads(__tstate
);
8667 if (PyErr_Occurred()) SWIG_fail
;
8669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
8676 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8677 PyObject
*resultobj
;
8678 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8679 wxString
*arg2
= 0 ;
8680 bool arg3
= (bool) true ;
8681 wxFontEncoding result
;
8682 bool temp2
= false ;
8683 PyObject
* obj0
= 0 ;
8684 PyObject
* obj1
= 0 ;
8685 PyObject
* obj2
= 0 ;
8687 (char *) "self",(char *) "charset",(char *) "interactive", NULL
8690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8692 if (SWIG_arg_fail(1)) SWIG_fail
;
8694 arg2
= wxString_in_helper(obj1
);
8695 if (arg2
== NULL
) SWIG_fail
;
8700 arg3
= (bool)(SWIG_As_bool(obj2
));
8701 if (SWIG_arg_fail(3)) SWIG_fail
;
8705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8706 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
8708 wxPyEndAllowThreads(__tstate
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8711 resultobj
= SWIG_From_int((result
));
8726 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8727 PyObject
*resultobj
;
8733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
8735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8736 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
8738 wxPyEndAllowThreads(__tstate
);
8739 if (PyErr_Occurred()) SWIG_fail
;
8742 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
8750 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8751 PyObject
*resultobj
;
8753 wxFontEncoding result
;
8754 PyObject
* obj0
= 0 ;
8759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
8761 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
8762 if (SWIG_arg_fail(1)) SWIG_fail
;
8765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
8768 wxPyEndAllowThreads(__tstate
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8771 resultobj
= SWIG_From_int((result
));
8778 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8779 PyObject
*resultobj
;
8780 wxFontEncoding arg1
;
8782 PyObject
* obj0
= 0 ;
8784 (char *) "encoding", NULL
8787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
8789 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
8790 if (SWIG_arg_fail(1)) SWIG_fail
;
8793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8794 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
8796 wxPyEndAllowThreads(__tstate
);
8797 if (PyErr_Occurred()) SWIG_fail
;
8801 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8803 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8812 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8813 PyObject
*resultobj
;
8814 wxFontEncoding arg1
;
8816 PyObject
* obj0
= 0 ;
8818 (char *) "encoding", NULL
8821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
8823 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
8824 if (SWIG_arg_fail(1)) SWIG_fail
;
8827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8828 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
8830 wxPyEndAllowThreads(__tstate
);
8831 if (PyErr_Occurred()) SWIG_fail
;
8835 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8837 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8846 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8847 PyObject
*resultobj
;
8848 wxString
*arg1
= 0 ;
8849 wxFontEncoding result
;
8850 bool temp1
= false ;
8851 PyObject
* obj0
= 0 ;
8853 (char *) "name", NULL
8856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
8858 arg1
= wxString_in_helper(obj0
);
8859 if (arg1
== NULL
) SWIG_fail
;
8863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8864 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
8866 wxPyEndAllowThreads(__tstate
);
8867 if (PyErr_Occurred()) SWIG_fail
;
8869 resultobj
= SWIG_From_int((result
));
8884 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8885 PyObject
*resultobj
;
8886 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8887 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
8888 PyObject
* obj0
= 0 ;
8889 PyObject
* obj1
= 0 ;
8891 (char *) "self",(char *) "config", NULL
8894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
8895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8896 if (SWIG_arg_fail(1)) SWIG_fail
;
8897 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
8898 if (SWIG_arg_fail(2)) SWIG_fail
;
8900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8901 (arg1
)->SetConfig(arg2
);
8903 wxPyEndAllowThreads(__tstate
);
8904 if (PyErr_Occurred()) SWIG_fail
;
8906 Py_INCREF(Py_None
); resultobj
= Py_None
;
8913 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8914 PyObject
*resultobj
;
8915 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8916 wxString
*arg2
= 0 ;
8917 bool temp2
= false ;
8918 PyObject
* obj0
= 0 ;
8919 PyObject
* obj1
= 0 ;
8921 (char *) "self",(char *) "prefix", NULL
8924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
8925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8926 if (SWIG_arg_fail(1)) SWIG_fail
;
8928 arg2
= wxString_in_helper(obj1
);
8929 if (arg2
== NULL
) SWIG_fail
;
8933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8934 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
8936 wxPyEndAllowThreads(__tstate
);
8937 if (PyErr_Occurred()) SWIG_fail
;
8939 Py_INCREF(Py_None
); resultobj
= Py_None
;
8954 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8955 PyObject
*resultobj
;
8961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
8963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8964 result
= wxFontMapper::GetDefaultConfigPath();
8966 wxPyEndAllowThreads(__tstate
);
8967 if (PyErr_Occurred()) SWIG_fail
;
8971 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8973 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8982 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8983 PyObject
*resultobj
;
8984 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8985 wxFontEncoding arg2
;
8986 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8987 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8988 bool arg4
= (bool) true ;
8990 bool temp3
= false ;
8991 PyObject
* obj0
= 0 ;
8992 PyObject
* obj1
= 0 ;
8993 PyObject
* obj2
= 0 ;
8994 PyObject
* obj3
= 0 ;
8996 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
8999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9001 if (SWIG_arg_fail(1)) SWIG_fail
;
9003 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
9004 if (SWIG_arg_fail(2)) SWIG_fail
;
9008 arg3
= wxString_in_helper(obj2
);
9009 if (arg3
== NULL
) SWIG_fail
;
9015 arg4
= (bool)(SWIG_As_bool(obj3
));
9016 if (SWIG_arg_fail(4)) SWIG_fail
;
9020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9021 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
9023 wxPyEndAllowThreads(__tstate
);
9024 if (PyErr_Occurred()) SWIG_fail
;
9041 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9042 PyObject
*resultobj
;
9043 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9044 wxFontEncoding arg2
;
9045 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9046 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9048 bool temp3
= false ;
9049 PyObject
* obj0
= 0 ;
9050 PyObject
* obj1
= 0 ;
9051 PyObject
* obj2
= 0 ;
9053 (char *) "self",(char *) "encoding",(char *) "facename", NULL
9056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9058 if (SWIG_arg_fail(1)) SWIG_fail
;
9060 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
9061 if (SWIG_arg_fail(2)) SWIG_fail
;
9065 arg3
= wxString_in_helper(obj2
);
9066 if (arg3
== NULL
) SWIG_fail
;
9071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9072 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
9074 wxPyEndAllowThreads(__tstate
);
9075 if (PyErr_Occurred()) SWIG_fail
;
9078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9094 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9095 PyObject
*resultobj
;
9096 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9097 wxWindow
*arg2
= (wxWindow
*) 0 ;
9098 PyObject
* obj0
= 0 ;
9099 PyObject
* obj1
= 0 ;
9101 (char *) "self",(char *) "parent", NULL
9104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
9105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9106 if (SWIG_arg_fail(1)) SWIG_fail
;
9107 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9108 if (SWIG_arg_fail(2)) SWIG_fail
;
9110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9111 (arg1
)->SetDialogParent(arg2
);
9113 wxPyEndAllowThreads(__tstate
);
9114 if (PyErr_Occurred()) SWIG_fail
;
9116 Py_INCREF(Py_None
); resultobj
= Py_None
;
9123 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9124 PyObject
*resultobj
;
9125 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9126 wxString
*arg2
= 0 ;
9127 bool temp2
= false ;
9128 PyObject
* obj0
= 0 ;
9129 PyObject
* obj1
= 0 ;
9131 (char *) "self",(char *) "title", NULL
9134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
9135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9136 if (SWIG_arg_fail(1)) SWIG_fail
;
9138 arg2
= wxString_in_helper(obj1
);
9139 if (arg2
== NULL
) SWIG_fail
;
9143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9144 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
9146 wxPyEndAllowThreads(__tstate
);
9147 if (PyErr_Occurred()) SWIG_fail
;
9149 Py_INCREF(Py_None
); resultobj
= Py_None
;
9164 static PyObject
* FontMapper_swigregister(PyObject
*, PyObject
*args
) {
9166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9167 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
9169 return Py_BuildValue((char *)"");
9171 static PyObject
*_wrap_new_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9172 PyObject
*resultobj
;
9177 bool arg5
= (bool) false ;
9178 wxString
const &arg6_defvalue
= wxPyEmptyString
;
9179 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9180 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9182 bool temp6
= false ;
9183 PyObject
* obj0
= 0 ;
9184 PyObject
* obj1
= 0 ;
9185 PyObject
* obj2
= 0 ;
9186 PyObject
* obj3
= 0 ;
9187 PyObject
* obj4
= 0 ;
9188 PyObject
* obj5
= 0 ;
9189 PyObject
* obj6
= 0 ;
9191 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
9194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9196 arg1
= (int)(SWIG_As_int(obj0
));
9197 if (SWIG_arg_fail(1)) SWIG_fail
;
9200 arg2
= (int)(SWIG_As_int(obj1
));
9201 if (SWIG_arg_fail(2)) SWIG_fail
;
9204 arg3
= (int)(SWIG_As_int(obj2
));
9205 if (SWIG_arg_fail(3)) SWIG_fail
;
9208 arg4
= (int)(SWIG_As_int(obj3
));
9209 if (SWIG_arg_fail(4)) SWIG_fail
;
9213 arg5
= (bool)(SWIG_As_bool(obj4
));
9214 if (SWIG_arg_fail(5)) SWIG_fail
;
9219 arg6
= wxString_in_helper(obj5
);
9220 if (arg6
== NULL
) SWIG_fail
;
9226 arg7
= (wxFontEncoding
)(SWIG_As_int(obj6
));
9227 if (SWIG_arg_fail(7)) SWIG_fail
;
9231 if (!wxPyCheckForApp()) SWIG_fail
;
9232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9233 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
9235 wxPyEndAllowThreads(__tstate
);
9236 if (PyErr_Occurred()) SWIG_fail
;
9238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9253 static PyObject
*_wrap_delete_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9254 PyObject
*resultobj
;
9255 wxFont
*arg1
= (wxFont
*) 0 ;
9256 PyObject
* obj0
= 0 ;
9258 (char *) "self", NULL
9261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
9262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9263 if (SWIG_arg_fail(1)) SWIG_fail
;
9265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9268 wxPyEndAllowThreads(__tstate
);
9269 if (PyErr_Occurred()) SWIG_fail
;
9271 Py_INCREF(Py_None
); resultobj
= Py_None
;
9278 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9279 PyObject
*resultobj
;
9280 wxNativeFontInfo
*arg1
= 0 ;
9282 PyObject
* obj0
= 0 ;
9284 (char *) "info", NULL
9287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
9289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
9290 if (SWIG_arg_fail(1)) SWIG_fail
;
9292 SWIG_null_ref("wxNativeFontInfo");
9294 if (SWIG_arg_fail(1)) SWIG_fail
;
9297 if (!wxPyCheckForApp()) SWIG_fail
;
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9299 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
9301 wxPyEndAllowThreads(__tstate
);
9302 if (PyErr_Occurred()) SWIG_fail
;
9304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9311 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9312 PyObject
*resultobj
;
9313 wxString
*arg1
= 0 ;
9315 bool temp1
= false ;
9316 PyObject
* obj0
= 0 ;
9318 (char *) "info", NULL
9321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
9323 arg1
= wxString_in_helper(obj0
);
9324 if (arg1
== NULL
) SWIG_fail
;
9328 if (!wxPyCheckForApp()) SWIG_fail
;
9329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9330 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
9332 wxPyEndAllowThreads(__tstate
);
9333 if (PyErr_Occurred()) SWIG_fail
;
9335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9350 static PyObject
*_wrap_new_Font2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9351 PyObject
*resultobj
;
9354 int arg3
= (int) wxFONTFLAG_DEFAULT
;
9355 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9356 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9357 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9359 bool temp4
= false ;
9360 PyObject
* obj0
= 0 ;
9361 PyObject
* obj1
= 0 ;
9362 PyObject
* obj2
= 0 ;
9363 PyObject
* obj3
= 0 ;
9364 PyObject
* obj4
= 0 ;
9366 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
9369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9371 arg1
= (int)(SWIG_As_int(obj0
));
9372 if (SWIG_arg_fail(1)) SWIG_fail
;
9375 arg2
= (wxFontFamily
)(SWIG_As_int(obj1
));
9376 if (SWIG_arg_fail(2)) SWIG_fail
;
9380 arg3
= (int)(SWIG_As_int(obj2
));
9381 if (SWIG_arg_fail(3)) SWIG_fail
;
9386 arg4
= wxString_in_helper(obj3
);
9387 if (arg4
== NULL
) SWIG_fail
;
9393 arg5
= (wxFontEncoding
)(SWIG_As_int(obj4
));
9394 if (SWIG_arg_fail(5)) SWIG_fail
;
9398 if (!wxPyCheckForApp()) SWIG_fail
;
9399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9400 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
9402 wxPyEndAllowThreads(__tstate
);
9403 if (PyErr_Occurred()) SWIG_fail
;
9405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9420 static PyObject
*_wrap_new_FontFromPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9421 PyObject
*resultobj
;
9426 bool arg5
= (bool) false ;
9427 wxString
const &arg6_defvalue
= wxEmptyString
;
9428 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9429 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9432 bool temp6
= false ;
9433 PyObject
* obj0
= 0 ;
9434 PyObject
* obj1
= 0 ;
9435 PyObject
* obj2
= 0 ;
9436 PyObject
* obj3
= 0 ;
9437 PyObject
* obj4
= 0 ;
9438 PyObject
* obj5
= 0 ;
9439 PyObject
* obj6
= 0 ;
9441 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
9444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9447 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
9450 arg2
= (int)(SWIG_As_int(obj1
));
9451 if (SWIG_arg_fail(2)) SWIG_fail
;
9454 arg3
= (int)(SWIG_As_int(obj2
));
9455 if (SWIG_arg_fail(3)) SWIG_fail
;
9458 arg4
= (int)(SWIG_As_int(obj3
));
9459 if (SWIG_arg_fail(4)) SWIG_fail
;
9463 arg5
= (bool)(SWIG_As_bool(obj4
));
9464 if (SWIG_arg_fail(5)) SWIG_fail
;
9469 arg6
= wxString_in_helper(obj5
);
9470 if (arg6
== NULL
) SWIG_fail
;
9476 arg7
= (wxFontEncoding
)(SWIG_As_int(obj6
));
9477 if (SWIG_arg_fail(7)) SWIG_fail
;
9481 if (!wxPyCheckForApp()) SWIG_fail
;
9482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9483 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
9485 wxPyEndAllowThreads(__tstate
);
9486 if (PyErr_Occurred()) SWIG_fail
;
9488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9503 static PyObject
*_wrap_Font_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9504 PyObject
*resultobj
;
9505 wxFont
*arg1
= (wxFont
*) 0 ;
9507 PyObject
* obj0
= 0 ;
9509 (char *) "self", NULL
9512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
9513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9514 if (SWIG_arg_fail(1)) SWIG_fail
;
9516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9517 result
= (bool)((wxFont
const *)arg1
)->Ok();
9519 wxPyEndAllowThreads(__tstate
);
9520 if (PyErr_Occurred()) SWIG_fail
;
9523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9531 static PyObject
*_wrap_Font___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9532 PyObject
*resultobj
;
9533 wxFont
*arg1
= (wxFont
*) 0 ;
9534 wxFont
*arg2
= (wxFont
*) 0 ;
9536 PyObject
* obj0
= 0 ;
9537 PyObject
* obj1
= 0 ;
9539 (char *) "self",(char *) "other", NULL
9542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
9543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9544 if (SWIG_arg_fail(1)) SWIG_fail
;
9545 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9546 if (SWIG_arg_fail(2)) SWIG_fail
;
9548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9549 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
9551 wxPyEndAllowThreads(__tstate
);
9552 if (PyErr_Occurred()) SWIG_fail
;
9555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9563 static PyObject
*_wrap_Font___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9564 PyObject
*resultobj
;
9565 wxFont
*arg1
= (wxFont
*) 0 ;
9566 wxFont
*arg2
= (wxFont
*) 0 ;
9568 PyObject
* obj0
= 0 ;
9569 PyObject
* obj1
= 0 ;
9571 (char *) "self",(char *) "other", NULL
9574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
9575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9576 if (SWIG_arg_fail(1)) SWIG_fail
;
9577 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9578 if (SWIG_arg_fail(2)) SWIG_fail
;
9580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9581 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
9583 wxPyEndAllowThreads(__tstate
);
9584 if (PyErr_Occurred()) SWIG_fail
;
9587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9595 static PyObject
*_wrap_Font_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9596 PyObject
*resultobj
;
9597 wxFont
*arg1
= (wxFont
*) 0 ;
9599 PyObject
* obj0
= 0 ;
9601 (char *) "self", NULL
9604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
9605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9606 if (SWIG_arg_fail(1)) SWIG_fail
;
9608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9609 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
9611 wxPyEndAllowThreads(__tstate
);
9612 if (PyErr_Occurred()) SWIG_fail
;
9615 resultobj
= SWIG_From_int((int)(result
));
9623 static PyObject
*_wrap_Font_GetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9624 PyObject
*resultobj
;
9625 wxFont
*arg1
= (wxFont
*) 0 ;
9627 PyObject
* obj0
= 0 ;
9629 (char *) "self", NULL
9632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPixelSize",kwnames
,&obj0
)) goto fail
;
9633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9634 if (SWIG_arg_fail(1)) SWIG_fail
;
9636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9637 result
= ((wxFont
const *)arg1
)->GetPixelSize();
9639 wxPyEndAllowThreads(__tstate
);
9640 if (PyErr_Occurred()) SWIG_fail
;
9644 resultptr
= new wxSize((wxSize
&)(result
));
9645 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
9653 static PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9654 PyObject
*resultobj
;
9655 wxFont
*arg1
= (wxFont
*) 0 ;
9657 PyObject
* obj0
= 0 ;
9659 (char *) "self", NULL
9662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsUsingSizeInPixels",kwnames
,&obj0
)) goto fail
;
9663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9664 if (SWIG_arg_fail(1)) SWIG_fail
;
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9681 static PyObject
*_wrap_Font_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9682 PyObject
*resultobj
;
9683 wxFont
*arg1
= (wxFont
*) 0 ;
9685 PyObject
* obj0
= 0 ;
9687 (char *) "self", NULL
9690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
9691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9692 if (SWIG_arg_fail(1)) SWIG_fail
;
9694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9695 result
= (int)((wxFont
const *)arg1
)->GetFamily();
9697 wxPyEndAllowThreads(__tstate
);
9698 if (PyErr_Occurred()) SWIG_fail
;
9701 resultobj
= SWIG_From_int((int)(result
));
9709 static PyObject
*_wrap_Font_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9710 PyObject
*resultobj
;
9711 wxFont
*arg1
= (wxFont
*) 0 ;
9713 PyObject
* obj0
= 0 ;
9715 (char *) "self", NULL
9718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
9719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9720 if (SWIG_arg_fail(1)) SWIG_fail
;
9722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9723 result
= (int)((wxFont
const *)arg1
)->GetStyle();
9725 wxPyEndAllowThreads(__tstate
);
9726 if (PyErr_Occurred()) SWIG_fail
;
9729 resultobj
= SWIG_From_int((int)(result
));
9737 static PyObject
*_wrap_Font_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9738 PyObject
*resultobj
;
9739 wxFont
*arg1
= (wxFont
*) 0 ;
9741 PyObject
* obj0
= 0 ;
9743 (char *) "self", NULL
9746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
9747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9748 if (SWIG_arg_fail(1)) SWIG_fail
;
9750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9751 result
= (int)((wxFont
const *)arg1
)->GetWeight();
9753 wxPyEndAllowThreads(__tstate
);
9754 if (PyErr_Occurred()) SWIG_fail
;
9757 resultobj
= SWIG_From_int((int)(result
));
9765 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9766 PyObject
*resultobj
;
9767 wxFont
*arg1
= (wxFont
*) 0 ;
9769 PyObject
* obj0
= 0 ;
9771 (char *) "self", NULL
9774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
9775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9776 if (SWIG_arg_fail(1)) SWIG_fail
;
9778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9779 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
9781 wxPyEndAllowThreads(__tstate
);
9782 if (PyErr_Occurred()) SWIG_fail
;
9785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9793 static PyObject
*_wrap_Font_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9794 PyObject
*resultobj
;
9795 wxFont
*arg1
= (wxFont
*) 0 ;
9797 PyObject
* obj0
= 0 ;
9799 (char *) "self", NULL
9802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
9803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9804 if (SWIG_arg_fail(1)) SWIG_fail
;
9806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9807 result
= ((wxFont
const *)arg1
)->GetFaceName();
9809 wxPyEndAllowThreads(__tstate
);
9810 if (PyErr_Occurred()) SWIG_fail
;
9814 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9816 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9825 static PyObject
*_wrap_Font_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9826 PyObject
*resultobj
;
9827 wxFont
*arg1
= (wxFont
*) 0 ;
9828 wxFontEncoding result
;
9829 PyObject
* obj0
= 0 ;
9831 (char *) "self", NULL
9834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
9835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9836 if (SWIG_arg_fail(1)) SWIG_fail
;
9838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9839 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
9841 wxPyEndAllowThreads(__tstate
);
9842 if (PyErr_Occurred()) SWIG_fail
;
9844 resultobj
= SWIG_From_int((result
));
9851 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9852 PyObject
*resultobj
;
9853 wxFont
*arg1
= (wxFont
*) 0 ;
9854 wxNativeFontInfo
*result
;
9855 PyObject
* obj0
= 0 ;
9857 (char *) "self", NULL
9860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
9861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9862 if (SWIG_arg_fail(1)) SWIG_fail
;
9864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9865 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
9867 wxPyEndAllowThreads(__tstate
);
9868 if (PyErr_Occurred()) SWIG_fail
;
9870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
9877 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9878 PyObject
*resultobj
;
9879 wxFont
*arg1
= (wxFont
*) 0 ;
9881 PyObject
* obj0
= 0 ;
9883 (char *) "self", NULL
9886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
9887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9888 if (SWIG_arg_fail(1)) SWIG_fail
;
9890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9891 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
9893 wxPyEndAllowThreads(__tstate
);
9894 if (PyErr_Occurred()) SWIG_fail
;
9897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9905 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9906 PyObject
*resultobj
;
9907 wxFont
*arg1
= (wxFont
*) 0 ;
9909 PyObject
* obj0
= 0 ;
9911 (char *) "self", NULL
9914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
9915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9916 if (SWIG_arg_fail(1)) SWIG_fail
;
9918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9919 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
9921 wxPyEndAllowThreads(__tstate
);
9922 if (PyErr_Occurred()) SWIG_fail
;
9926 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9928 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9937 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9938 PyObject
*resultobj
;
9939 wxFont
*arg1
= (wxFont
*) 0 ;
9941 PyObject
* obj0
= 0 ;
9943 (char *) "self", NULL
9946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
9947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9948 if (SWIG_arg_fail(1)) SWIG_fail
;
9950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9951 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
9953 wxPyEndAllowThreads(__tstate
);
9954 if (PyErr_Occurred()) SWIG_fail
;
9958 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9960 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9969 static PyObject
*_wrap_Font_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9970 PyObject
*resultobj
;
9971 wxFont
*arg1
= (wxFont
*) 0 ;
9973 PyObject
* obj0
= 0 ;
9974 PyObject
* obj1
= 0 ;
9976 (char *) "self",(char *) "pointSize", NULL
9979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9981 if (SWIG_arg_fail(1)) SWIG_fail
;
9983 arg2
= (int)(SWIG_As_int(obj1
));
9984 if (SWIG_arg_fail(2)) SWIG_fail
;
9987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9988 (arg1
)->SetPointSize(arg2
);
9990 wxPyEndAllowThreads(__tstate
);
9991 if (PyErr_Occurred()) SWIG_fail
;
9993 Py_INCREF(Py_None
); resultobj
= Py_None
;
10000 static PyObject
*_wrap_Font_SetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10001 PyObject
*resultobj
;
10002 wxFont
*arg1
= (wxFont
*) 0 ;
10005 PyObject
* obj0
= 0 ;
10006 PyObject
* obj1
= 0 ;
10007 char *kwnames
[] = {
10008 (char *) "self",(char *) "pixelSize", NULL
10011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10013 if (SWIG_arg_fail(1)) SWIG_fail
;
10016 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10020 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
10022 wxPyEndAllowThreads(__tstate
);
10023 if (PyErr_Occurred()) SWIG_fail
;
10025 Py_INCREF(Py_None
); resultobj
= Py_None
;
10032 static PyObject
*_wrap_Font_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10033 PyObject
*resultobj
;
10034 wxFont
*arg1
= (wxFont
*) 0 ;
10036 PyObject
* obj0
= 0 ;
10037 PyObject
* obj1
= 0 ;
10038 char *kwnames
[] = {
10039 (char *) "self",(char *) "family", NULL
10042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
10043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10044 if (SWIG_arg_fail(1)) SWIG_fail
;
10046 arg2
= (int)(SWIG_As_int(obj1
));
10047 if (SWIG_arg_fail(2)) SWIG_fail
;
10050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10051 (arg1
)->SetFamily(arg2
);
10053 wxPyEndAllowThreads(__tstate
);
10054 if (PyErr_Occurred()) SWIG_fail
;
10056 Py_INCREF(Py_None
); resultobj
= Py_None
;
10063 static PyObject
*_wrap_Font_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10064 PyObject
*resultobj
;
10065 wxFont
*arg1
= (wxFont
*) 0 ;
10067 PyObject
* obj0
= 0 ;
10068 PyObject
* obj1
= 0 ;
10069 char *kwnames
[] = {
10070 (char *) "self",(char *) "style", NULL
10073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10075 if (SWIG_arg_fail(1)) SWIG_fail
;
10077 arg2
= (int)(SWIG_As_int(obj1
));
10078 if (SWIG_arg_fail(2)) SWIG_fail
;
10081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10082 (arg1
)->SetStyle(arg2
);
10084 wxPyEndAllowThreads(__tstate
);
10085 if (PyErr_Occurred()) SWIG_fail
;
10087 Py_INCREF(Py_None
); resultobj
= Py_None
;
10094 static PyObject
*_wrap_Font_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10095 PyObject
*resultobj
;
10096 wxFont
*arg1
= (wxFont
*) 0 ;
10098 PyObject
* obj0
= 0 ;
10099 PyObject
* obj1
= 0 ;
10100 char *kwnames
[] = {
10101 (char *) "self",(char *) "weight", NULL
10104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
10105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10106 if (SWIG_arg_fail(1)) SWIG_fail
;
10108 arg2
= (int)(SWIG_As_int(obj1
));
10109 if (SWIG_arg_fail(2)) SWIG_fail
;
10112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10113 (arg1
)->SetWeight(arg2
);
10115 wxPyEndAllowThreads(__tstate
);
10116 if (PyErr_Occurred()) SWIG_fail
;
10118 Py_INCREF(Py_None
); resultobj
= Py_None
;
10125 static PyObject
*_wrap_Font_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10126 PyObject
*resultobj
;
10127 wxFont
*arg1
= (wxFont
*) 0 ;
10128 wxString
*arg2
= 0 ;
10129 bool temp2
= false ;
10130 PyObject
* obj0
= 0 ;
10131 PyObject
* obj1
= 0 ;
10132 char *kwnames
[] = {
10133 (char *) "self",(char *) "faceName", NULL
10136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
10137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10138 if (SWIG_arg_fail(1)) SWIG_fail
;
10140 arg2
= wxString_in_helper(obj1
);
10141 if (arg2
== NULL
) SWIG_fail
;
10145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10146 (arg1
)->SetFaceName((wxString
const &)*arg2
);
10148 wxPyEndAllowThreads(__tstate
);
10149 if (PyErr_Occurred()) SWIG_fail
;
10151 Py_INCREF(Py_None
); resultobj
= Py_None
;
10166 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10167 PyObject
*resultobj
;
10168 wxFont
*arg1
= (wxFont
*) 0 ;
10170 PyObject
* obj0
= 0 ;
10171 PyObject
* obj1
= 0 ;
10172 char *kwnames
[] = {
10173 (char *) "self",(char *) "underlined", NULL
10176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
10177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10178 if (SWIG_arg_fail(1)) SWIG_fail
;
10180 arg2
= (bool)(SWIG_As_bool(obj1
));
10181 if (SWIG_arg_fail(2)) SWIG_fail
;
10184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10185 (arg1
)->SetUnderlined(arg2
);
10187 wxPyEndAllowThreads(__tstate
);
10188 if (PyErr_Occurred()) SWIG_fail
;
10190 Py_INCREF(Py_None
); resultobj
= Py_None
;
10197 static PyObject
*_wrap_Font_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10198 PyObject
*resultobj
;
10199 wxFont
*arg1
= (wxFont
*) 0 ;
10200 wxFontEncoding arg2
;
10201 PyObject
* obj0
= 0 ;
10202 PyObject
* obj1
= 0 ;
10203 char *kwnames
[] = {
10204 (char *) "self",(char *) "encoding", NULL
10207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
10208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10209 if (SWIG_arg_fail(1)) SWIG_fail
;
10211 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
10212 if (SWIG_arg_fail(2)) SWIG_fail
;
10215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10216 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
10218 wxPyEndAllowThreads(__tstate
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10221 Py_INCREF(Py_None
); resultobj
= Py_None
;
10228 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10229 PyObject
*resultobj
;
10230 wxFont
*arg1
= (wxFont
*) 0 ;
10231 wxNativeFontInfo
*arg2
= 0 ;
10232 PyObject
* obj0
= 0 ;
10233 PyObject
* obj1
= 0 ;
10234 char *kwnames
[] = {
10235 (char *) "self",(char *) "info", NULL
10238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
10239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10240 if (SWIG_arg_fail(1)) SWIG_fail
;
10242 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
10243 if (SWIG_arg_fail(2)) SWIG_fail
;
10244 if (arg2
== NULL
) {
10245 SWIG_null_ref("wxNativeFontInfo");
10247 if (SWIG_arg_fail(2)) SWIG_fail
;
10250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10251 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
10253 wxPyEndAllowThreads(__tstate
);
10254 if (PyErr_Occurred()) SWIG_fail
;
10256 Py_INCREF(Py_None
); resultobj
= Py_None
;
10263 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10264 PyObject
*resultobj
;
10265 wxFont
*arg1
= (wxFont
*) 0 ;
10266 wxString
*arg2
= 0 ;
10267 bool temp2
= false ;
10268 PyObject
* obj0
= 0 ;
10269 PyObject
* obj1
= 0 ;
10270 char *kwnames
[] = {
10271 (char *) "self",(char *) "info", NULL
10274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
10275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10276 if (SWIG_arg_fail(1)) SWIG_fail
;
10278 arg2
= wxString_in_helper(obj1
);
10279 if (arg2
== NULL
) SWIG_fail
;
10283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10284 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
10286 wxPyEndAllowThreads(__tstate
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10289 Py_INCREF(Py_None
); resultobj
= Py_None
;
10304 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10305 PyObject
*resultobj
;
10306 wxFont
*arg1
= (wxFont
*) 0 ;
10307 wxString
*arg2
= 0 ;
10308 bool temp2
= false ;
10309 PyObject
* obj0
= 0 ;
10310 PyObject
* obj1
= 0 ;
10311 char *kwnames
[] = {
10312 (char *) "self",(char *) "info", NULL
10315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
10316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10317 if (SWIG_arg_fail(1)) SWIG_fail
;
10319 arg2
= wxString_in_helper(obj1
);
10320 if (arg2
== NULL
) SWIG_fail
;
10324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10325 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
10327 wxPyEndAllowThreads(__tstate
);
10328 if (PyErr_Occurred()) SWIG_fail
;
10330 Py_INCREF(Py_None
); resultobj
= Py_None
;
10345 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10346 PyObject
*resultobj
;
10347 wxFont
*arg1
= (wxFont
*) 0 ;
10349 PyObject
* obj0
= 0 ;
10350 char *kwnames
[] = {
10351 (char *) "self", NULL
10354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
10355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10356 if (SWIG_arg_fail(1)) SWIG_fail
;
10358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10359 result
= ((wxFont
const *)arg1
)->GetFamilyString();
10361 wxPyEndAllowThreads(__tstate
);
10362 if (PyErr_Occurred()) SWIG_fail
;
10366 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10368 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10377 static PyObject
*_wrap_Font_GetStyleString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10378 PyObject
*resultobj
;
10379 wxFont
*arg1
= (wxFont
*) 0 ;
10381 PyObject
* obj0
= 0 ;
10382 char *kwnames
[] = {
10383 (char *) "self", NULL
10386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
10387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10388 if (SWIG_arg_fail(1)) SWIG_fail
;
10390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10391 result
= ((wxFont
const *)arg1
)->GetStyleString();
10393 wxPyEndAllowThreads(__tstate
);
10394 if (PyErr_Occurred()) SWIG_fail
;
10398 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10400 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10409 static PyObject
*_wrap_Font_GetWeightString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10410 PyObject
*resultobj
;
10411 wxFont
*arg1
= (wxFont
*) 0 ;
10413 PyObject
* obj0
= 0 ;
10414 char *kwnames
[] = {
10415 (char *) "self", NULL
10418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
10419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10420 if (SWIG_arg_fail(1)) SWIG_fail
;
10422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10423 result
= ((wxFont
const *)arg1
)->GetWeightString();
10425 wxPyEndAllowThreads(__tstate
);
10426 if (PyErr_Occurred()) SWIG_fail
;
10430 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10432 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10441 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10442 PyObject
*resultobj
;
10443 wxFont
*arg1
= (wxFont
*) 0 ;
10444 bool arg2
= (bool) true ;
10445 PyObject
* obj0
= 0 ;
10446 PyObject
* obj1
= 0 ;
10447 char *kwnames
[] = {
10448 (char *) "self",(char *) "no", NULL
10451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
10452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10453 if (SWIG_arg_fail(1)) SWIG_fail
;
10456 arg2
= (bool)(SWIG_As_bool(obj1
));
10457 if (SWIG_arg_fail(2)) SWIG_fail
;
10461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10462 (arg1
)->SetNoAntiAliasing(arg2
);
10464 wxPyEndAllowThreads(__tstate
);
10465 if (PyErr_Occurred()) SWIG_fail
;
10467 Py_INCREF(Py_None
); resultobj
= Py_None
;
10474 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10475 PyObject
*resultobj
;
10476 wxFont
*arg1
= (wxFont
*) 0 ;
10478 PyObject
* obj0
= 0 ;
10479 char *kwnames
[] = {
10480 (char *) "self", NULL
10483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
10484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10485 if (SWIG_arg_fail(1)) SWIG_fail
;
10487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10488 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
10490 wxPyEndAllowThreads(__tstate
);
10491 if (PyErr_Occurred()) SWIG_fail
;
10494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10502 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10503 PyObject
*resultobj
;
10504 wxFontEncoding result
;
10505 char *kwnames
[] = {
10509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
10511 if (!wxPyCheckForApp()) SWIG_fail
;
10512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10513 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
10515 wxPyEndAllowThreads(__tstate
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10518 resultobj
= SWIG_From_int((result
));
10525 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10526 PyObject
*resultobj
;
10527 wxFontEncoding arg1
;
10528 PyObject
* obj0
= 0 ;
10529 char *kwnames
[] = {
10530 (char *) "encoding", NULL
10533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
10535 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
10536 if (SWIG_arg_fail(1)) SWIG_fail
;
10539 if (!wxPyCheckForApp()) SWIG_fail
;
10540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10541 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
10543 wxPyEndAllowThreads(__tstate
);
10544 if (PyErr_Occurred()) SWIG_fail
;
10546 Py_INCREF(Py_None
); resultobj
= Py_None
;
10553 static PyObject
* Font_swigregister(PyObject
*, PyObject
*args
) {
10555 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10556 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
10558 return Py_BuildValue((char *)"");
10560 static PyObject
*_wrap_new_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10561 PyObject
*resultobj
;
10562 wxPyFontEnumerator
*result
;
10563 char *kwnames
[] = {
10567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
10569 if (!wxPyCheckForApp()) SWIG_fail
;
10570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10571 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
10573 wxPyEndAllowThreads(__tstate
);
10574 if (PyErr_Occurred()) SWIG_fail
;
10576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
10583 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10584 PyObject
*resultobj
;
10585 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10586 PyObject
* obj0
= 0 ;
10587 char *kwnames
[] = {
10588 (char *) "self", NULL
10591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
10592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10593 if (SWIG_arg_fail(1)) SWIG_fail
;
10595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10598 wxPyEndAllowThreads(__tstate
);
10599 if (PyErr_Occurred()) SWIG_fail
;
10601 Py_INCREF(Py_None
); resultobj
= Py_None
;
10608 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10609 PyObject
*resultobj
;
10610 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10611 PyObject
*arg2
= (PyObject
*) 0 ;
10612 PyObject
*arg3
= (PyObject
*) 0 ;
10614 PyObject
* obj0
= 0 ;
10615 PyObject
* obj1
= 0 ;
10616 PyObject
* obj2
= 0 ;
10617 PyObject
* obj3
= 0 ;
10618 char *kwnames
[] = {
10619 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
10622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10624 if (SWIG_arg_fail(1)) SWIG_fail
;
10628 arg4
= (bool)(SWIG_As_bool(obj3
));
10629 if (SWIG_arg_fail(4)) SWIG_fail
;
10632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10633 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
10635 wxPyEndAllowThreads(__tstate
);
10636 if (PyErr_Occurred()) SWIG_fail
;
10638 Py_INCREF(Py_None
); resultobj
= Py_None
;
10645 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10646 PyObject
*resultobj
;
10647 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10648 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
10649 bool arg3
= (bool) false ;
10651 PyObject
* obj0
= 0 ;
10652 PyObject
* obj1
= 0 ;
10653 PyObject
* obj2
= 0 ;
10654 char *kwnames
[] = {
10655 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
10658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10660 if (SWIG_arg_fail(1)) SWIG_fail
;
10663 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
10664 if (SWIG_arg_fail(2)) SWIG_fail
;
10669 arg3
= (bool)(SWIG_As_bool(obj2
));
10670 if (SWIG_arg_fail(3)) SWIG_fail
;
10674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10675 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
10677 wxPyEndAllowThreads(__tstate
);
10678 if (PyErr_Occurred()) SWIG_fail
;
10681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10689 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10690 PyObject
*resultobj
;
10691 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10692 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10693 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10695 bool temp2
= false ;
10696 PyObject
* obj0
= 0 ;
10697 PyObject
* obj1
= 0 ;
10698 char *kwnames
[] = {
10699 (char *) "self",(char *) "facename", NULL
10702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
10703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10704 if (SWIG_arg_fail(1)) SWIG_fail
;
10707 arg2
= wxString_in_helper(obj1
);
10708 if (arg2
== NULL
) SWIG_fail
;
10713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10714 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
10716 wxPyEndAllowThreads(__tstate
);
10717 if (PyErr_Occurred()) SWIG_fail
;
10720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10736 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10737 PyObject
*resultobj
;
10738 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10740 PyObject
* obj0
= 0 ;
10741 char *kwnames
[] = {
10742 (char *) "self", NULL
10745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
10746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10747 if (SWIG_arg_fail(1)) SWIG_fail
;
10749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10750 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
10752 wxPyEndAllowThreads(__tstate
);
10753 if (PyErr_Occurred()) SWIG_fail
;
10755 resultobj
= result
;
10762 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10763 PyObject
*resultobj
;
10764 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10766 PyObject
* obj0
= 0 ;
10767 char *kwnames
[] = {
10768 (char *) "self", NULL
10771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
10772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10773 if (SWIG_arg_fail(1)) SWIG_fail
;
10775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10776 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
10778 wxPyEndAllowThreads(__tstate
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10781 resultobj
= result
;
10788 static PyObject
* FontEnumerator_swigregister(PyObject
*, PyObject
*args
) {
10790 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10791 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
10793 return Py_BuildValue((char *)"");
10795 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10796 PyObject
*resultobj
;
10797 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10799 PyObject
* obj0
= 0 ;
10800 PyObject
* obj1
= 0 ;
10801 char *kwnames
[] = {
10802 (char *) "self",(char *) "Language", NULL
10805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
10807 if (SWIG_arg_fail(1)) SWIG_fail
;
10809 arg2
= (int)(SWIG_As_int(obj1
));
10810 if (SWIG_arg_fail(2)) SWIG_fail
;
10812 if (arg1
) (arg1
)->Language
= arg2
;
10814 Py_INCREF(Py_None
); resultobj
= Py_None
;
10821 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10822 PyObject
*resultobj
;
10823 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10825 PyObject
* obj0
= 0 ;
10826 char *kwnames
[] = {
10827 (char *) "self", NULL
10830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
10831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
10832 if (SWIG_arg_fail(1)) SWIG_fail
;
10833 result
= (int) ((arg1
)->Language
);
10836 resultobj
= SWIG_From_int((int)(result
));
10844 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10845 PyObject
*resultobj
;
10846 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10847 wxString
*arg2
= (wxString
*) 0 ;
10848 bool temp2
= false ;
10849 PyObject
* obj0
= 0 ;
10850 PyObject
* obj1
= 0 ;
10851 char *kwnames
[] = {
10852 (char *) "self",(char *) "CanonicalName", NULL
10855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
10857 if (SWIG_arg_fail(1)) SWIG_fail
;
10859 arg2
= wxString_in_helper(obj1
);
10860 if (arg2
== NULL
) SWIG_fail
;
10863 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
10865 Py_INCREF(Py_None
); resultobj
= Py_None
;
10880 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10881 PyObject
*resultobj
;
10882 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10884 PyObject
* obj0
= 0 ;
10885 char *kwnames
[] = {
10886 (char *) "self", NULL
10889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
10890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
10891 if (SWIG_arg_fail(1)) SWIG_fail
;
10892 result
= (wxString
*)& ((arg1
)->CanonicalName
);
10896 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10898 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10907 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10908 PyObject
*resultobj
;
10909 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10910 wxString
*arg2
= (wxString
*) 0 ;
10911 bool temp2
= false ;
10912 PyObject
* obj0
= 0 ;
10913 PyObject
* obj1
= 0 ;
10914 char *kwnames
[] = {
10915 (char *) "self",(char *) "Description", NULL
10918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
10920 if (SWIG_arg_fail(1)) SWIG_fail
;
10922 arg2
= wxString_in_helper(obj1
);
10923 if (arg2
== NULL
) SWIG_fail
;
10926 if (arg1
) (arg1
)->Description
= *arg2
;
10928 Py_INCREF(Py_None
); resultobj
= Py_None
;
10943 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10944 PyObject
*resultobj
;
10945 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10947 PyObject
* obj0
= 0 ;
10948 char *kwnames
[] = {
10949 (char *) "self", NULL
10952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
10953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
10954 if (SWIG_arg_fail(1)) SWIG_fail
;
10955 result
= (wxString
*)& ((arg1
)->Description
);
10959 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10961 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10970 static PyObject
* LanguageInfo_swigregister(PyObject
*, PyObject
*args
) {
10972 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10973 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
10975 return Py_BuildValue((char *)"");
10977 static PyObject
*_wrap_new_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10978 PyObject
*resultobj
;
10979 int arg1
= (int) -1 ;
10980 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
10982 PyObject
* obj0
= 0 ;
10983 PyObject
* obj1
= 0 ;
10984 char *kwnames
[] = {
10985 (char *) "language",(char *) "flags", NULL
10988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
10991 arg1
= (int)(SWIG_As_int(obj0
));
10992 if (SWIG_arg_fail(1)) SWIG_fail
;
10997 arg2
= (int)(SWIG_As_int(obj1
));
10998 if (SWIG_arg_fail(2)) SWIG_fail
;
11002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11003 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
11005 wxPyEndAllowThreads(__tstate
);
11006 if (PyErr_Occurred()) SWIG_fail
;
11008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
11015 static PyObject
*_wrap_delete_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11016 PyObject
*resultobj
;
11017 wxLocale
*arg1
= (wxLocale
*) 0 ;
11018 PyObject
* obj0
= 0 ;
11019 char *kwnames
[] = {
11020 (char *) "self", NULL
11023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
11024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11025 if (SWIG_arg_fail(1)) SWIG_fail
;
11027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11030 wxPyEndAllowThreads(__tstate
);
11031 if (PyErr_Occurred()) SWIG_fail
;
11033 Py_INCREF(Py_None
); resultobj
= Py_None
;
11040 static PyObject
*_wrap_Locale_Init1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11041 PyObject
*resultobj
;
11042 wxLocale
*arg1
= (wxLocale
*) 0 ;
11043 wxString
*arg2
= 0 ;
11044 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11045 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11046 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11047 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11048 bool arg5
= (bool) true ;
11049 bool arg6
= (bool) false ;
11051 bool temp2
= false ;
11052 bool temp3
= false ;
11053 bool temp4
= false ;
11054 PyObject
* obj0
= 0 ;
11055 PyObject
* obj1
= 0 ;
11056 PyObject
* obj2
= 0 ;
11057 PyObject
* obj3
= 0 ;
11058 PyObject
* obj4
= 0 ;
11059 PyObject
* obj5
= 0 ;
11060 char *kwnames
[] = {
11061 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
11064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11066 if (SWIG_arg_fail(1)) SWIG_fail
;
11068 arg2
= wxString_in_helper(obj1
);
11069 if (arg2
== NULL
) SWIG_fail
;
11074 arg3
= wxString_in_helper(obj2
);
11075 if (arg3
== NULL
) SWIG_fail
;
11081 arg4
= wxString_in_helper(obj3
);
11082 if (arg4
== NULL
) SWIG_fail
;
11088 arg5
= (bool)(SWIG_As_bool(obj4
));
11089 if (SWIG_arg_fail(5)) SWIG_fail
;
11094 arg6
= (bool)(SWIG_As_bool(obj5
));
11095 if (SWIG_arg_fail(6)) SWIG_fail
;
11099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11100 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
11102 wxPyEndAllowThreads(__tstate
);
11103 if (PyErr_Occurred()) SWIG_fail
;
11106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11138 static PyObject
*_wrap_Locale_Init2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11139 PyObject
*resultobj
;
11140 wxLocale
*arg1
= (wxLocale
*) 0 ;
11141 int arg2
= (int) wxLANGUAGE_DEFAULT
;
11142 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
11144 PyObject
* obj0
= 0 ;
11145 PyObject
* obj1
= 0 ;
11146 PyObject
* obj2
= 0 ;
11147 char *kwnames
[] = {
11148 (char *) "self",(char *) "language",(char *) "flags", NULL
11151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11153 if (SWIG_arg_fail(1)) SWIG_fail
;
11156 arg2
= (int)(SWIG_As_int(obj1
));
11157 if (SWIG_arg_fail(2)) SWIG_fail
;
11162 arg3
= (int)(SWIG_As_int(obj2
));
11163 if (SWIG_arg_fail(3)) SWIG_fail
;
11167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11168 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
11170 wxPyEndAllowThreads(__tstate
);
11171 if (PyErr_Occurred()) SWIG_fail
;
11174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11182 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11183 PyObject
*resultobj
;
11185 char *kwnames
[] = {
11189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
11191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11192 result
= (int)wxLocale::GetSystemLanguage();
11194 wxPyEndAllowThreads(__tstate
);
11195 if (PyErr_Occurred()) SWIG_fail
;
11198 resultobj
= SWIG_From_int((int)(result
));
11206 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11207 PyObject
*resultobj
;
11208 wxFontEncoding result
;
11209 char *kwnames
[] = {
11213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
11215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11216 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
11218 wxPyEndAllowThreads(__tstate
);
11219 if (PyErr_Occurred()) SWIG_fail
;
11221 resultobj
= SWIG_From_int((result
));
11228 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11229 PyObject
*resultobj
;
11231 char *kwnames
[] = {
11235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
11237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11238 result
= wxLocale::GetSystemEncodingName();
11240 wxPyEndAllowThreads(__tstate
);
11241 if (PyErr_Occurred()) SWIG_fail
;
11245 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11247 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11256 static PyObject
*_wrap_Locale_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11257 PyObject
*resultobj
;
11258 wxLocale
*arg1
= (wxLocale
*) 0 ;
11260 PyObject
* obj0
= 0 ;
11261 char *kwnames
[] = {
11262 (char *) "self", NULL
11265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
11266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11267 if (SWIG_arg_fail(1)) SWIG_fail
;
11269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11270 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
11272 wxPyEndAllowThreads(__tstate
);
11273 if (PyErr_Occurred()) SWIG_fail
;
11276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11284 static PyObject
*_wrap_Locale_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11285 PyObject
*resultobj
;
11286 wxLocale
*arg1
= (wxLocale
*) 0 ;
11288 PyObject
* obj0
= 0 ;
11289 char *kwnames
[] = {
11290 (char *) "self", NULL
11293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
11294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11295 if (SWIG_arg_fail(1)) SWIG_fail
;
11297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11298 result
= ((wxLocale
const *)arg1
)->GetLocale();
11300 wxPyEndAllowThreads(__tstate
);
11301 if (PyErr_Occurred()) SWIG_fail
;
11305 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11307 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11316 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11317 PyObject
*resultobj
;
11318 wxLocale
*arg1
= (wxLocale
*) 0 ;
11320 PyObject
* obj0
= 0 ;
11321 char *kwnames
[] = {
11322 (char *) "self", NULL
11325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
11326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11327 if (SWIG_arg_fail(1)) SWIG_fail
;
11329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11330 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
11332 wxPyEndAllowThreads(__tstate
);
11333 if (PyErr_Occurred()) SWIG_fail
;
11336 resultobj
= SWIG_From_int((int)(result
));
11344 static PyObject
*_wrap_Locale_GetSysName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11345 PyObject
*resultobj
;
11346 wxLocale
*arg1
= (wxLocale
*) 0 ;
11348 PyObject
* obj0
= 0 ;
11349 char *kwnames
[] = {
11350 (char *) "self", NULL
11353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
11354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11355 if (SWIG_arg_fail(1)) SWIG_fail
;
11357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11358 result
= ((wxLocale
const *)arg1
)->GetSysName();
11360 wxPyEndAllowThreads(__tstate
);
11361 if (PyErr_Occurred()) SWIG_fail
;
11365 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11367 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11376 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11377 PyObject
*resultobj
;
11378 wxLocale
*arg1
= (wxLocale
*) 0 ;
11380 PyObject
* obj0
= 0 ;
11381 char *kwnames
[] = {
11382 (char *) "self", NULL
11385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
11386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11387 if (SWIG_arg_fail(1)) SWIG_fail
;
11389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11390 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
11392 wxPyEndAllowThreads(__tstate
);
11393 if (PyErr_Occurred()) SWIG_fail
;
11397 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11399 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11408 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11409 PyObject
*resultobj
;
11410 wxString
*arg1
= 0 ;
11411 bool temp1
= false ;
11412 PyObject
* obj0
= 0 ;
11413 char *kwnames
[] = {
11414 (char *) "prefix", NULL
11417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
11419 arg1
= wxString_in_helper(obj0
);
11420 if (arg1
== NULL
) SWIG_fail
;
11424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11425 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
11427 wxPyEndAllowThreads(__tstate
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11430 Py_INCREF(Py_None
); resultobj
= Py_None
;
11445 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11446 PyObject
*resultobj
;
11447 wxLocale
*arg1
= (wxLocale
*) 0 ;
11448 wxString
*arg2
= 0 ;
11450 bool temp2
= false ;
11451 PyObject
* obj0
= 0 ;
11452 PyObject
* obj1
= 0 ;
11453 char *kwnames
[] = {
11454 (char *) "self",(char *) "szDomain", NULL
11457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
11458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11459 if (SWIG_arg_fail(1)) SWIG_fail
;
11461 arg2
= wxString_in_helper(obj1
);
11462 if (arg2
== NULL
) SWIG_fail
;
11466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11467 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
11469 wxPyEndAllowThreads(__tstate
);
11470 if (PyErr_Occurred()) SWIG_fail
;
11473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11489 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11490 PyObject
*resultobj
;
11491 wxLocale
*arg1
= (wxLocale
*) 0 ;
11492 wxString
*arg2
= 0 ;
11494 bool temp2
= false ;
11495 PyObject
* obj0
= 0 ;
11496 PyObject
* obj1
= 0 ;
11497 char *kwnames
[] = {
11498 (char *) "self",(char *) "szDomain", NULL
11501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
11502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11503 if (SWIG_arg_fail(1)) SWIG_fail
;
11505 arg2
= wxString_in_helper(obj1
);
11506 if (arg2
== NULL
) SWIG_fail
;
11510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11511 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
11513 wxPyEndAllowThreads(__tstate
);
11514 if (PyErr_Occurred()) SWIG_fail
;
11517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11533 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11534 PyObject
*resultobj
;
11536 wxLanguageInfo
*result
;
11537 PyObject
* obj0
= 0 ;
11538 char *kwnames
[] = {
11539 (char *) "lang", NULL
11542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
11544 arg1
= (int)(SWIG_As_int(obj0
));
11545 if (SWIG_arg_fail(1)) SWIG_fail
;
11548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11549 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
11551 wxPyEndAllowThreads(__tstate
);
11552 if (PyErr_Occurred()) SWIG_fail
;
11554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
11561 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11562 PyObject
*resultobj
;
11565 PyObject
* obj0
= 0 ;
11566 char *kwnames
[] = {
11567 (char *) "lang", NULL
11570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
11572 arg1
= (int)(SWIG_As_int(obj0
));
11573 if (SWIG_arg_fail(1)) SWIG_fail
;
11576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11577 result
= wxLocale::GetLanguageName(arg1
);
11579 wxPyEndAllowThreads(__tstate
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11584 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11586 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11595 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11596 PyObject
*resultobj
;
11597 wxString
*arg1
= 0 ;
11598 wxLanguageInfo
*result
;
11599 bool temp1
= false ;
11600 PyObject
* obj0
= 0 ;
11601 char *kwnames
[] = {
11602 (char *) "locale", NULL
11605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
11607 arg1
= wxString_in_helper(obj0
);
11608 if (arg1
== NULL
) SWIG_fail
;
11612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11613 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
11615 wxPyEndAllowThreads(__tstate
);
11616 if (PyErr_Occurred()) SWIG_fail
;
11618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
11633 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11634 PyObject
*resultobj
;
11635 wxLanguageInfo
*arg1
= 0 ;
11636 PyObject
* obj0
= 0 ;
11637 char *kwnames
[] = {
11638 (char *) "info", NULL
11641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
11643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11644 if (SWIG_arg_fail(1)) SWIG_fail
;
11645 if (arg1
== NULL
) {
11646 SWIG_null_ref("wxLanguageInfo");
11648 if (SWIG_arg_fail(1)) SWIG_fail
;
11651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11652 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
11654 wxPyEndAllowThreads(__tstate
);
11655 if (PyErr_Occurred()) SWIG_fail
;
11657 Py_INCREF(Py_None
); resultobj
= Py_None
;
11664 static PyObject
*_wrap_Locale_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11665 PyObject
*resultobj
;
11666 wxLocale
*arg1
= (wxLocale
*) 0 ;
11667 wxString
*arg2
= 0 ;
11668 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11669 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11671 bool temp2
= false ;
11672 bool temp3
= false ;
11673 PyObject
* obj0
= 0 ;
11674 PyObject
* obj1
= 0 ;
11675 PyObject
* obj2
= 0 ;
11676 char *kwnames
[] = {
11677 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
11680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11682 if (SWIG_arg_fail(1)) SWIG_fail
;
11684 arg2
= wxString_in_helper(obj1
);
11685 if (arg2
== NULL
) SWIG_fail
;
11690 arg3
= wxString_in_helper(obj2
);
11691 if (arg3
== NULL
) SWIG_fail
;
11696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11697 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11699 wxPyEndAllowThreads(__tstate
);
11700 if (PyErr_Occurred()) SWIG_fail
;
11704 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11706 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11731 static PyObject
*_wrap_Locale_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11732 PyObject
*resultobj
;
11733 wxLocale
*arg1
= (wxLocale
*) 0 ;
11735 PyObject
* obj0
= 0 ;
11736 char *kwnames
[] = {
11737 (char *) "self", NULL
11740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
11741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11742 if (SWIG_arg_fail(1)) SWIG_fail
;
11744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11746 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
11747 result
= (wxString
*) &_result_ref
;
11750 wxPyEndAllowThreads(__tstate
);
11751 if (PyErr_Occurred()) SWIG_fail
;
11755 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11757 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11766 static PyObject
* Locale_swigregister(PyObject
*, PyObject
*args
) {
11768 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11769 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
11771 return Py_BuildValue((char *)"");
11773 static PyObject
*_wrap_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11774 PyObject
*resultobj
;
11776 char *kwnames
[] = {
11780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
11782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11783 result
= (wxLocale
*)wxGetLocale();
11785 wxPyEndAllowThreads(__tstate
);
11786 if (PyErr_Occurred()) SWIG_fail
;
11788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
11795 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*, PyObject
*args
) {
11796 PyObject
*resultobj
;
11797 wxString
*arg1
= 0 ;
11799 bool temp1
= false ;
11800 PyObject
* obj0
= 0 ;
11802 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
11804 arg1
= wxString_in_helper(obj0
);
11805 if (arg1
== NULL
) SWIG_fail
;
11809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11810 result
= wxGetTranslation((wxString
const &)*arg1
);
11812 wxPyEndAllowThreads(__tstate
);
11813 if (PyErr_Occurred()) SWIG_fail
;
11817 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11819 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11836 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*, PyObject
*args
) {
11837 PyObject
*resultobj
;
11838 wxString
*arg1
= 0 ;
11839 wxString
*arg2
= 0 ;
11842 bool temp1
= false ;
11843 bool temp2
= false ;
11844 PyObject
* obj0
= 0 ;
11845 PyObject
* obj1
= 0 ;
11846 PyObject
* obj2
= 0 ;
11848 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
11850 arg1
= wxString_in_helper(obj0
);
11851 if (arg1
== NULL
) SWIG_fail
;
11855 arg2
= wxString_in_helper(obj1
);
11856 if (arg2
== NULL
) SWIG_fail
;
11860 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
11861 if (SWIG_arg_fail(3)) SWIG_fail
;
11864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11865 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
11867 wxPyEndAllowThreads(__tstate
);
11868 if (PyErr_Occurred()) SWIG_fail
;
11872 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11874 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11899 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
11904 argc
= PyObject_Length(args
);
11905 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
11906 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11911 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11914 return _wrap_GetTranslation__SWIG_0(self
,args
);
11920 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11924 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11927 _v
= SWIG_Check_unsigned_SS_long(argv
[2]);
11929 return _wrap_GetTranslation__SWIG_1(self
,args
);
11935 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
11940 static PyObject
*_wrap_new_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11941 PyObject
*resultobj
;
11942 wxEncodingConverter
*result
;
11943 char *kwnames
[] = {
11947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
11949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11950 result
= (wxEncodingConverter
*)new wxEncodingConverter();
11952 wxPyEndAllowThreads(__tstate
);
11953 if (PyErr_Occurred()) SWIG_fail
;
11955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
11962 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11963 PyObject
*resultobj
;
11964 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
11965 PyObject
* obj0
= 0 ;
11966 char *kwnames
[] = {
11967 (char *) "self", NULL
11970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
11971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
11972 if (SWIG_arg_fail(1)) SWIG_fail
;
11974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11977 wxPyEndAllowThreads(__tstate
);
11978 if (PyErr_Occurred()) SWIG_fail
;
11980 Py_INCREF(Py_None
); resultobj
= Py_None
;
11987 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11988 PyObject
*resultobj
;
11989 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
11990 wxFontEncoding arg2
;
11991 wxFontEncoding arg3
;
11992 int arg4
= (int) wxCONVERT_STRICT
;
11994 PyObject
* obj0
= 0 ;
11995 PyObject
* obj1
= 0 ;
11996 PyObject
* obj2
= 0 ;
11997 PyObject
* obj3
= 0 ;
11998 char *kwnames
[] = {
11999 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
12002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12004 if (SWIG_arg_fail(1)) SWIG_fail
;
12006 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
12007 if (SWIG_arg_fail(2)) SWIG_fail
;
12010 arg3
= (wxFontEncoding
)(SWIG_As_int(obj2
));
12011 if (SWIG_arg_fail(3)) SWIG_fail
;
12015 arg4
= (int)(SWIG_As_int(obj3
));
12016 if (SWIG_arg_fail(4)) SWIG_fail
;
12020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12021 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
12023 wxPyEndAllowThreads(__tstate
);
12024 if (PyErr_Occurred()) SWIG_fail
;
12027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12035 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12036 PyObject
*resultobj
;
12037 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12038 wxString
*arg2
= 0 ;
12040 bool temp2
= false ;
12041 PyObject
* obj0
= 0 ;
12042 PyObject
* obj1
= 0 ;
12043 char *kwnames
[] = {
12044 (char *) "self",(char *) "input", NULL
12047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
12048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12049 if (SWIG_arg_fail(1)) SWIG_fail
;
12051 arg2
= wxString_in_helper(obj1
);
12052 if (arg2
== NULL
) SWIG_fail
;
12056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12057 result
= (arg1
)->Convert((wxString
const &)*arg2
);
12059 wxPyEndAllowThreads(__tstate
);
12060 if (PyErr_Occurred()) SWIG_fail
;
12064 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12066 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12083 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12084 PyObject
*resultobj
;
12085 wxFontEncoding arg1
;
12086 int arg2
= (int) wxPLATFORM_CURRENT
;
12087 wxFontEncodingArray result
;
12088 PyObject
* obj0
= 0 ;
12089 PyObject
* obj1
= 0 ;
12090 char *kwnames
[] = {
12091 (char *) "enc",(char *) "platform", NULL
12094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
12096 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
12097 if (SWIG_arg_fail(1)) SWIG_fail
;
12101 arg2
= (int)(SWIG_As_int(obj1
));
12102 if (SWIG_arg_fail(2)) SWIG_fail
;
12106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12107 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
12109 wxPyEndAllowThreads(__tstate
);
12110 if (PyErr_Occurred()) SWIG_fail
;
12113 resultobj
= PyList_New(0);
12114 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
12115 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
12116 PyList_Append(resultobj
, number
);
12126 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12127 PyObject
*resultobj
;
12128 wxFontEncoding arg1
;
12129 wxFontEncodingArray result
;
12130 PyObject
* obj0
= 0 ;
12131 char *kwnames
[] = {
12132 (char *) "enc", NULL
12135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
12137 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
12138 if (SWIG_arg_fail(1)) SWIG_fail
;
12141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12142 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
12144 wxPyEndAllowThreads(__tstate
);
12145 if (PyErr_Occurred()) SWIG_fail
;
12148 resultobj
= PyList_New(0);
12149 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
12150 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
12151 PyList_Append(resultobj
, number
);
12161 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12162 PyObject
*resultobj
;
12163 wxFontEncoding arg1
;
12164 wxFontEncoding arg2
;
12166 PyObject
* obj0
= 0 ;
12167 PyObject
* obj1
= 0 ;
12168 char *kwnames
[] = {
12169 (char *) "encIn",(char *) "encOut", NULL
12172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
12174 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
12175 if (SWIG_arg_fail(1)) SWIG_fail
;
12178 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
12179 if (SWIG_arg_fail(2)) SWIG_fail
;
12182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12183 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
12185 wxPyEndAllowThreads(__tstate
);
12186 if (PyErr_Occurred()) SWIG_fail
;
12189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12197 static PyObject
* EncodingConverter_swigregister(PyObject
*, PyObject
*args
) {
12199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12200 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
12202 return Py_BuildValue((char *)"");
12204 static PyObject
*_wrap_delete_DC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12205 PyObject
*resultobj
;
12206 wxDC
*arg1
= (wxDC
*) 0 ;
12207 PyObject
* obj0
= 0 ;
12208 char *kwnames
[] = {
12209 (char *) "self", NULL
12212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
12213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12214 if (SWIG_arg_fail(1)) SWIG_fail
;
12216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12219 wxPyEndAllowThreads(__tstate
);
12220 if (PyErr_Occurred()) SWIG_fail
;
12222 Py_INCREF(Py_None
); resultobj
= Py_None
;
12229 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12230 PyObject
*resultobj
;
12231 wxDC
*arg1
= (wxDC
*) 0 ;
12232 PyObject
* obj0
= 0 ;
12233 char *kwnames
[] = {
12234 (char *) "self", NULL
12237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
12238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12239 if (SWIG_arg_fail(1)) SWIG_fail
;
12241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12242 (arg1
)->BeginDrawing();
12244 wxPyEndAllowThreads(__tstate
);
12245 if (PyErr_Occurred()) SWIG_fail
;
12247 Py_INCREF(Py_None
); resultobj
= Py_None
;
12254 static PyObject
*_wrap_DC_EndDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12255 PyObject
*resultobj
;
12256 wxDC
*arg1
= (wxDC
*) 0 ;
12257 PyObject
* obj0
= 0 ;
12258 char *kwnames
[] = {
12259 (char *) "self", NULL
12262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
12263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12264 if (SWIG_arg_fail(1)) SWIG_fail
;
12266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12267 (arg1
)->EndDrawing();
12269 wxPyEndAllowThreads(__tstate
);
12270 if (PyErr_Occurred()) SWIG_fail
;
12272 Py_INCREF(Py_None
); resultobj
= Py_None
;
12279 static PyObject
*_wrap_DC_FloodFill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12280 PyObject
*resultobj
;
12281 wxDC
*arg1
= (wxDC
*) 0 ;
12284 wxColour
*arg4
= 0 ;
12285 int arg5
= (int) wxFLOOD_SURFACE
;
12288 PyObject
* obj0
= 0 ;
12289 PyObject
* obj1
= 0 ;
12290 PyObject
* obj2
= 0 ;
12291 PyObject
* obj3
= 0 ;
12292 PyObject
* obj4
= 0 ;
12293 char *kwnames
[] = {
12294 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
12297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12299 if (SWIG_arg_fail(1)) SWIG_fail
;
12301 arg2
= (int)(SWIG_As_int(obj1
));
12302 if (SWIG_arg_fail(2)) SWIG_fail
;
12305 arg3
= (int)(SWIG_As_int(obj2
));
12306 if (SWIG_arg_fail(3)) SWIG_fail
;
12310 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
12314 arg5
= (int)(SWIG_As_int(obj4
));
12315 if (SWIG_arg_fail(5)) SWIG_fail
;
12319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12320 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
12322 wxPyEndAllowThreads(__tstate
);
12323 if (PyErr_Occurred()) SWIG_fail
;
12326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12334 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12335 PyObject
*resultobj
;
12336 wxDC
*arg1
= (wxDC
*) 0 ;
12337 wxPoint
*arg2
= 0 ;
12338 wxColour
*arg3
= 0 ;
12339 int arg4
= (int) wxFLOOD_SURFACE
;
12343 PyObject
* obj0
= 0 ;
12344 PyObject
* obj1
= 0 ;
12345 PyObject
* obj2
= 0 ;
12346 PyObject
* obj3
= 0 ;
12347 char *kwnames
[] = {
12348 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
12351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12353 if (SWIG_arg_fail(1)) SWIG_fail
;
12356 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12360 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
12364 arg4
= (int)(SWIG_As_int(obj3
));
12365 if (SWIG_arg_fail(4)) SWIG_fail
;
12369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12370 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
12372 wxPyEndAllowThreads(__tstate
);
12373 if (PyErr_Occurred()) SWIG_fail
;
12376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12384 static PyObject
*_wrap_DC_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12385 PyObject
*resultobj
;
12386 wxDC
*arg1
= (wxDC
*) 0 ;
12390 PyObject
* obj0
= 0 ;
12391 PyObject
* obj1
= 0 ;
12392 PyObject
* obj2
= 0 ;
12393 char *kwnames
[] = {
12394 (char *) "self",(char *) "x",(char *) "y", NULL
12397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12399 if (SWIG_arg_fail(1)) SWIG_fail
;
12401 arg2
= (int)(SWIG_As_int(obj1
));
12402 if (SWIG_arg_fail(2)) SWIG_fail
;
12405 arg3
= (int)(SWIG_As_int(obj2
));
12406 if (SWIG_arg_fail(3)) SWIG_fail
;
12409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12410 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
12412 wxPyEndAllowThreads(__tstate
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12416 wxColour
* resultptr
;
12417 resultptr
= new wxColour((wxColour
&)(result
));
12418 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12426 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12427 PyObject
*resultobj
;
12428 wxDC
*arg1
= (wxDC
*) 0 ;
12429 wxPoint
*arg2
= 0 ;
12432 PyObject
* obj0
= 0 ;
12433 PyObject
* obj1
= 0 ;
12434 char *kwnames
[] = {
12435 (char *) "self",(char *) "pt", NULL
12438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
12439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12440 if (SWIG_arg_fail(1)) SWIG_fail
;
12443 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12447 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
12449 wxPyEndAllowThreads(__tstate
);
12450 if (PyErr_Occurred()) SWIG_fail
;
12453 wxColour
* resultptr
;
12454 resultptr
= new wxColour((wxColour
&)(result
));
12455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12463 static PyObject
*_wrap_DC_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12464 PyObject
*resultobj
;
12465 wxDC
*arg1
= (wxDC
*) 0 ;
12470 PyObject
* obj0
= 0 ;
12471 PyObject
* obj1
= 0 ;
12472 PyObject
* obj2
= 0 ;
12473 PyObject
* obj3
= 0 ;
12474 PyObject
* obj4
= 0 ;
12475 char *kwnames
[] = {
12476 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
12479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12481 if (SWIG_arg_fail(1)) SWIG_fail
;
12483 arg2
= (int)(SWIG_As_int(obj1
));
12484 if (SWIG_arg_fail(2)) SWIG_fail
;
12487 arg3
= (int)(SWIG_As_int(obj2
));
12488 if (SWIG_arg_fail(3)) SWIG_fail
;
12491 arg4
= (int)(SWIG_As_int(obj3
));
12492 if (SWIG_arg_fail(4)) SWIG_fail
;
12495 arg5
= (int)(SWIG_As_int(obj4
));
12496 if (SWIG_arg_fail(5)) SWIG_fail
;
12499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12500 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
12502 wxPyEndAllowThreads(__tstate
);
12503 if (PyErr_Occurred()) SWIG_fail
;
12505 Py_INCREF(Py_None
); resultobj
= Py_None
;
12512 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12513 PyObject
*resultobj
;
12514 wxDC
*arg1
= (wxDC
*) 0 ;
12515 wxPoint
*arg2
= 0 ;
12516 wxPoint
*arg3
= 0 ;
12519 PyObject
* obj0
= 0 ;
12520 PyObject
* obj1
= 0 ;
12521 PyObject
* obj2
= 0 ;
12522 char *kwnames
[] = {
12523 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
12526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12528 if (SWIG_arg_fail(1)) SWIG_fail
;
12531 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12535 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12539 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
12541 wxPyEndAllowThreads(__tstate
);
12542 if (PyErr_Occurred()) SWIG_fail
;
12544 Py_INCREF(Py_None
); resultobj
= Py_None
;
12551 static PyObject
*_wrap_DC_CrossHair(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12552 PyObject
*resultobj
;
12553 wxDC
*arg1
= (wxDC
*) 0 ;
12556 PyObject
* obj0
= 0 ;
12557 PyObject
* obj1
= 0 ;
12558 PyObject
* obj2
= 0 ;
12559 char *kwnames
[] = {
12560 (char *) "self",(char *) "x",(char *) "y", NULL
12563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12565 if (SWIG_arg_fail(1)) SWIG_fail
;
12567 arg2
= (int)(SWIG_As_int(obj1
));
12568 if (SWIG_arg_fail(2)) SWIG_fail
;
12571 arg3
= (int)(SWIG_As_int(obj2
));
12572 if (SWIG_arg_fail(3)) SWIG_fail
;
12575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12576 (arg1
)->CrossHair(arg2
,arg3
);
12578 wxPyEndAllowThreads(__tstate
);
12579 if (PyErr_Occurred()) SWIG_fail
;
12581 Py_INCREF(Py_None
); resultobj
= Py_None
;
12588 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12589 PyObject
*resultobj
;
12590 wxDC
*arg1
= (wxDC
*) 0 ;
12591 wxPoint
*arg2
= 0 ;
12593 PyObject
* obj0
= 0 ;
12594 PyObject
* obj1
= 0 ;
12595 char *kwnames
[] = {
12596 (char *) "self",(char *) "pt", NULL
12599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
12600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12601 if (SWIG_arg_fail(1)) SWIG_fail
;
12604 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12608 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
12610 wxPyEndAllowThreads(__tstate
);
12611 if (PyErr_Occurred()) SWIG_fail
;
12613 Py_INCREF(Py_None
); resultobj
= Py_None
;
12620 static PyObject
*_wrap_DC_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12621 PyObject
*resultobj
;
12622 wxDC
*arg1
= (wxDC
*) 0 ;
12629 PyObject
* obj0
= 0 ;
12630 PyObject
* obj1
= 0 ;
12631 PyObject
* obj2
= 0 ;
12632 PyObject
* obj3
= 0 ;
12633 PyObject
* obj4
= 0 ;
12634 PyObject
* obj5
= 0 ;
12635 PyObject
* obj6
= 0 ;
12636 char *kwnames
[] = {
12637 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
12640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12642 if (SWIG_arg_fail(1)) SWIG_fail
;
12644 arg2
= (int)(SWIG_As_int(obj1
));
12645 if (SWIG_arg_fail(2)) SWIG_fail
;
12648 arg3
= (int)(SWIG_As_int(obj2
));
12649 if (SWIG_arg_fail(3)) SWIG_fail
;
12652 arg4
= (int)(SWIG_As_int(obj3
));
12653 if (SWIG_arg_fail(4)) SWIG_fail
;
12656 arg5
= (int)(SWIG_As_int(obj4
));
12657 if (SWIG_arg_fail(5)) SWIG_fail
;
12660 arg6
= (int)(SWIG_As_int(obj5
));
12661 if (SWIG_arg_fail(6)) SWIG_fail
;
12664 arg7
= (int)(SWIG_As_int(obj6
));
12665 if (SWIG_arg_fail(7)) SWIG_fail
;
12668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12669 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12671 wxPyEndAllowThreads(__tstate
);
12672 if (PyErr_Occurred()) SWIG_fail
;
12674 Py_INCREF(Py_None
); resultobj
= Py_None
;
12681 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12682 PyObject
*resultobj
;
12683 wxDC
*arg1
= (wxDC
*) 0 ;
12684 wxPoint
*arg2
= 0 ;
12685 wxPoint
*arg3
= 0 ;
12686 wxPoint
*arg4
= 0 ;
12690 PyObject
* obj0
= 0 ;
12691 PyObject
* obj1
= 0 ;
12692 PyObject
* obj2
= 0 ;
12693 PyObject
* obj3
= 0 ;
12694 char *kwnames
[] = {
12695 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
12698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12700 if (SWIG_arg_fail(1)) SWIG_fail
;
12703 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12707 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12711 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12715 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
12717 wxPyEndAllowThreads(__tstate
);
12718 if (PyErr_Occurred()) SWIG_fail
;
12720 Py_INCREF(Py_None
); resultobj
= Py_None
;
12727 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12728 PyObject
*resultobj
;
12729 wxDC
*arg1
= (wxDC
*) 0 ;
12734 PyObject
* obj0
= 0 ;
12735 PyObject
* obj1
= 0 ;
12736 PyObject
* obj2
= 0 ;
12737 PyObject
* obj3
= 0 ;
12738 PyObject
* obj4
= 0 ;
12739 char *kwnames
[] = {
12740 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12745 if (SWIG_arg_fail(1)) SWIG_fail
;
12747 arg2
= (int)(SWIG_As_int(obj1
));
12748 if (SWIG_arg_fail(2)) SWIG_fail
;
12751 arg3
= (int)(SWIG_As_int(obj2
));
12752 if (SWIG_arg_fail(3)) SWIG_fail
;
12755 arg4
= (int)(SWIG_As_int(obj3
));
12756 if (SWIG_arg_fail(4)) SWIG_fail
;
12759 arg5
= (int)(SWIG_As_int(obj4
));
12760 if (SWIG_arg_fail(5)) SWIG_fail
;
12763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12764 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
12766 wxPyEndAllowThreads(__tstate
);
12767 if (PyErr_Occurred()) SWIG_fail
;
12769 Py_INCREF(Py_None
); resultobj
= Py_None
;
12776 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12777 PyObject
*resultobj
;
12778 wxDC
*arg1
= (wxDC
*) 0 ;
12781 PyObject
* obj0
= 0 ;
12782 PyObject
* obj1
= 0 ;
12783 char *kwnames
[] = {
12784 (char *) "self",(char *) "rect", NULL
12787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12789 if (SWIG_arg_fail(1)) SWIG_fail
;
12792 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12796 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
12798 wxPyEndAllowThreads(__tstate
);
12799 if (PyErr_Occurred()) SWIG_fail
;
12801 Py_INCREF(Py_None
); resultobj
= Py_None
;
12808 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12809 PyObject
*resultobj
;
12810 wxDC
*arg1
= (wxDC
*) 0 ;
12817 PyObject
* obj0
= 0 ;
12818 PyObject
* obj1
= 0 ;
12819 PyObject
* obj2
= 0 ;
12820 PyObject
* obj3
= 0 ;
12821 PyObject
* obj4
= 0 ;
12822 PyObject
* obj5
= 0 ;
12823 PyObject
* obj6
= 0 ;
12824 char *kwnames
[] = {
12825 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
12828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12830 if (SWIG_arg_fail(1)) SWIG_fail
;
12832 arg2
= (int)(SWIG_As_int(obj1
));
12833 if (SWIG_arg_fail(2)) SWIG_fail
;
12836 arg3
= (int)(SWIG_As_int(obj2
));
12837 if (SWIG_arg_fail(3)) SWIG_fail
;
12840 arg4
= (int)(SWIG_As_int(obj3
));
12841 if (SWIG_arg_fail(4)) SWIG_fail
;
12844 arg5
= (int)(SWIG_As_int(obj4
));
12845 if (SWIG_arg_fail(5)) SWIG_fail
;
12848 arg6
= (double)(SWIG_As_double(obj5
));
12849 if (SWIG_arg_fail(6)) SWIG_fail
;
12852 arg7
= (double)(SWIG_As_double(obj6
));
12853 if (SWIG_arg_fail(7)) SWIG_fail
;
12856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12857 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12859 wxPyEndAllowThreads(__tstate
);
12860 if (PyErr_Occurred()) SWIG_fail
;
12862 Py_INCREF(Py_None
); resultobj
= Py_None
;
12869 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12870 PyObject
*resultobj
;
12871 wxDC
*arg1
= (wxDC
*) 0 ;
12872 wxPoint
*arg2
= 0 ;
12878 PyObject
* obj0
= 0 ;
12879 PyObject
* obj1
= 0 ;
12880 PyObject
* obj2
= 0 ;
12881 PyObject
* obj3
= 0 ;
12882 PyObject
* obj4
= 0 ;
12883 char *kwnames
[] = {
12884 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
12887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12889 if (SWIG_arg_fail(1)) SWIG_fail
;
12892 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12896 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12899 arg4
= (double)(SWIG_As_double(obj3
));
12900 if (SWIG_arg_fail(4)) SWIG_fail
;
12903 arg5
= (double)(SWIG_As_double(obj4
));
12904 if (SWIG_arg_fail(5)) SWIG_fail
;
12907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12908 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
12910 wxPyEndAllowThreads(__tstate
);
12911 if (PyErr_Occurred()) SWIG_fail
;
12913 Py_INCREF(Py_None
); resultobj
= Py_None
;
12920 static PyObject
*_wrap_DC_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12921 PyObject
*resultobj
;
12922 wxDC
*arg1
= (wxDC
*) 0 ;
12925 PyObject
* obj0
= 0 ;
12926 PyObject
* obj1
= 0 ;
12927 PyObject
* obj2
= 0 ;
12928 char *kwnames
[] = {
12929 (char *) "self",(char *) "x",(char *) "y", NULL
12932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12934 if (SWIG_arg_fail(1)) SWIG_fail
;
12936 arg2
= (int)(SWIG_As_int(obj1
));
12937 if (SWIG_arg_fail(2)) SWIG_fail
;
12940 arg3
= (int)(SWIG_As_int(obj2
));
12941 if (SWIG_arg_fail(3)) SWIG_fail
;
12944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12945 (arg1
)->DrawPoint(arg2
,arg3
);
12947 wxPyEndAllowThreads(__tstate
);
12948 if (PyErr_Occurred()) SWIG_fail
;
12950 Py_INCREF(Py_None
); resultobj
= Py_None
;
12957 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12958 PyObject
*resultobj
;
12959 wxDC
*arg1
= (wxDC
*) 0 ;
12960 wxPoint
*arg2
= 0 ;
12962 PyObject
* obj0
= 0 ;
12963 PyObject
* obj1
= 0 ;
12964 char *kwnames
[] = {
12965 (char *) "self",(char *) "pt", NULL
12968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
12969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12970 if (SWIG_arg_fail(1)) SWIG_fail
;
12973 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12977 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
12979 wxPyEndAllowThreads(__tstate
);
12980 if (PyErr_Occurred()) SWIG_fail
;
12982 Py_INCREF(Py_None
); resultobj
= Py_None
;
12989 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12990 PyObject
*resultobj
;
12991 wxDC
*arg1
= (wxDC
*) 0 ;
12996 PyObject
* obj0
= 0 ;
12997 PyObject
* obj1
= 0 ;
12998 PyObject
* obj2
= 0 ;
12999 PyObject
* obj3
= 0 ;
13000 PyObject
* obj4
= 0 ;
13001 char *kwnames
[] = {
13002 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13007 if (SWIG_arg_fail(1)) SWIG_fail
;
13009 arg2
= (int)(SWIG_As_int(obj1
));
13010 if (SWIG_arg_fail(2)) SWIG_fail
;
13013 arg3
= (int)(SWIG_As_int(obj2
));
13014 if (SWIG_arg_fail(3)) SWIG_fail
;
13017 arg4
= (int)(SWIG_As_int(obj3
));
13018 if (SWIG_arg_fail(4)) SWIG_fail
;
13021 arg5
= (int)(SWIG_As_int(obj4
));
13022 if (SWIG_arg_fail(5)) SWIG_fail
;
13025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13026 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
13028 wxPyEndAllowThreads(__tstate
);
13029 if (PyErr_Occurred()) SWIG_fail
;
13031 Py_INCREF(Py_None
); resultobj
= Py_None
;
13038 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13039 PyObject
*resultobj
;
13040 wxDC
*arg1
= (wxDC
*) 0 ;
13043 PyObject
* obj0
= 0 ;
13044 PyObject
* obj1
= 0 ;
13045 char *kwnames
[] = {
13046 (char *) "self",(char *) "rect", NULL
13049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13051 if (SWIG_arg_fail(1)) SWIG_fail
;
13054 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13058 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
13060 wxPyEndAllowThreads(__tstate
);
13061 if (PyErr_Occurred()) SWIG_fail
;
13063 Py_INCREF(Py_None
); resultobj
= Py_None
;
13070 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13071 PyObject
*resultobj
;
13072 wxDC
*arg1
= (wxDC
*) 0 ;
13073 wxPoint
*arg2
= 0 ;
13077 PyObject
* obj0
= 0 ;
13078 PyObject
* obj1
= 0 ;
13079 PyObject
* obj2
= 0 ;
13080 char *kwnames
[] = {
13081 (char *) "self",(char *) "pt",(char *) "sz", NULL
13084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13086 if (SWIG_arg_fail(1)) SWIG_fail
;
13089 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13093 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13097 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13099 wxPyEndAllowThreads(__tstate
);
13100 if (PyErr_Occurred()) SWIG_fail
;
13102 Py_INCREF(Py_None
); resultobj
= Py_None
;
13109 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13110 PyObject
*resultobj
;
13111 wxDC
*arg1
= (wxDC
*) 0 ;
13117 PyObject
* obj0
= 0 ;
13118 PyObject
* obj1
= 0 ;
13119 PyObject
* obj2
= 0 ;
13120 PyObject
* obj3
= 0 ;
13121 PyObject
* obj4
= 0 ;
13122 PyObject
* obj5
= 0 ;
13123 char *kwnames
[] = {
13124 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
13127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13129 if (SWIG_arg_fail(1)) SWIG_fail
;
13131 arg2
= (int)(SWIG_As_int(obj1
));
13132 if (SWIG_arg_fail(2)) SWIG_fail
;
13135 arg3
= (int)(SWIG_As_int(obj2
));
13136 if (SWIG_arg_fail(3)) SWIG_fail
;
13139 arg4
= (int)(SWIG_As_int(obj3
));
13140 if (SWIG_arg_fail(4)) SWIG_fail
;
13143 arg5
= (int)(SWIG_As_int(obj4
));
13144 if (SWIG_arg_fail(5)) SWIG_fail
;
13147 arg6
= (double)(SWIG_As_double(obj5
));
13148 if (SWIG_arg_fail(6)) SWIG_fail
;
13151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13152 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
13154 wxPyEndAllowThreads(__tstate
);
13155 if (PyErr_Occurred()) SWIG_fail
;
13157 Py_INCREF(Py_None
); resultobj
= Py_None
;
13164 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13165 PyObject
*resultobj
;
13166 wxDC
*arg1
= (wxDC
*) 0 ;
13170 PyObject
* obj0
= 0 ;
13171 PyObject
* obj1
= 0 ;
13172 PyObject
* obj2
= 0 ;
13173 char *kwnames
[] = {
13174 (char *) "self",(char *) "r",(char *) "radius", NULL
13177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13179 if (SWIG_arg_fail(1)) SWIG_fail
;
13182 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13185 arg3
= (double)(SWIG_As_double(obj2
));
13186 if (SWIG_arg_fail(3)) SWIG_fail
;
13189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13190 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
13192 wxPyEndAllowThreads(__tstate
);
13193 if (PyErr_Occurred()) SWIG_fail
;
13195 Py_INCREF(Py_None
); resultobj
= Py_None
;
13202 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13203 PyObject
*resultobj
;
13204 wxDC
*arg1
= (wxDC
*) 0 ;
13205 wxPoint
*arg2
= 0 ;
13210 PyObject
* obj0
= 0 ;
13211 PyObject
* obj1
= 0 ;
13212 PyObject
* obj2
= 0 ;
13213 PyObject
* obj3
= 0 ;
13214 char *kwnames
[] = {
13215 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
13218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13220 if (SWIG_arg_fail(1)) SWIG_fail
;
13223 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13227 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13230 arg4
= (double)(SWIG_As_double(obj3
));
13231 if (SWIG_arg_fail(4)) SWIG_fail
;
13234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13235 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
13237 wxPyEndAllowThreads(__tstate
);
13238 if (PyErr_Occurred()) SWIG_fail
;
13240 Py_INCREF(Py_None
); resultobj
= Py_None
;
13247 static PyObject
*_wrap_DC_DrawCircle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13248 PyObject
*resultobj
;
13249 wxDC
*arg1
= (wxDC
*) 0 ;
13253 PyObject
* obj0
= 0 ;
13254 PyObject
* obj1
= 0 ;
13255 PyObject
* obj2
= 0 ;
13256 PyObject
* obj3
= 0 ;
13257 char *kwnames
[] = {
13258 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
13261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13263 if (SWIG_arg_fail(1)) SWIG_fail
;
13265 arg2
= (int)(SWIG_As_int(obj1
));
13266 if (SWIG_arg_fail(2)) SWIG_fail
;
13269 arg3
= (int)(SWIG_As_int(obj2
));
13270 if (SWIG_arg_fail(3)) SWIG_fail
;
13273 arg4
= (int)(SWIG_As_int(obj3
));
13274 if (SWIG_arg_fail(4)) SWIG_fail
;
13277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13278 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
13280 wxPyEndAllowThreads(__tstate
);
13281 if (PyErr_Occurred()) SWIG_fail
;
13283 Py_INCREF(Py_None
); resultobj
= Py_None
;
13290 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13291 PyObject
*resultobj
;
13292 wxDC
*arg1
= (wxDC
*) 0 ;
13293 wxPoint
*arg2
= 0 ;
13296 PyObject
* obj0
= 0 ;
13297 PyObject
* obj1
= 0 ;
13298 PyObject
* obj2
= 0 ;
13299 char *kwnames
[] = {
13300 (char *) "self",(char *) "pt",(char *) "radius", NULL
13303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13305 if (SWIG_arg_fail(1)) SWIG_fail
;
13308 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13311 arg3
= (int)(SWIG_As_int(obj2
));
13312 if (SWIG_arg_fail(3)) SWIG_fail
;
13315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13316 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
13318 wxPyEndAllowThreads(__tstate
);
13319 if (PyErr_Occurred()) SWIG_fail
;
13321 Py_INCREF(Py_None
); resultobj
= Py_None
;
13328 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13329 PyObject
*resultobj
;
13330 wxDC
*arg1
= (wxDC
*) 0 ;
13335 PyObject
* obj0
= 0 ;
13336 PyObject
* obj1
= 0 ;
13337 PyObject
* obj2
= 0 ;
13338 PyObject
* obj3
= 0 ;
13339 PyObject
* obj4
= 0 ;
13340 char *kwnames
[] = {
13341 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13346 if (SWIG_arg_fail(1)) SWIG_fail
;
13348 arg2
= (int)(SWIG_As_int(obj1
));
13349 if (SWIG_arg_fail(2)) SWIG_fail
;
13352 arg3
= (int)(SWIG_As_int(obj2
));
13353 if (SWIG_arg_fail(3)) SWIG_fail
;
13356 arg4
= (int)(SWIG_As_int(obj3
));
13357 if (SWIG_arg_fail(4)) SWIG_fail
;
13360 arg5
= (int)(SWIG_As_int(obj4
));
13361 if (SWIG_arg_fail(5)) SWIG_fail
;
13364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13365 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
13367 wxPyEndAllowThreads(__tstate
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13370 Py_INCREF(Py_None
); resultobj
= Py_None
;
13377 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13378 PyObject
*resultobj
;
13379 wxDC
*arg1
= (wxDC
*) 0 ;
13382 PyObject
* obj0
= 0 ;
13383 PyObject
* obj1
= 0 ;
13384 char *kwnames
[] = {
13385 (char *) "self",(char *) "rect", NULL
13388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13390 if (SWIG_arg_fail(1)) SWIG_fail
;
13393 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13397 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
13399 wxPyEndAllowThreads(__tstate
);
13400 if (PyErr_Occurred()) SWIG_fail
;
13402 Py_INCREF(Py_None
); resultobj
= Py_None
;
13409 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13410 PyObject
*resultobj
;
13411 wxDC
*arg1
= (wxDC
*) 0 ;
13412 wxPoint
*arg2
= 0 ;
13416 PyObject
* obj0
= 0 ;
13417 PyObject
* obj1
= 0 ;
13418 PyObject
* obj2
= 0 ;
13419 char *kwnames
[] = {
13420 (char *) "self",(char *) "pt",(char *) "sz", NULL
13423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13425 if (SWIG_arg_fail(1)) SWIG_fail
;
13428 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13432 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13436 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13438 wxPyEndAllowThreads(__tstate
);
13439 if (PyErr_Occurred()) SWIG_fail
;
13441 Py_INCREF(Py_None
); resultobj
= Py_None
;
13448 static PyObject
*_wrap_DC_DrawIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13449 PyObject
*resultobj
;
13450 wxDC
*arg1
= (wxDC
*) 0 ;
13454 PyObject
* obj0
= 0 ;
13455 PyObject
* obj1
= 0 ;
13456 PyObject
* obj2
= 0 ;
13457 PyObject
* obj3
= 0 ;
13458 char *kwnames
[] = {
13459 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
13462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13464 if (SWIG_arg_fail(1)) SWIG_fail
;
13466 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
13467 if (SWIG_arg_fail(2)) SWIG_fail
;
13468 if (arg2
== NULL
) {
13469 SWIG_null_ref("wxIcon");
13471 if (SWIG_arg_fail(2)) SWIG_fail
;
13474 arg3
= (int)(SWIG_As_int(obj2
));
13475 if (SWIG_arg_fail(3)) SWIG_fail
;
13478 arg4
= (int)(SWIG_As_int(obj3
));
13479 if (SWIG_arg_fail(4)) SWIG_fail
;
13482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13483 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
13485 wxPyEndAllowThreads(__tstate
);
13486 if (PyErr_Occurred()) SWIG_fail
;
13488 Py_INCREF(Py_None
); resultobj
= Py_None
;
13495 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13496 PyObject
*resultobj
;
13497 wxDC
*arg1
= (wxDC
*) 0 ;
13499 wxPoint
*arg3
= 0 ;
13501 PyObject
* obj0
= 0 ;
13502 PyObject
* obj1
= 0 ;
13503 PyObject
* obj2
= 0 ;
13504 char *kwnames
[] = {
13505 (char *) "self",(char *) "icon",(char *) "pt", NULL
13508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13510 if (SWIG_arg_fail(1)) SWIG_fail
;
13512 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
13513 if (SWIG_arg_fail(2)) SWIG_fail
;
13514 if (arg2
== NULL
) {
13515 SWIG_null_ref("wxIcon");
13517 if (SWIG_arg_fail(2)) SWIG_fail
;
13521 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13525 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
13527 wxPyEndAllowThreads(__tstate
);
13528 if (PyErr_Occurred()) SWIG_fail
;
13530 Py_INCREF(Py_None
); resultobj
= Py_None
;
13537 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13538 PyObject
*resultobj
;
13539 wxDC
*arg1
= (wxDC
*) 0 ;
13540 wxBitmap
*arg2
= 0 ;
13543 bool arg5
= (bool) false ;
13544 PyObject
* obj0
= 0 ;
13545 PyObject
* obj1
= 0 ;
13546 PyObject
* obj2
= 0 ;
13547 PyObject
* obj3
= 0 ;
13548 PyObject
* obj4
= 0 ;
13549 char *kwnames
[] = {
13550 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
13553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13555 if (SWIG_arg_fail(1)) SWIG_fail
;
13557 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
13558 if (SWIG_arg_fail(2)) SWIG_fail
;
13559 if (arg2
== NULL
) {
13560 SWIG_null_ref("wxBitmap");
13562 if (SWIG_arg_fail(2)) SWIG_fail
;
13565 arg3
= (int)(SWIG_As_int(obj2
));
13566 if (SWIG_arg_fail(3)) SWIG_fail
;
13569 arg4
= (int)(SWIG_As_int(obj3
));
13570 if (SWIG_arg_fail(4)) SWIG_fail
;
13574 arg5
= (bool)(SWIG_As_bool(obj4
));
13575 if (SWIG_arg_fail(5)) SWIG_fail
;
13579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13580 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
13582 wxPyEndAllowThreads(__tstate
);
13583 if (PyErr_Occurred()) SWIG_fail
;
13585 Py_INCREF(Py_None
); resultobj
= Py_None
;
13592 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13593 PyObject
*resultobj
;
13594 wxDC
*arg1
= (wxDC
*) 0 ;
13595 wxBitmap
*arg2
= 0 ;
13596 wxPoint
*arg3
= 0 ;
13597 bool arg4
= (bool) false ;
13599 PyObject
* obj0
= 0 ;
13600 PyObject
* obj1
= 0 ;
13601 PyObject
* obj2
= 0 ;
13602 PyObject
* obj3
= 0 ;
13603 char *kwnames
[] = {
13604 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
13607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13609 if (SWIG_arg_fail(1)) SWIG_fail
;
13611 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
13612 if (SWIG_arg_fail(2)) SWIG_fail
;
13613 if (arg2
== NULL
) {
13614 SWIG_null_ref("wxBitmap");
13616 if (SWIG_arg_fail(2)) SWIG_fail
;
13620 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13624 arg4
= (bool)(SWIG_As_bool(obj3
));
13625 if (SWIG_arg_fail(4)) SWIG_fail
;
13629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13630 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
13632 wxPyEndAllowThreads(__tstate
);
13633 if (PyErr_Occurred()) SWIG_fail
;
13635 Py_INCREF(Py_None
); resultobj
= Py_None
;
13642 static PyObject
*_wrap_DC_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13643 PyObject
*resultobj
;
13644 wxDC
*arg1
= (wxDC
*) 0 ;
13645 wxString
*arg2
= 0 ;
13648 bool temp2
= false ;
13649 PyObject
* obj0
= 0 ;
13650 PyObject
* obj1
= 0 ;
13651 PyObject
* obj2
= 0 ;
13652 PyObject
* obj3
= 0 ;
13653 char *kwnames
[] = {
13654 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
13657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13659 if (SWIG_arg_fail(1)) SWIG_fail
;
13661 arg2
= wxString_in_helper(obj1
);
13662 if (arg2
== NULL
) SWIG_fail
;
13666 arg3
= (int)(SWIG_As_int(obj2
));
13667 if (SWIG_arg_fail(3)) SWIG_fail
;
13670 arg4
= (int)(SWIG_As_int(obj3
));
13671 if (SWIG_arg_fail(4)) SWIG_fail
;
13674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13675 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
13677 wxPyEndAllowThreads(__tstate
);
13678 if (PyErr_Occurred()) SWIG_fail
;
13680 Py_INCREF(Py_None
); resultobj
= Py_None
;
13695 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13696 PyObject
*resultobj
;
13697 wxDC
*arg1
= (wxDC
*) 0 ;
13698 wxString
*arg2
= 0 ;
13699 wxPoint
*arg3
= 0 ;
13700 bool temp2
= false ;
13702 PyObject
* obj0
= 0 ;
13703 PyObject
* obj1
= 0 ;
13704 PyObject
* obj2
= 0 ;
13705 char *kwnames
[] = {
13706 (char *) "self",(char *) "text",(char *) "pt", NULL
13709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13711 if (SWIG_arg_fail(1)) SWIG_fail
;
13713 arg2
= wxString_in_helper(obj1
);
13714 if (arg2
== NULL
) SWIG_fail
;
13719 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13723 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
13725 wxPyEndAllowThreads(__tstate
);
13726 if (PyErr_Occurred()) SWIG_fail
;
13728 Py_INCREF(Py_None
); resultobj
= Py_None
;
13743 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13744 PyObject
*resultobj
;
13745 wxDC
*arg1
= (wxDC
*) 0 ;
13746 wxString
*arg2
= 0 ;
13750 bool temp2
= false ;
13751 PyObject
* obj0
= 0 ;
13752 PyObject
* obj1
= 0 ;
13753 PyObject
* obj2
= 0 ;
13754 PyObject
* obj3
= 0 ;
13755 PyObject
* obj4
= 0 ;
13756 char *kwnames
[] = {
13757 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
13760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13762 if (SWIG_arg_fail(1)) SWIG_fail
;
13764 arg2
= wxString_in_helper(obj1
);
13765 if (arg2
== NULL
) SWIG_fail
;
13769 arg3
= (int)(SWIG_As_int(obj2
));
13770 if (SWIG_arg_fail(3)) SWIG_fail
;
13773 arg4
= (int)(SWIG_As_int(obj3
));
13774 if (SWIG_arg_fail(4)) SWIG_fail
;
13777 arg5
= (double)(SWIG_As_double(obj4
));
13778 if (SWIG_arg_fail(5)) SWIG_fail
;
13781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13782 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13784 wxPyEndAllowThreads(__tstate
);
13785 if (PyErr_Occurred()) SWIG_fail
;
13787 Py_INCREF(Py_None
); resultobj
= Py_None
;
13802 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13803 PyObject
*resultobj
;
13804 wxDC
*arg1
= (wxDC
*) 0 ;
13805 wxString
*arg2
= 0 ;
13806 wxPoint
*arg3
= 0 ;
13808 bool temp2
= false ;
13810 PyObject
* obj0
= 0 ;
13811 PyObject
* obj1
= 0 ;
13812 PyObject
* obj2
= 0 ;
13813 PyObject
* obj3
= 0 ;
13814 char *kwnames
[] = {
13815 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
13818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13820 if (SWIG_arg_fail(1)) SWIG_fail
;
13822 arg2
= wxString_in_helper(obj1
);
13823 if (arg2
== NULL
) SWIG_fail
;
13828 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13831 arg4
= (double)(SWIG_As_double(obj3
));
13832 if (SWIG_arg_fail(4)) SWIG_fail
;
13835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13836 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
13838 wxPyEndAllowThreads(__tstate
);
13839 if (PyErr_Occurred()) SWIG_fail
;
13841 Py_INCREF(Py_None
); resultobj
= Py_None
;
13856 static PyObject
*_wrap_DC_Blit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13857 PyObject
*resultobj
;
13858 wxDC
*arg1
= (wxDC
*) 0 ;
13863 wxDC
*arg6
= (wxDC
*) 0 ;
13866 int arg9
= (int) wxCOPY
;
13867 bool arg10
= (bool) false ;
13868 int arg11
= (int) -1 ;
13869 int arg12
= (int) -1 ;
13871 PyObject
* obj0
= 0 ;
13872 PyObject
* obj1
= 0 ;
13873 PyObject
* obj2
= 0 ;
13874 PyObject
* obj3
= 0 ;
13875 PyObject
* obj4
= 0 ;
13876 PyObject
* obj5
= 0 ;
13877 PyObject
* obj6
= 0 ;
13878 PyObject
* obj7
= 0 ;
13879 PyObject
* obj8
= 0 ;
13880 PyObject
* obj9
= 0 ;
13881 PyObject
* obj10
= 0 ;
13882 PyObject
* obj11
= 0 ;
13883 char *kwnames
[] = {
13884 (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
13887 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
;
13888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13889 if (SWIG_arg_fail(1)) SWIG_fail
;
13891 arg2
= (int)(SWIG_As_int(obj1
));
13892 if (SWIG_arg_fail(2)) SWIG_fail
;
13895 arg3
= (int)(SWIG_As_int(obj2
));
13896 if (SWIG_arg_fail(3)) SWIG_fail
;
13899 arg4
= (int)(SWIG_As_int(obj3
));
13900 if (SWIG_arg_fail(4)) SWIG_fail
;
13903 arg5
= (int)(SWIG_As_int(obj4
));
13904 if (SWIG_arg_fail(5)) SWIG_fail
;
13906 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13907 if (SWIG_arg_fail(6)) SWIG_fail
;
13909 arg7
= (int)(SWIG_As_int(obj6
));
13910 if (SWIG_arg_fail(7)) SWIG_fail
;
13913 arg8
= (int)(SWIG_As_int(obj7
));
13914 if (SWIG_arg_fail(8)) SWIG_fail
;
13918 arg9
= (int)(SWIG_As_int(obj8
));
13919 if (SWIG_arg_fail(9)) SWIG_fail
;
13924 arg10
= (bool)(SWIG_As_bool(obj9
));
13925 if (SWIG_arg_fail(10)) SWIG_fail
;
13930 arg11
= (int)(SWIG_As_int(obj10
));
13931 if (SWIG_arg_fail(11)) SWIG_fail
;
13936 arg12
= (int)(SWIG_As_int(obj11
));
13937 if (SWIG_arg_fail(12)) SWIG_fail
;
13941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13942 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
13944 wxPyEndAllowThreads(__tstate
);
13945 if (PyErr_Occurred()) SWIG_fail
;
13948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13956 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13957 PyObject
*resultobj
;
13958 wxDC
*arg1
= (wxDC
*) 0 ;
13959 wxPoint
*arg2
= 0 ;
13961 wxDC
*arg4
= (wxDC
*) 0 ;
13962 wxPoint
*arg5
= 0 ;
13963 int arg6
= (int) wxCOPY
;
13964 bool arg7
= (bool) false ;
13965 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
13966 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
13972 PyObject
* obj0
= 0 ;
13973 PyObject
* obj1
= 0 ;
13974 PyObject
* obj2
= 0 ;
13975 PyObject
* obj3
= 0 ;
13976 PyObject
* obj4
= 0 ;
13977 PyObject
* obj5
= 0 ;
13978 PyObject
* obj6
= 0 ;
13979 PyObject
* obj7
= 0 ;
13980 char *kwnames
[] = {
13981 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
13984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13986 if (SWIG_arg_fail(1)) SWIG_fail
;
13989 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13993 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13995 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13996 if (SWIG_arg_fail(4)) SWIG_fail
;
13999 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14003 arg6
= (int)(SWIG_As_int(obj5
));
14004 if (SWIG_arg_fail(6)) SWIG_fail
;
14009 arg7
= (bool)(SWIG_As_bool(obj6
));
14010 if (SWIG_arg_fail(7)) SWIG_fail
;
14016 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
14020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14021 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
14023 wxPyEndAllowThreads(__tstate
);
14024 if (PyErr_Occurred()) SWIG_fail
;
14027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14035 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14036 PyObject
*resultobj
;
14037 wxDC
*arg1
= (wxDC
*) 0 ;
14042 PyObject
* obj0
= 0 ;
14043 PyObject
* obj1
= 0 ;
14044 PyObject
* obj2
= 0 ;
14045 PyObject
* obj3
= 0 ;
14046 PyObject
* obj4
= 0 ;
14047 char *kwnames
[] = {
14048 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14053 if (SWIG_arg_fail(1)) SWIG_fail
;
14055 arg2
= (int)(SWIG_As_int(obj1
));
14056 if (SWIG_arg_fail(2)) SWIG_fail
;
14059 arg3
= (int)(SWIG_As_int(obj2
));
14060 if (SWIG_arg_fail(3)) SWIG_fail
;
14063 arg4
= (int)(SWIG_As_int(obj3
));
14064 if (SWIG_arg_fail(4)) SWIG_fail
;
14067 arg5
= (int)(SWIG_As_int(obj4
));
14068 if (SWIG_arg_fail(5)) SWIG_fail
;
14071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14072 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
14074 wxPyEndAllowThreads(__tstate
);
14075 if (PyErr_Occurred()) SWIG_fail
;
14077 Py_INCREF(Py_None
); resultobj
= Py_None
;
14084 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14085 PyObject
*resultobj
;
14086 wxDC
*arg1
= (wxDC
*) 0 ;
14087 wxPoint
*arg2
= 0 ;
14091 PyObject
* obj0
= 0 ;
14092 PyObject
* obj1
= 0 ;
14093 PyObject
* obj2
= 0 ;
14094 char *kwnames
[] = {
14095 (char *) "self",(char *) "pt",(char *) "sz", NULL
14098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14100 if (SWIG_arg_fail(1)) SWIG_fail
;
14103 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14107 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14111 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
14113 wxPyEndAllowThreads(__tstate
);
14114 if (PyErr_Occurred()) SWIG_fail
;
14116 Py_INCREF(Py_None
); resultobj
= Py_None
;
14123 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14124 PyObject
*resultobj
;
14125 wxDC
*arg1
= (wxDC
*) 0 ;
14126 wxRegion
*arg2
= 0 ;
14127 PyObject
* obj0
= 0 ;
14128 PyObject
* obj1
= 0 ;
14129 char *kwnames
[] = {
14130 (char *) "self",(char *) "region", NULL
14133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
14134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14135 if (SWIG_arg_fail(1)) SWIG_fail
;
14137 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
14138 if (SWIG_arg_fail(2)) SWIG_fail
;
14139 if (arg2
== NULL
) {
14140 SWIG_null_ref("wxRegion");
14142 if (SWIG_arg_fail(2)) SWIG_fail
;
14145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14146 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
14148 wxPyEndAllowThreads(__tstate
);
14149 if (PyErr_Occurred()) SWIG_fail
;
14151 Py_INCREF(Py_None
); resultobj
= Py_None
;
14158 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14159 PyObject
*resultobj
;
14160 wxDC
*arg1
= (wxDC
*) 0 ;
14163 PyObject
* obj0
= 0 ;
14164 PyObject
* obj1
= 0 ;
14165 char *kwnames
[] = {
14166 (char *) "self",(char *) "rect", NULL
14169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14171 if (SWIG_arg_fail(1)) SWIG_fail
;
14174 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14178 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
14180 wxPyEndAllowThreads(__tstate
);
14181 if (PyErr_Occurred()) SWIG_fail
;
14183 Py_INCREF(Py_None
); resultobj
= Py_None
;
14190 static PyObject
*_wrap_DC_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14191 PyObject
*resultobj
;
14192 wxDC
*arg1
= (wxDC
*) 0 ;
14194 wxPoint
*arg3
= (wxPoint
*) 0 ;
14195 int arg4
= (int) 0 ;
14196 int arg5
= (int) 0 ;
14197 PyObject
* obj0
= 0 ;
14198 PyObject
* obj1
= 0 ;
14199 PyObject
* obj2
= 0 ;
14200 PyObject
* obj3
= 0 ;
14201 char *kwnames
[] = {
14202 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
14205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14207 if (SWIG_arg_fail(1)) SWIG_fail
;
14209 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
14210 if (arg3
== NULL
) SWIG_fail
;
14214 arg4
= (int)(SWIG_As_int(obj2
));
14215 if (SWIG_arg_fail(4)) SWIG_fail
;
14220 arg5
= (int)(SWIG_As_int(obj3
));
14221 if (SWIG_arg_fail(5)) SWIG_fail
;
14225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14226 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
14228 wxPyEndAllowThreads(__tstate
);
14229 if (PyErr_Occurred()) SWIG_fail
;
14231 Py_INCREF(Py_None
); resultobj
= Py_None
;
14233 if (arg3
) delete [] arg3
;
14238 if (arg3
) delete [] arg3
;
14244 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14245 PyObject
*resultobj
;
14246 wxDC
*arg1
= (wxDC
*) 0 ;
14248 wxPoint
*arg3
= (wxPoint
*) 0 ;
14249 int arg4
= (int) 0 ;
14250 int arg5
= (int) 0 ;
14251 int arg6
= (int) wxODDEVEN_RULE
;
14252 PyObject
* obj0
= 0 ;
14253 PyObject
* obj1
= 0 ;
14254 PyObject
* obj2
= 0 ;
14255 PyObject
* obj3
= 0 ;
14256 PyObject
* obj4
= 0 ;
14257 char *kwnames
[] = {
14258 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
14261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14263 if (SWIG_arg_fail(1)) SWIG_fail
;
14265 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
14266 if (arg3
== NULL
) SWIG_fail
;
14270 arg4
= (int)(SWIG_As_int(obj2
));
14271 if (SWIG_arg_fail(4)) SWIG_fail
;
14276 arg5
= (int)(SWIG_As_int(obj3
));
14277 if (SWIG_arg_fail(5)) SWIG_fail
;
14282 arg6
= (int)(SWIG_As_int(obj4
));
14283 if (SWIG_arg_fail(6)) SWIG_fail
;
14287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14288 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
14290 wxPyEndAllowThreads(__tstate
);
14291 if (PyErr_Occurred()) SWIG_fail
;
14293 Py_INCREF(Py_None
); resultobj
= Py_None
;
14295 if (arg3
) delete [] arg3
;
14300 if (arg3
) delete [] arg3
;
14306 static PyObject
*_wrap_DC_DrawLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14307 PyObject
*resultobj
;
14308 wxDC
*arg1
= (wxDC
*) 0 ;
14309 wxString
*arg2
= 0 ;
14311 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
14312 int arg5
= (int) -1 ;
14313 bool temp2
= false ;
14315 PyObject
* obj0
= 0 ;
14316 PyObject
* obj1
= 0 ;
14317 PyObject
* obj2
= 0 ;
14318 PyObject
* obj3
= 0 ;
14319 PyObject
* obj4
= 0 ;
14320 char *kwnames
[] = {
14321 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
14324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14326 if (SWIG_arg_fail(1)) SWIG_fail
;
14328 arg2
= wxString_in_helper(obj1
);
14329 if (arg2
== NULL
) SWIG_fail
;
14334 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
14338 arg4
= (int)(SWIG_As_int(obj3
));
14339 if (SWIG_arg_fail(4)) SWIG_fail
;
14344 arg5
= (int)(SWIG_As_int(obj4
));
14345 if (SWIG_arg_fail(5)) SWIG_fail
;
14349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14350 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
14352 wxPyEndAllowThreads(__tstate
);
14353 if (PyErr_Occurred()) SWIG_fail
;
14355 Py_INCREF(Py_None
); resultobj
= Py_None
;
14370 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14371 PyObject
*resultobj
;
14372 wxDC
*arg1
= (wxDC
*) 0 ;
14373 wxString
*arg2
= 0 ;
14374 wxBitmap
*arg3
= 0 ;
14376 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
14377 int arg6
= (int) -1 ;
14379 bool temp2
= false ;
14381 PyObject
* obj0
= 0 ;
14382 PyObject
* obj1
= 0 ;
14383 PyObject
* obj2
= 0 ;
14384 PyObject
* obj3
= 0 ;
14385 PyObject
* obj4
= 0 ;
14386 PyObject
* obj5
= 0 ;
14387 char *kwnames
[] = {
14388 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
14391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14393 if (SWIG_arg_fail(1)) SWIG_fail
;
14395 arg2
= wxString_in_helper(obj1
);
14396 if (arg2
== NULL
) SWIG_fail
;
14400 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
14401 if (SWIG_arg_fail(3)) SWIG_fail
;
14402 if (arg3
== NULL
) {
14403 SWIG_null_ref("wxBitmap");
14405 if (SWIG_arg_fail(3)) SWIG_fail
;
14409 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
14413 arg5
= (int)(SWIG_As_int(obj4
));
14414 if (SWIG_arg_fail(5)) SWIG_fail
;
14419 arg6
= (int)(SWIG_As_int(obj5
));
14420 if (SWIG_arg_fail(6)) SWIG_fail
;
14424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14425 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
14427 wxPyEndAllowThreads(__tstate
);
14428 if (PyErr_Occurred()) SWIG_fail
;
14431 wxRect
* resultptr
;
14432 resultptr
= new wxRect((wxRect
&)(result
));
14433 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
14449 static PyObject
*_wrap_DC_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14450 PyObject
*resultobj
;
14451 wxDC
*arg1
= (wxDC
*) 0 ;
14453 wxPoint
*arg3
= (wxPoint
*) 0 ;
14454 PyObject
* obj0
= 0 ;
14455 PyObject
* obj1
= 0 ;
14456 char *kwnames
[] = {
14457 (char *) "self",(char *) "points", NULL
14460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
14461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14462 if (SWIG_arg_fail(1)) SWIG_fail
;
14464 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
14465 if (arg3
== NULL
) SWIG_fail
;
14468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14469 (arg1
)->DrawSpline(arg2
,arg3
);
14471 wxPyEndAllowThreads(__tstate
);
14472 if (PyErr_Occurred()) SWIG_fail
;
14474 Py_INCREF(Py_None
); resultobj
= Py_None
;
14476 if (arg3
) delete [] arg3
;
14481 if (arg3
) delete [] arg3
;
14487 static PyObject
*_wrap_DC_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14488 PyObject
*resultobj
;
14489 wxDC
*arg1
= (wxDC
*) 0 ;
14490 PyObject
* obj0
= 0 ;
14491 char *kwnames
[] = {
14492 (char *) "self", NULL
14495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
14496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14497 if (SWIG_arg_fail(1)) SWIG_fail
;
14499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14502 wxPyEndAllowThreads(__tstate
);
14503 if (PyErr_Occurred()) SWIG_fail
;
14505 Py_INCREF(Py_None
); resultobj
= Py_None
;
14512 static PyObject
*_wrap_DC_StartDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14513 PyObject
*resultobj
;
14514 wxDC
*arg1
= (wxDC
*) 0 ;
14515 wxString
*arg2
= 0 ;
14517 bool temp2
= false ;
14518 PyObject
* obj0
= 0 ;
14519 PyObject
* obj1
= 0 ;
14520 char *kwnames
[] = {
14521 (char *) "self",(char *) "message", NULL
14524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
14525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14526 if (SWIG_arg_fail(1)) SWIG_fail
;
14528 arg2
= wxString_in_helper(obj1
);
14529 if (arg2
== NULL
) SWIG_fail
;
14533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14534 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
14536 wxPyEndAllowThreads(__tstate
);
14537 if (PyErr_Occurred()) SWIG_fail
;
14540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14556 static PyObject
*_wrap_DC_EndDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14557 PyObject
*resultobj
;
14558 wxDC
*arg1
= (wxDC
*) 0 ;
14559 PyObject
* obj0
= 0 ;
14560 char *kwnames
[] = {
14561 (char *) "self", NULL
14564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
14565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14566 if (SWIG_arg_fail(1)) SWIG_fail
;
14568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14571 wxPyEndAllowThreads(__tstate
);
14572 if (PyErr_Occurred()) SWIG_fail
;
14574 Py_INCREF(Py_None
); resultobj
= Py_None
;
14581 static PyObject
*_wrap_DC_StartPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14582 PyObject
*resultobj
;
14583 wxDC
*arg1
= (wxDC
*) 0 ;
14584 PyObject
* obj0
= 0 ;
14585 char *kwnames
[] = {
14586 (char *) "self", NULL
14589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
14590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14591 if (SWIG_arg_fail(1)) SWIG_fail
;
14593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14594 (arg1
)->StartPage();
14596 wxPyEndAllowThreads(__tstate
);
14597 if (PyErr_Occurred()) SWIG_fail
;
14599 Py_INCREF(Py_None
); resultobj
= Py_None
;
14606 static PyObject
*_wrap_DC_EndPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14607 PyObject
*resultobj
;
14608 wxDC
*arg1
= (wxDC
*) 0 ;
14609 PyObject
* obj0
= 0 ;
14610 char *kwnames
[] = {
14611 (char *) "self", NULL
14614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
14615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14616 if (SWIG_arg_fail(1)) SWIG_fail
;
14618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14621 wxPyEndAllowThreads(__tstate
);
14622 if (PyErr_Occurred()) SWIG_fail
;
14624 Py_INCREF(Py_None
); resultobj
= Py_None
;
14631 static PyObject
*_wrap_DC_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14632 PyObject
*resultobj
;
14633 wxDC
*arg1
= (wxDC
*) 0 ;
14635 PyObject
* obj0
= 0 ;
14636 PyObject
* obj1
= 0 ;
14637 char *kwnames
[] = {
14638 (char *) "self",(char *) "font", NULL
14641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
14642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14643 if (SWIG_arg_fail(1)) SWIG_fail
;
14645 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
14646 if (SWIG_arg_fail(2)) SWIG_fail
;
14647 if (arg2
== NULL
) {
14648 SWIG_null_ref("wxFont");
14650 if (SWIG_arg_fail(2)) SWIG_fail
;
14653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14654 (arg1
)->SetFont((wxFont
const &)*arg2
);
14656 wxPyEndAllowThreads(__tstate
);
14657 if (PyErr_Occurred()) SWIG_fail
;
14659 Py_INCREF(Py_None
); resultobj
= Py_None
;
14666 static PyObject
*_wrap_DC_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14667 PyObject
*resultobj
;
14668 wxDC
*arg1
= (wxDC
*) 0 ;
14670 PyObject
* obj0
= 0 ;
14671 PyObject
* obj1
= 0 ;
14672 char *kwnames
[] = {
14673 (char *) "self",(char *) "pen", NULL
14676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
14677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14678 if (SWIG_arg_fail(1)) SWIG_fail
;
14680 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
14681 if (SWIG_arg_fail(2)) SWIG_fail
;
14682 if (arg2
== NULL
) {
14683 SWIG_null_ref("wxPen");
14685 if (SWIG_arg_fail(2)) SWIG_fail
;
14688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14689 (arg1
)->SetPen((wxPen
const &)*arg2
);
14691 wxPyEndAllowThreads(__tstate
);
14692 if (PyErr_Occurred()) SWIG_fail
;
14694 Py_INCREF(Py_None
); resultobj
= Py_None
;
14701 static PyObject
*_wrap_DC_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14702 PyObject
*resultobj
;
14703 wxDC
*arg1
= (wxDC
*) 0 ;
14704 wxBrush
*arg2
= 0 ;
14705 PyObject
* obj0
= 0 ;
14706 PyObject
* obj1
= 0 ;
14707 char *kwnames
[] = {
14708 (char *) "self",(char *) "brush", NULL
14711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
14712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14713 if (SWIG_arg_fail(1)) SWIG_fail
;
14715 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
14716 if (SWIG_arg_fail(2)) SWIG_fail
;
14717 if (arg2
== NULL
) {
14718 SWIG_null_ref("wxBrush");
14720 if (SWIG_arg_fail(2)) SWIG_fail
;
14723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14724 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
14726 wxPyEndAllowThreads(__tstate
);
14727 if (PyErr_Occurred()) SWIG_fail
;
14729 Py_INCREF(Py_None
); resultobj
= Py_None
;
14736 static PyObject
*_wrap_DC_SetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14737 PyObject
*resultobj
;
14738 wxDC
*arg1
= (wxDC
*) 0 ;
14739 wxBrush
*arg2
= 0 ;
14740 PyObject
* obj0
= 0 ;
14741 PyObject
* obj1
= 0 ;
14742 char *kwnames
[] = {
14743 (char *) "self",(char *) "brush", NULL
14746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14748 if (SWIG_arg_fail(1)) SWIG_fail
;
14750 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
14751 if (SWIG_arg_fail(2)) SWIG_fail
;
14752 if (arg2
== NULL
) {
14753 SWIG_null_ref("wxBrush");
14755 if (SWIG_arg_fail(2)) SWIG_fail
;
14758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14759 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
14761 wxPyEndAllowThreads(__tstate
);
14762 if (PyErr_Occurred()) SWIG_fail
;
14764 Py_INCREF(Py_None
); resultobj
= Py_None
;
14771 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14772 PyObject
*resultobj
;
14773 wxDC
*arg1
= (wxDC
*) 0 ;
14775 PyObject
* obj0
= 0 ;
14776 PyObject
* obj1
= 0 ;
14777 char *kwnames
[] = {
14778 (char *) "self",(char *) "mode", NULL
14781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14783 if (SWIG_arg_fail(1)) SWIG_fail
;
14785 arg2
= (int)(SWIG_As_int(obj1
));
14786 if (SWIG_arg_fail(2)) SWIG_fail
;
14789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14790 (arg1
)->SetBackgroundMode(arg2
);
14792 wxPyEndAllowThreads(__tstate
);
14793 if (PyErr_Occurred()) SWIG_fail
;
14795 Py_INCREF(Py_None
); resultobj
= Py_None
;
14802 static PyObject
*_wrap_DC_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14803 PyObject
*resultobj
;
14804 wxDC
*arg1
= (wxDC
*) 0 ;
14805 wxPalette
*arg2
= 0 ;
14806 PyObject
* obj0
= 0 ;
14807 PyObject
* obj1
= 0 ;
14808 char *kwnames
[] = {
14809 (char *) "self",(char *) "palette", NULL
14812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
14813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14814 if (SWIG_arg_fail(1)) SWIG_fail
;
14816 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
14817 if (SWIG_arg_fail(2)) SWIG_fail
;
14818 if (arg2
== NULL
) {
14819 SWIG_null_ref("wxPalette");
14821 if (SWIG_arg_fail(2)) SWIG_fail
;
14824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14825 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
14827 wxPyEndAllowThreads(__tstate
);
14828 if (PyErr_Occurred()) SWIG_fail
;
14830 Py_INCREF(Py_None
); resultobj
= Py_None
;
14837 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14838 PyObject
*resultobj
;
14839 wxDC
*arg1
= (wxDC
*) 0 ;
14840 PyObject
* obj0
= 0 ;
14841 char *kwnames
[] = {
14842 (char *) "self", NULL
14845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
14846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14847 if (SWIG_arg_fail(1)) SWIG_fail
;
14849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14850 (arg1
)->DestroyClippingRegion();
14852 wxPyEndAllowThreads(__tstate
);
14853 if (PyErr_Occurred()) SWIG_fail
;
14855 Py_INCREF(Py_None
); resultobj
= Py_None
;
14862 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14863 PyObject
*resultobj
;
14864 wxDC
*arg1
= (wxDC
*) 0 ;
14865 int *arg2
= (int *) 0 ;
14866 int *arg3
= (int *) 0 ;
14867 int *arg4
= (int *) 0 ;
14868 int *arg5
= (int *) 0 ;
14877 PyObject
* obj0
= 0 ;
14878 char *kwnames
[] = {
14879 (char *) "self", NULL
14882 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14883 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14884 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
14885 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
14886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
14887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14888 if (SWIG_arg_fail(1)) SWIG_fail
;
14890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14891 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
14893 wxPyEndAllowThreads(__tstate
);
14894 if (PyErr_Occurred()) SWIG_fail
;
14896 Py_INCREF(Py_None
); resultobj
= Py_None
;
14897 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14898 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
14899 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14900 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14901 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
14902 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
14903 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
14904 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
14911 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14912 PyObject
*resultobj
;
14913 wxDC
*arg1
= (wxDC
*) 0 ;
14915 PyObject
* obj0
= 0 ;
14916 char *kwnames
[] = {
14917 (char *) "self", NULL
14920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
14921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14922 if (SWIG_arg_fail(1)) SWIG_fail
;
14924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14925 result
= wxDC_GetClippingRect(arg1
);
14927 wxPyEndAllowThreads(__tstate
);
14928 if (PyErr_Occurred()) SWIG_fail
;
14931 wxRect
* resultptr
;
14932 resultptr
= new wxRect((wxRect
&)(result
));
14933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
14941 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14942 PyObject
*resultobj
;
14943 wxDC
*arg1
= (wxDC
*) 0 ;
14945 PyObject
* obj0
= 0 ;
14946 char *kwnames
[] = {
14947 (char *) "self", NULL
14950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
14951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14952 if (SWIG_arg_fail(1)) SWIG_fail
;
14954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14955 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
14957 wxPyEndAllowThreads(__tstate
);
14958 if (PyErr_Occurred()) SWIG_fail
;
14961 resultobj
= SWIG_From_int((int)(result
));
14969 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14970 PyObject
*resultobj
;
14971 wxDC
*arg1
= (wxDC
*) 0 ;
14973 PyObject
* obj0
= 0 ;
14974 char *kwnames
[] = {
14975 (char *) "self", NULL
14978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
14979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14980 if (SWIG_arg_fail(1)) SWIG_fail
;
14982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14983 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
14985 wxPyEndAllowThreads(__tstate
);
14986 if (PyErr_Occurred()) SWIG_fail
;
14989 resultobj
= SWIG_From_int((int)(result
));
14997 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14998 PyObject
*resultobj
;
14999 wxDC
*arg1
= (wxDC
*) 0 ;
15000 wxString
*arg2
= 0 ;
15001 int *arg3
= (int *) 0 ;
15002 int *arg4
= (int *) 0 ;
15003 bool temp2
= false ;
15008 PyObject
* obj0
= 0 ;
15009 PyObject
* obj1
= 0 ;
15010 char *kwnames
[] = {
15011 (char *) "self",(char *) "string", NULL
15014 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15015 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
15017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15018 if (SWIG_arg_fail(1)) SWIG_fail
;
15020 arg2
= wxString_in_helper(obj1
);
15021 if (arg2
== NULL
) SWIG_fail
;
15025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15026 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
15028 wxPyEndAllowThreads(__tstate
);
15029 if (PyErr_Occurred()) SWIG_fail
;
15031 Py_INCREF(Py_None
); resultobj
= Py_None
;
15032 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15033 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15034 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15035 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15050 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15051 PyObject
*resultobj
;
15052 wxDC
*arg1
= (wxDC
*) 0 ;
15053 wxString
*arg2
= 0 ;
15054 int *arg3
= (int *) 0 ;
15055 int *arg4
= (int *) 0 ;
15056 int *arg5
= (int *) 0 ;
15057 int *arg6
= (int *) 0 ;
15058 wxFont
*arg7
= (wxFont
*) NULL
;
15059 bool temp2
= false ;
15068 PyObject
* obj0
= 0 ;
15069 PyObject
* obj1
= 0 ;
15070 PyObject
* obj2
= 0 ;
15071 char *kwnames
[] = {
15072 (char *) "self",(char *) "string",(char *) "font", NULL
15075 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15076 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15077 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15078 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
15079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15081 if (SWIG_arg_fail(1)) SWIG_fail
;
15083 arg2
= wxString_in_helper(obj1
);
15084 if (arg2
== NULL
) SWIG_fail
;
15088 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15089 if (SWIG_arg_fail(7)) SWIG_fail
;
15092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15093 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15095 wxPyEndAllowThreads(__tstate
);
15096 if (PyErr_Occurred()) SWIG_fail
;
15098 Py_INCREF(Py_None
); resultobj
= Py_None
;
15099 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15100 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15101 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15102 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15103 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15104 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15105 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
15106 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
15121 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15122 PyObject
*resultobj
;
15123 wxDC
*arg1
= (wxDC
*) 0 ;
15124 wxString
*arg2
= 0 ;
15125 int *arg3
= (int *) 0 ;
15126 int *arg4
= (int *) 0 ;
15127 int *arg5
= (int *) 0 ;
15128 wxFont
*arg6
= (wxFont
*) NULL
;
15129 bool temp2
= false ;
15136 PyObject
* obj0
= 0 ;
15137 PyObject
* obj1
= 0 ;
15138 PyObject
* obj2
= 0 ;
15139 char *kwnames
[] = {
15140 (char *) "self",(char *) "text",(char *) "font", NULL
15143 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15144 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15145 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15148 if (SWIG_arg_fail(1)) SWIG_fail
;
15150 arg2
= wxString_in_helper(obj1
);
15151 if (arg2
== NULL
) SWIG_fail
;
15155 SWIG_Python_ConvertPtr(obj2
, (void **)&arg6
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15156 if (SWIG_arg_fail(6)) SWIG_fail
;
15159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15160 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
15162 wxPyEndAllowThreads(__tstate
);
15163 if (PyErr_Occurred()) SWIG_fail
;
15165 Py_INCREF(Py_None
); resultobj
= Py_None
;
15166 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15167 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15168 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15169 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15170 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15171 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15186 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15187 PyObject
*resultobj
;
15188 wxDC
*arg1
= (wxDC
*) 0 ;
15189 wxString
*arg2
= 0 ;
15191 bool temp2
= false ;
15192 PyObject
* obj0
= 0 ;
15193 PyObject
* obj1
= 0 ;
15194 char *kwnames
[] = {
15195 (char *) "self",(char *) "text", NULL
15198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
15199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15200 if (SWIG_arg_fail(1)) SWIG_fail
;
15202 arg2
= wxString_in_helper(obj1
);
15203 if (arg2
== NULL
) SWIG_fail
;
15207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15208 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
15210 wxPyEndAllowThreads(__tstate
);
15211 if (PyErr_Occurred()) SWIG_fail
;
15214 resultobj
= PyList_New(0);
15216 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
15217 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
15218 PyList_Append(resultobj
, val
);
15236 static PyObject
*_wrap_DC_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15237 PyObject
*resultobj
;
15238 wxDC
*arg1
= (wxDC
*) 0 ;
15240 PyObject
* obj0
= 0 ;
15241 char *kwnames
[] = {
15242 (char *) "self", NULL
15245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
15246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15247 if (SWIG_arg_fail(1)) SWIG_fail
;
15249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15250 result
= (arg1
)->GetSize();
15252 wxPyEndAllowThreads(__tstate
);
15253 if (PyErr_Occurred()) SWIG_fail
;
15256 wxSize
* resultptr
;
15257 resultptr
= new wxSize((wxSize
&)(result
));
15258 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15266 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15267 PyObject
*resultobj
;
15268 wxDC
*arg1
= (wxDC
*) 0 ;
15269 int *arg2
= (int *) 0 ;
15270 int *arg3
= (int *) 0 ;
15275 PyObject
* obj0
= 0 ;
15276 char *kwnames
[] = {
15277 (char *) "self", NULL
15280 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15281 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
15283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15284 if (SWIG_arg_fail(1)) SWIG_fail
;
15286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15287 (arg1
)->GetSize(arg2
,arg3
);
15289 wxPyEndAllowThreads(__tstate
);
15290 if (PyErr_Occurred()) SWIG_fail
;
15292 Py_INCREF(Py_None
); resultobj
= Py_None
;
15293 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15294 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15295 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15296 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15303 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15304 PyObject
*resultobj
;
15305 wxDC
*arg1
= (wxDC
*) 0 ;
15307 PyObject
* obj0
= 0 ;
15308 char *kwnames
[] = {
15309 (char *) "self", NULL
15312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
15313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15314 if (SWIG_arg_fail(1)) SWIG_fail
;
15316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15317 result
= ((wxDC
const *)arg1
)->GetSizeMM();
15319 wxPyEndAllowThreads(__tstate
);
15320 if (PyErr_Occurred()) SWIG_fail
;
15323 wxSize
* resultptr
;
15324 resultptr
= new wxSize((wxSize
&)(result
));
15325 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15333 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15334 PyObject
*resultobj
;
15335 wxDC
*arg1
= (wxDC
*) 0 ;
15336 int *arg2
= (int *) 0 ;
15337 int *arg3
= (int *) 0 ;
15342 PyObject
* obj0
= 0 ;
15343 char *kwnames
[] = {
15344 (char *) "self", NULL
15347 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15348 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
15350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15351 if (SWIG_arg_fail(1)) SWIG_fail
;
15353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15354 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
15356 wxPyEndAllowThreads(__tstate
);
15357 if (PyErr_Occurred()) SWIG_fail
;
15359 Py_INCREF(Py_None
); resultobj
= Py_None
;
15360 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15361 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15362 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15363 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15370 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15371 PyObject
*resultobj
;
15372 wxDC
*arg1
= (wxDC
*) 0 ;
15375 PyObject
* obj0
= 0 ;
15376 PyObject
* obj1
= 0 ;
15377 char *kwnames
[] = {
15378 (char *) "self",(char *) "x", NULL
15381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
15382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15383 if (SWIG_arg_fail(1)) SWIG_fail
;
15385 arg2
= (int)(SWIG_As_int(obj1
));
15386 if (SWIG_arg_fail(2)) SWIG_fail
;
15389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15390 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
15392 wxPyEndAllowThreads(__tstate
);
15393 if (PyErr_Occurred()) SWIG_fail
;
15396 resultobj
= SWIG_From_int((int)(result
));
15404 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15405 PyObject
*resultobj
;
15406 wxDC
*arg1
= (wxDC
*) 0 ;
15409 PyObject
* obj0
= 0 ;
15410 PyObject
* obj1
= 0 ;
15411 char *kwnames
[] = {
15412 (char *) "self",(char *) "y", NULL
15415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
15416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15417 if (SWIG_arg_fail(1)) SWIG_fail
;
15419 arg2
= (int)(SWIG_As_int(obj1
));
15420 if (SWIG_arg_fail(2)) SWIG_fail
;
15423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15424 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
15426 wxPyEndAllowThreads(__tstate
);
15427 if (PyErr_Occurred()) SWIG_fail
;
15430 resultobj
= SWIG_From_int((int)(result
));
15438 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15439 PyObject
*resultobj
;
15440 wxDC
*arg1
= (wxDC
*) 0 ;
15443 PyObject
* obj0
= 0 ;
15444 PyObject
* obj1
= 0 ;
15445 char *kwnames
[] = {
15446 (char *) "self",(char *) "x", NULL
15449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15451 if (SWIG_arg_fail(1)) SWIG_fail
;
15453 arg2
= (int)(SWIG_As_int(obj1
));
15454 if (SWIG_arg_fail(2)) SWIG_fail
;
15457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15458 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
15460 wxPyEndAllowThreads(__tstate
);
15461 if (PyErr_Occurred()) SWIG_fail
;
15464 resultobj
= SWIG_From_int((int)(result
));
15472 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15473 PyObject
*resultobj
;
15474 wxDC
*arg1
= (wxDC
*) 0 ;
15477 PyObject
* obj0
= 0 ;
15478 PyObject
* obj1
= 0 ;
15479 char *kwnames
[] = {
15480 (char *) "self",(char *) "y", NULL
15483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15485 if (SWIG_arg_fail(1)) SWIG_fail
;
15487 arg2
= (int)(SWIG_As_int(obj1
));
15488 if (SWIG_arg_fail(2)) SWIG_fail
;
15491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15492 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
15494 wxPyEndAllowThreads(__tstate
);
15495 if (PyErr_Occurred()) SWIG_fail
;
15498 resultobj
= SWIG_From_int((int)(result
));
15506 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15507 PyObject
*resultobj
;
15508 wxDC
*arg1
= (wxDC
*) 0 ;
15511 PyObject
* obj0
= 0 ;
15512 PyObject
* obj1
= 0 ;
15513 char *kwnames
[] = {
15514 (char *) "self",(char *) "x", NULL
15517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
15518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15519 if (SWIG_arg_fail(1)) SWIG_fail
;
15521 arg2
= (int)(SWIG_As_int(obj1
));
15522 if (SWIG_arg_fail(2)) SWIG_fail
;
15525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15526 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
15528 wxPyEndAllowThreads(__tstate
);
15529 if (PyErr_Occurred()) SWIG_fail
;
15532 resultobj
= SWIG_From_int((int)(result
));
15540 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15541 PyObject
*resultobj
;
15542 wxDC
*arg1
= (wxDC
*) 0 ;
15545 PyObject
* obj0
= 0 ;
15546 PyObject
* obj1
= 0 ;
15547 char *kwnames
[] = {
15548 (char *) "self",(char *) "y", NULL
15551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
15552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15553 if (SWIG_arg_fail(1)) SWIG_fail
;
15555 arg2
= (int)(SWIG_As_int(obj1
));
15556 if (SWIG_arg_fail(2)) SWIG_fail
;
15559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15560 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
15562 wxPyEndAllowThreads(__tstate
);
15563 if (PyErr_Occurred()) SWIG_fail
;
15566 resultobj
= SWIG_From_int((int)(result
));
15574 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15575 PyObject
*resultobj
;
15576 wxDC
*arg1
= (wxDC
*) 0 ;
15579 PyObject
* obj0
= 0 ;
15580 PyObject
* obj1
= 0 ;
15581 char *kwnames
[] = {
15582 (char *) "self",(char *) "x", NULL
15585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15587 if (SWIG_arg_fail(1)) SWIG_fail
;
15589 arg2
= (int)(SWIG_As_int(obj1
));
15590 if (SWIG_arg_fail(2)) SWIG_fail
;
15593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15594 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
15596 wxPyEndAllowThreads(__tstate
);
15597 if (PyErr_Occurred()) SWIG_fail
;
15600 resultobj
= SWIG_From_int((int)(result
));
15608 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15609 PyObject
*resultobj
;
15610 wxDC
*arg1
= (wxDC
*) 0 ;
15613 PyObject
* obj0
= 0 ;
15614 PyObject
* obj1
= 0 ;
15615 char *kwnames
[] = {
15616 (char *) "self",(char *) "y", NULL
15619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15621 if (SWIG_arg_fail(1)) SWIG_fail
;
15623 arg2
= (int)(SWIG_As_int(obj1
));
15624 if (SWIG_arg_fail(2)) SWIG_fail
;
15627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15628 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
15630 wxPyEndAllowThreads(__tstate
);
15631 if (PyErr_Occurred()) SWIG_fail
;
15634 resultobj
= SWIG_From_int((int)(result
));
15642 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15643 PyObject
*resultobj
;
15644 wxDC
*arg1
= (wxDC
*) 0 ;
15646 PyObject
* obj0
= 0 ;
15647 char *kwnames
[] = {
15648 (char *) "self", NULL
15651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
15652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15653 if (SWIG_arg_fail(1)) SWIG_fail
;
15655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15656 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
15658 wxPyEndAllowThreads(__tstate
);
15659 if (PyErr_Occurred()) SWIG_fail
;
15662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15670 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15671 PyObject
*resultobj
;
15672 wxDC
*arg1
= (wxDC
*) 0 ;
15674 PyObject
* obj0
= 0 ;
15675 char *kwnames
[] = {
15676 (char *) "self", NULL
15679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
15680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15681 if (SWIG_arg_fail(1)) SWIG_fail
;
15683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15684 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
15686 wxPyEndAllowThreads(__tstate
);
15687 if (PyErr_Occurred()) SWIG_fail
;
15690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15698 static PyObject
*_wrap_DC_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15699 PyObject
*resultobj
;
15700 wxDC
*arg1
= (wxDC
*) 0 ;
15702 PyObject
* obj0
= 0 ;
15703 char *kwnames
[] = {
15704 (char *) "self", NULL
15707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
15708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15709 if (SWIG_arg_fail(1)) SWIG_fail
;
15711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15712 result
= (int)((wxDC
const *)arg1
)->GetDepth();
15714 wxPyEndAllowThreads(__tstate
);
15715 if (PyErr_Occurred()) SWIG_fail
;
15718 resultobj
= SWIG_From_int((int)(result
));
15726 static PyObject
*_wrap_DC_GetPPI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15727 PyObject
*resultobj
;
15728 wxDC
*arg1
= (wxDC
*) 0 ;
15730 PyObject
* obj0
= 0 ;
15731 char *kwnames
[] = {
15732 (char *) "self", NULL
15735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
15736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15737 if (SWIG_arg_fail(1)) SWIG_fail
;
15739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15740 result
= ((wxDC
const *)arg1
)->GetPPI();
15742 wxPyEndAllowThreads(__tstate
);
15743 if (PyErr_Occurred()) SWIG_fail
;
15746 wxSize
* resultptr
;
15747 resultptr
= new wxSize((wxSize
&)(result
));
15748 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15756 static PyObject
*_wrap_DC_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15757 PyObject
*resultobj
;
15758 wxDC
*arg1
= (wxDC
*) 0 ;
15760 PyObject
* obj0
= 0 ;
15761 char *kwnames
[] = {
15762 (char *) "self", NULL
15765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
15766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15767 if (SWIG_arg_fail(1)) SWIG_fail
;
15769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15770 result
= (bool)((wxDC
const *)arg1
)->Ok();
15772 wxPyEndAllowThreads(__tstate
);
15773 if (PyErr_Occurred()) SWIG_fail
;
15776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15784 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15785 PyObject
*resultobj
;
15786 wxDC
*arg1
= (wxDC
*) 0 ;
15788 PyObject
* obj0
= 0 ;
15789 char *kwnames
[] = {
15790 (char *) "self", NULL
15793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
15794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15795 if (SWIG_arg_fail(1)) SWIG_fail
;
15797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15798 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
15800 wxPyEndAllowThreads(__tstate
);
15801 if (PyErr_Occurred()) SWIG_fail
;
15804 resultobj
= SWIG_From_int((int)(result
));
15812 static PyObject
*_wrap_DC_GetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15813 PyObject
*resultobj
;
15814 wxDC
*arg1
= (wxDC
*) 0 ;
15816 PyObject
* obj0
= 0 ;
15817 char *kwnames
[] = {
15818 (char *) "self", NULL
15821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
15822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15823 if (SWIG_arg_fail(1)) SWIG_fail
;
15825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15827 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
15828 result
= (wxBrush
*) &_result_ref
;
15831 wxPyEndAllowThreads(__tstate
);
15832 if (PyErr_Occurred()) SWIG_fail
;
15835 wxBrush
* resultptr
= new wxBrush(*result
);
15836 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
15844 static PyObject
*_wrap_DC_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15845 PyObject
*resultobj
;
15846 wxDC
*arg1
= (wxDC
*) 0 ;
15848 PyObject
* obj0
= 0 ;
15849 char *kwnames
[] = {
15850 (char *) "self", NULL
15853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
15854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15855 if (SWIG_arg_fail(1)) SWIG_fail
;
15857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15859 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
15860 result
= (wxBrush
*) &_result_ref
;
15863 wxPyEndAllowThreads(__tstate
);
15864 if (PyErr_Occurred()) SWIG_fail
;
15867 wxBrush
* resultptr
= new wxBrush(*result
);
15868 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
15876 static PyObject
*_wrap_DC_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15877 PyObject
*resultobj
;
15878 wxDC
*arg1
= (wxDC
*) 0 ;
15880 PyObject
* obj0
= 0 ;
15881 char *kwnames
[] = {
15882 (char *) "self", NULL
15885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
15886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15887 if (SWIG_arg_fail(1)) SWIG_fail
;
15889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15891 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
15892 result
= (wxFont
*) &_result_ref
;
15895 wxPyEndAllowThreads(__tstate
);
15896 if (PyErr_Occurred()) SWIG_fail
;
15899 wxFont
* resultptr
= new wxFont(*result
);
15900 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15908 static PyObject
*_wrap_DC_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15909 PyObject
*resultobj
;
15910 wxDC
*arg1
= (wxDC
*) 0 ;
15912 PyObject
* obj0
= 0 ;
15913 char *kwnames
[] = {
15914 (char *) "self", NULL
15917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
15918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15919 if (SWIG_arg_fail(1)) SWIG_fail
;
15921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15923 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
15924 result
= (wxPen
*) &_result_ref
;
15927 wxPyEndAllowThreads(__tstate
);
15928 if (PyErr_Occurred()) SWIG_fail
;
15931 wxPen
* resultptr
= new wxPen(*result
);
15932 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
15940 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15941 PyObject
*resultobj
;
15942 wxDC
*arg1
= (wxDC
*) 0 ;
15944 PyObject
* obj0
= 0 ;
15945 char *kwnames
[] = {
15946 (char *) "self", NULL
15949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
15950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15951 if (SWIG_arg_fail(1)) SWIG_fail
;
15953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15955 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
15956 result
= (wxColour
*) &_result_ref
;
15959 wxPyEndAllowThreads(__tstate
);
15960 if (PyErr_Occurred()) SWIG_fail
;
15962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
15969 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15970 PyObject
*resultobj
;
15971 wxDC
*arg1
= (wxDC
*) 0 ;
15973 PyObject
* obj0
= 0 ;
15974 char *kwnames
[] = {
15975 (char *) "self", NULL
15978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
15979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15980 if (SWIG_arg_fail(1)) SWIG_fail
;
15982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15984 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
15985 result
= (wxColour
*) &_result_ref
;
15988 wxPyEndAllowThreads(__tstate
);
15989 if (PyErr_Occurred()) SWIG_fail
;
15991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
15998 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15999 PyObject
*resultobj
;
16000 wxDC
*arg1
= (wxDC
*) 0 ;
16001 wxColour
*arg2
= 0 ;
16003 PyObject
* obj0
= 0 ;
16004 PyObject
* obj1
= 0 ;
16005 char *kwnames
[] = {
16006 (char *) "self",(char *) "colour", NULL
16009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
16010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16011 if (SWIG_arg_fail(1)) SWIG_fail
;
16014 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16018 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
16020 wxPyEndAllowThreads(__tstate
);
16021 if (PyErr_Occurred()) SWIG_fail
;
16023 Py_INCREF(Py_None
); resultobj
= Py_None
;
16030 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16031 PyObject
*resultobj
;
16032 wxDC
*arg1
= (wxDC
*) 0 ;
16033 wxColour
*arg2
= 0 ;
16035 PyObject
* obj0
= 0 ;
16036 PyObject
* obj1
= 0 ;
16037 char *kwnames
[] = {
16038 (char *) "self",(char *) "colour", NULL
16041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16043 if (SWIG_arg_fail(1)) SWIG_fail
;
16046 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16050 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
16052 wxPyEndAllowThreads(__tstate
);
16053 if (PyErr_Occurred()) SWIG_fail
;
16055 Py_INCREF(Py_None
); resultobj
= Py_None
;
16062 static PyObject
*_wrap_DC_GetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16063 PyObject
*resultobj
;
16064 wxDC
*arg1
= (wxDC
*) 0 ;
16066 PyObject
* obj0
= 0 ;
16067 char *kwnames
[] = {
16068 (char *) "self", NULL
16071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
16072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16073 if (SWIG_arg_fail(1)) SWIG_fail
;
16075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16076 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
16078 wxPyEndAllowThreads(__tstate
);
16079 if (PyErr_Occurred()) SWIG_fail
;
16082 resultobj
= SWIG_From_int((int)(result
));
16090 static PyObject
*_wrap_DC_SetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16091 PyObject
*resultobj
;
16092 wxDC
*arg1
= (wxDC
*) 0 ;
16094 PyObject
* obj0
= 0 ;
16095 PyObject
* obj1
= 0 ;
16096 char *kwnames
[] = {
16097 (char *) "self",(char *) "mode", NULL
16100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
16101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16102 if (SWIG_arg_fail(1)) SWIG_fail
;
16104 arg2
= (int)(SWIG_As_int(obj1
));
16105 if (SWIG_arg_fail(2)) SWIG_fail
;
16108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16109 (arg1
)->SetMapMode(arg2
);
16111 wxPyEndAllowThreads(__tstate
);
16112 if (PyErr_Occurred()) SWIG_fail
;
16114 Py_INCREF(Py_None
); resultobj
= Py_None
;
16121 static PyObject
*_wrap_DC_GetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16122 PyObject
*resultobj
;
16123 wxDC
*arg1
= (wxDC
*) 0 ;
16124 double *arg2
= (double *) 0 ;
16125 double *arg3
= (double *) 0 ;
16130 PyObject
* obj0
= 0 ;
16131 char *kwnames
[] = {
16132 (char *) "self", NULL
16135 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16136 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
16138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16139 if (SWIG_arg_fail(1)) SWIG_fail
;
16141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16142 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
16144 wxPyEndAllowThreads(__tstate
);
16145 if (PyErr_Occurred()) SWIG_fail
;
16147 Py_INCREF(Py_None
); resultobj
= Py_None
;
16148 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16149 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
16150 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16151 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
16158 static PyObject
*_wrap_DC_SetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16159 PyObject
*resultobj
;
16160 wxDC
*arg1
= (wxDC
*) 0 ;
16163 PyObject
* obj0
= 0 ;
16164 PyObject
* obj1
= 0 ;
16165 PyObject
* obj2
= 0 ;
16166 char *kwnames
[] = {
16167 (char *) "self",(char *) "x",(char *) "y", NULL
16170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16172 if (SWIG_arg_fail(1)) SWIG_fail
;
16174 arg2
= (double)(SWIG_As_double(obj1
));
16175 if (SWIG_arg_fail(2)) SWIG_fail
;
16178 arg3
= (double)(SWIG_As_double(obj2
));
16179 if (SWIG_arg_fail(3)) SWIG_fail
;
16182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16183 (arg1
)->SetUserScale(arg2
,arg3
);
16185 wxPyEndAllowThreads(__tstate
);
16186 if (PyErr_Occurred()) SWIG_fail
;
16188 Py_INCREF(Py_None
); resultobj
= Py_None
;
16195 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16196 PyObject
*resultobj
;
16197 wxDC
*arg1
= (wxDC
*) 0 ;
16198 double *arg2
= (double *) 0 ;
16199 double *arg3
= (double *) 0 ;
16204 PyObject
* obj0
= 0 ;
16205 char *kwnames
[] = {
16206 (char *) "self", NULL
16209 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16210 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
16212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16213 if (SWIG_arg_fail(1)) SWIG_fail
;
16215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16216 (arg1
)->GetLogicalScale(arg2
,arg3
);
16218 wxPyEndAllowThreads(__tstate
);
16219 if (PyErr_Occurred()) SWIG_fail
;
16221 Py_INCREF(Py_None
); resultobj
= Py_None
;
16222 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16223 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
16224 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16225 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
16232 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16233 PyObject
*resultobj
;
16234 wxDC
*arg1
= (wxDC
*) 0 ;
16237 PyObject
* obj0
= 0 ;
16238 PyObject
* obj1
= 0 ;
16239 PyObject
* obj2
= 0 ;
16240 char *kwnames
[] = {
16241 (char *) "self",(char *) "x",(char *) "y", NULL
16244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16246 if (SWIG_arg_fail(1)) SWIG_fail
;
16248 arg2
= (double)(SWIG_As_double(obj1
));
16249 if (SWIG_arg_fail(2)) SWIG_fail
;
16252 arg3
= (double)(SWIG_As_double(obj2
));
16253 if (SWIG_arg_fail(3)) SWIG_fail
;
16256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16257 (arg1
)->SetLogicalScale(arg2
,arg3
);
16259 wxPyEndAllowThreads(__tstate
);
16260 if (PyErr_Occurred()) SWIG_fail
;
16262 Py_INCREF(Py_None
); resultobj
= Py_None
;
16269 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16270 PyObject
*resultobj
;
16271 wxDC
*arg1
= (wxDC
*) 0 ;
16273 PyObject
* obj0
= 0 ;
16274 char *kwnames
[] = {
16275 (char *) "self", NULL
16278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
16279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16280 if (SWIG_arg_fail(1)) SWIG_fail
;
16282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16283 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
16285 wxPyEndAllowThreads(__tstate
);
16286 if (PyErr_Occurred()) SWIG_fail
;
16289 wxPoint
* resultptr
;
16290 resultptr
= new wxPoint((wxPoint
&)(result
));
16291 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16299 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16300 PyObject
*resultobj
;
16301 wxDC
*arg1
= (wxDC
*) 0 ;
16302 int *arg2
= (int *) 0 ;
16303 int *arg3
= (int *) 0 ;
16308 PyObject
* obj0
= 0 ;
16309 char *kwnames
[] = {
16310 (char *) "self", NULL
16313 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16314 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
16316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16317 if (SWIG_arg_fail(1)) SWIG_fail
;
16319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16320 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
16322 wxPyEndAllowThreads(__tstate
);
16323 if (PyErr_Occurred()) SWIG_fail
;
16325 Py_INCREF(Py_None
); resultobj
= Py_None
;
16326 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16327 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16328 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16329 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16336 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16337 PyObject
*resultobj
;
16338 wxDC
*arg1
= (wxDC
*) 0 ;
16341 PyObject
* obj0
= 0 ;
16342 PyObject
* obj1
= 0 ;
16343 PyObject
* obj2
= 0 ;
16344 char *kwnames
[] = {
16345 (char *) "self",(char *) "x",(char *) "y", NULL
16348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16350 if (SWIG_arg_fail(1)) SWIG_fail
;
16352 arg2
= (int)(SWIG_As_int(obj1
));
16353 if (SWIG_arg_fail(2)) SWIG_fail
;
16356 arg3
= (int)(SWIG_As_int(obj2
));
16357 if (SWIG_arg_fail(3)) SWIG_fail
;
16360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16361 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
16363 wxPyEndAllowThreads(__tstate
);
16364 if (PyErr_Occurred()) SWIG_fail
;
16366 Py_INCREF(Py_None
); resultobj
= Py_None
;
16373 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16374 PyObject
*resultobj
;
16375 wxDC
*arg1
= (wxDC
*) 0 ;
16376 wxPoint
*arg2
= 0 ;
16378 PyObject
* obj0
= 0 ;
16379 PyObject
* obj1
= 0 ;
16380 char *kwnames
[] = {
16381 (char *) "self",(char *) "point", NULL
16384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
16385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16386 if (SWIG_arg_fail(1)) SWIG_fail
;
16389 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16393 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
16395 wxPyEndAllowThreads(__tstate
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16398 Py_INCREF(Py_None
); resultobj
= Py_None
;
16405 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16406 PyObject
*resultobj
;
16407 wxDC
*arg1
= (wxDC
*) 0 ;
16409 PyObject
* obj0
= 0 ;
16410 char *kwnames
[] = {
16411 (char *) "self", NULL
16414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
16415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16416 if (SWIG_arg_fail(1)) SWIG_fail
;
16418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16419 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
16421 wxPyEndAllowThreads(__tstate
);
16422 if (PyErr_Occurred()) SWIG_fail
;
16425 wxPoint
* resultptr
;
16426 resultptr
= new wxPoint((wxPoint
&)(result
));
16427 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16435 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16436 PyObject
*resultobj
;
16437 wxDC
*arg1
= (wxDC
*) 0 ;
16438 int *arg2
= (int *) 0 ;
16439 int *arg3
= (int *) 0 ;
16444 PyObject
* obj0
= 0 ;
16445 char *kwnames
[] = {
16446 (char *) "self", NULL
16449 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16450 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
16452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16453 if (SWIG_arg_fail(1)) SWIG_fail
;
16455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16456 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
16458 wxPyEndAllowThreads(__tstate
);
16459 if (PyErr_Occurred()) SWIG_fail
;
16461 Py_INCREF(Py_None
); resultobj
= Py_None
;
16462 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16463 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16464 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16465 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16472 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16473 PyObject
*resultobj
;
16474 wxDC
*arg1
= (wxDC
*) 0 ;
16477 PyObject
* obj0
= 0 ;
16478 PyObject
* obj1
= 0 ;
16479 PyObject
* obj2
= 0 ;
16480 char *kwnames
[] = {
16481 (char *) "self",(char *) "x",(char *) "y", NULL
16484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16486 if (SWIG_arg_fail(1)) SWIG_fail
;
16488 arg2
= (int)(SWIG_As_int(obj1
));
16489 if (SWIG_arg_fail(2)) SWIG_fail
;
16492 arg3
= (int)(SWIG_As_int(obj2
));
16493 if (SWIG_arg_fail(3)) SWIG_fail
;
16496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16497 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
16499 wxPyEndAllowThreads(__tstate
);
16500 if (PyErr_Occurred()) SWIG_fail
;
16502 Py_INCREF(Py_None
); resultobj
= Py_None
;
16509 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16510 PyObject
*resultobj
;
16511 wxDC
*arg1
= (wxDC
*) 0 ;
16512 wxPoint
*arg2
= 0 ;
16514 PyObject
* obj0
= 0 ;
16515 PyObject
* obj1
= 0 ;
16516 char *kwnames
[] = {
16517 (char *) "self",(char *) "point", NULL
16520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
16521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16522 if (SWIG_arg_fail(1)) SWIG_fail
;
16525 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16529 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
16531 wxPyEndAllowThreads(__tstate
);
16532 if (PyErr_Occurred()) SWIG_fail
;
16534 Py_INCREF(Py_None
); resultobj
= Py_None
;
16541 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16542 PyObject
*resultobj
;
16543 wxDC
*arg1
= (wxDC
*) 0 ;
16546 PyObject
* obj0
= 0 ;
16547 PyObject
* obj1
= 0 ;
16548 PyObject
* obj2
= 0 ;
16549 char *kwnames
[] = {
16550 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
16553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16555 if (SWIG_arg_fail(1)) SWIG_fail
;
16557 arg2
= (bool)(SWIG_As_bool(obj1
));
16558 if (SWIG_arg_fail(2)) SWIG_fail
;
16561 arg3
= (bool)(SWIG_As_bool(obj2
));
16562 if (SWIG_arg_fail(3)) SWIG_fail
;
16565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16566 (arg1
)->SetAxisOrientation(arg2
,arg3
);
16568 wxPyEndAllowThreads(__tstate
);
16569 if (PyErr_Occurred()) SWIG_fail
;
16571 Py_INCREF(Py_None
); resultobj
= Py_None
;
16578 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16579 PyObject
*resultobj
;
16580 wxDC
*arg1
= (wxDC
*) 0 ;
16582 PyObject
* obj0
= 0 ;
16583 char *kwnames
[] = {
16584 (char *) "self", NULL
16587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
16588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16589 if (SWIG_arg_fail(1)) SWIG_fail
;
16591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16592 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
16594 wxPyEndAllowThreads(__tstate
);
16595 if (PyErr_Occurred()) SWIG_fail
;
16598 resultobj
= SWIG_From_int((int)(result
));
16606 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16607 PyObject
*resultobj
;
16608 wxDC
*arg1
= (wxDC
*) 0 ;
16610 PyObject
* obj0
= 0 ;
16611 PyObject
* obj1
= 0 ;
16612 char *kwnames
[] = {
16613 (char *) "self",(char *) "function", NULL
16616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
16617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16618 if (SWIG_arg_fail(1)) SWIG_fail
;
16620 arg2
= (int)(SWIG_As_int(obj1
));
16621 if (SWIG_arg_fail(2)) SWIG_fail
;
16624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16625 (arg1
)->SetLogicalFunction(arg2
);
16627 wxPyEndAllowThreads(__tstate
);
16628 if (PyErr_Occurred()) SWIG_fail
;
16630 Py_INCREF(Py_None
); resultobj
= Py_None
;
16637 static PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16638 PyObject
*resultobj
;
16639 wxDC
*arg1
= (wxDC
*) 0 ;
16640 PyObject
* obj0
= 0 ;
16641 char *kwnames
[] = {
16642 (char *) "self", NULL
16645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ComputeScaleAndOrigin",kwnames
,&obj0
)) goto fail
;
16646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16647 if (SWIG_arg_fail(1)) SWIG_fail
;
16649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16650 (arg1
)->ComputeScaleAndOrigin();
16652 wxPyEndAllowThreads(__tstate
);
16653 if (PyErr_Occurred()) SWIG_fail
;
16655 Py_INCREF(Py_None
); resultobj
= Py_None
;
16662 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16663 PyObject
*resultobj
;
16664 wxDC
*arg1
= (wxDC
*) 0 ;
16667 PyObject
* obj0
= 0 ;
16668 PyObject
* obj1
= 0 ;
16669 PyObject
* obj2
= 0 ;
16670 char *kwnames
[] = {
16671 (char *) "self",(char *) "x",(char *) "y", NULL
16674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16676 if (SWIG_arg_fail(1)) SWIG_fail
;
16678 arg2
= (int)(SWIG_As_int(obj1
));
16679 if (SWIG_arg_fail(2)) SWIG_fail
;
16682 arg3
= (int)(SWIG_As_int(obj2
));
16683 if (SWIG_arg_fail(3)) SWIG_fail
;
16686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16687 (arg1
)->CalcBoundingBox(arg2
,arg3
);
16689 wxPyEndAllowThreads(__tstate
);
16690 if (PyErr_Occurred()) SWIG_fail
;
16692 Py_INCREF(Py_None
); resultobj
= Py_None
;
16699 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16700 PyObject
*resultobj
;
16701 wxDC
*arg1
= (wxDC
*) 0 ;
16702 wxPoint
*arg2
= 0 ;
16704 PyObject
* obj0
= 0 ;
16705 PyObject
* obj1
= 0 ;
16706 char *kwnames
[] = {
16707 (char *) "self",(char *) "point", NULL
16710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
16711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16712 if (SWIG_arg_fail(1)) SWIG_fail
;
16715 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16719 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
16721 wxPyEndAllowThreads(__tstate
);
16722 if (PyErr_Occurred()) SWIG_fail
;
16724 Py_INCREF(Py_None
); resultobj
= Py_None
;
16731 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16732 PyObject
*resultobj
;
16733 wxDC
*arg1
= (wxDC
*) 0 ;
16734 PyObject
* obj0
= 0 ;
16735 char *kwnames
[] = {
16736 (char *) "self", NULL
16739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
16740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16741 if (SWIG_arg_fail(1)) SWIG_fail
;
16743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16744 (arg1
)->ResetBoundingBox();
16746 wxPyEndAllowThreads(__tstate
);
16747 if (PyErr_Occurred()) SWIG_fail
;
16749 Py_INCREF(Py_None
); resultobj
= Py_None
;
16756 static PyObject
*_wrap_DC_MinX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16757 PyObject
*resultobj
;
16758 wxDC
*arg1
= (wxDC
*) 0 ;
16760 PyObject
* obj0
= 0 ;
16761 char *kwnames
[] = {
16762 (char *) "self", NULL
16765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
16766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16767 if (SWIG_arg_fail(1)) SWIG_fail
;
16769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16770 result
= (int)((wxDC
const *)arg1
)->MinX();
16772 wxPyEndAllowThreads(__tstate
);
16773 if (PyErr_Occurred()) SWIG_fail
;
16776 resultobj
= SWIG_From_int((int)(result
));
16784 static PyObject
*_wrap_DC_MaxX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16785 PyObject
*resultobj
;
16786 wxDC
*arg1
= (wxDC
*) 0 ;
16788 PyObject
* obj0
= 0 ;
16789 char *kwnames
[] = {
16790 (char *) "self", NULL
16793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
16794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16795 if (SWIG_arg_fail(1)) SWIG_fail
;
16797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16798 result
= (int)((wxDC
const *)arg1
)->MaxX();
16800 wxPyEndAllowThreads(__tstate
);
16801 if (PyErr_Occurred()) SWIG_fail
;
16804 resultobj
= SWIG_From_int((int)(result
));
16812 static PyObject
*_wrap_DC_MinY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16813 PyObject
*resultobj
;
16814 wxDC
*arg1
= (wxDC
*) 0 ;
16816 PyObject
* obj0
= 0 ;
16817 char *kwnames
[] = {
16818 (char *) "self", NULL
16821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
16822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16823 if (SWIG_arg_fail(1)) SWIG_fail
;
16825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16826 result
= (int)((wxDC
const *)arg1
)->MinY();
16828 wxPyEndAllowThreads(__tstate
);
16829 if (PyErr_Occurred()) SWIG_fail
;
16832 resultobj
= SWIG_From_int((int)(result
));
16840 static PyObject
*_wrap_DC_MaxY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16841 PyObject
*resultobj
;
16842 wxDC
*arg1
= (wxDC
*) 0 ;
16844 PyObject
* obj0
= 0 ;
16845 char *kwnames
[] = {
16846 (char *) "self", NULL
16849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
16850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16851 if (SWIG_arg_fail(1)) SWIG_fail
;
16853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16854 result
= (int)((wxDC
const *)arg1
)->MaxY();
16856 wxPyEndAllowThreads(__tstate
);
16857 if (PyErr_Occurred()) SWIG_fail
;
16860 resultobj
= SWIG_From_int((int)(result
));
16868 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16869 PyObject
*resultobj
;
16870 wxDC
*arg1
= (wxDC
*) 0 ;
16871 int *arg2
= (int *) 0 ;
16872 int *arg3
= (int *) 0 ;
16873 int *arg4
= (int *) 0 ;
16874 int *arg5
= (int *) 0 ;
16883 PyObject
* obj0
= 0 ;
16884 char *kwnames
[] = {
16885 (char *) "self", NULL
16888 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16889 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16890 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
16891 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
16892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
16893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16894 if (SWIG_arg_fail(1)) SWIG_fail
;
16896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16897 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
16899 wxPyEndAllowThreads(__tstate
);
16900 if (PyErr_Occurred()) SWIG_fail
;
16902 Py_INCREF(Py_None
); resultobj
= Py_None
;
16903 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16904 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16905 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16906 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16907 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
16908 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
16909 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
16910 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
16917 static PyObject
*_wrap_DC__DrawPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16918 PyObject
*resultobj
;
16919 wxDC
*arg1
= (wxDC
*) 0 ;
16920 PyObject
*arg2
= (PyObject
*) 0 ;
16921 PyObject
*arg3
= (PyObject
*) 0 ;
16922 PyObject
*arg4
= (PyObject
*) 0 ;
16924 PyObject
* obj0
= 0 ;
16925 PyObject
* obj1
= 0 ;
16926 PyObject
* obj2
= 0 ;
16927 PyObject
* obj3
= 0 ;
16928 char *kwnames
[] = {
16929 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
16932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16934 if (SWIG_arg_fail(1)) SWIG_fail
;
16939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16940 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
16942 wxPyEndAllowThreads(__tstate
);
16943 if (PyErr_Occurred()) SWIG_fail
;
16945 resultobj
= result
;
16952 static PyObject
*_wrap_DC__DrawLineList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16953 PyObject
*resultobj
;
16954 wxDC
*arg1
= (wxDC
*) 0 ;
16955 PyObject
*arg2
= (PyObject
*) 0 ;
16956 PyObject
*arg3
= (PyObject
*) 0 ;
16957 PyObject
*arg4
= (PyObject
*) 0 ;
16959 PyObject
* obj0
= 0 ;
16960 PyObject
* obj1
= 0 ;
16961 PyObject
* obj2
= 0 ;
16962 PyObject
* obj3
= 0 ;
16963 char *kwnames
[] = {
16964 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
16967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16969 if (SWIG_arg_fail(1)) SWIG_fail
;
16974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16975 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
16977 wxPyEndAllowThreads(__tstate
);
16978 if (PyErr_Occurred()) SWIG_fail
;
16980 resultobj
= result
;
16987 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16988 PyObject
*resultobj
;
16989 wxDC
*arg1
= (wxDC
*) 0 ;
16990 PyObject
*arg2
= (PyObject
*) 0 ;
16991 PyObject
*arg3
= (PyObject
*) 0 ;
16992 PyObject
*arg4
= (PyObject
*) 0 ;
16994 PyObject
* obj0
= 0 ;
16995 PyObject
* obj1
= 0 ;
16996 PyObject
* obj2
= 0 ;
16997 PyObject
* obj3
= 0 ;
16998 char *kwnames
[] = {
16999 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17004 if (SWIG_arg_fail(1)) SWIG_fail
;
17009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17010 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
17012 wxPyEndAllowThreads(__tstate
);
17013 if (PyErr_Occurred()) SWIG_fail
;
17015 resultobj
= result
;
17022 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17023 PyObject
*resultobj
;
17024 wxDC
*arg1
= (wxDC
*) 0 ;
17025 PyObject
*arg2
= (PyObject
*) 0 ;
17026 PyObject
*arg3
= (PyObject
*) 0 ;
17027 PyObject
*arg4
= (PyObject
*) 0 ;
17029 PyObject
* obj0
= 0 ;
17030 PyObject
* obj1
= 0 ;
17031 PyObject
* obj2
= 0 ;
17032 PyObject
* obj3
= 0 ;
17033 char *kwnames
[] = {
17034 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17039 if (SWIG_arg_fail(1)) SWIG_fail
;
17044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17045 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
17047 wxPyEndAllowThreads(__tstate
);
17048 if (PyErr_Occurred()) SWIG_fail
;
17050 resultobj
= result
;
17057 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17058 PyObject
*resultobj
;
17059 wxDC
*arg1
= (wxDC
*) 0 ;
17060 PyObject
*arg2
= (PyObject
*) 0 ;
17061 PyObject
*arg3
= (PyObject
*) 0 ;
17062 PyObject
*arg4
= (PyObject
*) 0 ;
17064 PyObject
* obj0
= 0 ;
17065 PyObject
* obj1
= 0 ;
17066 PyObject
* obj2
= 0 ;
17067 PyObject
* obj3
= 0 ;
17068 char *kwnames
[] = {
17069 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17074 if (SWIG_arg_fail(1)) SWIG_fail
;
17079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17080 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
17082 wxPyEndAllowThreads(__tstate
);
17083 if (PyErr_Occurred()) SWIG_fail
;
17085 resultobj
= result
;
17092 static PyObject
*_wrap_DC__DrawTextList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17093 PyObject
*resultobj
;
17094 wxDC
*arg1
= (wxDC
*) 0 ;
17095 PyObject
*arg2
= (PyObject
*) 0 ;
17096 PyObject
*arg3
= (PyObject
*) 0 ;
17097 PyObject
*arg4
= (PyObject
*) 0 ;
17098 PyObject
*arg5
= (PyObject
*) 0 ;
17100 PyObject
* obj0
= 0 ;
17101 PyObject
* obj1
= 0 ;
17102 PyObject
* obj2
= 0 ;
17103 PyObject
* obj3
= 0 ;
17104 PyObject
* obj4
= 0 ;
17105 char *kwnames
[] = {
17106 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
17109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17111 if (SWIG_arg_fail(1)) SWIG_fail
;
17117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17118 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
17120 wxPyEndAllowThreads(__tstate
);
17121 if (PyErr_Occurred()) SWIG_fail
;
17123 resultobj
= result
;
17130 static PyObject
* DC_swigregister(PyObject
*, PyObject
*args
) {
17132 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17133 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
17135 return Py_BuildValue((char *)"");
17137 static PyObject
*_wrap_new_MemoryDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17138 PyObject
*resultobj
;
17139 wxMemoryDC
*result
;
17140 char *kwnames
[] = {
17144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
17146 if (!wxPyCheckForApp()) SWIG_fail
;
17147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17148 result
= (wxMemoryDC
*)new wxMemoryDC();
17150 wxPyEndAllowThreads(__tstate
);
17151 if (PyErr_Occurred()) SWIG_fail
;
17153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
17160 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17161 PyObject
*resultobj
;
17162 wxDC
*arg1
= (wxDC
*) 0 ;
17163 wxMemoryDC
*result
;
17164 PyObject
* obj0
= 0 ;
17165 char *kwnames
[] = {
17166 (char *) "oldDC", NULL
17169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
17170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17171 if (SWIG_arg_fail(1)) SWIG_fail
;
17173 if (!wxPyCheckForApp()) SWIG_fail
;
17174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17175 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
17177 wxPyEndAllowThreads(__tstate
);
17178 if (PyErr_Occurred()) SWIG_fail
;
17180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
17187 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17188 PyObject
*resultobj
;
17189 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
17190 wxBitmap
*arg2
= 0 ;
17191 PyObject
* obj0
= 0 ;
17192 PyObject
* obj1
= 0 ;
17193 char *kwnames
[] = {
17194 (char *) "self",(char *) "bitmap", NULL
17197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
17198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
17199 if (SWIG_arg_fail(1)) SWIG_fail
;
17201 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
17202 if (SWIG_arg_fail(2)) SWIG_fail
;
17203 if (arg2
== NULL
) {
17204 SWIG_null_ref("wxBitmap");
17206 if (SWIG_arg_fail(2)) SWIG_fail
;
17209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17210 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
17212 wxPyEndAllowThreads(__tstate
);
17213 if (PyErr_Occurred()) SWIG_fail
;
17215 Py_INCREF(Py_None
); resultobj
= Py_None
;
17222 static PyObject
* MemoryDC_swigregister(PyObject
*, PyObject
*args
) {
17224 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17225 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
17227 return Py_BuildValue((char *)"");
17229 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*, PyObject
*args
) {
17230 PyObject
*resultobj
;
17231 wxDC
*arg1
= (wxDC
*) 0 ;
17232 wxBitmap
*arg2
= 0 ;
17233 wxBufferedDC
*result
;
17234 PyObject
* obj0
= 0 ;
17235 PyObject
* obj1
= 0 ;
17237 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
17238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17239 if (SWIG_arg_fail(1)) SWIG_fail
;
17241 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
17242 if (SWIG_arg_fail(2)) SWIG_fail
;
17243 if (arg2
== NULL
) {
17244 SWIG_null_ref("wxBitmap");
17246 if (SWIG_arg_fail(2)) SWIG_fail
;
17249 if (!wxPyCheckForApp()) SWIG_fail
;
17250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17251 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
17253 wxPyEndAllowThreads(__tstate
);
17254 if (PyErr_Occurred()) SWIG_fail
;
17256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
17263 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*, PyObject
*args
) {
17264 PyObject
*resultobj
;
17265 wxDC
*arg1
= (wxDC
*) 0 ;
17267 wxBufferedDC
*result
;
17269 PyObject
* obj0
= 0 ;
17270 PyObject
* obj1
= 0 ;
17272 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
17273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17274 if (SWIG_arg_fail(1)) SWIG_fail
;
17277 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17280 if (!wxPyCheckForApp()) SWIG_fail
;
17281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17282 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
17284 wxPyEndAllowThreads(__tstate
);
17285 if (PyErr_Occurred()) SWIG_fail
;
17287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
17294 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
17299 argc
= PyObject_Length(args
);
17300 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
17301 argv
[ii
] = PyTuple_GetItem(args
,ii
);
17307 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
17317 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
17325 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
17333 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
17342 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
17345 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
17350 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
17355 static PyObject
*_wrap_delete_BufferedDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17356 PyObject
*resultobj
;
17357 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
17358 PyObject
* obj0
= 0 ;
17359 char *kwnames
[] = {
17360 (char *) "self", NULL
17363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
17364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_EXCEPTION
| 0);
17365 if (SWIG_arg_fail(1)) SWIG_fail
;
17367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17370 wxPyEndAllowThreads(__tstate
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17373 Py_INCREF(Py_None
); resultobj
= Py_None
;
17380 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17381 PyObject
*resultobj
;
17382 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
17383 PyObject
* obj0
= 0 ;
17384 char *kwnames
[] = {
17385 (char *) "self", NULL
17388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
17389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_EXCEPTION
| 0);
17390 if (SWIG_arg_fail(1)) SWIG_fail
;
17392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17395 wxPyEndAllowThreads(__tstate
);
17396 if (PyErr_Occurred()) SWIG_fail
;
17398 Py_INCREF(Py_None
); resultobj
= Py_None
;
17405 static PyObject
* BufferedDC_swigregister(PyObject
*, PyObject
*args
) {
17407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17408 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
17410 return Py_BuildValue((char *)"");
17412 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17413 PyObject
*resultobj
;
17414 wxWindow
*arg1
= (wxWindow
*) 0 ;
17415 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
17416 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
17417 wxBufferedPaintDC
*result
;
17418 PyObject
* obj0
= 0 ;
17419 PyObject
* obj1
= 0 ;
17420 char *kwnames
[] = {
17421 (char *) "window",(char *) "buffer", NULL
17424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
17425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17426 if (SWIG_arg_fail(1)) SWIG_fail
;
17429 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
17430 if (SWIG_arg_fail(2)) SWIG_fail
;
17431 if (arg2
== NULL
) {
17432 SWIG_null_ref("wxBitmap");
17434 if (SWIG_arg_fail(2)) SWIG_fail
;
17438 if (!wxPyCheckForApp()) SWIG_fail
;
17439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17440 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
17442 wxPyEndAllowThreads(__tstate
);
17443 if (PyErr_Occurred()) SWIG_fail
;
17445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
17452 static PyObject
* BufferedPaintDC_swigregister(PyObject
*, PyObject
*args
) {
17454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17455 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
17457 return Py_BuildValue((char *)"");
17459 static PyObject
*_wrap_new_ScreenDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17460 PyObject
*resultobj
;
17461 wxScreenDC
*result
;
17462 char *kwnames
[] = {
17466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
17468 if (!wxPyCheckForApp()) SWIG_fail
;
17469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17470 result
= (wxScreenDC
*)new wxScreenDC();
17472 wxPyEndAllowThreads(__tstate
);
17473 if (PyErr_Occurred()) SWIG_fail
;
17475 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
17482 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17483 PyObject
*resultobj
;
17484 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
17485 wxWindow
*arg2
= (wxWindow
*) 0 ;
17487 PyObject
* obj0
= 0 ;
17488 PyObject
* obj1
= 0 ;
17489 char *kwnames
[] = {
17490 (char *) "self",(char *) "window", NULL
17493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
17494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
17495 if (SWIG_arg_fail(1)) SWIG_fail
;
17496 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17497 if (SWIG_arg_fail(2)) SWIG_fail
;
17499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17500 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
17502 wxPyEndAllowThreads(__tstate
);
17503 if (PyErr_Occurred()) SWIG_fail
;
17506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17514 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17515 PyObject
*resultobj
;
17516 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
17517 wxRect
*arg2
= (wxRect
*) NULL
;
17519 PyObject
* obj0
= 0 ;
17520 PyObject
* obj1
= 0 ;
17521 char *kwnames
[] = {
17522 (char *) "self",(char *) "rect", NULL
17525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
17526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
17527 if (SWIG_arg_fail(1)) SWIG_fail
;
17529 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
17530 if (SWIG_arg_fail(2)) SWIG_fail
;
17533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17534 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
17536 wxPyEndAllowThreads(__tstate
);
17537 if (PyErr_Occurred()) SWIG_fail
;
17540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17548 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17549 PyObject
*resultobj
;
17550 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
17552 PyObject
* obj0
= 0 ;
17553 char *kwnames
[] = {
17554 (char *) "self", NULL
17557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
17558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
17559 if (SWIG_arg_fail(1)) SWIG_fail
;
17561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17562 result
= (bool)(arg1
)->EndDrawingOnTop();
17564 wxPyEndAllowThreads(__tstate
);
17565 if (PyErr_Occurred()) SWIG_fail
;
17568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17576 static PyObject
* ScreenDC_swigregister(PyObject
*, PyObject
*args
) {
17578 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17579 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
17581 return Py_BuildValue((char *)"");
17583 static PyObject
*_wrap_new_ClientDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17584 PyObject
*resultobj
;
17585 wxWindow
*arg1
= (wxWindow
*) 0 ;
17586 wxClientDC
*result
;
17587 PyObject
* obj0
= 0 ;
17588 char *kwnames
[] = {
17589 (char *) "win", NULL
17592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
17593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17594 if (SWIG_arg_fail(1)) SWIG_fail
;
17596 if (!wxPyCheckForApp()) SWIG_fail
;
17597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17598 result
= (wxClientDC
*)new wxClientDC(arg1
);
17600 wxPyEndAllowThreads(__tstate
);
17601 if (PyErr_Occurred()) SWIG_fail
;
17603 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
17610 static PyObject
* ClientDC_swigregister(PyObject
*, PyObject
*args
) {
17612 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17613 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
17615 return Py_BuildValue((char *)"");
17617 static PyObject
*_wrap_new_PaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17618 PyObject
*resultobj
;
17619 wxWindow
*arg1
= (wxWindow
*) 0 ;
17621 PyObject
* obj0
= 0 ;
17622 char *kwnames
[] = {
17623 (char *) "win", NULL
17626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
17627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17628 if (SWIG_arg_fail(1)) SWIG_fail
;
17630 if (!wxPyCheckForApp()) SWIG_fail
;
17631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17632 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
17634 wxPyEndAllowThreads(__tstate
);
17635 if (PyErr_Occurred()) SWIG_fail
;
17637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
17644 static PyObject
* PaintDC_swigregister(PyObject
*, PyObject
*args
) {
17646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17647 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
17649 return Py_BuildValue((char *)"");
17651 static PyObject
*_wrap_new_WindowDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17652 PyObject
*resultobj
;
17653 wxWindow
*arg1
= (wxWindow
*) 0 ;
17654 wxWindowDC
*result
;
17655 PyObject
* obj0
= 0 ;
17656 char *kwnames
[] = {
17657 (char *) "win", NULL
17660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
17661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17662 if (SWIG_arg_fail(1)) SWIG_fail
;
17664 if (!wxPyCheckForApp()) SWIG_fail
;
17665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17666 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
17668 wxPyEndAllowThreads(__tstate
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
17678 static PyObject
* WindowDC_swigregister(PyObject
*, PyObject
*args
) {
17680 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17681 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
17683 return Py_BuildValue((char *)"");
17685 static PyObject
*_wrap_new_MirrorDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17686 PyObject
*resultobj
;
17689 wxMirrorDC
*result
;
17690 PyObject
* obj0
= 0 ;
17691 PyObject
* obj1
= 0 ;
17692 char *kwnames
[] = {
17693 (char *) "dc",(char *) "mirror", NULL
17696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
17698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17699 if (SWIG_arg_fail(1)) SWIG_fail
;
17700 if (arg1
== NULL
) {
17701 SWIG_null_ref("wxDC");
17703 if (SWIG_arg_fail(1)) SWIG_fail
;
17706 arg2
= (bool)(SWIG_As_bool(obj1
));
17707 if (SWIG_arg_fail(2)) SWIG_fail
;
17710 if (!wxPyCheckForApp()) SWIG_fail
;
17711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17712 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
17714 wxPyEndAllowThreads(__tstate
);
17715 if (PyErr_Occurred()) SWIG_fail
;
17717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
17724 static PyObject
* MirrorDC_swigregister(PyObject
*, PyObject
*args
) {
17726 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17727 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
17729 return Py_BuildValue((char *)"");
17731 static PyObject
*_wrap_new_PostScriptDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17732 PyObject
*resultobj
;
17733 wxPrintData
*arg1
= 0 ;
17734 wxPostScriptDC
*result
;
17735 PyObject
* obj0
= 0 ;
17736 char *kwnames
[] = {
17737 (char *) "printData", NULL
17740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
17742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
17743 if (SWIG_arg_fail(1)) SWIG_fail
;
17744 if (arg1
== NULL
) {
17745 SWIG_null_ref("wxPrintData");
17747 if (SWIG_arg_fail(1)) SWIG_fail
;
17750 if (!wxPyCheckForApp()) SWIG_fail
;
17751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17752 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
17754 wxPyEndAllowThreads(__tstate
);
17755 if (PyErr_Occurred()) SWIG_fail
;
17757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
17764 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17765 PyObject
*resultobj
;
17766 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
17767 wxPrintData
*result
;
17768 PyObject
* obj0
= 0 ;
17769 char *kwnames
[] = {
17770 (char *) "self", NULL
17773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
17774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_EXCEPTION
| 0);
17775 if (SWIG_arg_fail(1)) SWIG_fail
;
17777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17779 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
17780 result
= (wxPrintData
*) &_result_ref
;
17783 wxPyEndAllowThreads(__tstate
);
17784 if (PyErr_Occurred()) SWIG_fail
;
17786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
17793 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17794 PyObject
*resultobj
;
17795 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
17796 wxPrintData
*arg2
= 0 ;
17797 PyObject
* obj0
= 0 ;
17798 PyObject
* obj1
= 0 ;
17799 char *kwnames
[] = {
17800 (char *) "self",(char *) "data", NULL
17803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
17804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_EXCEPTION
| 0);
17805 if (SWIG_arg_fail(1)) SWIG_fail
;
17807 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
17808 if (SWIG_arg_fail(2)) SWIG_fail
;
17809 if (arg2
== NULL
) {
17810 SWIG_null_ref("wxPrintData");
17812 if (SWIG_arg_fail(2)) SWIG_fail
;
17815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17816 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
17818 wxPyEndAllowThreads(__tstate
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17821 Py_INCREF(Py_None
); resultobj
= Py_None
;
17828 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17829 PyObject
*resultobj
;
17831 PyObject
* obj0
= 0 ;
17832 char *kwnames
[] = {
17833 (char *) "ppi", NULL
17836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
17838 arg1
= (int)(SWIG_As_int(obj0
));
17839 if (SWIG_arg_fail(1)) SWIG_fail
;
17842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17843 wxPostScriptDC::SetResolution(arg1
);
17845 wxPyEndAllowThreads(__tstate
);
17846 if (PyErr_Occurred()) SWIG_fail
;
17848 Py_INCREF(Py_None
); resultobj
= Py_None
;
17855 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17856 PyObject
*resultobj
;
17858 char *kwnames
[] = {
17862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
17864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17865 result
= (int)wxPostScriptDC::GetResolution();
17867 wxPyEndAllowThreads(__tstate
);
17868 if (PyErr_Occurred()) SWIG_fail
;
17871 resultobj
= SWIG_From_int((int)(result
));
17879 static PyObject
* PostScriptDC_swigregister(PyObject
*, PyObject
*args
) {
17881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17882 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
17884 return Py_BuildValue((char *)"");
17886 static PyObject
*_wrap_new_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17887 PyObject
*resultobj
;
17888 wxString
const &arg1_defvalue
= wxPyEmptyString
;
17889 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
17890 wxMetaFile
*result
;
17891 bool temp1
= false ;
17892 PyObject
* obj0
= 0 ;
17893 char *kwnames
[] = {
17894 (char *) "filename", NULL
17897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
17900 arg1
= wxString_in_helper(obj0
);
17901 if (arg1
== NULL
) SWIG_fail
;
17906 if (!wxPyCheckForApp()) SWIG_fail
;
17907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17908 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
17910 wxPyEndAllowThreads(__tstate
);
17911 if (PyErr_Occurred()) SWIG_fail
;
17913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
17928 static PyObject
*_wrap_delete_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17929 PyObject
*resultobj
;
17930 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
17931 PyObject
* obj0
= 0 ;
17932 char *kwnames
[] = {
17933 (char *) "self", NULL
17936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
17937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
17938 if (SWIG_arg_fail(1)) SWIG_fail
;
17940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17943 wxPyEndAllowThreads(__tstate
);
17944 if (PyErr_Occurred()) SWIG_fail
;
17946 Py_INCREF(Py_None
); resultobj
= Py_None
;
17953 static PyObject
*_wrap_MetaFile_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17954 PyObject
*resultobj
;
17955 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
17957 PyObject
* obj0
= 0 ;
17958 char *kwnames
[] = {
17959 (char *) "self", NULL
17962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
17963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
17964 if (SWIG_arg_fail(1)) SWIG_fail
;
17966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17967 result
= (bool)(arg1
)->Ok();
17969 wxPyEndAllowThreads(__tstate
);
17970 if (PyErr_Occurred()) SWIG_fail
;
17973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17981 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17982 PyObject
*resultobj
;
17983 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
17984 int arg2
= (int) 0 ;
17985 int arg3
= (int) 0 ;
17987 PyObject
* obj0
= 0 ;
17988 PyObject
* obj1
= 0 ;
17989 PyObject
* obj2
= 0 ;
17990 char *kwnames
[] = {
17991 (char *) "self",(char *) "width",(char *) "height", NULL
17994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
17996 if (SWIG_arg_fail(1)) SWIG_fail
;
17999 arg2
= (int)(SWIG_As_int(obj1
));
18000 if (SWIG_arg_fail(2)) SWIG_fail
;
18005 arg3
= (int)(SWIG_As_int(obj2
));
18006 if (SWIG_arg_fail(3)) SWIG_fail
;
18010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18011 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
18013 wxPyEndAllowThreads(__tstate
);
18014 if (PyErr_Occurred()) SWIG_fail
;
18017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18025 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18026 PyObject
*resultobj
;
18027 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18029 PyObject
* obj0
= 0 ;
18030 char *kwnames
[] = {
18031 (char *) "self", NULL
18034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
18035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18036 if (SWIG_arg_fail(1)) SWIG_fail
;
18038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18039 result
= (arg1
)->GetSize();
18041 wxPyEndAllowThreads(__tstate
);
18042 if (PyErr_Occurred()) SWIG_fail
;
18045 wxSize
* resultptr
;
18046 resultptr
= new wxSize((wxSize
&)(result
));
18047 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18055 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18056 PyObject
*resultobj
;
18057 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18059 PyObject
* obj0
= 0 ;
18060 char *kwnames
[] = {
18061 (char *) "self", NULL
18064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
18065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18066 if (SWIG_arg_fail(1)) SWIG_fail
;
18068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18069 result
= (int)(arg1
)->GetWidth();
18071 wxPyEndAllowThreads(__tstate
);
18072 if (PyErr_Occurred()) SWIG_fail
;
18075 resultobj
= SWIG_From_int((int)(result
));
18083 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18084 PyObject
*resultobj
;
18085 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18087 PyObject
* obj0
= 0 ;
18088 char *kwnames
[] = {
18089 (char *) "self", NULL
18092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
18093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18094 if (SWIG_arg_fail(1)) SWIG_fail
;
18096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18097 result
= (int)(arg1
)->GetHeight();
18099 wxPyEndAllowThreads(__tstate
);
18100 if (PyErr_Occurred()) SWIG_fail
;
18103 resultobj
= SWIG_From_int((int)(result
));
18111 static PyObject
* MetaFile_swigregister(PyObject
*, PyObject
*args
) {
18113 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18114 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
18116 return Py_BuildValue((char *)"");
18118 static PyObject
*_wrap_new_MetaFileDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18119 PyObject
*resultobj
;
18120 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18121 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18122 int arg2
= (int) 0 ;
18123 int arg3
= (int) 0 ;
18124 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18125 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18126 wxMetaFileDC
*result
;
18127 bool temp1
= false ;
18128 bool temp4
= false ;
18129 PyObject
* obj0
= 0 ;
18130 PyObject
* obj1
= 0 ;
18131 PyObject
* obj2
= 0 ;
18132 PyObject
* obj3
= 0 ;
18133 char *kwnames
[] = {
18134 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
18137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18140 arg1
= wxString_in_helper(obj0
);
18141 if (arg1
== NULL
) SWIG_fail
;
18147 arg2
= (int)(SWIG_As_int(obj1
));
18148 if (SWIG_arg_fail(2)) SWIG_fail
;
18153 arg3
= (int)(SWIG_As_int(obj2
));
18154 if (SWIG_arg_fail(3)) SWIG_fail
;
18159 arg4
= wxString_in_helper(obj3
);
18160 if (arg4
== NULL
) SWIG_fail
;
18165 if (!wxPyCheckForApp()) SWIG_fail
;
18166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18167 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
18169 wxPyEndAllowThreads(__tstate
);
18170 if (PyErr_Occurred()) SWIG_fail
;
18172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
18195 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18196 PyObject
*resultobj
;
18197 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
18198 wxMetaFile
*result
;
18199 PyObject
* obj0
= 0 ;
18200 char *kwnames
[] = {
18201 (char *) "self", NULL
18204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
18205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_EXCEPTION
| 0);
18206 if (SWIG_arg_fail(1)) SWIG_fail
;
18208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18209 result
= (wxMetaFile
*)(arg1
)->Close();
18211 wxPyEndAllowThreads(__tstate
);
18212 if (PyErr_Occurred()) SWIG_fail
;
18214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
18221 static PyObject
* MetaFileDC_swigregister(PyObject
*, PyObject
*args
) {
18223 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18224 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
18226 return Py_BuildValue((char *)"");
18228 static PyObject
*_wrap_new_PrinterDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18229 PyObject
*resultobj
;
18230 wxPrintData
*arg1
= 0 ;
18231 wxPrinterDC
*result
;
18232 PyObject
* obj0
= 0 ;
18233 char *kwnames
[] = {
18234 (char *) "printData", NULL
18237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
18239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
18240 if (SWIG_arg_fail(1)) SWIG_fail
;
18241 if (arg1
== NULL
) {
18242 SWIG_null_ref("wxPrintData");
18244 if (SWIG_arg_fail(1)) SWIG_fail
;
18247 if (!wxPyCheckForApp()) SWIG_fail
;
18248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18249 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
18251 wxPyEndAllowThreads(__tstate
);
18252 if (PyErr_Occurred()) SWIG_fail
;
18254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
18261 static PyObject
* PrinterDC_swigregister(PyObject
*, PyObject
*args
) {
18263 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18264 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
18266 return Py_BuildValue((char *)"");
18268 static PyObject
*_wrap_new_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18269 PyObject
*resultobj
;
18272 int arg3
= (int) true ;
18273 int arg4
= (int) 1 ;
18274 wxImageList
*result
;
18275 PyObject
* obj0
= 0 ;
18276 PyObject
* obj1
= 0 ;
18277 PyObject
* obj2
= 0 ;
18278 PyObject
* obj3
= 0 ;
18279 char *kwnames
[] = {
18280 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
18283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18285 arg1
= (int)(SWIG_As_int(obj0
));
18286 if (SWIG_arg_fail(1)) SWIG_fail
;
18289 arg2
= (int)(SWIG_As_int(obj1
));
18290 if (SWIG_arg_fail(2)) SWIG_fail
;
18294 arg3
= (int)(SWIG_As_int(obj2
));
18295 if (SWIG_arg_fail(3)) SWIG_fail
;
18300 arg4
= (int)(SWIG_As_int(obj3
));
18301 if (SWIG_arg_fail(4)) SWIG_fail
;
18305 if (!wxPyCheckForApp()) SWIG_fail
;
18306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18307 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
18309 wxPyEndAllowThreads(__tstate
);
18310 if (PyErr_Occurred()) SWIG_fail
;
18313 resultobj
= wxPyMake_wxObject(result
, 1);
18321 static PyObject
*_wrap_delete_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18322 PyObject
*resultobj
;
18323 wxImageList
*arg1
= (wxImageList
*) 0 ;
18324 PyObject
* obj0
= 0 ;
18325 char *kwnames
[] = {
18326 (char *) "self", NULL
18329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
18330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18331 if (SWIG_arg_fail(1)) SWIG_fail
;
18333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18336 wxPyEndAllowThreads(__tstate
);
18337 if (PyErr_Occurred()) SWIG_fail
;
18339 Py_INCREF(Py_None
); resultobj
= Py_None
;
18346 static PyObject
*_wrap_ImageList_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18347 PyObject
*resultobj
;
18348 wxImageList
*arg1
= (wxImageList
*) 0 ;
18349 wxBitmap
*arg2
= 0 ;
18350 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
18351 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
18353 PyObject
* obj0
= 0 ;
18354 PyObject
* obj1
= 0 ;
18355 PyObject
* obj2
= 0 ;
18356 char *kwnames
[] = {
18357 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
18360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18362 if (SWIG_arg_fail(1)) SWIG_fail
;
18364 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18365 if (SWIG_arg_fail(2)) SWIG_fail
;
18366 if (arg2
== NULL
) {
18367 SWIG_null_ref("wxBitmap");
18369 if (SWIG_arg_fail(2)) SWIG_fail
;
18373 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18374 if (SWIG_arg_fail(3)) SWIG_fail
;
18375 if (arg3
== NULL
) {
18376 SWIG_null_ref("wxBitmap");
18378 if (SWIG_arg_fail(3)) SWIG_fail
;
18382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18383 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
18385 wxPyEndAllowThreads(__tstate
);
18386 if (PyErr_Occurred()) SWIG_fail
;
18389 resultobj
= SWIG_From_int((int)(result
));
18397 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18398 PyObject
*resultobj
;
18399 wxImageList
*arg1
= (wxImageList
*) 0 ;
18400 wxBitmap
*arg2
= 0 ;
18401 wxColour
*arg3
= 0 ;
18404 PyObject
* obj0
= 0 ;
18405 PyObject
* obj1
= 0 ;
18406 PyObject
* obj2
= 0 ;
18407 char *kwnames
[] = {
18408 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
18411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18413 if (SWIG_arg_fail(1)) SWIG_fail
;
18415 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18416 if (SWIG_arg_fail(2)) SWIG_fail
;
18417 if (arg2
== NULL
) {
18418 SWIG_null_ref("wxBitmap");
18420 if (SWIG_arg_fail(2)) SWIG_fail
;
18424 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18428 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
18430 wxPyEndAllowThreads(__tstate
);
18431 if (PyErr_Occurred()) SWIG_fail
;
18434 resultobj
= SWIG_From_int((int)(result
));
18442 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18443 PyObject
*resultobj
;
18444 wxImageList
*arg1
= (wxImageList
*) 0 ;
18447 PyObject
* obj0
= 0 ;
18448 PyObject
* obj1
= 0 ;
18449 char *kwnames
[] = {
18450 (char *) "self",(char *) "icon", NULL
18453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
18454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18455 if (SWIG_arg_fail(1)) SWIG_fail
;
18457 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
18458 if (SWIG_arg_fail(2)) SWIG_fail
;
18459 if (arg2
== NULL
) {
18460 SWIG_null_ref("wxIcon");
18462 if (SWIG_arg_fail(2)) SWIG_fail
;
18465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18466 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
18468 wxPyEndAllowThreads(__tstate
);
18469 if (PyErr_Occurred()) SWIG_fail
;
18472 resultobj
= SWIG_From_int((int)(result
));
18480 static PyObject
*_wrap_ImageList_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18481 PyObject
*resultobj
;
18482 wxImageList
*arg1
= (wxImageList
*) 0 ;
18484 wxBitmap
*arg3
= 0 ;
18486 PyObject
* obj0
= 0 ;
18487 PyObject
* obj1
= 0 ;
18488 PyObject
* obj2
= 0 ;
18489 char *kwnames
[] = {
18490 (char *) "self",(char *) "index",(char *) "bitmap", NULL
18493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18495 if (SWIG_arg_fail(1)) SWIG_fail
;
18497 arg2
= (int)(SWIG_As_int(obj1
));
18498 if (SWIG_arg_fail(2)) SWIG_fail
;
18501 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18502 if (SWIG_arg_fail(3)) SWIG_fail
;
18503 if (arg3
== NULL
) {
18504 SWIG_null_ref("wxBitmap");
18506 if (SWIG_arg_fail(3)) SWIG_fail
;
18509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18510 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
18512 wxPyEndAllowThreads(__tstate
);
18513 if (PyErr_Occurred()) SWIG_fail
;
18516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18524 static PyObject
*_wrap_ImageList_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18525 PyObject
*resultobj
;
18526 wxImageList
*arg1
= (wxImageList
*) 0 ;
18531 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
18532 bool arg7
= (bool) (bool)false ;
18534 PyObject
* obj0
= 0 ;
18535 PyObject
* obj1
= 0 ;
18536 PyObject
* obj2
= 0 ;
18537 PyObject
* obj3
= 0 ;
18538 PyObject
* obj4
= 0 ;
18539 PyObject
* obj5
= 0 ;
18540 PyObject
* obj6
= 0 ;
18541 char *kwnames
[] = {
18542 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
18545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18547 if (SWIG_arg_fail(1)) SWIG_fail
;
18549 arg2
= (int)(SWIG_As_int(obj1
));
18550 if (SWIG_arg_fail(2)) SWIG_fail
;
18553 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18554 if (SWIG_arg_fail(3)) SWIG_fail
;
18555 if (arg3
== NULL
) {
18556 SWIG_null_ref("wxDC");
18558 if (SWIG_arg_fail(3)) SWIG_fail
;
18561 arg4
= (int)(SWIG_As_int(obj3
));
18562 if (SWIG_arg_fail(4)) SWIG_fail
;
18565 arg5
= (int)(SWIG_As_int(obj4
));
18566 if (SWIG_arg_fail(5)) SWIG_fail
;
18570 arg6
= (int)(SWIG_As_int(obj5
));
18571 if (SWIG_arg_fail(6)) SWIG_fail
;
18576 arg7
= (bool const)(SWIG_As_bool(obj6
));
18577 if (SWIG_arg_fail(7)) SWIG_fail
;
18581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18582 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
18584 wxPyEndAllowThreads(__tstate
);
18585 if (PyErr_Occurred()) SWIG_fail
;
18588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18596 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18597 PyObject
*resultobj
;
18598 wxImageList
*arg1
= (wxImageList
*) 0 ;
18600 PyObject
* obj0
= 0 ;
18601 char *kwnames
[] = {
18602 (char *) "self", NULL
18605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
18606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18607 if (SWIG_arg_fail(1)) SWIG_fail
;
18609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18610 result
= (int)(arg1
)->GetImageCount();
18612 wxPyEndAllowThreads(__tstate
);
18613 if (PyErr_Occurred()) SWIG_fail
;
18616 resultobj
= SWIG_From_int((int)(result
));
18624 static PyObject
*_wrap_ImageList_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18625 PyObject
*resultobj
;
18626 wxImageList
*arg1
= (wxImageList
*) 0 ;
18629 PyObject
* obj0
= 0 ;
18630 PyObject
* obj1
= 0 ;
18631 char *kwnames
[] = {
18632 (char *) "self",(char *) "index", NULL
18635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
18636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18637 if (SWIG_arg_fail(1)) SWIG_fail
;
18639 arg2
= (int)(SWIG_As_int(obj1
));
18640 if (SWIG_arg_fail(2)) SWIG_fail
;
18643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18644 result
= (bool)(arg1
)->Remove(arg2
);
18646 wxPyEndAllowThreads(__tstate
);
18647 if (PyErr_Occurred()) SWIG_fail
;
18650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18658 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18659 PyObject
*resultobj
;
18660 wxImageList
*arg1
= (wxImageList
*) 0 ;
18662 PyObject
* obj0
= 0 ;
18663 char *kwnames
[] = {
18664 (char *) "self", NULL
18667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
18668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18669 if (SWIG_arg_fail(1)) SWIG_fail
;
18671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18672 result
= (bool)(arg1
)->RemoveAll();
18674 wxPyEndAllowThreads(__tstate
);
18675 if (PyErr_Occurred()) SWIG_fail
;
18678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18686 static PyObject
*_wrap_ImageList_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18687 PyObject
*resultobj
;
18688 wxImageList
*arg1
= (wxImageList
*) 0 ;
18696 PyObject
* obj0
= 0 ;
18697 PyObject
* obj1
= 0 ;
18698 char *kwnames
[] = {
18699 (char *) "self",(char *) "index", NULL
18702 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18703 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
18704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18706 if (SWIG_arg_fail(1)) SWIG_fail
;
18708 arg2
= (int)(SWIG_As_int(obj1
));
18709 if (SWIG_arg_fail(2)) SWIG_fail
;
18712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18713 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
18715 wxPyEndAllowThreads(__tstate
);
18716 if (PyErr_Occurred()) SWIG_fail
;
18718 Py_INCREF(Py_None
); resultobj
= Py_None
;
18719 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18720 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18721 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
18722 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
18729 static PyObject
* ImageList_swigregister(PyObject
*, PyObject
*args
) {
18731 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18732 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
18734 return Py_BuildValue((char *)"");
18736 static int _wrap_NORMAL_FONT_set(PyObject
*) {
18737 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
18742 static PyObject
*_wrap_NORMAL_FONT_get(void) {
18745 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
18750 static int _wrap_SMALL_FONT_set(PyObject
*) {
18751 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
18756 static PyObject
*_wrap_SMALL_FONT_get(void) {
18759 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
18764 static int _wrap_ITALIC_FONT_set(PyObject
*) {
18765 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
18770 static PyObject
*_wrap_ITALIC_FONT_get(void) {
18773 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
18778 static int _wrap_SWISS_FONT_set(PyObject
*) {
18779 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
18784 static PyObject
*_wrap_SWISS_FONT_get(void) {
18787 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
18792 static int _wrap_RED_PEN_set(PyObject
*) {
18793 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
18798 static PyObject
*_wrap_RED_PEN_get(void) {
18801 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
18806 static int _wrap_CYAN_PEN_set(PyObject
*) {
18807 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
18812 static PyObject
*_wrap_CYAN_PEN_get(void) {
18815 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
18820 static int _wrap_GREEN_PEN_set(PyObject
*) {
18821 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
18826 static PyObject
*_wrap_GREEN_PEN_get(void) {
18829 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
18834 static int _wrap_BLACK_PEN_set(PyObject
*) {
18835 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
18840 static PyObject
*_wrap_BLACK_PEN_get(void) {
18843 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
18848 static int _wrap_WHITE_PEN_set(PyObject
*) {
18849 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
18854 static PyObject
*_wrap_WHITE_PEN_get(void) {
18857 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
18862 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
18863 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
18868 static PyObject
*_wrap_TRANSPARENT_PEN_get(void) {
18871 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
18876 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
18877 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
18882 static PyObject
*_wrap_BLACK_DASHED_PEN_get(void) {
18885 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
18890 static int _wrap_GREY_PEN_set(PyObject
*) {
18891 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
18896 static PyObject
*_wrap_GREY_PEN_get(void) {
18899 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
18904 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
18905 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
18910 static PyObject
*_wrap_MEDIUM_GREY_PEN_get(void) {
18913 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
18918 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
18919 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
18924 static PyObject
*_wrap_LIGHT_GREY_PEN_get(void) {
18927 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
18932 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
18933 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
18938 static PyObject
*_wrap_BLUE_BRUSH_get(void) {
18941 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
18946 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
18947 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
18952 static PyObject
*_wrap_GREEN_BRUSH_get(void) {
18955 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
18960 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
18961 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
18966 static PyObject
*_wrap_WHITE_BRUSH_get(void) {
18969 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
18974 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
18975 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
18980 static PyObject
*_wrap_BLACK_BRUSH_get(void) {
18983 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
18988 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
18989 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
18994 static PyObject
*_wrap_TRANSPARENT_BRUSH_get(void) {
18997 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19002 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
19003 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
19008 static PyObject
*_wrap_CYAN_BRUSH_get(void) {
19011 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19016 static int _wrap_RED_BRUSH_set(PyObject
*) {
19017 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
19022 static PyObject
*_wrap_RED_BRUSH_get(void) {
19025 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19030 static int _wrap_GREY_BRUSH_set(PyObject
*) {
19031 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
19036 static PyObject
*_wrap_GREY_BRUSH_get(void) {
19039 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19044 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
19045 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
19050 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get(void) {
19053 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19058 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
19059 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
19064 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get(void) {
19067 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19072 static int _wrap_BLACK_set(PyObject
*) {
19073 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
19078 static PyObject
*_wrap_BLACK_get(void) {
19081 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
19086 static int _wrap_WHITE_set(PyObject
*) {
19087 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
19092 static PyObject
*_wrap_WHITE_get(void) {
19095 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
19100 static int _wrap_RED_set(PyObject
*) {
19101 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
19106 static PyObject
*_wrap_RED_get(void) {
19109 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
19114 static int _wrap_BLUE_set(PyObject
*) {
19115 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
19120 static PyObject
*_wrap_BLUE_get(void) {
19123 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
19128 static int _wrap_GREEN_set(PyObject
*) {
19129 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
19134 static PyObject
*_wrap_GREEN_get(void) {
19137 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
19142 static int _wrap_CYAN_set(PyObject
*) {
19143 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
19148 static PyObject
*_wrap_CYAN_get(void) {
19151 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
19156 static int _wrap_LIGHT_GREY_set(PyObject
*) {
19157 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
19162 static PyObject
*_wrap_LIGHT_GREY_get(void) {
19165 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
19170 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
19171 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
19176 static PyObject
*_wrap_STANDARD_CURSOR_get(void) {
19179 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
19184 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
19185 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
19190 static PyObject
*_wrap_HOURGLASS_CURSOR_get(void) {
19193 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
19198 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
19199 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
19204 static PyObject
*_wrap_CROSS_CURSOR_get(void) {
19207 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
19212 static int _wrap_NullBitmap_set(PyObject
*) {
19213 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
19218 static PyObject
*_wrap_NullBitmap_get(void) {
19221 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
19226 static int _wrap_NullIcon_set(PyObject
*) {
19227 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
19232 static PyObject
*_wrap_NullIcon_get(void) {
19235 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
19240 static int _wrap_NullCursor_set(PyObject
*) {
19241 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
19246 static PyObject
*_wrap_NullCursor_get(void) {
19249 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
19254 static int _wrap_NullPen_set(PyObject
*) {
19255 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
19260 static PyObject
*_wrap_NullPen_get(void) {
19263 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
19268 static int _wrap_NullBrush_set(PyObject
*) {
19269 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
19274 static PyObject
*_wrap_NullBrush_get(void) {
19277 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
19282 static int _wrap_NullPalette_set(PyObject
*) {
19283 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
19288 static PyObject
*_wrap_NullPalette_get(void) {
19291 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
19296 static int _wrap_NullFont_set(PyObject
*) {
19297 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
19302 static PyObject
*_wrap_NullFont_get(void) {
19305 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
19310 static int _wrap_NullColour_set(PyObject
*) {
19311 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
19316 static PyObject
*_wrap_NullColour_get(void) {
19319 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
19324 static PyObject
*_wrap_PenList_AddPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19325 PyObject
*resultobj
;
19326 wxPenList
*arg1
= (wxPenList
*) 0 ;
19327 wxPen
*arg2
= (wxPen
*) 0 ;
19328 PyObject
* obj0
= 0 ;
19329 PyObject
* obj1
= 0 ;
19330 char *kwnames
[] = {
19331 (char *) "self",(char *) "pen", NULL
19334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
19335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19336 if (SWIG_arg_fail(1)) SWIG_fail
;
19337 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
19338 if (SWIG_arg_fail(2)) SWIG_fail
;
19340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19341 (arg1
)->AddPen(arg2
);
19343 wxPyEndAllowThreads(__tstate
);
19344 if (PyErr_Occurred()) SWIG_fail
;
19346 Py_INCREF(Py_None
); resultobj
= Py_None
;
19353 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19354 PyObject
*resultobj
;
19355 wxPenList
*arg1
= (wxPenList
*) 0 ;
19356 wxColour
*arg2
= 0 ;
19361 PyObject
* obj0
= 0 ;
19362 PyObject
* obj1
= 0 ;
19363 PyObject
* obj2
= 0 ;
19364 PyObject
* obj3
= 0 ;
19365 char *kwnames
[] = {
19366 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
19369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19371 if (SWIG_arg_fail(1)) SWIG_fail
;
19374 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19377 arg3
= (int)(SWIG_As_int(obj2
));
19378 if (SWIG_arg_fail(3)) SWIG_fail
;
19381 arg4
= (int)(SWIG_As_int(obj3
));
19382 if (SWIG_arg_fail(4)) SWIG_fail
;
19385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19386 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
19388 wxPyEndAllowThreads(__tstate
);
19389 if (PyErr_Occurred()) SWIG_fail
;
19391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
19398 static PyObject
*_wrap_PenList_RemovePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19399 PyObject
*resultobj
;
19400 wxPenList
*arg1
= (wxPenList
*) 0 ;
19401 wxPen
*arg2
= (wxPen
*) 0 ;
19402 PyObject
* obj0
= 0 ;
19403 PyObject
* obj1
= 0 ;
19404 char *kwnames
[] = {
19405 (char *) "self",(char *) "pen", NULL
19408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
19409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19410 if (SWIG_arg_fail(1)) SWIG_fail
;
19411 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
19412 if (SWIG_arg_fail(2)) SWIG_fail
;
19414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19415 (arg1
)->RemovePen(arg2
);
19417 wxPyEndAllowThreads(__tstate
);
19418 if (PyErr_Occurred()) SWIG_fail
;
19420 Py_INCREF(Py_None
); resultobj
= Py_None
;
19427 static PyObject
*_wrap_PenList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19428 PyObject
*resultobj
;
19429 wxPenList
*arg1
= (wxPenList
*) 0 ;
19431 PyObject
* obj0
= 0 ;
19432 char *kwnames
[] = {
19433 (char *) "self", NULL
19436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
19437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19438 if (SWIG_arg_fail(1)) SWIG_fail
;
19440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19441 result
= (int)(arg1
)->GetCount();
19443 wxPyEndAllowThreads(__tstate
);
19444 if (PyErr_Occurred()) SWIG_fail
;
19447 resultobj
= SWIG_From_int((int)(result
));
19455 static PyObject
* PenList_swigregister(PyObject
*, PyObject
*args
) {
19457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19458 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
19460 return Py_BuildValue((char *)"");
19462 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19463 PyObject
*resultobj
;
19464 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19465 wxBrush
*arg2
= (wxBrush
*) 0 ;
19466 PyObject
* obj0
= 0 ;
19467 PyObject
* obj1
= 0 ;
19468 char *kwnames
[] = {
19469 (char *) "self",(char *) "brush", NULL
19472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
19473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19474 if (SWIG_arg_fail(1)) SWIG_fail
;
19475 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
19476 if (SWIG_arg_fail(2)) SWIG_fail
;
19478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19479 (arg1
)->AddBrush(arg2
);
19481 wxPyEndAllowThreads(__tstate
);
19482 if (PyErr_Occurred()) SWIG_fail
;
19484 Py_INCREF(Py_None
); resultobj
= Py_None
;
19491 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19492 PyObject
*resultobj
;
19493 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19494 wxColour
*arg2
= 0 ;
19498 PyObject
* obj0
= 0 ;
19499 PyObject
* obj1
= 0 ;
19500 PyObject
* obj2
= 0 ;
19501 char *kwnames
[] = {
19502 (char *) "self",(char *) "colour",(char *) "style", NULL
19505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19507 if (SWIG_arg_fail(1)) SWIG_fail
;
19510 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19513 arg3
= (int)(SWIG_As_int(obj2
));
19514 if (SWIG_arg_fail(3)) SWIG_fail
;
19517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19518 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
19520 wxPyEndAllowThreads(__tstate
);
19521 if (PyErr_Occurred()) SWIG_fail
;
19523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
19530 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19531 PyObject
*resultobj
;
19532 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19533 wxBrush
*arg2
= (wxBrush
*) 0 ;
19534 PyObject
* obj0
= 0 ;
19535 PyObject
* obj1
= 0 ;
19536 char *kwnames
[] = {
19537 (char *) "self",(char *) "brush", NULL
19540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
19541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19542 if (SWIG_arg_fail(1)) SWIG_fail
;
19543 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
19544 if (SWIG_arg_fail(2)) SWIG_fail
;
19546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19547 (arg1
)->RemoveBrush(arg2
);
19549 wxPyEndAllowThreads(__tstate
);
19550 if (PyErr_Occurred()) SWIG_fail
;
19552 Py_INCREF(Py_None
); resultobj
= Py_None
;
19559 static PyObject
*_wrap_BrushList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19560 PyObject
*resultobj
;
19561 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19563 PyObject
* obj0
= 0 ;
19564 char *kwnames
[] = {
19565 (char *) "self", NULL
19568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
19569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19570 if (SWIG_arg_fail(1)) SWIG_fail
;
19572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19573 result
= (int)(arg1
)->GetCount();
19575 wxPyEndAllowThreads(__tstate
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19579 resultobj
= SWIG_From_int((int)(result
));
19587 static PyObject
* BrushList_swigregister(PyObject
*, PyObject
*args
) {
19589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19590 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
19592 return Py_BuildValue((char *)"");
19594 static PyObject
*_wrap_new_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19595 PyObject
*resultobj
;
19596 wxColourDatabase
*result
;
19597 char *kwnames
[] = {
19601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
19603 if (!wxPyCheckForApp()) SWIG_fail
;
19604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19605 result
= (wxColourDatabase
*)new wxColourDatabase();
19607 wxPyEndAllowThreads(__tstate
);
19608 if (PyErr_Occurred()) SWIG_fail
;
19610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
19617 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19618 PyObject
*resultobj
;
19619 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19620 PyObject
* obj0
= 0 ;
19621 char *kwnames
[] = {
19622 (char *) "self", NULL
19625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
19626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19627 if (SWIG_arg_fail(1)) SWIG_fail
;
19629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19632 wxPyEndAllowThreads(__tstate
);
19633 if (PyErr_Occurred()) SWIG_fail
;
19635 Py_INCREF(Py_None
); resultobj
= Py_None
;
19642 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19643 PyObject
*resultobj
;
19644 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19645 wxString
*arg2
= 0 ;
19647 bool temp2
= false ;
19648 PyObject
* obj0
= 0 ;
19649 PyObject
* obj1
= 0 ;
19650 char *kwnames
[] = {
19651 (char *) "self",(char *) "name", NULL
19654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
19655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19656 if (SWIG_arg_fail(1)) SWIG_fail
;
19658 arg2
= wxString_in_helper(obj1
);
19659 if (arg2
== NULL
) SWIG_fail
;
19663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19664 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
19666 wxPyEndAllowThreads(__tstate
);
19667 if (PyErr_Occurred()) SWIG_fail
;
19670 wxColour
* resultptr
;
19671 resultptr
= new wxColour((wxColour
&)(result
));
19672 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19688 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19689 PyObject
*resultobj
;
19690 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19691 wxColour
*arg2
= 0 ;
19694 PyObject
* obj0
= 0 ;
19695 PyObject
* obj1
= 0 ;
19696 char *kwnames
[] = {
19697 (char *) "self",(char *) "colour", NULL
19700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
19701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19702 if (SWIG_arg_fail(1)) SWIG_fail
;
19705 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19709 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
19711 wxPyEndAllowThreads(__tstate
);
19712 if (PyErr_Occurred()) SWIG_fail
;
19716 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19718 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19727 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19728 PyObject
*resultobj
;
19729 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19730 wxString
*arg2
= 0 ;
19731 wxColour
*arg3
= 0 ;
19732 bool temp2
= false ;
19734 PyObject
* obj0
= 0 ;
19735 PyObject
* obj1
= 0 ;
19736 PyObject
* obj2
= 0 ;
19737 char *kwnames
[] = {
19738 (char *) "self",(char *) "name",(char *) "colour", NULL
19741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19743 if (SWIG_arg_fail(1)) SWIG_fail
;
19745 arg2
= wxString_in_helper(obj1
);
19746 if (arg2
== NULL
) SWIG_fail
;
19751 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19755 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
19757 wxPyEndAllowThreads(__tstate
);
19758 if (PyErr_Occurred()) SWIG_fail
;
19760 Py_INCREF(Py_None
); resultobj
= Py_None
;
19775 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19776 PyObject
*resultobj
;
19777 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19778 wxString
*arg2
= 0 ;
19782 bool temp2
= false ;
19783 PyObject
* obj0
= 0 ;
19784 PyObject
* obj1
= 0 ;
19785 PyObject
* obj2
= 0 ;
19786 PyObject
* obj3
= 0 ;
19787 PyObject
* obj4
= 0 ;
19788 char *kwnames
[] = {
19789 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
19792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19794 if (SWIG_arg_fail(1)) SWIG_fail
;
19796 arg2
= wxString_in_helper(obj1
);
19797 if (arg2
== NULL
) SWIG_fail
;
19801 arg3
= (int)(SWIG_As_int(obj2
));
19802 if (SWIG_arg_fail(3)) SWIG_fail
;
19805 arg4
= (int)(SWIG_As_int(obj3
));
19806 if (SWIG_arg_fail(4)) SWIG_fail
;
19809 arg5
= (int)(SWIG_As_int(obj4
));
19810 if (SWIG_arg_fail(5)) SWIG_fail
;
19813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19814 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19816 wxPyEndAllowThreads(__tstate
);
19817 if (PyErr_Occurred()) SWIG_fail
;
19819 Py_INCREF(Py_None
); resultobj
= Py_None
;
19834 static PyObject
* ColourDatabase_swigregister(PyObject
*, PyObject
*args
) {
19836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19837 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
19839 return Py_BuildValue((char *)"");
19841 static PyObject
*_wrap_FontList_AddFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19842 PyObject
*resultobj
;
19843 wxFontList
*arg1
= (wxFontList
*) 0 ;
19844 wxFont
*arg2
= (wxFont
*) 0 ;
19845 PyObject
* obj0
= 0 ;
19846 PyObject
* obj1
= 0 ;
19847 char *kwnames
[] = {
19848 (char *) "self",(char *) "font", NULL
19851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
19853 if (SWIG_arg_fail(1)) SWIG_fail
;
19854 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
19855 if (SWIG_arg_fail(2)) SWIG_fail
;
19857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19858 (arg1
)->AddFont(arg2
);
19860 wxPyEndAllowThreads(__tstate
);
19861 if (PyErr_Occurred()) SWIG_fail
;
19863 Py_INCREF(Py_None
); resultobj
= Py_None
;
19870 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19871 PyObject
*resultobj
;
19872 wxFontList
*arg1
= (wxFontList
*) 0 ;
19877 bool arg6
= (bool) false ;
19878 wxString
const &arg7_defvalue
= wxPyEmptyString
;
19879 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19880 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
19882 bool temp7
= false ;
19883 PyObject
* obj0
= 0 ;
19884 PyObject
* obj1
= 0 ;
19885 PyObject
* obj2
= 0 ;
19886 PyObject
* obj3
= 0 ;
19887 PyObject
* obj4
= 0 ;
19888 PyObject
* obj5
= 0 ;
19889 PyObject
* obj6
= 0 ;
19890 PyObject
* obj7
= 0 ;
19891 char *kwnames
[] = {
19892 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
19895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
19896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
19897 if (SWIG_arg_fail(1)) SWIG_fail
;
19899 arg2
= (int)(SWIG_As_int(obj1
));
19900 if (SWIG_arg_fail(2)) SWIG_fail
;
19903 arg3
= (int)(SWIG_As_int(obj2
));
19904 if (SWIG_arg_fail(3)) SWIG_fail
;
19907 arg4
= (int)(SWIG_As_int(obj3
));
19908 if (SWIG_arg_fail(4)) SWIG_fail
;
19911 arg5
= (int)(SWIG_As_int(obj4
));
19912 if (SWIG_arg_fail(5)) SWIG_fail
;
19916 arg6
= (bool)(SWIG_As_bool(obj5
));
19917 if (SWIG_arg_fail(6)) SWIG_fail
;
19922 arg7
= wxString_in_helper(obj6
);
19923 if (arg7
== NULL
) SWIG_fail
;
19929 arg8
= (wxFontEncoding
)(SWIG_As_int(obj7
));
19930 if (SWIG_arg_fail(8)) SWIG_fail
;
19934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19935 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
19937 wxPyEndAllowThreads(__tstate
);
19938 if (PyErr_Occurred()) SWIG_fail
;
19940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
19955 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19956 PyObject
*resultobj
;
19957 wxFontList
*arg1
= (wxFontList
*) 0 ;
19958 wxFont
*arg2
= (wxFont
*) 0 ;
19959 PyObject
* obj0
= 0 ;
19960 PyObject
* obj1
= 0 ;
19961 char *kwnames
[] = {
19962 (char *) "self",(char *) "font", NULL
19965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
19967 if (SWIG_arg_fail(1)) SWIG_fail
;
19968 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
19969 if (SWIG_arg_fail(2)) SWIG_fail
;
19971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19972 (arg1
)->RemoveFont(arg2
);
19974 wxPyEndAllowThreads(__tstate
);
19975 if (PyErr_Occurred()) SWIG_fail
;
19977 Py_INCREF(Py_None
); resultobj
= Py_None
;
19984 static PyObject
*_wrap_FontList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19985 PyObject
*resultobj
;
19986 wxFontList
*arg1
= (wxFontList
*) 0 ;
19988 PyObject
* obj0
= 0 ;
19989 char *kwnames
[] = {
19990 (char *) "self", NULL
19993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
19994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
19995 if (SWIG_arg_fail(1)) SWIG_fail
;
19997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19998 result
= (int)(arg1
)->GetCount();
20000 wxPyEndAllowThreads(__tstate
);
20001 if (PyErr_Occurred()) SWIG_fail
;
20004 resultobj
= SWIG_From_int((int)(result
));
20012 static PyObject
* FontList_swigregister(PyObject
*, PyObject
*args
) {
20014 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20015 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
20017 return Py_BuildValue((char *)"");
20019 static int _wrap_TheFontList_set(PyObject
*) {
20020 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
20025 static PyObject
*_wrap_TheFontList_get(void) {
20028 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
20033 static int _wrap_ThePenList_set(PyObject
*) {
20034 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
20039 static PyObject
*_wrap_ThePenList_get(void) {
20042 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
20047 static int _wrap_TheBrushList_set(PyObject
*) {
20048 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
20053 static PyObject
*_wrap_TheBrushList_get(void) {
20056 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
20061 static int _wrap_TheColourDatabase_set(PyObject
*) {
20062 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
20067 static PyObject
*_wrap_TheColourDatabase_get(void) {
20070 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
20075 static PyObject
*_wrap_new_Effects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20076 PyObject
*resultobj
;
20078 char *kwnames
[] = {
20082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
20084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20085 result
= (wxEffects
*)new wxEffects();
20087 wxPyEndAllowThreads(__tstate
);
20088 if (PyErr_Occurred()) SWIG_fail
;
20090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
20097 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20098 PyObject
*resultobj
;
20099 wxEffects
*arg1
= (wxEffects
*) 0 ;
20101 PyObject
* obj0
= 0 ;
20102 char *kwnames
[] = {
20103 (char *) "self", NULL
20106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
20107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20108 if (SWIG_arg_fail(1)) SWIG_fail
;
20110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20111 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
20113 wxPyEndAllowThreads(__tstate
);
20114 if (PyErr_Occurred()) SWIG_fail
;
20117 wxColour
* resultptr
;
20118 resultptr
= new wxColour((wxColour
&)(result
));
20119 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20127 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20128 PyObject
*resultobj
;
20129 wxEffects
*arg1
= (wxEffects
*) 0 ;
20131 PyObject
* obj0
= 0 ;
20132 char *kwnames
[] = {
20133 (char *) "self", NULL
20136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
20137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20138 if (SWIG_arg_fail(1)) SWIG_fail
;
20140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20141 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
20143 wxPyEndAllowThreads(__tstate
);
20144 if (PyErr_Occurred()) SWIG_fail
;
20147 wxColour
* resultptr
;
20148 resultptr
= new wxColour((wxColour
&)(result
));
20149 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20157 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20158 PyObject
*resultobj
;
20159 wxEffects
*arg1
= (wxEffects
*) 0 ;
20161 PyObject
* obj0
= 0 ;
20162 char *kwnames
[] = {
20163 (char *) "self", NULL
20166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
20167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20168 if (SWIG_arg_fail(1)) SWIG_fail
;
20170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20171 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
20173 wxPyEndAllowThreads(__tstate
);
20174 if (PyErr_Occurred()) SWIG_fail
;
20177 wxColour
* resultptr
;
20178 resultptr
= new wxColour((wxColour
&)(result
));
20179 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20187 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20188 PyObject
*resultobj
;
20189 wxEffects
*arg1
= (wxEffects
*) 0 ;
20191 PyObject
* obj0
= 0 ;
20192 char *kwnames
[] = {
20193 (char *) "self", NULL
20196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
20197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20198 if (SWIG_arg_fail(1)) SWIG_fail
;
20200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20201 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
20203 wxPyEndAllowThreads(__tstate
);
20204 if (PyErr_Occurred()) SWIG_fail
;
20207 wxColour
* resultptr
;
20208 resultptr
= new wxColour((wxColour
&)(result
));
20209 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20217 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20218 PyObject
*resultobj
;
20219 wxEffects
*arg1
= (wxEffects
*) 0 ;
20221 PyObject
* obj0
= 0 ;
20222 char *kwnames
[] = {
20223 (char *) "self", NULL
20226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
20227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20228 if (SWIG_arg_fail(1)) SWIG_fail
;
20230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20231 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
20233 wxPyEndAllowThreads(__tstate
);
20234 if (PyErr_Occurred()) SWIG_fail
;
20237 wxColour
* resultptr
;
20238 resultptr
= new wxColour((wxColour
&)(result
));
20239 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20247 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20248 PyObject
*resultobj
;
20249 wxEffects
*arg1
= (wxEffects
*) 0 ;
20250 wxColour
*arg2
= 0 ;
20252 PyObject
* obj0
= 0 ;
20253 PyObject
* obj1
= 0 ;
20254 char *kwnames
[] = {
20255 (char *) "self",(char *) "c", NULL
20258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20260 if (SWIG_arg_fail(1)) SWIG_fail
;
20263 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20267 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
20269 wxPyEndAllowThreads(__tstate
);
20270 if (PyErr_Occurred()) SWIG_fail
;
20272 Py_INCREF(Py_None
); resultobj
= Py_None
;
20279 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20280 PyObject
*resultobj
;
20281 wxEffects
*arg1
= (wxEffects
*) 0 ;
20282 wxColour
*arg2
= 0 ;
20284 PyObject
* obj0
= 0 ;
20285 PyObject
* obj1
= 0 ;
20286 char *kwnames
[] = {
20287 (char *) "self",(char *) "c", NULL
20290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
20291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20292 if (SWIG_arg_fail(1)) SWIG_fail
;
20295 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20299 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
20301 wxPyEndAllowThreads(__tstate
);
20302 if (PyErr_Occurred()) SWIG_fail
;
20304 Py_INCREF(Py_None
); resultobj
= Py_None
;
20311 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20312 PyObject
*resultobj
;
20313 wxEffects
*arg1
= (wxEffects
*) 0 ;
20314 wxColour
*arg2
= 0 ;
20316 PyObject
* obj0
= 0 ;
20317 PyObject
* obj1
= 0 ;
20318 char *kwnames
[] = {
20319 (char *) "self",(char *) "c", NULL
20322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20324 if (SWIG_arg_fail(1)) SWIG_fail
;
20327 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20331 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
20333 wxPyEndAllowThreads(__tstate
);
20334 if (PyErr_Occurred()) SWIG_fail
;
20336 Py_INCREF(Py_None
); resultobj
= Py_None
;
20343 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20344 PyObject
*resultobj
;
20345 wxEffects
*arg1
= (wxEffects
*) 0 ;
20346 wxColour
*arg2
= 0 ;
20348 PyObject
* obj0
= 0 ;
20349 PyObject
* obj1
= 0 ;
20350 char *kwnames
[] = {
20351 (char *) "self",(char *) "c", NULL
20354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
20355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20356 if (SWIG_arg_fail(1)) SWIG_fail
;
20359 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20363 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
20365 wxPyEndAllowThreads(__tstate
);
20366 if (PyErr_Occurred()) SWIG_fail
;
20368 Py_INCREF(Py_None
); resultobj
= Py_None
;
20375 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20376 PyObject
*resultobj
;
20377 wxEffects
*arg1
= (wxEffects
*) 0 ;
20378 wxColour
*arg2
= 0 ;
20380 PyObject
* obj0
= 0 ;
20381 PyObject
* obj1
= 0 ;
20382 char *kwnames
[] = {
20383 (char *) "self",(char *) "c", NULL
20386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
20387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20388 if (SWIG_arg_fail(1)) SWIG_fail
;
20391 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20395 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
20397 wxPyEndAllowThreads(__tstate
);
20398 if (PyErr_Occurred()) SWIG_fail
;
20400 Py_INCREF(Py_None
); resultobj
= Py_None
;
20407 static PyObject
*_wrap_Effects_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20408 PyObject
*resultobj
;
20409 wxEffects
*arg1
= (wxEffects
*) 0 ;
20410 wxColour
*arg2
= 0 ;
20411 wxColour
*arg3
= 0 ;
20412 wxColour
*arg4
= 0 ;
20413 wxColour
*arg5
= 0 ;
20414 wxColour
*arg6
= 0 ;
20420 PyObject
* obj0
= 0 ;
20421 PyObject
* obj1
= 0 ;
20422 PyObject
* obj2
= 0 ;
20423 PyObject
* obj3
= 0 ;
20424 PyObject
* obj4
= 0 ;
20425 PyObject
* obj5
= 0 ;
20426 char *kwnames
[] = {
20427 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
20430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20432 if (SWIG_arg_fail(1)) SWIG_fail
;
20435 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20439 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
20443 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
20447 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
20451 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
20454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20455 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
20457 wxPyEndAllowThreads(__tstate
);
20458 if (PyErr_Occurred()) SWIG_fail
;
20460 Py_INCREF(Py_None
); resultobj
= Py_None
;
20467 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20468 PyObject
*resultobj
;
20469 wxEffects
*arg1
= (wxEffects
*) 0 ;
20472 int arg4
= (int) 1 ;
20474 PyObject
* obj0
= 0 ;
20475 PyObject
* obj1
= 0 ;
20476 PyObject
* obj2
= 0 ;
20477 PyObject
* obj3
= 0 ;
20478 char *kwnames
[] = {
20479 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
20482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20484 if (SWIG_arg_fail(1)) SWIG_fail
;
20486 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20487 if (SWIG_arg_fail(2)) SWIG_fail
;
20488 if (arg2
== NULL
) {
20489 SWIG_null_ref("wxDC");
20491 if (SWIG_arg_fail(2)) SWIG_fail
;
20495 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20499 arg4
= (int)(SWIG_As_int(obj3
));
20500 if (SWIG_arg_fail(4)) SWIG_fail
;
20504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20505 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
20507 wxPyEndAllowThreads(__tstate
);
20508 if (PyErr_Occurred()) SWIG_fail
;
20510 Py_INCREF(Py_None
); resultobj
= Py_None
;
20517 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20518 PyObject
*resultobj
;
20519 wxEffects
*arg1
= (wxEffects
*) 0 ;
20522 wxBitmap
*arg4
= 0 ;
20525 PyObject
* obj0
= 0 ;
20526 PyObject
* obj1
= 0 ;
20527 PyObject
* obj2
= 0 ;
20528 PyObject
* obj3
= 0 ;
20529 char *kwnames
[] = {
20530 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
20533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20535 if (SWIG_arg_fail(1)) SWIG_fail
;
20538 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20541 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20542 if (SWIG_arg_fail(3)) SWIG_fail
;
20543 if (arg3
== NULL
) {
20544 SWIG_null_ref("wxDC");
20546 if (SWIG_arg_fail(3)) SWIG_fail
;
20549 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20550 if (SWIG_arg_fail(4)) SWIG_fail
;
20551 if (arg4
== NULL
) {
20552 SWIG_null_ref("wxBitmap");
20554 if (SWIG_arg_fail(4)) SWIG_fail
;
20557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20558 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
20560 wxPyEndAllowThreads(__tstate
);
20561 if (PyErr_Occurred()) SWIG_fail
;
20564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20572 static PyObject
* Effects_swigregister(PyObject
*, PyObject
*args
) {
20574 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20575 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
20577 return Py_BuildValue((char *)"");
20579 static PyMethodDef SwigMethods
[] = {
20580 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20581 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20582 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20583 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20584 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20585 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
20586 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20587 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20588 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20589 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20590 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20591 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20592 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20593 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20594 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20595 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20596 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20597 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20598 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20599 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20600 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20601 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20602 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
20603 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20604 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20605 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20606 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20607 { (char *)"Palette_GetColoursCount", (PyCFunction
) _wrap_Palette_GetColoursCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20608 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20609 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
20610 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20611 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20612 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20613 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20614 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20615 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20616 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20617 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20618 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20619 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20620 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20621 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20622 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20623 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20624 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20625 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20626 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20627 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20628 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
20629 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20630 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20631 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20632 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20633 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20634 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20635 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20636 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20637 { (char *)"Brush_IsHatch", (PyCFunction
) _wrap_Brush_IsHatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20638 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20639 { (char *)"Brush_MacGetTheme", (PyCFunction
) _wrap_Brush_MacGetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20640 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20641 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
20642 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20643 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20644 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20645 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20646 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20647 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20648 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20649 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20650 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20651 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20652 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20653 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20654 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20655 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20656 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20657 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20658 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20659 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20660 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20661 { (char *)"Bitmap_GetPalette", (PyCFunction
) _wrap_Bitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20662 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20663 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20664 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20665 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20666 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20667 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20668 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20669 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
20670 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20671 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
20672 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20673 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20674 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20675 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20676 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20677 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20678 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20679 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20680 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20681 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20682 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20683 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20684 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20685 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20686 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
20687 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20688 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20689 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20690 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20691 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20692 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20693 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20694 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
20695 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20696 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20697 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20698 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20699 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20700 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20701 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20702 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
20703 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20704 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20705 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20706 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20707 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20708 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
20709 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20710 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20711 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20712 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20713 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20714 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20715 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20716 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20717 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20718 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20719 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20720 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20721 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20722 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20723 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20724 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20725 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20726 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20727 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20728 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20729 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20730 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20731 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20732 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20733 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20734 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20735 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20736 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20737 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
20738 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20739 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20740 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20741 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20742 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20743 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20744 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20745 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20746 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20747 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20748 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20749 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20750 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20751 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
20752 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20753 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20754 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20755 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20756 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20757 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20758 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20759 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20760 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20761 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20762 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20763 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20764 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20765 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20766 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20767 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20768 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20769 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20770 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20771 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20772 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20773 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20774 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20775 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
20776 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20777 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20778 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20779 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20780 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20781 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20782 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20783 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20784 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
20785 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20786 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20787 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20788 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20789 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20790 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20791 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20792 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20793 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20794 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20795 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20796 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20797 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20798 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20799 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20800 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20801 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20802 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20803 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20804 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
20805 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20806 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20807 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20808 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20809 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20810 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20811 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20812 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20813 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20814 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20815 { (char *)"Font_GetPixelSize", (PyCFunction
) _wrap_Font_GetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20816 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
) _wrap_Font_IsUsingSizeInPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20817 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20818 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20819 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20820 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20821 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20822 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20823 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20824 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20825 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20826 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20827 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20828 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20829 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20830 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20831 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20832 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20833 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20834 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20835 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20836 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20837 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20838 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20839 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20840 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20841 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20842 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20843 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20844 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20845 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
20846 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20847 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20848 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20849 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20850 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20851 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20852 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20853 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
20854 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20855 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20856 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20857 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20858 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20859 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20860 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
20861 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20862 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20863 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20864 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20865 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20866 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20867 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20868 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20869 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20870 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20871 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20872 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20873 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20874 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20875 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20876 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20877 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20878 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20879 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20880 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20881 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20882 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
20883 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20884 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
20885 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20886 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20887 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20888 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20889 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20890 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20891 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20892 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
20893 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20894 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20895 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20896 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20897 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20898 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20899 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20900 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20901 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20902 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20903 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20904 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20905 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20906 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20907 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20908 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20909 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20910 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20911 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20912 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20913 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20914 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20915 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20916 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20917 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20918 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20919 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20920 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20921 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20922 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20923 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20924 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20925 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20926 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20927 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20928 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20929 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20930 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20931 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20932 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20933 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20934 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20935 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20936 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20937 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20938 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20939 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20940 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20941 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20942 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20943 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20944 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20945 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20946 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20947 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20948 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20949 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20950 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20951 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20952 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20953 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20954 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20955 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20956 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20957 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20958 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20959 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20960 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20961 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20962 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20963 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20964 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20965 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20966 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20967 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20968 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20969 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20970 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20971 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20972 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20973 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20974 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20975 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20976 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20977 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20978 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20979 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20980 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20981 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20982 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20983 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20984 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20985 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20986 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20987 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20988 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20989 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20990 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20991 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20992 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20993 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20994 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20995 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20996 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20997 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20998 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20999 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21000 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21001 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21002 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21003 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21004 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21005 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
) _wrap_DC_ComputeScaleAndOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21006 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21007 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21008 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21009 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21010 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21011 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21012 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21013 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21014 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21015 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21016 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21017 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21018 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21019 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21020 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
21021 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21022 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21023 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21024 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
21025 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
21026 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21027 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21028 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
21029 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21030 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
21031 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21032 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21033 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21034 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21035 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
21036 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21037 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
21038 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21039 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
21040 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21041 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
21042 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21043 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
21044 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21045 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21046 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21047 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21048 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21049 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
21050 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21051 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21052 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21053 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21054 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21055 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21056 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21057 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
21058 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21059 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21060 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
21061 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21062 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
21063 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21064 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21065 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21066 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21067 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21068 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21069 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21070 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21071 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21072 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21073 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21074 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
21075 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21076 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21077 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21078 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21079 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
21080 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21081 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21082 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21083 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21084 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
21085 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21086 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21087 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21088 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21089 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21090 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21091 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
21092 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21093 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21094 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21095 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21096 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
21097 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21098 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21099 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21100 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21101 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21102 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21103 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21104 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21105 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21106 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21107 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21108 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21109 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21110 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21111 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
21112 { NULL
, NULL
, 0, NULL
}
21116 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21118 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
21119 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
21121 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
21122 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
21124 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
21125 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
21127 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
21128 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
21130 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
21131 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
21133 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
21134 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
21136 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
21137 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
21139 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
21140 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
21142 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
21143 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
21145 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
21146 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
21148 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
21149 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
21151 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
21152 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
21154 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
21155 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
21157 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
21158 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
21160 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
21161 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
21163 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
21164 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
21166 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
21167 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
21169 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
21170 return (void *)((wxDC
*) ((wxClientDC
*) x
));
21172 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
21173 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
21175 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
21176 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
21178 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
21179 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
21181 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
21182 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
21184 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
21185 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
21187 static void *_p_wxPenTo_p_wxObject(void *x
) {
21188 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
21190 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
21191 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
21193 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
21194 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
21196 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
21197 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
21199 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
21200 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
21202 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
21203 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
21205 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
21206 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
21208 static void *_p_wxIconTo_p_wxObject(void *x
) {
21209 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
21211 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
21212 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
21214 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
21215 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
21217 static void *_p_wxSizerTo_p_wxObject(void *x
) {
21218 return (void *)((wxObject
*) ((wxSizer
*) x
));
21220 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
21221 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
21223 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
21224 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21226 static void *_p_wxPenListTo_p_wxObject(void *x
) {
21227 return (void *)((wxObject
*) ((wxPenList
*) x
));
21229 static void *_p_wxEventTo_p_wxObject(void *x
) {
21230 return (void *)((wxObject
*) ((wxEvent
*) x
));
21232 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
21233 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
21235 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
21236 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
21238 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
21239 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
21241 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
21242 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
21244 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
21245 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
21247 static void *_p_wxDCTo_p_wxObject(void *x
) {
21248 return (void *)((wxObject
*) ((wxDC
*) x
));
21250 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
21251 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21253 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
21254 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
21256 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
21257 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
21259 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
21260 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
21262 static void *_p_wxControlTo_p_wxObject(void *x
) {
21263 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
21265 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
21266 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
21268 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
21269 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
21271 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
21272 return (void *)((wxObject
*) ((wxFSFile
*) x
));
21274 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
21275 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
21277 static void *_p_wxRegionTo_p_wxObject(void *x
) {
21278 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
21280 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
21281 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
21283 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
21284 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
21286 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
21287 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
21289 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
21290 return (void *)((wxObject
*) ((wxEffects
*) x
));
21292 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
21293 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
21295 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
21296 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21298 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
21299 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
21301 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
21302 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
21304 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
21305 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
21307 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
21308 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
21310 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
21311 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21313 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
21314 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
21316 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
21317 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
21319 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
21320 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
21322 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
21323 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
21325 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
21326 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
21328 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
21329 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
21331 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
21332 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
21334 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
21335 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
21337 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
21338 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
21340 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
21341 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
21343 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
21344 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
21346 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
21347 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
21349 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
21350 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
21352 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
21353 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
21355 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
21356 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
21358 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
21359 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
21361 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
21362 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
21364 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
21365 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
21367 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
21368 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
21370 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
21371 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
21373 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
21374 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
21376 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
21377 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
21379 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
21380 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
21382 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
21383 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
21385 static void *_p_wxImageTo_p_wxObject(void *x
) {
21386 return (void *)((wxObject
*) ((wxImage
*) x
));
21388 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
21389 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
21391 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
21392 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
21394 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
21395 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
21397 static void *_p_wxImageListTo_p_wxObject(void *x
) {
21398 return (void *)((wxObject
*) ((wxImageList
*) x
));
21400 static void *_p_wxCursorTo_p_wxObject(void *x
) {
21401 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
21403 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
21404 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
21406 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
21407 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
21409 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
21410 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21412 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
21413 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
21415 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
21416 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
21418 static void *_p_wxWindowTo_p_wxObject(void *x
) {
21419 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
21421 static void *_p_wxMenuTo_p_wxObject(void *x
) {
21422 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
21424 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
21425 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
21427 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
21428 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
21430 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
21431 return (void *)((wxObject
*) ((wxBrushList
*) x
));
21433 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
21434 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
21436 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
21437 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
21439 static void *_p_wxMaskTo_p_wxObject(void *x
) {
21440 return (void *)((wxObject
*) ((wxMask
*) x
));
21442 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
21443 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
21445 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
21446 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
21448 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
21449 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
21451 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
21452 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
21454 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
21455 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
21457 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
21458 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
21460 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
21461 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
21463 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
21464 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
21466 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
21467 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
21469 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
21470 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
21472 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
21473 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
21475 static void *_p_wxFontTo_p_wxObject(void *x
) {
21476 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
21478 static void *_p_wxBrushTo_p_wxObject(void *x
) {
21479 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
21481 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
21482 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
21484 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
21485 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
21487 static void *_p_wxColourTo_p_wxObject(void *x
) {
21488 return (void *)((wxObject
*) ((wxColour
*) x
));
21490 static void *_p_wxFontListTo_p_wxObject(void *x
) {
21491 return (void *)((wxObject
*) ((wxFontList
*) x
));
21493 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
21494 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
21496 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
21497 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
21499 static void *_p_wxControlTo_p_wxWindow(void *x
) {
21500 return (void *)((wxWindow
*) ((wxControl
*) x
));
21502 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
21503 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
21505 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
21506 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
21508 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}};
21509 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}};
21510 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}};
21511 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}};
21512 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}};
21513 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}};
21514 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}};
21515 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}};
21516 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}};
21517 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}};
21518 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}};
21519 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}};
21520 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}};
21521 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}};
21522 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}};
21523 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}};
21524 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}};
21525 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}};
21526 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}};
21527 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}};
21528 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}};
21529 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}};
21530 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}};
21531 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}};
21532 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}};
21533 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}};
21534 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}};
21535 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}};
21536 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}};
21537 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}};
21538 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}};
21539 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}};
21540 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}};
21541 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}};
21542 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}};
21543 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}};
21544 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}};
21545 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}};
21546 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}};
21547 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}};
21548 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}};
21549 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}};
21550 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}};
21551 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}};
21552 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}};
21553 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}};
21554 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}};
21555 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}};
21556 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}};
21557 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}};
21558 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}};
21559 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}};
21560 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}};
21561 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}};
21562 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}};
21563 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}};
21564 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}};
21565 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}};
21566 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}};
21567 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}};
21568 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}};
21569 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}};
21571 static swig_type_info
*swig_types_initial
[] = {
21572 _swigt__p_wxPostScriptDC
,
21574 _swigt__p_wxColour
,
21576 _swigt__p_wxMirrorDC
,
21577 _swigt__p_form_ops_t
,
21578 _swigt__p_wxDuplexMode
,
21579 _swigt__p_wxPyFontEnumerator
,
21581 _swigt__p_wxIconLocation
,
21583 _swigt__p_wxMetaFileDC
,
21587 _swigt__p_wxWindow
,
21589 _swigt__p_wxMemoryDC
,
21590 _swigt__p_wxFontMapper
,
21591 _swigt__p_wxEffects
,
21592 _swigt__p_wxNativeEncodingInfo
,
21593 _swigt__p_wxPalette
,
21594 _swigt__p_wxBitmap
,
21595 _swigt__p_wxObject
,
21596 _swigt__p_wxRegionIterator
,
21598 _swigt__p_wxPaperSize
,
21599 _swigt__p_wxString
,
21600 _swigt__unsigned_int
,
21601 _swigt__p_unsigned_int
,
21602 _swigt__p_wxPrinterDC
,
21603 _swigt__p_wxIconBundle
,
21606 _swigt__p_wxScreenDC
,
21607 _swigt__p_wxCursor
,
21608 _swigt__p_wxClientDC
,
21609 _swigt__p_wxBufferedDC
,
21610 _swigt__p_wxImageList
,
21611 _swigt__p_unsigned_char
,
21612 _swigt__p_wxGDIObject
,
21614 _swigt__p_wxLocale
,
21616 _swigt__std__ptrdiff_t
,
21617 _swigt__p_wxRegion
,
21618 _swigt__p_wxConfigBase
,
21619 _swigt__p_wxLanguageInfo
,
21620 _swigt__p_wxWindowDC
,
21621 _swigt__p_wxPrintData
,
21622 _swigt__p_wxBrushList
,
21623 _swigt__p_wxFontList
,
21625 _swigt__p_wxBufferedPaintDC
,
21626 _swigt__p_wxPaintDC
,
21627 _swigt__p_wxPenList
,
21629 _swigt__p_wxMetaFile
,
21630 _swigt__p_unsigned_long
,
21631 _swigt__p_wxNativeFontInfo
,
21632 _swigt__p_wxEncodingConverter
,
21633 _swigt__p_wxColourDatabase
,
21638 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
21640 static swig_const_info swig_const_table
[] = {
21641 {0, 0, 0, 0.0, 0, 0}};
21652 /* Python-specific SWIG API */
21653 #define SWIG_newvarlink() SWIG_Python_newvarlink()
21654 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
21655 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
21657 /* -----------------------------------------------------------------------------
21658 * global variable support code.
21659 * ----------------------------------------------------------------------------- */
21661 typedef struct swig_globalvar
{
21662 char *name
; /* Name of global variable */
21663 PyObject
*(*get_attr
)(); /* Return the current value */
21664 int (*set_attr
)(PyObject
*); /* Set the value */
21665 struct swig_globalvar
*next
;
21668 typedef struct swig_varlinkobject
{
21670 swig_globalvar
*vars
;
21671 } swig_varlinkobject
;
21674 swig_varlink_repr(swig_varlinkobject
*v
) {
21676 return PyString_FromString("<Swig global variables>");
21680 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
21681 swig_globalvar
*var
;
21683 fprintf(fp
,"Swig global variables { ");
21684 for (var
= v
->vars
; var
; var
=var
->next
) {
21685 fprintf(fp
,"%s", var
->name
);
21686 if (var
->next
) fprintf(fp
,", ");
21688 fprintf(fp
," }\n");
21693 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
21694 swig_globalvar
*var
= v
->vars
;
21696 if (strcmp(var
->name
,n
) == 0) {
21697 return (*var
->get_attr
)();
21701 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
21706 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
21707 swig_globalvar
*var
= v
->vars
;
21709 if (strcmp(var
->name
,n
) == 0) {
21710 return (*var
->set_attr
)(p
);
21714 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
21718 static PyTypeObject varlinktype
= {
21719 PyObject_HEAD_INIT(0)
21720 0, /* Number of items in variable part (ob_size) */
21721 (char *)"swigvarlink", /* Type name (tp_name) */
21722 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
21723 0, /* Itemsize (tp_itemsize) */
21724 0, /* Deallocator (tp_dealloc) */
21725 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
21726 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
21727 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
21728 0, /* tp_compare */
21729 (reprfunc
) swig_varlink_repr
, /* tp_repr */
21730 0, /* tp_as_number */
21731 0, /* tp_as_sequence */
21732 0, /* tp_as_mapping */
21736 0, /* tp_getattro */
21737 0, /* tp_setattro */
21738 0, /* tp_as_buffer */
21741 #if PY_VERSION_HEX >= 0x02000000
21742 0, /* tp_traverse */
21745 #if PY_VERSION_HEX >= 0x02010000
21746 0, /* tp_richcompare */
21747 0, /* tp_weaklistoffset */
21749 #if PY_VERSION_HEX >= 0x02020000
21750 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
21752 #if PY_VERSION_HEX >= 0x02030000
21755 #ifdef COUNT_ALLOCS
21756 0,0,0,0 /* tp_alloc -> tp_next */
21760 /* Create a variable linking object for use later */
21762 SWIG_Python_newvarlink(void) {
21763 swig_varlinkobject
*result
= 0;
21764 result
= PyMem_NEW(swig_varlinkobject
,1);
21765 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
21766 result
->ob_type
= &varlinktype
;
21768 result
->ob_refcnt
= 0;
21769 Py_XINCREF((PyObject
*) result
);
21770 return ((PyObject
*) result
);
21774 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
21775 swig_varlinkobject
*v
;
21776 swig_globalvar
*gv
;
21777 v
= (swig_varlinkobject
*) p
;
21778 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
21779 gv
->name
= (char *) malloc(strlen(name
)+1);
21780 strcpy(gv
->name
,name
);
21781 gv
->get_attr
= get_attr
;
21782 gv
->set_attr
= set_attr
;
21783 gv
->next
= v
->vars
;
21787 /* -----------------------------------------------------------------------------
21788 * constants/methods manipulation
21789 * ----------------------------------------------------------------------------- */
21791 /* Install Constants */
21793 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
21796 for (i
= 0; constants
[i
].type
; i
++) {
21797 switch(constants
[i
].type
) {
21799 obj
= PyInt_FromLong(constants
[i
].lvalue
);
21801 case SWIG_PY_FLOAT
:
21802 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
21804 case SWIG_PY_STRING
:
21805 if (constants
[i
].pvalue
) {
21806 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
21808 Py_INCREF(Py_None
);
21812 case SWIG_PY_POINTER
:
21813 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
21815 case SWIG_PY_BINARY
:
21816 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
21823 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
21829 /* -----------------------------------------------------------------------------*/
21830 /* Fix SwigMethods to carry the callback ptrs when needed */
21831 /* -----------------------------------------------------------------------------*/
21834 SWIG_Python_FixMethods(PyMethodDef
*methods
,
21835 swig_const_info
*const_table
,
21836 swig_type_info
**types
,
21837 swig_type_info
**types_initial
) {
21839 for (i
= 0; methods
[i
].ml_name
; ++i
) {
21840 char *c
= methods
[i
].ml_doc
;
21841 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
21843 swig_const_info
*ci
= 0;
21844 char *name
= c
+ 10;
21845 for (j
= 0; const_table
[j
].type
; j
++) {
21846 if (strncmp(const_table
[j
].name
, name
,
21847 strlen(const_table
[j
].name
)) == 0) {
21848 ci
= &(const_table
[j
]);
21853 size_t shift
= (ci
->ptype
) - types
;
21854 swig_type_info
*ty
= types_initial
[shift
];
21855 size_t ldoc
= (c
- methods
[i
].ml_doc
);
21856 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
21857 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
21859 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
21860 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
21862 strncpy(buff
, "swig_ptr: ", 10);
21864 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
21865 methods
[i
].ml_doc
= ndoc
;
21871 /* -----------------------------------------------------------------------------*
21872 * Initialize type list
21873 * -----------------------------------------------------------------------------*/
21875 #if PY_MAJOR_VERSION < 2
21876 /* PyModule_AddObject function was introduced in Python 2.0. The following function
21877 is copied out of Python/modsupport.c in python version 2.3.4 */
21879 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
21882 if (!PyModule_Check(m
)) {
21883 PyErr_SetString(PyExc_TypeError
,
21884 "PyModule_AddObject() needs module as first arg");
21888 PyErr_SetString(PyExc_TypeError
,
21889 "PyModule_AddObject() needs non-NULL value");
21893 dict
= PyModule_GetDict(m
);
21894 if (dict
== NULL
) {
21895 /* Internal error -- modules must have a dict! */
21896 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
21897 PyModule_GetName(m
));
21900 if (PyDict_SetItemString(dict
, name
, o
))
21907 static swig_type_info
**
21908 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
21909 static PyMethodDef swig_empty_runtime_method_table
[] = {
21911 NULL
, NULL
, 0, NULL
21915 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
21916 swig_empty_runtime_method_table
);
21917 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
21918 if (pointer
&& module) {
21919 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
21921 return type_list_handle
;
21924 static swig_type_info
**
21925 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
21926 swig_type_info
**type_pointer
;
21928 /* first check if module already created */
21929 type_pointer
= SWIG_Python_GetTypeListHandle();
21930 if (type_pointer
) {
21931 return type_pointer
;
21933 /* create a new module and variable */
21934 return SWIG_Python_SetTypeListHandle(type_list_handle
);
21942 /* -----------------------------------------------------------------------------*
21943 * Partial Init method
21944 * -----------------------------------------------------------------------------*/
21946 #ifdef SWIG_LINK_RUNTIME
21950 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
21956 SWIGEXPORT(void) SWIG_init(void) {
21957 static PyObject
*SWIG_globals
= 0;
21958 static int typeinit
= 0;
21961 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
21963 /* Fix SwigMethods to carry the callback ptrs when needed */
21964 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
21966 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
21967 d
= PyModule_GetDict(m
);
21970 #ifdef SWIG_LINK_RUNTIME
21971 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
21973 # ifndef SWIG_STATIC_RUNTIME
21974 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
21977 for (i
= 0; swig_types_initial
[i
]; i
++) {
21978 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
21982 SWIG_InstallConstants(d
,swig_const_table
);
21985 PyDict_SetItemString(d
,"OutRegion", SWIG_From_int((int)(wxOutRegion
)));
21988 PyDict_SetItemString(d
,"PartRegion", SWIG_From_int((int)(wxPartRegion
)));
21991 PyDict_SetItemString(d
,"InRegion", SWIG_From_int((int)(wxInRegion
)));
21994 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_From_int((int)(wxFONTFAMILY_DEFAULT
)));
21997 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_From_int((int)(wxFONTFAMILY_DECORATIVE
)));
22000 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_From_int((int)(wxFONTFAMILY_ROMAN
)));
22003 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_From_int((int)(wxFONTFAMILY_SCRIPT
)));
22006 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_From_int((int)(wxFONTFAMILY_SWISS
)));
22009 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_From_int((int)(wxFONTFAMILY_MODERN
)));
22012 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_From_int((int)(wxFONTFAMILY_TELETYPE
)));
22015 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_From_int((int)(wxFONTFAMILY_MAX
)));
22018 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_From_int((int)(wxFONTFAMILY_UNKNOWN
)));
22021 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_From_int((int)(wxFONTSTYLE_NORMAL
)));
22024 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_From_int((int)(wxFONTSTYLE_ITALIC
)));
22027 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_From_int((int)(wxFONTSTYLE_SLANT
)));
22030 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_From_int((int)(wxFONTSTYLE_MAX
)));
22033 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_From_int((int)(wxFONTWEIGHT_NORMAL
)));
22036 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_From_int((int)(wxFONTWEIGHT_LIGHT
)));
22039 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_From_int((int)(wxFONTWEIGHT_BOLD
)));
22042 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_From_int((int)(wxFONTWEIGHT_MAX
)));
22045 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_From_int((int)(wxFONTFLAG_DEFAULT
)));
22048 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_From_int((int)(wxFONTFLAG_ITALIC
)));
22051 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_From_int((int)(wxFONTFLAG_SLANT
)));
22054 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_From_int((int)(wxFONTFLAG_LIGHT
)));
22057 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_From_int((int)(wxFONTFLAG_BOLD
)));
22060 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_From_int((int)(wxFONTFLAG_ANTIALIASED
)));
22063 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int((int)(wxFONTFLAG_NOT_ANTIALIASED
)));
22066 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_From_int((int)(wxFONTFLAG_UNDERLINED
)));
22069 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_From_int((int)(wxFONTFLAG_STRIKETHROUGH
)));
22072 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_From_int((int)(wxFONTFLAG_MASK
)));
22075 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_From_int((int)(wxFONTENCODING_SYSTEM
)));
22078 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_From_int((int)(wxFONTENCODING_DEFAULT
)));
22081 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_From_int((int)(wxFONTENCODING_ISO8859_1
)));
22084 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_From_int((int)(wxFONTENCODING_ISO8859_2
)));
22087 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_From_int((int)(wxFONTENCODING_ISO8859_3
)));
22090 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_From_int((int)(wxFONTENCODING_ISO8859_4
)));
22093 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_From_int((int)(wxFONTENCODING_ISO8859_5
)));
22096 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_From_int((int)(wxFONTENCODING_ISO8859_6
)));
22099 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_From_int((int)(wxFONTENCODING_ISO8859_7
)));
22102 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_From_int((int)(wxFONTENCODING_ISO8859_8
)));
22105 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_From_int((int)(wxFONTENCODING_ISO8859_9
)));
22108 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_From_int((int)(wxFONTENCODING_ISO8859_10
)));
22111 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_From_int((int)(wxFONTENCODING_ISO8859_11
)));
22114 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_From_int((int)(wxFONTENCODING_ISO8859_12
)));
22117 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_From_int((int)(wxFONTENCODING_ISO8859_13
)));
22120 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_From_int((int)(wxFONTENCODING_ISO8859_14
)));
22123 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_From_int((int)(wxFONTENCODING_ISO8859_15
)));
22126 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_From_int((int)(wxFONTENCODING_ISO8859_MAX
)));
22129 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_From_int((int)(wxFONTENCODING_KOI8
)));
22132 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_From_int((int)(wxFONTENCODING_KOI8_U
)));
22135 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_From_int((int)(wxFONTENCODING_ALTERNATIVE
)));
22138 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_From_int((int)(wxFONTENCODING_BULGARIAN
)));
22141 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_From_int((int)(wxFONTENCODING_CP437
)));
22144 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_From_int((int)(wxFONTENCODING_CP850
)));
22147 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_From_int((int)(wxFONTENCODING_CP852
)));
22150 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_From_int((int)(wxFONTENCODING_CP855
)));
22153 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_From_int((int)(wxFONTENCODING_CP866
)));
22156 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_From_int((int)(wxFONTENCODING_CP874
)));
22159 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_From_int((int)(wxFONTENCODING_CP932
)));
22162 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_From_int((int)(wxFONTENCODING_CP936
)));
22165 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_From_int((int)(wxFONTENCODING_CP949
)));
22168 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_From_int((int)(wxFONTENCODING_CP950
)));
22171 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_From_int((int)(wxFONTENCODING_CP1250
)));
22174 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_From_int((int)(wxFONTENCODING_CP1251
)));
22177 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_From_int((int)(wxFONTENCODING_CP1252
)));
22180 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_From_int((int)(wxFONTENCODING_CP1253
)));
22183 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_From_int((int)(wxFONTENCODING_CP1254
)));
22186 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_From_int((int)(wxFONTENCODING_CP1255
)));
22189 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_From_int((int)(wxFONTENCODING_CP1256
)));
22192 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_From_int((int)(wxFONTENCODING_CP1257
)));
22195 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_From_int((int)(wxFONTENCODING_CP12_MAX
)));
22198 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_From_int((int)(wxFONTENCODING_UTF7
)));
22201 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_From_int((int)(wxFONTENCODING_UTF8
)));
22204 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_From_int((int)(wxFONTENCODING_EUC_JP
)));
22207 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_From_int((int)(wxFONTENCODING_UTF16BE
)));
22210 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_From_int((int)(wxFONTENCODING_UTF16LE
)));
22213 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_From_int((int)(wxFONTENCODING_UTF32BE
)));
22216 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_From_int((int)(wxFONTENCODING_UTF32LE
)));
22219 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_From_int((int)(wxFONTENCODING_MACROMAN
)));
22222 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_From_int((int)(wxFONTENCODING_MACJAPANESE
)));
22225 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_From_int((int)(wxFONTENCODING_MACCHINESETRAD
)));
22228 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_From_int((int)(wxFONTENCODING_MACKOREAN
)));
22231 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_From_int((int)(wxFONTENCODING_MACARABIC
)));
22234 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_From_int((int)(wxFONTENCODING_MACHEBREW
)));
22237 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_From_int((int)(wxFONTENCODING_MACGREEK
)));
22240 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_From_int((int)(wxFONTENCODING_MACCYRILLIC
)));
22243 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_From_int((int)(wxFONTENCODING_MACDEVANAGARI
)));
22246 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_From_int((int)(wxFONTENCODING_MACGURMUKHI
)));
22249 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_From_int((int)(wxFONTENCODING_MACGUJARATI
)));
22252 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_From_int((int)(wxFONTENCODING_MACORIYA
)));
22255 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_From_int((int)(wxFONTENCODING_MACBENGALI
)));
22258 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_From_int((int)(wxFONTENCODING_MACTAMIL
)));
22261 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_From_int((int)(wxFONTENCODING_MACTELUGU
)));
22264 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_From_int((int)(wxFONTENCODING_MACKANNADA
)));
22267 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_From_int((int)(wxFONTENCODING_MACMALAJALAM
)));
22270 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_From_int((int)(wxFONTENCODING_MACSINHALESE
)));
22273 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_From_int((int)(wxFONTENCODING_MACBURMESE
)));
22276 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_From_int((int)(wxFONTENCODING_MACKHMER
)));
22279 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_From_int((int)(wxFONTENCODING_MACTHAI
)));
22282 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_From_int((int)(wxFONTENCODING_MACLAOTIAN
)));
22285 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_From_int((int)(wxFONTENCODING_MACGEORGIAN
)));
22288 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_From_int((int)(wxFONTENCODING_MACARMENIAN
)));
22291 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_From_int((int)(wxFONTENCODING_MACCHINESESIMP
)));
22294 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_From_int((int)(wxFONTENCODING_MACTIBETAN
)));
22297 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_From_int((int)(wxFONTENCODING_MACMONGOLIAN
)));
22300 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_From_int((int)(wxFONTENCODING_MACETHIOPIC
)));
22303 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_From_int((int)(wxFONTENCODING_MACCENTRALEUR
)));
22306 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_From_int((int)(wxFONTENCODING_MACVIATNAMESE
)));
22309 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_From_int((int)(wxFONTENCODING_MACARABICEXT
)));
22312 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_From_int((int)(wxFONTENCODING_MACSYMBOL
)));
22315 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_From_int((int)(wxFONTENCODING_MACDINGBATS
)));
22318 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_From_int((int)(wxFONTENCODING_MACTURKISH
)));
22321 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_From_int((int)(wxFONTENCODING_MACCROATIAN
)));
22324 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_From_int((int)(wxFONTENCODING_MACICELANDIC
)));
22327 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_From_int((int)(wxFONTENCODING_MACROMANIAN
)));
22330 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_From_int((int)(wxFONTENCODING_MACCELTIC
)));
22333 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_From_int((int)(wxFONTENCODING_MACGAELIC
)));
22336 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_From_int((int)(wxFONTENCODING_MACKEYBOARD
)));
22339 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_From_int((int)(wxFONTENCODING_MACMIN
)));
22342 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_From_int((int)(wxFONTENCODING_MACMAX
)));
22345 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_From_int((int)(wxFONTENCODING_MAX
)));
22348 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_From_int((int)(wxFONTENCODING_UTF16
)));
22351 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_From_int((int)(wxFONTENCODING_UTF32
)));
22354 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_From_int((int)(wxFONTENCODING_UNICODE
)));
22357 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_From_int((int)(wxFONTENCODING_GB2312
)));
22360 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_From_int((int)(wxFONTENCODING_BIG5
)));
22363 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_From_int((int)(wxFONTENCODING_SHIFT_JIS
)));
22366 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
22369 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_From_int((int)(wxLANGUAGE_DEFAULT
)));
22372 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_From_int((int)(wxLANGUAGE_UNKNOWN
)));
22375 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_From_int((int)(wxLANGUAGE_ABKHAZIAN
)));
22378 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_From_int((int)(wxLANGUAGE_AFAR
)));
22381 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_From_int((int)(wxLANGUAGE_AFRIKAANS
)));
22384 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_From_int((int)(wxLANGUAGE_ALBANIAN
)));
22387 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_From_int((int)(wxLANGUAGE_AMHARIC
)));
22390 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_From_int((int)(wxLANGUAGE_ARABIC
)));
22393 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_ALGERIA
)));
22396 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_BAHRAIN
)));
22399 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int((int)(wxLANGUAGE_ARABIC_EGYPT
)));
22402 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int((int)(wxLANGUAGE_ARABIC_IRAQ
)));
22405 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_JORDAN
)));
22408 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int((int)(wxLANGUAGE_ARABIC_KUWAIT
)));
22411 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int((int)(wxLANGUAGE_ARABIC_LEBANON
)));
22414 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_LIBYA
)));
22417 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int((int)(wxLANGUAGE_ARABIC_MOROCCO
)));
22420 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_OMAN
)));
22423 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_From_int((int)(wxLANGUAGE_ARABIC_QATAR
)));
22426 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
22429 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SUDAN
)));
22432 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SYRIA
)));
22435 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_TUNISIA
)));
22438 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_From_int((int)(wxLANGUAGE_ARABIC_UAE
)));
22441 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_YEMEN
)));
22444 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_From_int((int)(wxLANGUAGE_ARMENIAN
)));
22447 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_From_int((int)(wxLANGUAGE_ASSAMESE
)));
22450 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_From_int((int)(wxLANGUAGE_AYMARA
)));
22453 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_From_int((int)(wxLANGUAGE_AZERI
)));
22456 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_AZERI_CYRILLIC
)));
22459 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_From_int((int)(wxLANGUAGE_AZERI_LATIN
)));
22462 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_From_int((int)(wxLANGUAGE_BASHKIR
)));
22465 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_From_int((int)(wxLANGUAGE_BASQUE
)));
22468 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_From_int((int)(wxLANGUAGE_BELARUSIAN
)));
22471 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_From_int((int)(wxLANGUAGE_BENGALI
)));
22474 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_From_int((int)(wxLANGUAGE_BHUTANI
)));
22477 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_From_int((int)(wxLANGUAGE_BIHARI
)));
22480 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_From_int((int)(wxLANGUAGE_BISLAMA
)));
22483 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_From_int((int)(wxLANGUAGE_BRETON
)));
22486 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_From_int((int)(wxLANGUAGE_BULGARIAN
)));
22489 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_From_int((int)(wxLANGUAGE_BURMESE
)));
22492 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_From_int((int)(wxLANGUAGE_CAMBODIAN
)));
22495 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_From_int((int)(wxLANGUAGE_CATALAN
)));
22498 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_From_int((int)(wxLANGUAGE_CHINESE
)));
22501 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int((int)(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
22504 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int((int)(wxLANGUAGE_CHINESE_TRADITIONAL
)));
22507 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int((int)(wxLANGUAGE_CHINESE_HONGKONG
)));
22510 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_From_int((int)(wxLANGUAGE_CHINESE_MACAU
)));
22513 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int((int)(wxLANGUAGE_CHINESE_SINGAPORE
)));
22516 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int((int)(wxLANGUAGE_CHINESE_TAIWAN
)));
22519 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_From_int((int)(wxLANGUAGE_CORSICAN
)));
22522 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_From_int((int)(wxLANGUAGE_CROATIAN
)));
22525 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_From_int((int)(wxLANGUAGE_CZECH
)));
22528 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_From_int((int)(wxLANGUAGE_DANISH
)));
22531 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_From_int((int)(wxLANGUAGE_DUTCH
)));
22534 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int((int)(wxLANGUAGE_DUTCH_BELGIAN
)));
22537 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_From_int((int)(wxLANGUAGE_ENGLISH
)));
22540 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_UK
)));
22543 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_US
)));
22546 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
22549 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_BELIZE
)));
22552 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_BOTSWANA
)));
22555 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_CANADA
)));
22558 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
22561 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_DENMARK
)));
22564 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_EIRE
)));
22567 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_JAMAICA
)));
22570 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
22573 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
22576 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
22579 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_TRINIDAD
)));
22582 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
22585 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_From_int((int)(wxLANGUAGE_ESPERANTO
)));
22588 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_From_int((int)(wxLANGUAGE_ESTONIAN
)));
22591 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_From_int((int)(wxLANGUAGE_FAEROESE
)));
22594 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_From_int((int)(wxLANGUAGE_FARSI
)));
22597 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_From_int((int)(wxLANGUAGE_FIJI
)));
22600 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_From_int((int)(wxLANGUAGE_FINNISH
)));
22603 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_From_int((int)(wxLANGUAGE_FRENCH
)));
22606 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int((int)(wxLANGUAGE_FRENCH_BELGIAN
)));
22609 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int((int)(wxLANGUAGE_FRENCH_CANADIAN
)));
22612 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int((int)(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
22615 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_From_int((int)(wxLANGUAGE_FRENCH_MONACO
)));
22618 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_From_int((int)(wxLANGUAGE_FRENCH_SWISS
)));
22621 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_From_int((int)(wxLANGUAGE_FRISIAN
)));
22624 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_From_int((int)(wxLANGUAGE_GALICIAN
)));
22627 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_From_int((int)(wxLANGUAGE_GEORGIAN
)));
22630 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_From_int((int)(wxLANGUAGE_GERMAN
)));
22633 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int((int)(wxLANGUAGE_GERMAN_AUSTRIAN
)));
22636 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int((int)(wxLANGUAGE_GERMAN_BELGIUM
)));
22639 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int((int)(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
22642 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int((int)(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
22645 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_From_int((int)(wxLANGUAGE_GERMAN_SWISS
)));
22648 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_From_int((int)(wxLANGUAGE_GREEK
)));
22651 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_From_int((int)(wxLANGUAGE_GREENLANDIC
)));
22654 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_From_int((int)(wxLANGUAGE_GUARANI
)));
22657 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_From_int((int)(wxLANGUAGE_GUJARATI
)));
22660 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_From_int((int)(wxLANGUAGE_HAUSA
)));
22663 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_From_int((int)(wxLANGUAGE_HEBREW
)));
22666 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_From_int((int)(wxLANGUAGE_HINDI
)));
22669 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_From_int((int)(wxLANGUAGE_HUNGARIAN
)));
22672 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_From_int((int)(wxLANGUAGE_ICELANDIC
)));
22675 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_From_int((int)(wxLANGUAGE_INDONESIAN
)));
22678 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_From_int((int)(wxLANGUAGE_INTERLINGUA
)));
22681 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_From_int((int)(wxLANGUAGE_INTERLINGUE
)));
22684 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_From_int((int)(wxLANGUAGE_INUKTITUT
)));
22687 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_From_int((int)(wxLANGUAGE_INUPIAK
)));
22690 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_From_int((int)(wxLANGUAGE_IRISH
)));
22693 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_From_int((int)(wxLANGUAGE_ITALIAN
)));
22696 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int((int)(wxLANGUAGE_ITALIAN_SWISS
)));
22699 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_From_int((int)(wxLANGUAGE_JAPANESE
)));
22702 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_From_int((int)(wxLANGUAGE_JAVANESE
)));
22705 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_From_int((int)(wxLANGUAGE_KANNADA
)));
22708 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_From_int((int)(wxLANGUAGE_KASHMIRI
)));
22711 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int((int)(wxLANGUAGE_KASHMIRI_INDIA
)));
22714 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_From_int((int)(wxLANGUAGE_KAZAKH
)));
22717 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_From_int((int)(wxLANGUAGE_KERNEWEK
)));
22720 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_From_int((int)(wxLANGUAGE_KINYARWANDA
)));
22723 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_From_int((int)(wxLANGUAGE_KIRGHIZ
)));
22726 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_From_int((int)(wxLANGUAGE_KIRUNDI
)));
22729 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_From_int((int)(wxLANGUAGE_KONKANI
)));
22732 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_From_int((int)(wxLANGUAGE_KOREAN
)));
22735 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_From_int((int)(wxLANGUAGE_KURDISH
)));
22738 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_From_int((int)(wxLANGUAGE_LAOTHIAN
)));
22741 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_From_int((int)(wxLANGUAGE_LATIN
)));
22744 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_From_int((int)(wxLANGUAGE_LATVIAN
)));
22747 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_From_int((int)(wxLANGUAGE_LINGALA
)));
22750 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_From_int((int)(wxLANGUAGE_LITHUANIAN
)));
22753 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_From_int((int)(wxLANGUAGE_MACEDONIAN
)));
22756 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_From_int((int)(wxLANGUAGE_MALAGASY
)));
22759 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_From_int((int)(wxLANGUAGE_MALAY
)));
22762 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_From_int((int)(wxLANGUAGE_MALAYALAM
)));
22765 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int((int)(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
22768 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int((int)(wxLANGUAGE_MALAY_MALAYSIA
)));
22771 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_From_int((int)(wxLANGUAGE_MALTESE
)));
22774 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_From_int((int)(wxLANGUAGE_MANIPURI
)));
22777 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_From_int((int)(wxLANGUAGE_MAORI
)));
22780 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_From_int((int)(wxLANGUAGE_MARATHI
)));
22783 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_From_int((int)(wxLANGUAGE_MOLDAVIAN
)));
22786 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_From_int((int)(wxLANGUAGE_MONGOLIAN
)));
22789 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_From_int((int)(wxLANGUAGE_NAURU
)));
22792 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_From_int((int)(wxLANGUAGE_NEPALI
)));
22795 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_From_int((int)(wxLANGUAGE_NEPALI_INDIA
)));
22798 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int((int)(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
22801 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int((int)(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
22804 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_From_int((int)(wxLANGUAGE_OCCITAN
)));
22807 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_From_int((int)(wxLANGUAGE_ORIYA
)));
22810 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_From_int((int)(wxLANGUAGE_OROMO
)));
22813 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_From_int((int)(wxLANGUAGE_PASHTO
)));
22816 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_From_int((int)(wxLANGUAGE_POLISH
)));
22819 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_From_int((int)(wxLANGUAGE_PORTUGUESE
)));
22822 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int((int)(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
22825 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_From_int((int)(wxLANGUAGE_PUNJABI
)));
22828 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_From_int((int)(wxLANGUAGE_QUECHUA
)));
22831 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int((int)(wxLANGUAGE_RHAETO_ROMANCE
)));
22834 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_From_int((int)(wxLANGUAGE_ROMANIAN
)));
22837 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_From_int((int)(wxLANGUAGE_RUSSIAN
)));
22840 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int((int)(wxLANGUAGE_RUSSIAN_UKRAINE
)));
22843 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_From_int((int)(wxLANGUAGE_SAMOAN
)));
22846 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_From_int((int)(wxLANGUAGE_SANGHO
)));
22849 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_From_int((int)(wxLANGUAGE_SANSKRIT
)));
22852 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int((int)(wxLANGUAGE_SCOTS_GAELIC
)));
22855 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_From_int((int)(wxLANGUAGE_SERBIAN
)));
22858 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_SERBIAN_CYRILLIC
)));
22861 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int((int)(wxLANGUAGE_SERBIAN_LATIN
)));
22864 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int((int)(wxLANGUAGE_SERBO_CROATIAN
)));
22867 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_From_int((int)(wxLANGUAGE_SESOTHO
)));
22870 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_From_int((int)(wxLANGUAGE_SETSWANA
)));
22873 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_From_int((int)(wxLANGUAGE_SHONA
)));
22876 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_From_int((int)(wxLANGUAGE_SINDHI
)));
22879 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_From_int((int)(wxLANGUAGE_SINHALESE
)));
22882 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_From_int((int)(wxLANGUAGE_SISWATI
)));
22885 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_From_int((int)(wxLANGUAGE_SLOVAK
)));
22888 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_From_int((int)(wxLANGUAGE_SLOVENIAN
)));
22891 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_From_int((int)(wxLANGUAGE_SOMALI
)));
22894 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_From_int((int)(wxLANGUAGE_SPANISH
)));
22897 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_ARGENTINA
)));
22900 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_BOLIVIA
)));
22903 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_From_int((int)(wxLANGUAGE_SPANISH_CHILE
)));
22906 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_COLOMBIA
)));
22909 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_COSTA_RICA
)));
22912 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int((int)(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
22915 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int((int)(wxLANGUAGE_SPANISH_ECUADOR
)));
22918 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int((int)(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
22921 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_GUATEMALA
)));
22924 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int((int)(wxLANGUAGE_SPANISH_HONDURAS
)));
22927 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int((int)(wxLANGUAGE_SPANISH_MEXICAN
)));
22930 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_From_int((int)(wxLANGUAGE_SPANISH_MODERN
)));
22933 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_NICARAGUA
)));
22936 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PANAMA
)));
22939 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PARAGUAY
)));
22942 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PERU
)));
22945 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
22948 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int((int)(wxLANGUAGE_SPANISH_URUGUAY
)));
22951 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_From_int((int)(wxLANGUAGE_SPANISH_US
)));
22954 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_VENEZUELA
)));
22957 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_From_int((int)(wxLANGUAGE_SUNDANESE
)));
22960 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_From_int((int)(wxLANGUAGE_SWAHILI
)));
22963 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_From_int((int)(wxLANGUAGE_SWEDISH
)));
22966 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int((int)(wxLANGUAGE_SWEDISH_FINLAND
)));
22969 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_From_int((int)(wxLANGUAGE_TAGALOG
)));
22972 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_From_int((int)(wxLANGUAGE_TAJIK
)));
22975 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_From_int((int)(wxLANGUAGE_TAMIL
)));
22978 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_From_int((int)(wxLANGUAGE_TATAR
)));
22981 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_From_int((int)(wxLANGUAGE_TELUGU
)));
22984 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_From_int((int)(wxLANGUAGE_THAI
)));
22987 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_From_int((int)(wxLANGUAGE_TIBETAN
)));
22990 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_From_int((int)(wxLANGUAGE_TIGRINYA
)));
22993 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_From_int((int)(wxLANGUAGE_TONGA
)));
22996 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_From_int((int)(wxLANGUAGE_TSONGA
)));
22999 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_From_int((int)(wxLANGUAGE_TURKISH
)));
23002 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_From_int((int)(wxLANGUAGE_TURKMEN
)));
23005 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_From_int((int)(wxLANGUAGE_TWI
)));
23008 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_From_int((int)(wxLANGUAGE_UIGHUR
)));
23011 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_From_int((int)(wxLANGUAGE_UKRAINIAN
)));
23014 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_From_int((int)(wxLANGUAGE_URDU
)));
23017 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_From_int((int)(wxLANGUAGE_URDU_INDIA
)));
23020 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int((int)(wxLANGUAGE_URDU_PAKISTAN
)));
23023 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_From_int((int)(wxLANGUAGE_UZBEK
)));
23026 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_UZBEK_CYRILLIC
)));
23029 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_From_int((int)(wxLANGUAGE_UZBEK_LATIN
)));
23032 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_From_int((int)(wxLANGUAGE_VIETNAMESE
)));
23035 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_From_int((int)(wxLANGUAGE_VOLAPUK
)));
23038 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_From_int((int)(wxLANGUAGE_WELSH
)));
23041 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_From_int((int)(wxLANGUAGE_WOLOF
)));
23044 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_From_int((int)(wxLANGUAGE_XHOSA
)));
23047 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_From_int((int)(wxLANGUAGE_YIDDISH
)));
23050 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_From_int((int)(wxLANGUAGE_YORUBA
)));
23053 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_From_int((int)(wxLANGUAGE_ZHUANG
)));
23056 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_From_int((int)(wxLANGUAGE_ZULU
)));
23059 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_From_int((int)(wxLANGUAGE_USER_DEFINED
)));
23062 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_From_int((int)(wxLOCALE_CAT_NUMBER
)));
23065 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_From_int((int)(wxLOCALE_CAT_DATE
)));
23068 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_From_int((int)(wxLOCALE_CAT_MONEY
)));
23071 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_From_int((int)(wxLOCALE_CAT_MAX
)));
23074 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_From_int((int)(wxLOCALE_THOUSANDS_SEP
)));
23077 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_From_int((int)(wxLOCALE_DECIMAL_POINT
)));
23080 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_From_int((int)(wxLOCALE_LOAD_DEFAULT
)));
23083 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_From_int((int)(wxLOCALE_CONV_ENCODING
)));
23086 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_From_int((int)(wxCONVERT_STRICT
)));
23089 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_From_int((int)(wxCONVERT_SUBSTITUTE
)));
23092 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_From_int((int)(wxPLATFORM_CURRENT
)));
23095 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_From_int((int)(wxPLATFORM_UNIX
)));
23098 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_From_int((int)(wxPLATFORM_WINDOWS
)));
23101 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_From_int((int)(wxPLATFORM_OS2
)));
23104 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_From_int((int)(wxPLATFORM_MAC
)));
23107 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_From_int((int)(wxIMAGELIST_DRAW_NORMAL
)));
23110 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int((int)(wxIMAGELIST_DRAW_TRANSPARENT
)));
23113 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_From_int((int)(wxIMAGELIST_DRAW_SELECTED
)));
23116 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int((int)(wxIMAGELIST_DRAW_FOCUSED
)));
23119 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_From_int((int)(wxIMAGE_LIST_NORMAL
)));
23122 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_From_int((int)(wxIMAGE_LIST_SMALL
)));
23125 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_From_int((int)(wxIMAGE_LIST_STATE
)));
23127 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
23128 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
23129 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
23130 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
23131 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
23132 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
23133 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
23134 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
23135 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
23136 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
23137 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
23138 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
23139 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
23140 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
23141 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
23142 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
23143 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
23144 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
23145 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
23146 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
23147 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
23148 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
23149 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
23150 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
23151 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
23152 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
23153 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
23154 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
23155 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
23156 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
23157 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
23158 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
23159 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
23160 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
23161 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
23162 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
23163 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
23164 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
23165 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
23166 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
23167 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
23168 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
23169 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
23170 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
23171 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
23172 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
23173 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
23175 // Work around a chicken/egg problem in drawlist.cpp
23176 wxPyDrawList_SetAPIPtr();